/* Elque demand-test page. Mobile-first: a lavender hero card, routines and products as small tiles,
   longer content folded under "Meer weten", and a "Zelf samenstellen" panel that slides up. */
:root {
  --surface: #F5EEF0; --raised: #FFFFFF; --bold: #1C1320; --bold-2: #2B2131;
  --ink: #1C1320; --ink-2: #4A3B52; --muted: #6B5E70; --border: #E4DCE3;
  --brand: #E63E6D; --brand-ink: #C7285A; --brand-soft: #F4A9BE; --accent: #8A7CC8; --accent-soft: #E3DEF4;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', Arial, Helvetica, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: clip; }
body.locked { overflow: hidden; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; font-weight: 500; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-ink); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Anchor jumps land below the sticky header */
section[id], details[id], main { scroll-margin-top: 80px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--bold); color: var(--surface); font-size: 12px; text-align: center; }
.announce .wrap { padding-block: 8px; }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; background: rgba(245, 238, 240, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 16; background: var(--surface); }
.top .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.4px; text-decoration: none; display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; line-height: 1; }
.wm-tag { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 12px; letter-spacing: 0; color: var(--brand-ink); margin-top: 4px; white-space: nowrap; }
nav.main { display: none; gap: 28px; font-size: 15px; font-weight: 500; }
nav.main a { text-decoration: none; padding-block: 8px; }
nav.main a:hover { color: var(--brand-ink); }
.top-right { display: flex; align-items: center; gap: 6px; }
.lang { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--raised); }
.lang button { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; }
.lang button[aria-pressed="true"] { background: var(--bold); color: var(--surface); }
.icon-btn { position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; border-radius: 8px; }
.icon-btn:hover { background: var(--accent-soft); }
.cart-count { position: absolute; top: 4px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.menu-btn { display: grid; }
@media (min-width: 880px) { nav.main { display: flex; } .menu-btn { display: none; } }
@media (max-width: 879px) {
  header.top.open nav.main { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(28, 19, 32, 0.12); padding-top: 4px; padding-bottom: 12px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  header.top.open nav.main a { padding-block: 14px; font-size: 18px; border-bottom: 1px solid var(--border); }
  header.top.open nav.main a:last-child { border-bottom: 0; }
}
/* Very narrow phones: keep the header on one line */
@media (max-width: 359px) { .top .wrap { gap: 6px; } .wordmark { font-size: 24px; } .wm-tag { font-size: 10.5px; white-space: normal; max-width: 96px; line-height: 1.15; } .top-right { gap: 0; } }
/* In between, keep the slogan on one line but a touch smaller so the header never overflows */
@media (min-width: 360px) and (max-width: 400px) { .wm-tag { font-size: 11px; } }

/* ---------- Buttons and the subscription / one-time switch ---------- */
.btn { min-height: 52px; padding: 0 24px; border-radius: 8px; border: 0; background: var(--brand); color: #fff; font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; text-align: center; }
.btn:hover { background: var(--brand-ink); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn:disabled:hover { background: var(--brand); }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); font-size: 16px; min-height: 48px; }
.btn.ghost:hover { background: var(--ink); color: var(--surface); }
.btn.lav { background: var(--accent); color: var(--ink); }
.btn.lav:hover { background: #7A6BBB; }
.btn.small { min-height: 44px; padding: 0 12px; font-size: 14px; }
.btn.dark { background: var(--bold); }
.btn.dark:hover { background: var(--bold-2); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; width: 100%; }
.seg button { min-height: 44px; padding: 0 4px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 600; white-space: nowrap; letter-spacing: -0.1px; }
.seg button[aria-pressed="true"] { background: var(--bold); color: var(--surface); }
.off { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.4; }

/* ---------- Hero card ---------- */
.hero .wrap { padding-block: 16px 20px; }
.herocard { position: relative; overflow: hidden; background: var(--accent); border-radius: 24px; padding: 18px; display: grid; gap: 14px; }
.herocard .bigE { position: absolute; right: 16px; top: 4px; font-family: var(--display); font-weight: 600; font-size: 84px; line-height: 0.9; color: var(--bold); user-select: none; pointer-events: none; }
.hero-text { display: flex; flex-direction: column; gap: 8px; padding-right: 64px; min-height: 52px; }
.herocard .eyebrow { color: var(--bold); opacity: 0.8; line-height: 1.4; }
.adline { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.15; color: #fff; text-wrap: balance; }
.adline:empty { display: none; }
.dose-card { background: var(--raised); border-radius: 14px; padding: 14px 16px; box-shadow: 0 12px 28px rgba(28, 19, 32, 0.2); display: flex; flex-direction: column; gap: 6px; }
.dose-card .name { font-family: var(--display); font-size: 18px; font-weight: 600; }
.dose-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.dose-card li { display: flex; justify-content: space-between; gap: 10px; }
.dose-card li span:last-child { color: var(--muted); text-align: right; }
.dose-card .foot { border-top: 1px solid var(--border); padding-top: 6px; display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.hero-price { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--bold); }
.price-line .was { font-size: 16px; opacity: 0.65; }
.price-line strong { font-family: var(--display); font-size: 32px; font-weight: 600; line-height: 1.1; }
.price-line span { font-size: 13px; }
.savepill { display: inline-block; background: var(--bold); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.savepill:empty { display: none; }
.hero-add { display: none; margin-top: 6px; }
@media (min-width: 880px) {
  .hero .wrap { padding-block: 32px 40px; }
  .herocard { grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: auto 1fr; gap: 18px 40px; padding: 36px 40px; min-height: 360px; }
  .herocard .bigE { position: static; grid-column: 1; font-size: 150px; line-height: 0.75; }
  .hero-text { grid-column: 1; padding-right: 0; min-height: 0; }
  .adline { font-size: 30px; }
  .dose-card { grid-column: 2; grid-row: 1 / span 3; align-self: center; padding: 20px; }
  .dose-card .name { font-size: 22px; }
  .hero-price { grid-column: 1; }
  .hero-add { display: inline-flex; }
}

/* ---------- Trust strip ---------- */
.proof { border-block: 1px solid var(--border); background: var(--raised); }
.proof .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding-block: 14px; }
.proof .it { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.35; }
.proof svg { flex-shrink: 0; width: 18px; height: 18px; }
.proof strong { display: block; font-size: 13px; }
.proof span { display: none; color: var(--muted); }
@media (min-width: 880px) { .proof .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 20px; } .proof .it, .proof strong { font-size: 14px; } .proof span { display: block; } }

/* ---------- Sections ---------- */
section.sec { padding-block: 32px 0; }
.sec-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; max-width: 660px; }
.sec-head h2 { font-size: clamp(28px, 5vw, 42px); line-height: 1.08; }
@media (min-width: 880px) { section.sec { padding-block: 56px 0; } .sec-head { margin-bottom: 24px; } }

/* ---------- Tiles (routines and products) ---------- */
/* Tiles keep their own height (opening "Prijsdetails" only grows that tile); descriptions reserve two lines so closed tiles line up */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 8px; align-items: start; }
@media (min-width: 680px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } #product-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tile { position: relative; min-width: 0; background: var(--raised); border: 2px solid transparent; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.tile.feat { border-color: var(--brand); }
.flag { position: absolute; top: -11px; left: 10px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.tile .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; color: var(--bold); }
.tile h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; line-height: 1.25; }
.tile .sub { color: var(--muted); font-size: 12px; line-height: 1.35; min-height: 2.7em; }
.tile.build .sub { min-height: 0; }
/* The switch inside a narrow tile: smaller text; on the narrowest phones the two options stack */
.tile .seg button { font-size: 10.5px; padding: 0 2px; letter-spacing: -0.2px; }
@media (max-width: 374px) { .tile .seg { grid-template-columns: 1fr; } .tile .seg button { min-height: 36px; font-size: 11.5px; } }
@media (min-width: 680px) { .tile .seg button { font-size: 12px; } }
.tile .grow { flex: 1; }
.pr2 .now strong { font-size: 18px; font-weight: 700; }
.pr2 .now small { color: var(--muted); margin-left: 2px; font-size: 12px; }
.pr2 .was { display: flex; align-items: center; gap: 6px; min-height: 20px; }
.pr2 .was s { color: var(--muted); font-size: 12px; }
.det-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 40px; padding: 0; border: 0; border-top: 1px solid var(--border); background: transparent; color: var(--ink-2); font-size: 12px; font-weight: 500; text-align: left; }
.det-toggle::after { content: "▾"; color: var(--muted); }
.det-toggle[aria-expanded="true"]::after { content: "▴"; }
.tile .btn { min-height: 44px; font-size: 14px; padding: 0 8px; }
.tile.build { background: var(--accent-soft); border: 2px dashed var(--accent); justify-content: center; text-align: center; align-items: center; gap: 4px; }
.tile.build .plus { font-size: 26px; line-height: 1; color: var(--bold); }
.tile.build h3 { font-family: var(--display); font-weight: 600; font-size: 18px; }
.tile.build .btn { margin-top: 8px; width: 100%; }

