/* Kanwal Herbal single product — authoritative layout v1.3.1
   This file intentionally contains ALL single-product layout rules.
   Do not re-add product layout overrides to main.css. */

body.single-product .bir-woo-main{
  padding-top:54px;
  padding-bottom:90px;
}

body.single-product .woocommerce div.product{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
}

/* =========================================================
   TOP PRODUCT AREA — DESKTOP: REAL 2-COLUMN GRID
   ========================================================= */
body.single-product .woocommerce div.product .kanwal-product-top{
  display:flex!important;
  flex-flow:row nowrap!important;
  gap:48px!important;
  align-items:flex-start!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 0 58px!important;
  padding:0!important;
  position:relative!important;
  overflow:visible!important;
}

body.single-product .woocommerce div.product .kanwal-product-top::before,
body.single-product .woocommerce div.product .kanwal-product-top::after{
  display:none!important;
  content:none!important;
}

body.single-product .kanwal-gallery-column{
  flex:1 1 0!important;
  width:0!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  clear:none!important;
  align-self:stretch!important;
  position:relative!important;
  z-index:1!important;
}

body.single-product .kanwal-gallery-sticky{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  position:relative!important;
  top:auto!important;
  z-index:1!important;
}

@media (min-width:901px){
  body.single-product .kanwal-gallery-sticky{
    position:sticky!important;
    top:112px!important;
  }

  body.admin-bar.single-product .kanwal-gallery-sticky{
    top:144px!important;
  }
}

body.single-product .summary.entry-summary{
  flex:1 1 0!important;
  width:0!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:8px 0 0!important;
  float:none!important;
  clear:none!important;
  position:relative!important;
  z-index:2!important;
  background:#fff!important;
}

/* =========================================================
   PRODUCT GALLERY
   ========================================================= */
body.single-product .kanwal-gallery-column .woocommerce-product-gallery,
body.single-product .kanwal-gallery-column div.images{
  display:block!important;
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  clear:none!important;
  overflow:visible!important;
  z-index:1!important;
}

body.single-product .kanwal-gallery-column .woocommerce-product-gallery__wrapper{
  /* Allow WooCommerce FlexSlider's inline desktop width to take precedence.
     Only constrain the pre-initialization image; responsive carousels retain
     their own !important scroll-snap widths further down this stylesheet. */
  width:100%;
  max-width:100%!important;
  overflow:hidden!important;
  border-radius:24px!important;
  background:var(--kanwal-cream)!important;
}

body.single-product .kanwal-gallery-column .woocommerce-product-gallery__image img{
  width:100%!important;
  height:auto!important;
  margin:0!important;
  border-radius:24px!important;
  background:var(--kanwal-cream)!important;
}

body.single-product .kanwal-gallery-column .onsale{
  position:absolute!important;
  top:14px!important;
  left:14px!important;
  right:auto!important;
  z-index:8!important;
}

body.single-product .kanwal-gallery-column ol.flex-control-thumbs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  max-width:100%!important;
  margin:18px 0 0!important;
  padding:0!important;
  overflow:visible!important;
  list-style:none!important;
}

body.single-product .kanwal-gallery-column ol.flex-control-thumbs li{
  display:block!important;
  float:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

body.single-product .kanwal-gallery-column ol.flex-control-thumbs li img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  margin:0!important;
  padding:6px!important;
  border:1px solid #dfe5dc!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(18,61,41,.045)!important;
  opacity:.78!important;
  transition:.2s ease!important;
}

body.single-product .kanwal-gallery-column ol.flex-control-thumbs li img:hover{
  opacity:1!important;
  transform:translateY(-1px);
}

body.single-product .kanwal-gallery-column ol.flex-control-thumbs li img.flex-active{
  opacity:1!important;
  border-color:var(--kanwal-green)!important;
  box-shadow:0 0 0 2px rgba(31,93,61,.10),0 5px 16px rgba(18,61,41,.07)!important;
}

/* =========================================================
   SUMMARY / PRICE / CART
   ========================================================= */
body.single-product .summary .product_title{
  margin:0 0 18px!important;
  color:var(--kanwal-green-dark)!important;
  font-size:clamp(34px,3.2vw,48px)!important;
  line-height:1.06!important;
}

body.single-product .summary .woocommerce-product-details__short-description{
  max-width:650px;
  color:var(--kanwal-muted);
  font-size:16px;
  line-height:1.7;
}

/* Variable products: never show WooCommerce's min/max range. */
body.single-product .woocommerce div.product.product-type-variable .summary.entry-summary > p.price,
body.single-product .woocommerce div.product.product-type-variable .summary.entry-summary > .price,
body.single-product .woocommerce div.product.kanwal-variable-product .summary.entry-summary > p.price,
body.single-product .woocommerce div.product.kanwal-variable-product .summary.entry-summary > .price,
body.single-product.kanwal-variable-product .summary.entry-summary > p.price,
body.single-product.kanwal-variable-product .summary.entry-summary > .price{
  display:none!important;
}

/* Simple products retain a normal clean price. */
body.single-product .woocommerce div.product.product-type-simple .summary.entry-summary > p.price{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  margin:8px 0 24px!important;
  color:var(--kanwal-green-dark)!important;
  font-size:30px!important;
  font-weight:900!important;
}

/* WooCommerce owns this markup and updates it natively when a swatch changes. */
body.single-product .summary .single_variation_wrap{
  width:100%!important;
}

body.single-product .summary .woocommerce-variation{
  display:block!important;
  width:100%!important;
  margin:0!important;
}

body.single-product .summary .woocommerce-variation-price{
  display:block!important;
  width:100%!important;
  min-height:38px!important;
  margin:2px 0 16px!important;
}

body.single-product .summary .woocommerce-variation-price:empty{
  min-height:0!important;
  margin:0!important;
}

