/* ================================================================
   SHARED — used by every page (index, blog, policy, account, etc.)
================================================================ */

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

:root {
  --gold:   #E8890C;
  --gold2:  #C97A0A;
  --green:  #2D6A1F;
  --green2: #3A7A28;
  --cream:  #FDF8EF;
  --cream2: #F5EDD8;
  --brown:  #3D2B1F;
  --text:   #1A1208;
  --white:  #ffffff;
  --shadow: 0 4px 24px rgba(61,43,31,.12);
  --border: #ede8e0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove blue tap flash on mobile browsers */
a, button, [role="button"], input[type="button"], input[type="submit"] {
  -webkit-tap-highlight-color: transparent;
}

/* ── Cross-browser scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(61,43,31,.22); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(61,43,31,.45); }

/* Autofill override — prevents Chrome/Edge yellow/blue input backgrounds */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  transition: background-color 5000s ease-in-out 0s;
}

/* ── Skip link (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--green);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Utilities ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex-shrink: 0;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  color: var(--brown);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 1rem;
  color: #6b5741;
  line-height: 1.7;
  max-width: 560px;
  font-weight: 300;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(232,137,12,.4);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,137,12,.5); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.6);
  transition: border-color .2s, background .2s, transform .15s;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.12); transform: translateY(-2px); }

.btn-outline-dark {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--green);
  padding: 13px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background .2s, color .2s;
}
.btn-outline-dark:hover { background: var(--green); color: var(--white); }

/* ── Liquid Glass ── */
.liquid-glass {
  background: rgba(255,255,255,0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 80px;
  background: transparent;
  transition: background .4s, box-shadow .4s;
}
.navbar.scrolled {
  background: rgba(253,248,239,.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(61,43,31,.1);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links li { display: flex; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: .03em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }
.navbar.hero-transparent .nav-links a { color: var(--white); }
.navbar.hero-transparent .nav-logo img {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)) drop-shadow(0 0px 12px rgba(255,255,255,0.15));
}
.navbar.scrolled .nav-logo img {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.12));
}
.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--gold2) !important; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--brown); border-radius: 2px; transition: .3s; }

/* ── Products dropdown ── */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: .9rem; font-weight: 500;
  color: var(--brown); letter-spacing: .03em;
  display: flex; align-items: center; gap: 4px;
  padding: 0; transition: color .2s; white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active { color: var(--green); }
.navbar.hero-transparent .nav-dropdown-trigger { color: var(--white); }
.navbar.hero-transparent .nav-dropdown-trigger:hover { color: rgba(255,255,255,.75); }
.navbar.hero-transparent .nav-dropdown-trigger.active { color: var(--white); }