/* Price breakdown (tiles, builder) */
.bd { display: flex; flex-direction: column; gap: 3px; background: var(--surface); border-radius: 10px; padding: 8px 10px; font-size: 11.5px; }
/* A row's amount moves to its own line (right-aligned) when label and amount don't fit side by side */
.bd .r { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 6px; }
.bd .r span:first-child { min-width: 0; overflow-wrap: anywhere; }
.bd .r span:last-child { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bd .strike span:last-child { text-decoration: line-through; color: var(--muted); }
.bd .disc { color: var(--brand-ink); font-weight: 600; }
.bd .free span:last-child { background: var(--accent-soft); color: var(--ink); font-weight: 700; padding: 0 8px; border-radius: 999px; }
.bd .you { border-top: 1px solid var(--border); padding-top: 4px; font-weight: 700; }
.bd .tot { font-weight: 700; color: var(--brand-ink); margin-top: 2px; }
.bd .up { color: var(--ink-2); }

/* ---------- Folds: "Meer weten" and FAQ ---------- */
.acc { background: var(--raised); border-radius: 14px; overflow: hidden; max-width: 860px; }
.acc details { border-bottom: 1px solid var(--border); }
.acc details:last-child { border-bottom: 0; }
.acc details[hidden] { display: none; }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; font-weight: 600; font-size: 15px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "▾"; color: var(--muted); flex-shrink: 0; }
.acc details[open] > summary::after { content: "▴"; }
.acc-body { padding: 0 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.faq details p { padding: 0 16px 16px; color: var(--ink-2); font-size: 14px; }

.how { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); }
.how b { color: var(--ink); }
.day { display: grid; gap: 6px; margin-top: 8px; }
.day div { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; border-top: 1px solid var(--border); padding-top: 6px; }
.day span:last-child { color: var(--muted); text-align: right; }

