/* ─────────────────────────────────────────────────────────────────────────
   Jonaki — brand tokens (LOCKED: teal & firefly + Fraunces/Inter)
   ───────────────────────────────────────────────────────────────────────── */
:root {
  --teal:       #009B8E;
  --teal-deep:  #013A34;
  --teal-dark:  #001E1B;
  --teal-soft:  #E5F3F1;
  --amber:      #E8B04B;
  --amber-soft: #F4D08A;
  --silver:     #E8E9EC;
  --bg:         #FAF8F4;
  --bg-2:       #FFFFFF;
  --ink:        #122E2A;
  --ink-soft:   #4A5A56;
  --line:       #E2DCD0;
  --line-2:     #ECE6D8;
  --danger:     #C24A4A;
  --good:       #2D8B73;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;

  --shadow-1: 0 1px 2px rgba(18, 46, 42, .06), 0 1px 3px rgba(18, 46, 42, .04);
  --shadow-2: 0 4px 12px rgba(18, 46, 42, .08), 0 1px 3px rgba(18, 46, 42, .04);
  --shadow-3: 0 16px 40px rgba(18, 46, 42, .12);

  --maxw: 1180px;
  --maxw-narrow: 760px;
  --gutter: clamp(20px, 5vw, 64px);
}
@media (max-width: 600px) {
  :root { --gutter: 24px; }
}

