/* Inkpilot store. Light, product first, black buttons, one accent color
   taken from the app. Phone layout first, wider screens below. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f3f3f0;
  --soft-2: #e9e9e4;
  --ink: #0d0d0e;
  --ink-2: #36363a;
  --muted: #6c6c72;
  --line: #e3e3de;
  --accent: #5145e5;
  --accent-soft: #eeedfd;
  --good: #1f7a3a;
  --star: #0d0d0e;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --gutter: 16px;
  --header-h: 60px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.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: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Banner and header ---------- */

.announce {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 9px var(--gutter);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--header-h);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.04em;
  text-decoration: none;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo img { width: 26px; height: 26px; border-radius: 7px; }

.nav { display: none; gap: 28px; margin-right: 18px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }

.nav-shop {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.99); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2a2e; }
.btn-secondary { background: #fff; color: var(--ink); border-color: #cfcfca; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn .price-tag { font-weight: 500; opacity: 0.75; }

/* Native Apple Pay button. Only shown on devices that have Apple Pay. */
.apple-pay {
  display: none;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  -webkit-appearance: -apple-pay-button;
  -apple-pay-button-type: buy;
  -apple-pay-button-style: black;
}
.has-apple-pay .apple-pay { display: block; }

.pay-stack { display: grid; gap: 10px; }

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.secure-note svg { width: 14px; height: 14px; }

/* ---------- Section basics ---------- */

.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(30px, 6.4vw, 46px); font-weight: 700; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ---------- Phone frame for app screens ---------- */

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 2098;
  border-radius: 13% / 6.2%;
  background: #0d0d0e;
  padding: 3.2%;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 24px 48px -24px rgba(13, 13, 14, 0.35);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10.4% / 4.8%;
}

/* ---------- Home: hero ---------- */

.hero { padding: 28px 0 8px; }
.hero-grid { display: grid; gap: 28px; }

