/* Bakkerij De Kruimel: voorbeeldsite van The Wise Builder.
   Lettertypes: titels in een klassieke serif die al op elk toestel staat (Iowan, Palatino, Georgia),
   tekst in Inter (lokaal, SIL Open Font License). Niets wordt van een ander domein geladen. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-v20-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/fonts/inter-v20-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-v20-latin-600.woff2") format("woff2"); }

:root {
  --paper: #f4eee3;
  --paper-2: #ebe2d2;
  --card: #fbf8f2;
  --ink: #231c16;
  --ink-2: #4a3f35;
  --muted: #7a6c5e;
  --line: #ddd1bf;
  --crust: #a44a22;
  --crust-dark: #82391a;
  --rye: #c9954f;
  --sage: #56603f;
  --ok: #2f6b3a;
  --warn-bg: #fbecd2;
  --warn-line: #e8c48a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(35, 28, 22, .04), 0 10px 30px -18px rgba(35, 28, 22, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--crust); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--crust-dark); }
[hidden], .hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--crust); outline-offset: 3px; border-radius: 4px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Typografie ---------- */
.display, .h1, .h2, .h3, .prose h1, .prose h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.display { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: .98; margin: 0 0 1.4rem; font-weight: 500; }
.h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; margin: 0 0 1rem; font-weight: 500; }
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; margin: 0 0 1rem; font-weight: 500; }
.h3 { font-size: 1.3rem; line-height: 1.2; margin: 0 0 .5rem; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 40em; }
.kicker {
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--crust); margin: 0 0 .9rem; display: flex; align-items: center; gap: .7rem;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .98rem/1 var(--sans); color: var(--paper); background: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px; padding: .95rem 1.5rem; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, transform .15s, border-color .2s;
}
.btn:hover { background: var(--crust); border-color: var(--crust); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--rye); border-color: var(--rye); color: var(--ink); }
.btn-small { padding: .62rem 1.05rem; font-size: .88rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.link-back, .link-danger { background: none; border: 0; padding: 0; font: 500 .95rem var(--sans); color: var(--muted); cursor: pointer; margin: 0 0 1.2rem; }
.link-back:hover { color: var(--ink); }
.link-danger { color: #a3271f; text-decoration: underline; text-underline-offset: 3px; margin: 0; }
.link-danger.is-armed { color: #fff; background: #a3271f; padding: .55rem .9rem; border-radius: 999px; text-decoration: none; }

/* ---------- Kop en menu ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 238, 227, .92); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.logo-mark { width: 40px; height: 40px; color: var(--crust); flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.logo-text small { font-size: .7rem; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: .3rem 0; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--crust); transition: right .25s; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; cursor: pointer; position: relative; }
.menu-toggle span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.nav-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Startpagina ---------- */
.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 2.4rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.hero-meta dd { margin: .25rem 0 0; font-family: var(--serif); font-size: 1.2rem; }
.hero-meta a { color: var(--ink); text-decoration: none; }
.hero-art { position: relative; margin: 0; }
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; background: #e7d6b7; border: 1px solid var(--line); aspect-ratio: 9 / 10; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.stamp {
  position: absolute; left: -22px; bottom: 34px; width: 116px; height: 116px; border-radius: 50%;
  background: var(--crust); color: #fff; display: grid; place-content: center; text-align: center; transform: rotate(-9deg);
  box-shadow: 0 12px 26px -12px rgba(130, 57, 26, .7);
}
.stamp span { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.stamp small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .35rem; }
.strip { border-block: 1px solid var(--ink); background: var(--ink); color: var(--paper); overflow: hidden; }
.strip p { margin: 0; padding: .9rem 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.12rem; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 20px; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { display: flex; flex-direction: column; margin-bottom: 2.4rem; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem .8rem 1.3rem; transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile-img { border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--paper-2); margin-bottom: 1rem; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 0 .4rem .3rem; }
.tile p { margin: 0 .4rem; color: var(--ink-2); font-size: .95rem; }
.order-band { background: var(--paper-2); border-block: 1px solid var(--line); }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.order-grid .lead { margin-bottom: 1.8rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; column-gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--crust); }
.steps h3 { margin: 0 0 .2rem; font-size: 1.1rem; font-weight: 600; }
.steps p { margin: 0; color: var(--ink-2); }
.workshop-band { background: var(--ink); color: var(--paper); }
.workshop-band .h2 { color: var(--paper); }
.workshop-band .kicker { color: var(--rye); }
.workshop-band .lead { color: #d9cdbd; }
.workshop-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.workshop-art { border-radius: 18px; overflow: hidden; aspect-ratio: 1; background: #382d24; }
.workshop-art img { width: 100%; height: 100%; object-fit: cover; }
.ws-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0 2rem; }
.ws-card { border: 1px solid rgba(244, 238, 227, .22); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.ws-card h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0; font-weight: 500; }
.ws-meta { color: var(--rye); font-size: .82rem; letter-spacing: .04em; margin: .2rem 0 .6rem; }
.ws-card p:last-child { margin: 0; color: #d9cdbd; font-size: .95rem; }
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.2rem 0 0; }
.facts div { border-top: 2px solid var(--ink); padding-top: .9rem; }
.facts dt { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.facts dd { margin: .4rem 0 0; color: var(--muted); font-size: .9rem; }
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.address { font-style: normal; font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; margin-top: 1.2rem; }
.address a { color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: .85rem 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 500; }
.hours th { font-weight: 500; color: var(--ink-2); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--serif); font-size: 1.08rem; }

/* ---------- Gedeelde onderdelen ---------- */
.page-intro { padding: clamp(2.2rem, 5vw, 4rem) 0 1.6rem; }
.page-intro .lead { margin: 0; }
.notice { border-radius: 12px; padding: .95rem 1.1rem; margin: 1rem 0; font-size: .95rem; line-height: 1.5; }
.notice-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); }
.notice-soft { background: var(--paper-2); border: 1px solid var(--line); }
.notice-ok { background: #e6efe3; border: 1px solid #b9cfb3; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); margin: 0 0 1.2rem; }
fieldset.panel { min-width: 0; }
/* De titel van een blok staat in het kader (niet op de rand); alles eronder begint onder de titel, over de volle breedte. */
fieldset.panel > legend { float: left; width: 100%; padding: 0; margin: 0 0 .4rem; }
fieldset.panel > legend ~ * { clear: both; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin: 1rem 0; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field > span { font-weight: 600; font-size: .9rem; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #cdbfab; border-radius: 10px; padding: .78rem .9rem; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--crust); box-shadow: 0 0 0 3px rgba(164, 74, 34, .15); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; margin-top: .6rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--crust); }
.check-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; margin-top: .6rem; }
.check-row .check { margin-top: 0; cursor: pointer; }
.check-link { font-size: .88rem; }
.form-error { color: #a3271f; font-weight: 500; min-height: 1.4em; margin: .8rem 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status-line { color: var(--muted); min-height: 1.4em; }

/* ---------- Bestellen ---------- */
.progress { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding: 0; margin: 1.8rem 0 0; font-size: .9rem; color: var(--muted); }
.progress li { display: flex; align-items: center; gap: .5rem; }
.progress span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: .78rem; font-weight: 600; }
.progress .is-active { color: var(--ink); font-weight: 600; }
.progress .is-active span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.progress .is-done { color: var(--ok); }
.progress .is-done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.4rem; align-items: start; padding-bottom: 5rem; }
.cat-nav { position: sticky; top: 76px; z-index: 5; display: flex; gap: .4rem; overflow-x: auto; padding: .9rem 0; background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.cat-nav a { white-space: nowrap; text-decoration: none; color: var(--ink-2); border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: .45rem 1rem; font-size: .9rem; font-weight: 500; }
.cat-nav a:hover { border-color: var(--ink); color: var(--ink); }
.cat { padding-top: 2.2rem; scroll-margin-top: 140px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: .6rem; margin-bottom: .4rem; }
.cat-head .h3 { font-size: 1.7rem; font-weight: 500; margin: 0; }
.cat-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.product { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.product-img { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin: 0 0 .15rem; }
.product-info p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.product-info .unit { color: var(--muted); font-size: .82rem; margin-top: .25rem; }
.badge { font-style: normal; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--sage); border-radius: 999px; padding: .2rem .55rem; vertical-align: middle; margin-left: .3rem; }
.badge:empty { display: none; }
.product-buy { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; min-width: 140px; }
.price { margin: 0; font-family: var(--serif); font-size: 1.2rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product.is-picked .product-img { box-shadow: 0 0 0 3px var(--crust); }
.product.is-soldout { opacity: .55; }
.product.is-soldout .product-img { filter: grayscale(.6); }
.product.is-soldout .qty-note { font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; background: #fff; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.qty.has-qty { border-color: var(--crust); }
.qty-add { font: 600 .88rem var(--sans); background: transparent; border: 0; color: var(--ink); padding: .55rem 1.1rem; cursor: pointer; }
.qty-add::before { content: "+ "; }
.qty:hover .qty-add { background: var(--ink); color: var(--paper); }
.qty-btn { width: 38px; height: 38px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty-btn:hover:not(:disabled) { background: var(--paper-2); }
.qty-btn:disabled { opacity: .3; cursor: default; }
.qty-input { width: 44px; height: 38px; text-align: center; border: 0; font: 600 1rem var(--sans); color: var(--ink); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-note { margin: 0; color: var(--muted); font-size: .85rem; }
.basket { position: sticky; top: 96px; }
.basket-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; box-shadow: var(--shadow); }
.basket-card .h3 { font-size: 1.45rem; font-weight: 500; }
.basket-empty { color: var(--muted); font-size: .95rem; }
.basket-list { list-style: none; margin: .6rem 0 0; padding: 0; }
.basket-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .6rem; align-items: start; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.b-name small { display: block; color: var(--muted); font-size: .78rem; }
.b-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 .2rem; }
.b-remove:hover { color: #a3271f; }
.basket-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 .4rem; font-size: 1.05rem; }
.basket-total strong { font-family: var(--serif); font-size: 1.5rem; }
.basket-hint { background: var(--warn-bg); border-radius: 10px; padding: .7rem .8rem; font-size: .88rem; margin: .6rem 0; }
.basket-card .btn-block { margin: .9rem 0 .6rem; }
.mobile-bar { display: none; }
.checkout { padding-bottom: 5rem; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2.4rem; align-items: start; }
.checkout-side { position: sticky; top: 96px; }
.day-chips { display: flex; gap: .55rem; overflow-x: auto; padding: .4rem .1rem 1rem; margin-top: .6rem; scrollbar-width: thin; }
.day-chip { flex: none; width: 76px; padding: .6rem .3rem; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .1rem; font-family: var(--sans); color: var(--ink); }
.day-chip strong { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; font-weight: 500; }
.dc-top, .dc-bottom { font-size: .74rem; color: var(--muted); text-transform: capitalize; }
.day-chip:hover { border-color: var(--ink); }
.day-chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.day-chip[aria-checked="true"] span { color: #d9cdbd; }
.time-group { margin-top: .6rem; }
.time-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin: .4rem 0 .5rem; }
.time-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: .45rem; }
.time-chip { padding: .6rem 0; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 500 .95rem var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; color: var(--ink); }
.time-chip:hover { border-color: var(--crust); color: var(--crust); }
.time-chip[aria-checked="true"] { background: var(--crust); border-color: var(--crust); color: #fff; }
.summary-when { background: var(--paper-2); border-radius: 10px; padding: .8rem .9rem; font-size: .95rem; margin: .4rem 0 .8rem; }
.done { padding: 1rem 0 5rem; }
.receipt { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.6rem); max-width: 760px; box-shadow: var(--shadow); }
.receipt-head { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.6rem; }
.receipt-head .h2 { margin-bottom: .3rem; }
.receipt-head p { margin: 0; color: var(--ink-2); }
.receipt-check { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.receipt-check svg { width: 28px; height: 28px; }
.receipt-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 0 0 1.6rem; padding: 1.1rem 0; border-block: 1px solid var(--line); }
.receipt-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.receipt-facts dd { margin: .3rem 0 0; font-family: var(--serif); font-size: 1.25rem; }
#r-code { letter-spacing: .12em; }
.receipt-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.receipt-table th, .receipt-table td { text-align: left; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-weight: 400; }
.receipt-table td { text-align: right; font-variant-numeric: tabular-nums; }
.receipt-table tfoot th, .receipt-table tfoot td { border-bottom: 0; font-weight: 600; padding-top: 1rem; }
.receipt-table tfoot td { font-family: var(--serif); font-size: 1.35rem; }
.receipt-remarks { color: var(--ink-2); font-style: italic; }

/* ---------- Workshops ---------- */
.ws-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2.2rem, 5vw, 4rem) 0; }
.ws-hero-art { border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); border: 1px solid var(--line); }
.ws-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.how { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .2rem; counter-reset: h; }
.how li { counter-increment: h; display: grid; grid-template-columns: 44px 1fr; padding: .9rem 0; border-top: 1px solid var(--line); }
.how li::before { content: counter(h); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 600; font-size: .85rem; }
.how h3 { font-size: 1.02rem; margin: .1rem 0 .1rem; font-weight: 600; }
.how p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.4rem; align-items: start; padding: 1rem 0 6rem; border-top: 1px solid var(--line); }
.booking-main { padding-top: 2rem; min-width: 0; }
.booking-side { position: sticky; top: 96px; padding-top: 2rem; }
.step-title { display: flex; align-items: center; gap: .8rem; }
.step-title > span:first-child { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); font: 600 1rem var(--sans); display: grid; place-items: center; }
.type-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.2rem; }
.type-card { text-align: left; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; cursor: pointer; display: flex; flex-direction: column; gap: .4rem; transition: border-color .2s, transform .2s, box-shadow .2s; }
.type-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.type-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.type-head strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.15; }
.type-price { font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; color: var(--crust); }
.type-meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.type-info { color: var(--ink-2); font-size: .95rem; }
.type-go { margin-top: .6rem; font-weight: 600; font-size: .92rem; color: var(--crust); }
.persons-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; margin: 1.2rem 0; }
.persons-row label { font-weight: 600; }
.qty-large .qty-btn { width: 44px; height: 44px; }
.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .6rem 0 1rem; }
.week-nav p { margin: 0; font-weight: 600; text-align: center; flex: 1; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.round-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.round-btn:disabled { opacity: .25; cursor: default; }
.slot-days { display: grid; gap: .2rem; min-height: 4rem; }
.slot-days[aria-busy="true"] { opacity: .5; }
.slot-day { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.slot-date { margin: .3rem 0 0; display: flex; flex-direction: column; }
.slot-date strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; text-transform: capitalize; }
.slot-date span { color: var(--muted); font-size: .88rem; }
.slot-pick { display: grid; gap: .5rem; min-width: 0; }
.slot-hint { margin: .3rem 0 0; font-weight: 600; color: var(--crust); }
.slot-hint::after { content: " \2193"; }
.slot-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.slot { font: inherit; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .65rem .95rem; cursor: pointer; color: var(--ink); display: flex; flex-direction: column; gap: .05rem; min-width: 150px; }
.slot strong { font-variant-numeric: tabular-nums; font-size: 1rem; }
.slot span { font-size: .8rem; color: var(--sage); }
.slot.is-joined span { color: var(--crust); }
.slot:hover { border-color: var(--crust); box-shadow: 0 0 0 1px var(--crust); }
/* Maandkalender voor workshops */
.cal-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: .9rem 1rem 1.1rem; margin-bottom: .6rem; }
.cal-wrap .week-nav { margin: 0 0 .7rem; }
.cal-wrap .week-nav p { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.cal[aria-busy="true"] { opacity: .5; }
.cal-head { text-align: center; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .2rem 0 .4rem; }
.cal-day { font: inherit; aspect-ratio: 1; max-height: 56px; width: 100%; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; position: relative; cursor: default; opacity: .45; }
.cal-day.is-today span { text-decoration: underline; text-underline-offset: 3px; }
.cal-day.has-slots { opacity: 1; color: var(--ink); font-weight: 600; background: #fff; border-color: var(--line); cursor: pointer; }
.cal-day.has-slots::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--crust); }
.cal-day.has-slots:hover { border-color: var(--crust); }
.cal-day.is-selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal-day.is-selected::after { background: var(--paper); }
.cal-day:focus-visible { outline: 2px solid var(--crust); outline-offset: 2px; }
.late-note { margin-top: 1.4rem; }
.late-note.is-highlight { background: var(--warn-bg); border-color: var(--warn-line); }
.moving-banner { background: var(--ink); color: var(--paper); border-radius: 12px; padding: .9rem 1.1rem; }
.chosen { display: flex; flex-direction: column; gap: .15rem; background: var(--paper-2); border-radius: 14px; padding: 1rem 1.1rem; margin: 1rem 0; }
.chosen strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.chosen span { color: var(--ink-2); }
.manage-box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.2rem; }
.manage-box p { margin: 0; max-width: 32em; }
.manage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.manage-grid .panel { display: flex; flex-direction: column; gap: .6rem; margin: 0; }
.manage-grid .panel .btn { margin-top: auto; }
.manage-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.manage-foot .link-back { margin: 0; }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; margin: 1.2rem 0; }
.compare > div:not(.compare-arrow) { border-radius: 14px; padding: 1rem 1.2rem; border: 1px solid var(--line); }
.compare-old { background: var(--card); color: var(--muted); }
.compare-old p:last-child { text-decoration: line-through; text-decoration-thickness: 1px; }
.compare-new { background: #e6efe3; border-color: #b9cfb3 !important; }
.compare-new p:last-child { font-weight: 600; }
.compare p { margin: 0; }
.compare .kicker { margin-bottom: .3rem; }
.compare-arrow { font-size: 1.6rem; color: var(--crust); }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; margin-bottom: 1rem; }
.practical { margin: .6rem 0 0; }
.practical div { padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.practical dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--crust); }
.practical dd { margin: .2rem 0 0; font-size: .95rem; color: var(--ink-2); }
.side-phone { margin: 1rem 0 0; display: flex; flex-direction: column; }
.side-phone span { color: var(--muted); font-size: .9rem; }
.side-phone a { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); text-decoration: none; }