/* ─── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  /* Mobile horizontal-overflow guard. overflow-x: clip (Chrome 90+, Safari 16+)
     is preferred over hidden because clip does NOT coerce overflow-y to auto —
     hidden does, which silently turns body into a scroll container and breaks
     position: sticky on the desktop PDP gallery. clip is the correct primitive. */
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: clip;
  position: relative;
}
/* Paper-grain overlay — gives the off-white cream a hand-set, paper-stock feel */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/></svg>");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
  opacity: .32;
}
.header, .footer, .hero, .hero-light, .announce { position: relative; z-index: 2; }
.wrap-narrow p, .pdp-info p, .review-body { line-height: 1.7; }
.pdp-price, .product-price, .summary-row, .line-price, .cart-row .line-price,
.admin-stat strong, .ships-by, .emi-hint, .hero .scarcity-line {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum', 'ss01';
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .4em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
hr { border: none; height: 1px; background: var(--line); margin: 2rem 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* ─── Layout ───────────────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 var(--gutter); }

/* Mobile overflow defence — Android Chrome / Samsung Internet sometimes ignore
   html/body { overflow-x: hidden } when descendants use position:absolute|fixed,
   or when grid/flex children grow past their 1fr share. This belt-and-braces
   pass clips only at row-level containers (not .wrap or .pdp, since those wrap
   position: sticky elements). overflow-x: clip is Chrome 90+, safe on OP12. */
@media (max-width: 720px) {
  .pdp-trust-badges, .pdp-pincode, .pdp-promise, .pdp-specs,
  .packaging-trust-inner, .pdp-pair-up,
  .pdp-info > p, .pdp-info > details {
    overflow-x: clip;
  }
  /* Grid and flex children must be allowed to shrink below content-min-width
     (default min-width: auto would let them push their parent wider).
     CRITICAL: covers PDP gallery (product image's intrinsic ~480px width
     leaks up otherwise), footer grid, shop layout, and the generic .grid
     variants. Playwright Chromium quietly clips this; real OP12/Samsung
     Internet do not. Universal min-width: 0 on every grid/flex child of
     known wrappers eliminates the entire class of bug. */
  .pdp, .pdp > *,
  .pdp-gallery, .pdp-main, .pdp-info,
  .pdp-trust-badges > *, .pdp-pincode .pin-form > *,
  .pdp-promise > *, .pdp-specs > *,
  .grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *,
  .footer-grid > *, .footer-newsletter > *,
  .shop-layout > *, .shop-title-strip > *,
  .header-inner > *,
  .pdp-pair-up > *, .packaging-trust-inner > *,
  .cart-grid > *, .cart-row > *, .cart-row .meta, .cart-row .line-actions,
  .summary-card, .summary-card > *,
  .discount-form > *,
  .checkout-grid > * {
    min-width: 0;
  }
  /* Explicit fix for flex inputs that would otherwise assert ~200px min-width */
  .discount-form input { min-width: 0; }
  /* Any media/iframe/embed inside PDP content must never exceed its column. */
  .pdp img, .pdp video, .pdp iframe, .pdp embed, .pdp object,
  .pdp-info img, .pdp-info table {
    max-width: 100%;
    height: auto;
  }
  /* Long unbreakable strings (URLs in descriptions, SKUs) should wrap. */
  .pdp-info, .pdp-info p, .pdp-info li, .pdp-breakup td, .acc-body {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.section       { padding: clamp(56px, 9vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-loose { padding: clamp(80px, 14vw, 160px) 0; }
.section-dark  { background: var(--teal-deep); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

/* ─── Festival band — variable per occasion ───────────────────────────── */
.festival-rakhi  { --accent: #E8B04B; }
.festival-karwa  { --accent: #8B2942; }
.festival-diwali { --accent: #DBA13A; }
.festival-gift   { --accent: var(--amber-soft); }
.section-festival {
  background: var(--teal-deep);
  color: #fff;
  padding: clamp(80px, 12vw, 140px) 0;
}
.section-festival .festival-eyebrow {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  color: var(--accent, var(--amber-soft));
  font-size: 1rem;
  display: block;
  margin-bottom: 14px;
}
.section-festival .festival-title {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  color: var(--accent, var(--amber-soft));
}
.section-festival .festival-blurb {
  opacity: .88;
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 28px;
}
.festival-karwa  { background: linear-gradient(180deg, #2A0F18 0%, var(--teal-deep) 100%); }
.festival-diwali { background: linear-gradient(180deg, #1A0A02 0%, var(--teal-deep) 70%); }

/* ─── Announce bar + header ────────────────────────────────────────────── */
.announce {
  background: var(--teal-deep);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  padding: 8px 12px;
  letter-spacing: .02em;
}
.announce strong { color: var(--amber-soft); font-weight: 500; }

.header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  height: 64px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .logo img { height: 56px; }
  /* On mobile, hide Account + Wishlist icons from header — they're already in the
     bottom nav. Frees ~88px of header width so the logo gets breathing room. */
  .header-action-desktop-only { display: none !important; }
}
.footer-logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 14px;
}
.footer-logo img {
  height: 72px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}
.logo-tag {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: .82rem;
  color: var(--ink-soft);
  display: none;
}
@media (min-width: 900px) {
  .logo-tag { display: inline; margin-left: 14px; }
}
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav a.active, .nav a:hover { color: var(--teal); }
@media (min-width: 900px) { .nav { display: flex; } }
.header-actions { margin-left: auto; display: flex; gap: 18px; align-items: center; }
@media (min-width: 900px) { .header-actions { margin-left: 0; } }
.icon-btn {
  background: none; border: none; padding: 10px;
  color: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center;
  /* 44×44 minimum tap target (Apple HIG) — icon visually unchanged, padding grows the hit area */
  min-width: 44px; min-height: 44px;
}
.icon-btn:hover { color: var(--teal); }
.cart-dot {
  position: absolute; top: -2px; right: -4px;
  background: var(--amber); color: var(--teal-deep);
  font-size: .68rem; font-weight: 600;
  border-radius: 999px; padding: 1px 5px; min-width: 16px; text-align: center;
}
.hamburger { display: inline-flex; }
@media (min-width: 900px) { .hamburger { display: none; } }

.mobile-nav {
  display: none;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 16px;
  color: var(--ink);
  font-weight: 500;
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(180deg, rgba(10,28,26,.40) 0%, rgba(10,28,26,.58) 100%),
    url('../img/hero/home-hero.jpg') 30% center / cover no-repeat,
    radial-gradient(ellipse at 50% 0%, #0A5C52 0%, var(--teal-deep) 40%, var(--teal-dark) 100%);
  color: #fff;
  padding: clamp(96px, 14vw, 144px) 16px clamp(112px, 16vw, 160px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .eyebrow {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--amber-soft);
  margin-bottom: 18px;
  display: inline-block;
}
.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 22px;
  letter-spacing: -.03em;
  line-height: .95;
}
.hero p {
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  line-height: 1.6;
}
.hero .firefly {
  position: absolute;
  background: var(--amber);
  border-radius: 999px;
  box-shadow: 0 0 12px var(--amber), 0 0 24px rgba(232, 176, 75, .6);
  animation: twinkle 3.6s infinite ease-in-out;
}
@media (max-width: 600px) {
  /* Mobile: STACK layout — image at top, text + CTAs on cream below.
     Pattern from Mejuri/Pipa Bella/Tjori. Cleaner than overlay-on-model. */
  .hero {
    background: var(--bg);
    color: var(--ink);
    padding: 0 0 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    display: block;
    width: 100%;
    height: clamp(320px, 80vw, 420px);
    background:
      linear-gradient(180deg, transparent 70%, rgba(255,253,247,.35) 100%),
      url('../img/hero/home-hero.jpg') 22% center / cover no-repeat;
    margin-bottom: 32px;
  }
  .hero .eyebrow {
    color: var(--amber, #B8830A);
    margin: 8px 16px 16px;
  }
  .hero h1 {
    color: var(--ink);
    padding: 0 16px;
    font-size: clamp(2.5rem, 11vw, 4rem);
    margin-bottom: 18px;
  }
  .hero p {
    color: var(--ink-soft);
    padding: 0 24px;
    margin-bottom: 28px;
  }
  /* Override the inline white styles from index.php — they only make sense on the desktop dark scrim */
  .hero p strong[style*="#fff"] { color: var(--ink) !important; }
  .hero > div[style*="display:flex"] { padding: 0 16px; }
  .hero .btn-outline[style*="border-color"] {
    border-color: var(--ink, #122E2A) !important;
    color: var(--ink, #122E2A) !important;
    background: transparent !important;
  }
  /* Fireflies look great on the dark scrim, awkward on cream — hide on mobile */
  .hero .firefly { display: none; }
}
/* Category banner — used on shop.php when a category has a category_image */
.cat-banner {
  position: relative;
  background-color: var(--bg-2, #f4efe7);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.cat-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,46,42,.62) 0%, rgba(18,46,42,.35) 50%, rgba(18,46,42,.08) 100%);
  pointer-events: none;
}
.cat-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
  width: 100%;
  color: #fff;
}
.cat-banner .eyebrow {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--amber-soft, #E8B04B);
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 12px;
}
.cat-banner-title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 14px;
  letter-spacing: -.02em;
  line-height: 1;
}
.cat-banner-tag {
  max-width: 520px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  margin: 0;
}
@media (max-width: 600px) {
  .cat-banner { min-height: 220px; }
  .cat-banner-inner { padding: 36px 18px; }
}
/* Packaging trust — reused on every PDP and on cart */
.packaging-trust {
  background: var(--bg-2, #f4efe7);
  padding: 64px 0;
}
.packaging-trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.packaging-trust-img img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 8px 28px rgba(18, 46, 42, .08);
}
.packaging-trust-copy .eyebrow {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--amber, #B8830A);
  display: inline-block;
  margin-bottom: 14px;
  font-size: 1rem;
}
.packaging-trust-title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -.02em;
  margin: 0 0 18px;
  line-height: 1.05;
  color: var(--ink, #122E2A);
}
.packaging-trust-copy p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft, #4a615d);
  margin: 0 0 8px;
  max-width: 480px;
}
.packaging-trust-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}
.packaging-trust-list li {
  font-size: .96rem;
  color: var(--ink, #122E2A);
  padding-left: 22px;
  position: relative;
}
.packaging-trust-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--amber, #B8830A);
  font-size: .85rem;
}
@media (max-width: 700px) {
  .packaging-trust { padding: 44px 0; }
  .packaging-trust-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(.9); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .firefly, .product-card, .btn { animation: none !important; transition: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ─── Light hero (Glow Club, About) ───────────────────────────────────── */
.hero-light {
  background: var(--bg);
  color: var(--ink);
  text-align: left;
  padding: clamp(64px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.hero-light .wrap-narrow { max-width: 820px; }
.hero-light .eyebrow {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--teal);
  display: inline-block;
  margin-bottom: 14px;
}
.hero-light h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 22px;
  letter-spacing: -.02em;
  line-height: 1.04;
}
.hero-light p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 580px;
  line-height: 1.6;
}

/* ─── Glow Club bullets — letterpress, numbered ───────────────────────── */
.glow-bullets { display: grid; gap: 0; counter-reset: g; }
@media (min-width: 700px) {
  .glow-bullets { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
}
.glow-bullet {
  padding: 36px 32px;
  border-bottom: 1px solid var(--line-2);
}
@media (min-width: 700px) {
  .glow-bullet { border-right: 1px solid var(--line-2); border-bottom: none; }
  .glow-bullet:last-child { border-right: none; }
}
.glow-bullet::before {
  content: counter(g, decimal-leading-zero) '.';
  counter-increment: g;
  font-family: 'Inter';
  font-size: .76rem; letter-spacing: .14em;
  color: var(--amber); font-weight: 600;
  display: block;
  margin-bottom: 18px;
}
.glow-bullet h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.glow-bullet p { color: var(--ink-soft); font-size: .96rem; line-height: 1.6; margin: 0; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: all .15s ease;
  background: var(--teal);
  color: #fff;
  letter-spacing: .015em;
}
.btn:hover { background: var(--teal-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-amber {
  background: var(--amber);
  color: var(--teal-deep);
  border: 1px solid var(--amber);
  box-shadow: none;
  font-weight: 500;
  letter-spacing: .02em;
}
.btn-amber:hover {
  background: var(--teal-deep);
  color: var(--amber);
  border-color: var(--teal-deep);
  box-shadow: none;
  transform: none;
}
.btn-amber:active { transform: scale(.98); }
.btn-outline {
  background: transparent;
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}
.btn-outline:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* PDP CTA buttons — icon visible only on desktop (≥720px) where there's room
   to breathe. On mobile the icon would crowd the label, so it's hidden. */
.btn-cta .btn-cta-icon { display: none; }
@media (min-width: 720px) {
  .btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .btn-cta .btn-cta-icon {
    display: inline-block;
    flex-shrink: 0;
    transition: transform .2s ease;
  }
  .btn-cta:hover .btn-cta-icon { transform: translateX(2px); }
}

/* ─── Trust strip ──────────────────────────────────────────────────────── */
.trust {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 28px 0;
  gap: 0;
}
@media (min-width: 700px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); padding: 36px 0; }
}
.trust-item {
  padding: 18px 24px;
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}
.trust-item:last-child { border-right: none; }
.trust-item .ti-icon { display: none; }
.trust-item strong::before {
  content: '✦';
  color: var(--amber);
  margin-right: 8px;
  font-size: .9em;
}
.trust-item strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: 0;
  margin: 0;
}
.trust-item span {
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.45;
  letter-spacing: .01em;
}
@media (max-width: 700px) {
  .trust-item { border-right: none; border-bottom: 1px solid var(--line-2); padding: 16px 18px; }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ─── Product card (editorial 4:5, no card chrome) ──────────────────────── */
.product-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  text-decoration: none;
}
.product-card:hover { transform: none; box-shadow: none; }
.product-card a { color: inherit; }
.product-img {
  background: var(--bg-2);
  aspect-ratio: 4 / 5;
  display: block;
  padding: 0;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
  margin-bottom: 14px;
}
.product-img::after { display: none; }
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  position: relative;
  z-index: 1;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-card:hover .product-name { color: var(--teal); }
.product-body { padding: 0; flex: 1; display: flex; flex-direction: column; }
.product-sku {
  font-family: 'Inter';
  font-size: .75rem; font-weight: 500;       /* was .68rem — bumped to 12px min for mobile readability */
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.product-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.04rem; line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 6px;
  color: var(--ink);
  transition: color .2s ease;
}
.product-price {
  font-family: 'Inter';
  font-feature-settings: 'tnum', 'ss01';
  font-variant-numeric: tabular-nums;
  font-size: .98rem; font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
  margin-top: auto;
}
.product-price .strike { color: var(--ink-soft); font-weight: 400; text-decoration: line-through; margin-right: 6px; font-size: .92em; }
.badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: .75rem;                          /* was .68rem — bumped to 12px min for mobile readability */
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-weight: 500;
}
.badge-amber { background: var(--amber-soft); color: var(--teal-deep); }
.badge-strip {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 4px; flex-wrap: wrap; max-width: calc(100% - 56px);
  z-index: 2;
}
.badge-strip .badge {
  /* Small clean pill — solid white, brand-colour text, micro drop shadow for definition on any image. No glass. */
  background: #fff;
  color: var(--teal-deep);
  font-family: 'Inter', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,.10);
}
.badge-strip .badge-amber {
  background: var(--amber);
  color: var(--teal-deep);
}
.badge-strip .badge-silver {
  background: linear-gradient(135deg, #EDF1F1 0%, #C9D3D1 100%);
  color: #2C3B38;
}

/* PDP silver badge — a clear "this is silver" marker under the title */
.pdp-silver-badge {
  display: inline-flex; align-items: center; gap: 4px;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #EEF1F1 0%, #D6DEDC 100%);
  border: 1px solid #C5D0CE;
  color: #2C3B38;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.wl-heart {
  position: absolute; top: 12px; right: 12px;
  /* Solid white circle with subtle shadow — same pattern Mejuri/Catbird use. No blur. */
  background: #fff;
  border: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(18,46,42,.12);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
  opacity: 0;
  transition: opacity .25s ease, background .15s, color .15s, transform .15s;
  z-index: 2;
}
.product-card:hover .wl-heart,
.wl-heart.active,
.wl-heart:focus { opacity: 1; }
.wl-heart:hover { color: var(--teal-deep); background: #fff; transform: scale(1.05); }
.wl-heart.active { color: var(--danger); background: #fff; opacity: 1; }
.wl-heart.active svg { fill: var(--danger); }
@media (hover: none) { .wl-heart { opacity: 1; } }

/* ─── PDP ──────────────────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 32px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.4fr 1fr; gap: 80px; padding-top: 64px; padding-bottom: 96px; }
}
.pdp-gallery { position: relative; }
/* On desktop, the gallery sticks to the viewport as the info column scrolls — modern PDP pattern (Mejuri, Catbird, BlueStone). */
@media (min-width: 900px) {
  .pdp-gallery {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
  }
}
.pdp-main {
  /* Match source-photo aspect (square), so no upscale-blur and no awkward crop. */
  background: var(--bg-2);
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  overflow: hidden;
  margin-bottom: 12px;
  cursor: zoom-in;             /* signal that image opens fullscreen viewer */
  position: relative;
}
.pdp-main:hover .pdp-zoom-hint { opacity: 1; transform: translateY(0); }
.pdp-zoom-hint {
  position: absolute; bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,.94);
  color: var(--teal-deep);
  border-radius: 999px;
  font-size: .78rem; font-weight: 500;
  opacity: 0; transform: translateY(4px);
  transition: opacity .18s, transform .18s;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
@media (max-width: 720px) {
  .pdp-zoom-hint { opacity: 1; transform: none; }  /* always visible on mobile */
}

/* Fullscreen image lightbox — click main image to open */
.pdp-lightbox {
  position: fixed; inset: 0;
  background: rgba(1,30,27,.96);
  display: none; align-items: center; justify-content: center;
  z-index: 200;
  padding: 16px;
  user-select: none;
}
.pdp-lightbox.open { display: flex; }
.pdp-lightbox-stage {
  max-width: 95vw; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-x pan-y pinch-zoom;
}
.pdp-lightbox-stage img {
  max-width: 95vw; max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.pdp-lightbox-close,
.pdp-lightbox-prev,
.pdp-lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  color: #fff; border: 1px solid rgba(255,255,255,.18);
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .12s;
}
.pdp-lightbox-close { top: 18px; right: 18px; font-size: 1.1rem; }
.pdp-lightbox-prev  { left: 18px;  top: 50%; transform: translateY(-50%); }
.pdp-lightbox-next  { right: 18px; top: 50%; transform: translateY(-50%); }
.pdp-lightbox-close:hover,
.pdp-lightbox-prev:hover,
.pdp-lightbox-next:hover { background: rgba(255,255,255,.22); }
.pdp-lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.pdp-lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
.pdp-lightbox-counter {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.12);
  color: #fff; padding: 6px 16px; border-radius: 999px;
  font-size: .85rem;
}
@media (max-width: 640px) {
  .pdp-lightbox-prev { left: 8px; width: 38px; height: 38px; }
  .pdp-lightbox-next { right: 8px; width: 38px; height: 38px; }
  .pdp-lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
}
.pdp-main img {
  /* `contain` preserves the photo edge-to-edge with no crop and no upscale-blur.
     The cream `--bg-2` background under the image fills any letterboxing cleanly. */
  width: 100%; height: 100%; object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: none;
  border-radius: 4px;
}
.pdp-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-thumbs button {
  width: 64px; height: 64px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .15s;
}
.pdp-thumbs button.active, .pdp-thumbs button:hover { border-color: var(--teal); }
.pdp-thumbs button img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (min-width: 900px) {
  .pdp-gallery:has(.pdp-thumbs) { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
  .pdp-gallery:has(.pdp-thumbs) .pdp-thumbs { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 8px; order: 0; }
  .pdp-gallery:has(.pdp-thumbs) .pdp-main { order: 1; margin-bottom: 0; padding: 0; }
}
.pdp-title { font-size: clamp(1.6rem, 3vw, 2rem); margin: 0 0 8px; }
.pdp-sku { font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.pdp-price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.pdp-price small { font-size: .8rem; color: var(--ink-soft); font-weight: 400; margin-left: 8px; }
.pdp-rating-line { font-size: .92rem; margin: 0 0 16px; color: var(--amber); }
.pdp-rating-line span { color: var(--ink-soft); margin-left: 6px; }
.pdp-rating-line a { color: var(--teal); text-decoration: underline; }
.pdp-rating-line .be-first {
  color: var(--ink-soft);
  font-size: .9rem;
  font-style: italic;
  text-decoration: none;
  border-bottom: 1px dashed var(--ink-soft);
  padding-bottom: 1px;
}
.pdp-rating-line .be-first:hover { color: var(--teal); border-color: var(--teal); }
.pdp-price .strike { color: var(--ink-soft); text-decoration: line-through; font-weight: 400; margin-right: 8px; font-size: .8em; }

/* Trust-badge strip — 4 icons under price */
.pdp-trust-badges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 14px 0; margin: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pdp-trust-badges > div {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; color: var(--ink-soft); font-size: .72rem; line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.pdp-trust-badges svg { color: var(--teal-deep); flex: 0 0 auto; }
.pdp-trust-badges span { color: var(--ink); font-weight: 500; }

/* Pincode delivery with concrete date */
.pdp-pincode {
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin: 18px 0;
}
.pdp-pincode .pin-label { font-weight: 500; font-size: .95rem; margin-bottom: 8px; }
.pdp-pincode .pin-form { display: flex; gap: 8px; min-width: 0; }
.pdp-pincode .pin-form input {
  flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: .95rem;
}
.pdp-pincode .pin-form input:focus { border-color: var(--teal); outline: none; }
.pdp-pincode .pin-form .btn { white-space: nowrap; }
.pin-result { margin-top: 10px; font-size: .92rem; min-height: 1em; }
.pin-result.is-ok    { color: var(--good); }
.pin-result.is-error { color: var(--danger); }
.pin-result.is-loading { color: var(--ink-soft); }
.pin-result strong { color: var(--ink); font-weight: 600; }

/* Honest scarcity badge — only renders when stock <= 5 */
.pdp-scarcity {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,176,75,.16); color: #7A4A0A;
  padding: 7px 14px; border-radius: 999px;
  font-size: .88rem; font-weight: 500;
  margin: 6px 0 14px;
}
.pdp-scarcity .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .4 } }

.pdp-short-desc { color: var(--ink-soft); margin: 14px 0; }

.pdp-buy-form { margin-top: 14px; }
.pdp-return-line {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 0 0; padding: 10px 14px;
  background: var(--bg-2); border-radius: var(--r-sm);
  font-size: .85rem; color: var(--ink-soft); line-height: 1.45;
}
.pdp-return-line .return-icon { flex: 0 0 auto; color: var(--teal-deep); }
.pdp-return-line strong { color: var(--ink); }
.pdp-secure-line {
  text-align: center; margin: 8px 0 0; font-size: .78rem; color: var(--ink-soft);
}

/* What you're paying for — price breakup */
.pdp-breakup {
  background: var(--bg-2);
  border-radius: var(--r-md);
  margin: 18px 0;
}
.pdp-breakup summary {
  cursor: pointer; padding: 12px 16px;
  font-family: 'Inter'; font-size: .9rem; font-weight: 500;
  color: var(--ink); list-style: none;
}
.pdp-breakup summary::-webkit-details-marker { display: none; }
.pdp-breakup summary::after { content: ''; }
.pdp-breakup[open] summary { border-bottom: 1px solid var(--line); }
.pdp-breakup table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
  padding: 4px 16px 12px;
}
.pdp-breakup table tr td:first-child { padding: 8px 16px 8px; color: var(--ink-soft); }
.pdp-breakup table tr td:last-child { padding: 8px 16px 8px 0; text-align: right; }
.pdp-breakup table tr.is-total td { font-weight: 600; color: var(--teal-deep); border-top: 1px solid var(--line); }
.pdp-breakup .muted { padding: 0 16px 12px; font-size: .8rem; }

/* Made for tags — clickable chips */
.pdp-made-for { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 16px 0 6px; font-size: .9rem; }
.pdp-made-for .label { color: var(--ink-soft); margin-right: 4px; font-family: 'Fraunces', serif; font-style: italic; }
.pdp-made-for .made-chip {
  display: inline-block;
  padding: 4px 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-size: .85rem; text-decoration: none;
}
.pdp-made-for .made-chip:hover { border-color: var(--teal); color: var(--teal); }

/* Pair it up — cross-sell rail */
.pdp-pair-up { padding: 48px 0 64px; }
.pdp-pair-up h2 { text-align: center; margin: 0 0 6px; font-size: 1.6rem; }
.pair-row {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  flex-wrap: wrap; margin: 20px 0 24px;
}
.pair-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--ink);
  background: var(--bg-2); padding: 16px; border-radius: var(--r-md);
  min-width: 180px; max-width: 200px;
  transition: transform .15s, box-shadow .15s;
}
.pair-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(18,46,42,.08); }
.pair-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 4px; background: #fff; }
.pair-name { font-family: 'Fraunces', serif; font-weight: 500; font-size: .92rem; text-align: center; line-height: 1.3; }
.pair-price { color: var(--teal-deep); font-weight: 600; font-size: .92rem; }
.pair-state { font-size: .76rem; color: var(--ink-soft); }
.pair-plus {
  font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--amber);
  align-self: center; padding: 0 4px;
}
.pair-total {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  max-width: 640px; margin: 0 auto;
  padding: 16px 22px;
  background: var(--bg-2); border-radius: var(--r-md);
  border: 1px solid var(--line);
  font-size: .95rem;
}
.pair-total .amount { color: var(--teal-deep); font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.2rem; margin-left: 6px; }
.pair-total .strike { color: var(--ink-soft); text-decoration: line-through; margin-left: 8px; font-size: .9em; }
@media (max-width: 720px) {
  .pair-row { gap: 4px; }
  .pair-item { min-width: 140px; max-width: 150px; padding: 10px; font-size: .85rem; }
  .pair-plus { font-size: 1.2rem; }
}
.pdp-specs {
  background: transparent;
  border: none;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  padding: 16px 0;
  margin: 20px 0;
}
.pdp-specs ul { list-style: none; padding: 0; margin: 0; }
.pdp-specs li {
  padding: 8px 0;
  border-bottom: 1px dotted var(--line-2);
  display: flex;
  justify-content: space-between;
  font-size: .92rem;
}
.pdp-specs li:last-child { border-bottom: none; }
.pdp-specs li strong {
  font-family: 'Inter';
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.pdp-specs li span { color: var(--ink); font-weight: 400; }
.qty-row { display: flex; gap: 12px; align-items: center; margin: 22px 0; }
.qty-stepper {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
}
.qty-stepper button {
  width: 40px; height: 44px; background: #fff; border: none; font-size: 1.1rem; color: var(--ink);
}
.qty-stepper button:hover { background: var(--teal-soft); }
.qty-stepper input { width: 56px; height: 44px; text-align: center; border: none; background: #fff; -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-actions { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pincode-check {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: var(--r-md);
  margin: 18px 0;
  font-size: .92rem;
}
.pincode-check input {
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  width: 130px;
  margin: 0 8px;
}
.pdp-trust-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin: 22px 0;
  font-size: .86rem;
  color: var(--ink-soft);
}
@media (min-width: 600px) { .pdp-trust-row { grid-template-columns: repeat(4, 1fr); } }
.pdp-trust-row > div {
  background: var(--bg-2); padding: 12px 14px; border-radius: var(--r-sm);
  text-align: center;
}
.pdp-trust-row strong { display: block; color: var(--ink); margin-bottom: 2px; }

details.acc { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.acc summary {
  font-family: 'Fraunces', serif; font-size: 1.05rem; cursor: pointer;
  color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details.acc summary::after { content: '+'; font-family: 'Inter'; color: var(--ink-soft); }
details.acc[open] summary::after { content: '−'; }
details.acc[open] summary { color: var(--teal-deep); margin-bottom: 8px; }
details.acc p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ─── Cart ─────────────────────────────────────────────────────────────── */
.cart-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .cart-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; } }
.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-row img {
  width: 80px; height: 80px;
  background: #fff;
  border-radius: var(--r-sm);
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--line);
}
.cart-row .meta { font-size: .94rem; }
.cart-row .meta strong { display: block; font-family: 'Fraunces', serif; font-weight: 500; margin-bottom: 4px; }
.cart-row .meta small { color: var(--ink-soft); }
.cart-row .line-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-row .qty-stepper { transform: scale(.85); transform-origin: right; }
.cart-row .line-price { font-weight: 600; color: var(--teal-deep); }
.cart-row a.remove { color: var(--ink-soft); font-size: .82rem; }
.cart-row a.remove:hover { color: var(--danger); }

.summary-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.summary-card h3 { font-family: 'Fraunces', serif; margin: 0 0 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .96rem; }
.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal-deep);
}
.discount-form { margin: 14px 0; display: flex; gap: 8px; }
.discount-form input {
  flex: 1; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
.discount-form button {
  background: var(--teal-deep); color: #fff; border: none;
  padding: 0 16px; border-radius: var(--r-sm); font-size: .9rem;
}

/* ─── Checkout ─────────────────────────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.3fr 1fr; gap: 40px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  transition: border .15s, box-shadow .15s;
}
.field input:not([type="checkbox"]):not([type="radio"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.field input[type="checkbox"],
.field input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--teal-deep);
  flex: 0 0 auto;
  margin-top: 2px;
}
.field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.fieldset { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; margin-bottom: 18px; }
.fieldset h3 { margin: 0 0 14px; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,.78);
  padding: 56px 0 22px;
  font-size: .92rem;
}
.footer h4 {
  color: #fff;
  font-family: 'Inter';
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer a { color: rgba(255,255,255,.78); display: block; padding: 4px 0; }
.footer a:hover { color: var(--amber-soft); }
.footer .brand-line {
  font-family: 'Fraunces', serif;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.footer .trust-line { color: rgba(255,255,255,.62); font-size: .85rem; margin-bottom: 18px; }
.footer-newsletter {
  display: flex; gap: 8px; margin-top: 8px;
}
.footer-newsletter input {
  flex: 1; min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: .9rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.5); }
.footer-newsletter button {
  background: var(--amber);
  color: var(--teal-deep);
  border: none;
  padding: 0 18px;
  border-radius: var(--r-sm);
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
  cursor: pointer;
}
.footer-newsletter button:hover {
  background: var(--teal-deep);
  color: var(--amber);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom-left { flex: 1 1 auto; min-width: 0; }
.footer-bottom-right {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
.footer-bottom-right a {
  display: inline-block !important;
  color: rgba(255,255,255,.6);
  padding: 8px 4px;                           /* was 0 — grows tap area to ~31px tall (HIG-friendly) without changing visual position */
}
.footer-bottom-right a:hover { color: var(--amber-soft); }
@media (max-width: 640px) {
  .footer-bottom { gap: 8px; }
  .footer-bottom-left, .footer-bottom-right { flex-basis: 100%; }
}

/* ─── Misc ─────────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--ink-soft);
}
.empty-state h2 { color: var(--ink); }
.flash {
  background: var(--teal-soft);
  border-left: 3px solid var(--teal);
  padding: 10px 14px;
  margin: 12px 0;
  border-radius: var(--r-sm);
  font-size: .94rem;
}
.flash--success { background: #E6F4EE; border-left-color: var(--good); }
.flash--error { background: #FBEAEA; border-left-color: var(--danger); }
.section-title {
  text-align: left;
  margin-bottom: 48px;
  max-width: 720px;
  position: relative;
}
.section-title .eyebrow {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--teal);
  margin-bottom: 10px;
  display: block;
}
.section-title h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.015em;
}
.section-title p {
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}
.section-title .divider { display: none; }
.section-title.is-centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-title.is-centered .eyebrow { color: var(--amber); }
.section-title.is-centered p { margin: 0 auto; }

.breadcrumb { font-size: .82rem; color: var(--ink-soft); padding: 14px 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--teal); }

/* ─── Category split-tiles (Mejuri pattern) ───────────────────────────── */
.category-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
@media (min-width: 700px) { .category-grid { grid-template-columns: repeat(2, 1fr) !important; } }
.cat-tile {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  aspect-ratio: auto;
  background: var(--bg-2);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  text-decoration: none;
  transition: none;
}
@media (min-width: 560px) {
  .cat-tile { grid-template-columns: 1fr 1fr; min-height: 300px; }
}
.cat-tile-img { aspect-ratio: 4 / 3; }
@media (min-width: 560px) { .cat-tile-img { aspect-ratio: auto; } }
.cat-tile:hover { transform: none; box-shadow: none; }
.cat-tile::before { display: none; }
.cat-tile-img {
  position: static;
  inset: auto;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.cat-tile:hover .cat-tile-img { transform: scale(1.04); }
.cat-tile-overlay {
  position: static;
  padding: 24px 24px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg);
  color: var(--ink);
}
@media (min-width: 560px) {
  .cat-tile-overlay { padding: 36px 32px; }
}
.cat-tile-eyebrow {
  font-family: 'Inter';
  font-size: .75rem;                          /* was .7rem — bumped to 12px min for mobile readability */
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--teal);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
  transition: color .2s ease;
}
.cat-tile-name {
  color: var(--ink);
  font-size: 1.7rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 12px;
  transition: color .2s ease;
}
.cat-tile-count {
  font-size: .85rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.cat-tile:hover .cat-tile-name { color: var(--teal-deep); }
.cat-tile:hover .cat-tile-eyebrow { color: var(--amber); }

/* ─── Instagram grid ──────────────────────────────────────────────────── */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
@media (min-width: 700px) { .ig-grid { grid-template-columns: repeat(6, 1fr); } }
.ig-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--bg);
}
.ig-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
  filter: contrast(.95) saturate(1.1);
}
.ig-tile .ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1,30,27,.42);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s ease;
}
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile:hover .ig-overlay { opacity: 1; }

