/* Vridhie. Concept: cold outside, fleece inside.
   The page opens in frost blue and warms to fleece peach as you scroll.
   Palette: Peach Fuzz family (fleece) + dusty winter blue (frost) + one ember CTA.
   Type: Fraunces (soft axis, headings) + Nunito (body). 8pt spacing. Light theme by design. */

:root {
  color-scheme: light;
  --frost-0: #E6EEF6;
  --frost-1: #EEF3F8;
  --frost-ink: #23415F;
  --warm-mid: #F7F1EC;
  --fleece-0: #FFF6EF;
  --fleece-1: #FFE7D6;
  --fleece-2: #FFBE98;
  --ember: #E07A5F;
  --cta: #B4512F;
  --cta-dark: #963F22;
  --ink: #3F2A20;
  --muted: #74594B;
  --line: #EED8C8;
  --paper: #FFFDFB;
  --select: #23415F;
  --wa: #1E7E45;
  --ok: #2F7A4F;
  --err: #B3261E;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 76px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fleece-0);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: clamp(28px, 5.4vw, 42px); margin-bottom: 12px; }
h3 { font-size: 24px; }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid var(--frost-ink); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sub { font-size: 18px; color: var(--muted); max-width: 62ch; }
.note { font-size: 15px; color: var(--muted); }
.sr, .chip input, .offer input, .pay__opt input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Draft markers: visible only in draft builds */
mark.todo { background: #FFE58A; color: var(--ink); padding: 0 4px; border-radius: 4px; }
mark.confirm { background: #D9ECFF; color: var(--ink); padding: 0 4px; border-radius: 4px; }
.draftbar { background: #FFF3C4; color: var(--ink); font-size: 14px; padding: 8px var(--gutter); border-bottom: 1px solid #E8D58A; }
.draftbar summary { cursor: pointer; font-weight: 800; }
.draftbar ol { margin: 8px 0 4px; padding-left: 20px; columns: 2 320px; }
.draftbar code { font-size: 12px; color: var(--muted); }

/* Ribbon + header */
.ribbon { background: var(--frost-ink); color: #F2F6FA; font-size: 13px; font-weight: 700; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 20px; padding: 8px var(--gutter); }
.ribbon span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--fleece-2); vertical-align: 2px; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(230, 238, 246, 0.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(35, 65, 95, 0.08); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo svg { width: 40px; height: 40px; margin: -4px 0; }
.logo span { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 700; font-size: 24px; color: var(--frost-ink); letter-spacing: -0.01em; }
.top__nav { display: none; gap: 24px; margin-left: 24px; font-weight: 700; font-size: 15px; }
.top__nav a { text-decoration: none; color: var(--frost-ink); }
.top__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.top__wa { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 14px; color: var(--wa); background: #fff; border: 1.5px solid #CFE7D8; border-radius: 999px; padding: 8px 14px; min-height: 44px; }
.top__wa svg { width: 20px; height: 20px; }
@media (max-width: 420px) { .top__wa span { display: none; } .top__wa { padding: 8px 12px; } }
@media (min-width: 900px) { .top__nav { display: flex; } }

/* Hero: the cold world */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--frost-0) 0%, var(--frost-1) 100%); padding-block: 24px 48px; }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 24px; grid-template-areas: "head" "media" "tag"; }
.hero__head { grid-area: head; }
.hero__media { grid-area: media; position: relative; perspective: 1400px; }
.tagwrap { grid-area: tag; position: relative; padding-top: 24px; filter: drop-shadow(0 12px 24px rgba(63, 42, 32, 0.14)); }
@media (min-width: 900px) {
  .hero { padding-block: 48px 72px; }
  .hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "media head" "media tag"; column-gap: 56px; row-gap: 24px; align-items: start; }
  .hero__media { position: sticky; top: 96px; }
  .flip { aspect-ratio: 4 / 5; }
}
.hero h1 { font-size: clamp(44px, 10vw, 76px); color: var(--frost-ink); margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: var(--cta); }
.lede { font-size: 19px; color: #3D4F62; max-width: 46ch; margin: 0; }

/* Inside-out flip card */
.flip { position: relative; aspect-ratio: 4 / 5; max-height: 64vh; margin-inline: auto; transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(0.3, 0.7, 0.2, 1); }
.flip[data-side="in"] { transform: rotateY(180deg); }
.flip.peek { transform: rotateY(-22deg); }
.flip__face { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--frost-1); box-shadow: 0 20px 40px rgba(35, 65, 95, 0.16); }
.flip__face--in { transform: rotateY(180deg); background: var(--fleece-1); }
.flip__face > img, .flip__face > svg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.flip__btn { position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 8px 14px; min-height: 44px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--frost-ink); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 16px rgba(35, 65, 95, 0.18); white-space: nowrap; }
.flip__btn svg { width: 20px; height: 20px; transition: transform 0.6s ease; }
.flip__btn[aria-pressed="true"] { color: var(--cta); }
.flip__btn[aria-pressed="true"] svg { transform: rotate(-180deg); }

