/* =========================================================
   My Account Paskyra (LIGHT THEME)
   ========================================================= */
/* Fix WooCommerce My Account menu bullets appearing above text */
.woocommerce-MyAccount-navigation a br {
  display: none;
  text-decoration: none !important;
}

/* --- My Account menu layout (left) + content (right) --- */
.woocommerce-account .woocommerce {
  display: flex;
  gap: 60px; 
  align-items: flex-start;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 240px; 
}

/* --- Remove that weird that breaks bullet alignment --- */
.woocommerce-MyAccount-navigation a br {
  display: none;
}

/* --- Menu list style like your screenshot --- */
.woocommerce-MyAccount-navigation ul {
  list-style: disc;
  margin: 0;
  padding-left: 18px;
}

.woocommerce-MyAccount-navigation li {
  margin: 6px 0; 
}

/* --- Link typography + colors --- */
.woocommerce-MyAccount-navigation a {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #838383;
  text-decoration: none !important;
  line-height: 1.25;
  display: inline;  
}

.woocommerce-MyAccount-navigation a:hover {
  color: #000;
  text-decoration: none !important;
}

/* Active menu item (optional) */
.woocommerce-MyAccount-navigation .is-active > a {
  color: #000;
  text-decoration: underline;
}

.woocommerce-MyAccount-navigation .comments-area a, .page-content a{
  text-decoration: none !important;
  color: #838383;
}

/* Right side content typography (optional to match) */
.woocommerce-account .woocommerce-MyAccount-content {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  color: #111;
}

/* Mobile: stack My Account navigation above content */
@media (max-width: 767px) {
  .woocommerce-account .woocommerce {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;  
  }

  /* Optional: nicer spacing for the menu on mobile */
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    padding-left: 18px;
    margin-bottom: 0;
  }
}

/* =========================================================
   My Account > uzsakymai  (LIGHT THEME)
   ========================================================= */

/* My Account > Orders: order number link color */
.woocommerce-account .woocommerce-orders-table__cell-order-number a {
  color: #2190c2;
}
/*blue on hover/focus */
.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover,
.woocommerce-account .woocommerce-orders-table__cell-order-number a:focus {
  color: #000;
}

/*My Account > Orders: order number View link color */
.woocommerce-account .woocommerce-orders-table a.woocommerce-button.view {
  background: #2190c2 !important;
  color: #fff !important;
}
/* Hover / focus */
.woocommerce-account .woocommerce-orders-table a.woocommerce-button.view:hover,
.woocommerce-account .woocommerce-orders-table a.woocommerce-button.view:focus {
  background: #1b79a3 !important;
  color: #fff;
}


/* Product list styling (works on all sizes) */
.myaccount-order-products {
  margin: 0;
  padding: 0;
  list-style: none;
}
.myaccount-order-products li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0,0,0,.18);
}
.myaccount-order-products li:last-child {
  border-bottom: 0;
}
.myaccount-order-products .qty {
  opacity: .85;
}
/* Hover color for My Account > Orders rows */
.woocommerce-account .woocommerce-orders-table tr.woocommerce-orders-table__row:hover {
  background: rgba(0,0,0,.04);
}



/* Mobile: turn each order row into a "card" with clear separation */
@media (max-width: 768px) {
  .woocommerce-account table.my_account_orders thead {
    display: none;
  }

  .woocommerce-account table.my_account_orders tr.order {
    display: block;
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid rgba(0,0,0,.18);
    border-radius: 10px;
  }

  .woocommerce-account table.my_account_orders tr.order > th,
  .woocommerce-account table.my_account_orders tr.order > td {
    display: block;
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,.12);
  }

  .woocommerce-account table.my_account_orders tr.order > th:last-child,
  .woocommerce-account table.my_account_orders tr.order > td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  /* Make the label (data-title) stand out on mobile */
  .woocommerce-account table.my_account_orders tr.order > th::before,
  .woocommerce-account table.my_account_orders tr.order > td::before {
    font-weight: 600;
    opacity: .9;
  }
	
  .woocommerce-account table.my_account_orders tr.order > th,
  .woocommerce-account table.my_account_orders tr.order > td {
    background: transparent !important;
  }

  /* unify base background (prevents zebra differences) */
  .woocommerce-account table.my_account_orders tr.order {
    background: rgba(0,0,0,.02) !important;
  }

  /* single hover layer on the whole card */
  .woocommerce-account table.my_account_orders tr.order:hover {
    background: rgba(0,0,0,.06) !important;
  }

  /* prevent a:hover backgrounds from "brightening" just the top row */
  .woocommerce-account table.my_account_orders tr.order a:hover {
    background: transparent !important;
  }
}

