/* ===========================================================
   Gausuch Farms — Page styles
   style.css ke baad load hota hai. Isme shop, product, cart,
   checkout aur order pages ka saara design hai.
   =========================================================== */

/* ---------- Overflow guard ----------
   `clip` beats `hidden` here: it stops sideways scroll without creating a
   scroll container, so position:sticky (gallery, order summary) keeps working. */
html, body { overflow-x: clip; max-width: 100%; }

/* ---------- Base helpers ---------- */
.page-wrap { padding: 34px 0 70px; }
.narrow { max-width: 820px; }
.btn-ghost {
  background: var(--white); color: var(--forest-deep);
  border: 1.5px solid rgba(38,126,92,.28);
}
.btn-ghost:hover { background: var(--cream-soft); border-color: var(--forest); transform: translateY(-2px); }
.btn-dark { background: var(--forest-deep); color: #fff; }
.btn-dark:hover { background: var(--forest); transform: translateY(-2px); }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }
.btn-block { width: 100%; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--ghee); outline-offset: 2px; border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 13px; color: var(--earth); opacity: .8; margin-bottom: 18px; }
.crumbs a:hover { color: var(--forest); text-decoration: underline; }
.crumbs span[aria-current] { font-weight: 700; color: var(--forest-deep); opacity: 1; }
.crumbs i { font-style: normal; opacity: .45; }

/* ---------- Page head ---------- */
.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 8px; }
.page-head p { color: var(--earth); opacity: .85; max-width: 640px; }

/* ===========================================================
   SHOP / COLLECTION
   =========================================================== */
.collection-hero {
  background: linear-gradient(150deg, var(--forest-deep), var(--forest) 70%);
  color: var(--cream-soft); padding: 44px 0 46px; position: relative; overflow: hidden;
}
.collection-hero::after {
  content: ""; position: absolute; right: -110px; top: -110px; width: 360px; height: 360px;
  background: radial-gradient(circle, var(--meadow), transparent 68%); opacity: .22;
}
.collection-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 48px); margin-bottom: 10px; position: relative; }
.collection-hero p { max-width: 620px; opacity: .88; position: relative; }
.collection-hero .crumbs { color: var(--cream-soft); opacity: .75; }
.collection-hero .crumbs span[aria-current] { color: var(--ghee-light); }
.ch-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 24px; position: relative; }
.ch-stats div { line-height: 1.25; }
.ch-stats b { display: block; font-size: 22px; color: var(--ghee-light); font-weight: 800; }
.ch-stats span { font-size: 12.5px; opacity: .8; }

.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 18px 0 26px; border-bottom: 1px solid rgba(38,126,92,.14); margin-bottom: 30px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 18px; border-radius: 100px; font-size: 13.5px; font-weight: 700;
  border: 1.5px solid rgba(38,126,92,.24); color: var(--forest-deep); background: var(--white);
  transition: .2s ease;
}
.chip:hover { border-color: var(--forest); }
.chip.active { background: var(--forest); border-color: var(--forest); color: #fff; }
.sort-wrap { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--earth); }
.sort-wrap select {
  font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--forest-deep);
  padding: 9px 14px; border-radius: 100px; border: 1.5px solid rgba(38,126,92,.24);
  background: var(--white); cursor: pointer;
}
.result-count { font-size: 13.5px; color: var(--earth); opacity: .8; margin-bottom: 18px; }

.pc-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--meadow); font-weight: 800; }
.pc-sizes { font-size: 12.5px; color: var(--earth); opacity: .78; margin: 8px 0 14px; }
.product-info h3 a:hover { color: var(--forest); }
.badge-off {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: #c0432a; color: #fff; font-size: 11.5px; font-weight: 800;
  padding: 4px 10px; border-radius: 100px;
}
.no-results { text-align: center; padding: 60px 20px; color: var(--earth); }

/* ===========================================================
   PRODUCT DETAIL PAGE
   =========================================================== */
.pdp { padding-top: 26px; }
.pdp-main { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 54px; align-items: start; }