body.single-product .summary .woocommerce-variation-price .price{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  margin:0!important;
  color:var(--kanwal-green-dark)!important;
  font-size:30px!important;
  font-weight:900!important;
  line-height:1.15!important;
  letter-spacing:-.025em!important;
}

body.single-product .summary .woocommerce-variation-price .price del{
  color:#91a399!important;
  font-size:18px!important;
  font-weight:700!important;
  opacity:.72!important;
  text-decoration-thickness:1.5px!important;
}

body.single-product .summary .woocommerce-variation-price .price ins{
  color:var(--kanwal-green-dark)!important;
  font-size:30px!important;
  font-weight:900!important;
  text-decoration:none!important;
}

/* =========================================================
   VARIATION SWATCHES
   ========================================================= */
body.single-product form.variations_form table.variations{
  display:block!important;
  width:100%!important;
  margin:8px 0 6px!important;
  border:0!important;
}

body.single-product form.variations_form table.variations tbody{
  display:block!important;
}

body.single-product form.variations_form table.variations tr{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  width:100%!important;
  margin:0 0 6px!important;
}

body.single-product form.variations_form table.variations th,
body.single-product form.variations_form table.variations td{
  display:block!important;
  width:auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

body.single-product form.variations_form table.variations .label label{
  color:var(--kanwal-green-dark)!important;
  font-size:14px!important;
  font-weight:850!important;
}

body.single-product form.variations_form select.kanwal-swatch-select{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

body.single-product .kanwal-variation-swatches{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px!important;
  min-height:46px!important;
}

body.single-product .kanwal-variation-swatch{
  min-width:58px!important;
  min-height:46px!important;
  padding:9px 16px!important;
  border:1px solid #d9dfd6!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--kanwal-green-dark)!important;
  font:inherit!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.2!important;
  cursor:pointer!important;
  box-shadow:0 3px 12px rgba(18,61,41,.025)!important;
}

body.single-product .kanwal-variation-swatch:hover:not(:disabled){
  border-color:var(--kanwal-green)!important;
  transform:translateY(-1px);
}

body.single-product .kanwal-variation-swatch.is-selected{
  background:var(--kanwal-green)!important;
  border-color:var(--kanwal-green)!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(31,93,61,.18)!important;
}

body.single-product .kanwal-variation-swatch:disabled,
body.single-product .kanwal-variation-swatch.is-disabled{
  opacity:.38!important;
  cursor:not-allowed!important;
  text-decoration:line-through!important;
}

body.single-product form.variations_form .reset_variations{
  align-self:center!important;
  margin:0!important;
  color:var(--kanwal-green)!important;
  font-size:11px!important;
  font-weight:700!important;
  text-decoration:none!important;
}

/* =========================================================
   PURCHASE BUTTONS
   ========================================================= */
body.single-product .summary form.cart{
  display:flex!important;
  align-items:stretch!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  width:100%!important;
  margin:22px 0 0!important;
}

body.single-product .summary form.cart .quantity .qty{
  width:80px!important;
  height:50px!important;
}

body.single-product .summary form.cart .single_add_to_cart_button{
  min-width:150px!important;
  flex:1 1 150px!important;
}

body.single-product .summary form.cart .bir-buy-now-button{
  flex:1 0 100%!important;
  width:100%!important;
  min-width:100%!important;
  margin-top:4px!important;
  background:#111!important;
  border-color:#111!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(0,0,0,.12)!important;
  animation:kanwal-buy-now-shake 4.6s ease-in-out infinite;
  transform-origin:center;
}

body.single-product .summary form.cart .bir-buy-now-button:hover,
body.single-product .summary form.cart .bir-buy-now-button:focus{
  background:#000!important;
  border-color:#000!important;
  color:#fff!important;
}

@keyframes kanwal-buy-now-shake{
  0%,72%,100%{transform:translateX(0)}
  75%{transform:translateX(-3px) rotate(-.4deg)}
  78%{transform:translateX(3px) rotate(.4deg)}
  81%{transform:translateX(-2px) rotate(-.25deg)}
  84%{transform:translateX(2px) rotate(.25deg)}
  87%{transform:translateX(0)}
}

body.single-product .summary form.cart .bir-whatsapp-product-button{
  flex:1 0 100%!important;
  width:100%!important;
  margin-top:14px!important;
}

/* =========================================================
   TRUST, NOTE, META, FAQ
   ========================================================= */
body.single-product .kanwal-product-promise{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin:34px 0 4px!important;
}

body.single-product .kanwal-product-promise span{
  display:flex!important;
  min-height:82px!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:14px!important;
  border:1px solid var(--kanwal-line)!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#fff,var(--kanwal-cream))!important;
  text-align:center!important;
}

body.single-product .kanwal-product-promise b{
  color:var(--kanwal-green-dark)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:16px!important;
  line-height:1.15!important;
}

body.single-product .kanwal-product-promise small{
  margin-top:5px!important;
  color:var(--kanwal-muted)!important;
  font-size:11px!important;
  line-height:1.35!important;
}

body.single-product .kanwal-purchase-note{
  display:flex!important;
  gap:12px!important;
  align-items:flex-start!important;
  margin-top:18px!important;
  padding:15px 17px!important;
  border-radius:14px!important;
  background:#f1f6ef!important;
  color:#44564a!important;
  font-size:13px!important;
  line-height:1.55!important;
}

body.single-product .kanwal-purchase-note>span{
  width:24px!important;
  height:24px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 24px!important;
  border-radius:50%!important;
  background:var(--kanwal-green)!important;
  color:#fff!important;
  font-weight:900!important;
}

body.single-product .kanwal-purchase-note p{margin:0!important}
body.single-product .kanwal-purchase-note strong{color:var(--kanwal-green-dark)!important}

body.single-product .summary .product_meta{
  margin-top:24px!important;
  padding-top:20px!important;
  border-top:1px solid var(--kanwal-line)!important;
  color:var(--kanwal-muted)!important;
  font-size:12px!important;
}

body.single-product .kanwal-section-kicker{
  margin-bottom:10px!important;
  color:var(--kanwal-brown)!important;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}

body.single-product .kanwal-product-faq{
  margin-top:28px!important;
  padding:28px!important;
  border-radius:22px!important;
  background:linear-gradient(140deg,#f8f5ec,#f3f6ee)!important;
}

body.single-product .kanwal-product-faq h2{
  margin:0 0 20px!important;
  color:var(--kanwal-green-dark)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(34px,3.3vw,48px)!important;
  line-height:1.08!important;
}

body.single-product .kanwal-product-faq-grid{
  display:grid!important;
  gap:10px!important;
}

body.single-product .kanwal-product-faq details{
  padding:0 16px!important;
  border:1px solid rgba(31,93,61,.13)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.88)!important;
}

body.single-product .kanwal-product-faq summary{
  padding:15px 0!important;
  color:var(--kanwal-green-dark)!important;
  font-weight:850!important;
  cursor:pointer!important;
}

body.single-product .kanwal-product-faq details p{
  margin:0!important;
  padding:0 0 16px!important;
  color:var(--kanwal-muted)!important;
  line-height:1.65!important;
}

/* =========================================================
   LONG-FORM PRODUCT CONTENT
   ========================================================= */
body.single-product .woocommerce div.product > .woocommerce-tabs,
body.single-product .woocommerce div.product > .kanwal-real-media,
body.single-product .woocommerce div.product > .kanwal-product-story,
body.single-product .woocommerce div.product > .related,
body.single-product .woocommerce div.product > .upsells{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  clear:both!important;
  position:relative!important;
  z-index:1!important;
}

body.single-product .woocommerce div.product .woocommerce-tabs{
  margin-top:54px!important;
}

body.single-product .kanwal-section-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:30px;
}

body.single-product .kanwal-section-heading h2,
body.single-product .kanwal-product-story h2{
  margin:0;
  color:var(--kanwal-green-dark);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,4vw,54px);
  line-height:1.08;
}