.nav-dropdown-trigger .dd-chevron { transition: transform .2s; flex-shrink: 0; }
.nav-dropdown.open .nav-dropdown-trigger .dd-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff; border-radius: 14px; list-style: none;
  padding: 8px; min-width: 220px;
  box-shadow: 0 8px 40px rgba(61,43,31,.16), 0 0 0 1px rgba(61,43,31,.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 1001;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Small notch / bridge so mouse can travel from trigger to menu */
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  font-size: .88rem; font-weight: 500; color: var(--brown) !important;
  text-decoration: none; transition: background .15s, color .15s; white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: #f5f0e8; color: var(--green) !important; }
.nav-dropdown-menu .dd-icon { font-size: 1rem; flex-shrink: 0; }

/* Mobile: inline expand inside the mobile nav panel */
@media (max-width: 900px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger {
    width: 100%; justify-content: space-between;
    padding: 13px 4px; font-size: .95rem;
    border-bottom: 1px solid rgba(61,43,31,.07);
  }
  .nav-dropdown.open .nav-dropdown-trigger { border-bottom-color: transparent; }
  .nav-dropdown-menu {
    position: static; transform: none !important;
    opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; background: rgba(45,106,31,.05);
    border-radius: 10px; padding: 4px; margin-bottom: 4px;
    min-width: 0; display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a {
    padding: 10px 14px; font-size: .9rem; color: var(--brown) !important;
    border-bottom: none;
  }
}

/* Cart button (navbar) */
.nav-cart-btn {
  position: relative;
  background: none;
  border: 2px solid var(--green);
  border-radius: 50px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
  font-size: .85rem;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background .2s, color .2s;
}
.nav-cart-btn:hover { background: var(--green); color: var(--white); }
.navbar.hero-transparent .nav-cart-btn { border-color: rgba(255,255,255,.7); color: var(--white); }
.navbar.hero-transparent .nav-cart-btn:hover { background: rgba(255,255,255,.2); }
.navbar.hero-transparent .nav-cta {
  background: rgba(255,255,255,.01);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.1);
  color: #fff !important;
  position: relative; overflow: hidden;
}
.navbar.hero-transparent .nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit; padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.navbar.hero-transparent .nav-cta:hover { background: rgba(255,255,255,.12) !important; transform: translateY(-1px); }
.cart-badge {
  position: absolute;
  top: -7px; right: -7px;
  background: var(--gold);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-badge.visible { display: flex; }

/* ── Footer ── */
footer {
  background: var(--brown);
  color: rgba(255,255,255,.75);
  padding: 60px 5% 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; margin: 16px 0 24px; max-width: 300px; }
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
}
.footer-brand-name span { color: var(--gold); }
.social-links { display: flex; gap: 12px; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.social-icon:hover { background: var(--gold); color: var(--white); }
footer h4 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a {
  text-decoration: none;
  color: rgba(255,255,255,.65);
  font-size: .87rem;
  transition: color .2s;
}
footer ul a:hover { color: var(--gold); }
.footer-contact p { font-size: .87rem; margin-bottom: 8px; display: flex; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ── WhatsApp float ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9998;
  background: #25D366; color: #fff;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s, bottom .35s cubic-bezier(.34,1.2,.64,1);
  text-decoration: none;
}
.sticky-atc.visible ~ .wa-float { bottom: 85px; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float-tooltip {
  position: absolute; right: 70px; background: #1a1a1a;
  color: #fff; font-size: .75rem; font-weight: 500;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-float-tooltip::after {
  content: '';
  position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-right: none; border-left-color: #1a1a1a;
}
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* ── Responsive ── */

/* Tablet + mobile: collapse nav to hamburger */
@media (max-width: 900px) {
  .navbar { padding: 0 4%; height: 70px; }
  .nav-logo img { height: 58px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(253,248,239,.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 8px 5% 20px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }

  /* Regular links get a subtle divider */
  .nav-links a:not(.nav-cta) {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(61,43,31,.07);
    font-size: .95rem;
    color: var(--brown);
  }
  /* Auth area row — :has() native + .has-auth JS fallback for Firefox < 121 */
  .nav-links li:has(#authNavArea),
  .nav-links li.has-auth {
    padding: 10px 4px;
    border-bottom: 1px solid rgba(61,43,31,.07);
  }
  /* Shop Now — full-width pill at bottom of menu */
  .nav-cta {
    display: block !important;
    text-align: center;
    margin-top: 14px;
    padding: 13px 24px !important;
    border-radius: 50px !important;
    width: 100%;
    border-bottom: none !important;
  }

  .hamburger { display: flex; }
  .hamburger span { background: var(--brown); }
  .navbar.hero-transparent .hamburger span { background: #fff; }

  /* Footer 2-col on tablet */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Mobile only */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Shrink WA float on mobile */
  .wa-float { width: 50px; height: 50px; right: 16px; bottom: 20px; }
  .wa-float svg { width: 24px; height: 24px; }
  .sticky-atc.visible ~ .wa-float { bottom: 78px; }
  .wa-float-tooltip { display: none; }
}

/* ================================================================
   CART DRAWER & CHECKOUT MODAL (moved from cart.js)
================================================================ */
.cart-overlay {
  position:fixed;inset:0;background:rgba(20,10,5,.5);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  z-index:3000;opacity:0;pointer-events:none;transition:opacity .3s;
}
.cart-overlay.open { opacity:1;pointer-events:auto; }
.cart-drawer {
  position:fixed;top:0;right:0;bottom:0;width:100%;max-width:400px;
  background:#fff;z-index:3001;transform:translateX(100%);
  transition:transform .35s cubic-bezier(.4,0,.2,1);
  display:flex;flex-direction:column;overflow:hidden;
}
.cart-drawer.open { transform:none; }
.cart-header {
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 20px;border-bottom:1px solid #f0e8d8;flex-shrink:0;
}
.cart-header h2 { font-family:'Playfair Display',serif;font-size:1.2rem;color:#3D2B1F; }
.cart-close {
  background:none;border:none;cursor:pointer;font-size:1.1rem;
  color:#a08060;padding:4px;transition:color .2s;
}
.cart-close:hover { color:#3D2B1F; }
.cart-items { flex:1;overflow-y:auto;padding:12px 0; }
.cart-empty {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  height:100%;gap:12px;color:#a08060;font-size:.9rem;padding:40px;
}
.cart-item {
  display:flex;align-items:flex-start;gap:12px;
  padding:12px 20px;border-bottom:1px solid #f8f2e8;
}
.cart-item img { width:68px;height:68px;object-fit:cover;border-radius:10px;flex-shrink:0; }
.cart-item-info { flex:1;min-width:0; }
.cart-item-name { font-weight:600;font-size:.88rem;color:#3D2B1F;margin-bottom:2px; }
.cart-item-desc {
  font-size:.75rem;color:#8b7355;margin-bottom:8px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.cart-item-bottom { display:flex;align-items:center;justify-content:space-between; }
.cart-item-price { font-weight:700;font-size:.9rem;color:#2D6A1F; }
.qty-controls { display:flex;align-items:center;gap:6px; }
.qty-btn {
  width:26px;height:26px;border-radius:50%;border:1.5px solid #e8dcc8;
  background:#fff;cursor:pointer;font-size:.95rem;color:#3D2B1F;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s,border-color .15s;
}
.qty-btn:hover { background:#2D6A1F;color:#fff;border-color:#2D6A1F; }
.qty-num { font-weight:600;font-size:.88rem;min-width:18px;text-align:center; }
.cart-item-remove {
  background:none;border:none;cursor:pointer;color:#c0a090;font-size:.8rem;
  padding:4px;align-self:flex-start;margin-top:-2px;transition:color .15s;
}
.cart-item-remove:hover { color:#c0522b; }
.cart-footer { padding:16px 20px;border-top:1px solid #f0e8d8;flex-shrink:0; }
.free-shipping-bar { margin-bottom:12px; }
.free-shipping-bar p { font-size:.76rem;color:#8b7355;margin-bottom:6px; }
.shipping-track { height:5px;background:#f0e8d8;border-radius:50px;overflow:hidden; }
.shipping-fill { height:100%;background:#2D6A1F;border-radius:50px;transition:width .4s; }
.cart-subtotal,.cart-total {
  display:flex;justify-content:space-between;font-size:.88rem;color:#6b5741;margin-bottom:6px;
}
.cart-total { font-weight:700;font-size:1rem;color:#3D2B1F;margin-bottom:14px; }
.btn-checkout {
  width:100%;padding:14px;border-radius:50px;background:#2D6A1F;color:#fff;
  border:none;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:.95rem;font-weight:600;
  cursor:pointer;transition:background .2s,transform .15s;
  box-shadow:0 4px 18px rgba(45,106,31,.3);
}
.btn-checkout:hover { background:#3A7A28;transform:translateY(-1px); }
.razorpay-note {
  display:flex;align-items:center;justify-content:center;gap:5px;
  font-size:.72rem;color:#a08060;margin-top:10px;
}
#checkoutModal {
  position:fixed;inset:0;background:rgba(20,10,5,.65);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  z-index:9500;display:flex;align-items:center;justify-content:center;padding:16px;
  opacity:0;pointer-events:none;transition:opacity .3s;
}
#checkoutModal.open { opacity:1;pointer-events:auto; }
.co-card {
  background:#fff;border-radius:24px;width:100%;max-width:520px;
  max-height:92vh;overflow-y:auto;
  box-shadow:0 24px 64px rgba(0,0,0,.22);
  transform:translateY(20px) scale(.97);
  transition:transform .35s cubic-bezier(.175,.885,.32,1.275);
}
#checkoutModal.open .co-card { transform:none; }
.co-card-top {
  background:#2D6A1F;padding:20px 24px 18px;text-align:center;position:relative;
}
.co-card-top img { height:44px;margin-bottom:6px; }
.co-card-top h2 { font-family:'DM Serif Display',serif;font-size:1.15rem;color:#fff;margin:0; }
.co-close {
  position:absolute;top:12px;right:12px;background:rgba(255,255,255,.2);border:none;
  border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;
  color:#fff;cursor:pointer;font-size:.95rem;transition:background .2s;
}
.co-close:hover { background:rgba(255,255,255,.35); }
.co-body { padding:24px; }
.co-tabs { display:flex;background:#f5edd8;border-radius:50px;padding:4px;gap:4px;margin-bottom:20px; }
.co-tab-btn {
  flex:1;padding:9px 8px;border:none;background:none;border-radius:50px;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:.83rem;font-weight:600;color:#a08060;
  cursor:pointer;transition:background .2s,color .2s;
}
.co-tab-btn.active { background:#2D6A1F;color:#fff; }
.co-tab-pane { display:none; }
.co-tab-pane.active { display:block; }
.co-auth-intro { text-align:center;padding:16px 0 8px;color:#6b5741;font-size:.88rem;line-height:1.6;margin-bottom:16px; }
.co-login-btn {
  width:100%;padding:13px;border-radius:50px;background:#2D6A1F;color:#fff;border:none;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:.9rem;font-weight:600;cursor:pointer;
  box-shadow:0 4px 18px rgba(45,106,31,.3);transition:background .2s;margin-bottom:12px;
}
.co-login-btn:hover { background:#3A7A28; }
.co-guest-btn {
  width:100%;padding:13px;border-radius:50px;background:#f5edd8;color:#6b5741;border:none;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s;
}
.co-guest-btn:hover { background:#ede0c4; }
.co-divider { display:flex;align-items:center;gap:12px;margin:16px 0;color:#c0b09a;font-size:.78rem; }
.co-divider::before,.co-divider::after { content:'';flex:1;height:1px;background:#e8dcc8; }
.co-form { display:grid;gap:0; }
.co-row { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.co-field { margin-bottom:14px; }
.co-label {
  display:block;font-size:.72rem;font-weight:600;color:#6b5741;
  text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px;
}
.co-input,.co-select {
  width:100%;padding:11px 14px;border:1.5px solid #e8dcc8;border-radius:10px;
  font-size:.88rem;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;color:#3D2B1F;outline:none;
  background:#fff;transition:border-color .2s;
}
.co-input:focus,.co-select:focus { border-color:#2D6A1F; }
.co-input.error,.co-select.error { border-color:#e05252; }
.co-msg { font-size:.74rem;color:#c0522b;margin-top:3px;display:none; }
.co-msg.show { display:block; }
.co-save-wrap { display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:.82rem;color:#6b5741; }
.co-save-wrap input { accent-color:#2D6A1F; }
.co-summary { background:#fdf8ef;border-radius:12px;padding:14px 16px;margin-bottom:18px; }
.co-summary h3 { font-size:.78rem;font-weight:700;color:#8b7355;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px; }
.co-summary-item {
  display:flex;justify-content:space-between;font-size:.82rem;color:#6b5741;margin-bottom:6px;
}
.co-summary-item:last-child { margin-bottom:0; }
.co-summary-total {
  display:flex;justify-content:space-between;font-weight:700;font-size:.95rem;
  color:#3D2B1F;border-top:1px solid #e8dcc8;padding-top:10px;margin-top:8px;
}
.co-summary-total span:last-child { color:#2D6A1F;font-family:'DM Serif Display',serif; }
.co-pay-btn {
  width:100%;padding:14px;border-radius:50px;background:#2D6A1F;color:#fff;border:none;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:.95rem;font-weight:600;cursor:pointer;
  box-shadow:0 4px 18px rgba(45,106,31,.3);transition:background .2s,transform .15s;
}
.co-pay-btn:hover { background:#3A7A28;transform:translateY(-1px); }
.co-pay-btn:disabled { background:#bbb;cursor:not-allowed;transform:none;box-shadow:none; }
.co-secure {
  text-align:center;font-size:.72rem;color:#a08060;margin-top:10px;
  display:flex;align-items:center;justify-content:center;gap:5px;
}

/* ── Checkout step indicator ── */
.co-steps {
  display:flex;align-items:center;padding:14px 24px 10px;
}
.co-step {
  display:flex;flex-direction:column;align-items:center;gap:4px;
}
.co-step-num {
  width:28px;height:28px;border-radius:50%;border:2px solid #d4c9b4;
  display:flex;align-items:center;justify-content:center;
  font-size:.72rem;font-weight:700;color:#b0a090;background:#fff;
  transition:background .2s,border-color .2s,color .2s;
}
.co-step.active .co-step-num { background:#2D6A1F;border-color:#2D6A1F;color:#fff; }
.co-step.done   .co-step-num { background:#e8f4e8;border-color:#2D6A1F;color:#2D6A1F; }
.co-step-lbl {
  font-size:.63rem;font-weight:600;color:#c0b09a;
  text-transform:uppercase;letter-spacing:.04em;
}
.co-step.active .co-step-lbl { color:#2D6A1F; }
.co-step.done   .co-step-lbl { color:#6b8f6b; }
.co-step-line { flex:1;height:1px;background:#e0d4c0;margin-bottom:14px;transition:background .25s; }

/* ── Payment method selector ── */
.co-pay-methods { display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px; }
.co-pay-method {
  border:2px solid #e8dcc8;border-radius:12px;padding:14px 12px;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;
  transition:border-color .2s,background .2s;background:#fff;position:relative;
}
.co-pay-method:hover { border-color:#8db88d; }
.co-pay-method.selected { border-color:#2D6A1F;background:#f0f9f0; }
.co-pay-method-icon { font-size:1.5rem; }
.co-pay-method-name { font-size:.82rem;font-weight:700;color:#3D2B1F; }
.co-pay-method-sub  { font-size:.7rem;color:#8b7355; }
.co-pay-method-check {
  display:none;position:absolute;top:8px;right:8px;
  width:18px;height:18px;border-radius:50%;background:#2D6A1F;
  align-items:center;justify-content:center;color:#fff;font-size:.65rem;
}
.co-pay-method.selected .co-pay-method-check { display:flex; }

/* ── Back button ── */
.co-back-btn {
  display:inline-flex;align-items:center;gap:6px;border:none;background:none;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:.8rem;font-weight:600;color:#8b7355;cursor:pointer;
  padding:0;margin-bottom:16px;
}
.co-back-btn:hover { color:#3D2B1F; }

/* ── Cart upsell ── */
.cart-upsell {
  margin:12px 0;border-radius:14px;overflow:hidden;
  border:1.5px solid #d4a843;
  background:linear-gradient(135deg,#fffbf0 0%,#fdf3d7 100%);
}
.cart-upsell-inner {
  padding:14px 16px;display:flex;align-items:center;gap:14px;
}
.cart-upsell-text { flex:1;min-width:0; }
.cart-upsell-label {
  font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;
  color:#a07020;margin-bottom:3px;
}
.cart-upsell-title { font-size:.88rem;font-weight:700;color:#3D2B1F;margin-bottom:2px; }
.cart-upsell-sub   { font-size:.75rem;color:#8b6a30; }
.cart-upsell-btn {
  flex-shrink:0;padding:9px 16px;border-radius:50px;border:none;
  background:#E8890C;color:#fff;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:.78rem;font-weight:700;cursor:pointer;
  transition:background .2s,transform .15s;white-space:nowrap;
}
.cart-upsell-btn:hover { background:#c97208;transform:translateY(-1px); }

/* ── Email subscribe popup (shared across all pages) ── */
.ep-overlay {
  position:fixed;inset:0;background:rgba(0,0,0,.55);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:99999;
  display:flex;align-items:center;justify-content:center;
  padding:20px;opacity:0;visibility:hidden;
  transition:opacity .3s,visibility .3s;
}
.ep-overlay.active { opacity:1;visibility:visible; }
.ep-card {
  background:#fff;border-radius:20px;max-width:460px;width:100%;
  overflow:hidden;position:relative;
  transform:translateY(24px) scale(.97);
  transition:transform .35s cubic-bezier(.34,1.56,.64,1);
}
.ep-overlay.active .ep-card { transform:translateY(0) scale(1); }
.ep-close {
  position:absolute;top:14px;right:16px;
  background:rgba(255,255,255,.9);border:none;
  width:32px;height:32px;border-radius:50%;
  font-size:1.2rem;cursor:pointer;color:#333;
  display:flex;align-items:center;justify-content:center;z-index:1;
  transition:background .2s;
}
.ep-close:hover { background:#f0f0f0; }
.ep-banner {
  background:linear-gradient(135deg,#2D6A1F 0%,#3d8a28 50%,#1e4d12 100%);
  padding:36px 32px 28px;text-align:center;color:#fff;
}
.ep-badge {
  display:inline-block;background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.32);
  padding:4px 14px;border-radius:50px;
  font-size:.72rem;font-weight:600;letter-spacing:.08em;
  text-transform:uppercase;color:#d4f0c0;margin-bottom:14px;
}
.ep-banner h2 { font-family:'DM Serif Display',serif;font-size:1.65rem;font-weight:400;line-height:1.25;margin-bottom:8px;color:#fff; }
.ep-banner p { font-size:.88rem;color:rgba(255,255,255,.8);line-height:1.5; }
.ep-body { padding:28px 32px 24px; }
.ep-form { display:flex;gap:8px;margin-bottom:12px; }
.ep-input {
  flex:1;border:1.5px solid #e0e0e0;border-radius:50px;
  padding:12px 18px;font-size:.9rem;outline:none;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;transition:border-color .2s;
}
.ep-input:focus { border-color:var(--green); }
.ep-submit {
  background:var(--green);color:#fff;border:none;
  padding:12px 22px;border-radius:50px;
  font-weight:600;font-size:.88rem;cursor:pointer;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  white-space:nowrap;transition:background .2s;
}
.ep-submit:hover { background:var(--green2); }
.ep-submit:disabled { background:#aaa;cursor:not-allowed; }
.ep-no-thanks { text-align:center;font-size:.78rem;color:#999; }
.ep-no-thanks button {
  background:none;border:none;color:#999;cursor:pointer;
  text-decoration:underline;font-size:.78rem;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;
}
.ep-no-thanks button:hover { color:#555; }
.ep-success { text-align:center;padding:40px 32px;display:none; }
.ep-success .ep-tick {
  width:56px;height:56px;background:#edf7ed;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;font-size:1.5rem;color:var(--green);
}
.ep-success h3 { font-family:'DM Serif Display',serif;color:var(--green);margin-bottom:6px;font-size:1.3rem; }
.ep-success p { font-size:.88rem;color:#666; }

/* ================================================================
   AUTH MODAL & NAV BUTTONS (moved from auth-shared.js)
================================================================ */
.auth-nav-btn {
  display:flex;align-items:center;gap:8px;padding:8px 18px;border-radius:50px;
  font-size:.85rem;font-weight:600;cursor:pointer;border:none;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;transition:background .2s,color .2s,transform .15s;
  text-decoration:none;
}
.auth-signin-btn { background:transparent;border:2px solid #2D6A1F!important;color:#2D6A1F;padding:7px;width:36px;height:36px;justify-content:center; }
.auth-signin-btn:hover { background:#2D6A1F;color:#fff; }
.navbar.hero-transparent .auth-signin-btn { border-color:rgba(255,255,255,.7)!important;color:#fff; }
.navbar.hero-transparent .auth-signin-btn:hover { background:rgba(255,255,255,.2); }
.auth-user-btn { background:#edf7ed;color:#2D6A1F; }
.auth-user-btn:hover { background:#d5eed5; }
.auth-avatar {
  width:28px;height:28px;border-radius:50%;background:#2D6A1F;color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:.75rem;
  font-weight:700;flex-shrink:0;overflow:hidden;
}
.auth-avatar img { width:100%;height:100%;object-fit:cover; }
.auth-name { max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.auth-dropdown-wrap { position:relative; }
.auth-dropdown {
  position:absolute;top:calc(100% + 12px);right:0;
  background:#1e130a;border-radius:16px;
  box-shadow:0 12px 40px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.07);
  min-width:220px;padding:8px;
  opacity:0;pointer-events:none;transform:translateY(-8px);
  transition:opacity .22s,transform .22s;z-index:2000;
}
.auth-dropdown.open { opacity:1;pointer-events:all;transform:none; }
.auth-dd-header { padding:11px 14px 10px;margin-bottom:6px;border-bottom:1px solid rgba(255,255,255,.09); }
.auth-dd-name { font-weight:700;font-size:.9rem;color:#fff; }
.auth-dd-email {
  font-size:.74rem;color:rgba(255,255,255,.5);margin-top:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:196px;
}
.auth-dropdown a,.auth-dropdown button {
  display:flex;align-items:center;gap:10px;padding:9px 14px;border-radius:10px;
  text-decoration:none;color:rgba(255,255,255,.82);font-size:.85rem;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-weight:500;background:none;border:none;
  cursor:pointer;width:100%;transition:background .15s,color .15s;
}
.auth-dropdown a:hover,.auth-dropdown button:hover { background:rgba(255,255,255,.09);color:#fff; }
.auth-dd-signout { color:#f08070!important; }
.auth-dd-signout:hover { background:rgba(220,80,50,.15)!important;color:#ff9980!important; }
#authModal {
  position:fixed;inset:0;background:rgba(20,10,5,.65);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  z-index:9000;display:flex;align-items:center;justify-content:center;padding:16px;
  opacity:0;pointer-events:none;transition:opacity .3s;
}
#authModal.open { opacity:1;pointer-events:auto; }
.auth-card {
  background:#fff;border-radius:24px;width:100%;max-width:440px;
  box-shadow:0 24px 64px rgba(0,0,0,.22);overflow:hidden;
  transform:translateY(20px) scale(.97);transition:transform .35s cubic-bezier(.175,.885,.32,1.275);
  max-height:90vh;overflow-y:auto;
}
#authModal.open .auth-card { transform:none; }
.auth-card-top { background:#2D6A1F;padding:24px 28px 20px;text-align:center;position:relative; }
.auth-card-top img { height:48px;margin-bottom:8px; }
.auth-card-top h2 { font-family:'Playfair Display',serif;font-size:1.25rem;color:#fff;margin-bottom:3px; }
.auth-card-top p { font-size:.8rem;color:rgba(255,255,255,.75); }
.auth-close {
  position:absolute;top:14px;right:14px;background:rgba(255,255,255,.2);border:none;
  border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;
  color:#fff;cursor:pointer;font-size:.95rem;transition:background .2s;
}
.auth-close:hover { background:rgba(255,255,255,.35); }
.auth-body { padding:24px 28px 28px; }
.auth-mode-toggle {
  display:flex;background:#f5edd8;border-radius:50px;padding:4px;margin-bottom:22px;gap:4px;
}
.auth-mode-btn {
  flex:1;padding:9px 8px;border:none;background:none;border-radius:50px;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:.85rem;font-weight:600;color:#a08060;
  cursor:pointer;transition:background .2s,color .2s;
}
.auth-mode-btn.active { background:#2D6A1F;color:#fff; }
.auth-row { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.auth-field { margin-bottom:16px; }
.auth-label { font-size:.76rem;font-weight:600;color:#6b5741;margin-bottom:6px;display:block;letter-spacing:.04em;text-transform:uppercase; }
.auth-input-wrap { position:relative; }
.auth-input {
  width:100%;padding:13px 16px;border:1.5px solid #e8dcc8;border-radius:12px;
  font-size:.92rem;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;color:#3D2B1F;outline:none;
  background:#fff;transition:border-color .2s,box-shadow .2s;
}
.auth-input:focus { border-color:#2D6A1F;box-shadow:0 0 0 3px rgba(45,106,31,.1); }
.auth-input.error { border-color:#e05252; }
.auth-input.success { border-color:#2D6A1F; }
.auth-input-icon {
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  cursor:pointer;color:#a08060;font-size:.95rem;user-select:none;
}
.auth-input-status { position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:.85rem;font-weight:600; }
.field-hint { font-size:.74rem;color:#a08060;margin-top:5px; }
.field-error { font-size:.74rem;color:#c0522b;margin-top:5px;display:none; }
.field-error.show { display:block; }
.pwd-strength { margin-top:6px;height:4px;background:#e8dcc8;border-radius:50px;overflow:hidden; }
.pwd-strength-fill { height:100%;border-radius:50px;transition:width .3s,background .3s;width:0%; }
.auth-submit {
  width:100%;padding:14px;border-radius:50px;background:#2D6A1F;color:#fff;border:none;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:.95rem;font-weight:600;cursor:pointer;
  transition:background .2s,transform .15s,box-shadow .2s;
  box-shadow:0 4px 18px rgba(45,106,31,.3);margin-top:4px;
}
.auth-submit:hover:not(:disabled) { background:#3A7A28;transform:translateY(-1px);box-shadow:0 8px 24px rgba(45,106,31,.4); }
.auth-submit:disabled { background:#bbb;cursor:not-allowed;transform:none;box-shadow:none; }
.auth-divider { display:flex;align-items:center;gap:12px;margin:18px 0;color:#c0b09a;font-size:.78rem; }
.auth-divider::before,.auth-divider::after { content:'';flex:1;height:1px;background:#e8dcc8; }
.social-btns { display:flex;gap:10px; }
.social-btn {
  flex:1;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 10px;border:1.5px solid #e8dcc8;border-radius:12px;background:#fff;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:.83rem;font-weight:600;color:#3D2B1F;
  cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .15s;
}
.social-btn:hover { border-color:#2D6A1F;box-shadow:0 4px 14px rgba(45,106,31,.12);transform:translateY(-1px); }
.auth-msg { padding:10px 14px;border-radius:10px;font-size:.82rem;margin-bottom:14px;display:none; }
.auth-msg.error   { background:#fff0f0;color:#c0522b;border:1px solid #f5c6c6;display:block; }
.auth-msg.success { background:#edf7ed;color:#1f6e12;border:1px solid #b7dfc0;display:block; }
.auth-msg.loading { background:#fdf8ef;color:#8b5e0a;border:1px solid #e8d0a0;display:block; }
.phone-row { display:flex;gap:8px; }
.country-code {
  background:#fdf8ef;border:1.5px solid #e8dcc8;border-radius:12px;padding:0 14px;
  font-size:.9rem;color:#3D2B1F;font-weight:600;display:flex;align-items:center;
  gap:6px;white-space:nowrap;min-width:72px;justify-content:center;
}
.otp-boxes { display:flex;gap:8px;justify-content:center;margin-bottom:16px; }
.otp-box {
  width:44px;height:50px;border:1.5px solid #e8dcc8;border-radius:12px;text-align:center;
  font-size:1.3rem;font-weight:700;color:#3D2B1F;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;outline:none;
  transition:border-color .2s,box-shadow .2s;
}
.otp-box:focus { border-color:#2D6A1F;box-shadow:0 0 0 3px rgba(45,106,31,.1); }
.otp-header { display:flex;align-items:center;gap:10px;margin-bottom:16px; }
.otp-back { background:none;border:none;cursor:pointer;color:#2D6A1F;font-size:1.1rem;padding:4px; }
.otp-back-text { font-size:.85rem;color:#6b5741; }
.otp-back-text strong { display:block;color:#3D2B1F; }
.resend-row { text-align:center;margin-top:12px;font-size:.78rem;color:#8b7355; }
.resend-btn { background:none;border:none;color:#2D6A1F;font-weight:600;cursor:pointer;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:.78rem; }
.resend-btn:disabled { color:#bbb;cursor:not-allowed; }
.auth-terms { text-align:center;font-size:.71rem;color:#a08060;margin-top:14px;line-height:1.6; }
.auth-terms a { color:#2D6A1F;text-decoration:none; }
#recaptcha-container { display:none; }
.auth-switch { text-align:center;font-size:.8rem;color:#8b7355;margin-top:16px; }

/* ── Breadcrumb navigation ── */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px; font-size: .78rem; color: #a08060;
  padding: 14px 5%;
}
.breadcrumb a { color: #a08060; text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.breadcrumb-sep { color: #c8b89a; user-select: none; }
.breadcrumb [aria-current="page"] { color: var(--brown); font-weight: 500; }
/* Dark background variant (for hero sections) */
.breadcrumb-light,
.breadcrumb-light a { color: rgba(255,255,255,.6); }
.breadcrumb-light a:hover { color: #fff; }
.breadcrumb-light .breadcrumb-sep { color: rgba(255,255,255,.28); }
.breadcrumb-light [aria-current="page"] { color: rgba(255,255,255,.9); font-weight: 500; }
@media (max-width: 640px) { .breadcrumb { padding: 12px 4%; font-size: .74rem; } }
.auth-switch button { background:none;border:none;color:#2D6A1F;font-weight:600;cursor:pointer;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:.8rem; }

/* ── Cart recovery banner ── */
#cartRecoveryBanner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px;
  font-size: .9rem;
  flex-wrap: wrap;
  animation: crbSlideDown .3s ease;
}
@keyframes crbSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.crb-msg { flex: 1; min-width: 180px; }
.crb-cta {
  background: #fff;
  color: var(--green);
  border: none;
  border-radius: 6px;
  padding: 7px 18px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  transition: opacity .15s;
}
.crb-cta:hover { opacity: .85; }
.crb-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  font-family: 'DM Sans', sans-serif;
  transition: color .15s;
}
.crb-dismiss:hover { color: #fff; }
@media (max-width: 600px) {
  #cartRecoveryBanner { padding: 10px 14px; gap: 10px; font-size: .82rem; }
  .crb-cta { padding: 6px 14px; }
}

/* ================================================================
   THEME TOGGLE BUTTON
================================================================ */
.theme-toggle {
  background: none;
  border: 1.5px solid rgba(61,43,31,.22);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--brown);
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover { background: var(--green); color: #fff; border-color: var(--green); }
.navbar.hero-transparent .theme-toggle { border-color: rgba(255,255,255,.45); color: #fff; }
.navbar.hero-transparent .theme-toggle:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); }
[data-theme="dark"] .theme-toggle { border-color: rgba(232,216,192,.2); color: #E8D8C0; }
[data-theme="dark"] .theme-toggle:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ================================================================
   DARK THEME
================================================================ */
[data-theme="dark"] {
  --cream:  #120D06;
  --cream2: #1E1408;
  --brown:  #E8D8C0;
  --text:   #EDE5D5;
  --border: #3D2B1F;
  --shadow: 0 4px 24px rgba(0,0,0,.45);
}

/* Navbar */
[data-theme="dark"] .navbar.scrolled { background: rgba(18,13,6,.97); box-shadow: 0 2px 20px rgba(0,0,0,.35); }
[data-theme="dark"] .hamburger span { background: #E8D8C0; }

/* Products dropdown */
[data-theme="dark"] .nav-dropdown-menu { background: #1E1408; box-shadow: 0 8px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06); }
[data-theme="dark"] .nav-dropdown-menu a { color: #E8D8C0 !important; }
[data-theme="dark"] .nav-dropdown-menu a:hover { background: rgba(255,255,255,.07); color: var(--gold) !important; }

/* Mobile nav panel */
@media (max-width: 900px) {
  [data-theme="dark"] .nav-links { background: #1A1208; }
}

/* Scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: rgba(232,216,192,.15); }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: rgba(232,216,192,.35); }

/* Autofill */
[data-theme="dark"] input:-webkit-autofill,
[data-theme="dark"] input:-webkit-autofill:hover,
[data-theme="dark"] input:-webkit-autofill:focus,
[data-theme="dark"] textarea:-webkit-autofill,
[data-theme="dark"] select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #261A0E inset;
  box-shadow: 0 0 0 1000px #261A0E inset;
  -webkit-text-fill-color: #EDE5D5;
  caret-color: #EDE5D5;
}

/* Cart drawer */
[data-theme="dark"] .cart-drawer { background: #1E1408; }
[data-theme="dark"] .cart-header { border-bottom-color: #3D2B1F; }
[data-theme="dark"] .cart-header h2 { color: #EDE5D5; }
[data-theme="dark"] .cart-close { color: #8b7355; }
[data-theme="dark"] .cart-close:hover { color: #EDE5D5; }
[data-theme="dark"] .cart-item { border-bottom-color: #2A1C0E; }
[data-theme="dark"] .cart-item-name { color: #EDE5D5; }
[data-theme="dark"] .cart-item-desc { color: #8b7355; }
[data-theme="dark"] .qty-btn { background: #261A0E; border-color: #3D2B1F; color: #EDE5D5; }
[data-theme="dark"] .qty-btn:hover { background: #2D6A1F; color: #fff; border-color: #2D6A1F; }
[data-theme="dark"] .cart-footer { border-top-color: #3D2B1F; }
[data-theme="dark"] .shipping-track { background: #3D2B1F; }
[data-theme="dark"] .cart-subtotal { color: #a08060; }
[data-theme="dark"] .cart-total { color: #EDE5D5; }
[data-theme="dark"] .razorpay-note { color: #8b7355; }
[data-theme="dark"] .free-shipping-bar p { color: #8b7355; }
[data-theme="dark"] .cart-upsell { background: linear-gradient(135deg,#1e1204 0%,#261808 100%); border-color: #7a5e1a; }
[data-theme="dark"] .cart-upsell-title { color: #EDE5D5; }
[data-theme="dark"] .cart-upsell-sub { color: #8b6a30; }

/* Checkout modal */
[data-theme="dark"] .co-card { background: #1E1408; }
[data-theme="dark"] .co-tabs { background: #261A0E; }
[data-theme="dark"] .co-tab-btn { color: #a08060; }
[data-theme="dark"] .co-input,
[data-theme="dark"] .co-select { background: #261A0E; border-color: #3D2B1F; color: #EDE5D5; }
[data-theme="dark"] .co-input:focus,
[data-theme="dark"] .co-select:focus { border-color: #2D6A1F; }
[data-theme="dark"] .co-label { color: #a08060; }
[data-theme="dark"] .co-auth-intro { color: #a08060; }
[data-theme="dark"] .co-guest-btn { background: #261A0E; color: #a08060; }
[data-theme="dark"] .co-guest-btn:hover { background: #3D2B1F; }
[data-theme="dark"] .co-divider { color: #6b5741; }
[data-theme="dark"] .co-divider::before,
[data-theme="dark"] .co-divider::after { background: #3D2B1F; }
[data-theme="dark"] .co-summary { background: #261A0E; }
[data-theme="dark"] .co-summary h3 { color: #a08060; }
[data-theme="dark"] .co-summary-item { color: #a08060; }
[data-theme="dark"] .co-summary-total { color: #EDE5D5; border-top-color: #3D2B1F; }
[data-theme="dark"] .co-step-num { background: #261A0E; border-color: #3D2B1F; color: #a08060; }
[data-theme="dark"] .co-step.done .co-step-num { background: #1a3d12; }
[data-theme="dark"] .co-step-lbl { color: #8b7355; }
[data-theme="dark"] .co-step-line { background: #3D2B1F; }
[data-theme="dark"] .co-pay-method { background: #261A0E; border-color: #3D2B1F; }
[data-theme="dark"] .co-pay-method-name { color: #EDE5D5; }
[data-theme="dark"] .co-pay-method-sub { color: #8b7355; }
[data-theme="dark"] .co-pay-method:hover { border-color: #5a8a50; }
[data-theme="dark"] .co-pay-method.selected { border-color: #2D6A1F; background: #1a2e15; }
[data-theme="dark"] .co-back-btn { color: #8b7355; }
[data-theme="dark"] .co-back-btn:hover { color: #EDE5D5; }
[data-theme="dark"] .co-secure { color: #8b7355; }

/* Auth modal */
[data-theme="dark"] .auth-card { background: #1E1408; }
[data-theme="dark"] .auth-mode-toggle { background: #261A0E; }
[data-theme="dark"] .auth-mode-btn { color: #a08060; }
[data-theme="dark"] .auth-input { background: #261A0E; border-color: #3D2B1F; color: #EDE5D5; }
[data-theme="dark"] .auth-input:focus { border-color: #2D6A1F; box-shadow: 0 0 0 3px rgba(45,106,31,.15); }
[data-theme="dark"] .auth-label { color: #a08060; }
[data-theme="dark"] .auth-input-icon { color: #8b7355; }
[data-theme="dark"] .field-hint { color: #8b7355; }
[data-theme="dark"] .auth-divider { color: #6b5741; }
[data-theme="dark"] .auth-divider::before,
[data-theme="dark"] .auth-divider::after { background: #3D2B1F; }
[data-theme="dark"] .social-btn { background: #261A0E; border-color: #3D2B1F; color: #EDE5D5; }
[data-theme="dark"] .social-btn:hover { border-color: #2D6A1F; }
[data-theme="dark"] .country-code { background: #261A0E; border-color: #3D2B1F; color: #EDE5D5; }
[data-theme="dark"] .otp-box { background: #261A0E; border-color: #3D2B1F; color: #EDE5D5; }
[data-theme="dark"] .otp-box:focus { border-color: #2D6A1F; }
[data-theme="dark"] .otp-back-text { color: #a08060; }
[data-theme="dark"] .otp-back-text strong { color: #EDE5D5; }
[data-theme="dark"] .resend-row { color: #8b7355; }
[data-theme="dark"] .auth-terms { color: #8b7355; }
[data-theme="dark"] .auth-switch { color: #8b7355; }
[data-theme="dark"] .pwd-strength { background: #3D2B1F; }
[data-theme="dark"] .auth-msg.loading { background: #261A0E; color: #c09040; border-color: #5a4010; }
[data-theme="dark"] .auth-user-btn { background: #1a3d12; color: #a0d090; }
[data-theme="dark"] .auth-user-btn:hover { background: #243d1a; }

/* Email popup */
[data-theme="dark"] .ep-card { background: #1E1408; }
[data-theme="dark"] .ep-input { border-color: #3D2B1F; background: #261A0E; color: #EDE5D5; }
[data-theme="dark"] .ep-no-thanks { color: #8b7355; }
[data-theme="dark"] .ep-no-thanks button { color: #8b7355; }
[data-theme="dark"] .ep-no-thanks button:hover { color: #EDE5D5; }
[data-theme="dark"] .ep-success p { color: #a08060; }
[data-theme="dark"] .ep-close { background: rgba(30,20,8,.9); color: #E8D8C0; }
[data-theme="dark"] .ep-close:hover { background: rgba(50,35,15,.95); }

/* Breadcrumb */
[data-theme="dark"] .breadcrumb,
[data-theme="dark"] .breadcrumb a { color: #8b7355; }
[data-theme="dark"] .breadcrumb-sep { color: #5a4528; }
[data-theme="dark"] .breadcrumb [aria-current="page"] { color: #E8D8C0; }

/* ================================================================
   DARK THEME — PAGE SECTIONS (home, blog, policy, community)
================================================================ */

/* ── Home: body & page bg ── */
[data-theme="dark"] body { background: #120D06; color: #EDE5D5; }

/* ── Home: Story section ── */
[data-theme="dark"] .story { background: #1A1208; }
[data-theme="dark"] .story-img-wrap img { background: #261A0E; }
[data-theme="dark"] .story-stats { border-top-color: #3D2B1F; }
[data-theme="dark"] .stat::after { background: #3D2B1F !important; }
[data-theme="dark"] .stat-label { color: #8b7355; }

/* ── Home: Features section ── */
[data-theme="dark"] .features { background: #120D06; }
[data-theme="dark"] .feature-card {
  background: #1E1408;
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}
[data-theme="dark"] .feature-card:hover { border-color: rgba(232,137,12,.2); box-shadow: 0 12px 36px rgba(0,0,0,.45); }
[data-theme="dark"] .feature-card p { color: rgba(240,235,227,.52); }

/* ── Home: Compare table section ── */
[data-theme="dark"] .compare { background: #120D06; }
[data-theme="dark"] tbody tr { background: #1E1408 !important; border-bottom-color: #3D2B1F; }
[data-theme="dark"] tbody tr:nth-child(even) { background: #261A0E !important; }

/* ── Home: FAQ section ── */
[data-theme="dark"] .faq { background: #120D06; }
[data-theme="dark"] .faq-item {
  background: #1E1408;
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
[data-theme="dark"] .faq-item:hover { border-color: rgba(45,106,31,.2); }
[data-theme="dark"] .faq-item.open { border-color: rgba(45,106,31,.3); box-shadow: 0 6px 24px rgba(0,0,0,.35); }
[data-theme="dark"] .faq-question .icon { background: #261A0E; border-color: #3D2B1F; }
[data-theme="dark"] .faq-answer p { color: rgba(240,235,227,.52); }

/* ── Home: Blog teaser section ── */
[data-theme="dark"] .blog-teaser { background: #120D06; }
[data-theme="dark"] .blog-card {
  background: #1E1408;
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
[data-theme="dark"] .blog-card:hover { border-color: rgba(255,255,255,.1); box-shadow: 0 8px 32px rgba(0,0,0,.4); }
[data-theme="dark"] .blog-card-body p { color: rgba(240,235,227,.52); }
[data-theme="dark"] .blog-date { color: #6b5741; }
[data-theme="dark"] .blog-tag { background: rgba(45,106,31,.15); color: #7dba5e; }
[data-theme="dark"] .blog-tag--recipe { background: rgba(184,106,0,.12); color: #c9900a; }
[data-theme="dark"] .blog-tag--story  { background: rgba(139,69,19,.12); color: #b87040; }
[data-theme="dark"] .rating-text { color: rgba(240,235,227,.5); }
[data-theme="dark"] .reviewer-loc { color: rgba(240,235,227,.42); }

/* ── Home: Newsletter input ── */
[data-theme="dark"] .newsletter-form input { background: rgba(255,255,255,.1); color: #EDE5D5; }
[data-theme="dark"] .newsletter-form input::placeholder { color: rgba(255,255,255,.5); }

/* ── Home: Sticky ATC ── */
[data-theme="dark"] .sticky-atc { background: #1E1408; border-top-color: #3D2B1F; }

/* ── Home: Cart email input (inline in home) ── */
[data-theme="dark"] .cart-email-input { background: #261A0E; border-color: #3D2B1F; color: #EDE5D5; }
[data-theme="dark"] .cart-email-label { color: #8b7355; }

/* ── Blog page ── */
[data-theme="dark"] .post-card { background: #1E1408; border-color: rgba(255,255,255,.06); }
[data-theme="dark"] .post-card-thumb.health  { background: linear-gradient(135deg,rgba(45,106,31,.2),rgba(20,60,15,.3)); }
[data-theme="dark"] .post-card-thumb.recipe  { background: linear-gradient(135deg,rgba(184,106,0,.18),rgba(100,60,0,.25)); }
[data-theme="dark"] .post-card-thumb.story   { background: linear-gradient(135deg,rgba(21,101,192,.15),rgba(10,50,100,.2)); }
[data-theme="dark"] .post-card-thumb.science { background: linear-gradient(135deg,rgba(194,24,91,.12),rgba(100,10,50,.18)); }
[data-theme="dark"] .post-tag.health  { background: rgba(45,106,31,.15); color: #7dba5e; }
[data-theme="dark"] .post-tag.recipe  { background: rgba(184,106,0,.12); color: #c9900a; }
[data-theme="dark"] .post-tag.story   { background: rgba(21,101,192,.12); color: #5b9fd4; }
[data-theme="dark"] .post-tag.science { background: rgba(194,24,91,.12); color: #d4608a; }
[data-theme="dark"] .post-card-body p { color: rgba(240,235,227,.52); }
[data-theme="dark"] .post-meta { color: #6b5741; }
[data-theme="dark"] .blog-search {
  background: #1E1408;
  border-color: #3D2B1F;
  color: #EDE5D5;
}
[data-theme="dark"] .filter-tab {
  background: #1E1408;
  border-color: #3D2B1F;
  color: #a08060;
}
[data-theme="dark"] .filter-tab:hover { border-color: var(--green); color: var(--green); }
[data-theme="dark"] .tip-box { background: rgba(45,106,31,.1); border-color: rgba(45,106,31,.25); color: #EDE5D5; }
[data-theme="dark"] .full-post h2 { color: #E8D8C0; }
[data-theme="dark"] .full-post blockquote { border-left-color: #3D2B1F; color: #a08060; }

/* ── Policy page ── */
[data-theme="dark"] .shipping-table tr:nth-child(even) td { background: #1E1408; }

/* ── Community page ── */
[data-theme="dark"] .farmer-card,
[data-theme="dark"] .story-card { background: #1E1408; border-color: rgba(255,255,255,.06); }
[data-theme="dark"] .impact-strip { background: rgba(45,106,31,.12); }
[data-theme="dark"] .impact-stat strong { color: #ffd270; }
[data-theme="dark"] .impact-stat span { color: rgba(240,235,227,.6); }