/* --- Gallery --- */
.gallery { position: sticky; top: 96px; display: grid; grid-template-columns: 78px 1fr; gap: 16px; }
.gal-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gal-thumb {
  border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--cream-soft);
  padding: 6px; cursor: pointer; transition: .2s ease;
}
.gal-thumb img { width: 100%; height: 58px; object-fit: contain; }
.gal-thumb:hover { border-color: rgba(38,126,92,.4); }
.gal-thumb.active { border-color: var(--forest); }
.gal-stage {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: radial-gradient(circle at 82% 14%, rgba(122,185,61,.18), transparent 55%),
              linear-gradient(160deg,#f2f9f0,#e2f1d4);
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
}
.gal-stage img {
  max-width: 82%; max-height: 82%; width: auto; object-fit: contain;
  filter: drop-shadow(0 26px 30px rgba(80,50,10,.26));
  transition: transform .35s ease;
}
.gal-stage:hover img { transform: scale(1.08); }
.gal-zoom-hint {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  background: rgba(26,89,64,.9); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 7px 13px; border-radius: 100px; display: flex; align-items: center; gap: 6px; pointer-events: none;
}
.gal-tag {
  position: absolute; left: 14px; top: 14px; z-index: 3;
  background: var(--ghee); color: var(--forest-deep); font-size: 11.5px; font-weight: 800;
  padding: 5px 12px; border-radius: 100px;
}

/* --- Buy box --- */
.buy-box h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.pdp-tagline { color: var(--earth); opacity: .88; font-size: 15px; margin-bottom: 14px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13.5px; }
.pdp-rating .stars { background: #1c7c46; color: #fff; padding: 3px 9px; border-radius: 6px; font-weight: 700; font-size: 12.5px; }
.pdp-rating a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.pdp-rating .sold { color: #c0432a; font-weight: 700; }

.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 4px; }
.pdp-price .now { font-size: 34px; font-weight: 800; color: var(--forest-deep); letter-spacing: -.02em; }
.pdp-price .was { font-size: 17px; color: #a89a80; text-decoration: line-through; }
.pdp-price .off { font-size: 13px; font-weight: 800; color: #c0432a; background: #fbe4dd; padding: 4px 10px; border-radius: 6px; }
.tax-note { font-size: 12.5px; color: var(--earth); opacity: .7; margin-bottom: 18px; }

.offer-card {
  background: linear-gradient(120deg, #fff8e2, #fdf1cf); border: 1px dashed var(--ghee);
  border-radius: 12px; padding: 13px 16px; margin-bottom: 22px; font-size: 13.5px; color: #6b4c00;
}
.offer-card b { color: #4a3400; }

.opt-label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-deep); margin-bottom: 10px; display: block; }
.variant-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 24px; }
.variant-btn {
  text-align: left; padding: 13px 15px; border-radius: 12px; background: var(--white);
  border: 1.8px solid rgba(38,126,92,.22); transition: .2s ease; position: relative; line-height: 1.35;
}
.variant-btn:hover { border-color: var(--forest); }
.variant-btn.active { border-color: var(--forest); background: #f2f9f0; box-shadow: 0 0 0 3px rgba(38,126,92,.12); }
.variant-btn .vb-size { display: block; font-weight: 800; font-size: 14.5px; color: var(--forest-deep); }
.variant-btn .vb-price { display: block; font-weight: 800; font-size: 15px; color: var(--forest); margin-top: 3px; }
.variant-btn .vb-price s { color: #a89a80; font-weight: 500; font-size: 12.5px; margin-left: 5px; }
.variant-btn .vb-per { display: block; font-size: 11.5px; color: var(--earth); opacity: .7; margin-top: 2px; }
.variant-btn.sold-out { opacity: .5; pointer-events: none; }

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1.8px solid rgba(38,126,92,.24); border-radius: 100px; overflow: hidden; }
.qty-stepper button { width: 44px; height: 46px; font-size: 20px; color: var(--forest-deep); font-weight: 700; transition: background .2s; }
.qty-stepper button:hover { background: var(--cream-soft); }
.qty-stepper span { min-width: 42px; text-align: center; font-weight: 800; font-size: 16px; color: var(--forest-deep); }
.in-cart-note { font-size: 12.5px; color: var(--forest); font-weight: 700; }

.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.buy-actions .btn { padding: 16px 18px; font-size: 15px; }

.pincode-box { display: flex; gap: 8px; margin-bottom: 8px; }
.pincode-box input {
  flex: 1; padding: 13px 16px; border-radius: 100px; border: 1.5px solid rgba(38,126,92,.24);
  font-family: inherit; font-size: 14px;
}
.pincode-box button { padding: 13px 22px; border-radius: 100px; background: var(--forest-deep); color: #fff; font-weight: 700; font-size: 14px; }
.pincode-result { font-size: 13px; margin-bottom: 22px; min-height: 20px; }
.pincode-result.ok { color: #1c7c46; font-weight: 700; }
.pincode-result.bad { color: #c0432a; font-weight: 700; }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
.trust-badge {
  text-align: center; padding: 14px 6px; border-radius: 12px; background: var(--cream-soft);
  border: 1px solid rgba(38,126,92,.12); font-size: 11.5px; font-weight: 700; color: var(--forest-deep); line-height: 1.35;
}
.trust-badge .icon { width: 22px; height: 22px; color: var(--forest); margin: 0 auto 6px; display: block; }

/* --- Accordion (details) --- */
.pdp-accordion { border-top: 1px solid rgba(38,126,92,.16); }
.pdp-accordion .faq-item { border-bottom: 1px solid rgba(38,126,92,.16); }
.pdp-accordion .faq-q { padding: 17px 0; font-size: 15px; font-weight: 700; color: var(--forest-deep); }
.pdp-accordion .faq-a { font-size: 14.5px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid rgba(38,126,92,.1); vertical-align: top; }
.spec-table td:first-child { color: var(--earth); opacity: .8; width: 45%; }
.spec-table td:last-child { font-weight: 700; color: var(--forest-deep); }
.spec-table tr:last-child td { border-bottom: none; }

/* --- Uses --- */
.uses-section { background: var(--cream-soft); padding: 62px 0; margin-top: 70px; }
.uses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 28px; }
.use-card {
  background: var(--white); border-radius: 14px; padding: 24px; border: 1px solid rgba(38,126,92,.12);
  box-shadow: 0 14px 34px -24px rgba(30,90,62,.4);
}
.use-card .num {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--forest); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 12px;
}
.use-card p { font-size: 14.5px; color: var(--earth); line-height: 1.6; }

/* --- Comparison --- */
.compare-section { padding: 66px 0; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 28px; font-size: 14.5px; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px -28px rgba(30,90,62,.4); }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid rgba(38,126,92,.12); }
.compare-table thead th { background: var(--forest-deep); color: #fff; font-weight: 700; font-size: 14px; }
.compare-table thead th:nth-child(2) { background: var(--forest); }
.compare-table td:first-child { font-weight: 700; color: var(--forest-deep); background: var(--cream-soft); }
.compare-table td:nth-child(2) { color: #1c7c46; font-weight: 600; }
.compare-table td:nth-child(3) { color: #96725a; }
.compare-table tr:last-child td { border-bottom: none; }

/* --- Reviews --- */
.reviews-section { background: var(--cream-soft); padding: 66px 0; }
.rev-summary { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; margin-bottom: 38px; }
.rev-score { text-align: center; }
.rev-score b { display: block; font-size: 56px; font-weight: 800; color: var(--forest-deep); line-height: 1; }
.rev-score .rs-stars { color: var(--ghee); font-size: 20px; letter-spacing: 3px; margin: 8px 0 4px; }
.rev-score span { font-size: 13px; color: var(--earth); opacity: .8; }
.rev-bars { display: grid; gap: 8px; }
.rev-bar { display: grid; grid-template-columns: 52px 1fr 46px; gap: 12px; align-items: center; font-size: 13px; color: var(--earth); }
.rev-bar .track { height: 8px; background: rgba(38,126,92,.14); border-radius: 100px; overflow: hidden; }
.rev-bar .track span { display: block; height: 100%; background: var(--ghee); border-radius: 100px; }
.rev-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.rev-card { background: var(--white); border-radius: 14px; padding: 22px; border: 1px solid rgba(38,126,92,.12); }
.rev-card .rc-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.rev-card .rc-av { width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.rev-card .rc-name { font-weight: 800; font-size: 14.5px; color: var(--forest-deep); }
.rev-card .rc-meta { font-size: 12px; color: var(--earth); opacity: .72; }
.rev-card .rc-stars { color: var(--ghee); font-size: 14px; letter-spacing: 2px; margin-bottom: 6px; }
.rev-card h4 { font-size: 15px; margin-bottom: 6px; }
.rev-card p { font-size: 14px; color: var(--earth); line-height: 1.65; }
.rc-verified { font-size: 11.5px; color: #1c7c46; font-weight: 700; margin-top: 10px; display: inline-block; }

/* --- Related --- */
.related-section { padding: 66px 0; }

/* --- Sticky mobile buy bar --- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--white); border-top: 1px solid rgba(38,126,92,.16);
  box-shadow: 0 -8px 30px -12px rgba(30,90,62,.3);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 12px;
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-buy.show { transform: translateY(0); }
.sticky-buy img { width: 42px; height: 42px; object-fit: contain; }
.sticky-buy .sb-info { flex: 1; min-width: 0; line-height: 1.25; }
.sticky-buy .sb-name { font-size: 12.5px; font-weight: 700; color: var(--forest-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .sb-price { font-size: 16px; font-weight: 800; color: var(--forest); }
.sticky-buy .btn { padding: 12px 22px; font-size: 14px; }

/* ===========================================================
   CART PAGE
   =========================================================== */
.cart-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 40px; align-items: start; }
.cart-lines { border: 1px solid rgba(38,126,92,.14); border-radius: var(--radius); overflow: hidden; }
.cart-line {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 22px;
  border-bottom: 1px solid rgba(38,126,92,.12); align-items: center;
}
.cart-line:last-child { border-bottom: none; }
.cl-thumb { border-radius: 12px; background: var(--cream-soft); padding: 8px; display: grid; place-items: center; }
.cl-thumb img { max-height: 78px; width: auto; }
.cl-name { font-size: 16.5px; font-weight: 800; color: var(--forest-deep); }
.cl-name:hover { color: var(--forest); }
.cl-variant { font-size: 13px; color: var(--earth); opacity: .78; margin: 3px 0 10px; }
.cl-unit { font-size: 13.5px; color: var(--earth); }
.cl-unit s { color: #a89a80; margin-left: 6px; }
.cl-right { text-align: right; display: grid; gap: 10px; justify-items: end; }
.cl-total { font-size: 18px; font-weight: 800; color: var(--forest-deep); }
.cl-remove { font-size: 12.5px; color: #c0432a; font-weight: 700; }
.cl-remove:hover { text-decoration: underline; }

.summary-card {
  border: 1px solid rgba(38,126,92,.16); border-radius: var(--radius); padding: 26px;
  background: var(--white); box-shadow: 0 18px 44px -28px rgba(30,90,62,.4); position: sticky; top: 96px;
}
.summary-card h3 { font-size: 19px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14.5px; color: var(--earth); }
.sum-row b { color: var(--forest-deep); font-weight: 700; }
.sum-row.free b { color: #1c7c46; }
.sum-row.discount b { color: #1c7c46; }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 12px; padding-top: 16px; border-top: 2px solid rgba(38,126,92,.16);
  font-size: 17px; font-weight: 800; color: var(--forest-deep);
}
.sum-total b { font-size: 25px; }
.saved-pill {
  background: #e6f5ea; color: #1c7c46; font-size: 13px; font-weight: 700;
  padding: 10px 14px; border-radius: 10px; margin: 14px 0 4px; text-align: center;
}
.coupon-row { display: flex; gap: 8px; margin: 18px 0 6px; }
.coupon-row input {
  flex: 1; padding: 12px 15px; border-radius: 10px; border: 1.5px solid rgba(38,126,92,.24);
  font-family: inherit; font-size: 14px; text-transform: uppercase;
}
.coupon-row button { padding: 12px 20px; border-radius: 10px; background: var(--forest-deep); color: #fff; font-weight: 700; font-size: 14px; }
.coupon-msg { font-size: 12.5px; min-height: 18px; margin-bottom: 8px; }
.coupon-msg.ok { color: #1c7c46; font-weight: 700; }
.coupon-msg.bad { color: #c0432a; font-weight: 700; }
.cart-empty-page { text-align: center; padding: 70px 20px; }
.cart-empty-page svg { color: rgba(38,126,92,.35); margin: 0 auto 20px; display: block; }
.cart-empty-page h2 { font-size: 25px; margin-bottom: 10px; }
.cart-empty-page p { color: var(--earth); opacity: .8; margin-bottom: 24px; }

/* ===========================================================
   CHECKOUT
   =========================================================== */
.checkout-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 44px; align-items: start; }
.steps-bar { display: flex; gap: 6px; margin-bottom: 30px; }
.step-pill {
  flex: 1; text-align: center; padding: 11px 8px; border-radius: 10px; font-size: 12.5px; font-weight: 800;
  background: var(--cream-soft); color: var(--earth); border: 1.5px solid transparent; letter-spacing: .02em;
}
.step-pill.active { background: var(--forest); color: #fff; }
.step-pill.done { background: #e6f5ea; color: #1c7c46; border-color: rgba(28,124,70,.3); }
.step-pill .sp-num { display: inline-block; margin-right: 5px; opacity: .8; }

.co-panel { display: none; }
.co-panel.active { display: block; animation: coIn .28s ease; }
@keyframes coIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.co-panel h2 { font-size: 21px; margin-bottom: 6px; }
.co-panel .co-sub { font-size: 14px; color: var(--earth); opacity: .82; margin-bottom: 22px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--forest-deep); }
.field input, .field textarea, .field select {
  padding: 14px 16px; border-radius: 11px; border: 1.5px solid rgba(38,126,92,.24);
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--white); transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(38,126,92,.12); }
.field.err input, .field.err textarea, .field.err select { border-color: #c0432a; background: #fdf6f4; }
.field .err-msg { font-size: 12px; color: #c0432a; font-weight: 600; display: none; }
.field.err .err-msg { display: block; }
.field .hint { font-size: 12px; color: var(--earth); opacity: .7; }

.pay-options { display: grid; gap: 12px; margin-bottom: 8px; }
.pay-opt {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; text-align: left;
  padding: 18px 20px; border-radius: 14px; border: 1.8px solid rgba(38,126,92,.22); background: var(--white); transition: .2s ease;
}
.pay-opt:hover { border-color: var(--forest); }
.pay-opt.active { border-color: var(--forest); background: #f2f9f0; box-shadow: 0 0 0 3px rgba(38,126,92,.12); }
.pay-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(38,126,92,.4); position: relative; }
.pay-opt.active .pay-radio { border-color: var(--forest); }
.pay-opt.active .pay-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--forest); }
.pay-opt .po-title { font-weight: 800; font-size: 15.5px; color: var(--forest-deep); display: block; }
.pay-opt .po-sub { font-size: 13px; color: var(--earth); opacity: .82; display: block; margin-top: 3px; }
.pay-opt .po-amt { font-weight: 800; font-size: 16px; color: var(--forest); white-space: nowrap; }
.pay-opt .po-tag { display: inline-block; background: #e6f5ea; color: #1c7c46; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 100px; margin-left: 6px; }

.co-nav { display: flex; gap: 12px; margin-top: 26px; }
.co-nav .btn { flex: 1; padding: 16px; }
.co-review { background: var(--cream-soft); border-radius: 14px; padding: 20px 22px; margin-bottom: 22px; font-size: 14px; line-height: 1.7; }
.co-review h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; color: var(--forest); }
.co-review .edit { float: right; font-size: 12.5px; color: var(--forest); font-weight: 700; text-decoration: underline; }
.secure-note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 12.5px; color: var(--earth); opacity: .78; margin-top: 16px; }

.mini-lines { border-top: 1px solid rgba(38,126,92,.12); margin-top: 4px; }
.mini-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(38,126,92,.1); }
.mini-line img { width: 54px; height: 54px; object-fit: contain; background: var(--cream-soft); border-radius: 9px; padding: 5px; }
.mini-line .ml-name { font-size: 13.5px; font-weight: 700; color: var(--forest-deep); line-height: 1.3; }
.mini-line .ml-var { font-size: 12px; color: var(--earth); opacity: .75; }
.mini-line .ml-amt { font-size: 14px; font-weight: 800; color: var(--forest-deep); }

/* ===========================================================
   ORDER CONFIRMED
   =========================================================== */
.confirm-hero { text-align: center; padding: 46px 0 30px; }
.confirm-tick {
  width: 84px; height: 84px; border-radius: 50%; background: #e6f5ea; color: #1c7c46;
  display: grid; place-items: center; margin: 0 auto 20px; font-size: 42px; font-weight: 800;
  animation: pop .5s cubic-bezier(.2,1.4,.4,1);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.confirm-hero h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.confirm-hero p { color: var(--earth); opacity: .85; max-width: 520px; margin: 0 auto; }
.order-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 30px 0; }
.om-card { background: var(--cream-soft); border-radius: 12px; padding: 18px; border: 1px solid rgba(38,126,92,.12); }
.om-card span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--earth); opacity: .75; margin-bottom: 5px; }
.om-card b { font-size: 15px; color: var(--forest-deep); word-break: break-word; }
.confirm-panel { border: 1px solid rgba(38,126,92,.16); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.confirm-panel h3 { font-size: 17px; margin-bottom: 16px; }
.confirm-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.confirm-actions .btn { flex: 1; min-width: 200px; }
.track-steps { display: grid; gap: 0; margin-top: 6px; }
.track-step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding-bottom: 22px; position: relative; }
.track-step:last-child { padding-bottom: 0; }
.track-step::before { content: ""; position: absolute; left: 14px; top: 26px; bottom: 0; width: 2px; background: rgba(38,126,92,.18); }
.track-step:last-child::before { display: none; }
.ts-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--cream-soft); border: 2px solid rgba(38,126,92,.25); display: grid; place-items: center; font-size: 13px; z-index: 1; }
.track-step.done .ts-dot { background: var(--forest); border-color: var(--forest); color: #fff; }
.ts-title { font-weight: 800; font-size: 14.5px; color: var(--forest-deep); }
.ts-sub { font-size: 13px; color: var(--earth); opacity: .78; }

/* ===========================================================
   SHARED CHROME UPGRADES
   =========================================================== */
.main-nav a.active { color: var(--forest); font-weight: 800; }
.nav-icon-btn .badge.has-items { background: #c0432a; color: #fff; }

.search-results { max-width: 640px; margin: 14px auto 0; display: grid; gap: 8px; }
.sr-item { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 10px 14px; transition: .18s; }
.sr-item:hover { transform: translateX(4px); }
.sr-item img { width: 52px; height: 52px; object-fit: contain; background: var(--cream-soft); border-radius: 8px; padding: 4px; }
.sr-item b { display: block; font-size: 14.5px; color: var(--forest-deep); }
.sr-item em { font-style: normal; font-size: 12.5px; color: var(--earth); opacity: .78; }
.sr-empty { text-align: center; color: #fff; opacity: .85; font-size: 14px; }

.ship-meter { padding: 14px 22px; background: var(--cream-soft); border-bottom: 1px solid rgba(38,126,92,.12); }
.ship-meter p { font-size: 12.5px; color: var(--forest-deep); margin-bottom: 8px; }
.ship-bar { height: 6px; background: rgba(38,126,92,.16); border-radius: 100px; overflow: hidden; }
.ship-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--meadow), var(--ghee)); border-radius: 100px; transition: width .4s ease; }

.cart-drawer-head .cd-count { font-size: 14px; font-weight: 600; opacity: .7; }
.cart-item { display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; align-items: center; }
.ci-thumb { border-radius: 10px; background: var(--cream-soft); padding: 6px; display: grid; place-items: center; }
.ci-thumb img { max-height: 52px; width: auto; }
.ci-name { font-size: 14px; font-weight: 800; color: var(--forest-deep); display: block; }
.ci-variant { font-size: 12px; color: var(--earth); opacity: .75; }
.ci-price s { color: #a89a80; font-weight: 400; margin-left: 5px; }
.ci-right { display: grid; gap: 7px; justify-items: end; }
.cart-item-remove { font-size: 11.5px; color: #c0432a; font-weight: 700; }
.cd-note { font-size: 12px; color: var(--earth); opacity: .72; text-align: center; margin: 4px 0 10px; }
.cd-viewcart { display: block; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--forest); margin-top: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cart-empty { text-align: center; padding: 46px 20px; }
.cart-empty svg { color: rgba(38,126,92,.3); margin: 0 auto 16px; display: block; }
.cart-empty h4 { font-size: 18px; margin-bottom: 8px; }
.cart-empty p { font-size: 14px; color: var(--earth); opacity: .8; margin-bottom: 20px; }

.cart-toast .ct-tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--meadow); color: #fff; font-size: 11px; margin-right: 7px; }

.pay-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pay-strip span { font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 5px; background: rgba(255,255,255,.1); color: var(--cream-soft); }

/* ---------- Zoom lightbox ---------- */
.zoom-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(12,32,22,.94);
  display: none; align-items: center; justify-content: center; padding: 40px 20px;
}
.zoom-overlay.open { display: flex; }
.zoom-stage { max-width: 92vw; max-height: 84vh; display: grid; place-items: center; overflow: hidden; }
.zoom-stage img { max-width: 92vw; max-height: 84vh; cursor: grab; user-select: none; -webkit-user-drag: none; transition: transform .12s linear; }
.zoom-close {
  position: absolute; top: 22px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 20px; z-index: 2;
}
.zoom-close:hover { background: rgba(255,255,255,.26); }
.zoom-hint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.65); font-size: 12.5px; }

/* ---------- Policy / content pages ---------- */
.doc h2 { font-size: 22px; margin: 34px 0 12px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 15px; color: var(--earth); line-height: 1.75; margin-bottom: 12px; }
.doc ul { padding-left: 20px; margin-bottom: 16px; }
.doc li { list-style: disc; }
.doc .updated { font-size: 13px; color: var(--earth); opacity: .7; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 44px; align-items: start; }
.contact-card { background: var(--cream-soft); border-radius: 14px; padding: 22px; margin-bottom: 14px; display: grid; grid-template-columns: 44px 1fr; gap: 15px; align-items: start; }
.contact-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--forest); color: #fff; display: grid; place-items: center; }
.contact-card .icon { width: 20px; height: 20px; }
.contact-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--earth); line-height: 1.6; }
.contact-card a:hover { color: var(--forest); text-decoration: underline; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .pdp-main { grid-template-columns: 1fr; gap: 34px; }
  .gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 28px; }
  .summary-card { position: static; }
}
@media (max-width: 760px) {
  .page-wrap { padding: 22px 0 60px; }
  .gallery { grid-template-columns: 1fr; }
  .gal-thumbs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .gal-thumb { flex: 0 0 68px; }
  .gal-thumb img { height: 50px; }
  .gal-stage:hover img { transform: none; }
  .buy-actions { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .rev-summary { grid-template-columns: 1fr; gap: 24px; }
  .field-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 74px 1fr; gap: 14px; }
  .cl-right { grid-column: 1 / -1; justify-items: stretch; grid-template-columns: 1fr auto; align-items: center; }
  .cl-right .qty-stepper { justify-self: start; }
  .cl-remove { text-align: right; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .filter-chips { overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; }
  .chip { white-space: nowrap; }
  .sticky-buy { display: flex; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 11px 12px; }
  .steps-bar { gap: 4px; }
  .step-pill { font-size: 11px; padding: 9px 4px; }
  .step-pill .sp-num { display: block; margin: 0 0 2px; }
  .confirm-actions .btn { min-width: 100%; }
  .float-wa { bottom: 92px; }
}
@media (max-width: 480px) {
  .pdp-price .now { font-size: 27px; }
  .variant-grid { grid-template-columns: 1fr; }
  .om-card { padding: 14px; }
}