/* =========================================================
   Krepselio puslapis (LIGHT THEME)
   ========================================================= */
/* CART WRAPPER */
body.woocommerce-cart .wp-block-woocommerce-cart{
  max-width: 1350px;
  margin-inline: auto;
  padding: clamp(16px, 3vw, 32px);
}

/* REMOVE WOO BLOCKS WIDTH CAPS (prevents thin main column) */
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wc-block-components-main,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-components-sidebar-layout{
  max-width: none !important;
}

/* CARD STYLING */
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  padding: clamp(16px, 2.5vw, 24px);
}

/* TABLE SPACING */
body.woocommerce-cart table.wc-block-cart-items{
  width: 100%;
  border-collapse: collapse;
}
body.woocommerce-cart .wc-block-cart-items__header th{
  padding-block: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
body.woocommerce-cart .wc-block-cart-items__row td{
  padding-block: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  vertical-align: top;
}

/* TYPOGRAPHY */
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-formatted-money-amount{
  font-size: 20px;
}

/* PRODUCT NAME */
.wp-block-woocommerce-cart a.wc-block-components-product-name{
  color: var(--hm-text);
  text-decoration: none;
  font-weight: 800;
}

/* BUTTONS */
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button.contained{
  width: 100%;
}
body.woocommerce-cart .wc-block-cart__submit-button{
  min-height: 52px;
}

/* CHECKOUT BUTTON (SPECIFIC) */
.wp-block-woocommerce-cart a.wc-block-cart__submit-button{
  background: #2190c2 !important;
  border: 1px solid var(--hm-accent);
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  text-decoration: none;
  justify-content: center;
}
.wp-block-woocommerce-cart a.wc-block-cart__submit-button:hover{
  filter: brightness(.92);
}


/* BUTTONS */
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button.contained{
  width: 100%;
}
body.woocommerce-cart .wc-block-cart__submit-button{
  min-height: 52px;
}

/* CHECKOUT BUTTON (SPECIFIC) */
.wp-block-woocommerce-cart a.wc-block-cart__submit-button{
  background: #2190c2 !important;
  border: 1px solid var(--hm-accent);
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  text-decoration: none;
  justify-content: center;
}

body.woocommerce-cart .wc-block-cart__submit a.wc-block-cart__submit-button.contained{
  color: #fff !important;         
}
body.woocommerce-cart .wc-block-cart__submit a.wc-block-cart__submit-button:hover{
  background: #171717 !important; 
  color: #fff !important;
}


/* COUPON PANEL */
body.woocommerce-cart .wc-block-components-totals-coupon.wc-block-components-panel{
  padding: 10px 5px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.02);
}

/* Cart (Woo Blocks): Remove item button — no background, red text */
body.woocommerce-cart button.wc-block-cart-item__remove-link{
  background: transparent !important;
  color: #d93025 !important;      /* red */
  text-decoration: none !important;
}

/* Hover / focus */
body.woocommerce-cart button.wc-block-cart-item__remove-link:hover,
body.woocommerce-cart button.wc-block-cart-item__remove-link:focus,
body.woocommerce-cart button.wc-block-cart-item__remove-link:focus-visible{
  background: transparent !important;
  color: #b3261e !important; 
}

body.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__value strong {
    display: none;
}