.hero-copy .label { color: var(--accent); }
.hero h1 { font-size: clamp(38px, 10.5vw, 68px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.hero-lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 520px; }

.hero-actions { margin-top: 26px; display: grid; gap: 14px; justify-items: start; }
.hero-actions .btn { width: 100%; }

.app-badge { display: flex; align-items: center; gap: 12px; }
.app-badge img { height: 46px; width: auto; }
.app-badge .badge-note { font-size: 13px; color: var(--muted); line-height: 1.35; white-space: nowrap; }
.app-badge a { display: inline-block; border-radius: 8px; }
.app-badge [aria-disabled="true"] { opacity: 1; }

.hero-media {
  position: relative;
  background: var(--soft);
  border-radius: var(--radius);
  padding: 24px 20px 36px;
  overflow: hidden;
}
.hero-media .product-shot { width: 100%; mix-blend-mode: multiply; }
.hero-media .phone {
  position: absolute;
  width: 31%;
  right: 5%;
  bottom: -14%;
  transform: rotate(3deg);
}
.hero-media .tag {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts li {
  list-style: none;
  padding: 16px 12px 16px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.facts li b { display: block; font-size: 15px; color: var(--ink); }
.facts li:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
.facts li:nth-child(n+3) { border-top: 1px solid var(--line); }

@media (min-width: 900px) {
  .hero { padding: 56px 0 16px; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; align-items: center; gap: 56px; }
  .hero-actions { grid-template-columns: auto auto; align-items: center; gap: 22px; }
  .hero-actions .btn { width: auto; min-width: 240px; }
  .hero-media { padding: 40px 32px 56px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { padding: 20px 16px; }
  .facts li:first-child { padding-left: 0; }
  .facts li:nth-child(n) { border-left: 1px solid var(--line); border-top: 0; padding-left: 16px; }
  .facts li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- What it does ---------- */

.features {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 18px;
  margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.features::-webkit-scrollbar { display: none; }
.feature { scroll-snap-align: start; list-style: none; }
.feature .shot {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 22px 22px 0;
  overflow: hidden;
  height: 380px;
}
.section-soft .feature .shot { background: #fff; }
.feature .phone { width: 78%; margin: 0 auto; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.feature h3 { margin-top: 16px; font-size: 20px; font-weight: 700; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.swipe-hint { font-size: 13px; color: var(--muted); margin-top: 4px; }

@media (min-width: 900px) {
  .features { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 0; margin: 0; }
  .feature .shot { height: 420px; }
  .swipe-hint { display: none; }
}

/* ---------- Product spotlight on home ---------- */

.spotlight { display: grid; gap: 28px; }
.spotlight-media { background: var(--soft); border-radius: var(--radius); padding: 28px; }
.spotlight-media img { mix-blend-mode: multiply; }
.spotlight h2 { font-size: clamp(32px, 7vw, 50px); font-weight: 800; letter-spacing: -0.03em; }
.spotlight .lead { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.checks { margin-top: 20px; display: grid; gap: 10px; }
.checks li { list-style: none; display: flex; gap: 10px; font-size: 15px; }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--ink); }

.model-cards { margin-top: 26px; display: grid; gap: 12px; }
.model-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: #fff;
  transition: border-color 0.15s ease;
}
.model-card:hover { border-color: var(--ink); }
.model-card b { font-size: 17px; }
.model-card .price { font-weight: 700; font-size: 17px; }
.model-card .model-sub { color: var(--muted); font-size: 14px; grid-column: 1 / -1; }

@media (min-width: 900px) {
  .spotlight { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; }
  .model-cards { grid-template-columns: 1fr 1fr; }
}

/* ---------- Steps ---------- */

.steps { display: grid; gap: 14px; padding: 0; margin: 0; }
.step {
  list-style: none;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.step h3 { margin-top: 8px; font-size: 20px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Specs ---------- */

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.spec { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 13px; color: var(--muted); }
.spec dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; }
@media (min-width: 760px) {
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Reviews ---------- */

.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 16px; height: 16px; }
.stars .off { color: #cfcfca; }

.review-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.review-summary .big { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.review-list { display: grid; gap: 14px; }
.review { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.review h3 { font-size: 17px; margin-top: 10px; }
.review p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.review .meta { margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (min-width: 760px) { .review-list { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { 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: 20px 0;
  font-weight: 600;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); font-size: 16px; max-width: 680px; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px 24px; display: grid; gap: 22px; }
.cta-band h2 { font-size: clamp(30px, 6.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.cta-band p { color: #c9c9cf; margin-top: 10px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: #ececec; }
@media (min-width: 900px) {
  .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 56px; }
}

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .logo { color: var(--ink); }
.footer-brand p { margin-top: 10px; max-width: 320px; }
.footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; }
.footer li { list-style: none; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; display: grid; gap: 6px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Product page ---------- */

.crumbs { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.pdp { display: grid; gap: 24px; padding: 14px 0 48px; }

.gallery-main {
  background: var(--soft);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.gallery-main > * { grid-area: 1 / 1; }
.gallery-main .slide { display: none; width: 100%; height: 100%; place-items: center; padding: 20px; }
.gallery-main .slide.is-active { display: grid; }
.gallery-main .slide > img { mix-blend-mode: multiply; max-height: 100%; object-fit: contain; }
.gallery-main .slide .phone { width: auto; height: 92%; }
.gallery-main .slide-duo { display: none; gap: 4%; grid-template-columns: 1fr 1fr; align-items: center; padding: 6% 10%; }
.gallery-main .slide-duo.is-active { display: grid; }
.gallery-main .slide-duo .phone { width: 100%; height: auto; }

.thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 6px;
  cursor: pointer;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.thumb img { max-height: 100%; width: auto; mix-blend-mode: multiply; }
.thumb[aria-current="true"] { border: 2px solid var(--ink); }

.buybox h1 { font-size: clamp(32px, 7.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.buybox .sub { margin-top: 6px; color: var(--ink-2); font-size: 17px; }
.buybox .rating { margin-top: 10px; }
.buybox .price-row { margin-top: 16px; display: flex; align-items: baseline; gap: 10px; }
.buybox .price { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.buybox .tax { font-size: 13px; color: var(--muted); }

.options { margin: 22px 0 0; padding: 0; border: 0; }
.options legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.options legend span { font-weight: 400; color: var(--muted); }
.option { display: block; position: relative; cursor: pointer; }
.option + .option { margin-top: 10px; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option-body {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 2px 12px;
  padding: 16px;
  border: 1px solid #d6d6d1;
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.option-body::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #b5b5b0;
  grid-row: 1 / span 2;
  justify-self: center;
}
.option-body b { font-size: 16px; }
.option-body .opt-price { font-weight: 700; font-size: 16px; }
.option-body .opt-note { grid-column: 2 / -1; color: var(--muted); font-size: 14px; }
.option-body .opt-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 8px;
  vertical-align: 2px;
}
.option input:checked + .option-body { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.option input:checked + .option-body::before { border: 6px solid var(--ink); }
.option input:focus-visible + .option-body { outline: 2px solid var(--accent); outline-offset: 2px; }

.buybox .pay-stack { margin-top: 22px; }

.delivery {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  font-size: 14px;
  color: var(--ink-2);
}
.delivery svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.delivery b { color: var(--ink); }

.trust { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.trust li { list-style: none; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.trust svg { flex: none; width: 18px; height: 18px; color: var(--ink); }

.accordion { margin-top: 26px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 22px; font-weight: 300; line-height: 1; }
.accordion details[open] summary::after { content: "\2212"; }
.accordion .answer { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.accordion .answer p + p, .accordion .answer p + ul, .accordion .answer ul + p { margin-top: 10px; }
.accordion .answer ul { padding-left: 18px; }
.accordion .answer li + li { margin-top: 4px; }

@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.15fr 1fr; gap: 56px; padding-top: 20px; align-items: start; }
  .gallery { position: sticky; top: calc(var(--header-h) + 20px); }
  .gallery-main .slide { padding: 40px; }
}

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 16px; }
.compare tbody th { font-weight: 500; color: var(--muted); width: 34%; }
.compare-wrap { overflow-x: auto; }
.compare .btn { min-height: 44px; padding: 0 14px; font-size: 15px; white-space: nowrap; }

/* Sticky checkout bar on phones */
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.22s ease, visibility 0s linear 0.22s;
}
.sticky-buy.is-shown { transform: none; visibility: visible; transition: transform 0.22s ease, visibility 0s; }
.sticky-buy .info { margin-right: auto; line-height: 1.25; min-width: 0; }
.sticky-buy .info b { display: block; font-size: 15px; }
.sticky-buy .info span { font-size: 13px; color: var(--muted); }
.sticky-buy .btn { min-height: 46px; padding: 0 18px; font-size: 15px; }
.has-sticky .footer { padding-bottom: 96px; }
@media (min-width: 900px) {
  .sticky-buy { display: none; }
  .has-sticky .footer { padding-bottom: 32px; }
}

/* ---------- Cart drawer ---------- */

.drawer {
  margin: 0 0 0 auto;
  height: 100%;
  max-height: 100%;
  width: min(420px, 100%);
  max-width: 100%;
  border: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.25);
}
.drawer::backdrop { background: rgba(13, 13, 14, 0.4); }
.drawer[open] { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: slide-in 0.22s ease; }
  @keyframes slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 18px; letter-spacing: -0.01em; }
.drawer-body { padding: 20px; overflow-y: auto; flex: 1; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; }
.line-item img { width: 72px; height: 72px; border-radius: 12px; background: var(--soft); object-fit: cover; mix-blend-mode: multiply; }
.line-item b { display: block; font-size: 16px; }
.line-item span { font-size: 14px; color: var(--muted); }
.line-item .lp { font-weight: 600; }
.drawer .options { margin-top: 22px; }
.totals { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 17px; font-weight: 700; color: var(--ink); }
.drawer .delivery { margin-top: 18px; }

/* ---------- Policy pages ---------- */

.policy { max-width: 760px; padding: 40px 0 64px; }
.policy h1 { font-size: clamp(34px, 7vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.policy .updated { margin-top: 8px; color: var(--muted); font-size: 14px; }
.policy h2 { font-size: 21px; margin-top: 32px; }
.policy p, .policy ul { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.policy ul { padding-left: 20px; }
.policy li + li { margin-top: 6px; }

.faq-more { margin-top: 18px; justify-content: flex-start; }
.faq-more a { color: var(--ink); font-weight: 600; }
