/* ============================================================================
   hymenbloodcapsule.in — design system
   Quiet clinical luxury. Mobile-first. Calm is the conversion strategy.
   ========================================================================= */

:root {
  /* ink */
  --ink:        #211A26;
  --ink-2:      #3A2F42;
  --ink-3:      #6B6072;
  --ink-4:      #9A92A0;

  /* ground */
  --ground:     #FBF8F4;
  --ground-2:   #F4EEE7;
  --ground-3:   #EBE2D8;
  --white:      #FFFFFF;

  /* accents */
  --rose:       #B35A6E;
  --rose-deep:  #8E4356;
  --rose-soft:  #F2E2E5;
  --sage:       #5F7A68;
  --sage-soft:  #E3EBE4;
  --bronze:     #9C7B4D;
  --bronze-soft:#F0E6D6;

  --line:       rgba(33, 26, 38, .11);
  --line-2:     rgba(33, 26, 38, .18);

  --radius:     14px;
  --radius-lg:  22px;
  --radius-sm:  9px;

  --shadow-sm:  0 1px 2px rgba(33,26,38,.05), 0 2px 8px rgba(33,26,38,.04);
  --shadow:     0 2px 6px rgba(33,26,38,.06), 0 12px 32px rgba(33,26,38,.08);
  --shadow-lg:  0 4px 12px rgba(33,26,38,.07), 0 24px 60px rgba(33,26,38,.12);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-deva:    'Mukta', 'Noto Sans Devanagari', sans-serif;

  --wrap: 1140px;
  --gut:  20px;
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------ typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.016em;
  margin: 0 0 .55em;
  font-variation-settings: 'SOFT' 18, 'WONK' 1, 'opsz' 40;
}
h1 { font-size: clamp(2.05rem, 7.2vw, 3.65rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.6rem, 4.9vw, 2.5rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.17rem, 3vw, 1.42rem); }
h4 { font-size: 1.04rem; font-family: var(--font-body); font-weight: 650; letter-spacing: -.005em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.04rem, 2.4vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
.eyebrow {
  font-size: .735rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase;
  color: var(--bronze); margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ''; width: 24px; height: 1.5px; background: var(--bronze); flex: none; }
.eyebrow.center { justify-content: center; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; line-height: 1.55; }
.xs    { font-size: .79rem; line-height: 1.5; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 740px; }
section { padding-block: clamp(3.2rem, 8vw, 5.8rem); }
.section-head { max-width: 660px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ------------------------------------------------------------- topbar */
.topbar {
  background: var(--ink); color: var(--ground-2);
  font-size: .78rem; letter-spacing: .02em; padding: .55rem 0;
  position: relative; z-index: 60;
}
.topbar .wrap { display: flex; gap: 1.1rem; justify-content: center; align-items: center; flex-wrap: nowrap; overflow: hidden; }
.topbar span:nth-child(3) { display: none; }
@media (min-width: 620px) { .topbar .wrap { gap: 1.4rem; } .topbar span:nth-child(3) { display: inline-flex; } }
.topbar span { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar svg { width: 13px; height: 13px; opacity: .75; flex: none; }

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,244,.86);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 1rem; }
.logo { font-family: var(--font-display); font-weight: 650; font-size: 1.12rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; display: flex; align-items: baseline; gap: .42rem; }
.logo em { font-style: normal; color: var(--rose); }
.logo small { font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); display: none; }
@media (min-width: 560px) { .logo small { display: inline; } }
.nav { display: none; gap: 1.6rem; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .885rem; font-weight: 520; transition: color .18s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rose-deep); }
.header-cta {
  background: var(--ink); color: var(--ground); text-decoration: none;
  padding: .52rem 1.1rem; border-radius: 100px; font-size: .85rem; font-weight: 620;
  white-space: nowrap; transition: background .2s, transform .2s;
}
.header-cta:hover { background: var(--rose-deep); color: var(--white); transform: translateY(-1px); }