/* DESKTOP: GRID LAYOUT */
@media (min-width: 992px){
  body.woocommerce-cart .wp-block-woocommerce-cart
  .wc-block-components-sidebar-layout.wc-block-cart{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 380px !important;
    gap: 24px !important;
    align-items: stretch !important; /* equal height */
    width: 100% !important;
  }

  body.woocommerce-cart .wp-block-woocommerce-cart
  .wc-block-cart__main,
  body.woocommerce-cart .wp-block-woocommerce-cart
  .wc-block-cart__sidebar,
  body.woocommerce-cart .wp-block-woocommerce-cart
  .wc-block-components-main,
  body.woocommerce-cart .wp-block-woocommerce-cart
  .wc-block-components-sidebar{
    min-width: 0 !important;
    height: 100% !important;
    width: auto !important; /* let grid decide */
  }
}

/* TABLET/MOBILE STACKING */
@media (max-width: 991px){
  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart__sidebar{
    width: 100% !important;
  }
}

/* MOBILE: keep "PRODUKTAS" header and move "Viso — amount" to bottom */
@media (max-width: 782px) {

  /* Show only "PRODUKTAS" header */
  body.woocommerce-cart table.wc-block-cart-items thead {
    display: table-header-group !important;
  }

  body.woocommerce-cart .wc-block-cart-items__header-image,
  body.woocommerce-cart .wc-block-cart-items__header-total {
    display: none !important;
  }

  body.woocommerce-cart .wc-block-cart-items__header-product {
    display: table-cell !important;
    width: 100% !important;
  }

  /* Row becomes wrapping flex card */
  body.woocommerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px 16px !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    width: 100% !important; /* prevent shrink */
  }

  /* Reset td defaults for predictable layout */
  body.woocommerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row > td {
    padding: 0 !important;
    border: 0 !important;
    display: block !important;
  }

  /* Top row: image + product */
  body.woocommerce-cart td.wc-block-cart-item__image {
    flex: 0 0 72px !important;
  }

  body.woocommerce-cart td.wc-block-cart-item__product {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  /* Bottom row: total full width + SINGLE LINE "Viso 258,00 €" */
  body.woocommerce-cart td.wc-block-cart-item__total {
    flex: 1 0 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;

    padding-top: 12px !important;
    margin-top: 4px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    text-align: left !important;
  }

  body.woocommerce-cart td.wc-block-cart-item__total::before {
    content: "Viso";
    opacity: 0.85;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding-right: 12px !important; /* prevents "Viso258" glued */
  }

  body.woocommerce-cart td.wc-block-cart-item__total
  .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important; /* keeps it pinned right */
    white-space: nowrap !important;
  }

  /* Image sizing */
  body.woocommerce-cart .wc-block-cart-item__image img {
    width: 72px !important;
    height: auto !important;
  }

  /* --- Specific overrides (kept to preserve final cascade) --- */

  /* Make the TOTAL line truly full-width */
  body.woocommerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row
  td.wc-block-cart-item__total {
    flex: 0 0 100% !important; /* final value from your 2nd block */
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Ensure the price wrapper uses remaining space and aligns right */
  body.woocommerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row
  td.wc-block-cart-item__total
  .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    flex: 1 1 auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-left: 16px !important; /* space after "Viso" */
  }

  /* Optional: keep amount unbroken */
  body.woocommerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row
  td.wc-block-cart-item__total
  .wc-block-components-formatted-money-amount {
    white-space: nowrap !important;
  }
}

/* Coupon label */
body.woocommerce-cart .wc-block-components-totals-coupon__input label{
  color: #171717 !important;
  opacity: 1 !important;
}


/* =========================================================
   My Account > whishlist (LIGHT THEME)
   ========================================================= */