/* ---------- Contact, privacy, 404 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; padding-bottom: 5rem; align-items: start; }
.big-phone a { font-family: var(--serif); font-size: 2rem; color: var(--ink); text-decoration: none; }
.prose { max-width: 760px; padding: 3rem 0 5rem; }
.prose h2 { font-size: 1.5rem; margin: 2.2rem 0 .6rem; font-weight: 500; }
.prose li { margin-bottom: .4rem; }
.not-found { padding: 6rem 0; min-height: 70vh; }

/* ---------- Voet ---------- */
.site-footer { background: var(--ink); color: #cdbfae; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1.2fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-grid p { margin: 0 0 .3rem; }
.footer-name { font-family: var(--serif); font-size: 1.6rem; color: var(--paper); }
.site-footer a { color: #ecdfcd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer nav { display: flex; flex-direction: column; gap: .35rem; }
.footer-note { color: #a8998a; font-size: .85rem; }
.footer-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(244, 238, 227, .14); padding: 1.2rem 0 1.6rem; font-size: .8rem; color: #a8998a; }
.footer-legal p { margin: 0; }

/* ---------- Kleinere schermen ---------- */
@media (max-width: 1020px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-layout, .checkout-grid, .booking, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .basket { display: none; }
  .checkout-side, .booking-side { position: static; }
  .mobile-bar:not([hidden]) {
    display: flex; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px; align-items: center; justify-content: space-between; gap: 1rem;
    background: var(--ink); color: var(--paper); padding: .7rem .7rem .7rem 1.2rem; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
  }
  .mobile-bar .btn { background: var(--crust); border-color: var(--crust); color: #fff; }
  .page-order .site-footer { padding-bottom: 84px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: .5rem 20px 1.4rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-open .site-nav { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 1rem; }
  .hero, .order-grid, .workshop-grid, .about, .visit, .ws-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 420px; margin-inline: auto; width: 100%; }
  .stamp { left: -6px; width: 96px; height: 96px; }
  .ws-hero-art { max-width: 380px; }
  .ws-cards, .type-list, .manage-grid, .fields { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .slot-day { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .logo-text small { display: none; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .product { grid-template-columns: 64px minmax(0, 1fr); }
  .product-img { width: 64px; height: 64px; }
  .product-buy { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; min-width: 0; }
  .facts dt { font-size: 1.7rem; }
  .slot { min-width: 0; flex: 1 1 140px; }
  .receipt-head { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Afdrukken (bevestiging van een bestelling) ---------- */
@media print {
  body { background: #fff; }
  .site-header, .site-footer, .page-intro, .no-print, .mobile-bar, .skip { display: none !important; }
  .receipt { box-shadow: none; border: 1px solid #999; max-width: none; }
}

/* ---------- Galerij ---------- */
.gallery-wrap { padding-bottom: 5rem; }
.gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.gallery::after { content: ""; flex-grow: 999; }
.gallery-item { margin: 0; position: relative; flex-grow: var(--r, 1.5); flex-basis: calc(var(--r, 1.5) * 260px); border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.gallery-thumb { display: block; width: 100%; aspect-ratio: var(--r, 1.5); padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.gallery-thumb:hover img, .gallery-thumb:focus-visible img { transform: scale(1.05); }
.gallery-thumb:focus-visible { outline: 3px solid var(--crust); outline-offset: -3px; }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 12px; color: #fff; font-size: .92rem; font-weight: 500; background: linear-gradient(transparent, rgba(35, 28, 22, .7)); pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery-item:hover figcaption, .gallery-item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery-item figcaption { opacity: 1; transform: none; } }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 16, 12, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 16, 12, .6); }
.lightbox figure { margin: 0; max-width: min(1200px, 90vw); }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 12px; display: block; margin: 0 auto; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem .2rem 0; font-size: .95rem; }
#lightbox-count { color: #b8aa98; font-variant-numeric: tabular-nums; }
.lightbox-close, .lightbox-nav { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 18px; } .lightbox-next { right: 18px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .25); }

/* ---------- Bestellen: productkaarten en bestelnummer ---------- */
.progress { gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px; width: fit-content; max-width: 100%; }
.progress li { padding: .45rem 1rem; border-radius: 999px; }
.progress .is-active { background: var(--paper-2); }
@media (min-width: 1021px) {
  .cat .products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 1rem; }
  .cat .product { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; gap: .4rem 1rem; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: border-color .2s, box-shadow .2s; }
  .cat .product:hover { border-color: #c9b9a3; box-shadow: var(--shadow); }
  .cat .product.is-picked { border-color: var(--crust); box-shadow: 0 0 0 1px var(--crust); }
  .cat .product.is-picked .product-img { box-shadow: none; }
  .cat .product-img { width: 96px; height: 96px; grid-row: span 2; }
  .cat .product-buy { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; min-width: 0; }
}
.code-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem 1.4rem; align-items: center; background: var(--paper); border: 2px dashed var(--crust); border-radius: 16px; padding: 1rem 1.2rem; margin: 0 0 1.4rem; }
.code-main { display: grid; }
.code-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--crust); font-weight: 700; }
.code-main strong { font-family: var(--serif); font-size: 2rem; letter-spacing: .04em; line-height: 1.1; }
.code-box p { margin: 0; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 640px) { .code-box { grid-template-columns: minmax(0, 1fr); } .code-box .btn { justify-self: start; } }

/* ---------- Workshops: kaarten met beeld ---------- */
.type-card { padding: 0; overflow: hidden; gap: 0; }
.type-card > :not(.type-img) { margin-inline: 1.4rem; }
.type-img { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--paper-2); margin-bottom: 1.1rem; }
.type-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.type-card:hover .type-img img { transform: scale(1.05); }
.type-meta { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; text-transform: none; letter-spacing: 0; }
.type-meta .chip { font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--paper-2); border-radius: 999px; padding: .25rem .7rem; }
.type-info { margin-top: .6rem; }
.type-go.btn { align-self: flex-start; margin: 1rem 1.4rem 1.4rem; color: var(--paper); }

/* ---------- Gsm: groepen naast elkaar om door te vegen, compacter ---------- */
@media (max-width: 640px) {
  .tiles { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .tiles > * { scroll-snap-align: start; }
  .tiles::-webkit-scrollbar { display: none; }
  .type-list { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
  .type-list > * { scroll-snap-align: start; }
  .progress { font-size: .8rem; }
  .progress li { padding: .4rem .6rem; }
  .gallery { gap: 8px; }
  .gallery-item { flex-basis: calc(var(--r, 1.5) * 130px); border-radius: 12px; }
}
@media (max-width: 640px) { .tiles .tile-img { aspect-ratio: 4 / 3; } .tiles .tile-img img { height: 100%; object-fit: cover; } }

/* Voorraad: dagen waarop er niet genoeg meer is */
.day-chip.is-full { opacity: .45; cursor: not-allowed; background: #f3efe8; }
.day-chip.is-full:hover { border-color: var(--line); }
.day-chip.is-full .dc-bottom { font-weight: 600; }
.stock-note { margin: -.4rem 0 .8rem; font-size: .9rem; color: var(--muted); }
.stock-note p { margin: 0; }
.stock-note.is-open { padding: .8rem 1rem; border-radius: 12px; background: #f6ecdf; border: 1px solid #e6d3bb; color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.btn-adjust { font: inherit; font-weight: 600; font-size: .9rem; padding: .55rem 1rem; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; }
.btn-adjust:hover { opacity: .9; }
.day-chip.is-full { cursor: pointer; }
.day-chip.is-full[aria-checked="true"] { background: #f6ecdf; color: var(--ink); border-color: #b9895a; opacity: 1; }
.qty-note.stock-left { margin-top: .35rem; color: #9a3412; font-weight: 600; }

/* ---------- Gsm: stappenbalk, workshopkaarten en knoppen netjes uitgelijnd ---------- */
@media (max-width: 640px) {
  .progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 18px; padding: 5px; gap: 4px; }
  .progress li { flex-direction: column; justify-content: flex-start; gap: .3rem; padding: .55rem .3rem; border-radius: 14px; text-align: center; line-height: 1.25; font-size: .76rem; }
  .progress span { flex: none; }
  .type-head { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .actions .btn { flex: 1 1 100%; }
  .site-nav { max-height: calc(100dvh - 76px); overflow-y: auto; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35); }
}
