.cart-b .order-summary {
  min-height: 30%;
}

.banners-item__button {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ховаємо стандартні селекти/qty/button Woo, бо керуємо ними своїм UI */
.product-info form.cart .variations,
.product-info form.cart .quantity,
.product-info form.cart .single_add_to_cart_button,
.product-info form.cart .woocommerce-variation-availability,
.product-info form.cart .woocommerce-variation-price {
  display: none !important;
}

.product-info .in-stock {
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .wc-forward {
    text-align: center;
  }
}

.woocommerce-message, .woocommerce-info {
  border-top-color: #d80340;
  color: #000;
}

.related-products {
  margin-bottom: 40px;
}

.product-card__image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-info__ui, .single_variation_wrap {
  width: 100%;
}

.order-item-meta {
  text-transform: uppercase;
}

.woocommerce-ordering select {
      padding: 0.25rem 1.875rem 0.25rem 0.75rem;
  border: 0.0625rem solid #ddd;
  border-radius: 0.25rem;
  background: #fff;
  font-size: 0.875rem;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  color: #000;
}

.chosen-container {
    width: 100% !important;
}

.woocommerce-info::before {
    display: none;
}

.woof_reset_search_form, .wc-block-cart__submit-button {
    background: #000 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    color: #fff !important;
    padding: 0.9375rem 1.25rem !important;
    border: 0.0625rem solid #000 !important;
    -webkit-transition: all 0.3s !important;
    transition: all 0.3s !important;
    width: 100%;
    margin-top: 16px;
}

.wc-forward {
    background: #000 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    color: #fff !important;
    padding: 0.9375rem 1.25rem !important;
    border: 0.0625rem solid #000 !important;
    -webkit-transition: all 0.3s !important;
    transition: all 0.3s !important;
}

.woocommerce-message {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.woocommerce-message::before, .woocommerce-message::after, .woocommerce-privacy-policy-text, .payment_box.payment_method_morkva-monopay {
    display: none !important;
}

/* =========================
   Minimal LIGHT style for your exact HTML
   Target: #order_review (Woo checkout review table + shipping + payment)
   ========================= */

#order_review{
  --bg:#fff;
  --text:#111;
  --muted:#6f6f6f;
  --line:#e9e9e9;
  --line2:#d9d9d9;
  --radius:0px;
  --pad:18px;

  background: transparent;
  color: var(--text);
}

/* Main container spacing */
#order_review{
  padding: 0;
}

/* Table base */
#order_review .shop_table.woocommerce-checkout-review-order-table{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-collapse: collapse;
  background: var(--bg);
  margin: 0;
}

/* Header – simple */
#order_review .shop_table thead th{
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--line);
}

/* Body rows */
#order_review .shop_table tbody td{
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  background: transparent;
}

/* Product cell layout: image + text + qty */
#order_review td.product-name{
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: start;
}

#order_review td.product-name img{
  width: 60px !important;
  height: 60px !important;
  border: 1px solid var(--line);
  border-radius: 0;
  object-fit: cover;
  background: #fff;
}

/* Product title text */
#order_review td.product-name{
  font-size: 14px;
  line-height: 1.25;
}

/* Qty badge (your <strong class="product-quantity">× 6</strong>) */
#order_review td.product-name strong.product-quantity{
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--line2);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Price column */
#order_review td.product-total{
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}
#order_review .woocommerce-Price-amount{
  color: var(--text);
}
#order_review .woocommerce-Price-currencySymbol{
  margin-left: 2px;
}

/* Footer rows (subtotal/shipping/total) */
#order_review .shop_table tfoot th,
#order_review .shop_table tfoot td{
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
#order_review .shop_table tfoot th{
  font-weight: 600;
  color: var(--text);
}
#order_review .shop_table tfoot td{
  text-align: right;
  font-weight: 600;
}

