@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
/* Layout: one hanging wall calendar as the hero, then a quiet product wall of calendar "objects". Red is reserved for Sundays and holidays. */
:root {
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --ink: #1B2741;
  --muted: #5A6580;
  --line: #D9DFE8;
  --sunday: #C8302B;
  --sunday-soft: #FBE7E5;
  --wall: #E8ECF2;
  --paper: #FFFFFF;
  --paper-ink: #1B2741;
  --paper-line: #E3E7EE;
  --btn-fg: #FFFFFF;
  --shadow: 0 1px 2px rgba(27, 39, 65, .08), 0 12px 28px -12px rgba(27, 39, 65, .28);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111725; --surface: #18202F; --ink: #E7EBF3; --muted: #9AA5BB; --line: #2A3448;
    --sunday: #FF6E62; --sunday-soft: #3A2025; --wall: #1C2536; --paper: #EEF0F4; --paper-ink: #1B2741;
    --paper-line: #D6DBE4; --btn-fg: #111725;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 30px -12px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111725; --surface: #18202F; --ink: #E7EBF3; --muted: #9AA5BB; --line: #2A3448;
  --sunday: #FF6E62; --sunday-soft: #3A2025; --wall: #1C2536; --paper: #EEF0F4; --paper-ink: #1B2741;
  --paper-line: #D6DBE4; --btn-fg: #111725;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 30px -12px rgba(0,0,0,.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font-body);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.selectable { user-select: all; font-weight: 600; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .12s ease, background .12s ease;
}
.btn-primary { background: var(--ink); color: var(--btn-fg); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: none; }
.btn-primary[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-wide { width: 100%; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center;
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 26px; height: 28px; border-radius: 5px; background: var(--ink); position: relative; display: block; flex: none;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; top: -3px; width: 4px; height: 8px; border-radius: 2px; background: var(--muted);
}
.brand-mark::before { left: 6px; } .brand-mark::after { right: 6px; }
.brand-mark span { position: absolute; inset: 9px 4px 4px; background: var(--surface); border-radius: 2px; }
.brand-mark span::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--sunday); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.header-nav { display: flex; gap: 4px; margin-left: auto; }
.header-nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; }
.header-nav a:hover { color: var(--ink); background: var(--bg); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 8px 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600;
}
.cart-count {
  min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--btn-fg);
  display: grid; place-items: center; font-size: 14px; font-variant-numeric: tabular-nums;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.25); } }

/* Hero */
.hero { background: var(--wall); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: center;
  padding-block: 64px 72px;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; max-width: 34rem; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -.03em; }
