/* LSR Beauty - styles.css
   Tokens first, then base, layout, components, pages. Light theme only (locked):
   the site is photography-led and the brand reads on a pale stone ground. */

@import url("fonts/fonts.css");

:root {
  color-scheme: light;
  /* palette: olive + stone. One accent (olive), locked across the site. */
  --paper: #f6f6f3;
  --paper-2: #efeee9;
  --stone: #e4e2da;
  --stone-2: #cfcbbf;
  --ink: #1e211c;
  --ink-2: #4c5047;
  --muted: #5f6358;
  --olive: #4f5e3d;
  --olive-2: #3f4c31;
  --olive-tint: #e2e7d8;
  --brick: #9b3b2e;
  --line: rgba(30, 33, 28, 0.14);
  --line-strong: rgba(30, 33, 28, 0.32);

  --font-display: "Bricolage Grotesque", "Kantumruy Pro", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Kantumruy Pro", system-ui, sans-serif;

  --r-box: 4px;   /* containers, images, inputs */
  --r-pill: 999px; /* every interactive control */
  --container: 1280px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 24px 60px -30px rgba(30, 33, 28, 0.35);
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

/* Khmer: one family everywhere, taller glyphs need more leading. */
html[lang="km"] {
  --font-display: "Kantumruy Pro", system-ui, sans-serif;
  --font-body: "Kantumruy Pro", system-ui, sans-serif;
}
html[lang="km"] body { line-height: 1.8; font-size: 17px; }
html[lang="km"] .lang-toggle, .lang-toggle[lang="km"] { font-size: 1.0625rem; }
html[lang="km"] h1, html[lang="km"] h2, html[lang="km"] h3 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; margin: 0; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p.lede { font-size: 1.125rem; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.section-head { max-width: 62ch; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head p { margin-top: 12px; }

/* ---------- icons ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; vertical-align: -0.3em; }
.i-lg { width: 1.6em; height: 1.6em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font: 500 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--olive); color: var(--paper); }
.btn-primary:hover { background: var(--olive-2); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 12px; min-height: 40px; }
.btn-ghost:hover { background: var(--stone); }
.btn-sm { min-height: 40px; padding-inline: 16px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
html[lang="km"] .btn { line-height: 1.3; }

/* ---------- promo bar ---------- */
.promo { background: var(--olive); color: var(--paper); font-size: 0.875rem; }
.promo .container { display: flex; justify-content: center; gap: 24px; min-height: 36px; align-items: center; text-align: center; }
.promo a { color: inherit; }
.promo .promo-chat { display: none; }
@media (min-width: 768px) { .promo .promo-chat { display: inline; } }
.preview-notice { background: var(--brick); color: #fff; text-align: center; font-size: 0.8125rem; padding: 6px var(--gutter); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: var(--header-h); gap: 16px; }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
html[lang="km"] .wordmark { font-family: "Bricolage Grotesque", system-ui, sans-serif; }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; justify-content: center; gap: 4px; }
  .nav a { text-decoration: none; padding: 8px 14px; border-radius: var(--r-pill); font-weight: 500; color: var(--ink-2); }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--stone); }
}
.header-tools { display: flex; align-items: center; gap: 4px; justify-self: end; }
.lang-toggle { text-decoration: none; font-weight: 500; font-size: 0.9375rem; padding: 8px 12px; border-radius: var(--r-pill); color: var(--ink-2); }
.lang-toggle:hover { background: var(--stone); color: var(--ink); }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--olive); color: var(--paper); font-size: 0.6875rem; font-weight: 600; display: grid; place-items: center; }
.cart-count[data-count="0"] { display: none; }
.menu-btn { display: inline-flex; }
@media (min-width: 900px) { .menu-btn { display: none; } }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 50; background: var(--paper); padding: 20px var(--gutter); display: flex; flex-direction: column; }
.mobile-menu:not([data-open="true"]) { display: none; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 24px; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 2rem; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
html[lang="km"] .mobile-menu nav a { font-size: 1.6rem; }
.mobile-menu .bottom { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-bottom: 24px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(24px, 4vw, 64px); }
.hero .container { display: grid; gap: 32px; align-items: center; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy p { margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { border-radius: var(--r-box); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 7fr 5fr; gap: 64px; }
  .hero-copy { padding-right: 24px; }
  .hero-media { aspect-ratio: 4 / 5; max-height: 640px; }
}

/* ---------- category tiles (horizontal scroll on mobile, grid on desktop) ---------- */
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { scroll-snap-align: start; text-decoration: none; }
.tile .img { aspect-ratio: 3 / 4; border-radius: var(--r-box); overflow: hidden; background: var(--stone); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.tile:hover img { transform: scale(1.03); }
.tile .label { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; font-weight: 500; }
@media (min-width: 640px) { .tiles { grid-auto-columns: 40%; } }
@media (min-width: 900px) { .tiles { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* ---------- product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
@media (min-width: 900px) { .grid-products { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; } }
.card { position: relative; display: flex; flex-direction: column; }
.card .img { position: relative; aspect-ratio: 1; border-radius: var(--r-box); overflow: hidden; background: var(--stone); }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card:hover .img img { transform: scale(1.03); }
.card .badge { position: absolute; top: 10px; left: 10px; }
.card .body { padding-top: 12px; display: grid; gap: 4px; }
.card .brand { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.card .name { font-weight: 500; text-decoration: none; }
.card .name::after { content: ""; position: absolute; inset: 0; }
.card .price { display: flex; gap: 8px; align-items: baseline; }
.card .price .khr { color: var(--muted); font-size: 0.8125rem; }
.card .add { position: relative; z-index: 1; margin-top: 8px; justify-self: start; }
.card.is-out .img img { opacity: 0.6; }
.badge { display: inline-block; padding: 4px 10px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-size: 0.75rem; font-weight: 500; border: 1px solid var(--line); }
.badge-out { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- "why" band: full-bleed image with an offset text panel ---------- */
.why { position: relative; }
.why .band { aspect-ratio: 16 / 9; max-height: 560px; width: 100%; overflow: hidden; background: var(--stone); }
.why .band img { width: 100%; height: 100%; object-fit: cover; }
.why .panel { background: var(--paper); padding: clamp(24px, 4vw, 48px); max-width: 600px; margin-top: -48px; position: relative; border-radius: var(--r-box); }
.why .panel p { color: var(--ink-2); }
@media (min-width: 900px) { .why .band { aspect-ratio: 21 / 9; } .why .panel { margin-top: -120px; margin-left: clamp(0px, 4vw, 64px); } }

/* ---------- how it works ---------- */
.how .container { display: grid; gap: 40px; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.step .ic { width: 48px; height: 48px; border-radius: var(--r-pill); background: var(--olive-tint); color: var(--olive); display: grid; place-items: center; }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .how .container { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }

/* ---------- concern pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); text-decoration: none; font-weight: 500; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-weight: 500; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"], .pill.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- closing CTA ---------- */
.cta .container { display: grid; gap: 32px; align-items: center; }
.cta .img { aspect-ratio: 1; border-radius: var(--r-box); overflow: hidden; background: var(--stone); }
.cta .img img { width: 100%; height: 100%; object-fit: cover; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta .container { grid-template-columns: 5fr 6fr; gap: 80px; } .cta .img { max-width: 520px; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--paper-2); padding-block: 56px 32px; margin-top: clamp(40px, 6vw, 96px); }
.footer .cols { display: grid; gap: 32px; }
.footer h2 { font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
html[lang="km"] .footer h2 { letter-spacing: 0; text-transform: none; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .brandcol p { max-width: 32ch; color: var(--ink-2); }
.footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.8125rem; color: var(--muted); }
.footer .legal a { color: var(--muted); }
.footer .legal .copy { margin-left: auto; }
@media (min-width: 720px) { .footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- shop page ---------- */
.filters { display: grid; gap: 16px; margin-bottom: 28px; }
.filters .group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters .group > span { font-size: 0.8125rem; color: var(--muted); margin-right: 6px; min-width: 64px; }
.filters .pill { min-height: 38px; padding-inline: 14px; font-size: 0.9375rem; }
.shop-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: 0.9375rem; }
.shop-empty { padding: 64px 0; text-align: center; color: var(--muted); }

/* ---------- product page ---------- */
.product { padding-top: clamp(16px, 3vw, 40px); }
.product .container { display: grid; gap: 32px; }
.product .gallery { border-radius: var(--r-box); overflow: hidden; background: var(--stone); aspect-ratio: 1; }
.product .gallery img { width: 100%; height: 100%; object-fit: cover; }
.product .brand { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.product h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 8px 0 12px; }
.product .price { font-size: 1.375rem; font-weight: 500; display: flex; gap: 10px; align-items: baseline; }
.product .price .khr { color: var(--muted); font-size: 0.9375rem; font-weight: 400; }
.product .meta { display: flex; gap: 16px; color: var(--muted); font-size: 0.9375rem; margin: 8px 0 20px; }
.product .stock { font-size: 0.9375rem; margin-bottom: 20px; }
.product .stock.is-low { color: var(--brick); }
.product .buy { display: grid; gap: 10px; margin-bottom: 28px; }
.product .delivery-note { font-size: 0.9375rem; color: var(--ink-2); margin-bottom: 24px; }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { transition: transform 200ms var(--ease); }
.acc details[open] summary .i { transform: rotate(180deg); }
.acc .content { padding-bottom: 18px; color: var(--ink-2); }
.acc .content p { margin: 0; }
@media (min-width: 900px) { .product .container { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; } .product .gallery { position: sticky; top: calc(var(--header-h) + 16px); } }

/* ---------- brands / about / help ---------- */
.prose { max-width: 62ch; }
.prose p { color: var(--ink-2); font-size: 1.0625rem; }
.prose h2 { margin: 40px 0 12px; }
.prose ul { padding-left: 1.2em; color: var(--ink-2); }
.prose li { margin-bottom: 6px; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; } }
.faq { display: grid; gap: 0; max-width: 72ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq .content { padding-bottom: 20px; color: var(--ink-2); max-width: 62ch; }
.faq .content p { margin: 0; }
.brand-block { padding: 28px 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.brand-block h2 { font-size: 1.6rem; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 500; }
.field .help { font-size: 0.875rem; color: var(--muted); }
.field .error { font-size: 0.875rem; color: var(--brick); display: none; }
.field.has-error .error { display: block; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--brick); }
input[type="text"], input[type="tel"], textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--r-box); padding: 12px 14px; min-height: 48px;
}
input::placeholder, textarea::placeholder { color: #6f726a; } /* 4.9:1 on white */
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%231e211c'><path d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.radio { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--r-box); margin-bottom: 10px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--ink); background: #fff; }
.radio input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--olive); }
.radio .t { font-weight: 500; }
.radio .d { font-size: 0.9375rem; color: var(--muted); }

/* ---------- checkout ---------- */
.checkout .container { display: grid; gap: 40px; }
.summary { background: var(--paper-2); border-radius: var(--r-box); padding: 24px; }
.summary h2 { font-size: 1.25rem; margin-bottom: 16px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.summary .line.total { font-weight: 600; font-size: 1.125rem; border-top: 1px solid var(--line-strong); }
.summary .line .khr { color: var(--muted); font-size: 0.8125rem; display: block; }
.summary .items { display: grid; gap: 12px; margin-bottom: 8px; }
.summary .item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.summary .item img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-box); }
.summary .item .n { font-weight: 500; }
.summary .item .q { font-size: 0.875rem; color: var(--muted); }
.send-actions { display: grid; gap: 10px; margin-top: 24px; }
.order-text { margin-top: 24px; }
.order-text textarea { min-height: 220px; font-family: ui-monospace, "Cascadia Mono", Menlo, monospace; font-size: 0.875rem; }
.form-error { color: var(--brick); padding: 12px 14px; border: 1px solid var(--brick); border-radius: var(--r-box); margin-bottom: 18px; }
@media (min-width: 900px) { .checkout .container { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; } .summary { position: sticky; top: calc(var(--header-h) + 16px); } }

/* ---------- cart drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(30, 33, 28, 0.4); opacity: 0; transition: opacity 240ms var(--ease); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 320ms var(--ease); box-shadow: var(--shadow); }
.cart-open .drawer { transform: none; }
.cart-open .drawer-overlay { opacity: 1; }
body:not(.cart-open) .drawer, body:not(.cart-open) .drawer-overlay { visibility: hidden; }
.cart-open .drawer, .cart-open .drawer-overlay { visibility: visible; }
.drawer .top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer .top h2 { font-size: 1.25rem; }
.drawer .items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer .item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer .item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-box); }
.drawer .item .n { font-weight: 500; }
.drawer .item .b { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.drawer .item .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-pill); }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; border-radius: var(--r-pill); }
.qty button:hover { background: var(--stone); }
.qty output { min-width: 28px; text-align: center; font-weight: 500; }
.drawer .remove { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.875rem; cursor: pointer; text-decoration: underline; padding: 0; }
.drawer .empty { padding: 48px 0; text-align: center; color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.drawer .bottom { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer .subtotal { display: flex; justify-content: space-between; font-weight: 500; }
.drawer .note { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); z-index: 70; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--r-pill); font-size: 0.9375rem; opacity: 0; transition: opacity 200ms var(--ease), transform 200ms var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- legal + 404 ---------- */
.legal-page { max-width: 72ch; }
.legal-page h2 { font-size: 1.35rem; margin: 32px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.notfound { padding-block: clamp(64px, 12vw, 160px); }

/* ---------- reveal (motion 4: modest, gated) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .tile img, .card .img img { transform: none !important; }
}

/* ---------- print ---------- */
@media print { .header, .promo, .footer, .drawer, .drawer-overlay, .btn, .preview-notice { display: none !important; } }