/* Final total stronger */
#order_review .shop_table tfoot tr.order-total th{
  font-weight: 700;
}
#order_review .shop_table tfoot tr.order-total td strong{
  font-weight: 800;
  font-size: 18px;
}

/* Shipping methods list */
#order_review .woocommerce-shipping-totals td{
  text-align: left; /* shipping list looks better left */
}
#order_review ul#shipping_method.woocommerce-shipping-methods{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}
#order_review ul#shipping_method li{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Minimal custom radio */
#order_review input.shipping_method[type="radio"]{
  appearance: none;
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: #fff;
  margin: 0;
  display: grid;
  place-items: center;
}
#order_review input.shipping_method[type="radio"]:checked{
  border-color: #111;
}
#order_review input.shipping_method[type="radio"]:checked::after{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #111;
}
#order_review ul#shipping_method label{
  cursor: pointer;
  color: var(--text);
  font-weight: 500;

}

@media screen and (max-width: 768px) {
  #order_review ul#shipping_method label{

    width: 100%;
    text-align: right;
  }
}

/* Payment block – clean, no heavy boxes */
#order_review #payment.woocommerce-checkout-payment{
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px var(--pad);
}

#order_review #payment ul.wc_payment_methods{
  list-style: none;
  margin: 0;
  padding: 0;
}

#order_review #payment li.wc_payment_method{
  padding: 10px 0;
}

#order_review #payment li.wc_payment_method label{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hide only the plugin’s inline “display:none” if it breaks layout (optional) */
#order_review #payment input.input-radio[style*="display: none"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Payment logo size */
#order_review #payment img.mrkv_plata_checkout{
  max-width: 110px !important;
  height: auto !important;
}

/* Place order button – simple black */
#order_review #place_order.button{
  width: 100%;
  border-radius: 0;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
  letter-spacing: .02em;
  box-shadow: none;
}
#order_review #place_order.button:hover{
  filter: brightness(0.95);
}

/* Mobile tweaks */
@media (max-width: 640px){
  #order_review td.product-name{
    grid-template-columns: 60px 1fr;
    grid-template-areas:
      "img title"
      "img qty";
  }
  #order_review td.product-name img{ grid-area: img; }
  #order_review td.product-name strong.product-quantity{
    justify-self: start;
  }
}

.woocommerce table.shop_table td, .woocommerce table.shop_table tfoot th {
    border-top: none !important;
}

.woocommerce-checkout-review-order {
    margin-top: 0 !important;
}

.woocommerce-checkout-payment {
    margin-bottom: 36px;
}

.woocommerce-checkout label {
    margin-bottom: 0 !important;
}

.banners-swiper {
  width: 100%;
}

/* базовий контейнер кнопок */
.swiper-button-prev,
.swiper-button-next {
  width: 36px;
  height: 36px;
  margin-top: 0;

  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background .2s ease, transform .2s ease;
}

/* іконка */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-family: swiper-icons;
  font-size: 14px; /* маленька іконка */
  color: #fff;
  line-height: 1;
}

/* hover */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: scale(1.05);
}

/* позиціонування */
.swiper-button-prev {
  left: 16px;
}

.swiper-button-next {
  right: 16px;
}

/* disabled */
.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.header-nav-mobile__logo, .header-nav__item--cat, .header-nav-mobile__title {
  display: none;
}

@media screen and (max-width: 61.9988em) {
  .header-nav-mobile__logo {
    display: block;
    filter: invert(1);
    width: 100px;
    position: absolute;
    top: 25px;
    left: 30px;
  }

  .header-nav__item--cat, .header-nav-mobile__title {
    display: block;
  }

  .header-nav-mobile__title {
    font-size: 14px;
    width: 100%;
    color: #fff;
    margin-top: 8px;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 600;
    border-top: 1px solid #fff;
    padding-top: 16px;
  }

  .header-nav-mobile__logo img {
    width: 100px;
    position: absolute;
  }
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
  color: #000;
}

.size-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 16px;
}

