/* Curry Express: kerriegoud van de roux-doos, rouxbruin, rijstwit en fukujinzuke-rood. Menu als Japanse kaartjesautomaat. */
@font-face { font-family: 'Dela Gothic One'; font-weight: 400; font-display: swap; src: url('/fonts/dela-gothic-one-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zen Kaku Gothic New'; font-weight: 400; font-display: swap; src: url('/fonts/zen-kaku-gothic-new-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zen Kaku Gothic New'; font-weight: 500; font-display: swap; src: url('/fonts/zen-kaku-gothic-new-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zen Kaku Gothic New'; font-weight: 700; font-display: swap; src: url('/fonts/zen-kaku-gothic-new-latin-700-normal.woff2') format('woff2'); }

:root {
  /* Kerriegoud (roux-doos), rouxbruin, rijstwit, fukujinzuke-rood, nori, logo-navy */
  --bg: #FCFBF7; --surface: #FFFFFF; --surface-2: #F4EFE3; --ink: #2E1A0C; --muted: #6E5B4A;
  --line: #E6DCC8; --red: #C7303A; --red-hover: #A9242D; --on-red: #FFFFFF; --sakura: #F1A2AE;
  --gold: #F2B630; --gold-deep: #D99A12; --on-gold: #2E1A0C; --on-ink: #F2B630; --nori: #1E2A22; --navy: #14214A;
  --band: #14214A; --on-band: #F6EDDA; --ok: #1F7A4D; --warn: #A15C00; --shadow: 0 10px 30px rgba(46, 26, 12, .12);
  --display: 'Dela Gothic One', 'Hiragino Sans', 'Yu Gothic', system-ui, sans-serif;
  --body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px; --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A110A; --surface: #241811; --surface-2: #2F2017; --ink: #F7EEDF; --muted: #C2AE98;
    --line: #47331F; --red: #E5505A; --red-hover: #F06670; --on-red: #FFFFFF;
    --gold: #F2B630; --gold-deep: #E0A520; --on-gold: #2E1A0C; --on-ink: #2E1A0C; --nori: #0F1712;
    --band: #0F1838; --on-band: #F6EDDA; --ok: #5BC48D; --warn: #E8A54B; --shadow: 0 10px 30px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.jp { font-family: var(--display); color: var(--red); font-weight: 700; }
.opt { color: var(--muted); font-weight: 400; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 10px; }
.eyebrow .jp { letter-spacing: 0; font-size: 16px; text-transform: none; }
.eyebrow-light { color: var(--sakura); }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 999px; padding: .8em 1.4em;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--on-red); }
.btn-primary:hover { background: var(--red-hover); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-small { padding: .45em 1em; font-size: 15px; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-lg { font-size: 18px; padding: .9em 1.8em; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--surface-2);
  color: var(--ink); cursor: pointer; font: inherit; font-size: 20px; font-weight: 700; flex-shrink: 0; }
.icon-btn:hover { background: var(--line); }

/* Aankondiging en kop */
.announce { background: var(--red); color: var(--on-red); text-align: center; font-weight: 700; font-size: 15px; padding: 8px var(--gutter); }
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px); }
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 16px; background: var(--ink); color: var(--bg);
  font: inherit; font-weight: 700; cursor: pointer; }
.cart-count { min-width: 24px; height: 24px; border-radius: 999px; background: var(--red); color: var(--on-red); display: inline-grid; place-items: center;
  font-size: 13px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }

/* Hero */
.hero { padding-block: 40px 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 86px); margin-block: 16px 18px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--red); }
.lead { font-size: 19px; color: var(--muted); max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.open-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); }
.open-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.open-pill[data-open="true"] .dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.open-pill[data-open="false"] .dot { background: var(--red); }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.facts li { display: flex; gap: 6px; align-items: baseline; }
.facts li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sakura); flex-shrink: 0; transform: translateY(-2px); }
.facts strong { color: var(--ink); font-weight: 700; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { position: relative; width: min(100%, 460px); }
.sun { position: absolute; width: 78%; aspect-ratio: 1; max-width: 100%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sakura) 45%, transparent), transparent 68%); }

/* Secties */
section { padding-block: 64px; }
.section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 48px); }
.section-head .jp { font-size: 20px; }