body.single-product .kanwal-section-heading p{
  max-width:760px;
  margin:10px 0 0;
  color:var(--kanwal-muted);
  line-height:1.7;
}

body.single-product .kanwal-real-media{
  margin-top:64px!important;
  padding-top:58px!important;
  border-top:1px solid var(--kanwal-line)!important;
}

body.single-product .kanwal-real-media-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

body.single-product .kanwal-real-photo,
body.single-product .kanwal-real-video{
  margin:0;
  overflow:hidden;
  border:1px solid var(--kanwal-line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 34px rgba(18,61,41,.06);
}

body.single-product .kanwal-real-photo img,
body.single-product .kanwal-real-video video{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  background:var(--kanwal-cream);
}

body.single-product .kanwal-real-photo figcaption,
body.single-product .kanwal-real-video>span{
  display:block;
  padding:13px 15px;
  color:var(--kanwal-green-dark);
  font-size:12px;
  font-weight:800;
  text-align:center;
}

body.single-product .kanwal-product-story{
  display:grid!important;
  grid-template-columns:1.1fr .95fr .95fr!important;
  gap:22px!important;
  margin-top:82px!important;
}

body.single-product .kanwal-story-card{
  padding:34px;
  border:1px solid var(--kanwal-line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 32px rgba(18,61,41,.045);
}

body.single-product .kanwal-story-card--lead{
  background:linear-gradient(145deg,#fbfaf6,#f3f6ee);
}

body.single-product .kanwal-story-card h2{
  font-size:clamp(34px,3.5vw,48px);
}

body.single-product .kanwal-story-card h3{
  margin:0 0 18px;
  color:var(--kanwal-green-dark);
  font-family:Georgia,"Times New Roman",serif;
  font-size:28px;
}

body.single-product .kanwal-story-card>p{
  color:var(--kanwal-muted);
  line-height:1.75;
}

body.single-product .kanwal-benefit-chips{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:24px;
}

body.single-product .kanwal-benefit-chips span{
  padding:9px 12px;
  border:1px solid #d9e2d5;
  border-radius:999px;
  background:#fff;
  color:var(--kanwal-green-dark);
  font-size:12px;
  font-weight:800;
}

body.single-product .kanwal-clean-list{
  display:grid;
  gap:0;
  margin:0;
  padding:0;
  list-style:none;
}

body.single-product .kanwal-clean-list li{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:14px 0;
  border-top:1px solid var(--kanwal-line);
}

body.single-product .kanwal-clean-list li:first-child{border-top:0}
body.single-product .kanwal-clean-list strong{color:var(--kanwal-green-dark);font-size:14px}
body.single-product .kanwal-clean-list span{color:var(--kanwal-muted);font-size:12px;line-height:1.5}

body.single-product .kanwal-steps{
  display:grid;
  gap:16px;
  margin:0;
  padding:0;
  list-style:none;
}

body.single-product .kanwal-steps li{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:12px;
  align-items:start;
}

body.single-product .kanwal-steps li>span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--kanwal-green);
  color:#fff;
  font-weight:900;
}

body.single-product .kanwal-steps p{margin:3px 0 0;color:#526159;line-height:1.55}
body.single-product .kanwal-fineprint{margin-top:22px!important;padding-top:18px;border-top:1px solid var(--kanwal-line);font-size:11px}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1000px){
  body.single-product .woocommerce div.product .kanwal-product-top{
    gap:28px!important;
  }

  body.single-product .summary .product_title{
    font-size:clamp(38px,5vw,52px)!important;
  }

  body.single-product .kanwal-real-media-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body.single-product .kanwal-product-story{
    grid-template-columns:1fr 1fr!important;
  }

  body.single-product .kanwal-story-card--lead{
    grid-column:1/-1;
  }
}

@media (max-width:560px){
  body.single-product .bir-woo-main{
    padding-top:28px;
    padding-bottom:64px;
  }

  body.single-product .woocommerce div.product .kanwal-product-top{
    display:block!important;
    margin-bottom:38px!important;
  }

  body.single-product .kanwal-gallery-column{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin-bottom:38px!important;
  }

  body.single-product .summary.entry-summary{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    background:transparent!important;
  }

  body.single-product .kanwal-gallery-sticky{
    position:static!important;
    top:auto!important;
  }

  body.single-product .kanwal-gallery-column ol.flex-control-thumbs{
    gap:12px!important;
  }
}


@media (min-width:561px) and (max-width:800px){
  body.single-product .woocommerce div.product .kanwal-product-top{
    gap:20px!important;
  }

  body.single-product .summary.entry-summary{
    padding-top:0!important;
  }

  body.single-product .summary .product_title{
    font-size:clamp(27px,4vw,35px)!important;
  }

  body.single-product .summary .woocommerce-variation-price .price,
  body.single-product .summary .woocommerce-variation-price .price ins{
    font-size:24px!important;
  }

  body.single-product .kanwal-product-promise{
    grid-template-columns:1fr!important;
  }

  body.single-product .kanwal-product-promise span:last-child{
    grid-column:auto!important;
  }

  body.single-product .kanwal-product-faq{
    padding:20px!important;
  }

  body.single-product .kanwal-product-faq h2{
    font-size:30px!important;
  }

  body.single-product .kanwal-gallery-column ol.flex-control-thumbs{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
  }
}

@media (max-width:700px){
  body.single-product .kanwal-product-promise{
    grid-template-columns:1fr 1fr!important;
  }

  body.single-product .kanwal-product-promise span:last-child{
    grid-column:1/-1;
  }

  body.single-product .kanwal-real-media{
    margin-top:44px!important;
    padding-top:40px!important;
  }

  body.single-product .kanwal-real-media-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  body.single-product .kanwal-product-story{
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin-top:54px!important;
  }

  body.single-product .kanwal-story-card--lead{
    grid-column:auto;
  }

  body.single-product .kanwal-story-card{
    padding:24px;
    border-radius:18px;
  }
}

@media (max-width:600px){
  body.single-product form.variations_form table.variations tr{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  body.single-product form.variations_form .reset_variations{
    justify-self:start!important;
  }
}

@media (max-width:520px){
  body.single-product .kanwal-gallery-column ol.flex-control-thumbs{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
  }

  body.single-product .summary .woocommerce-variation-price .price,
  body.single-product .summary .woocommerce-variation-price .price ins{
    font-size:27px!important;
  }
}

@media (prefers-reduced-motion:reduce){
  body.single-product .summary form.cart .bir-buy-now-button{
    animation:none!important;
  }
}


/* =========================================================
   1.3.5 — offer price directly below title
   ========================================================= */
body.single-product .kanwal-offer-summary{
  margin:4px 0 12px!important;
}

body.single-product .kanwal-offer-price-row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px 12px!important;
}

body.single-product .kanwal-offer-regular{
  color:#7f8f85!important;
  font-size:18px!important;
  font-weight:650!important;
  opacity:.78!important;
  text-decoration-thickness:1.5px!important;
}

body.single-product .kanwal-offer-sale{
  color:var(--kanwal-green-dark)!important;
  font-size:31px!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:-.025em!important;
}

body.single-product .kanwal-offer-discount{
  display:inline-flex!important;
  min-height:32px!important;
  align-items:center!important;
  justify-content:center!important;
  padding:5px 12px!important;
  border-radius:999px!important;
  background:var(--kanwal-brown)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
}

body.single-product .kanwal-offer-discount.is-hidden{
  display:none!important;
}

body.single-product .kanwal-offer-shipping{
  margin-top:7px!important;
  color:var(--kanwal-muted)!important;
  font-size:12px!important;
  line-height:1.45!important;
  text-decoration:underline;
  text-decoration-color:#d2d9d3;
  text-underline-offset:3px;
}

body.single-product .kanwal-benefit-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  margin-top:20px!important;
}