/* =============== WooCommerce My Account — universal clean UI =============== */
/* Paste into Appearance → Customize → Additional CSS */

.woocommerce-account .woocommerce{
  display:flex;
  gap:24px;
  box-sizing:border-box;
}

/*.woocommerce-account .woocommerce *,*/
/*.woocommerce-account .woocommerce *:before,*/
/*.woocommerce-account .woocommerce *:after{ box-sizing:border-box; }*/

/* Typography */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation{
  font-size:16px;
  line-height:1.5;
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3{
  margin:0 0 14px;
  line-height:1.2;
}

/* ---------------- Navigation (left) ---------------- */
.woocommerce-account .woocommerce-MyAccount-navigation{
  min-width:240px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  margin:0;
  padding:8px;
  list-style:none;
  border:1px solid #e9e9ee;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation li{ margin:0; }
.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  border-radius:10px;
  text-decoration:none;
  color:#1f2328;
  font-weight:600;
  transition:background .2s ease, color .2s ease, transform .15s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: rgba(216, 3, 64, 0.08);
  color: rgb(216, 3, 64);
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
  background:rgb(216, 3, 64);
  color:#fff;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a:hover{
  background:rgb(216, 3, 64);
  transform:none;
}

/* ---------------- Content (right) ---------------- */
.woocommerce-account .woocommerce-MyAccount-content{
  flex:1;
  min-width:0;
  border:1px solid #e9e9ee;
  background:#fff;
  border-radius:16px;
  padding:24px;
  box-shadow:0 10px 30px rgba(0,0,0,.04);
}

/* Dashboard blocks / paragraphs */
.woocommerce-account .woocommerce-MyAccount-content p{
  margin:0 0 12px;
}
.woocommerce-account .woocommerce-MyAccount-content a{
  text-decoration:none;
}
.woocommerce-account .woocommerce-MyAccount-content a:hover{
  text-decoration:underline;
}

/* ---------------- Notices ---------------- */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error{
  border-radius:12px;
  padding:12px 14px;
  margin:0 0 16px;
}
.woocommerce .woocommerce-error{ margin-left:0; }

/* ---------------- Buttons ---------------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button{
  border:0;
  border-radius:10px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  transition:transform .15s ease, filter .2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button:hover{
  transform:translateY(-1px);
  filter:brightness(.95);
}
.woocommerce a.button:focus,
.woocommerce button.button:focus,
.woocommerce input.button:focus{
  outline:2px solid rgba(11,99,206,.25);
  outline-offset:2px;
}

/* Primary look (most themes already set colors) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button{
  background:rgb(216, 3, 64);
  color:#fff;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{
  background:rgb(216, 3, 64);
  color:#fff;
}

/* Secondary buttons */
.woocommerce .button.wc-backward,
.woocommerce .button.woocommerce-Button--previous,
.woocommerce .button.woocommerce-Button--next,
.woocommerce .button.woocommerce-MyAccount-downloads-file{
  background:#f3f4f6;
  color:#111;
}
.woocommerce .button.wc-backward:hover,
.woocommerce .button.woocommerce-Button--previous:hover,
.woocommerce .button.woocommerce-Button--next:hover,
.woocommerce .button.woocommerce-MyAccount-downloads-file:hover{
  filter:brightness(.98);
}

/* ---------------- Forms ---------------- */
.woocommerce form .form-row{ margin:0 0 14px; }
.woocommerce form .form-row label{
  display:block;
  font-weight:700;
  margin:0 0 6px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single{
  width:100%;
  border:1px solid #dfe1e6;
  border-radius:10px;
  padding:10px 12px;
  background:#fff;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.woocommerce .select2-container .select2-selection--single{
  height:auto;
  min-height:42px;
  display:flex;
  align-items:center;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height:1.4;
  padding-left:0;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{
  height:100%;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{
  border-color: rgb(216, 3, 64);
  box-shadow:0 0 0 4px rgba(11,99,206,.12);
  outline:none;
}
.woocommerce form fieldset{
  border:1px solid #e9e9ee;
  border-radius:12px;
  padding:14px;
}
.woocommerce form fieldset legend{
  padding:0 8px;
  font-weight:800;
}

/* Login/register layout */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register{
  border:1px solid #e9e9ee;
  border-radius:16px;
  padding:18px;
  background:#fff;
}
.woocommerce-account .woocommerce-form-login .form-row,
.woocommerce-account .woocommerce-form-register .form-row{
  margin-bottom:12px;
  gap: 0 !important;
}
.woocommerce .password-input{
  width:100%;
}
.woocommerce .show-password-input{
  border-radius:10px;
}

/* ---------------- Tables ---------------- */
.woocommerce table.shop_table{
  width:100%;
  border:1px solid #e9e9ee;
  border-radius:14px;
  overflow:hidden;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
}
.woocommerce table.shop_table th{
  background:#f6f7f9;
  font-weight:800;
  padding:12px 14px;
  border:0;
}
.woocommerce table.shop_table td{
  padding:12px 14px;
  border-top:1px solid #eef0f3;
}
.woocommerce table.shop_table tr:hover td{
  background:#fafbfc;
}
.woocommerce table.shop_table td a{
  font-weight:700;
}

/* Order actions inline */
.woocommerce table.shop_table .button{
  padding:8px 10px;
  border-radius:10px;
  font-size:14px;
}

/* ---------------- Address cards ---------------- */
.woocommerce .woocommerce-Addresses{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}
.woocommerce .woocommerce-Address{
  border:1px solid #e9e9ee;
  border-radius:14px;
  padding:16px;
  background:#fff;
}
.woocommerce .woocommerce-Address-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.woocommerce .woocommerce-Address-title h3{
  margin:0;
  font-size:18px;
}
.woocommerce .woocommerce-Address address{
  margin:0;
  font-style:normal;
  color:#24292f;
}

/* ---------------- Downloads ---------------- */
.woocommerce .woocommerce-MyAccount-downloads-file a{
  word-break:break-word;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px){
  .woocommerce-account .woocommerce{
    flex-direction:column;
    gap:16px;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation{
    width:100%;
    min-width:0;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation a{
    width:100%;
  }
  .woocommerce .woocommerce-Addresses{
    grid-template-columns:1fr;
  }
  .woocommerce-account .woocommerce-MyAccount-content{
    padding:18px;
  }
}

/* Make navigation look like pills on very small screens */
@media (max-width: 520px){
  .woocommerce-account .woocommerce-MyAccount-navigation a{
    padding:10px 12px;
  }
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td{
    padding:10px 10px;
  }
}

/* FIX: Woo address/edit forms inputs too narrow */
.woocommerce-account .woocommerce-address-fields,
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account form.woocommerce-form-login,
.woocommerce-account form.woocommerce-form-register{
  max-width: 900px;
}

/* Make wrapper a grid */
.woocommerce-account .woocommerce-address-fields__field-wrapper,
.woocommerce-account .woocommerce-EditAccountForm .woocommerce-form-row,
.woocommerce-account .woocommerce-EditAccountForm{
  box-sizing: border-box;
}

/* Address fields grid (2 columns) */
.woocommerce-account .woocommerce-address-fields__field-wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  align-items: start;
}

/* Force Woo form-rows to behave */
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Wide rows span both columns */
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-wide{
  grid-column: 1 / -1;
}

/* Sometimes country/state should be full width (optional, comment if you want 2-col) */
/*
.woocommerce-account #shipping_country_field,
.woocommerce-account #shipping_state_field,
.woocommerce-account #billing_country_field,
.woocommerce-account #billing_state_field{
  grid-column: 1 / -1;
}
*/

/* Labels */
.woocommerce-account .woocommerce-address-fields__field-wrapper label,
.woocommerce-account .woocommerce-EditAccountForm label{
  text-align: left !important;
  font-weight: 700;
  margin: 0 0 6px;
}

/* Inputs/selects full width */
.woocommerce-account .woocommerce-address-fields__field-wrapper input.input-text,
.woocommerce-account .woocommerce-address-fields__field-wrapper textarea,
.woocommerce-account .woocommerce-address-fields__field-wrapper select,
.woocommerce-account .woocommerce-EditAccountForm input.input-text,
.woocommerce-account .woocommerce-EditAccountForm textarea,
.woocommerce-account .woocommerce-EditAccountForm select{
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  display: block !important;
  padding: 10px 12px;
  border-radius: 10px;
}

/* Select2 full width (country/region) */
.woocommerce-account .select2-container{
  width: 100% !important;
  max-width: none !important;
}
.woocommerce-account .select2-container .select2-selection--single{
  height: auto;
  min-height: 42px;
  border-radius: 10px;
  display:flex;
  align-items:center;
}

/* Mobile: 1 column */
@media (max-width: 700px){
  .woocommerce-account .woocommerce-address-fields__field-wrapper{
    grid-template-columns: 1fr;
  }
  .woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-wide{
    grid-column: auto;
  }
}

.woocommerce-MyAccount-content .form-row {
  gap: 0;
}

.woocommerce-MyAccount-navigation-link--downloads {
  display: none;
}

/* ===== Woo My Account: Addresses layout fix ===== */

.woocommerce-account .woocommerce-Addresses{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  width: 100% !important;
  margin: 16px 0 0 !important;
}

/* Each address card */
.woocommerce-account .woocommerce-Address{
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid #e9e9ee !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

/* Title row: h3 + edit link */
.woocommerce-account .woocommerce-Address-title{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 10px !important;
}

.woocommerce-account .woocommerce-Address-title h3{
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.woocommerce-account .woocommerce-Address-title a{
  text-decoration: none !important;
  font-weight: 700 !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  background: #f3f4f6 !important;
  color: #111 !important;
}
.woocommerce-account .woocommerce-Address-title a:hover{
  filter: brightness(.97);
}

/* Address text */
.woocommerce-account .woocommerce-Address address{
  margin: 0 !important;
  font-style: normal !important;
  line-height: 1.55 !important;
}

/* Paragraph above addresses */
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type{
  margin-bottom: 14px;
}

/* Mobile */
@media (max-width: 700px){
  .woocommerce-account .woocommerce-Addresses{
    grid-template-columns: 1fr !important;
  }
}

/* ===== Woo My Account: Edit account / address forms FIX (labels + widths) ===== */

/* Force form wrappers to full width */
.woocommerce-account .woocommerce-MyAccount-content form,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm{
  width: 100% !important;
  max-width: 980px;
}

/* Grid for rows */
.woocommerce-account .woocommerce-MyAccount-content form .woocommerce-form-row,
.woocommerce-account .woocommerce-MyAccount-content form .form-row{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Main grid wrapper: works for edit-account and address forms */
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields__field-wrapper{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px 22px !important;
  align-items: start !important;
}

/* Make each row a vertical stack */
.woocommerce-account .woocommerce-EditAccountForm .form-row,
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row{
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* Column rules */
.woocommerce-account .woocommerce-EditAccountForm .form-row-first,
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-first{
  grid-column: 1;
}
.woocommerce-account .woocommerce-EditAccountForm .form-row-last,
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-last{
  grid-column: 2;
}
.woocommerce-account .woocommerce-EditAccountForm .form-row-wide,
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-wide{
  grid-column: 1 / -1;
}

/* Labels always on top, left-aligned */
.woocommerce-account .woocommerce-MyAccount-content form label{
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  font-weight: 700;
  margin: 0 0 6px !important;
  float: none !important;
}

/* Descriptions / helper text under label, not to the side */
.woocommerce-account .woocommerce-MyAccount-content form .description,
.woocommerce-account .woocommerce-MyAccount-content form em,
.woocommerce-account .woocommerce-MyAccount-content form small{
  display: block !important;
  margin: 6px 0 0 !important;
  width: 100% !important;
  float: none !important;
  color: inherit;
  opacity: .75;
}

/* Inputs/selects 100% width */
.woocommerce-account .woocommerce-MyAccount-content form input.input-text,
.woocommerce-account .woocommerce-MyAccount-content form input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content form input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content form input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content form input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content form textarea,
.woocommerce-account .woocommerce-MyAccount-content form select{
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  display: block !important;
}

/* Password eye button alignment */
.woocommerce-account .woocommerce-MyAccount-content .password-input{
  width: 100% !important;
}

/* Select2 full width (Country/Region etc.) */
.woocommerce-account .woocommerce-MyAccount-content .select2-container{
  width: 100% !important;
  max-width: none !important;
}
.woocommerce-account .select2-container .select2-selection--single{
  height: auto;
  min-height: 42px;
}

/* Fieldset "Change password" should span full width */
.woocommerce-account .woocommerce-EditAccountForm fieldset{
  grid-column: 1 / -1 !important;
  margin: 6px 0 0 !important;
}

/* Save button full width row */
.woocommerce-account .woocommerce-EditAccountForm .form-row:last-of-type{
  grid-column: 1 / -1 !important;
  margin-top: 6px !important;
}

/* Mobile */
@media (max-width: 760px){
  .woocommerce-account .woocommerce-EditAccountForm,
  .woocommerce-account .woocommerce-address-fields__field-wrapper{
    grid-template-columns: 1fr !important;
  }
  .woocommerce-account .woocommerce-EditAccountForm .form-row-first,
  .woocommerce-account .woocommerce-EditAccountForm .form-row-last,
  .woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-first,
  .woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-last{
    grid-column: 1 / -1 !important;
  }

  .woocommerce-account .woocommerce-Address-title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .woocommerce-account .woocommerce-Address-title h2 {
    margin-bottom: 0 !important;
  }
}

.woocommerce-Addresses {
  grid-template-columns: 1fr !important;
}

.woocommerce-Addresses::before {
  display: none !important;
  content: none !important;
}

.woocommerce-Address-title::before, .woocommerce-Address-title::after {
  display: none !important;
  content: none !important;
}

.woocommerce-account .woocommerce {
  margin-bottom: 40px;
}

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

.woocommerce-address-fields__field-wrapper {
  margin-bottom: 16px;
}

.woocommerce form .form-row .input-checkbox {
  accent-color: #d80340;
}

.header-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgb(216, 3, 64);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.header-account-btn:hover {
  background-color: rgb(216, 3, 64, 0.8);
  color: #fff;
}

.header-account-btn .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

/* === Центрування сторінки === */
.page-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
}

/* === Контейнер форми === */
.tml-login {
  background: #ffffff;
  padding: 40px 35px;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* === Заголовки полів === */
.tml-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

/* === Інпути === */
.tml-field {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
  transition: all 0.25s ease;
  background-color: #f8fafc;
}

.tml-field:focus {
  outline: none;
  border-color: rgb(216, 3, 64);
  background-color: #ffffff;
}

/* === Checkbox === */
.tml-rememberme-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.tml-checkbox {
  accent-color: rgb(216, 3, 64);
}

/* === Кнопка === */
.tml-button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: rgb(216, 3, 64);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 15px;
}

.tml-button:hover {
  background: rgb(216, 3, 64);
  transform: translateY(-1px);
}

/* === Лінки під формою === */
.tml-links {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.tml-links li {
  margin: 6px 0;
}

.tml-links a {
  font-size: 14px;
  color: rgb(216, 3, 64);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tml-links a:hover {
  color: rgb(216, 3, 64);
  text-decoration: underline;
}

/* === Адаптив === */
@media (max-width: 480px) {
  .tml-login {
    padding: 30px 20px;
  }
}

.tml-action .page-title {
	display: none;
}