/* Buttons: match your checkout style */
body .tinvwl-table-manage-list td.product-action button.button.alt[name="tinvwl-add-to-cart"],
body .tinvwl-table-manage-list tfoot button.button[name="tinvwl-action-product_selected"],
body .tinvwl-table-manage-list tfoot button.button[name="tinvwl-action-product_all"]{
  background: #2190c2 !important;
  border: 1px solid var(--hm-accent) !important;
  color: #fff !important;
  padding: 14px 16px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body .tinvwl-table-manage-list td.product-action button.button.alt[name="tinvwl-add-to-cart"]:hover,
body .tinvwl-table-manage-list tfoot button.button[name="tinvwl-action-product_selected"]:hover,
body .tinvwl-table-manage-list tfoot button.button[name="tinvwl-action-product_all"]:hover{
  filter: brightness(.92) !important;
}

/* Icon + text alignment */
body .tinvwl-table-manage-list td.product-action button[name="tinvwl-add-to-cart"]{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

/* =========================================================
   Mobile: wishlist row as a clean card (LIGHT THEME)
   ========================================================= */
@media (max-width: 782px){

  /* Remove the lonely header bar */
  body .tinvwl-table-manage-list thead{ display: none !important; }

  /* Hide ONLY the global select-all checkbox in header (keep item checkbox) */
  body .tinvwl-table-manage-list .global-cb{ display: none !important; }

  /* Card row = grid (checkbox left, name+image row below, X right) */
  body .tinvwl-table-manage-list tbody tr.wishlist_item{
    display: grid !important;
    grid-template-columns: 72px 1fr 44px;
    grid-template-rows: auto auto auto auto auto auto;
    column-gap: 12px !important;
    row-gap: 10px !important;

    padding: 14px !important;
    margin: 0 0 14px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  /* Reset cells for predictable placement */
  body .tinvwl-table-manage-list tbody tr.wishlist_item > td{
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    display: block !important;
    text-align: left !important;
  }

  /* Checkbox: top-left (opposite X) and a bit lower */
  body .tinvwl-table-manage-list td.product-cb{
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: start !important;
    justify-self: start !important;
    width: auto !important;
    padding-top: 8px !important;            /* <-- makes it lower */
  }

  body .tinvwl-table-manage-list td.product-cb input.input-checkbox{
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    display: block !important;
  }

  /* Remove (X): top-right */
  body .tinvwl-table-manage-list td.product-remove{
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: start !important;
  }

  body .tinvwl-table-manage-list td.product-remove button{
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
  }

  /* Image + name row */
  body .tinvwl-table-manage-list td.product-thumbnail{
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  body .tinvwl-table-manage-list td.product-thumbnail img{
    width: 72px !important;
    height: auto !important;
    display: block !important;
  }

  body .tinvwl-table-manage-list td.product-name{
    grid-column: 2 / 4 !important;
    grid-row: 2 !important;
    align-self: center !important;
    min-width: 0 !important;
  }

  body .tinvwl-table-manage-list td.product-name a{
    display: block !important;
    line-height: 1.25 !important;
    margin-left: 8px !important;
  }

  /* Meta rows full width */
  body .tinvwl-table-manage-list td.product-price,
  body .tinvwl-table-manage-list td.product-stock,
  body .tinvwl-table-manage-list td.product-date{
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
  }

  body .tinvwl-table-manage-list td.product-price{
    grid-row: 3 !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(0,0,0,0.08) !important;
  }

  body .tinvwl-table-manage-list td.product-stock{ grid-row: 4 !important; }
  body .tinvwl-table-manage-list td.product-date{  grid-row: 5 !important; }

  body .tinvwl-table-manage-list td.product-price::before{
    content: "Kaina";
    opacity: .75;
    white-space: nowrap;
    margin-right: 12px;
  }

  body .tinvwl-table-manage-list td.product-stock::before{
    content: "Atsargos";
    opacity: .75;
    white-space: nowrap;
    margin-right: 12px;
  }

  body .tinvwl-table-manage-list td.product-date::before{
    content: "Pridėta";
    opacity: .75;
    white-space: nowrap;
    margin-right: 12px;
  }

  /* Values align right */
  body .tinvwl-table-manage-list td.product-price > *,
  body .tinvwl-table-manage-list td.product-stock > *,
  body .tinvwl-table-manage-list td.product-date > *{
    margin-left: auto !important;
    text-align: right !important;
  }

  /* STOCK: force ✓ + "Yra" on one line */
  body .tinvwl-table-manage-list td.product-stock p.stock{
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
  }

  body .tinvwl-table-manage-list td.product-stock p.stock span,
  body .tinvwl-table-manage-list td.product-stock p.stock i{
    display: inline-flex !important;
    align-items: center !important;
  }

  /* Action button full width at bottom */
  body .tinvwl-table-manage-list td.product-action{
    grid-column: 1 / -1 !important;
    grid-row: 6 !important;
    margin-top: 6px !important;
  }

  body .tinvwl-table-manage-list td.product-action button{
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* Footer bulk actions: select + apply on one line */
  body .tinvwl-table-manage-list tfoot .tinvwl-input-group{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    align-items: center !important;
    margin: 12px 0 14px !important;
  }

  body .tinvwl-table-manage-list tfoot select{
    flex: 1 1 auto !important;
    width: auto !important;
  }

  body .tinvwl-table-manage-list tfoot .tinvwl-input-group-btn,
  body .tinvwl-table-manage-list tfoot .tinvwl-input-group-btn button{
    flex: 0 0 auto !important;
    width: auto !important;
    white-space: nowrap !important;
  }

  /* Bulk buttons full width */
  body .tinvwl-table-manage-list tfoot .tinvwl-to-right button{
    width: 100% !important;
    margin: 0 0 10px !important;
  }
}

/* =========================================================
   My Account > Addresses (LIGHT THEME)
   ========================================================= */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{
  display: flex !important;
  gap: 10px !important;
  align-items: stretch !important;
  width: 100% !important;
  background: #fff !important;
}

/* Kill float-based column layout + clearfix that can break side-by-side */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .u-column1,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .u-column2,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .col-2{
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .clear,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::after{
  display: none !important;
  content: none !important;
}

/* Address cards */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{
  flex: 1 1 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;

  /* site-style */
  background: rgba(0,0,0,0.02) !important;
  border: 1px solid rgba(0,0,0,0.10) !important;
  border-radius: 14px !important;
  padding: 18px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12) !important;

  color: #111 !important;
  text-align: left !important;
}

/* Header: title + edit button */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title{
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;

  margin-bottom: 12px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(0,0,0,0.10) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3{
  margin: 0 !important;
  font-size: 18px !important;
  color: #111 !important;
}

/* Edit link as button (match your button style) */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  text-align: center !important;
	
  padding: 12px 16px !important;
  background: #2190c2 !important;           
  border: 1px solid var(--hm-accent) !important; 
  color: #fff !important;

  font-weight: 600 !important;
  text-decoration: none !important;

  margin: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.2 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit:hover{
  filter: brightness(.92) !important; /* same hover feel */
}

/* Address text */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address p{
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  overflow-wrap: anywhere !important;
  color: rgba(0,0,0,0.78) !important;
}

/* Links inside address (if any) */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address a{
  color: #111 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Tablet/mobile: stack cards */
@media (max-width: 1024px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{
    flex-direction: column !important;
    gap: 14px !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{
    padding: 14px !important;
  }
}

/* When header gets tight: stack title + button and make button full width */
@media (max-width: 900px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title{
    flex-direction: column !important;
    align-items: stretch !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit{
    width: 100% !important;
  }
}

/* Extra small button polish */
@media (max-width: 420px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit{
    font-size: 14px !important;
    padding: 10px 12px !important;
  }
}
/* Fix: <br> inside the Edit link breaks centering */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit br{
  display: none !important;
}

/* =========================================================
   Atsiskaitymas (LIGHT THEME)
   ========================================================= */

/* LEFT side: each step becomes a LIGHT card */
body.woocommerce-checkout .wc-block-components-checkout-step{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.10) !important;

  padding: 18px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.12) !important;
}

/* Inputs / selects */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout textarea{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.14) !important;
  color: #111 !important;
  border-radius: 0px !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-blocks-components-select__label{
  color: rgba(0,0,0,.70) !important;
}

/* Focus */
/* CHECKOUT (Woo Blocks): focus style like your CF7 (subtle dark glow) */
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-text-input input:focus,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wp-block-woocommerce-checkout
textarea:focus{
  border-color: rgba(0,0,0,.28) !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.08) !important;
  background: #fff !important;
  outline: none !important;
}

/* Woo Blocks sometimes puts the focus ring on the wrapper */
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-text-input.is-active,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-blocks-components-select.is-active,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-textarea.is-active{
  box-shadow: none !important;
  outline: none !important;
}

/* Payment descriptions */
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content{
  color: rgba(0,0,0,.70) !important;
}

/* RIGHT side: order summary as a LIGHT card */
body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  padding: 14px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.12) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text,
body.woocommerce-checkout .wc-block-components-totals-item__label{
  color: rgba(0,0,0,.70) !important;
}

body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-price,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  color: #111 !important;
  font-weight: 700 !important;
}

/* Place order button (Apmokėti) */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button{
  background: #2190c2 !important;
  border: 1px solid var(--hm-accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 14px 16px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover{
  filter: brightness(.92) !important;
}

/* Return to cart link styling */
body.woocommerce-checkout a.wc-block-components-checkout-return-to-cart-button{
  color: #111 !important;
  opacity: .75 !important;
}
body.woocommerce-checkout a.wc-block-components-checkout-return-to-cart-button:hover{
  opacity: 1 !important;
}

/*redaguoti button*/
/* Checkout: "Redaguoti" button – keep BLUE on hover */
body.woocommerce-checkout .wc-block-components-address-card__edit{
  color: #fff !important;                 /* keep text white */
  background: #2190c2 !important;  
}

body.woocommerce-checkout .wc-block-components-address-card__edit:hover{
  background: #2190c2 !important;         
  border-color: var(--hm-accent) !important;
  color: #fff !important;                 
}

/* Optional: smooth hover */
body.woocommerce-checkout .wc-block-components-address-card__edit{
  transition: background .15s ease, border-color .15s ease, filter .15s ease !important;
}
body.woocommerce-checkout .wc-block-components-address-card__edit:hover{
  filter: brightness(.92) !important;
}

/* CHECKOUT select: remove white corners + make arrow dark */
body.woocommerce-checkout .wc-blocks-components-select__container{
  background: transparent !important;
  border-radius: 0px !important; 
}

body.woocommerce-checkout .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-blocks-components-select{
  overflow: hidden !important;          
}

/* The actual <select> */
body.woocommerce-checkout select.wc-blocks-components-select__select{
  background: #fff !important;
  color: #111 !important;
  border: 1px solid rgba(0,0,0,.14) !important;
  border-radius: 0px !important;

  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* Arrow icon (svg) */
body.woocommerce-checkout .wc-blocks-components-select__expand{
  fill: rgba(0,0,0,.65) !important;         
}

body.woocommerce-checkout .wc-blocks-components-select__expand path{
  fill: rgba(0,0,0,.65) !important;            
}

/* If the icon sits on a light background, force it dark too */
body.woocommerce-checkout .wc-blocks-components-select__expand{
  background: transparent !important;
}

/* Focus ring (optional, keeps your blue accent) */
body.woocommerce-checkout select.wc-blocks-components-select__select:focus{
  border-color: #2190c2 !important;
  box-shadow: 0 0 0 2px rgba(33,144,194,.25) !important;
}

/*scrollbar */
/* Checkout country dropdown scrollbar (light) */
/*
  body.woocommerce-checkout select.wc-blocks-components-select__select{
  scrollbar-width: thin; 
  scrollbar-color: rgba(0,0,0,.28) rgba(0,0,0,.06); 
}


body.woocommerce-checkout select.wc-blocks-components-select__select::-webkit-scrollbar{
  width: 10px;
}

body.woocommerce-checkout select.wc-blocks-components-select__select::-webkit-scrollbar-track{
  background: rgba(0,0,0,.06);
}

body.woocommerce-checkout select.wc-blocks-components-select__select::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.28);
  border-radius: 0px;
  border: 2px solid rgba(255,255,255,.85);
}

body.woocommerce-checkout select.wc-blocks-components-select__select::-webkit-scrollbar-thumb:hover{
  background: rgba(0,0,0,.38);
}
*/
 
/* Checkout: remove the built-in column gap (padding-right on main column) */
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main{
  padding-right: 0 !important;            /* was 4.5283% */
}

/* TABLET + MOBILE: Order summary card (Blocks may move it out of sidebar) */
@media (max-width: 1024px){

  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary{
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    border-radius: 0px !important;
    padding: 14px !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.12) !important;
    margin-top: 14px !important;
    margin-bottom: 10px !important;
  }

  /* Prevent inner wrappers from painting over your card */
  body.woocommerce-checkout .wp-block-woocommerce-checkout
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper{
    background: transparent !important;
  }
}


/* CHECKOUT – Order summary card MUST show on mobile */
@media (max-width: 782px){

  /* The summary block can move outside the sidebar on mobile */
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary{
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    border-radius: 0px !important;
    padding: 14px !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.12) !important;
    margin-top: 14px !important;
    margin-bottom: 10px;
  }
	
}

body.woocommerce-checkout .wc-block-checkout__terms.hm-terms-moved{
  display: none !important;
}
body.woocommerce-checkout .hm-privacy-note{
  display: inline-block;
  margin-top: 6px;
  opacity: .75;
  line-height: 1.4;
}

/* CHECKOUT (Blocks): add * after labels for required inputs/selects/textarea */
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-text-input input[required] + label::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-text-input select[required] + label::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-text-input textarea[required] + label::after{
  content: " *";
  color: #ff3b3b;
  font-weight: 700;
  margin-left: 2px;
}

/* Country/Select block uses a different label (label is BEFORE select) */
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-country-input label.wc-blocks-components-select__label::after{
  content: " *";
  color: #ff3b3b;
  font-weight: 700;
  margin-left: 2px;
}
.wc-block-checkout__form .wc-block-components-address-form__country .wc-blocks-components-select
 {
    margin-top: 10px !important;
}

/*pirkejo adresas bloko dydis*/
/* Remove the extra gap caused by trailing   (text node) */
.woocommerce-checkout #billing-fields .wc-block-components-checkout-step__content {
  font-size: 0 !important;
}

/* Restore font size for actual elements */
.woocommerce-checkout #billing-fields .wc-block-components-checkout-step__content > * {
  font-size: 1rem !important;
}


/* Collapsed (NOT editing): keep the billing address block short */
.woocommerce-checkout #billing-fields .wc-block-components-address-address-wrapper:not(.is-editing) {
  max-height: 56px;          /* adjust: 30px is usually too small */
  overflow: hidden;
}

/* Expanded (editing): remove the rule */
.woocommerce-checkout #billing-fields .wc-block-components-address-address-wrapper.is-editing) {
  max-height: none;
  overflow: visible;
}

/* MOBILE: prevent shipping methods from overflowing horizontally */
@media (max-width: 782px){

  /* Allow label + price to wrap instead of forcing one line */
  .woocommerce-checkout .wc-block-components-radio-control__label-group{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
  }

  /* Let the long method name shrink + wrap */
  .woocommerce-checkout .wc-block-components-radio-control__label{
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;   /* breaks very long strings if needed */
    word-break: break-word;
    flex: 1 1 auto;
  }

  /* Keep the price from pushing layout wider */
  .woocommerce-checkout .wc-block-components-radio-control__secondary-label{
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* Safety: kill any accidental horizontal scroll */
  .woocommerce-checkout .wc-block-components-checkout-step__content{
    overflow-x: hidden;
  }
}

@media (max-width: 782px){

  /* Stack vertically */
  .woocommerce-checkout .wc-block-checkout__shipping-method-container{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;

    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Ensure each option is visible and full width */
  .woocommerce-checkout .wc-block-checkout__shipping-method-option{
    width: 100% !important;
    display: flex !important;
    position: relative !important;

    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/*---------------------------*/
@media (max-width: 782px){
  body.woocommerce-checkout
  .wc-block-checkout__actions
  .checkout-order-summary-block-fill-wrapper{
    display: none !important;
  }
}