:root{
  --bg:#DCEAE3;
  --mint:#BCDFCE;
  --primary:#335E4D;
  --primary-dark:#254335;
  --dark:#102C22;
  --text:#1A1C21;
  --muted:#5B6B66;
  --gold:#CC9630;
  --card:#FFFFFF;
  --radius:18px;
  --shadow-soft:0 18px 40px rgba(0,0,0,0.06);
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  color:var(--text);
  background-color:var(--bg);
  background-image:url("/wp-content/uploads/2025/12/body-white.jpg");
  background-repeat:repeat;
  background-position:top center;
  background-attachment:fixed;
  overflow-x:hidden;
}

.site-main .page-header{ display:none; }

a{ color:var(--primary); text-decoration:none; }
a:hover{ color:var(--primary-dark); }

img{ max-width:100%; height:auto; }

.container{
  width:min(1200px,100% - 40px);
  margin-inline:auto;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn,
.wp-block-button__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 22px;
  border-radius:999px;
  border:none;
  background:var(--primary);
  color:#fff;
  font-weight:500;
  cursor:pointer;
  transition:background 0.15s ease,transform 0.1s ease,box-shadow 0.1s ease;
  box-shadow:var(--shadow-soft);
}

.btn:hover,
.wp-block-button__link:hover{
  background:var(--primary-dark);
  transform:translateY(-1px);
  color:#fff;
}

/* =========================================================
   SHOP (Hero + Products Flex)
   ========================================================= */
body.woocommerce-shop .ah-shop-hero,
body.post-type-archive-product .ah-shop-hero,
body.tax-product_cat .ah-shop-hero,
body.tax-product_tag .ah-shop-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  position:relative;
  overflow:hidden;
  text-align:center;
  padding:clamp(60px,8vw,120px) 0;
  color:#f5fbf7;

  background-color:#052c21;
  background-image:
    linear-gradient(
      0deg,
      rgba(5,44,33,var(--ah-shop-hero-overlay,.65)),
      rgba(5,44,33,var(--ah-shop-hero-overlay,.65))
    ),
    var(--ah-shop-hero-bg, url("/wp-content/uploads/2025/12/Mask-Group-3.jpg"));
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

.ah-shop-hero__inner{
  width:min(1200px,100% - 48px);
  margin-inline:auto;
}

.ah-shop-hero__title{
  margin:0;
  font-size:clamp(34px,4.5vw,64px);
  line-height:1.05;
  letter-spacing:-0.02em;
}

.ah-shop-hero__desc{
  margin-top:12px;
  opacity:.9;
  max-width:760px;
  margin-inline:auto;
  font-size:14px;
}

/* Hide default Woo header/breadcrumb/sorting on shop archives */
body.woocommerce-shop .page-header,
body.post-type-archive-product .page-header,
body.tax-product_cat .page-header,
body.tax-product_tag .page-header,
body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header,
body.woocommerce-shop .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_tag .woocommerce-breadcrumb,
body.woocommerce-shop .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering{
  display:none !important;
}

/* Products list as flex */
body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center;
  align-items:stretch;
  gap:24px;
  list-style:none;
  margin:0 !important;
  padding:50px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after{
  content:none !important;
}

/* Product card width */
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product{
  float:none !important;
  clear:none !important;
  flex:0 0 320px;
  max-width:320px;
  width:320px !important;
  margin:0 !important;
}

.woocommerce ul.products li.product{
  position:relative;
  background:#fff;
  border-radius:22px;
  padding:14px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  transition:transform .18s ease,box-shadow .18s ease;
  text-align:center;
}

.woocommerce ul.products li.product:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(0,0,0,.10);
}

.woocommerce ul.products li.product a{ text-decoration:none; }

.woocommerce ul.products li.product a img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
  border-radius:16px;
  margin:0 0 12px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:14px;
  font-weight:600;
  margin:0 0 6px;
  color:#052c21;
}

.woocommerce ul.products li.product .price{
  font-weight:700;
  color:#052c21;
  margin:0 0 10px;
  font-size:13px;
}

.woocommerce ul.products li.product .button{
  width:100%;
  margin:0 !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:12px 14px;
  background:#052c21;
  color:#fff;
  border:0;
}

.woocommerce ul.products li.product .button:hover{ filter:brightness(1.05); }

/* Shop responsive */
@media (max-width:1024px){
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products{
    gap:18px;
  }
  body.woocommerce-shop ul.products li.product,
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product{
    flex-basis:300px;
    width:300px !important;
    max-width:300px;
  }
}

@media (max-width:1023px){
  body.single-product div.product .woocommerce-product-gallery{
    max-width: 100% !important;
  }
  body.single-product .product .woocommerce-product-gallery .flex-control-thumbs img {
    height: auto !important;
  }
  body.single-product div.product .summary{
    max-width: 100% !important;
  }
}
@media (max-width:768px){
  body.woocommerce-shop ul.products li.product,
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product{
    flex-basis:280px;
    width:280px !important;
    max-width:280px;
  }
  .woocommerce ul.products li.product a img{ height:220px; }
}

@media (max-width:420px){
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products{
    justify-content:center;
  }
  body.woocommerce-shop ul.products li.product,
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product{
    flex-basis:92vw;
    width:92vw !important;
    max-width:92vw;
  }
}

/* =========================================================
   MY ACCOUNT (Hero + Layout)
   ========================================================= */
body.woocommerce-account .page-header,
body.woocommerce-account .woocommerce-products-header,
body.woocommerce-account .woocommerce-breadcrumb{
  display:none !important;
}

body.woocommerce-account #content,
body.woocommerce-account .site-content,
body.woocommerce-account .container,
body.woocommerce-account .site-main,
body.woocommerce-account .woocommerce{
  overflow:visible !important;
}