/* Menu */
.chips { position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0;
  margin-bottom: 8px; background: var(--bg); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex-shrink: 0; text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.chips a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.cat { padding-top: 20px; }
.cat h3 { font-size: 26px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s, box-shadow .15s; min-width: 0; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card h4 { font-family: var(--display); font-size: 21px; margin: 0; line-height: 1.2; }
.badge { flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--sakura) 35%, transparent); color: var(--ink); }
.badge.hot { background: var(--red); color: var(--on-red); }
.card-desc { color: var(--muted); font-size: 15px; flex: 1; }
.card-allergens { font-size: 13px; color: var(--muted); }
.card-allergens b { font-weight: 700; color: var(--ink); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.price { font-family: var(--display); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.add-btn { border: 0; border-radius: 999px; background: var(--red); color: var(--on-red); font: inherit; font-weight: 700; padding: 9px 16px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; }
.add-btn:hover { background: var(--red-hover); }
.add-btn[disabled] { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.allergen-note { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* Nieuwsbrief */
.news { background: var(--band); color: var(--on-band); }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.news h2 { font-size: clamp(32px, 4.4vw, 50px); margin-block: 12px 16px; color: var(--on-band); }
.news-grid > div > p:last-child { max-width: 30em; opacity: .85; }
.news-form { background: var(--surface); color: var(--ink); border-radius: 24px; padding: 24px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.code-card { border: 2px dashed var(--red); border-radius: 16px; padding: 16px; display: grid; gap: 8px; justify-items: start; }
.code-card strong { font-family: var(--display); font-size: 30px; letter-spacing: .04em; color: var(--red); }

/* Formulieren */
.field { display: grid; gap: 6px; min-width: 0; }
label { font-weight: 700; font-size: 15px; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: .65em .8em;
  width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 15%, transparent); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); }
textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--red); }
.field-error { color: var(--red); font-size: 14px; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.form-msg { font-size: 15px; font-weight: 500; }
.form-msg:empty { display: none; }
.form-msg.error { color: var(--red); }

/* Bezorging */
.delivery-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.zones { display: grid; gap: 10px; }
.zone { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 18px; }
.zone strong { font-family: var(--display); font-size: 22px; }
.zone span { color: var(--muted); font-variant-numeric: tabular-nums; }
.zone-min { font-size: 15px; color: var(--muted); margin-top: 6px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--on-red);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; }
.steps h3 { font-size: 22px; align-self: end; }
.steps p { color: var(--muted); }

/* Voettekst */
.footer { border-top: 1px solid var(--line); padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 20px; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Mandje-balk (mobiel) */
.cart-bar { position: fixed; z-index: 25; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: none; justify-content: space-between; align-items: center; gap: 12px;
  border: 0; border-radius: 999px; padding: 16px 22px; background: var(--red); color: var(--on-red); font: inherit; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 30px rgba(207, 46, 30, .35); }

/* Lade */
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(12, 19, 41, .45); animation: fade .2s ease; }
.drawer { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--surface); display: flex; flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, .2); animation: slide .25s ease; padding-top: env(safe-area-inset-top, 0px); padding-right: env(safe-area-inset-right, 0px); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 24px; flex: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 14px; align-content: start; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; background: var(--surface); }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.line-name { font-weight: 700; }
.line-opts { font-size: 14px; color: var(--muted); }
.line-price { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.line-controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.line-controls .icon-btn { width: 32px; height: 32px; font-size: 18px; }
.line-controls output { min-width: 20px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.line-remove { margin-left: auto; background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.empty { text-align: center; padding: 32px 0; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.min-progress { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; font-size: 14px; }
.min-progress .bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.min-progress .bar span { display: block; height: 100%; background: var(--red); border-radius: 99px; transition: width .3s; }
.totals { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 0; font-variant-numeric: tabular-nums; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; padding-left: 12px; }
.totals .total { font-weight: 700; font-size: 19px; color: var(--ink); padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.totals .discount { color: var(--ok); }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; min-width: 0; }
.checkout legend { font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 4px; padding: 0; }
.row-2, .code-row { display: flex; gap: 10px; align-items: end; }
.grow { flex: 1; }
.field.small { width: 96px; flex-shrink: 0; }
.pay-options { display: grid; gap: 8px; }
.pay-option { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; font-weight: 400; }
.pay-option:has(input:checked) { border-color: var(--ink); background: var(--surface-2); }
.pay-option:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.pay-option input { width: 20px; height: 20px; accent-color: var(--red); flex-shrink: 0; }
.pay-option span { display: grid; }
.pay-option small { color: var(--muted); font-size: 14px; }
.demo-note { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--ink); border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 500; }

/* Gerecht-dialoog */
.item-dialog { border: 0; border-radius: 24px; padding: 0; width: min(480px, calc(100% - 24px)); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.item-dialog::backdrop { background: rgba(12, 19, 41, .45); }
.item-dialog form { padding: 22px; display: grid; gap: 16px; }
.dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dlg-head h2 { font-size: 26px; }
.dlg-desc { color: var(--muted); font-size: 15px; }
.opt-group { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.opt-group legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.opt-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-choices label { position: relative; font-weight: 500; }
.opt-choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-choices > label > span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; }
.opt-choices input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.opt-choices input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.dlg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper output { min-width: 24px; text-align: center; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }

/* Melding */
.toast { position: fixed; z-index: 60; left: 50%; top: calc(80px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -12px); opacity: 0;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; pointer-events: none;
  transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Statuspagina, juridische pagina's en demobetaling */
.page { padding-block: 40px 64px; }
.page-narrow { max-width: 720px; }
.status-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 22px; box-shadow: var(--shadow); }
.status-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.status-head h1 { font-size: clamp(30px, 5vw, 44px); }
.order-no { font-variant-numeric: tabular-nums; font-weight: 700; background: var(--surface-2); padding: 6px 12px; border-radius: 999px; font-size: 15px; }
.eta { display: grid; gap: 4px; }
.eta strong { font-family: var(--display); font-size: clamp(44px, 8vw, 64px); line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.timeline li { display: grid; gap: 8px; align-content: start; font-size: 14px; font-weight: 500; color: var(--muted); }
.timeline li::before { content: ''; height: 6px; border-radius: 99px; background: var(--line); }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--red); }
.timeline li.current { color: var(--ink); font-weight: 700; }
.timeline li.current::before { background: linear-gradient(90deg, var(--red) 50%, var(--line) 50%); background-size: 200% 100%; animation: progress 1.6s linear infinite; }
@keyframes progress { from { background-position: 100% 0; } to { background-position: 0 0; } }
.notice { border-radius: 14px; padding: 14px 16px; background: var(--surface-2); }
.notice.bad { background: color-mix(in srgb, var(--red) 14%, transparent); }
.prose { display: grid; gap: 14px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); }
.prose h2 { font-size: 24px; margin-top: 12px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.back { display: inline-block; margin-bottom: 20px; font-weight: 700; text-decoration: none; color: var(--muted); }
.demo-pay { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.demo-card { background: var(--surface); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); width: min(420px, 100%); display: grid; gap: 16px; text-align: center; }
.demo-card h1 { font-size: 48px; }
.demo-card form { display: grid; gap: 10px; }

/* Responsief */
@media (max-width: 880px) {
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .hero { padding-block: 16px 40px; }
  .hero-grid, .news-grid, .delivery-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { order: -1; }
  .hero-art img { width: min(70%, 300px); }
  .cart-bar:not([hidden]) { display: flex; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  section { padding-block: 48px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .cart-btn-label { display: none; }
  .drawer { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .status-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Toevoegingen: woonplaatskiezer, herhalen, toppings, upsell, foto's ---------- */
.zone-pick { margin-top: 28px; display: grid; gap: 10px; }
.zone-pick-q { font-weight: 700; }
.zone-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.zone-btn { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; padding: 10px 18px;
  border-radius: 999px; cursor: pointer; transition: border-color .15s, background .15s; }
.zone-btn:hover { border-color: var(--ink); }
.zone-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.zone-pick-a { font-size: 15px; color: var(--muted); }
.surprise { margin-left: auto; align-self: center; }
.repeat { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--surface-2);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 8px; }
.repeat-title { font-family: var(--display); font-weight: 800; font-size: 20px; }
.repeat .muted { font-size: 15px; }
.btn-small-primary { padding: .55em 1.2em; font-size: 15px; }
.card.has-img { padding-top: 0; overflow: hidden; }
.card-img { width: calc(100% + 40px); max-width: none; margin: 0 -20px 4px; aspect-ratio: 4 / 3; object-fit: cover; }
.opt-choices small { color: var(--muted); font-weight: 500; }
.opt-choices input:checked + span small { color: inherit; opacity: .8; }
.opt-choices > label > span { display: inline-flex; align-items: center; gap: 6px; }
.chilis { display: inline-flex; gap: 1px; color: var(--red); }
.opt-choices input:checked + span .chilis { color: var(--sakura); }
.upsell { display: grid; gap: 8px; }
.upsell-title { font-family: var(--display); font-weight: 800; font-size: 18px; }
.upsell-list { display: grid; gap: 8px; }
.upsell-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1.5px dashed var(--line); background: transparent;
  color: var(--ink); font: inherit; padding: 10px 14px; border-radius: 12px; cursor: pointer; text-align: left; }
.upsell-item:hover { border-color: var(--red); border-style: solid; }
.upsell-item strong { color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline time { font-size: 13px; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; margin-top: -6px; }
@media (max-width: 520px) {
  .surprise { margin-left: 0; }
}
#dlg-options { display: grid; gap: 14px; }

/* ---------- Herontwerp: kerriegoud hero en kaartjesautomaat ---------- */
.price, .footer-brand, .zone strong, .repeat-title, .upsell-title, .checkout legend, .card h4, .code-card strong, .eta strong, .brand, .steps li::before { font-weight: 400; }
.brand { font-family: var(--display); font-size: 19px; letter-spacing: .01em; }
.topbar { background: var(--gold); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 3px solid var(--ink); }
.topbar .nav a { color: var(--on-gold); opacity: .8; }
.topbar .nav a:hover { opacity: 1; }
.topbar .brand { color: var(--on-gold); }
.cart-btn { background: var(--ink); color: var(--gold); }
@media (prefers-color-scheme: dark) { .cart-btn { background: #2E1A0C; } }
.announce { background: var(--ink); color: var(--gold); }

.hero { background: var(--gold); color: var(--on-gold); padding-block: 32px 64px; position: relative; isolation: isolate; }
.hero-jp { position: absolute; z-index: -1; right: -2vw; bottom: -0.18em; margin: 0; font-family: var(--display); font-size: clamp(140px, 26vw, 360px);
  line-height: 1; color: var(--gold-deep); opacity: .55; pointer-events: none; user-select: none; }
.hero h1 { font-size: clamp(42px, 6.6vw, 84px); line-height: 1.04; margin-block: 8px 20px; letter-spacing: 0; color: var(--on-gold); max-width: 11em; }
.hero .lead { color: color-mix(in srgb, var(--on-gold) 78%, transparent); }
.hero .facts { color: color-mix(in srgb, var(--on-gold) 75%, transparent); }
.hero .facts strong { color: var(--on-gold); }
.hero .facts li::before { background: var(--red); }
.hero .open-pill { background: var(--surface); color: var(--ink); }
.hero .zone-btn { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); }
.hero .zone-btn[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.hero .zone-pick-a { color: color-mix(in srgb, var(--on-gold) 80%, transparent); }
.hero .btn-primary { box-shadow: 0 4px 0 var(--ink); }
.hero .btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.sun { display: none; }

.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); }
.section-head .jp { font-family: var(--display); font-weight: 400; color: var(--red); }

/* Kaartjesautomaat: elk gerecht is een knop met een gekleurde kop per soort */
.menu-section { background: var(--bg); }
.chips a { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.chips a[aria-current="true"] { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.cat h3 { font-size: 22px; }
.grid { gap: 14px; }
.card { --tk: var(--gold); border: 2px solid var(--ink); border-radius: 10px; padding: 0 18px 18px; box-shadow: 0 5px 0 var(--ink); gap: 8px; }
.card:hover { transform: none; box-shadow: 0 5px 0 var(--ink); }
.card::before { content: ''; display: block; height: 12px; margin: 0 -18px 6px; background: var(--tk); border-bottom: 2px solid var(--ink); border-radius: 8px 8px 0 0; }
.card.has-img::before { display: none; }
.card.has-img { padding-top: 0; }
.card-img { width: calc(100% + 36px); margin: 0 -18px 6px; border-bottom: 2px solid var(--ink); border-radius: 8px 8px 0 0; }
.ticket-curry { --tk: var(--gold); }
.ticket-deals { --tk: var(--red); }
.ticket-onigiri { --tk: var(--nori); }
.ticket-extra { --tk: #E9A0A8; }
.ticket-drinken { --tk: #3E7CB1; }
.card h4 { font-family: var(--display); font-size: 20px; }
.badge { background: var(--ink); color: var(--on-ink); letter-spacing: .02em; text-transform: none; font-size: 13px; }
.badge.hot { background: var(--red); color: var(--on-red); }
.price { font-family: var(--display); font-size: 24px; }
.add-btn { background: var(--red); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); transition: transform .08s, box-shadow .08s; }
.add-btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.add-btn[disabled] { box-shadow: none; border-color: var(--line); }
.card.pressed { animation: press .22s ease; }
@keyframes press { 40% { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); } }

.news { background: var(--band); }
.news-form { border-radius: 12px; border: 2px solid var(--ink); box-shadow: 0 5px 0 rgba(0, 0, 0, .35); }
.steps li::before { background: var(--gold); color: var(--on-gold); border: 2px solid var(--ink); font-family: var(--display); }
.zone { border: 2px solid var(--line); border-radius: 10px; }
.zone strong { font-family: var(--display); font-size: 20px; }
.footer { background: var(--ink); color: var(--bg); border-top: 0; }
.footer .muted { color: color-mix(in srgb, var(--bg) 70%, transparent); }
@media (prefers-color-scheme: dark) { .footer { background: #0F0905; color: var(--ink); } .footer .muted { color: var(--muted); } }
.cart-bar { background: var(--red); border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.drawer-head h2, .dlg-head h2 { font-family: var(--display); font-weight: 400; }
.opt-choices input:checked + span { background: var(--ink); color: var(--on-ink); }
@media (max-width: 880px) {
  .hero { padding-block: 12px 44px; }
  .hero-jp { font-size: 44vw; right: -4vw; }
}

/* Allergenen per gerecht */
.allergens { display: grid; gap: 6px; }
.allergens-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.allergen-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.allergen-tags li { font-size: 13px; font-weight: 500; padding: 2px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); }
.allergen-none { font-size: 13px; color: var(--muted); }

/* ---------- Bezorgketen-stijl: donkere kop en hero, postcodecheck, USP-band, borden per gerecht ---------- */
:root { --sumi: #1B1310; --sumi-2: #2A1E17; --on-sumi: #FBF3E2; --rice: #FFF6E3; }
.topbar { background: var(--sumi); border-bottom: 3px solid var(--gold); }
.topbar .brand, .topbar .nav a { color: var(--on-sumi); }
.topbar .nav a { opacity: .78; }
.cart-btn { background: var(--gold); color: #2E1A0C; }
@media (prefers-color-scheme: dark) { .cart-btn { background: var(--gold); } }
.announce { background: var(--red); color: #fff; }

.hero { background: var(--sumi); color: var(--on-sumi); padding-block: 40px 72px; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 10px; z-index: -1;
  background: repeating-linear-gradient(90deg, var(--gold) 0 40px, var(--red) 40px 80px); }
.hero-jp { color: var(--sumi-2); opacity: 1; }
.hero h1 { color: var(--gold); }
.hero .lead { color: color-mix(in srgb, var(--on-sumi) 80%, transparent); }
.hero .facts { color: color-mix(in srgb, var(--on-sumi) 72%, transparent); }
.hero .facts strong { color: var(--on-sumi); }
.hero .facts li::before { background: var(--gold); }
.hero .zone-pick-q { font-size: 15px; color: color-mix(in srgb, var(--on-sumi) 75%, transparent); font-weight: 500; }
.hero .zone-btn { background: transparent; color: var(--on-sumi); border: 1.5px solid color-mix(in srgb, var(--on-sumi) 35%, transparent); padding: 7px 14px; font-size: 15px; }
.hero .zone-btn:hover { border-color: var(--gold); }
.hero .zone-btn[aria-pressed="true"] { background: var(--gold); color: #2E1A0C; border-color: var(--gold); }
.hero .zone-pick-a { color: color-mix(in srgb, var(--on-sumi) 70%, transparent); }
.hero .open-pill { background: var(--sumi-2); color: var(--on-sumi); }
.hero .btn-primary { box-shadow: none; }
.hero-art { isolation: isolate; }
.btn-gold { background: var(--gold); color: #2E1A0C; }
.btn-gold:hover { background: #FFC94D; }

.pc-check { margin-top: 26px; background: var(--rice); color: #2E1A0C; border-radius: 16px; padding: 16px; display: grid; gap: 10px; max-width: 520px;
  box-shadow: 0 0 0 4px var(--red); }
.pc-label { font-size: 16px; }
.pc-row { display: flex; gap: 8px; }
.pc-row input { flex: 1; font-size: 18px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #fff; color: #2E1A0C; border-color: #E6DCC8; }
.pc-row .btn { padding-inline: 1.4em; }
.pc-result { font-size: 15px; font-weight: 500; }
.pc-result:empty { display: none; }
.pc-result[data-state="ok"] { color: #1F7A4D; }
.pc-result[data-state="bad"] { color: #A9242D; }

.usp { list-style: none; margin: 0; padding: 18px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px));
  background: var(--gold); color: #2E1A0C; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px;
  max-width: none; border-bottom: 3px solid #2E1A0C; }
.usp li { display: grid; gap: 2px; min-width: 0; max-width: 280px; justify-self: center; }
.usp strong { font-family: var(--display); font-weight: 400; font-size: 18px; }
.usp span { font-size: 14px; opacity: .8; }

.chips { background: var(--bg); border-bottom: 1px solid var(--line); }
.chips a { font-size: 16px; padding: 9px 18px; }
.chips a[aria-current="true"] { background: var(--red); color: #fff; }

.card-plate { margin: 0 -18px 6px; aspect-ratio: 16 / 9; display: grid; place-items: center; border-bottom: 2px solid var(--ink); border-radius: 8px 8px 0 0;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, #fff 30%, var(--tk)) 0 34%, var(--tk) 35%); overflow: hidden; }
.card-plate span { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); color: #2E1A0C; opacity: .85; letter-spacing: .02em; }
.ticket-onigiri .card-plate span, .ticket-drinken .card-plate span, .ticket-deals .card-plate span { color: #fff; }
.card.has-img::before { display: none; }

.cat-featured { background: var(--sumi); margin: 12px calc(-1 * var(--gutter)) 0; padding: 24px var(--gutter) 28px; border-radius: 16px; }
.cat-featured h3 { color: var(--gold); font-size: 28px; }
.cat-featured .card { box-shadow: 0 5px 0 var(--red); border-color: #2E1A0C; }
.cat-featured .card-plate { aspect-ratio: 4 / 3; }
.cat-featured .price { color: var(--red); font-size: 28px; }

@media (max-width: 880px) {
  .usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp li { justify-self: start; }
  .hero-art img { width: min(60%, 260px); }
  .hero-art::before { width: min(66%, 290px); }
  .cat-featured { margin-inline: 0; border-radius: 14px; padding-inline: 14px; }
}
@media (max-width: 520px) {
  .pc-row .btn { padding-inline: 1em; }
  .usp strong { font-size: 16px; }
}
@media (max-width: 880px) {
  .hero { padding-block: 16px 56px; }
  .hero-art img { width: min(38%, 170px); }
  .hero-art::before { width: min(42%, 190px); box-shadow: 0 0 0 8px color-mix(in srgb, var(--gold) 22%, transparent); }
  .hero .lead { font-size: 16px; }
}

/* ---------- Japanse accenten: kanji, hiragana, katakana ---------- */
.tate { position: absolute; z-index: 1; left: 0; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; margin: 0;
  font-family: var(--display); font-size: 22px; letter-spacing: .35em; color: var(--gold); opacity: .9; }
.tate-right { left: auto; right: 0; color: var(--sakura); font-size: 18px; }
.card-plate { gap: 2px; align-content: center; }
.plate-kanji { font-family: var(--display); font-size: clamp(40px, 5vw, 60px); line-height: 1; color: #2E1A0C; opacity: .88; }
.plate-kana { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #2E1A0C; opacity: .75; }
.ticket-onigiri .plate-kanji, .ticket-onigiri .plate-kana, .ticket-deals .plate-kanji, .ticket-deals .plate-kana { color: #fff; }
.card-plate > span:not(.plate-kanji) { font-family: var(--display); }
.cat h3 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cat-jp { font-size: 16px; letter-spacing: .08em; }
.cat-featured .cat-jp { color: var(--sakura); }
.usp li { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.usp-jp { grid-row: span 2; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; color: var(--red);
  writing-mode: vertical-rl; letter-spacing: .05em; }
.usp li strong, .usp li span { grid-column: 2; }
.steps li::before { content: counter(step, cjk-decimal); }
.news { position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--band);
  background-image: radial-gradient(circle at 50% 100%, transparent 0 10px, rgba(255,255,255,.05) 10px 12px, transparent 12px 18px, rgba(255,255,255,.05) 18px 20px, transparent 20px);
  background-size: 40px 20px; }
.news-jp { position: absolute; z-index: -1; right: 4%; top: 50%; transform: translateY(-50%); margin: 0; font-family: var(--display);
  font-size: clamp(120px, 18vw, 240px); line-height: 1; color: rgba(255,255,255,.06); pointer-events: none; }
.footer-brand .jp { font-size: 14px; margin-left: 8px; color: var(--gold); }
.footer-thanks { font-family: var(--display); color: var(--gold); font-size: 15px; margin-block: 4px 8px; }
.footer-thanks span { font-family: var(--body); color: color-mix(in srgb, var(--bg) 70%, transparent); font-size: 14px; }
@media (max-width: 880px) {
  .tate { font-size: 15px; letter-spacing: .25em; left: 4%; }
  .tate-right { right: 4%; font-size: 13px; }
}
/* correcties Japanse accenten */
.hero-art { padding-inline: 56px; }
.tate { text-orientation: upright; line-height: 1; letter-spacing: .12em; left: 4px; font-size: 24px; }
.tate-right { right: 4px; left: auto; font-size: 20px; }
.usp li { grid-template-columns: 1fr; }
.usp-jp { grid-row: auto; writing-mode: horizontal-tb; font-size: 15px; letter-spacing: .1em; }
.usp li strong, .usp li span { grid-column: 1; }
@media (max-width: 880px) {
  .hero-art { padding-inline: 0; }
  .tate { font-size: 16px; left: 8%; }
  .tate-right { font-size: 14px; right: 8%; left: auto; }
}
.tate { white-space: nowrap; }
.hero-kana { font-family: 'Hiragino Sans', 'Yu Gothic', 'Noto Sans CJK JP', system-ui, sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .18em;
  color: var(--gold); display: flex; gap: 14px; align-items: center; }
.hero-kana span { color: var(--sakura); }
.hero-kana::before { content: ''; width: 36px; height: 3px; background: var(--red); }
.hero-art { padding-inline: 0; }

/* ---------- Live volgen ---------- */
.track { display: grid; gap: 10px; background: var(--surface-2); border-radius: 16px; padding: 14px; }
.track-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.track-lead { font-weight: 700; }
.track-min strong { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--red); font-variant-numeric: tabular-nums; }
.track-map { height: 280px; border-radius: 12px; overflow: hidden; border: 2px solid var(--ink); background: #e8e2d4; }
.track-note { font-size: 14px; }
.pin { display: grid; place-items: center; }
.pin span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-family: var(--display); font-size: 16px; line-height: 1;
  border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.pin-driver span { background: var(--red); color: #fff; }
.pin-home span { background: var(--gold); color: #2E1A0C; }
.leaflet-container { font: inherit; font-size: 12px; }

/* ---------- Bezorgerspagina ---------- */
.drv { display: grid; gap: 16px; }
.drv-gps { display: flex; align-items: center; gap: 10px; font-weight: 700; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.drv-gps .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.drv-gps[data-state="ok"] .dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.drv-gps[data-state="bad"] .dot { background: var(--red); }
.drv-gps small { font-weight: 500; color: var(--muted); display: block; }
.drv-list { display: grid; gap: 10px; }
.drv-item { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; background: var(--surface); border: 2px solid var(--line);
  border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.drv-item:has(input:checked) { border-color: var(--ink); background: var(--surface-2); }
.drv-item input { width: 22px; height: 22px; accent-color: var(--red); margin-top: 2px; }
.drv-item .seq { font-family: var(--display); color: var(--red); }
.drv-item p { margin: 0; }
.drv-meta { color: var(--muted); font-size: 14px; }
.drv-stop { background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; padding: 14px; display: grid; gap: 8px; }
.drv-stop.done { opacity: .5; border-color: var(--line); }
.drv-stop h3 { font-size: 20px; display: flex; gap: 10px; align-items: baseline; }
.drv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.drv-actions .btn { padding: .6em 1.1em; }
.drv-pay { font-weight: 700; }
.drv-pay.cod { color: var(--red); }
.drv-stop.current { border-color: var(--red); box-shadow: 0 4px 0 var(--red); }
.drv-now { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.drv { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.drv-bar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--sumi); border-top: 3px solid var(--gold); }
.drv-done { display: grid; justify-items: center; gap: 0; font-size: 22px; padding-block: .55em; border-radius: 16px; }
.drv-done small { font-size: 14px; font-weight: 500; opacity: .9; }
.drv-bar .btn-gold { border-radius: 16px; }