@media (min-width: 900px) { .nav { display: flex; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-top: clamp(2rem, 5vw, 3.4rem); padding-bottom: clamp(2.4rem, 6vw, 4rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 48% at 78% 8%,  rgba(179,90,110,.10), transparent 66%),
    radial-gradient(52% 46% at 10% 86%, rgba(95,122,104,.10), transparent 66%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.6rem); }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.04fr .96fr; align-items: start; } }

.hero h1 { margin-bottom: .5em; }
.hero h1 .accent { color: var(--rose-deep); font-style: italic; }

.trust-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--white); border: 1px solid var(--line);
  padding: .44rem .78rem; border-radius: 100px;
  font-size: .795rem; font-weight: 560; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 14px; height: 14px; flex: none; color: var(--sage); }

/* answer box — the passage built to be quoted by AI engines */
.answer-box {
  background: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--rose);
  border-radius: var(--radius); padding: 1.3rem 1.4rem;
  margin: 1.8rem 0 0; box-shadow: var(--shadow-sm);
}
.answer-box p { font-size: 1.005rem; line-height: 1.62; color: var(--ink-2); }
.answer-box strong { color: var(--ink); font-weight: 650; }

/* ------------------------------------------------------- purchase card */
.buy-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; position: relative;
}
@media (min-width: 980px) { .buy-card { position: sticky; top: 82px; } }

.buy-head { padding: 1.4rem 1.4rem 0; }
.price-line { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: .2rem; }
.price-now  { font-family: var(--font-display); font-size: 2.3rem; font-weight: 640; letter-spacing: -.03em; line-height: 1; }
.price-mrp  { color: var(--ink-4); text-decoration: line-through; font-size: 1.02rem; }
.price-off  { background: var(--sage-soft); color: var(--sage); font-size: .76rem; font-weight: 680; padding: .22rem .55rem; border-radius: 100px; letter-spacing: .01em; }
.price-note { font-size: .815rem; color: var(--ink-3); margin-top: .3rem; }