/* Shoppable IG tiles — a post tagged to a product */
.ig-tile .ig-shop-tag {
  position: absolute; left: 8px; bottom: 8px;
  background: var(--amber); color: var(--teal-deep);
  font-family: 'Inter', sans-serif; font-size: .62rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transform: translateY(4px); opacity: .95; transition: transform .25s ease;
}
.ig-tile--shop:hover .ig-shop-tag { transform: translateY(0); }

/* ─── Whatsapp floating ────────────────────────────────────────────────── */
.wa-float {
  position: fixed; right: 16px; bottom: 16px;
  background: #25D366; color: #fff; width: 54px; height: 54px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-3); z-index: 60;
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
@media (max-width: 720px) {
  /* Stack from bottom up: mobile-bottom-nav (0-64px) → sticky-add bar (64-~128px)
     → WhatsApp must clear both, so bottom: 144px. */
  .wa-float { bottom: 144px; right: 12px; width: 48px; height: 48px; }
  .wa-float svg { width: 24px; height: 24px; }
  /* On non-PDP pages there is no sticky-add bar, so 144px would float too high.
     Restore tighter spacing for routes without .sticky-add. */
  body:not(:has(.sticky-add)) .wa-float { bottom: 76px; }
}

/* ─── Bottom mobile nav (Instagram-style) ─────────────────────────────── */
.mobile-bottom-nav { display: none !important; }
.mobile-bottom-nav a { color: var(--ink-soft); text-decoration: none; }
.mobile-bottom-nav a span { font-weight: 500; }
.mobile-bottom-nav .bn-dot {
  position: absolute;
  top: 4px; right: 32%;
  background: var(--amber);
  color: var(--teal-deep);
  font-size: .62rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  min-width: 16px;
  text-align: center;
}
@media (max-width: 720px) {
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    z-index: 55;
    box-shadow: 0 -2px 12px rgba(18,46,42,.08);
    padding: 6px 0 max(6px, env(safe-area-inset-bottom));
  }
  .mobile-bottom-nav a {
    flex: 1 1 0;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    position: relative;
  }
  .mobile-bottom-nav a span {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: .76rem;
    letter-spacing: 0;
    text-transform: lowercase;
  }
  .mobile-bottom-nav a.active { color: var(--teal-deep); }
  .mobile-bottom-nav a.active svg { color: var(--teal); }
  body { padding-bottom: 64px; }
}