/* Hang tag buy box */
.tagwrap::before { content: ""; position: absolute; left: 50%; top: -20px; width: 2px; height: 66px; background: #B98B6E; border-radius: 2px; transform: rotate(10deg); transform-origin: bottom center; z-index: -1; }
.tag {
  --cut: 28px;
  position: relative;
  scroll-margin-top: 80px;
  background: var(--paper);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 48px 20px 24px;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
  -webkit-mask: radial-gradient(circle 9px at 50% 22px, #0000 96%, #000 100%);
          mask: radial-gradient(circle 9px at 50% 22px, #0000 96%, #000 100%);
}
.tag::before { content: ""; position: absolute; left: 50%; top: 22px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 4px solid #E9C9B4; }
.tag::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed #EBCFBD; border-radius: 0 0 18px 18px; clip-path: inherit; pointer-events: none; }
@media (min-width: 560px) { .tag { padding: 52px 28px 28px; } }
.tag__group { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.tag__group legend { font-weight: 800; font-size: 15px; margin-bottom: 8px; display: flex; width: 100%; justify-content: space-between; align-items: baseline; padding: 0; }
.tag__link { font-weight: 700; font-size: 14px; color: var(--frost-ink); }

.offer { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--r-md); cursor: pointer; background: #fff; transition: border-color 0.15s, background 0.15s; }
.offer + .offer { margin-top: 8px; }
.offer:has(input:checked) { border-color: var(--cta); background: var(--fleece-0); }
.offer:has(input:focus-visible) { outline: 3px solid var(--frost-ink); outline-offset: 2px; }
.offer__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.offer__title { font-weight: 800; font-size: 17px; }
.offer__badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--cta); color: #fff; border-radius: 999px; padding: 2px 8px; margin-left: 4px; vertical-align: 2px; }
.offer__note { font-size: 14px; color: var(--muted); }
.offer__price { text-align: right; font-variant-numeric: tabular-nums; }
.offer__price b { display: block; font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 24px; line-height: 1.1; }
.offer__price small { font-size: 13px; color: var(--muted); }

.chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.chip span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 6px 2px; line-height: 1.15; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; font-weight: 700; font-size: 15px; cursor: pointer; text-align: center; font-variant-numeric: tabular-nums; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.chip b { font-size: 18px; font-weight: 800; }
.chip small { font-size: 11px; font-weight: 700; color: var(--muted); }
.chip input:checked + span small { color: #C9D7E5; }
.chip input:checked + span { background: var(--select); border-color: var(--select); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--frost-ink); outline-offset: 2px; }
.chips.shake { animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.mix { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; font-weight: 600; cursor: pointer; }
.mix input, .check input { width: 20px; height: 20px; accent-color: var(--select); }
.mixsel { display: grid; gap: 8px; margin-top: 8px; }
.mixsel label { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
select, input, textarea { font: inherit; color: var(--ink); }
.mixsel select, .field input, .field textarea, .ref input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #E2CBBB; border-radius: var(--r-sm); background: #fff; font-size: 16px; }
.field textarea { min-height: 72px; resize: vertical; }
.mixsel select:focus, .field input:focus, .field textarea:focus, .ref input:focus { outline: none; border-color: var(--frost-ink); box-shadow: 0 0 0 3px rgba(35, 65, 95, 0.18); }

.tag__total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin: 4px 0 16px; padding-top: 16px; border-top: 1.5px dashed var(--line); }
.tag__total p { margin: 0; }
.tag__total b#bbTotal { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 32px; font-variant-numeric: tabular-nums; }
.tag__total #bbShip { color: var(--muted); font-weight: 700; }
.tag__upi { font-size: 15px; color: var(--ok); font-weight: 700; }

.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; padding: 14px 24px; border: 0; border-radius: 999px; background: var(--cta); color: #fff; font-family: var(--body); font-weight: 800; font-size: 18px; text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.cta:hover { background: var(--cta-dark); }
.cta:active { transform: scale(0.98); }
.cta:disabled { opacity: 0.7; cursor: progress; }
.cta--soft { background: var(--fleece-1); color: #7A3520; width: auto; min-height: 48px; font-size: 16px; }
.cta--soft:hover { background: #FFD8BF; }
.cta--blue { background: #fff; color: var(--frost-ink); border: 2px solid var(--frost-ink); }
.cta--blue:hover { background: var(--frost-1); }
.cta--wa { background: var(--wa); }
.cta--wa:hover { background: #17673A; }
.closing .cta { width: auto; }
.assure { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 14px; font-weight: 700; color: var(--muted); }
.assure li { display: flex; gap: 8px; align-items: flex-start; }
.assure li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.err { color: var(--err); font-size: 14px; font-weight: 700; margin: 8px 0 0; }

/* Bands: the page warms as you scroll */
.band { padding-block: 64px; }
.band--d { background: linear-gradient(180deg, var(--frost-1), var(--warm-mid)); }
.band--1 { background: linear-gradient(180deg, var(--warm-mid), #FBF1E9); }
.band--2 { background: linear-gradient(180deg, #FBF1E9, var(--fleece-0)); }
.band--4, .band--5, .band--6 { background: var(--fleece-0); }
.band--7 { background: var(--fleece-1); }
@media (min-width: 900px) { .band { padding-block: 96px; } }

.split { display: grid; gap: 32px; align-items: center; }
.split__media, .split__copy { min-width: 0; }
.split__media.round { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 16px 32px rgba(63, 42, 32, 0.1); }
.split__media > img, .split__media > svg { width: 100%; height: auto; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--rev .split__media { order: 2; } }
.facts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 16px; }
.facts li { padding-left: 32px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE9DC 0 30%, var(--fleece-2) 31% 100%); box-shadow: 0 0 0 3px var(--fleece-1); }

/* Growth chart */
.growth { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; margin: 32px 0; background: var(--paper); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 12px 28px rgba(63, 42, 32, 0.08); }
@media (min-width: 700px) { .growth { grid-template-columns: 190px minmax(0, 1fr); gap: 48px; padding: 32px 40px; } }
.growth__door { background: repeating-linear-gradient(90deg, #F2DFC9 0 6px, #EDD6BD 6px 7px, #F4E3CF 7px 15px, #EBD3B9 15px 16px); border-radius: 8px; padding: 8px 4px; box-shadow: inset -6px 0 0 #E0C3A4, inset 6px 0 0 #F7EADB; }
.growth__door svg { width: 100%; height: auto; overflow: visible; }
.growth__label { display: block; font-weight: 800; margin-bottom: 8px; }
.growth__row { display: flex; align-items: center; gap: 16px; }
.growth__row input[type="range"] { flex: 1; min-width: 0; accent-color: var(--select); height: 44px; }
.growth__row output { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 28px; font-weight: 600; min-width: 4.2ch; text-align: right; font-variant-numeric: tabular-nums; color: var(--frost-ink); }
.growth__rec { font-size: 20px; margin: 16px 0 4px; }
.growth__rec b { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 30px; color: var(--cta); }
.growth__why { color: var(--muted); font-size: 15px; min-height: 3em; }
@media (max-width: 520px) { .growth { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px; } .growth__row { flex-direction: column; align-items: stretch; gap: 0; } .growth__row output { text-align: left; } .growth__rec { font-size: 17px; } .growth__rec b { font-size: 24px; } }

.tablewrap { overflow-x: auto; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.sizes { border-collapse: collapse; width: 100%; font-size: 15px; }
@media (max-width: 480px) { .sizes { font-size: 14px; } .sizes th, .sizes td { padding: 10px 8px; } .sizes--len .age { display: none; } }
.sizes caption { text-align: left; font-weight: 800; padding: 12px 16px 0; }
.sizes th, .sizes td { padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.sizes thead th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sizes tbody tr:last-child th, .sizes tbody tr:last-child td { border-bottom: 0; }
.sizes .n { text-align: right; }

/* Designs: filter chips, card grid, pick toggles */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 16px; }
.filter { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; min-height: 44px; font-weight: 800; font-size: 15px; cursor: pointer; color: var(--ink); }
.filter span { color: var(--muted); font-weight: 700; margin-left: 2px; font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] { background: var(--select); border-color: var(--select); color: #fff; }
.filter[aria-pressed="true"] span { color: #C9D7E5; }
.designs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
@media (min-width: 640px) { .designs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; } }
@media (min-width: 1000px) { .designs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.design { min-width: 0; }
.design__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--fleece-1); border-radius: var(--r-md); overflow: hidden; cursor: pointer; aspect-ratio: 3 / 4; }
.design__open img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.design__open:hover img { transform: scale(1.04); }
.design__no { position: absolute; left: 6px; top: 6px; background: rgba(255, 253, 251, 0.9); color: var(--ink); font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.design__name { margin: 6px 0 0; font-weight: 800; font-size: 14px; line-height: 1.25; }
@media (max-width: 420px) { .design__name { font-size: 13px; } }
.ai-note { margin-top: 24px; }

/* Design viewer */
.viewer { padding: 0; border: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
.viewer::backdrop { background: rgba(35, 30, 26, 0.6); }
@media (min-width: 640px) { .viewer { width: min(560px, 94vw); height: auto; max-height: 94vh; margin: auto; border-radius: var(--r-lg); } }
.viewer__in { display: flex; flex-direction: column; height: 100%; max-height: inherit; }
.viewer__head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 4px 20px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
.viewer__head h2 { flex: 1; font-size: 24px; margin: 0; }
.viewer__track { flex: 1; min-height: 0; display: flex; background: var(--fleece-0); }
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__track figure { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; }
.viewer__track img { width: 100%; height: 100%; max-height: 70vh; object-fit: contain; }
@media (min-width: 640px) { .viewer__track img { max-height: 62vh; } }
.viewer__track figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 253, 251, 0.92); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.viewer__foot { display: flex; align-items: center; gap: 8px; padding: 12px 12px 4px; }
.viewer__foot .cta { flex: 1; min-width: 0; }
.viewer__msg { min-height: 1.5em; margin: 0; padding: 0 20px calc(12px + env(safe-area-inset-bottom, 0px)); font-size: 14px; font-weight: 700; color: var(--muted); text-align: center; }


/* Steps: a real sequence, so numbers carry meaning */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps:not(.steps--small) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.steps li { counter-increment: s; position: relative; background: var(--paper); border-radius: var(--r-md); padding: 20px 20px 20px 72px; min-width: 0; border: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 16px; font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 36px; font-weight: 600; line-height: 1; color: var(--ember); }
.steps b { display: block; margin-bottom: 4px; }
.steps--small { margin-top: 24px; gap: 8px; }
.steps--small li { padding: 12px 12px 12px 52px; font-size: 15px; }
.steps--small li::before { font-size: 24px; left: 16px; top: 10px; }

.sig { font-weight: 800; color: var(--muted); font-size: 14px; letter-spacing: 0.04em; margin-top: 16px; }

/* FAQ */
.faq { margin-top: 24px; display: grid; gap: 8px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 800; position: relative; min-height: 56px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--cta), var(--cta)) center / 14px 2.5px no-repeat, linear-gradient(var(--cta), var(--cta)) center / 2.5px 14px no-repeat; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 16px; margin: 0; color: #5A4033; }

.closing h2 { margin-bottom: 8px; }
.closing .sub { margin: 0 auto 24px; }

/* Footer */
.foot { background: #3A271E; color: #F3E6DC; padding-block: 48px 24px; font-size: 15px; padding-bottom: calc(24px + 72px); }
@media (min-width: 900px) { .foot { padding-bottom: 24px; } }
.foot__in { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot__in { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.foot__brand svg { width: 44px; height: 44px; }
.foot nav { display: flex; flex-direction: column; gap: 6px; }
.foot nav a { color: #F3E6DC; text-underline-offset: 3px; }
.foot__small { margin-top: 32px; font-size: 13px; opacity: 0.7; }
.foot mark { color: var(--ink); }
.foot__small a { color: inherit; text-underline-offset: 3px; }

/* Sticky order bar (phones) */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 253, 251, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 -6px 20px rgba(63, 42, 32, 0.12); transform: translateY(110%); transition: transform 0.25s ease; }
.stickybar.on { transform: none; }
.stickybar div { display: flex; flex-direction: column; line-height: 1.25; }
.stickybar div span { font-size: 13px; color: var(--muted); font-weight: 700; }
.stickybar .cta { width: auto; margin-left: auto; min-height: 48px; font-size: 16px; padding: 10px 22px; flex: none; }
@media (min-width: 900px) { .stickybar { display: none; } }

/* Checkout dialog */
.co { padding: 0; border: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
.co::backdrop { background: rgba(35, 30, 26, 0.55); }
@media (min-width: 640px) { .co { width: min(540px, 92vw); height: auto; max-height: 92vh; margin: auto; border-radius: var(--r-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); } }
.co form { display: flex; flex-direction: column; height: 100%; max-height: inherit; }
@media (min-width: 640px) { .co form { max-height: 92vh; } }
.co__head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 4px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
.co__head h2 { font-size: 22px; flex: 1; margin: 0 0 0 8px; }
.co__icon { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.co__icon:hover { background: var(--fleece-1); }
.co__icon svg { width: 22px; height: 22px; }
#coBack[hidden] + h2 { margin-left: 8px; }
.co__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; -webkit-overflow-scrolling: touch; }
.co__group { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.co__label { display: flex; width: 100%; justify-content: space-between; align-items: baseline; padding: 0; font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.co__link { font-weight: 700; font-size: 14px; color: var(--frost-ink); }
.co__mixed { margin: 0; font-weight: 700; font-size: 15px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg__opt { cursor: pointer; min-width: 0; }
.seg__opt span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 6px 8px; border: 2px solid var(--line); border-radius: var(--r-md); background: #fff; font-weight: 800; font-size: 16px; text-align: center; line-height: 1.2; }
.seg__opt small { font-size: 12px; font-weight: 700; color: var(--muted); }
.seg__opt input:checked + span { border-color: var(--cta); background: var(--fleece-0); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--frost-ink); outline-offset: 2px; }
.seg__opt input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.co__more { margin: -4px 0 16px; }
.co__more summary { cursor: pointer; font-weight: 800; color: var(--frost-ink); font-size: 15px; min-height: 44px; display: flex; align-items: center; }
.co__more[open] summary { margin-bottom: 8px; }
.pay { margin-top: 4px; }
.co__foot { display: flex; align-items: center; gap: 16px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--paper); }
.co__total { margin: 0; font-size: 15px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.co__total b { display: block; font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.co__foot .cta { flex: 1; min-width: 0; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.field .opt { font-weight: 600; color: var(--muted); font-size: 13px; }
.field.bad input, .field.bad textarea { border-color: var(--err); }
.pre { display: flex; align-items: stretch; }
.pre span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid #E2CBBB; border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--fleece-0); font-weight: 700; }
.pre input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two .field { min-width: 0; }
.hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

.pay { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.pay__opt { display: block; cursor: pointer; }
.pay__opt span { display: block; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--r-md); background: #fff; }
.pay__opt b { font-size: 17px; }
.pay__opt small { display: block; color: var(--muted); font-size: 14px; }
.pay__opt .save { font-style: normal; font-size: 12px; font-weight: 800; background: #DDF1E4; color: var(--ok); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.pay__opt input:checked + span { border-color: var(--cta); background: var(--fleece-0); }
.pay__opt input:focus-visible + span { outline: 3px solid var(--frost-ink); outline-offset: 2px; }

.upi { background: #F4F8FC; border: 1px solid #D9E5F0; border-radius: var(--r-md); padding: 16px; margin-bottom: 16px; }
.upi__to { font-size: 15px; }
.upi__qr { display: none; justify-content: center; margin: 12px auto; background: #fff; border-radius: var(--r-sm); padding: 8px; width: fit-content; }
.upi__qr.on { display: flex; }
.upi__qr svg { width: 200px; height: 200px; }
.upi__id { font-size: 14px; margin: 12px 0 16px; overflow-wrap: anywhere; }
.upi__id code { font-size: 14px; background: #fff; padding: 2px 6px; border-radius: 6px; }
.linkbtn { border: 0; background: none; padding: 8px 0; color: var(--frost-ink); font-weight: 800; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.upi .cta--blue { margin-top: 4px; }
.upi__apps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.upi__apps .cta { min-height: 48px; font-size: 16px; padding: 10px 12px; margin-top: 0; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; cursor: pointer; }
.codbox { background: var(--fleece-0); border-radius: var(--r-md); padding: 16px; margin-bottom: 16px; }
.codbox p { margin: 0; }
.ref { margin-bottom: 16px; }
.ref summary { cursor: pointer; font-weight: 800; color: var(--frost-ink); font-size: 15px; padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.ref__row { display: flex; gap: 8px; }
.ref__row input { flex: 1; min-width: 0; text-transform: uppercase; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; padding: 16px; background: var(--fleece-0); border-radius: var(--r-md); font-size: 15px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.totals .minus { color: var(--ok); }
.totals .grand { font-weight: 800; color: var(--ink); font-size: 17px; padding-top: 8px; border-top: 1px dashed var(--line); }

.done { text-align: center; padding-top: 8px; }
.done__bear { width: 88px; height: 88px; margin: 0 auto 12px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px) rotate(-3deg); } }
.done__id { display: inline-block; background: var(--fleece-1); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; }
.done h3 { margin: 16px 0 8px; font-size: 26px; }
.done .steps { text-align: left; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