.packs { display: grid; gap: .55rem; padding: 1.1rem 1.4rem 0; }
.pack {
  display: flex; align-items: center; gap: .85rem;
  border: 1.5px solid var(--line-2); border-radius: var(--radius);
  padding: .78rem .9rem; cursor: pointer; background: var(--white);
  transition: border-color .18s, background .18s, box-shadow .18s;
  position: relative;
}
.pack:hover { border-color: var(--ink-4); }
.pack input { position: absolute; opacity: 0; pointer-events: none; }
.pack .dot {
  width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--line-2);
  flex: none; display: grid; place-items: center; transition: border-color .18s;
}
.pack .dot::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); transform: scale(0); transition: transform .18s cubic-bezier(.34,1.56,.64,1); }
.pack-body { flex: 1; min-width: 0; }
.pack-label { font-weight: 640; font-size: .95rem; letter-spacing: -.005em; }
.pack-sub { font-size: .775rem; color: var(--ink-3); }
.pack-price { text-align: right; flex: none; }
.pack-price b { font-size: 1.02rem; font-weight: 660; letter-spacing: -.015em; }
.pack-price s { display: block; font-size: .735rem; color: var(--ink-4); }
.pack-badge {
  position: absolute; top: -8px; right: 12px;
  background: var(--bronze); color: var(--white);
  font-size: .645rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .16rem .5rem; border-radius: 100px;
}
.pack:has(input:checked) { border-color: var(--rose); background: #FFFCFC; box-shadow: 0 0 0 3px rgba(179,90,110,.09); }
.pack:has(input:checked) .dot { border-color: var(--rose); }
.pack:has(input:checked) .dot::after { transform: scale(1); }

/* payment toggle */
.pay-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: 1.1rem 1.4rem 0; }
.pay-opt {
  border: 1.5px solid var(--line-2); border-radius: var(--radius);
  padding: .72rem .6rem; text-align: center; cursor: pointer; background: var(--white);
  transition: border-color .18s, background .18s, box-shadow .18s; position: relative;
}
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt .t { font-weight: 640; font-size: .9rem; display: block; }
.pay-opt .s { font-size: .735rem; color: var(--ink-3); }
.pay-opt:has(input:checked) { border-color: var(--rose); background: #FFFCFC; box-shadow: 0 0 0 3px rgba(179,90,110,.09); }
.pay-opt:has(input:checked) .s { color: var(--rose-deep); font-weight: 600; }

/* form */
.buy-form { padding: 1.15rem 1.4rem 1.4rem; }
.field { margin-bottom: .68rem; }
.field label { display: block; font-size: .785rem; font-weight: 620; color: var(--ink-2); margin-bottom: .26rem; letter-spacing: .005em; }
.field input, .field textarea, .field select {
  width: 100%; padding: .68rem .8rem; font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--ground); color: var(--ink); transition: border-color .18s, background .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--rose); background: var(--white);
  box-shadow: 0 0 0 3px rgba(179,90,110,.1);
}
.field textarea { resize: vertical; min-height: 68px; }
.field.half-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.field .err { color: var(--rose-deep); font-size: .74rem; margin-top: .22rem; display: none; font-weight: 560; }
.field.invalid input { border-color: var(--rose); }
.field.invalid .err { display: block; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%; border: none; border-radius: 100px;
  padding: .98rem 1.3rem; font-size: 1.02rem; font-weight: 680; letter-spacing: -.008em;
  background: var(--ink); color: var(--ground);
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(33,26,38,.18);
  text-decoration: none; text-align: center;
}
.btn:hover { background: var(--rose-deep); transform: translateY(-1.5px); box-shadow: 0 7px 22px rgba(142,67,86,.28); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn svg { width: 17px; height: 17px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }

.buy-foot { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; justify-content: center; padding: .9rem 1.4rem 1.3rem; border-top: 1px solid var(--line); margin-top: .2rem; }
.buy-foot span { font-size: .755rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: .32rem; }
.buy-foot svg { width: 12px; height: 12px; color: var(--sage); flex: none; }

.form-msg { padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .88rem; margin-bottom: .8rem; display: none; line-height: 1.5; }
.form-msg.ok  { background: var(--sage-soft); color: var(--sage); display: block; }
.form-msg.bad { background: var(--rose-soft); color: var(--rose-deep); display: block; }

/* --------------------------------------------------------------- cards */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 680px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem;
  box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3, .card h4 { margin-bottom: .4em; }
.card p { font-size: .91rem; color: var(--ink-2); line-height: 1.6; }

/* steps */
.steps { display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4,1fr); } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem; position: relative; overflow: hidden; }
.step::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--rose), var(--bronze)); opacity: .5; }
.step .n { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--rose-soft); line-height: 1; margin-bottom: .5rem; letter-spacing: -.03em; }
.step h3 { font-size: 1.04rem; font-family: var(--font-body); font-weight: 660; letter-spacing: -.01em; }
.step p { font-size: .885rem; color: var(--ink-2); line-height: 1.58; }

/* is / isn't */
.isnt-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .isnt-grid { grid-template-columns: 1fr 1fr; } }
.isnt-col { border-radius: var(--radius-lg); padding: 1.5rem 1.45rem; border: 1px solid var(--line); }
.isnt-col.yes { background: var(--sage-soft); border-color: rgba(95,122,104,.22); }
.isnt-col.no  { background: var(--rose-soft); border-color: rgba(179,90,110,.2); }
.isnt-col h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 680; display: flex; align-items: center; gap: .5rem; margin-bottom: .9em; }
.isnt-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .62rem; }
.isnt-col li { display: flex; gap: .6rem; font-size: .9rem; line-height: 1.53; color: var(--ink-2); }
.isnt-col li svg { width: 16px; height: 16px; flex: none; margin-top: .22rem; }
.isnt-col.yes li svg { color: var(--sage); }
.isnt-col.no  li svg { color: var(--rose); }

/* safety band */
.band-sage { background: var(--sage-soft); border-block: 1px solid rgba(95,122,104,.18); }
.band-ink  { background: var(--ink); color: var(--ground-2); }
.band-ink h2, .band-ink h3 { color: var(--white); }
.band-ink .muted { color: rgba(251,248,244,.6); }
.band-ink .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.13); box-shadow: none; }
.band-ink .card p { color: rgba(251,248,244,.78); }
.band-ground2 { background: var(--ground-2); }