/* ─── Shop filters ─────────────────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 16px var(--gutter) 64px; }
@media (min-width: 900px) { .shop-layout { grid-template-columns: 200px 1fr; gap: 36px; } }

/* Shop title strip — H1 + count + sort, sits ABOVE the filter row */
.shop-title-strip {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 12px;
  padding: 24px var(--gutter) 14px;
}
.shop-title-strip .count { color: var(--ink-soft); font-size: .92rem; }
.shop-title-strip .count strong { color: var(--ink); font-weight: 600; }

/* Category chip row — horizontal scroll on mobile, inline on desktop */
.cat-chips {
  display: flex; gap: 8px;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  white-space: nowrap;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.cat-chip:hover { border-color: var(--teal); color: var(--teal); }
.cat-chip.active {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #fff;
}

/* Active filter chips — combinable filters, each removable */
.active-filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 4px 0 0; margin-bottom: 4px;
}
.active-filters-label { font-size: .85rem; color: var(--ink-soft); }
.active-filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal-deep);
  font-size: .85rem; font-weight: 500; text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.active-filter-pill:hover { background: #fff; border-color: var(--teal); }
.active-filter-pill span { font-size: 1.05rem; line-height: 1; opacity: .65; }
.active-filters-clear {
  font-size: .85rem; color: var(--ink-soft);
  text-decoration: underline; margin-left: 4px;
}
.active-filters-clear:hover { color: var(--teal-deep); }

.filters {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: .9rem;
  align-self: start;
  position: sticky;
  top: 100px;
  /* never exceed viewport — sticky sidebar with internal scroll */
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.filters h4 {
  font-family: 'Inter'; font-size: .76rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--ink-soft);
  margin: 18px 0 10px; font-weight: 500;
}
.filters h4:first-child { margin-top: 0; }
.filters a {
  display: block;
  padding: 5px 0;
  color: var(--ink);
}
.filters a.active { color: var(--teal); font-weight: 500; }
.filters a:hover { color: var(--teal); }

/* Mobile filter trigger + slide-up sheet ------------------------------- */
.filters-mobile-trigger { display: none; }
.filters-backdrop { display: none; }
.filters-sheet-header { display: none; }
.filters-clear {
  display: block; margin-top: 16px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--danger);
}