body.single-product .kanwal-benefit-pills span{
  display:inline-flex!important;
  min-height:38px!important;
  align-items:center!important;
  padding:8px 13px!important;
  border:1px solid #ddd8cc!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#fff,#faf8f2)!important;
  color:#45564c!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.25!important;
}

/* Custom summary above is now the only visible product price. WooCommerce's
   native variation price remains in the DOM for commerce logic but is hidden. */
body.single-product .summary .woocommerce-variation-price{
  display:none!important;
}

@media (max-width:800px) and (min-width:561px){
  body.single-product .kanwal-offer-sale{font-size:25px!important}
  body.single-product .kanwal-benefit-pills{gap:7px!important}
  body.single-product .kanwal-benefit-pills span{
    padding:7px 10px!important;
    font-size:11px!important;
  }
}

@media (max-width:560px){
  body.single-product .kanwal-offer-sale{font-size:28px!important}
  body.single-product .kanwal-benefit-pills{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
  body.single-product .kanwal-benefit-pills span{
    justify-content:center!important;
    text-align:center!important;
  }
}


/* =========================================================
   1.3.9 — compact Pack / Quantity spacing on every view
   ========================================================= */
body.single-product .kanwal-offer-summary{
  margin-bottom:4px!important;
}

body.single-product .summary form.cart{
  margin-top:6px!important;
  row-gap:8px!important;
}

body.single-product form.variations_form table.variations{
  margin:2px 0 0!important;
}

body.single-product form.variations_form table.variations tr{
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:8px!important;
  margin:0!important;
}

body.single-product form.variations_form table.variations td.value{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  min-height:0!important;
}

body.single-product .kanwal-variation-swatches{
  min-height:42px!important;
  gap:8px!important;
}

body.single-product .kanwal-variation-swatch{
  min-height:42px!important;
  padding:7px 14px!important;
}

body.single-product form.variations_form .reset_variations{
  display:inline-flex!important;
  align-items:center!important;
  margin:0 0 0 2px!important;
  padding:0!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}

body.single-product .summary .single_variation_wrap{
  margin:0!important;
  padding:0!important;
}

body.single-product .summary .woocommerce-variation,
body.single-product .summary .woocommerce-variation-add-to-cart,
body.single-product .summary .variations_button{
  margin-top:0!important;
  padding-top:0!important;
}

@media (max-width:600px){
  body.single-product form.variations_form table.variations tr{
    grid-template-columns:1fr!important;
    gap:4px!important;
  }

  body.single-product form.variations_form table.variations td.value{
    gap:6px!important;
  }

  body.single-product .kanwal-variation-swatches{
    min-height:40px!important;
  }

  body.single-product .kanwal-variation-swatch{
    min-height:40px!important;
    padding:6px 12px!important;
  }
}


/* =========================================================
   1.3.10 — tablet layout + tighter Pack/Quantity rhythm
   Desktop (>1180px) and phone layout remain otherwise unchanged.
   ========================================================= */

/* Tablet gets a true full-width carousel followed by the summary.
   The previous half-width flex column was collapsing the carousel area. */
@media (min-width:561px) and (max-width:1180px){
  body.single-product .woocommerce div.product .kanwal-product-top{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin-bottom:42px!important;
  }

  body.single-product .kanwal-gallery-column{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 30px!important;
  }

  body.single-product .kanwal-gallery-sticky{
    position:static!important;
    top:auto!important;
    width:100%!important;
  }

  body.single-product .summary.entry-summary{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding-top:0!important;
  }


  body.single-product .summary .product_title{
    max-width:820px;
  }
}

/* Pack/Quantity block — reduce vertical air in every viewport. */
body.single-product .kanwal-benefit-pills{
  margin-top:14px!important;
  margin-bottom:0!important;
}

body.single-product .kanwal-offer-summary{
  margin-bottom:0!important;
}

body.single-product .summary form.cart{
  margin-top:0!important;
  row-gap:6px!important;
}

body.single-product form.variations_form table.variations{
  margin:0!important;
  padding:0!important;
}

body.single-product form.variations_form table.variations tr{
  gap:6px!important;
  margin:0!important;
  padding:0!important;
}

body.single-product form.variations_form table.variations th,
body.single-product form.variations_form table.variations td{
  margin:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

body.single-product form.variations_form table.variations td.value{
  gap:6px!important;
  min-height:0!important;
  line-height:1!important;
}

body.single-product .kanwal-variation-swatches{
  min-height:38px!important;
  gap:7px!important;
  margin:0!important;
}

body.single-product .kanwal-variation-swatch{
  min-height:38px!important;
  padding:5px 12px!important;
}

body.single-product form.variations_form .reset_variations{
  margin:0 0 0 2px!important;
  padding:0!important;
  line-height:1!important;
}

body.single-product .summary .single_variation_wrap,
body.single-product .summary .woocommerce-variation,
body.single-product .summary .woocommerce-variation-add-to-cart,
body.single-product .summary .variations_button{
  margin:0!important;
  padding:0!important;
}

body.single-product .summary form.cart .quantity,
body.single-product .summary form.cart .single_add_to_cart_button{
  margin-top:0!important;
  margin-bottom:0!important;
}

@media (max-width:600px){
  body.single-product form.variations_form table.variations tr{
    gap:2px!important;
  }

  body.single-product .kanwal-variation-swatches{
    min-height:36px!important;
    gap:6px!important;
  }

  body.single-product .kanwal-variation-swatch{
    min-height:36px!important;
    padding:5px 11px!important;
  }
}


/* =========================================================
   1.4.0 — Phase 1 performance / below-fold rendering
   ========================================================= */
body.single-product .kanwal-real-media,
body.single-product .kanwal-product-story,
body.single-product .woocommerce-tabs{
  content-visibility:auto;
  contain-intrinsic-size:auto 820px;
}

body.single-product .kanwal-real-photo picture{
  display:block;
  width:100%;
}

body.single-product .kanwal-real-photo picture img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:cover;
}


/* =========================================================
   1.4.1 — product-only commerce UI extracted from commerce-ui.css
   Checkout-only CSS is no longer shipped on product pages.
   ========================================================= */
/* ---------- Right-side mini cart ---------- */
.bir-cart-overlay{position:fixed;inset:0;z-index:99998;background:rgba(18,39,29,.42);opacity:0;transition:opacity .25s ease}.bir-cart-overlay.is-open{display:block;opacity:1}.bir-cart-drawer{position:fixed;z-index:99999;top:0;right:0;width:min(430px,100%);height:100dvh;background:#fff;box-shadow:-24px 0 60px rgba(18,39,29,.18);transform:translate3d(105%,0,0);transition:transform .3s cubic-bezier(.22,.75,.25,1);display:flex;flex-direction:column}.bir-cart-drawer.is-open{transform:translate3d(0,0,0)}.bir-cart-drawer__header{display:flex;align-items:center;justify-content:space-between;min-height:82px;padding:18px 22px;border-bottom:1px solid var(--bir-ui-line)}.bir-cart-drawer__header>div{display:flex;align-items:baseline;gap:10px}.bir-cart-drawer__header span{font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:600;color:var(--bir-ui-navy)}.bir-cart-drawer__header small{font-size:12px;color:var(--bir-ui-muted)}.bir-cart-drawer__close{width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:1px solid var(--bir-ui-line)!important;border-radius:50%!important;background:#fff!important;color:var(--bir-ui-navy)!important;box-shadow:none!important}.bir-cart-drawer__close:hover{background:var(--bir-ui-pale)!important;transform:none!important}.bir-cart-drawer__close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.widget_shopping_cart_content{flex:1;overflow-y:auto;padding:22px}.bir-cart-drawer .woocommerce-mini-cart{list-style:none;margin:0;padding:0}.bir-cart-drawer .woocommerce-mini-cart-item{position:relative;min-height:92px;padding:0 30px 18px 90px!important;margin-bottom:18px;border-bottom:1px solid var(--bir-ui-line);font-size:14px}.bir-cart-drawer .woocommerce-mini-cart-item img{position:absolute;left:0;top:0;width:72px!important;height:72px!important;object-fit:cover;border-radius:12px;margin:0!important;float:none!important}.bir-cart-drawer .remove_from_cart_button{position:absolute!important;right:0;top:0;width:28px;height:28px;display:grid!important;place-items:center;border-radius:8px!important;color:var(--bir-ui-orange)!important;background:#f5ede3!important}.bir-cart-drawer .quantity{display:block;margin-top:8px;color:var(--bir-ui-muted)}.bir-cart-drawer .woocommerce-mini-cart__buttons{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;
 width:100%!important;margin:18px 0 0!important;padding:0!important;
}
/* Cart drawer actions are independent of body.woocommerce / WooCommerce-page CSS. */
.bir-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward{
 display:flex!important;align-items:center!important;justify-content:center!important;
 float:none!important;position:relative!important;box-sizing:border-box!important;
 width:100%!important;min-height:52px!important;margin:0!important;padding:13px 18px!important;
 border:1px solid #1b583a!important;border-radius:12px!important;
 background:#fff!important;color:#1b583a!important;
 font-family:inherit!important;font-size:14px!important;font-weight:800!important;line-height:1.45!important;
 text-align:center!important;text-decoration:none!important;white-space:normal!important;
 opacity:1!important;visibility:visible!important;box-shadow:none!important;
 transition:background-color .18s ease,border-color .18s ease,color .18s ease!important;
}
.bir-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout):hover,
.bir-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout):focus-visible{
 background:#eef5ee!important;border-color:#174c32!important;color:#174c32!important;
}
.bir-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward.checkout{
 background:#1b583a!important;color:#fff!important;border-color:#1b583a!important;
}
.bir-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward.checkout:hover,
.bir-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward.checkout:focus-visible{
 background:#143e2b!important;border-color:#143e2b!important;color:#fff!important;
}
.bir-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward:focus-visible{
 outline:3px solid #a3c9aa!important;outline-offset:2px!important;
}
@media(max-width:480px){.bir-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward{min-height:50px!important}}
@media(prefers-reduced-motion:reduce){.bir-cart-drawer .woocommerce-mini-cart__buttons a.wc-forward{transition:none!important}}.bir-cart-drawer .woocommerce-mini-cart__empty-message{text-align:center;color:var(--bir-ui-muted);padding:70px 15px}.bir-cart-open{overflow:hidden}