.compare-box { overflow-x: auto; background: var(--surface); border-radius: 12px; }
table.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare th { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.compare td.us { font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.why { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--accent-soft); border-radius: 12px; padding: 14px; }
.why .sun { width: 40px; height: 40px; border-radius: 50%; background: var(--raised); display: grid; place-items: center; color: var(--brand-ink); }
.why h3 { font-size: 18px; margin-bottom: 4px; }
.why p { color: var(--ink-2); font-size: 14px; }

.learn { display: grid; gap: 10px; }
.lcard { background: var(--surface); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.lcard .hd { display: flex; align-items: center; gap: 10px; }
.lcard .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; color: var(--bold); flex-shrink: 0; }
.lcard h3 { font-size: 18px; font-weight: 600; }
.lcard .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-ink); }
.lcard p { font-size: 14px; color: var(--ink-2); }
.lcard .blk { display: flex; flex-direction: column; gap: 2px; }
.lcard .blk + .blk { border-top: 1px solid var(--border); padding-top: 8px; }
@media (min-width: 680px) { .learn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gloss { margin: 0; display: grid; gap: 8px; }
.gloss div { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.gloss dt { font-family: var(--display); font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.gloss dd { margin: 0; font-size: 13px; color: var(--ink-2); }
@media (min-width: 880px) { .gloss { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.chapters { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.chap { margin: 0; scroll-snap-align: start; background: var(--surface); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.scene { background: var(--accent-soft); aspect-ratio: 3 / 2; max-width: 100%; }
.scene svg { display: block; width: 100%; height: 100%; }
.chap figcaption { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.chap .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-ink); }
.chap p { font-size: 14px; color: var(--ink); line-height: 1.45; }
@media (min-width: 880px) { .chapters { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }

.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pillar { background: var(--surface); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.pillar .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.pillar h4 { margin: 4px 0 0; font-family: var(--display); font-size: 15px; font-weight: 600; }
.pillar p { font-size: 12.5px; color: var(--ink-2); }
@media (min-width: 880px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */
footer { margin-top: 48px; background: var(--bold); color: #D9CCD6; font-size: 14px; }
footer .wrap { padding-block: 40px calc(120px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 24px; }
body.no-buybar footer .wrap { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
footer .brand { display: flex; flex-direction: column; gap: 6px; }
footer .wordmark { color: var(--surface); }
footer em { font-family: var(--display); font-size: 17px; color: var(--brand-soft); }
footer .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
footer h4 { margin: 0 0 4px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--surface); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; }
footer li { min-height: 44px; display: flex; align-items: center; }
footer .contact a { white-space: nowrap; }
/* Phones: Contact gets a full-width row at the end, so the email fits on one line */
@media (max-width: 879px) { footer .contact { grid-column: 1 / -1; order: 1; } }
footer a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
footer a:hover { color: var(--surface); text-decoration: underline; }
footer .legal { font-size: 12px; color: #B7A8B4; border-top: 1px solid var(--bold-2); padding-top: 20px; }
.privacy { display: flex; flex-direction: column; gap: 10px; max-width: 70ch; font-size: 14px; color: #D9CCD6; }
.privacy h2 { font-size: 24px; color: var(--surface); }
.privacy div { display: flex; flex-direction: column; gap: 10px; }
.privacy[hidden] { display: none; }
@media (min-width: 880px) { footer .wrap { grid-template-columns: 1fr 2fr; padding-bottom: 56px; } footer .cols { grid-template-columns: 1fr 1fr 1.6fr 1fr; } footer .legal, footer .privacy { grid-column: 1 / -1; } }

/* ---------- Sticky buy bar, phones only ---------- */
.buybar[hidden] { display: none; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 14; background: var(--raised); border-top: 1px solid var(--border); padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.buybar .in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buybar .in div { display: flex; flex-direction: column; font-size: 14px; min-width: 0; }
.buybar .in span { color: var(--muted); font-size: 13px; }
.buybar .btn { min-height: 48px; padding: 0 20px; flex-shrink: 0; }
@media (max-width: 359px) { .buybar .btn { padding: 0 14px; font-size: 16px; } }
@media (min-width: 880px) { .buybar { display: none; } }

/* ---------- "Zelf samenstellen" panel ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 25; background: rgba(28, 19, 32, 0.55); display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop[hidden] { display: none; }
.sheet { width: min(560px, 100%); max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: 22px 22px 0 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 -12px 30px rgba(28, 19, 32, 0.25); }
@media (min-width: 880px) { .sheet-backdrop { align-items: center; } .sheet { border-radius: 22px; padding: 18px 24px 24px; } .sheet .handle { display: none; } }
@media (prefers-reduced-motion: no-preference) { .sheet { animation: sheet-up .22s ease-out; } @keyframes sheet-up { from { transform: translateY(40px); opacity: .6; } } }
.sheet .handle { width: 40px; height: 4px; background: var(--border); border-radius: 4px; margin: 0 auto 2px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-head h2 { font-size: 22px; font-weight: 600; }
.sheet-lead { font-size: 13px; color: var(--ink-2); margin-top: -6px; }
.lad-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 6px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.lad-title b { letter-spacing: 0; text-transform: none; font-size: 12.5px; color: var(--brand-ink); text-align: right; }
/* Ladder: a progress line with dots (not buttons) */
.stepper { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 2px; }
.stepper .track { position: absolute; left: 12.5%; right: 12.5%; top: 10px; height: 3px; background: var(--border); border-radius: 2px; }
.stepper .track span { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .2s; }
.stepper .st { position: relative; text-align: center; font-size: 11.5px; color: var(--muted); }
.stepper .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--border); margin: 1px auto 4px; }
.stepper .done .dot { background: var(--accent); border-color: var(--accent); }
.stepper .now .dot { background: var(--brand); border-color: #fff; box-shadow: 0 0 0 2px var(--brand); }
.stepper .st b { display: block; color: var(--ink); font-size: 12.5px; }
.stepper .now, .stepper .now b { color: var(--brand-ink); font-weight: 700; }
.colhead { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 6px 2px 0; }
.picks { display: flex; flex-direction: column; gap: 6px; }
.pick { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; background: var(--raised); border: 2px solid transparent; border-radius: 12px; padding: 6px 12px; text-align: left; color: var(--ink); font-size: 13px; }
.pick[aria-pressed="true"] { border-color: var(--bold); }
.pick .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border); display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; color: transparent; }
.pick[aria-pressed="true"] .box { background: var(--bold); border-color: var(--bold); color: #fff; }
.pick .mid { flex: 1; min-width: 0; } .pick .mid b { display: block; font-size: 14px; } .pick .mid small { color: var(--muted); font-size: 12px; }
.pick .p { font-size: 13px; color: var(--muted); white-space: nowrap; }
.sheet .hint { font-size: 12.5px; color: var(--brand-ink); font-weight: 600; min-height: 0; }
.sheet .hint:empty { display: none; }
.sheet-price { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 4px; }
.sheet-price .pr2 .now strong { font-family: var(--display); font-size: 26px; font-weight: 600; }
.sheet-price .save { font-size: 13px; font-weight: 700; color: var(--brand-ink); text-align: right; }

/* ---------- Cart drawer ---------- */
.backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(28, 19, 32, 0.55); display: flex; justify-content: flex-end; }
.backdrop[hidden] { display: none; }
.drawer { width: min(440px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); padding-top: calc(20px + env(safe-area-inset-top, 0px)); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 16px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer h2 { font-size: 28px; }
.d-body { display: flex; flex-direction: column; gap: 14px; }
.close { width: 44px; height: 44px; flex-shrink: 0; border: 0; background: transparent; font-size: 28px; color: var(--ink); border-radius: 8px; }
.close:hover { background: var(--accent-soft); }
.line { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--raised); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.line small { color: var(--muted); }
.line .end { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.line button { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; min-height: 44px; padding: 0 4px; }
.ship { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--accent-soft); border-radius: 8px; padding: 10px 12px; }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: 17px; }
.wa-preview { background: var(--raised); border: 1px solid var(--border); border-radius: 12px; padding: 14px; font-size: 14px; white-space: pre-line; color: var(--ink-2); overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); font-size: 15px; }
@media (prefers-reduced-motion: no-preference) { .drawer { animation: slide .22s ease-out; } @keyframes slide { from { transform: translateX(30px); opacity: .7; } } }

/* ---------- Cookie notice and toast ---------- */
.consent { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; background: var(--bold); color: var(--surface); padding: 14px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; box-shadow: 0 -10px 30px rgba(28, 19, 32, 0.25); }
.consent[hidden] { display: none; }
.consent p { font-size: 14px; line-height: 1.45; max-width: 560px; }
.consent a { color: var(--brand-soft); text-decoration: underline; display: inline-block; padding-block: 4px; }
.consent-actions { display: flex; gap: 10px; flex: 1 1 auto; max-width: 420px; }
.consent .btn { flex: 1; padding: 0 10px; font-size: 14px; white-space: nowrap; background: var(--surface); color: var(--ink); }
.consent .btn:hover { background: var(--raised); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(90px + env(safe-area-inset-bottom, 0px)); z-index: 40; max-width: calc(100% - 32px); background: var(--bold); color: var(--surface); font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; text-align: center; }
.toast[hidden] { display: none; }

.load-error { margin: 16px; padding: 16px; border-radius: 8px; background: var(--raised); color: var(--brand-ink); font-weight: 600; }