@media (max-width: 899px) {
  /* Show the floating Filter button + active-filter count */
  .filters-mobile-trigger {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 16px 9px 14px;
    font-family: 'Inter'; font-size: .9rem; font-weight: 500;
    color: var(--ink); cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    margin-bottom: 16px;
  }
  .filters-mobile-trigger:hover { border-color: var(--teal); }
  .filters-mobile-count {
    background: var(--teal); color: #fff;
    border-radius: 999px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 600;
  }

  /* Hide the filters aside off-screen by default */
  .filters {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto;
    width: 100%; max-height: 80vh;
    margin: 0; padding: 0;
    background: #fff; border: none;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 32px rgba(18,46,42,.18);
    transform: translateY(102%);
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
    z-index: 95;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .filters-sheet-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px 8px;
    position: sticky; top: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .filters-sheet-header h3 {
    margin: 0; font-family: 'Fraunces', serif; font-style: italic;
    font-weight: 500; font-size: 1.25rem; color: var(--teal-deep);
  }
  .filters-close {
    background: none; border: none; padding: 4px 8px;
    font-size: 1.8rem; line-height: 1;
    color: var(--ink-soft); cursor: pointer;
    min-width: 44px; min-height: 44px;
  }
  .filters a { padding: 10px 20px; font-size: 1rem; }
  .filters h4 { padding: 0 20px; margin: 18px 0 6px; }
  .filters-clear { margin: 16px 20px 32px; }

  /* Backdrop — covers viewport behind the sheet */
  .filters-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(1,30,27,.5);
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
    z-index: 90;
  }

  /* When open: slide sheet up + show backdrop + freeze body scroll */
  body.filters-open .filters { transform: translateY(0); }
  body.filters-open .filters-backdrop { opacity: 1; pointer-events: auto; }
  body.filters-open { overflow: hidden; }
}

