/* TysSushi — verse sushi, 15% onder de bezorgprijs.
   Visuele identiteit: strak-Japans, warm wit/houtskool + wasabi-groen + zalm-accent. */

:root {
  --charcoal: #1c1a17;
  --nori: #2f3d1e;
  --wasabi: #6f9b3f;
  --wasabi-dark: #5a7f31;
  --salmon: #ef8a68;
  --salmon-dark: #e2704a;
  --bg: #f7f3ec;
  --card: #fffdf9;
  --border: #e8e0d3;
  --text: #2b2620;
  --muted: #8a7f70;
  --ok: #3f8f5b;
  --err: #c9503a;
  --shadow: 0 1px 2px rgba(28,26,23,.05), 0 8px 24px rgba(28,26,23,.06);
  --shadow-lg: 0 12px 48px rgba(28,26,23,.14);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Header ─────────────────────────────────────────── */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,249,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.top-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--salmon); box-shadow: 0 0 0 4px rgba(239,138,104,.18); }
.brand b { color: var(--wasabi); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); transition: .15s; }
.nav a:hover { color: var(--text); background: var(--bg); }
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14px; transition: .15s; position: relative;
}
.cart-btn:hover { background: #000; transform: translateY(-1px); }
.cart-count {
  background: var(--salmon); color: #fff; min-width: 20px; height: 20px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; padding: 0 6px;
}

/* ── Hero ───────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(239,138,104,.16), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(111,155,63,.14), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--wasabi-dark);
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
.hero h1 .accent { color: var(--salmon); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 1/1; border-radius: 28px; position: relative;
  background: linear-gradient(150deg, var(--charcoal), var(--nori));
  box-shadow: var(--shadow-lg); overflow: hidden; display: grid; place-items: center;
}
.hero-visual .plate {
  width: 74%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a4a26, #222a16 70%);
  box-shadow: inset 0 4px 30px rgba(0,0,0,.4), 0 8px 30px rgba(0,0,0,.3);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; place-items: center; padding: 16%;
}
.hero-visual .piece {
  width: 100%; aspect-ratio: 1/1; border-radius: 40% 40% 45% 45%;
  background: linear-gradient(160deg, #fbe9e0, #f7d9c9);
  box-shadow: 0 3px 8px rgba(0,0,0,.25); position: relative;
}
.hero-visual .piece::after {
  content: ''; position: absolute; left: 12%; right: 12%; top: 8%; height: 34%; border-radius: 40%;
  background: linear-gradient(160deg, var(--salmon), var(--salmon-dark));
}
.hero-visual .piece.veg::after { background: linear-gradient(160deg, var(--wasabi), var(--wasabi-dark)); }
.hero-visual .piece.tun::after { background: linear-gradient(160deg, #d9553f, #b23a28); }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: .16s; white-space: nowrap;
}
.btn.primary { background: var(--wasabi); color: #fff; box-shadow: 0 6px 18px rgba(111,155,63,.3); }
.btn.primary:hover { background: var(--wasabi-dark); transform: translateY(-2px); }
.btn.dark { background: var(--charcoal); color: #fff; }
.btn.dark:hover { background: #000; transform: translateY(-2px); }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); }
.btn.ghost:hover { border-color: var(--wasabi); color: var(--wasabi-dark); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }
.btn.salmon { background: var(--salmon); color: #fff; box-shadow: 0 6px 18px rgba(239,138,104,.3); }
.btn.salmon:hover { background: var(--salmon-dark); transform: translateY(-2px); }

/* ── Sections ───────────────────────────────────────── */
section.block { padding: 52px 0; }
.section-head { margin-bottom: 32px; max-width: 60ch; }
.section-head .eyebrow { color: var(--wasabi-dark); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 8px 0 10px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ── Product grids ──────────────────────────────────── */
.grid { display: grid; gap: 18px; }
.grid.boxes { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid.items { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 6px;
  transition: .18s; position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #dcd2c2; }
.card .thumb {
  aspect-ratio: 16/10; border-radius: var(--radius-sm); margin-bottom: 6px;
  background: linear-gradient(150deg, #f0ebe0, #e7ddcc); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.card .thumb .maki {
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff8f2 0 22%, #263219 24% 40%, #f6e7db 42%);
  box-shadow: 0 4px 12px rgba(0,0,0,.14); position: relative;
}
.card .thumb .maki::after {
  content: ''; position: absolute; inset: 40%; border-radius: 50%;
  background: var(--fill, var(--salmon));
}
.badge-veggie { position: absolute; top: 10px; left: 10px; background: var(--wasabi); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; letter-spacing: .02em; }
.badge-deal { position: absolute; top: 10px; right: 10px; background: var(--salmon); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.card h3 { font-size: 17px; font-weight: 800; }
.card .desc { color: var(--muted); font-size: 13.5px; flex: 1; }
.card .meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 2px; }
.card .meta span { background: var(--bg); padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 14px; font-weight: 600; }
.price-save { color: var(--wasabi-dark); font-size: 12px; font-weight: 800; }
.card-actions { margin-top: 12px; display: flex; align-items: center; gap: 8px; }

/* qty stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--card); }
.stepper button { width: 34px; height: 34px; font-size: 18px; font-weight: 700; color: var(--text); display: grid; place-items: center; transition: .12s; }
.stepper button:hover { background: var(--bg); color: var(--wasabi-dark); }
.stepper .n { min-width: 30px; text-align: center; font-weight: 800; font-size: 15px; }

/* ── Box builder ────────────────────────────────────── */
.builder { display: grid; grid-template-columns: 1.4fr .85fr; gap: 24px; align-items: start; }
.builder-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--card);
  font-weight: 700; font-size: 13.5px; color: var(--muted); transition: .14s; }
.chip.active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.chip:hover:not(.active) { border-color: var(--wasabi); color: var(--wasabi-dark); }
.builder-list { display: grid; gap: 10px; }
.builder-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-sm); transition: .14s;
}
.builder-item:hover { border-color: #dcd2c2; }
.builder-item .bi-maki { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 40% 35%, #fff8f2 0 22%, #263219 24% 40%, #f6e7db 42%); position: relative; }
.builder-item .bi-maki::after { content: ''; position: absolute; inset: 40%; border-radius: 50%; background: var(--fill, var(--salmon)); }
.builder-item .bi-info { flex: 1; min-width: 0; }
.builder-item .bi-info b { font-size: 14.5px; }
.builder-item .bi-info small { display: block; color: var(--muted); font-size: 12px; }
.builder-item .bi-price { font-weight: 800; font-size: 14px; white-space: nowrap; }

.builder-panel {
  background: var(--charcoal); color: #fff; border-radius: var(--radius); padding: 24px;
  position: sticky; top: 84px; box-shadow: var(--shadow-lg);
}
.builder-panel h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.builder-panel .bp-sub { color: rgba(255,255,255,.6); font-size: 13px; margin-bottom: 18px; }
.bp-ring { display: grid; place-items: center; margin: 8px 0 18px; }
.bp-ring .num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.bp-ring .lbl { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 600; }
.bp-progress { height: 8px; background: rgba(255,255,255,.14); border-radius: 999px; overflow: hidden; margin-bottom: 6px; }
.bp-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--wasabi), var(--salmon)); border-radius: 999px; transition: width .3s; }
.bp-hint { font-size: 12.5px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.bp-lines { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow-y: auto; margin-bottom: 16px; }
.bp-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.bp-line .x { color: rgba(255,255,255,.5); font-size: 12px; }
.bp-line .x:hover { color: var(--salmon); }
.bp-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); margin-bottom: 16px; }
.bp-total .num { font-size: 24px; font-weight: 800; }
.bp-empty { color: rgba(255,255,255,.5); font-size: 13.5px; text-align: center; padding: 20px 0; }