.avoid-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .58rem; }
.avoid-list li { display: flex; gap: .62rem; align-items: flex-start; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.avoid-list li::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rose);
  flex: none; margin-top: .55rem;
}

/* discreet box visual */
.parcel {
  background: linear-gradient(152deg, #CBB49A, #B89C7E);
  border-radius: var(--radius-lg); padding: 2rem 1.6rem;
  color: #3B2F22; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.parcel::before {
  content: ''; position: absolute; inset: 0; opacity: .3;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 2px, transparent 2px 7px);
}
.parcel::after {
  content: ''; position: absolute; left: 0; right: 0; top: 48%; height: 24px;
  background: rgba(255,255,255,.26); border-block: 1px dashed rgba(59,47,34,.22);
}
.parcel-inner { position: relative; z-index: 1; }
.parcel-label {
  background: rgba(255,255,255,.92); border-radius: 7px; padding: .85rem .95rem;
  font-size: .8rem; line-height: 1.5; box-shadow: 0 2px 10px rgba(59,47,34,.14);
  max-width: 290px;
}
.parcel-label b { display: block; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: #8A7558; margin-bottom: .2rem; font-weight: 700; }

/* price table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
th, td { padding: .82rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--ground-2); font-weight: 670; font-size: .775rem; letter-spacing: .055em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
tr.own td { background: #FFFBFB; font-weight: 580; }
tr.own td:first-child { box-shadow: inset 3px 0 0 var(--rose); }
td .seller { font-weight: 640; }

/* FAQ */
.faq-list { display: grid; gap: .6rem; }
details.faq {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s;
}
details.faq[open] { box-shadow: var(--shadow); border-color: var(--line-2); }
details.faq summary {
  padding: 1.02rem 3rem 1.02rem 1.2rem; cursor: pointer; list-style: none;
  font-weight: 620; font-size: .975rem; position: relative; color: var(--ink);
  letter-spacing: -.008em; line-height: 1.45;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ''; position: absolute; right: 1.2rem; top: 50%;
  width: 9px; height: 9px; margin-top: -5px;
  border-right: 2px solid var(--ink-4); border-bottom: 2px solid var(--ink-4);
  transform: rotate(45deg); transition: transform .24s;
}
details.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.faq .faq-body { padding: 0 1.2rem 1.15rem; font-size: .925rem; color: var(--ink-2); line-height: 1.64; }

/* sticky mobile buy bar */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(251,248,244,.96);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-top: 1px solid var(--line-2);
  padding: .62rem var(--gut); padding-bottom: calc(.62rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .8rem;
  transform: translateY(110%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 22px rgba(33,26,38,.09);
}
.buybar.show { transform: translateY(0); }
.buybar-price { flex: none; line-height: 1.2; }
.buybar-price b { font-family: var(--font-display); font-size: 1.22rem; font-weight: 640; letter-spacing: -.02em; display: block; }
.buybar-price span { font-size: .695rem; color: var(--ink-3); }
.buybar .btn { flex: 1; padding: .76rem 1rem; font-size: .95rem; box-shadow: none; }
@media (min-width: 980px) { .buybar { display: none; } }

/* whatsapp */
.wa-float {
  position: fixed; right: 14px; z-index: 65;
  bottom: calc(16px + env(safe-area-inset-bottom));
  transition: transform .2s, bottom .3s cubic-bezier(.4,0,.2,1), opacity .2s;
  width: 44px; height: 44px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); color: #fff;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 23px; height: 23px; }
/* Lift clear of the sticky buy bar when it slides in, and get out of the way
   entirely while the order form is the thing on screen. */
body.buybar-open .wa-float { bottom: calc(74px + env(safe-area-inset-bottom)); }
body.form-focus .wa-float { opacity: 0; pointer-events: none; }
@media (min-width: 980px) { .wa-float { bottom: 22px; right: 22px; width: 48px; height: 48px; } .wa-float svg { width: 25px; height: 25px; } }

/* footer */
.site-footer { background: var(--ink); color: rgba(251,248,244,.72); padding-block: 3rem 2rem; font-size: .875rem; }
.site-footer a { color: rgba(251,248,244,.86); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9em; font-weight: 650; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); padding-top: 1.5rem; font-size: .79rem; color: rgba(251,248,244,.5); line-height: 1.6; }
.footer-bottom p { margin-bottom: .7em; }

/* breadcrumb */
.crumb { font-size: .79rem; color: var(--ink-3); padding-top: 1.3rem; }
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--rose-deep); text-decoration: underline; }
.crumb span { margin-inline: .4rem; opacity: .5; }