/* Mini-cart quantity controls and complete totals */
.widget_shopping_cart_content{position:relative}.widget_shopping_cart_content.is-updating:after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.74);cursor:wait;z-index:20}.bir-mini-quantity{display:inline-grid;grid-template-columns:32px 38px 32px;align-items:center;margin-top:10px;border:1px solid var(--bir-ui-line);border-radius:10px;overflow:hidden;background:#fff}.bir-mini-quantity__button{width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:0!important;border-radius:0!important;background:#f6f7f2!important;color:var(--bir-ui-navy)!important;font-size:18px!important;line-height:1!important;box-shadow:none!important}.bir-mini-quantity__button:hover{background:#edf2ea!important;transform:none!important;box-shadow:none!important}.bir-mini-quantity__input{width:38px!important;height:32px!important;min-height:32px!important;padding:0!important;margin:0!important;border:0!important;border-inline:1px solid var(--bir-ui-line)!important;border-radius:0!important;background:#fff!important;text-align:center;font-size:13px;font-weight:800;color:var(--bir-ui-navy);appearance:textfield}.bir-mini-quantity__input::-webkit-outer-spin-button,.bir-mini-quantity__input::-webkit-inner-spin-button{appearance:none;margin:0}.bir-mini-totals{padding:13px 0 5px;border-top:1px solid var(--bir-ui-line);border-bottom:1px solid var(--bir-ui-line)}.bir-mini-totals__row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:6px 0;color:var(--bir-ui-muted);font-size:14px}.bir-mini-totals__row strong{color:var(--bir-ui-navy);font-weight:800}.bir-mini-totals__row--total{margin-top:5px;padding-top:11px;border-top:1px solid var(--bir-ui-line);font-size:17px;color:var(--bir-ui-navy)}.bir-cart-drawer .woocommerce-mini-cart__total{display:none!important}
.woocommerce form .form-row .country_to_state--single{border:none!important}

/* Single-product direct checkout button. Behavior remains unchanged. */
.single-product form.cart .bir-buy-now-button{background:var(--bir-ui-orange)!important;color:#fff!important;border-color:var(--bir-ui-orange)!important;border-radius:12px!important;min-height:50px;padding-inline:25px!important}.single-product form.cart .bir-buy-now-button:hover{background:#6f4724!important;border-color:#6f4724!important}.single-product form.cart .single_add_to_cart_button,.single-product form.cart .bir-buy-now-button{flex:1 1 180px}.single-product form.cart{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}.single-product form.cart .quantity{flex:0 0 auto}

a.added_to_cart.wc-forward,.woocommerce-message a.wc-forward[href*="cart"]{display:none!important}.bir-cart-drawer .woocommerce-mini-cart-item:last-child{border-bottom:none}

@media(max-width:600px){.single-product form.cart .quantity{width:17%}.single-product form.cart .single_add_to_cart_button,.single-product form.cart .bir-buy-now-button{flex:auto;width:75%}}
@media(max-width:480px){.widget_shopping_cart_content{padding:18px}}
@media(prefers-reduced-motion:reduce){.bir-cart-overlay,.bir-cart-drawer{transition:none}}


/* ---------- WhatsApp contact actions ---------- */
.bir-whatsapp-product-button{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;flex:1 1 150px;min-height:50px!important;padding:0 20px!important;border:1px solid #1da851!important;border-radius:12px!important;background:#25d366!important;color:#fff!important;font-weight:800!important;text-decoration:none!important;box-shadow:none!important;white-space:nowrap}
.bir-whatsapp-product-button:hover,.bir-whatsapp-product-button:focus{background:#1faf55!important;border-color:#1faf55!important;color:#fff!important;transform:none!important}.bir-whatsapp-button__icon{width:21px;height:21px;display:inline-flex;flex:0 0 21px}.bir-whatsapp-button__icon svg{width:100%;height:100%;display:block}
.single-product form.cart .single_add_to_cart_button,.single-product form.cart .bir-buy-now-button,.single-product form.cart .bir-whatsapp-product-button{flex:1 1 150px}

.bir-whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:9990;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#25d366;color:#fff!important;text-decoration:none!important;box-shadow:0 12px 28px rgba(18,61,41,.24),0 3px 10px rgba(0,0,0,.12);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.bir-whatsapp-float:hover,.bir-whatsapp-float:focus{background:#1faf55;color:#fff!important;transform:translateY(-2px);box-shadow:0 16px 34px rgba(18,61,41,.28),0 4px 12px rgba(0,0,0,.14)}.bir-whatsapp-float svg{width:31px;height:31px;display:block}
body.admin-bar .bir-whatsapp-float{bottom:24px}

@media(max-width:600px){.single-product form.cart .bir-buy-now-button,.single-product form.cart .bir-whatsapp-product-button{flex:1 1 calc(50% - 5px);width:auto}.bir-whatsapp-float{right:16px;bottom:16px;width:54px;height:54px}.bir-whatsapp-float svg{width:29px;height:29px}}
@media(prefers-reduced-motion:reduce){.bir-whatsapp-float{transition:none}}


/* =========================================================
   1.4.2 — native WooCommerce gallery carousel
   No duplicate image DOM: the server-rendered first image is the LCP element.
   Desktop native gallery/thumbnails remain unchanged.
   ========================================================= */

/* Controls do not exist on desktop unless a viewport crossed from tablet. */
body.single-product .kanwal-native-gallery-controls,
body.single-product .kanwal-native-gallery-arrow{
  display:none;
}

@media (max-width:1180px){
  body.single-product .kanwal-gallery-sticky{
    position:static!important;
    top:auto!important;
  }

  /* Keep the real WooCommerce gallery visible in the initial HTML. */
  body.single-product .kanwal-gallery-column .woocommerce-product-gallery{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    overflow:visible!important;
  }

  /* FlexSlider may insert this viewport. Neutralize it; the real wrapper
     itself becomes the scroll-snap viewport. */
  body.single-product .kanwal-gallery-column .woocommerce-product-gallery .flex-viewport{
    overflow:visible!important;
    height:auto!important;
    max-height:none!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__wrapper{
    display:flex!important;
    flex-flow:row nowrap!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    transform:none!important;
    transition:none!important;
    scroll-snap-type:x mandatory!important;
    scroll-behavior:smooth!important;
    scrollbar-width:none!important;
    touch-action:pan-y pinch-zoom!important;
    -webkit-overflow-scrolling:touch;
    border-radius:22px!important;
    background:var(--kanwal-cream)!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__wrapper::-webkit-scrollbar{
    display:none!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__image{
    display:block!important;
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    clear:none!important;
    scroll-snap-align:start!important;
    scroll-snap-stop:always!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__image > a{
    display:block!important;
    width:100%!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__image img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    margin:0!important;
    aspect-ratio:4/5!important;
    object-fit:cover!important;
    border-radius:22px!important;
    background:var(--kanwal-cream)!important;
  }

  /* The mobile/tablet carousel uses dots/counter instead of thumbnails. */
  body.single-product .kanwal-gallery-column ol.flex-control-thumbs{
    display:none!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__trigger{
    display:none!important;
  }

  body.single-product .kanwal-gallery-column .onsale{
    z-index:7!important;
  }

  body.single-product .woocommerce-product-gallery.kanwal-native-carousel .kanwal-native-gallery-arrow{
    position:absolute!important;
    top:calc(50% - 25px)!important;
    z-index:8!important;
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0!important;
    border:1px solid rgba(31,93,61,.14)!important;
    border-radius:50%!important;
    background:rgba(255,255,255,.94)!important;
    color:var(--kanwal-green-dark)!important;
    font-family:Arial,sans-serif!important;
    font-size:31px!important;
    font-weight:400!important;
    line-height:1!important;
    box-shadow:0 7px 20px rgba(18,61,41,.12)!important;
    transform:translateY(-50%)!important;
  }

  body.single-product .woocommerce-product-gallery.kanwal-native-carousel .kanwal-native-gallery-arrow:disabled{
    opacity:.28!important;
    cursor:default!important;
  }

  body.single-product .kanwal-native-gallery-arrow--prev{
    left:12px!important;
  }

  body.single-product .kanwal-native-gallery-arrow--next{
    right:12px!important;
  }

  body.single-product .woocommerce-product-gallery.kanwal-native-carousel .kanwal-native-gallery-controls{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:14px!important;
    margin-top:14px!important;
  }

  body.single-product .kanwal-native-gallery-dots{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
  }

  body.single-product .kanwal-native-gallery-dot{
    width:8px!important;
    min-width:8px!important;
    height:8px!important;
    min-height:8px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:#cbd4cd!important;
    box-shadow:none!important;
  }

  body.single-product .kanwal-native-gallery-dot.is-active{
    width:22px!important;
    min-width:22px!important;
    border-radius:999px!important;
    background:var(--kanwal-green)!important;
  }

  body.single-product .kanwal-native-gallery-counter{
    color:var(--kanwal-muted)!important;
    font-size:11px!important;
    font-weight:750!important;
  }
}

/* Wide touch-tablet landscape can exceed the normal CSS tablet breakpoint. */
@media (hover:none) and (pointer:coarse) and (min-width:1181px) and (max-width:1400px){
  body.single-product .kanwal-gallery-sticky{
    position:static!important;
    top:auto!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery{
    display:block!important;
    position:relative!important;
    width:100%!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery .flex-viewport{
    overflow:visible!important;
    height:auto!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__wrapper{
    display:flex!important;
    flex-flow:row nowrap!important;
    width:100%!important;
    transform:none!important;
    transition:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
    border-radius:22px!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__wrapper::-webkit-scrollbar{
    display:none!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__image{
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    float:none!important;
    scroll-snap-align:start!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__image img{
    width:100%!important;
    height:auto!important;
    aspect-ratio:4/5!important;
    object-fit:cover!important;
  }

  body.single-product .kanwal-gallery-column ol.flex-control-thumbs,
  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__trigger{
    display:none!important;
  }

  body.single-product .woocommerce-product-gallery.kanwal-native-carousel .kanwal-native-gallery-arrow{
    display:grid!important;
  }

  body.single-product .woocommerce-product-gallery.kanwal-native-carousel .kanwal-native-gallery-controls{
    display:flex!important;
  }
}

@media (max-width:560px){
  body.single-product .woocommerce-product-gallery.kanwal-native-carousel .kanwal-native-gallery-arrow{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    font-size:28px!important;
  }
}


/* =========================================================
   1.4.3 — compact/equal real-media cards
   ========================================================= */
body.single-product .kanwal-real-media-grid{
  align-items:stretch!important;
}

body.single-product .kanwal-real-photo,
body.single-product .kanwal-real-video{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
}

body.single-product .kanwal-real-photo picture{
  display:block!important;
  width:100%!important;
  flex:0 0 auto!important;
}

body.single-product .kanwal-real-photo img,
body.single-product .kanwal-real-video video{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  flex:0 0 auto!important;
  background:var(--kanwal-cream)!important;
}

body.single-product .kanwal-real-photo figcaption,
body.single-product .kanwal-real-video>span{
  margin-top:auto!important;
}


/* =========================================================
   1.4.6 — touch drag on top of locked 1.4.3 performance base
   ========================================================= */
@media (max-width:1180px), (hover:none) and (pointer:coarse) and (max-width:1400px){
  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__wrapper{
    touch-action:pan-y pinch-zoom!important;
    cursor:grab;
    user-select:none;
    -webkit-user-select:none;
    overscroll-behavior-x:contain;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__wrapper.is-dragging{
    cursor:grabbing;
    scroll-snap-type:none!important;
    scroll-behavior:auto!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery__wrapper img{
    -webkit-user-drag:none;
    pointer-events:none;
  }
}


/* =========================================================
   1.6.4 — desktop gallery stability hotfix
   WooCommerce/FlexSlider can initialize before a flex:1;width:0 column has a
   stable used width after aggressive performance timing. Give desktop a
   deterministic 2-column grid so the native gallery always has measurable
   width on first paint. Tablet/mobile keep the existing native carousel.
   ========================================================= */
@media (min-width:1181px){
  body.single-product .woocommerce div.product .kanwal-product-top{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:48px!important;
    align-items:start!important;
  }

  body.single-product .kanwal-gallery-column,
  body.single-product .summary.entry-summary{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:none!important;
  }

  body.single-product .kanwal-gallery-column .woocommerce-product-gallery,
  body.single-product .kanwal-gallery-column div.images{
    opacity:1!important;
    visibility:visible!important;
  }
}

/* Phase 3 accessibility — real 28px touch targets, original visible dot styling. */
@media (max-width:1180px), (hover:none) and (pointer:coarse){
  body.single-product .kanwal-native-gallery-dot{
    position:relative!important;
    width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;
    background:transparent!important;border-radius:50%!important;
    display:inline-grid!important;place-items:center!important;
  }
  body.single-product .kanwal-native-gallery-dot::before{
    content:"";display:block;width:8px;height:8px;border-radius:50%;
    background:#cbd4cd;pointer-events:none;
  }
  body.single-product .kanwal-native-gallery-dot.is-active::before{
    width:22px;border-radius:999px;background:var(--kanwal-green);
  }
  body.single-product .kanwal-native-gallery-dots{gap:4px!important;}
  body.single-product .kanwal-native-gallery-dot:focus-visible{outline:2px solid var(--kanwal-green)!important;outline-offset:2px!important;}
}
/* Improve small, secondary text contrast without changing the approved palette. */
body.single-product .woocommerce .woocommerce-breadcrumb{color:#526459!important;}
body.single-product .woocommerce .woocommerce-breadcrumb a{color:#314d3d!important;text-decoration:underline;text-underline-offset:2px;}
body.single-product .kanwal-offer-regular{color:#4f6356!important;opacity:1!important;}

/* =========================================================
   1.6.10 — native desktop FlexSlider navigation repair
   FlexSlider creates .flex-viewport and sets the slide-track width inline.
   Do not cap/clip that moving track at 100%: otherwise gallery image #1
   displays but clicking thumbnail #2+ can expose an empty viewport.
   The viewport, not the moving track, clips the images and rounded corners.
   Tablet/phone scroll-snap rules above retain their approved dimensions.
   ========================================================= */
@media (min-width:1181px) and (hover:hover) and (pointer:fine){
  body.single-product .kanwal-gallery-column .woocommerce-product-gallery .flex-viewport{
    overflow:hidden!important;
    border-radius:24px!important;
  }
  body.single-product .kanwal-gallery-column .woocommerce-product-gallery .flex-viewport > .woocommerce-product-gallery__wrapper{
    max-width:none!important;
    overflow:visible!important;
  }
}