.lead { font-size: 19px; color: var(--muted); max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.hero-note { color: var(--muted); font-size: 14px; }

.hero-cal { margin: 0; position: relative; padding-top: 22px; justify-self: end; width: 100%; }
.cal-hook {
  position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--muted); box-shadow: 0 2px 0 rgba(0,0,0,.15);
}
.cal-hook::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 80px; height: 24px; margin-left: -40px;
  border: 2px solid var(--muted); border-bottom: none; border-radius: 40px 40px 0 0; opacity: .7;
}
.cal-sheet {
  background: var(--paper); color: var(--paper-ink); border-radius: 6px; box-shadow: var(--shadow);
  padding: 22px 22px 18px; transform: rotate(-1.2deg); transform-origin: top center;
  animation: swing 1.4s cubic-bezier(.3,1.6,.5,1) both;
}
@keyframes swing { from { transform: rotate(4deg); } to { transform: rotate(-1.2deg); } }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.cal-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 6.4vw, 30px); white-space: nowrap; letter-spacing: -.02em; text-transform: lowercase; }
.cal-title #cal-year { font-weight: 500; color: #8A93A8; }
.cal-nav {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--paper-line); background: transparent;
  color: var(--paper-ink); font-size: 20px; cursor: pointer;
}
.cal-nav:hover { background: #F0F2F6; }
.cal-grid { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; table-layout: fixed; }
.cal-grid th { font-size: 12px; font-weight: 600; color: #8A93A8; padding: 4px 0 8px; text-align: center; }
.cal-grid th.wk, .cal-grid td.wk { color: #A2AABB; font-size: 11px; font-weight: 500; width: 13%; text-align: left; }
.cal-grid td { text-align: center; padding: 3px 0; height: 40px; border-top: 1px solid var(--paper-line); font-size: 16px; font-weight: 500; }
.cal-grid td.out { color: #C4CAD6; }
.cal-grid td.sun, .cal-grid th.sun, .cal-grid td.hol { color: #C8302B; font-weight: 700; }
.cal-grid td .d { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.cal-grid td.today .d { box-shadow: inset 0 0 0 2px #C8302B; }
.cal-holidays { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--paper-line); display: grid; gap: 4px; font-size: 14px; min-height: 2.5em; }
.cal-holidays li { display: flex; gap: 10px; }
.cal-holidays b { color: #C8302B; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.cal-holidays .none { color: #8A93A8; }

/* Shop */
.shop { padding-block: 64px; }
.shop-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.shop-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; font-weight: 500; color: var(--muted);
}
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--btn-fg); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.item { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.item-visual {
  aspect-ratio: 4 / 5; max-width: 100%; background: var(--wall); border-radius: var(--radius);
  display: grid; place-items: center; padding: 18px; cursor: pointer; border: none; width: 100%;
  position: relative; overflow: hidden;
}
.item-visual .obj { transition: transform .25s ease; }
.item-visual:hover .obj { transform: translateY(-4px) rotate(-1deg); }
.item-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.item-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.item-name a { text-decoration: none; }
.item-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.item-tag { color: var(--muted); font-size: 15px; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.add-btn {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); background: transparent;
  color: var(--ink); font-weight: 600; cursor: pointer;
}
.add-btn:hover { background: var(--ink); color: var(--btn-fg); }

/* Calendar objects (drawn product visuals) */
.obj { position: relative; background: var(--paper); color: var(--paper-ink); border-radius: 4px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.obj::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--muted); z-index: 1;
}
.obj-band { background: hsl(var(--h, 220) 45% 32%); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 10px; padding: 5px 7px; letter-spacing: .02em; }
.mini { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 5px 6px; }
.mini i { display: block; height: 4px; border-radius: 1px; background: #CBD2DD; }
.mini i:nth-child(7n) { background: #E0716C; }
.mini-label { font-size: 7px; font-weight: 700; padding: 4px 6px 0; color: hsl(var(--h, 220) 40% 35%); text-transform: lowercase; }

.obj.driemaand { width: 42%; aspect-ratio: 30 / 84; max-height: 100%; }
.obj.driemaand .month { flex: 1; border-top: 1px solid var(--paper-line); }
.obj.driemaand .month:nth-child(3) { background: hsl(var(--h, 220) 60% 95%); }
.obj.driemaand .mini i { height: 5px; }

.obj.foto { width: 72%; aspect-ratio: 297 / 420; }
.obj.strook { width: 30%; aspect-ratio: 15 / 50; }
.scene { flex: 1.3; position: relative; overflow: hidden; border-radius: 4px 4px 0 0; }
.obj.strook .scene { flex: .7; }
.obj.foto .mini { padding: 6px 8px 8px; }
.obj.foto .mini i { height: 6px; }
.strook-days { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 6px; }
.strook-days i { height: 2px; background: #D4DAE3; display: block; }
.strook-days i:nth-child(7n) { background: #E0716C; }

.scene.bos { background:
  radial-gradient(120% 60% at 20% 105%, hsl(140 35% 26%) 55%, transparent 56%),
  radial-gradient(110% 55% at 85% 110%, hsl(150 30% 33%) 55%, transparent 56%),
  radial-gradient(90% 45% at 50% 100%, hsl(285 22% 52%) 60%, transparent 61%),
  linear-gradient(hsl(200 55% 78%), hsl(40 60% 86%)); }
.scene.zee { background:
  radial-gradient(70% 30% at 15% 100%, hsl(40 45% 78%) 60%, transparent 61%),
  linear-gradient(to bottom, hsl(205 60% 82%) 0 52%, hsl(200 45% 52%) 52% 70%, hsl(195 40% 42%) 70% 100%); }
.scene.zee::after { content: ""; position: absolute; top: 18%; right: 20%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: hsl(45 90% 88%); }
.scene.bloemen { background:
  radial-gradient(circle at 30% 40%, hsl(330 70% 62%) 0 9%, transparent 10%),
  radial-gradient(circle at 62% 30%, hsl(48 90% 62%) 0 7%, transparent 8%),
  radial-gradient(circle at 72% 62%, hsl(350 65% 58%) 0 11%, transparent 12%),
  radial-gradient(circle at 22% 72%, hsl(280 45% 62%) 0 8%, transparent 9%),
  radial-gradient(circle at 48% 58%, hsl(40 95% 70%) 0 4%, transparent 5%),
  linear-gradient(hsl(110 30% 74%), hsl(120 32% 50%)); }

.obj.planner { width: 82%; aspect-ratio: 2 / 1; flex-direction: column; }
.planner-cols { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; padding: 5px; }
.planner-cols span { display: flex; flex-direction: column; gap: 3px; }
.planner-cols b { height: 7px; border-radius: 2px; background: hsl(calc(var(--h, 265) + var(--k, 0) * 40) 50% 60%); display: block; }
.planner-cols i { height: 3px; background: #D9DEE6; display: block; }

.obj.bureau { width: 68%; aspect-ratio: 21 / 15; border-radius: 4px 4px 2px 2px; }
.obj.bureau::before { display: none; }
.obj.bureau::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -10px; height: 10px; background: hsl(var(--h, 45) 30% 55%);
  border-radius: 0 0 4px 4px; z-index: -1;
}
.week-rows { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 6px; padding: 6px 8px 8px; }
.week-rows i { display: block; height: 5px; border-bottom: 1px solid #D9DEE6; }
.rings { display: flex; justify-content: space-around; padding: 0 14%; margin-top: -5px; }
.rings i { width: 4px; height: 10px; border-radius: 2px; background: #9AA3B5; display: block; }

/* Assure */
.assure { border-top: 1px solid var(--line); padding-block: 48px; background: var(--surface); }
.assure-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.assure h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.assure p { color: var(--muted); max-width: 32ch; }

.site-footer { border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); font-size: 14px; background: var(--surface); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Drawer + modal */
.scrim { position: fixed; inset: 0; background: rgba(12, 18, 32, .45); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 50; background: var(--surface);
  display: flex; flex-direction: column; box-shadow: -20px 0 40px -20px rgba(0,0,0,.35);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);
  animation: slide .22s ease;
}
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.empty { padding: 48px 0; text-align: center; color: var(--muted); display: grid; gap: 16px; justify-items: center; }

.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: none; }
.line-thumb { width: 64px; height: 72px; background: var(--wall); border-radius: 6px; display: grid; place-items: center; overflow: hidden; padding: 6px; }
.line-thumb .viz-box { width: 100%; }
.line-thumb .obj::before { display: none; }
.line-thumb .obj-band, .line-thumb .mini-label { font-size: 0; padding: 3px; }
.line-thumb .obj { box-shadow: 0 1px 3px rgba(27,39,65,.2); }
.line-name { font-weight: 600; line-height: 1.3; }
.line-meta { color: var(--muted); font-size: 14px; }
.line-right { display: grid; justify-items: end; gap: 6px; }
.line-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 34px; height: 34px; border: none; background: transparent; cursor: pointer; font-size: 18px; }
.stepper input { width: 40px; text-align: center; border: none; background: transparent; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.sm button { width: 28px; height: 28px; font-size: 16px; }
.stepper.sm span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; font-size: 15px; }
.free-hint { font-size: 14px; color: var(--muted); }
.free-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 6px; }
.free-bar span { display: block; height: 100%; background: var(--ink); border-radius: 3px; transition: width .3s ease; }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; padding-top: max(20px, env(safe-area-inset-top, 0px)); padding-bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
.modal-card {
  position: relative; width: min(880px, 100%); max-height: 100%; overflow-y: auto; background: var(--surface); border-radius: 14px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
  animation: pop .2s ease;
}
@keyframes pop { from { transform: translateY(10px); opacity: 0; } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.modal-visual { background: var(--wall); display: grid; place-items: center; padding: 40px 24px; }
.viz-box { width: 100%; aspect-ratio: 4 / 5; max-width: 100%; display: grid; place-items: center; }
.modal-info { padding: 40px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.modal-info h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.modal-info p { color: var(--muted); }
.modal-info .pm-format { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.modal-info .pm-price { color: var(--ink); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pm-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: auto; padding-top: 12px; }
.pm-buy .stepper button { width: 42px; height: 46px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60;
  background: var(--ink); color: var(--btn-fg); padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow);
  max-width: calc(100% - 32px); text-align: center;
}

/* Checkout */
.checkout-wrap { padding-block: 32px 72px; }
.back-link { color: var(--muted); text-decoration: none; font-weight: 500; }
.checkout-title { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 28px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
form fieldset { border: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; min-width: 0; }
legend { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin-bottom: 14px; padding: 0; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; min-width: 0; }
.opt { font-weight: 400; color: var(--muted); }
input, select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface);
  font-weight: 400; font-size: 16px;
}
input:focus, select:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
input[aria-invalid="true"] { border-color: var(--sunday); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ship-options { display: grid; gap: 8px; }
.ship {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font-weight: 400;
}
.ship:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ship input { width: 18px; min-height: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.ship strong { display: block; font-weight: 600; }
.ship small { color: var(--muted); font-size: 14px; }
.ship .ship-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.form-error { background: var(--sunday-soft); color: var(--ink); border-left: 3px solid var(--sunday); padding: 12px 14px; border-radius: 6px; margin-bottom: 14px; }
.pay-note { color: var(--muted); font-size: 14px; margin-top: 12px; }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); }
.summary h2 { font-size: 21px; margin-bottom: 8px; }
.summary-lines { list-style: none; margin: 0; padding: 0; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-weight: 600; }
.totals .grand { font-size: 20px; color: var(--ink); font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); }

/* Thank-you page */
.thanks { padding-block: 72px; max-width: 640px; display: grid; gap: 18px; }
.thanks h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.thanks p { color: var(--muted); font-size: 18px; }
.thanks .ref { color: var(--ink); font-weight: 700; user-select: all; }

/* Productfoto's, kleuren en specificaties */
.card-photo, .modal-photo { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.item-visual:has(.card-photo) { padding: 14px; }
.thumb-photo { width: 100%; height: 100%; object-fit: contain; display: block; }
.line-thumb .viz-box { height: 100%; aspect-ratio: auto; }
.item-fmt { font-size: 13px; color: var(--muted); font-weight: 600; }
.price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.price-tbd { font-size: 15px; color: var(--muted); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.swatches .dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex: none; }
.sw-count { font-size: 13px; color: var(--muted); margin-left: 2px; }
.swatches.pick { gap: 8px; }
.swatches.pick button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 500;
}
.swatches.pick button[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatches.pick .dot { width: 16px; height: 16px; }
.swatches.pick button.sold { color: var(--muted); border-style: dashed; }
.swatches.pick button.sold .dot { opacity: .45; }
.swatches.pick small { font-size: 12px; }
.pm-specs { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; font-size: 15px; }
.modal-gallery { background: var(--wall); display: flex; flex-direction: column; min-width: 0; }
.modal-gallery .modal-visual { flex: 1; }
.pm-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 16px; }
.pm-thumbs button { flex: none; width: 56px; height: 56px; padding: 3px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.pm-thumbs button[aria-current="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.btn-primary[disabled]#pm-add { cursor: not-allowed; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card-photo, :root:not([data-theme="light"]) .modal-photo { mix-blend-mode: normal; } }
:root[data-theme="dark"] .card-photo, :root[data-theme="dark"] .modal-photo { mix-blend-mode: normal; }

@media (max-width: 1280px) {
  .header-row { flex-wrap: wrap; }
  .cart-btn { margin-left: auto; }
}
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-nav { margin-left: 0; }
  .cart-btn { margin-left: auto; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 40px 52px; gap: 36px; }
  .hero-cal { justify-self: center; max-width: 440px; }
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; order: -1; }
  .modal-card { grid-template-columns: minmax(0, 1fr); }
  .modal-visual { padding: 24px; }
  .modal-visual .viz-box { width: min(220px, 64%); }
  .modal-info { padding: 24px; }
  .assure-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .item-foot { flex-direction: column; align-items: stretch; }
  .add-btn { width: 100%; }
  .cart-btn > span:first-child { display: none; }
  .cart-btn { padding: 0 6px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .item-name { font-size: 16px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 40px); margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cal-sheet { transform: rotate(-1.2deg); }
}

/* ---------- Links als knoppen, menu ---------- */
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
a.add-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
a.item-visual { text-decoration: none; }
.header-nav { gap: 2px; }
.header-nav a { padding: 8px 10px; font-size: 15px; }
.header-nav a[aria-current="page"] { color: var(--ink); background: var(--bg); }

/* ---------- Productpagina ---------- */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.product-page { padding-block: 28px 0; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.product-gallery { border-radius: 14px; overflow: hidden; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); }
.product-gallery .modal-visual { aspect-ratio: 1 / 1; max-width: 100%; }
.product-page .modal-info { padding: 0; }
.product-page h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.pm-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.pm-stock { font-size: 15px; color: var(--ink); }
.pm-stock::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2E8B57; margin-right: 8px; vertical-align: 1px; }
.pm-stock.out::before { background: var(--sunday); }
.pm-ship { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.product-page .pm-buy { margin-top: 4px; padding-top: 0; }
.swatches.pick a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 500; color: var(--ink);
}
.swatches.pick a[aria-current="page"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatches.pick a.sold { color: var(--muted); border-style: dashed; }
.pm-link { font-size: 14px; color: var(--muted); }
.related { margin-top: 56px; border-top: 1px solid var(--line); }
.related .shop-head { align-items: center; }
.related h2 { font-size: clamp(22px, 3vw, 30px); }

/* ---------- Categorie- en tekstpagina's ---------- */
.page-head { background: var(--wall); border-bottom: 1px solid var(--line); padding-block: 32px 36px; }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.page-head .lead { max-width: 40rem; }
.page-head + .shop { padding-top: 32px; }
.text-page { padding-block: 40px 64px; }
.prose { max-width: 44rem; display: grid; gap: 14px; }
.prose h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.prose h2 { font-size: 22px; font-weight: 700; margin-top: 18px; }
.prose h3 { font-size: 18px; font-weight: 700; margin-top: 8px; }
.prose p, .prose li, .prose address { color: var(--ink); line-height: 1.65; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose address { font-style: normal; }
.prose .lead { color: var(--muted); font-size: 19px; }
.prose .meta { color: var(--muted); font-size: 14px; }
.prose a { text-underline-offset: 3px; }
.form-template { border: 1px dashed var(--line); border-radius: 10px; padding: 16px 18px; background: var(--surface); display: grid; gap: 10px; }
.table-wrap { overflow-x: auto; }
.ship-table { border-collapse: collapse; width: 100%; font-size: 15px; }
.ship-table th, .ship-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.ship-table th { font-weight: 600; color: var(--muted); font-size: 14px; }
.ship-table td { color: var(--ink); }
.ship-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 8px 0; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; color: var(--ink); }

/* ---------- Footer ---------- */
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; padding-block: 12px; }
.footer-grid p { color: var(--muted); }
.footer-grid nav { display: grid; gap: 6px; align-content: start; }
.footer-grid nav a { color: var(--ink); text-decoration: none; }
.footer-grid nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink) !important; margin-bottom: 6px !important; }

/* ---------- Afrekenen: bedrijf, btw, betaling ---------- */
label.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
label.check input { width: 18px; min-height: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex: none; }
.company-fields { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.vat-status { font-size: 14px; padding: 8px 12px; border-radius: 6px; margin: 0; }
.vat-status.ok { background: #E6F4EA; color: #1E5631; }
.vat-status.bad { background: var(--sunday-soft); color: var(--ink); }
.vat-status.warn { background: #FFF4D6; color: #6B4E00; }
.vat-status.busy { color: var(--muted); }
.totals .grand small { font-size: 13px; font-weight: 500; color: var(--muted); }
.pay-note a { color: inherit; text-underline-offset: 3px; }
#pay-options .ship { grid-template-columns: auto minmax(0, 1fr); }
#pay-options .ship > span:last-child { display: none; }

/* ---------- Bedankt: overschrijving ---------- */
.transfer { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 20px 22px; display: grid; gap: 12px; }
.transfer h2 { font-size: 20px; }
.transfer dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.transfer dt { color: var(--muted); }
.transfer dd { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.transfer p { font-size: 15px; }
.copy-btn { margin-left: 8px; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: 13px; font-weight: 600; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .vat-status.ok { background: #1D3A27; color: #CFEBD8; }
  :root:not([data-theme="light"]) .vat-status.warn { background: #3A3016; color: #F4E2B0; }
}
:root[data-theme="dark"] .vat-status.ok { background: #1D3A27; color: #CFEBD8; }
:root[data-theme="dark"] .vat-status.warn { background: #3A3016; color: #F4E2B0; }

@media (max-width: 820px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .product-gallery { position: static; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .transfer dl, .contact-list { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .transfer dd, .contact-list dd { margin-bottom: 8px; }
}

/* Menu onder het logo op kleinere schermen, horizontaal scrollbaar */
@media (max-width: 1280px) {
  .header-row { flex-wrap: wrap; row-gap: 0; padding-top: 10px; }
  .header-nav { order: 3; width: 100%; margin: 0 -10px; padding: 0 0 8px; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .header-nav::-webkit-scrollbar { display: none; }
  .header-nav a { flex: none; }
  .cart-btn { margin-left: auto; }
}

.totals .rc-note { grid-column: 1 / -1; text-align: left; font-weight: 400; font-size: 13px; color: var(--muted); }
.pickup-box { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.pickup-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.pickup-box .pay-note { margin: 0; }
.pickup-box .pay-note a { color: var(--ink); font-weight: 600; }
.pp-list { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; }
.pp-list .ship-price { color: var(--muted); font-weight: 500; font-size: 14px; }
@media (max-width: 640px) { .pickup-search { grid-template-columns: minmax(0, 1fr); } }