body.woocommerce-account .ah-account-hero{
  order:-10;
  flex:0 0 100%;
  position:relative;
  left:50%;
  right:50%;
  width:100vw;
  margin-left:-50vw;
  margin-right:-50vw;
  max-width:100vw;
  overflow:hidden;
  text-align:center;
  padding:clamp(52px,7vw,110px) 0;
  color:#f5fbf7;

  background-color:#052c21;
  background-image:
    linear-gradient(
      0deg,
      rgba(5,44,33,var(--ah-account-hero-overlay,.65)),
      rgba(5,44,33,var(--ah-account-hero-overlay,.65))
    ),
    var(--ah-account-hero-bg);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

body.woocommerce-account .ah-account-hero__inner{
  width:min(1200px,100% - 48px);
  margin-inline:auto;
}

body.woocommerce-account .ah-account-hero__title{
  margin:0;
  font-size:clamp(32px,4.2vw,60px);
  line-height:1.05;
  letter-spacing:-0.02em;
}

body.woocommerce-account .ah-account-hero__desc{
  margin-top:12px;
  opacity:.9;
  max-width:760px;
  margin-inline:auto;
  font-size:14px;
}

body.woocommerce-account .ah-myaccount-wrap{
  padding:50px 0;
  display:flex;
  gap:24px;
  align-items:flex-start;
}

/* Kill Woo floats */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content{
  float:none !important;
  width:auto !important;
}

/* Left navigation card */
body.woocommerce-account .woocommerce-MyAccount-navigation{
  flex:0 0 280px;
  background:#fff;
  border-radius:18px;
  padding:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul{
  list-style:none;
  margin:0;
  padding:0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li{ margin:0; }

body.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:block;
  padding:12px 12px;
  border-radius:12px;
  text-decoration:none;
  color:#052c21;
  font-weight:600;
  transition:background .15s ease,color .15s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
  background:rgba(5,44,33,.08);
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
  background:#052c21;
  color:#fff;
}

/* Right content card */
body.woocommerce-account .woocommerce-MyAccount-content{
  flex:1 1 auto;
  min-width:0;
  background:#fff;
  border-radius:18px;
  padding:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

/* Tables */
body.woocommerce-account table.shop_table{
  border-collapse:collapse;
  width:100%;
  border:0;
}

body.woocommerce-account table.shop_table th,
body.woocommerce-account table.shop_table td{
  padding:12px;
  border-bottom:1px solid rgba(0,0,0,.08);
}

/* Buttons */
body.woocommerce-account .woocommerce-Button,
body.woocommerce-account button.button,
body.woocommerce-account a.button{
  border-radius:999px;
  padding:10px 16px;
  background:#052c21;
  color:#fff;
  border:0;
}

body.woocommerce-account .woocommerce-Button:hover,
body.woocommerce-account button.button:hover,
body.woocommerce-account a.button:hover{
  filter:brightness(1.05);
}

/* Account responsive */
@media (max-width:900px){
  body.woocommerce-account .ah-myaccount-wrap{ flex-direction:column; }
  body.woocommerce-account .woocommerce-MyAccount-navigation{
    flex:0 0 auto;
    width:100% !important;
  }
}

/* =========================================================
   SINGLE PRODUCT (Hero + Layout + Tabs + Variations)
   ========================================================= */
body.single-product #content,
body.single-product .site-content,
body.single-product .container,
body.single-product .site-main,
body.single-product .woocommerce{
  overflow:visible !important;
}

/* Full-bleed product hero */
body.single-product .ah-product-hero{
  position:relative;
  left:50%;
  right:50%;
  width:100vw;
  margin-left:-50vw;
  margin-right:-50vw;
  max-width:100vw;
  overflow:hidden;
  text-align:center;
  padding:clamp(52px,7vw,110px) 0;
  color:#f5fbf7;

  background-color:#052c21;
  background-image:
    linear-gradient(
      0deg,
      rgba(5,44,33,var(--ah-product-hero-overlay,.65)),
      rgba(5,44,33,var(--ah-product-hero-overlay,.65))
    ),
    var(--ah-product-hero-bg, url("http://localhost/antiqueherbs/wp-content/uploads/2025/12/Mask-Group-3.jpg"));
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

body.single-product .ah-product-hero__inner{
  width:min(1200px,100% - 48px);
  margin-inline:auto;
}

body.single-product .ah-product-hero__title{
  margin:0;
  font-size:clamp(32px,4.2vw,60px);
  line-height:1.05;
  letter-spacing:-0.02em;
}

/* Show product title in summary */
body.single-product .summary .product_title.entry-title{
  display:block !important;
  margin:0 0 8px !important;
  font-size:26px;
  line-height:1.15;
  font-weight:900;
  color:#0f3a2a;
}

/* Tagline under title */
body.single-product .summary .ah-product-tagline{
  margin:0 0 12px !important;
  font-size:14px;
  line-height:1.6;
  color:rgba(0,0,0,.72);
  font-weight:600;
}

/* OPTIONAL: hero wala title hide (duplicate avoid) */
body.single-product .ah-product-hero__title{
  display:none !important;
}

/* Product top area */
body.single-product div.product{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  align-items:flex-start;
  padding:50px 0 18px;
}

/* Gallery card */
body.single-product div.product .woocommerce-product-gallery{
  position: relative !important;
  flex: 1 1 540px;
  max-width: 620px;
  background: transparent;
  border-radius: 22px;
  overflow: visible;
  padding: 0;
}

.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper{
  border-radius:18px;
  overflow:hidden;
}


/* ✅ Only thumbnails nav, dots hide */
.woocommerce-product-gallery .flex-control-nav:not(.flex-control-thumbs){
  display:none !important;
}

/* ✅ Thumbnails row */
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs{
  position:static !important;
  display:flex !important;
  gap:10px;
  flex-wrap:nowrap;
  overflow-x:auto;
  padding:12px 2px 2px;
  margin:12px 0 0 !important;
  list-style:none;
}

.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li{
  margin:0 !important;
  flex:0 0 68px;
  list-style:none;
}

.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs img{
  width:68px;
  height:68px;
  object-fit:cover;
  border-radius:12px;
  border:2px solid transparent;
  opacity:.9;
  cursor:pointer;
  transition:transform .15s ease, opacity .15s ease, border-color .15s ease;
}

.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs img:hover{
  transform:translateY(-1px);
  opacity:1;
}

.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs .flex-active img{
  border-color: var(--gold);
  opacity:1;
}


body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
}


/* Thumbnails: 7 in one row */
body.single-product .woocommerce-product-gallery .flex-control-thumbs{
  display:flex;
  flex-wrap:wrap;         /* grid */
  gap:8px;
  margin:12px 0 0;
  padding:0;
  list-style:none;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs img{
  width: 100% !important;
  height: 70px !important;
  object-fit: cover;
  border-radius: 10px;
  display: block !important;
}


/* Thumbnails: horizontal slider (CSS-only) */
body.single-product .woocommerce-product-gallery .flex-control-thumbs{
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto !important;
  gap: 8px;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  list-style: none;
  scroll-snap-type: x mandatory;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li{
  flex:0 0 calc((100% - (6 * 8px)) / 7);  /* screen pe 7 visible */
  scroll-snap-align:start;
}


/* Zoom + rounded corners */
body.single-product .woocommerce-product-gallery__image{
  border-radius:22px;
  overflow:hidden;
  cursor:zoom-in;
}

body.single-product .woocommerce-product-gallery__image a{ display:block; }

body.single-product .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery__image img.zoomImg{
  border-radius:22px;
}

/* Summary card */
body.single-product div.product .summary{
  flex:1 1 420px;
  max-width:520px;
  background:#fff;
  border-radius:22px;
  padding:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

/* Short description */
body.single-product .woocommerce-product-details__short-description{
  color:rgba(0,0,0,.78) !important;
  line-height:1.8 !important;
  font-size:14px !important;
  margin:0 0 16px !important;
}

/* Icon row inside short description */
body.single-product .woocommerce-product-details__short-description ul{
  list-style:none !important;
  padding:0 !important;
  margin:0 0 12px !important;
  display:flex !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  align-items:center;
}

body.single-product .woocommerce-product-details__short-description ul li{ margin:0 !important; }

body.single-product .woocommerce-product-details__short-description ul img{
  width:70px !important;
  height:70px !important;
  object-fit:contain !important;
  display:block;
  border-radius:50%;
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  padding:8px;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
}

@media (max-width: 575px) {
  body.single-product .woocommerce-product-details__short-description ul img{
    width: 55px !important;
    height: 55px !important;
    padding: 5px;
  }
}

.woocommerce div.product div.images {
  margin-bottom: 0 !important;
}

/* Delivery + COD notes under certificate icons */
body.single-product .ah-delivery-notes{
  margin:12px 0 14px !important;
  background:#ffffff;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
body.single-product .ah-delivery-line{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.2px;
  color:#0f3a2a;
  background:rgba(15, 58, 42, 0.06);
  border:1px solid rgba(15, 58, 42, 0.10);
}
body.single-product .ah-delivery-line--fast{
  background:rgba(15, 58, 42, 0.06);
  border-color:rgba(15, 58, 42, 0.12);
}
body.single-product .ah-delivery-line--cod{
  background:rgba(0,0,0,.04);
  border-color:rgba(0,0,0,.08);
  color:rgba(0,0,0,.78);
}
/* 
body.single-product .ah-delivery-line--cod::before{
  content:"💵";
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.08);
  flex:0 0 28px;
} */
/* body.single-product .ah-delivery-line--fast::before{
  content:"🚚";
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(15, 58, 42, 0.10);
  border:1px solid rgba(15, 58, 42, 0.14);
  flex:0 0 28px;
} */

.ah-delivery-line{
  display:flex;
  align-items:center;
  gap:10px;
}

.ah-delivery-ico{
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  background:#f3f4f6;
  border:1px solid #e5e7eb;
}
.ah-delivery-ico i{ font-size:14px; }

@media (max-width: 520px){
  body.single-product .ah-delivery-notes{
    padding:10px;
    border-radius:12px;
  }
  body.single-product .ah-delivery-line{
    font-size:13px;
    padding:9px 10px;
  }
}

/* =========================================================
   Variations (Weight) - fixes included
   ========================================================= */
body.single-product form.variations_form{ width:100%; }

body.single-product div.product form.cart .variations{
  width:100%;
  border:0;
  margin: 0 0 4px !important;
  border-collapse:separate;
  border-spacing:0 6px !important;
}

/* Put label + select on one row */
body.single-product table.variations tr{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 !important;
  padding:0 !important;
}

body.single-product table.variations th.label{
  padding:0 !important;
  margin:0 !important;
  display:flex;
  align-items:center;
  font-weight:800;
  color:var(--dark);
  font-size:14px;
  letter-spacing:.2px;
  white-space:nowrap;
  text-transform:capitalize;
}

body.single-product table.variations td.value{
  flex:1;
  width:100%;
  padding:0 !important;
}

/* Select styling */
body.single-product table.variations select{
  width:100%;
  max-width:360px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.14);
  background-color:#f7fbf9;
  padding:0 44px 0 12px;
  font-weight:700;
  color:var(--dark);

  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;

  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23102C22' d='M5.6 7.6a1 1 0 0 1 1.4 0L10 10.6l3-3a1 1 0 1 1 1.4 1.4l-3.7 3.7a1 1 0 0 1-1.4 0L5.6 9a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:18px;

  box-shadow:0 10px 22px rgba(0,0,0,.06);
}

body.single-product table.variations select:focus{
  outline:none;
  border-color:rgba(204,150,48,.85);
  box-shadow:0 0 0 4px rgba(204,150,48,.20);
}

/* Reset/Clear link:
   - When Woo sets visibility:hidden inline, it STILL takes space.
   - This rule removes it only when hidden, so no blank gap. */
body.single-product table.variations td.value a.reset_variations{
  display:inline-flex;
  align-items:center;
  margin-left:10px;
  font-size:12px;
  font-weight:800;
  color:var(--primary);
  text-decoration:none;
  line-height:1;
  padding:0;
  background-color: transparent !important;
  border: 0;
}

body.single-product table.variations td.value a.reset_variations:hover{
  text-decoration:underline;
}

/* Hide ONLY when inline style says visibility:hidden */
body.single-product table.variations td.value a.reset_variations[style*="visibility: hidden"]{
  display:none !important;
}

/* Mobile: label above select */
@media (max-width:640px){
  body.single-product table.variations tr{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  body.single-product table.variations th.label,
  body.single-product table.variations td.value{
    width:100%;
    display:block;
    text-align: left;
  }
  body.single-product table.variations select{ max-width:100%; }
}

/* =========================================================
   Price styling (simple + variable)
   ========================================================= */
body.single-product div.product .summary .price,
body.single-product div.product .summary .woocommerce-variation-price .price{
  margin:14px 0 14px !important;
  display:flex;
  align-items:baseline;
  gap:12px;
  flex-wrap:wrap;
}

/* Old price */
body.single-product div.product .summary .price del,
body.single-product div.product .summary .woocommerce-variation-price .price del{
  opacity:1 !important;
  color:rgba(16,44,34,.55) !important;
  font-weight:700 !important;
  font-size:16px !important;
  text-decoration:none !important;
  position:relative;
  padding:2px 6px;
}

body.single-product div.product .summary .price del::after,
body.single-product div.product .summary .woocommerce-variation-price .price del::after{
  content:"";
  position:absolute;
  left:6px;
  right:6px;
  top:50%;
  height:2px;
  background:rgba(225,29,72,.75);
  transform:translateY(-50%) rotate(-6deg);
  border-radius:999px;
}

/* New price */
body.single-product div.product .summary .price ins,
body.single-product div.product .summary .woocommerce-variation-price .price ins{
  background:rgba(18,64,45,.08);
  border:1px solid rgba(16,44,34,.12);
  padding:6px 10px;
  border-radius:12px;
  text-decoration:none !important;
  font-weight:900 !important;
  font-size:22px !important;
  color:#0f3a2a !important;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}

/* No sale: normal amount */
body.single-product div.product .summary .price > .woocommerce-Price-amount.amount,
body.single-product div.product .summary .woocommerce-variation-price .price > .woocommerce-Price-amount.amount{
  background:rgba(18,64,45,.08);
  border:1px solid rgba(16,44,34,.12);
  padding:6px 10px;
  border-radius:12px;
  font-weight:900;
  font-size:22px;
  color:#0f3a2a;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}

body.single-product .woocommerce-Price-currencySymbol{
  font-weight:900;
  margin-right:4px;
}

/* =========================================================
   Add to cart spacing (quantity + button)
   ========================================================= */
body.single-product form.cart{
  margin:14px 0 10px !important;
}

/* Variable products wrapper */
body.single-product .woocommerce-variation-add-to-cart{
  display:flex;
  align-items:center;
  gap:12px;              /* <-- main gap fix */
  flex-wrap:wrap;
  margin:0 !important;
  padding:0 !important;
}

/* Simple products form.cart layout also gets gap */
body.single-product form.cart{
  display:flex;
  align-items:center;
  gap:12px;              /* <-- gap between qty and button */
  flex-wrap:wrap;
}

body.single-product form.cart .quantity{ margin:0 !important; }

body.single-product form.cart .qty{
  width:84px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  padding:0 10px;
}

body.single-product .single_add_to_cart_button{
  height:44px;
  border-radius:999px !important;
  padding:0 18px !important;
  background:#052c21 !important;
  color:#fff !important;
  border:0 !important;
}

body.single-product .single_add_to_cart_button:hover{ filter:brightness(1.05); }

/* Variation output box spacing */
body.single-product .woocommerce-variation.single_variation{
  margin:6px 0 0 !important;
  padding:0 !important;
}

/* Product meta */
body.single-product .product_meta{
  margin-top:10px;
  font-size:13px;
  color:rgba(0,0,0,.65);
  display: none;
}

/* =========================================================
   Tabs (Description / Reviews)
   ========================================================= */
body.single-product .woocommerce-tabs{
  background:#fff;
  border-radius:22px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  padding:22px;
  margin:26px 0 60px;
  width:100%;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after{
  content:none !important;
  display:none !important;
}

body.single-product .woocommerce-tabs ul.tabs{
  list-style:none !important;
  padding:0 !important;
  margin:0 0 14px !important;
  display:flex !important;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  border:0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li{
  margin:0 !important;
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li a{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#f6f8f7;
  color:rgba(0,0,0,.78);
  font-weight:700;
  text-decoration:none !important;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}

body.single-product .woocommerce-tabs ul.tabs li a:hover{
  background:rgba(5,44,33,.08);
  border-color:rgba(5,44,33,.18);
  color:#052c21;
}

body.single-product .woocommerce-tabs ul.tabs li.active a{
  background:#052c21 !important;
  border-color:#052c21 !important;
  color:#fff !important;
}
body.single-product .woocommerce-tabs ul.tabs li a{
  padding: .5em 25px !important;
}

body.single-product .woocommerce-Tabs-panel{
  padding:0 !important;
  margin:0 !important;
  font-size:15px;
  line-height:1.9;
  color:rgba(0,0,0,.78);
}

body.single-product .woocommerce-Tabs-panel > *{ max-width:860px; }

body.single-product .woocommerce-Tabs-panel--description > h2:first-child{
  display:none !important;
}

body.single-product .woocommerce-Tabs-panel h3,
body.single-product .woocommerce-Tabs-panel h4{
  color:#052c21;
}

body.single-product .woocommerce-Tabs-panel h3{
  margin-top:18px;
  margin-bottom:10px;
}

body.single-product .woocommerce-Tabs-panel h4{
  margin-top:16px;
  margin-bottom:10px;
}

body.single-product .woocommerce-Tabs-panel ul{ padding-left:18px; }

body.single-product .woocommerce-Tabs-panel img{
  max-width:100% !important;
  height:auto !important;
  border-radius:14px;
  display:block;
}

/* Single product responsive */
@media (max-width:900px){
  body.single-product div.product{
    padding-top:34px;
  }
  body.single-product div.product .woocommerce-product-gallery,
  body.single-product div.product .summary{
    max-width:100%;
  }
  body.single-product .woocommerce-tabs{ padding:16px; }
}

/* =========================================================
   Sale badge (Shop + Single) - Final (RED)
   ========================================================= */
.woocommerce span.onsale{
  background:#e11d48 !important;
  color:#fff !important;
  border:0 !important;
  border-radius:6px !important;
  padding:7px 10px !important;
  min-width:unset !important;
  min-height:unset !important;
  line-height:1 !important;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:.4px !important;
  text-transform:uppercase !important;
  text-align:center !important;
  box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}

/* Single: badge pinned at top-left of product area */
body.single-product div.product > span.onsale{
  position:absolute !important;
  top:14px !important;
  left:14px !important;
  z-index:30 !important;
  margin:0 !important;
}

/* Shop card: top-left */
.woocommerce ul.products li.product .onsale{
  position:absolute !important;
  top:12px !important;
  left:12px !important;
  margin:0 !important;
  z-index:5 !important;
}
.woocommerce ul.products li.product .ah-product-thumb .onsale{
  width: 115px;
}

/* =========================================================
   CART (WooCommerce Blocks)
   ========================================================= */
body.woocommerce-cart .page-header,
body.woocommerce-cart .woocommerce-products-header,
body.woocommerce-cart .woocommerce-breadcrumb,
body.woocommerce-cart .entry-title,
body.woocommerce-cart h1.wp-block-post-title{
  display:none !important;
}

/* Prevent clipping on some themes */
body.woocommerce-cart #content,
body.woocommerce-cart .site-content,
body.woocommerce-cart .site-main,
body.woocommerce-cart .container{
  overflow:visible !important;
}

/* Full-bleed cart hero */
body.woocommerce-cart .ah-cart-hero{
  position:relative;
  left:50%;
  right:50%;
  width:100vw;
  margin-left:-50vw;
  margin-right:-50vw;
  max-width:100vw;
  overflow:hidden;
  text-align:center;
  padding:clamp(52px,7vw,120px) 0;
  color:#f5fbf7;

  background-color:#052c21;
  background-image:
    linear-gradient(
      0deg,
      rgba(5,44,33,var(--ah-cart-hero-overlay,.65)),
      rgba(5,44,33,var(--ah-cart-hero-overlay,.65))
    ),
    var(--ah-cart-hero-bg, url("/wp-content/uploads/2025/12/Mask-Group-3.jpg"));
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

body.woocommerce-cart .ah-cart-hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:60px;
  background:linear-gradient(to bottom, rgba(5,44,33,0), rgba(5,44,33,.25));
  pointer-events:none;
}

body.woocommerce-cart .ah-cart-hero__inner{
  width:min(1200px,100% - 48px);
  margin-inline:auto;
  position:relative;
  z-index:1;
}

body.woocommerce-cart .ah-cart-hero__title{
  margin:0;
  font-size:clamp(34px,4.5vw,64px);
  line-height:1.05;
  letter-spacing:-0.02em;
  text-shadow:0 10px 30px rgba(0,0,0,.25);
}

body.woocommerce-cart .ah-cart-hero__desc{
  margin-top:12px;
  opacity:.92;
  max-width:760px;
  margin-inline:auto;
  font-size:14px;
  line-height:1.7;
}

/* Cart block wrapper */
body.woocommerce-cart .entry-content{ padding:0; }

body.woocommerce-cart .wp-block-woocommerce-cart{
  width:min(1200px,100% - 40px);
  margin:30px auto 0;
}

/* Two-column layout (FIXED) */
body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart{
  /* Force stable grid so it doesn't break around ~1221px */
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) !important;
  gap: 24px;
  align-items: flex-start;
}

/* Left card */
body.woocommerce-cart .wc-block-cart__main{
  background:#fff;
  border-radius:22px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  overflow:hidden;
  padding:10px;

  /* IMPORTANT: remove fixed % widths */
  width: auto !important;
  max-width: none !important;
  min-width: 0;
}
/* Right card */
body.woocommerce-cart .wc-block-cart__sidebar{
  background:#fff;
  border-radius:22px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  padding:18px;

  /* IMPORTANT: remove fixed % widths */
  width: auto !important;
  max-width: none !important;
  min-width: 0;
}


/* Cart responsive */
@media (max-width: 980px){
  body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart{
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart__sidebar{
    width: 100% !important;
  }

  body.woocommerce-cart .wc-block-cart__sidebar{
    margin-top:18px;
  }

  body.woocommerce-cart td.wc-block-cart-item__image img{
    width:64px;
    height:64px;
  }
}

body.woocommerce-cart .wc-block-cart__totals-title{
  margin:0 0 12px;
  color:#052c21;
  font-size:18px;
  font-weight:800;
}

body.woocommerce-cart table.wc-block-cart-items{
  width:100%;
  border-collapse:collapse;
}

body.woocommerce-cart .wc-block-cart-items__header th{
  background:rgba(5,44,33,.06);
  color:#052c21;
  font-weight:800;
  font-size:13px;
  padding:14px 16px;
  border:0;
}

body.woocommerce-cart .wc-block-cart-items__row td{
  padding:16px;
  border-top:1px solid rgba(0,0,0,.08);
  vertical-align:top;
}

body.woocommerce-cart td.wc-block-cart-item__image img{
  width:76px;
  height:76px;
  object-fit:cover;
  border-radius:14px;
  display:block;
}

body.woocommerce-cart .wc-block-components-product-name{
  font-weight:900;
  color:#052c21;
  text-decoration:none;
  display:inline-block;
  margin-bottom:6px;
}

body.woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price__value,
body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value{
  font-weight:800;
  color:#052c21;
  white-space:nowrap;
}

/* Hide icons list inside cart metadata */
body.woocommerce-cart .wc-block-components-product-metadata__description ul{
  display:none !important;
}

body.woocommerce-cart .wc-block-components-product-metadata__description p{
  margin:8px 0 0 !important;
  color:rgba(0,0,0,.65);
  font-size:13px;
  line-height:1.6;
}

/* Quantity selector */
body.woocommerce-cart .wc-block-cart-item__quantity{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

body.woocommerce-cart .wc-block-components-quantity-selector{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  overflow:hidden;
  height:42px;
  background:#fff;
}

body.woocommerce-cart .wc-block-components-quantity-selector__input{
  width:70px;
  border:0 !important;
  outline:none !important;
  text-align:center;
  font-weight:700;
  color:#052c21;
  background:transparent;
}

body.woocommerce-cart .wc-block-components-quantity-selector__button{
  width:42px;
  height:42px;
  border:0 !important;
  background:rgba(5,44,33,.06);
  color:#052c21;
  font-weight:900;
  cursor:pointer;
}

body.woocommerce-cart .wc-block-components-quantity-selector__button:hover{
  background:rgba(5,44,33,.12);
}

body.woocommerce-cart .wc-block-components-quantity-selector__button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

body.woocommerce-cart .wc-block-cart-item__remove-link{
  background:transparent;
  border:0;
  padding:0;
  color:#b42318;
  font-weight:800;
  cursor:pointer;
  text-decoration:underline;
}

/* Coupon accordion button */
body.woocommerce-cart .wc-block-components-panel__button{
  background:rgba(5,44,33,.06);
  border-radius:14px;
  padding:12px 14px !important;
  font-weight:800;
  color:#052c21;
  cursor:pointer;
}

body.woocommerce-cart .wc-block-components-totals-footer-item{ padding-top:10px; }

body.woocommerce-cart .wc-block-components-totals-item__label{
  font-weight:800;
  color:#052c21;
}

body.woocommerce-cart .wc-block-components-totals-item__value{
  font-weight:900;
  color:#052c21;
  font-size:16px;
}

/* Checkout button */
body.woocommerce-cart .wc-block-cart__submit-button{
  width:100%;
  justify-content:center;
  border-radius:999px !important;
  padding:14px 18px !important;
  background:#052c21 !important;
  color:#fff !important;
  border:0 !important;
  font-weight:800;
  box-shadow:0 12px 30px rgba(0,0,0,.10);
}

body.woocommerce-cart .wc-block-cart__submit-button:hover{
  filter:brightness(1.05);
}

/* Cart responsive */
@media (max-width:980px){
  body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart{
    grid-template-columns:1fr !important;
  }
  body.woocommerce-cart .wc-block-cart__sidebar{ margin-top:18px; }
  body.woocommerce-cart td.wc-block-cart-item__image img{
    width:64px;
    height:64px;
  }
}

/* =========================================================
   CHECKOUT (Blocks) - Layout + Hero + Field styling
   ========================================================= */
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .container,
body.woocommerce-checkout .woocommerce{
  overflow:visible !important;
}

body.woocommerce-checkout .entry-title,
body.woocommerce-checkout h1.wp-block-post-title{
  display:none !important;
}

/* Full-bleed checkout hero (same feel as cart) */
body.woocommerce-checkout .ah-checkout-hero{
  position:relative;
  left:50%;
  right:50%;
  width:100vw;
  margin-left:-50vw;
  margin-right:-50vw;
  max-width:100vw;
  overflow:hidden;
  text-align:center;
  padding:clamp(52px,7vw,120px) 0;
  color:#f5fbf7;

  background-color:#052c21;
  background-image:
    linear-gradient(
      0deg,
      rgba(5,44,33,var(--ah-cart-hero-overlay,.65)),
      rgba(5,44,33,var(--ah-cart-hero-overlay,.65))
    ),
    var(--ah-cart-hero-bg, url("/wp-content/uploads/2025/12/Mask-Group-3.jpg"));
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

body.woocommerce-checkout .ah-checkout-hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:60px;
  background:linear-gradient(to bottom, rgba(5,44,33,0), rgba(5,44,33,.25));
  pointer-events:none;
}

/* Uses cart hero inner/title/desc classes */
body.woocommerce-checkout .ah-checkout-hero .ah-cart-hero__inner{
  width:min(1200px,100% - 48px);
  margin-inline:auto;
  position:relative;
  z-index:1;
}

body.woocommerce-checkout .ah-checkout-hero .ah-cart-hero__title{
  margin:0;
  font-size:clamp(34px,4.5vw,64px);
  line-height:1.05;
  letter-spacing:-0.02em;
  text-shadow:0 10px 30px rgba(0,0,0,.25);
}

body.woocommerce-checkout .ah-checkout-hero .ah-cart-hero__desc{
  margin-top:12px;
  opacity:.92;
  max-width:760px;
  margin-inline:auto;
  font-size:14px;
  line-height:1.7;
}

/* Checkout wrapper */
body.woocommerce-checkout .entry-content{ padding-top:24px; }

body.woocommerce-checkout .wp-block-woocommerce-checkout{
  width:min(1200px,92%);
  margin:30px auto 60px;
}

/* Force real two columns (fix squished order summary) */
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:flex-start !important;
  gap:24px !important;
  width:100% !important;
  margin:0 auto !important;
}

/* Left side */
body.woocommerce-checkout .wc-block-components-main.wc-block-checkout__main{
  flex:1 1 auto !important;
  min-width:0 !important;
}

/* Right side */
body.woocommerce-checkout .wc-block-components-sidebar.wc-block-checkout__sidebar{
  flex:auto !important;
  width:420px !important;
  max-width:420px !important;
  min-width:360px !important;
}

/* Make summary content use full sidebar */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__content,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary__content{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
}

/* Main + sidebar cards */
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  padding:22px;
}

/* Sticky sidebar on desktop */
@media (min-width:981px){
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    position:sticky;
    top:110px;
  }
}

/* Checkout steps separators */
body.woocommerce-checkout .wc-block-components-checkout-step{
  padding:14px 0;
  border-bottom:1px solid rgba(0,0,0,.08);
}
body.woocommerce-checkout #payment-method.wc-block-components-checkout-step{
  border-bottom:0;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title{
  font-size:18px;
  font-weight:900;
  margin:0 0 10px;
  letter-spacing:-.02em;
}

/* =========================================================
   Checkout field styling (back to "label on top" look)
   ========================================================= */
body.woocommerce-checkout .wc-block-components-form{ font-size:14px; }

/* Text inputs: force label above input without breaking errors */
body.woocommerce-checkout .wc-block-components-text-input{
  display:flex !important;
  flex-direction:column !important;
  gap:6px !important;
  margin:0 !important;
}

/* Reorder because HTML is input then label */
body.woocommerce-checkout .wc-block-components-text-input label{ order:0 !important; }
body.woocommerce-checkout .wc-block-components-text-input input{ order:1 !important; }
body.woocommerce-checkout .wc-block-components-text-input .wc-block-components-validation-error{ order:2 !important; }

body.woocommerce-checkout .wc-block-components-text-input label{
  position:static !important;
  transform:none !important;
  inset:auto !important;
  margin:0 !important;
  padding:0 !important;
  font-weight:900 !important;
  font-size:12px !important;
  line-height:1.2 !important;
  color:rgba(0,0,0,.72) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input{
  width:100% !important;
  height:46px !important;
  padding:0 12px !important;
  border-radius:12px !important;
  border:1px solid rgba(0,0,0,.14) !important;
  background:#fff !important;
  box-shadow:none !important;
  font-weight:600 !important;
  color:rgba(0,0,0,.85) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus{
  outline:none !important;
  border-color:rgba(5,82,33,.45) !important;
  box-shadow:0 0 0 4px rgba(5,82,33,.12) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input[aria-invalid="true"]{
  border-color:rgba(220,53,69,.6) !important;
  box-shadow:0 0 0 4px rgba(220,53,69,.12) !important;
}

/* Select fields: keep label above and match input look */
body.woocommerce-checkout .wc-blocks-components-select__container{
  display:flex !important;
  flex-direction:column !important;
  gap:6px !important;
  margin:0 !important;
  position:relative !important;
}

body.woocommerce-checkout .wc-blocks-components-select__label{
  position:static !important;
  transform:none !important;
  inset:auto !important;
  margin:0 !important;
  padding:0 !important;
  font-weight:900 !important;
  font-size:12px !important;
  line-height:1.2 !important;
  color:rgba(0,0,0,.72) !important;
}

body.woocommerce-checkout .wc-blocks-components-select__select{
  width:100% !important;
  height:46px !important;
  padding:0 44px 0 12px !important;
  border-radius:12px !important;
  border:1px solid rgba(0,0,0,.14) !important;
  background:#fff !important;
  box-shadow:none !important;
  font-weight:600 !important;
  color:rgba(0,0,0,.85) !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}

body.woocommerce-checkout .wc-blocks-components-select__select:focus{
  outline:none !important;
  border-color:rgba(5,82,33,.45) !important;
  box-shadow:0 0 0 4px rgba(5,82,33,.12) !important;
}

body.woocommerce-checkout .wc-blocks-components-select__select[aria-invalid="true"]{
  border-color:rgba(220,53,69,.6) !important;
  box-shadow:0 0 0 4px rgba(220,53,69,.12) !important;
}

/* Address card */
body.woocommerce-checkout .wc-block-components-address-card{
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  padding:12px 14px;
  background:rgba(0,0,0,.02);
}

body.woocommerce-checkout .wc-block-components-address-card__edit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:8px 12px;
  background:rgba(5,82,33,.10);
  color:#055221;
  font-weight:900;
  cursor:pointer;
}

body.woocommerce-checkout .wc-block-components-address-card__edit:hover{
  background:rgba(5,82,33,.16);
}

/* Address 2 toggle */
body.woocommerce-checkout .wc-block-components-address-form__address_2-toggle{
  display:inline-block;
  margin:10px 0 14px;
  font-weight:900;
  color:#055221;
  cursor:pointer;
}

/* Payment error notice */
body.woocommerce-checkout .wc-block-checkout__no-payment-methods-notice{
  border-radius:14px;
  border:1px solid rgba(220,53,69,.35);
  background:rgba(220,53,69,.08);
  padding:12px 14px;
}

/* Terms row */
body.woocommerce-checkout .wc-block-checkout__terms{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(0,0,0,.08);
  color:rgba(0,0,0,.70);
  font-weight:600;
}

body.woocommerce-checkout .wc-block-checkout__terms a{
  color:#055221;
  font-weight:900;
  text-decoration:none;
}
body.woocommerce-checkout .wc-block-checkout__terms a:hover{ text-decoration:underline; }

/* Actions row */
body.woocommerce-checkout .wc-block-checkout__actions_row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-top:18px;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button{
  font-weight:900;
  color:rgba(0,0,0,.75);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button:hover{
  color:#055221;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button.contained{
  min-width:240px;
  border-radius:999px !important;
  padding:14px 18px !important;
  font-weight:900 !important;
  background:#055221 !important;
  color:#fff !important;
  border:none !important;
  box-shadow:0 12px 24px rgba(5,82,33,.22);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button.contained:hover{
  filter:brightness(.95);
  transform:translateY(-1px);
}

.wc-blocks-components-select .wc-blocks-components-select__expand {
  transform: translateY(-15%);
}

/* Checkout responsive: stack columns */
@media (max-width:980px){
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large{
    flex-direction:column !important;
  }

  /* On responsive, keep the form first and the Order summary last */
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-main{
    order:1 !important;
    width: 100%;
  }
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-sidebar{
    order:2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin-top: 30px;
  }

  body.woocommerce-checkout .wc-block-components-sidebar.wc-block-checkout__sidebar{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }
}

@media (max-width:800px){
  /* Hide the TOP duplicate/mobile order summary accordion (keep sidebar summary below form) */
  body.woocommerce-checkout .wc-block-checkout__main .checkout-order-summary-block-fill-wrapper,
  body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper{
    display:none !important;
  }

  body.woocommerce-checkout .wc-block-components-checkout-order-summary__content{
    padding: 0 16px;
  }
}

@media (max-width:768px){
  body.woocommerce-checkout .ah-checkout-hero{ padding:48px 0; }
  body.woocommerce-checkout .wp-block-woocommerce-checkout{ margin-top:18px !important; }
}
@media (max-width:474px){
  .wc-block-components-form .wc-block-components-checkout-step .wc-block-components-text-input{
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }
}


.wc-block-checkout__billing-fields .wc-block-components-address-form, .wc-block-checkout__shipping-fields .wc-block-components-address-form {
  gap: 15px 12px;
}

body.single-product div.product .summary .single_variation_wrap .woocommerce-variation-price span.price{
  margin-top: 0 !important;
}







/* =========================================================
   CHECKOUT - Simplify UI (Pakistan only)
   ========================================================= */

/* Safety: Hide Postcode/ZIP if it appears (Blocks + Classic) */
/* body.woocommerce-checkout .wc-block-components-address-form__postcode,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #shipping_postcode_field{
  display:none !important;
} */

/* Country: make it feel like a fixed field (not a dropdown) */
body.woocommerce-checkout .wc-block-components-address-form__country .wc-blocks-components-select__select{
  pointer-events:none !important;   /* no dropdown open */
  background-image:none !important; /* remove arrow style */
  padding-right:12px !important;
}

/* Remove caret/icon for country select */
body.woocommerce-checkout .wc-block-components-address-form__country .wc-blocks-components-select__expand,
body.woocommerce-checkout .wc-block-components-address-form__country .components-input-control__suffix{
  display:none !important;
}

/* Optional: If label shows "Country / Region", show only "Country" (visual only) */
body.woocommerce-checkout .wc-block-components-address-form__country .wc-blocks-components-select__label{
  font-size:0 !important;
}
body.woocommerce-checkout .wc-block-components-address-form__country .wc-blocks-components-select__label::after{
  content:"Country";
  font-size:12px;
  font-weight:900;
  line-height:1.2;
  color:rgba(0,0,0,.72);
}

/* Optional: "Street address" ko "Address" show karwana (visual only) */
body.woocommerce-checkout .wc-block-components-address-form__address_1 label{
  font-size:0 !important;
}
body.woocommerce-checkout .wc-block-components-address-form__address_1 label::after{
  content:"Address";
  font-size:12px;
  font-weight:900;
  line-height:1.2;
  color:rgba(0,0,0,.72);
}







/* =========================================================
   ORDER RECEIVED / THANK YOU (Theme Match)
   ========================================================= */
body.woocommerce-order-received .page-header,
body.woocommerce-order-received .woocommerce-breadcrumb,
body.woocommerce-order-received .entry-title,
body.woocommerce-order-received h1.wp-block-post-title{
  display:none !important;
}

/* Safe spacing */
body.woocommerce-order-received .entry-content{
  padding: 34px 0 70px;
}

body.woocommerce-order-received .woocommerce-order{
  width: min(980px, 100%);
  margin: 0 auto;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  padding: 26px;
}

/* Main title / notice */
body.woocommerce-order-received .woocommerce-thankyou-order-received{
  margin: 0 0 14px !important;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: #052c21;
}

/* Sometimes Woo prints "Thank you..." twice — keep it tidy */
body.woocommerce-order-received .woocommerce-thankyou-order-received + p{
  margin-top: 6px !important;
  color: rgba(0,0,0,.70);
  font-weight: 600;
}

/* Order overview (Number/Date/Email/Total/Payment) */
body.woocommerce-order-received ul.woocommerce-order-overview{
  list-style: none;
  margin: 18px 0 18px !important;
  padding: 14px !important;
  background: rgba(5,44,33,.05);
  border: 1px solid rgba(5,44,33,.10);
  border-radius: 18px;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

/* Remove default separators/lines */
body.woocommerce-order-received ul.woocommerce-order-overview::before{
  display: none;
}
body.woocommerce-order-received ul.woocommerce-order-overview li{
  margin: 0 !important;
  padding: 12px 12px !important;
  border: 0 !important;

  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
  min-width: 0;
}

body.woocommerce-order-received ul.woocommerce-order-overview li strong{
  display: block;
  margin-top: 6px;
  font-weight: 900;
  color: #052c21;
  font-size: 14px;
  word-break: break-word;
}

body.woocommerce-order-received ul.woocommerce-order-overview li{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}

/* Payment method small line (if appears separately) */
body.woocommerce-order-received .woocommerce-thankyou-order-details + p{
  margin: 10px 0 0 !important;
  color: rgba(0,0,0,.68);
}

/* Section headings */
body.woocommerce-order-received .woocommerce-order h2,
body.woocommerce-order-received .woocommerce-order h3{
  margin: 18px 0 12px;
  font-size: 18px;
  font-weight: 900;
  color: #052c21;
  letter-spacing: -.01em;
}

/* Order details table card */
body.woocommerce-order-received .woocommerce-order-details{
  margin-top: 14px;
}

body.woocommerce-order-received table.woocommerce-table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

body.woocommerce-order-received table.woocommerce-table thead th{
  background: rgba(5,44,33,.06);
  color: #052c21;
  font-weight: 900;
  font-size: 13px;
  padding: 14px 16px;
  border: 0;
  text-align: left;
}

body.woocommerce-order-received table.woocommerce-table td,
body.woocommerce-order-received table.woocommerce-table th{
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
}

body.woocommerce-order-received table.woocommerce-table td a{
  font-weight: 900;
  color: #052c21;
}

body.woocommerce-order-received table.woocommerce-table tfoot th{
  font-weight: 900;
  color: rgba(0,0,0,.70);
  width: 55%;
}

body.woocommerce-order-received table.woocommerce-table tfoot td{
  font-weight: 900;
  color: #052c21;
  white-space: nowrap;
}

/* Total row highlight */
body.woocommerce-order-received table.woocommerce-table tfoot tr:last-child th,
body.woocommerce-order-received table.woocommerce-table tfoot tr:last-child td{
  background: rgba(204,150,48,.10);
}

/* Customer details (addresses) */
body.woocommerce-order-received .woocommerce-customer-details{
  margin-top: 18px;
}

body.woocommerce-order-received .woocommerce-columns--addresses{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.woocommerce-order-received .woocommerce-column{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  padding: 16px;
  border: 1px solid rgba(0,0,0,.06);
}

body.woocommerce-order-received .woocommerce-column address{
  font-style: normal;
  line-height: 1.75;
  color: rgba(0,0,0,.72);
  font-weight: 600;
}

/* Buttons (if any) */
body.woocommerce-order-received .woocommerce-order a.button,
body.woocommerce-order-received .woocommerce-order .button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  background: #052c21 !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 24px rgba(5,44,33,.18);
}

body.woocommerce-order-received .woocommerce-order a.button:hover,
body.woocommerce-order-received .woocommerce-order .button:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 980px){
  body.woocommerce-order-received ul.woocommerce-order-overview{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.woocommerce-order-received .woocommerce-columns--addresses{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  body.woocommerce-order-received .woocommerce-order{
    padding: 18px;
  }
  body.woocommerce-order-received ul.woocommerce-order-overview{
    grid-template-columns: 1fr;
    padding: 12px !important;
  }
}

/* ✅ Remove duplicate "Thank you!" line (keep the Woo notice) */
body.woocommerce-order-received .ah-cart-hero__desc{
  display: none;
}

/* ✅ Make overview cards responsive (email wrap issue + better grid) */
body.woocommerce-order-received .woocommerce-order-overview{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

body.woocommerce-order-received .woocommerce-order-overview li strong{
  overflow-wrap: anywhere; /* email/long text nice wrap */
}



/* =========================
   Variations layout fix (after select)
   ========================= */
body.single-product form.variations_form table.variations{
  width: 100%;
}

body.single-product form.variations_form table.variations th.label{
  white-space: nowrap;
  padding-right: 14px;
  font-weight: 800;
}

body.single-product form.variations_form table.variations td.value{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* your buttons wrapper: remove extra margin so clear link doesn't drop weird */
body.single-product .ah-variation-buttons{
  margin: 0;
  align-items: center;
}

/* Style Woo "Clear" link like a pill */
body.single-product form.variations_form .reset_variations{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  color: #052c21;
  background: rgba(5,44,33,.08);
  border: 1px solid rgba(5,44,33,.14);
  line-height: 1;
}

/* Hover */
body.single-product form.variations_form .reset_variations:hover{
  background: rgba(5,44,33,.14);
}



/* =========================
   Variation Buttons (Weight, etc.)
   ========================= */


/* =========================
   Weight cards UI
   ========================= */

body.single-product .ah-variation-buttons--cards{
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:14px;
  width:min(100%, 520px);
}

body.single-product .ah-variation-btn--card{
  width:100%;
  height:auto;
  min-height:84px;
  padding:16px 18px;
  border-radius:22px;
  border:1.5px solid rgba(194,149,67,.45);
  background:#fff;
  color:#0b2b22;
  box-shadow:none;
  text-align:left;
  display:block;
}

body.single-product .ah-variation-btn--card:hover{
  transform:translateY(-1px);
  background:#fffaf2;
  border-color:#c29543;
}

body.single-product .ah-variation-btn--card.is-active{
  background:#fffaf2;
  color:#0b2b22;
  border-color:#c29543;
  box-shadow:0 0 0 2px rgba(194,149,67,.14);
}

body.single-product .ah-variation-btn--card:disabled{
  opacity:.48;
  background:#fafafa;
  color:rgba(11,43,34,.55);
}

body.single-product .ah-variation-card__content{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px 16px;
  align-items:center;
  width:100%;
}

body.single-product .ah-variation-card__top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

body.single-product .ah-variation-card__title{
  font-size:18px;
  line-height:1.2;
  font-weight:900;
}

body.single-product .ah-variation-card__save{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  background:#c29543;
  color:#fff;
  font-size:12px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}

body.single-product .ah-variation-card__bottom{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  text-align:right;
}

body.single-product .ah-variation-card__price-current{
  font-size:30px;
  line-height:1;
  font-weight:900;
  color:#b07a21;
}

body.single-product .ah-variation-card__price-old{
  font-size:16px;
  line-height:1.1;
  font-weight:700;
  color:rgba(11,43,34,.45);
  text-decoration:line-through;
}

@media (max-width: 640px){
  body.single-product .ah-variation-buttons--cards{
    width:100%;
  }

  body.single-product .ah-variation-btn--card{
    min-height:auto;
    padding:14px 16px;
  }

  body.single-product .ah-variation-card__content{
    grid-template-columns:1fr;
  }

  body.single-product .ah-variation-card__bottom{
    align-items:flex-start;
    text-align:left;
  }

  body.single-product .ah-variation-card__price-current{
    font-size:24px;
  }
}


.ah-variation-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
body.single-product .ah-variation-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0;
}

body.single-product .ah-variation-btn{
  height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#f6f8f7;
  color:var(--dark);
  font-weight:900;
  cursor:pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}

body.single-product .ah-variation-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(5,44,33,.25);
  background:rgba(5,44,33,.06);
}

body.single-product .ah-variation-btn.is-active{
  background:#052c21;
  border-color:#052c21;
  color:#fff;
}
body.single-product .ah-variation-btn.is-active .ah-variation-card__price-old{
	color: #fff;
}
body.single-product .ah-variation-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

/* hide select only when JS converted it */
body.single-product select.ah-variation-select-hidden{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}



/* arrows visible + clean */
.woocommerce-product-gallery .flex-direction-nav a{
  opacity: 1;
  text-shadow: none;
}

.woocommerce-product-gallery .flex-direction-nav a:before{
  font-size: 18px;
}

/* thumbnails spacing */
.woocommerce-product-gallery .flex-control-thumbs{
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.woocommerce-product-gallery .flex-control-thumbs li{
  width: 64px !important;
}


.woocommerce-product-gallery .flex-direction-nav a{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
}

.woocommerce-product-gallery .flex-direction-nav a:before{
  font-size: 18px;
}



/* =========================
   WC Gallery Slider FIX
   (remove numbers + style arrows + show thumbs)
   ========================= */

.single-product .woocommerce-product-gallery{
  position: relative;
}

.single-product .woocommerce-product-gallery .flex-control-nav,
.single-product .woocommerce-product-gallery .flex-direction-nav{
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ✅ hide paging numbers (1,2,3,4...) */
.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-paging{
  display: none !important;
}

/* ✅ thumbnails strip */
.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs{
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 0 6px 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li{
  flex: 0 0 auto;
  width: 64px;
}

.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs img{
  width: 64px !important;
  height: 64px !important;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  opacity: .7;
  cursor: pointer;
}

.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs img.flex-active{
  opacity: 1;
  border-color: rgba(0,0,0,.28);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* ✅ arrows styling */
.single-product .woocommerce-product-gallery .flex-direction-nav a{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: -9999px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.single-product .woocommerce-product-gallery:hover .flex-direction-nav a{
  opacity: 1;
  pointer-events: auto;
}

.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-prev{ left: 14px; }
.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-next{ right: 14px; }

.single-product .woocommerce-product-gallery .flex-direction-nav a::before{
  content: "‹";
  text-indent: 0;
  font-size: 36px;
  line-height: 1;
  color: rgba(0, 0, 0, .75);
  position: relative;
  top: -6px;
  left: 0px;
}

.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-next::before{
  content: "›";
}

/* ✅ Thank you / Order received: Address cards layout fix */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1000px;
  margin: 24px auto 0;
  align-items: start;
}

/* ✅ Reset WooCommerce col2-set/col-1/col-2 default sizing that breaks grid */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses > .woocommerce-column{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  justify-self: stretch;
}

/* Card UI */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

/* Title */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: rgba(0,0,0,.85);
}

/* Address text */
body.woocommerce-order-received .woocommerce-customer-details address{
  margin: 0;
  font-style: normal;
  line-height: 1.75;
  color: rgba(0,0,0,.72);
  font-weight: 600;
}

/* Phone / Email */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--email{
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(0,0,0,.10);
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  color: rgba(0,0,0,.75);
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--phone::before{
  content: "📞";
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--email::before{
  content: "✉️";
}



/* FORCE: Billing left, Shipping right (fix extra left/right spaces) */
body.woocommerce-order-received .woocommerce-customer-details
section.woocommerce-columns--addresses.col2-set.addresses{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 1000px;
  margin: 24px auto 0;
  align-items: start !important;
  justify-items: stretch !important;
  align-content: start !important;
}

/* Reset any WooCommerce default float/clear/width */
body.woocommerce-order-received .woocommerce-customer-details
section.woocommerce-columns--addresses.col2-set.addresses > .woocommerce-column{
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
  justify-self: stretch !important;
  align-self: start !important;
}

/* Lock positions (prevents diagonal layout) */
body.woocommerce-order-received .woocommerce-customer-details
section.woocommerce-columns--addresses.col2-set.addresses > .woocommerce-column:nth-child(1){
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.woocommerce-order-received .woocommerce-customer-details
section.woocommerce-columns--addresses.col2-set.addresses > .woocommerce-column:nth-child(2){
  grid-column: 2 !important;
  grid-row: 1 !important;
}

/* Mobile stacking */
@media (max-width: 860px){
  body.woocommerce-order-received .woocommerce-customer-details
  section.woocommerce-columns--addresses.col2-set.addresses{
    grid-template-columns: 1fr !important;
    max-width: 680px;
  }

  body.woocommerce-order-received .woocommerce-customer-details
  section.woocommerce-columns--addresses.col2-set.addresses > .woocommerce-column:nth-child(1),
  body.woocommerce-order-received .woocommerce-customer-details
  section.woocommerce-columns--addresses.col2-set.addresses > .woocommerce-column:nth-child(2){
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* Mobile */
@media (max-width: 860px){
  body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses{
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}

/* When cart form is moved under delivery notes */
body.single-product .woocommerce-product-details__short-description form.cart{
  margin:14px 0 6px !important;
}

body.single-product .woocommerce-product-details__short-description form.cart .variations{
  margin-top:6px !important;
}

/* Stop duplicate delivery notes inside variation/cart area */
body.single-product .summary.entry-summary form.cart .ah-delivery-notes{
  display:none !important;
}


/* Hide top price range under title (keep variation price that appears after selection) */
body.single-product .summary.entry-summary > p.price,
body.single-product .summary.entry-summary > .price{
  display:none !important;
}
/* Hide "Clear" (reset variations) link on single product */
body.single-product .summary.entry-summary .reset_variations{
  display:none !important;
}






/* Make timer go UNDER Add to cart (not beside it) */
body.single-product .summary.entry-summary form.cart{
  flex-wrap:wrap; /* safe even if already flex */
}

body.single-product .summary.entry-summary .ah-offer-timer-wrap{
  width:100%;
  flex:0 0 100%;
  order:999;          /* always last in cart row */
  margin-top:10px;
}

body.single-product .summary.entry-summary .ah-offer-timer{
  padding:10px 12px;
  border-radius:12px;
  border:1px dashed rgba(15, 58, 42, .30);
  background:rgba(15, 58, 42, 0.05);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

body.single-product .summary.entry-summary .ah-offer-timer__label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:800;
  color:rgba(0,0,0,.72);
}

body.single-product .summary.entry-summary .ah-offer-timer__label i{
  font-size:14px;
  color:#0f3a2a;
}

body.single-product .summary.entry-summary .ah-offer-timer__time{
  font-size:16px;
  font-weight:900;
  letter-spacing:.8px;
  color:#0f3a2a;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  padding:6px 10px;
  border-radius:10px;
}



/* Estimated Delivery box under offer timer */
body.single-product .ah-est-delivery{
  margin-top:10px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  width: 100%;
}

body.single-product .ah-est-delivery__head{
  font-size:13px;
  font-weight:900;
  color:rgba(0,0,0,.80);
  text-align:center;
  margin-bottom:10px;
}

body.single-product .ah-est-delivery__range{
  font-weight:900;
  color:#0f3a2a;
  margin-left:6px;
}

body.single-product .ah-est-delivery__steps{
  position:relative;
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:8px 6px 2px;
}

/* line behind icons */
body.single-product .ah-est-delivery__steps::before{
  content:"";
  position:absolute;
  left:12%;
  right:12%;
  top:28px;
  height:3px;
  background:rgba(0,0,0,.12);
  border-radius:999px;
}

body.single-product .ah-ed-step{
  position:relative;
  z-index:2;
  flex:1;
  text-align:center;
}

body.single-product .ah-ed-step__icon{
  width:42px;
  height:42px;
  margin:0 auto 8px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 8px 16px rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#0f3a2a;
}

body.single-product .ah-ed-step__icon i{
  font-size:16px;
}

body.single-product .ah-ed-step__label{
  font-size:12px;
  font-weight:900;
  color:rgba(0,0,0,.75);
  margin-bottom:2px;
}

body.single-product .ah-ed-step__date{
  font-size:12px;
  font-weight:900;
  color:#0f3a2a;
}



/* =========================
   Product "ON SALE" badge
   ========================= */

/* Make sure gallery is positioning context */
body.single-product .woocommerce-product-gallery{
  position: relative;
}

/* Sale badge (single product) */
body.single-product .woocommerce-product-gallery .onsale{
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  bottom: auto !important;

  z-index: 50 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 8px 12px !important;
  border-radius: 999px !important;

  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .6px !important;
  text-transform: uppercase !important;

  color: #fff !important;
  background: linear-gradient(135deg, #0f3a2a, #1f7a55) !important;

  box-shadow: 0 12px 26px rgba(0,0,0,.18) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  line-height: 1 !important;
  min-height: auto !important;
  min-width: auto !important;
}

/* Optional: little dot on left for premium feel */
body.single-product .woocommerce-product-gallery .onsale::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  margin-right: 8px;
}

/* Hover (desktop) */
@media (hover:hover){
  body.single-product .woocommerce-product-gallery:hover .onsale{
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0,0,0,.22) !important;
  }
}

/* Responsive tweak */
@media (max-width: 768px){
  body.single-product .woocommerce-product-gallery .onsale{
    top: 10px !important;
    left: 10px !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
  }
}



/* Sale badge overlay on product image */
body.single-product .woocommerce-product-gallery{
  position:relative;
}

body.single-product .woocommerce-product-gallery span.onsale{
  position:absolute !important;
  top:14px !important;
  left:14px !important;
  z-index:2 !important;

  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;

  padding:8px 12px !important;
  border-radius:999px !important;

  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.6px !important;
  text-transform:uppercase !important;

  color:#fff !important;
  background: linear-gradient(135deg, #0f3a2a, #1f7a55) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.18) !important;
  border:1px solid rgba(255,255,255,.25) !important;

  line-height:1 !important;
  min-height:auto !important;
  min-width:auto !important;
}

body.single-product .woocommerce-product-gallery span.onsale::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  display:inline-block;
}

/* Responsive */
@media (max-width:768px){
  body.single-product .woocommerce-product-gallery span.onsale{
    top:10px !important;
    left:10px !important;
    padding:7px 10px !important;
    font-size:11px !important;
  }
}


/* Rating above title (single product) */
body.single-product .summary .woocommerce-product-rating.ah-product-rating-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 10px;
  font-size:14px;
  line-height:1;
}

body.single-product .summary .woocommerce-product-rating.ah-product-rating-top .star-rating{
  margin:0;
  float:none;
}

body.single-product .summary .woocommerce-product-rating.ah-product-rating-top .woocommerce-review-link{
  color: rgba(0,0,0,.72);
  font-weight:700;
  text-decoration:none;
}

body.single-product .summary .woocommerce-product-rating.ah-product-rating-top .woocommerce-review-link:hover{
  text-decoration:underline;
}
.wc-block-checkout__form .wc-blocks-components-select {
    margin-top: 0 !important;
}










/* =========================
   Weight cards refinements
   ========================= */

/* Weight label ko upar center me lao */
body.single-product form.variations_form table.variations tbody{
  display:flex;
  flex-direction:column;
  gap:10px;
}

body.single-product form.variations_form table.variations tr{
  display:block;
  width:100%;
}

body.single-product form.variations_form table.variations th.label{
  display:block;
  width:100%;
  text-align:center;
  padding:0 0 8px 0 !important;
}

body.single-product form.variations_form table.variations th.label label{
  display:block;
  width:100%;
  margin:0;
  text-align:center;
  font-size:22px;
  line-height:1.2;
  font-weight:900;
  color:#0b2b22;
}

/* value area bhi full width */
body.single-product form.variations_form table.variations td.value{
  display:block;
  width:100%;
  padding:0 !important;
}

/* cards ko full width karo */
body.single-product .ah-variation-buttons--cards{
  width:100% !important;
  max-width:none !important;
}

/* card ki height thori choti */
body.single-product .ah-variation-btn--card{
  min-height:72px;
  padding:12px 16px;
  border-radius:999px;
}

/* content alignment */
body.single-product .ah-variation-card__content{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:8px 14px;
  align-items:center;
}

/* left side */
body.single-product .ah-variation-card__top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}

/* title */
body.single-product .ah-variation-card__title{
  font-size:18px;
  line-height:1.1;
  font-weight:900;
}

/* badge thora compact */
body.single-product .ah-variation-card__save{
  min-height:26px;
  padding:4px 10px;
  font-size:12px;
  line-height:1;
  border-radius:999px;
}

/* right side price */
body.single-product .ah-variation-card__bottom{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  gap:2px;
  text-align:right;
}

body.single-product .ah-variation-card__price-current{
  font-size:24px;
  line-height:1;
  font-weight:900;
}

body.single-product .ah-variation-card__price-old{
  font-size:14px;
  line-height:1;
}

/* Add to cart ke upar jo WooCommerce wala extra price a raha hai usko hide karo */
body.single-product form.variations_form .single_variation_wrap .woocommerce-variation-price,
body.single-product form.variations_form .single_variation_wrap .woocommerce-variation .price,
body.single-product form.variations_form .single_variation_wrap .woocommerce-variation-price .price{
  display:none !important;
}

/* mobile */
@media (max-width: 640px){
  body.single-product form.variations_form table.variations th.label label{
    font-size:20px;
  }

  body.single-product .ah-variation-btn--card{
    min-height:64px;
    padding:10px 14px;
  }

  body.single-product .ah-variation-card__content{
    grid-template-columns:minmax(0, 1fr) auto;
    gap:6px 10px;
  }

  body.single-product .ah-variation-card__title{
    font-size:16px;
  }

  body.single-product .ah-variation-card__price-current{
    font-size:21px;
  }

  body.single-product .ah-variation-card__price-old{
    font-size:13px;
  }
}












/* =========================================================
   CLASSIC CHECKOUT - SPACING + LAYOUT FIX
   ========================================================= */

body.woocommerce-checkout form.checkout{
  width: min(1200px, 92%);
  margin: 30px auto 70px;
}

body.woocommerce-checkout form.checkout .col2-set{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
  margin: 0;
}

body.woocommerce-checkout form.checkout .col2-set::before,
body.woocommerce-checkout form.checkout .col2-set::after{
  display: none !important;
}

body.woocommerce-checkout form.checkout .col2-set .col-1,
body.woocommerce-checkout form.checkout .col2-set .col-2{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* Left + right cards */
body.woocommerce-checkout .ah-billing-fields-card,
body.woocommerce-checkout form.checkout .col-2{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  padding: 22px;
}

/* Sticky order summary */
@media (min-width: 981px){
  body.woocommerce-checkout form.checkout .col-2{
    position: sticky;
    top: 110px;
  }
}

/* Order summary heading */
body.woocommerce-checkout form.checkout .col-2 > h3{
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  color: #111;
}

/* Sections */
body.woocommerce-checkout .ah-checkout-section + .ah-checkout-section{
  margin-top: 24px;
}

body.woocommerce-checkout .ah-checkout-card-title{
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  color: #111;
}

body.woocommerce-checkout .ah-checkout-divider{
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 20px 0;
}

/* Billing grid */
body.woocommerce-checkout .ah-checkout-fields-grid{
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}

body.woocommerce-checkout .ah-checkout-fields-grid > .form-row{
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 14px !important;
  box-sizing: border-box;
}

/* Woo default row widths ko stable karna */
body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last{
  width: 50% !important;
}

body.woocommerce-checkout .form-row-wide{
  width: 100% !important;
}

/* Labels */
body.woocommerce-checkout form.checkout label{
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  color: rgba(0,0,0,.78);
}

/* Inputs / selects / textarea */
body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout textarea{
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(0,0,0,.85);
}

body.woocommerce-checkout form.checkout textarea{
  min-height: 92px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}

body.woocommerce-checkout form.checkout input.input-text:focus,
body.woocommerce-checkout form.checkout select:focus,
body.woocommerce-checkout form.checkout textarea:focus{
  outline: none;
  border-color: rgba(5,82,33,.45);
  box-shadow: 0 0 0 4px rgba(5,82,33,.12);
}

/* Add apartment link */
body.woocommerce-checkout .woocommerce-billing-fields .woocommerce-address-fields__field-wrapper .form-row .optional{
  opacity: .7;
}

body.woocommerce-checkout .showcoupon,
body.woocommerce-checkout .showlogin,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon{
  font-weight: 800;
  color: #055221;
}

/* Payment section */
body.woocommerce-checkout #payment{
  margin-top: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  overflow: hidden;
}

body.woocommerce-checkout #payment ul.payment_methods{
  padding: 18px 22px 8px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

body.woocommerce-checkout #payment div.payment_box{
  margin-top: 12px;
  border-radius: 14px;
  background: rgba(5,82,33,.05);
}

body.woocommerce-checkout #payment .form-row{
  padding: 18px 22px 22px;
  margin: 0 !important;
}

body.woocommerce-checkout #payment .place-order{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.woocommerce-checkout #payment #place_order{
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #055221;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(5,82,33,.22);
}

body.woocommerce-checkout #payment #place_order:hover{
  filter: brightness(.96);
  transform: translateY(-1px);
}

/* Order review table spacing */
body.woocommerce-checkout #order_review{
  margin-top: 0;
}

body.woocommerce-checkout #order_review table.shop_table{
  margin: 0;
  border-collapse: collapse;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow: hidden;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td{
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}

body.woocommerce-checkout #order_review table.shop_table tr:first-child th,
body.woocommerce-checkout #order_review table.shop_table tr:first-child td{
  border-top: 0;
}

/* Mobile */
@media (max-width: 980px){
  body.woocommerce-checkout form.checkout .col2-set{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.woocommerce-checkout form.checkout .col-2{
    position: static;
  }
}

@media (max-width: 767px){
  body.woocommerce-checkout .form-row-first,
  body.woocommerce-checkout .form-row-last{
    width: 100% !important;
  }

  body.woocommerce-checkout .ah-billing-fields-card,
  body.woocommerce-checkout form.checkout .col-2,
  body.woocommerce-checkout #payment{
    padding: 18px;
  }

  body.woocommerce-checkout #payment ul.payment_methods,
  body.woocommerce-checkout #payment .form-row{
    padding-left: 18px;
    padding-right: 18px;
  }
}







/* =========================================================
   CHECKOUT LAYOUT FIX - STRONGER LIVE OVERRIDE
   ========================================================= */

body.woocommerce-checkout .entry-content{
  padding-top: 0 !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout{
  width: min(1200px, 92%) !important;
  margin: 36px auto 70px !important;
  position: relative;
  z-index: 2;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details.col2-set{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 24px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details.col2-set::before,
body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details.col2-set::after{
  display: none !important;
  content: none !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details > .col-1,
body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details > .col-2{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details > .col-1{
  min-width: 0 !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details > .col-2{
  width: 380px !important;
  max-width: 100% !important;
}

/* left form card */
body.woocommerce-checkout .ah-billing-fields-card{
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.08) !important;
  padding: 22px !important;
  margin: 0 !important;
}

/* right order summary card */
body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details > .col-2{
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.08) !important;
  padding: 22px !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details > .col-2 > h3{
  margin: 0 0 18px !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  color: #111 !important;
}

body.woocommerce-checkout .ah-checkout-section + .ah-checkout-section{
  margin-top: 24px !important;
}

body.woocommerce-checkout .ah-checkout-divider{
  margin: 20px 0 !important;
}

/* fields spacing */
body.woocommerce-checkout .ah-checkout-fields-grid{
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -8px !important;
  margin-right: -8px !important;
}

body.woocommerce-checkout .ah-checkout-fields-grid > .form-row{
  box-sizing: border-box !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  margin-bottom: 14px !important;
}

body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last{
  width: 50% !important;
}

body.woocommerce-checkout .form-row-wide{
  width: 100% !important;
}

body.woocommerce-checkout .form-row{
  margin-bottom: 14px !important;
}

body.woocommerce-checkout form.checkout label{
  display: block !important;
  margin: 0 0 8px !important;
}

/* field UI */
body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout textarea{
  width: 100% !important;
  min-height: 46px !important;
  border: 1px solid rgba(0,0,0,.14) !important;
  border-radius: 12px !important;
  background: #fff !important;
  padding: 0 14px !important;
  box-shadow: none !important;
}

body.woocommerce-checkout form.checkout textarea{
  min-height: 92px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* order review spacing */
body.woocommerce-checkout #order_review{
  margin-top: 0 !important;
}

body.woocommerce-checkout #order_review table.shop_table{
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td{
  padding: 14px 16px !important;
  border-top: 1px solid rgba(0,0,0,.08) !important;
}

body.woocommerce-checkout #order_review table.shop_table tr:first-child th,
body.woocommerce-checkout #order_review table.shop_table tr:first-child td{
  border-top: 0 !important;
}

/* sticky sidebar */
@media (min-width: 981px){
  body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details > .col-2{
    position: sticky !important;
    top: 110px !important;
  }
}

/* tablet/mobile */
@media (max-width: 980px){
  body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details.col2-set{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details > .col-2{
    width: 100% !important;
    position: static !important;
  }
}

@media (max-width: 767px){
  body.woocommerce-checkout .form-row-first,
  body.woocommerce-checkout .form-row-last{
    width: 100% !important;
  }

  body.woocommerce-checkout .ah-billing-fields-card,
  body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details > .col-2{
    padding: 18px !important;
  }
}


body.single-product .ah-variation-btn.is-active .ah-variation-card__price-current {
    color: #fff;
}