.shop-results { }

/* What makes Jonaki different — 4-card differentiator block */
.diff-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-top: 32px;
}
@media (min-width: 640px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.diff-card {
  background: var(--bg-2);
  padding: 28px 24px;
  border-radius: var(--r-md);
  text-align: left;
}
.diff-card .diff-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.diff-card h3 {
  font-family: 'Fraunces', serif; font-weight: 500; font-style: italic;
  font-size: 1.15rem; margin: 0 0 8px; color: var(--teal-deep);
}
.diff-card p { color: var(--ink-soft); font-size: .92rem; line-height: 1.55; margin: 0; }

/* Glow Club loyalty teaser — premium gradient panel */
.section-glow {
  background: linear-gradient(135deg, var(--teal-deep) 0%, #0A5C52 100%);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.section-glow::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,176,75,.18) 0%, transparent 70%);
  pointer-events: none;
}
.glow-inner {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  align-items: center; position: relative;
}
@media (min-width: 900px) { .glow-inner { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; } }
.glow-text .eyebrow { color: var(--amber); }
.glow-text h2 {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem); color: #fff; margin: 8px 0 16px;
  line-height: 1.15;
}
.glow-text p { color: rgba(255,255,255,.84); margin: 0 0 20px; line-height: 1.65; font-size: 1.02rem; max-width: 560px; }
.glow-perks { list-style: none; padding: 0; margin: 0 0 24px; }
.glow-perks li { color: rgba(255,255,255,.92); padding: 6px 0; font-size: .95rem; }
.glow-perks li strong { color: var(--amber); font-weight: 600; }
.glow-art { position: relative; }
.glow-art img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 10; object-fit: cover; object-position: center;
  border-radius: 18px;
  border: 1px solid rgba(232,176,75,.28);
  box-shadow: 0 22px 55px rgba(0,0,0,.4);
}
@media (max-width: 899px) {
  .glow-art { margin-top: 8px; }
}