/* ── Recipes ────────────────────────────────────────── */
.recipe-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.recipe-card { cursor: pointer; }
.recipe-card .rc-cat { color: var(--wasabi-dark); font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.recipe-card .rc-meta { display: flex; gap: 12px; color: var(--muted); font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.recipe-week { border: 2px solid var(--wasabi); }
.recipe-week .badge-week { position: absolute; top: 12px; right: 12px; background: var(--wasabi); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }

/* ── Modal / drawer ─────────────────────────────────── */
.overlay { position: fixed; inset: 0; background: rgba(28,26,23,.5); backdrop-filter: blur(3px); z-index: 100; opacity: 0; pointer-events: none; transition: .2s; }
.overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--bg);
  z-index: 101; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 20px; }
.drawer-close { width: 38px; height: 38px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); display: grid; place-items: center; font-size: 20px; color: var(--muted); }
.drawer-close:hover { color: var(--text); border-color: var(--wasabi); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-foot { padding: 20px; border-top: 1px solid var(--border); background: var(--card); }

.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-line:last-child { border-bottom: none; }
.cart-line .cl-info { flex: 1; min-width: 0; }
.cart-line .cl-info b { font-size: 15px; }
.cart-line .cl-info small { display: block; color: var(--muted); font-size: 12.5px; }
.cart-line .cl-sub { color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.4; }
.cart-line .cl-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line .cl-price { font-weight: 800; font-size: 15px; }
.cart-empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.cart-empty .big { font-size: 40px; margin-bottom: 10px; }

.totals { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.totals .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.totals .row.grand { color: var(--text); font-weight: 800; font-size: 20px; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }
.totals .row .free { color: var(--wasabi-dark); font-weight: 700; }

/* ── Checkout form ──────────────────────────────────── */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--card); font-family: inherit; font-size: 15px; color: var(--text); transition: .14s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wasabi); box-shadow: 0 0 0 3px rgba(111,155,63,.14); }
.field textarea { resize: vertical; min-height: 70px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.toggle-row { display: flex; gap: 10px; margin-bottom: 20px; }
.toggle-opt { flex: 1; text-align: center; padding: 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--card); font-weight: 700; font-size: 14px; transition: .14s; }
.toggle-opt.active { border-color: var(--wasabi); background: rgba(111,155,63,.08); color: var(--wasabi-dark); }
.toggle-opt small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 3px; }
.toggle-opt.active small { color: var(--wasabi-dark); }
.form-err { background: rgba(201,80,58,.1); color: var(--err); padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }

/* ── Recipe detail / thank-you ──────────────────────── */
.recipe-detail h2 { font-size: 26px; margin-bottom: 6px; }
.recipe-detail .rd-intro { color: var(--muted); margin-bottom: 18px; }
.recipe-detail .rd-stats { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.recipe-detail .rd-stats .s { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 16px; text-align: center; }
.recipe-detail .rd-stats .s b { display: block; font-size: 16px; }
.recipe-detail .rd-stats .s small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.recipe-detail h4 { font-size: 15px; margin: 20px 0 10px; }
.recipe-detail ul.ing { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.recipe-detail ul.ing li { padding-left: 22px; position: relative; font-size: 14.5px; }
.recipe-detail ul.ing li::before { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--wasabi); }
.recipe-detail ol.steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.recipe-detail ol.steps li { counter-increment: s; padding-left: 42px; position: relative; font-size: 14.5px; }
.recipe-detail ol.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--wasabi); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.recipe-detail .rd-tip { margin-top: 20px; background: rgba(239,138,104,.1); border-left: 3px solid var(--salmon); padding: 14px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14px; }

.thanks { text-align: center; max-width: 520px; margin: 60px auto; padding: 40px 24px; }
.thanks .mark { width: 76px; height: 76px; border-radius: 50%; background: var(--wasabi); color: #fff; font-size: 40px; display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 8px 24px rgba(111,155,63,.3); }
.thanks .mark.wait { background: var(--salmon); }
.thanks .mark.err { background: var(--err); }
.thanks h2 { font-size: 28px; margin-bottom: 10px; }
.thanks p { color: var(--muted); margin-bottom: 8px; }

/* ── Value strip ────────────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.value .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(111,155,63,.14); color: var(--wasabi-dark); display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.value b { display: block; font-size: 15px; margin-bottom: 4px; }
.value small { color: var(--muted); font-size: 13px; }

/* ── Footer ─────────────────────────────────────────── */
footer.site { background: var(--charcoal); color: rgba(255,255,255,.7); padding: 48px 0 28px; margin-top: 40px; }
footer.site .f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
footer.site .brand { color: #fff; margin-bottom: 12px; }
footer.site .brand b { color: var(--wasabi); }
footer.site p { font-size: 14px; max-width: 36ch; }
footer.site h5 { color: #fff; font-size: 14px; margin-bottom: 12px; letter-spacing: .02em; }
footer.site a { display: block; font-size: 14px; padding: 4px 0; transition: .12s; }
footer.site a:hover { color: var(--salmon); }
footer.site .f-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
footer.site .f-bottom a { display: inline; }
footer.site .made b { color: var(--wasabi); }

/* ── Toast ──────────────────────────────────────────── */
.toast-wrap { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--charcoal); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: .22s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.ok { background: var(--wasabi); }
.toast.err { background: var(--err); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; order: -1; }
  .builder { grid-template-columns: 1fr; }
  .builder-panel { position: static; }
  .values { grid-template-columns: repeat(2, 1fr); }
  footer.site .f-grid { grid-template-columns: 1fr 1fr; }
  footer.site .f-grid .f-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  .hero { padding: 40px 0 20px; }
  .values { grid-template-columns: 1fr 1fr; }
  section.block { padding: 40px 0; }
  .field.row2 { grid-template-columns: 1fr; }
}