/* prose for article pages */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2.3em; }
.prose h3 { margin-top: 1.7em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; display: grid; gap: .45rem; }
.prose li { line-height: 1.62; }
.prose blockquote {
  margin: 1.6em 0; padding: 1.1rem 1.3rem; background: var(--white);
  border-left: 3px solid var(--rose); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .96rem; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.prose blockquote p:last-child { margin-bottom: 0; }

/* Page-load reveal.
   Transform only — never opacity. The h1 is the LCP element, and an element
   that starts invisible delays the largest paint and reads as a blank hero
   if the animation is interrupted. Motion without the visibility cost. */
.reveal { transform: translateY(10px); animation: rise .5s cubic-bezier(.22,1,.36,1) forwards; }
.reveal:nth-child(2) { animation-delay: .05s; }
.reveal:nth-child(3) { animation-delay: .1s; }
.reveal:nth-child(4) { animation-delay: .15s; }
@keyframes rise { to { transform: none; } }

/* Devanagari */
[lang="hi"], .deva { font-family: var(--font-deva); }
[lang="hi"] h1, [lang="hi"] h2, [lang="hi"] h3, [lang="hi"] h4 { font-family: var(--font-deva); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--ground);
  padding: .7rem 1.1rem; z-index: 200; border-radius: 0 0 var(--radius-sm) 0; font-weight: 620;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------- product media */
.product-media {
  background: linear-gradient(158deg, var(--ground-2), var(--ground-3));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.2rem;
}
.product-media img, .product-media picture { width: 100%; height: auto; display: block; }

.img-placeholder {
  display: grid; place-content: center; gap: .55rem; justify-items: center;
  width: 100%; color: var(--ink-4);
  background:
    repeating-linear-gradient(45deg, rgba(33,26,38,.025) 0 10px, transparent 10px 20px),
    linear-gradient(158deg, var(--ground-2), var(--ground-3));
}
.img-placeholder svg { width: 34px; height: 34px; opacity: .5; }
.img-placeholder span { font-size: .78rem; font-weight: 580; letter-spacing: .02em; }

.thumb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.thumb-row .product-media { margin-bottom: 0; border-radius: var(--radius-sm); }
.thumb-row .img-placeholder span { display: none; }
.thumb-row .img-placeholder svg { width: 20px; }

/* ------------------------------------------------------------ consent bar */
.consent-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink); color: rgba(251,248,244,.88);
  padding: .9rem var(--gut); padding-bottom: calc(.9rem + env(safe-area-inset-bottom));
  display: grid; gap: .7rem; align-items: center;
  transform: translateY(110%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -6px 26px rgba(33,26,38,.26);
}
.consent-bar.show { transform: translateY(0); }
.consent-bar p { margin: 0; font-size: .83rem; line-height: 1.5; }
.consent-bar a { color: var(--white); }
.consent-actions { display: flex; gap: .5rem; }
.consent-bar button {
  flex: 1; border-radius: 100px; padding: .55rem 1.1rem;
  font-size: .85rem; font-weight: 640; border: 1.5px solid rgba(255,255,255,.3);
  background: transparent; color: var(--ground); transition: background .18s, color .18s;
}
.consent-bar .consent-yes { background: var(--ground); color: var(--ink); border-color: var(--ground); }
.consent-bar button:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
/* keep it clear of the sticky buy bar and the WhatsApp button */
body.consent-open .buybar { bottom: 96px; }
body.consent-open .wa-float { bottom: calc(160px + env(safe-area-inset-bottom)); }
@media (min-width: 640px) {
  .consent-bar { grid-template-columns: 1fr auto; gap: 1.4rem; }
  .consent-actions { flex: none; }
  .consent-bar button { flex: none; }
}