/* Newsletter signup — clean centered band */
.section-newsletter {
  background: #fff;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.newsletter-inner { text-align: center; }
.newsletter-inner .eyebrow { color: var(--amber); }
.newsletter-inner h2 {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem); margin: 8px 0 14px;
  color: var(--teal-deep);
}
.newsletter-inner p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 22px; line-height: 1.6; }
.newsletter-inner strong { color: var(--teal-deep); font-weight: 600; }
.newsletter-form {
  display: flex; gap: 8px; max-width: 460px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1; min-width: 220px;
  padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-2); font-size: 1rem;
}
.newsletter-form input[type="email"]:focus { border-color: var(--teal); outline: none; background: #fff; }
.newsletter-form .btn { white-space: nowrap; }

/* Account section layout: sidebar nav + main pane ----------------------- */
.account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px 0 64px;
}
@media (min-width: 900px) {
  .account-layout { grid-template-columns: 240px 1fr; gap: 36px; }
}
.account-nav {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  align-self: start;
}
.account-nav h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 4px;
  color: var(--teal-deep);
}
.account-nav a {
  display: block;
  padding: 8px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.account-nav a:last-of-type { border-bottom: none; }
.account-nav a:hover { color: var(--teal); }
.account-nav a.active { color: var(--teal); font-weight: 500; }
.account-main { min-width: 0; }   /* prevent overflow inside grid cell */
@media (max-width: 899px) {
  .account-nav { padding: 14px 18px; }
  .account-nav a { padding: 12px 0; }
}
.shop-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.shop-header h1 { margin: 0; font-size: 1.6rem; }
.shop-header .count { color: var(--ink-soft); font-size: .9rem; }

/* ─── Admin ────────────────────────────────────────────────────────────── */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; background: var(--bg); }
.admin-side {
  background: var(--teal-deep); color: #fff;
  padding: 24px 0;
  position: sticky; top: 0;
  align-self: start;                /* stop the grid stretching it — so 100vh is honored */
  height: 100vh; box-sizing: border-box;
  overflow-y: auto;                 /* scroll internally when nav is taller than the viewport */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) transparent;
}
.admin-side::-webkit-scrollbar { width: 6px; }
.admin-side::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 3px; }
.admin-side h1 {
  color: #fff; font-family: 'Fraunces', serif; font-size: 1.3rem;
  letter-spacing: .04em; padding: 0 22px 18px; margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-side a {
  display: block; padding: 8px 22px; color: rgba(255,255,255,.78);
  font-size: .92rem;
}
.admin-side a:hover, .admin-side a.active {
  background: rgba(255,255,255,.07); color: #fff;
}
.admin-main { padding: 24px 32px; }

/* Dashboard charts */
.chart-title { font-family: 'Fraunces', serif; font-size: 1.05rem; margin: 0 0 4px; color: var(--ink); }
.chart-sub { font-size: .82rem; color: var(--ink-soft); margin: 0 0 14px; }
.hbars { display: flex; flex-direction: column; gap: 10px; }
.hbar-row { display: grid; grid-template-columns: 128px 1fr auto; align-items: center; gap: 12px; }
.hbar-label { font-size: .86rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-note { color: var(--ink-soft); font-size: .78rem; margin-left: 4px; }
.hbar-track { background: #eef2f1; border-radius: 999px; height: 12px; overflow: hidden; }
.hbar-fill { height: 100%; border-radius: 999px; min-width: 4px; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.hbar-val { font-size: .86rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.statusbar { display: flex; height: 16px; border-radius: 8px; overflow: hidden; gap: 2px; background: #eef2f1; }
.statusbar-seg { height: 100%; }
.statusbar-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: .84rem; color: var(--ink-soft); }
.statusbar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.statusbar-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.statusbar-legend strong { color: var(--ink); }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 4px 0 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.kpi .kpi-v { font-size: 1.7rem; font-weight: 600; color: var(--ink); font-family: 'Fraunces', serif; }
.kpi .kpi-k { font-size: .8rem; color: var(--ink-soft); margin-top: 2px; }
.kpi .kpi-sub { font-size: .75rem; color: var(--teal); margin-top: 3px; }
@media (max-width: 720px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } .hbar-row { grid-template-columns: 96px 1fr auto; } }
.admin-card {
  background: #fff; border-radius: var(--r-md); padding: 20px 24px;
  box-shadow: var(--shadow-1);
}
.admin-table { width: 100%; margin-top: 12px; }
.admin-table th, .admin-table td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
  vertical-align: middle;
}
.admin-table th { font-weight: 500; color: var(--ink-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-status {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 500;
}
.admin-status.paid { background: #D6EFE7; color: #0F6048; }
.admin-status.pending { background: #FCEDD2; color: #8A5A11; }
.admin-status.shipped { background: var(--teal-soft); color: var(--teal-deep); }
.admin-status.cancelled, .admin-status.failed { background: #F8D9D9; color: #8C2424; }
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
@media (min-width: 800px) { .admin-stats { grid-template-columns: repeat(4, 1fr); } }
.admin-stat {
  background: #fff; padding: 18px 22px; border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}
.admin-stat strong {
  display: block; font-size: 1.6rem; font-family: 'Fraunces', serif;
  color: var(--teal-deep); margin-bottom: 4px;
}
.admin-stat span { color: var(--ink-soft); font-size: .85rem; }
.admin-login {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; background: var(--teal-deep);
}
.admin-login .card {
  background: #fff; padding: 36px 32px; border-radius: var(--r-md);
  width: 100%; max-width: 380px;
  box-shadow: var(--shadow-3);
}
.admin-login h1 { font-family: 'Fraunces', serif; font-size: 1.5rem; text-align: center; margin-bottom: 22px; color: var(--teal-deep); }

/* ─── Header search — icon-trigger + full-width overlay ─────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 30, 27, .65);
  z-index: 90;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 88px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: search-fade .18s ease;
}
.search-overlay.open { display: flex; }
.search-overlay-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 16px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 24px 48px rgba(0,0,0,.32);
  overflow: hidden;
  animation: search-slide .22s ease;
}
.search-overlay-form {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px 14px 4px 16px;
  border-bottom: 1px solid var(--line);
}
.search-overlay-form .search-icon { color: var(--ink-soft); margin-right: 12px; flex: 0 0 auto; }
.search-overlay-form input[type="search"] {
  flex: 1;
  height: 60px;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -.01em;
  color: var(--ink);
  padding: 0 8px;
}
.search-overlay-form input[type="search"]::placeholder {
  color: var(--ink-soft);
  font-style: italic;
  opacity: .85;
}
/* Hide the browser's native search-clear "×" so only our single close button shows
   (otherwise two crosses appear once text is entered). */
.search-overlay-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search-overlay-form input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 8px 6px;
  line-height: 1;
  flex: 0 0 auto;
}
.search-close:hover { color: var(--teal); }
.search-suggest {
  /* Dropdown below the input — must be taken OUT of the flex row (.search-overlay-form
     is display:flex), otherwise the results render as a flex item to the RIGHT of the
     input and get squished against the right edge. */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  max-height: 60vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(18, 46, 42, .12);
}
.search-suggest.open { display: block; }
.search-suggest a {
  display: flex; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--line-2);
  text-decoration: none; color: var(--ink); align-items: center;
}
.search-suggest a:last-child { border-bottom: none; }
.search-suggest a:hover, .search-suggest a:focus { background: var(--teal-soft); outline: none; }
.search-suggest img { width: 48px; height: 48px; object-fit: contain; background:#fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px; }
.search-suggest .name { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 500; display: block; }
.search-suggest .cat { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: 2px; }
.search-suggest .price { margin-left: auto; font-weight: 600; color: var(--teal-deep); }
.search-hints {
  padding: 14px 18px;
  background: var(--bg);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: .88rem;
}
.search-hints .muted { color: var(--ink-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.search-hints a {
  display: inline-flex;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: .85rem;
  transition: all .15s ease;
}
.search-hints a:hover { border-color: var(--teal); color: var(--teal-deep); background: var(--teal-soft); }

@keyframes search-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes search-slide { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) {
  .search-overlay { padding-top: 0; }
  .search-overlay-inner { margin: 0; border-radius: 0; min-height: 100vh; max-width: none; }
  .search-overlay-form input[type="search"] { font-size: 1rem; }
  /* Results fill the screen below the input instead of stopping at 60vh.
     dvh handles the mobile browser chrome; padding clears the fixed bottom nav. */
  .search-suggest {
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    padding-bottom: 76px;
    box-shadow: none;
    border-bottom: none;
  }
}

/* ─── Free-shipping progress bar ──────────────────────────────────────── */
.ship-progress {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin: 14px 0;
  font-size: .9rem;
}
.ship-progress .label { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--ink-soft); }
.ship-progress .label strong { color: var(--teal-deep); }
.ship-progress .track {
  background: var(--line-2); height: 6px; border-radius: 999px; overflow: hidden;
}
.ship-progress .fill {
  background: linear-gradient(90deg, var(--teal), var(--amber));
  height: 100%; transition: width .35s ease;
}
.ship-progress.done .fill { background: var(--good); }

/* ─── PDP sold-out state ──────────────────────────────────────────────── */
.pdp-soldout {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 20px 0;
  margin: 14px 0 4px;
  text-align: center;
}
.pdp-soldout strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--teal-deep);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.pdp-soldout span {
  display: block;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.55;
  max-width: 380px;
  margin: 0 auto;
}

/* ─── Product card sold-out overlay ───────────────────────────────────── */
.product-card.sold-out { position: relative; }
.product-card.sold-out::after {
  content: 'Sold';
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(1,30,27,.88);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: .78rem;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 3;
  pointer-events: none;
}
.product-card.sold-out .product-card-img { opacity: .55; transition: opacity .2s; }
.product-card.sold-out:hover .product-card-img { opacity: .7; }

/* ─── PDP promise band — letterpress treatment ────────────────────────── */
.pdp-promise {
  background: transparent;
  border: none;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 24px 0;
  margin: 32px 0;
}
.pdp-promise h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--teal-deep);
  margin: 0 0 16px;
  letter-spacing: 0;
}
.pdp-promise ul { list-style: none; padding: 0; margin: 0; counter-reset: promise; }
.pdp-promise li {
  counter-increment: promise;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 10px 0;
  align-items: baseline;
  border-bottom: 1px dotted var(--line-2);
}
.pdp-promise li:last-child { border-bottom: none; }
.pdp-promise li::before {
  content: counter(promise, decimal-leading-zero);
  font-family: 'Inter';
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--amber);
  font-feature-settings: 'tnum';
  margin-top: 0;
}
.pdp-promise li > span { font-size: .94rem; line-height: 1.55; }
.pdp-promise li strong { color: var(--ink); font-weight: 500; }

/* ─── Ships-by ─────────────────────────────────────────────────────────── */
.ships-by {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-soft); color: var(--teal-deep);
  padding: 4px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 500; margin-top: 4px;
}

/* ─── EMI hint ─────────────────────────────────────────────────────────── */
.emi-hint { font-size: .85rem; color: var(--ink-soft); margin: -8px 0 12px; }
.emi-hint strong { color: var(--teal-deep); font-weight: 500; }

/* ─── WhatsApp inline link (PDP) ──────────────────────────────────────── */
.wa-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 4px;
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: rgba(37, 211, 102, .08);
  color: #128C7E;
  border: 1px solid rgba(37, 211, 102, .25);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: all .15s ease;
}
.wa-inline svg { color: #25D366; flex: 0 0 auto; }
.wa-inline:hover {
  background: rgba(37, 211, 102, .15);
  border-color: rgba(37, 211, 102, .5);
  color: #075E54;
  transform: translateY(-1px);
}

/* ─── Sticky add-to-cart (mobile PDP) ─────────────────────────────────── */
/* Sits ABOVE the mobile-bottom-nav (which is z-index 55). When the bottom nav is
   present, sticky-add appears between it and the content. */
.sticky-add {
  position: fixed; bottom: 64px; left: 0; right: 0;
  background: #fff; padding: 12px 14px;
  border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(18,46,42,.06);
  display: none; z-index: 60;
  align-items: center; justify-content: space-between; gap: 12px;
}
.sticky-add .name { font-family: 'Fraunces', serif; font-size: .94rem; font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-add .price { font-weight: 600; color: var(--teal-deep); margin-right: 8px; }
@media (max-width: 720px) {
  .sticky-add { display: flex; }
  .pdp { padding-bottom: 140px; }       /* room for both sticky-add (~64px) + mobile-bottom-nav (~64px) */
}

/* ─── Welcome popup ──────────────────────────────────────────────────── */
.popup-backdrop {
  position: fixed; inset: 0; background: rgba(18,46,42,.6);
  display: none; align-items: center; justify-content: center;
  z-index: 80; padding: 16px;
}
.popup-backdrop.open { display: flex; }
.popup {
  background: #fff; padding: 36px 30px;
  border-radius: var(--r-md);
  max-width: 420px; width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-3);
}
.popup .close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; font-size: 1.3rem;
  color: var(--ink-soft); cursor: pointer;
}
.popup h2 { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; margin-bottom: 6px; color: var(--teal-deep); }
.popup .spark { font-size: 2rem; color: var(--amber); }
.popup form { display: flex; gap: 8px; margin-top: 14px; }
.popup input[type="email"] {
  flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font-size: .95rem;
}
.popup button[type="submit"] {
  background: var(--amber); color: var(--teal-deep);
  border: none; padding: 0 18px; border-radius: var(--r-sm);
  font-weight: 500; cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}
.popup button[type="submit"]:hover {
  background: var(--teal-deep); color: var(--amber);
}
.popup .code-reveal {
  background: var(--teal-soft); border: 1px dashed var(--teal);
  padding: 14px; border-radius: var(--r-sm); margin-top: 14px;
  display: none;
}
.popup .code-reveal.show { display: block; }
.popup .code-reveal strong { font-family: 'Fraunces', serif; color: var(--teal-deep); font-size: 1.2rem; letter-spacing: .04em; }

/* ─── Recently viewed strip ────────────────────────────────────────── */
.recently-viewed { margin: 32px 0; }
.recently-viewed h3 { font-family: 'Fraunces', serif; font-weight: 500; }

/* ─── Recent purchase toast ──────────────────────────────────────────── */
.toast {
  position: fixed; left: 16px; bottom: 78px;
  background: #fff; border: 1px solid var(--line);
  padding: 12px 14px; border-radius: var(--r-md);
  box-shadow: var(--shadow-3); z-index: 50;
  display: flex; gap: 10px; align-items: center;
  max-width: 320px; font-size: .85rem;
  transform: translateY(20px); opacity: 0;
  transition: transform .3s, opacity .3s;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast img { width: 40px; height: 40px; border-radius: 4px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.toast strong { font-family: 'Fraunces', serif; font-weight: 500; }
.toast .close { background: none; border: none; cursor: pointer; color: var(--ink-soft); padding: 2px 4px; }
@media (max-width: 720px) {
  .toast { left: 12px; right: 78px; bottom: 76px; max-width: none; }
}

/* ─── Gift options ────────────────────────────────────────────────────── */
.gift-options {
  background: linear-gradient(135deg, var(--teal-soft), #fff);
  border: 1px solid var(--teal-soft);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin: 18px 0;
}
.gift-options label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.gift-options input[type="checkbox"] { margin-top: 4px; }
.gift-options strong { display: block; color: var(--teal-deep); margin-bottom: 2px; }
.gift-options small { color: var(--ink-soft); }
.gift-options textarea {
  display: none; margin-top: 10px; width: 100%;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff;
}
.gift-options.on textarea { display: block; }

/* ─── UPI shortcut row ────────────────────────────────────────────────── */
.upi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 14px; }
.upi-row button {
  background: #fff; border: 1px solid var(--line);
  padding: 10px 6px; border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 500; cursor: pointer;
  transition: border-color .15s;
}
.upi-row button:hover { border-color: var(--teal); color: var(--teal-deep); }

/* ─── Misc utility ─────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.hide-mobile { display: none; }
@media (min-width: 700px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }
