:root{--bone:#F5F0E6;--ink:#171611;--body:#312F27;--on-ink:#E7DFCE;--muted:#A19A87;--clay:#B4653F;--clay-text:#FBF6EC;--surface-inset:#EFE7D4;--surface-sage:#B9C4AC;--surface-ink:#171611;--line:rgba(23,22,17,.12);--font-serif:'Lora', Georgia, 'Times New Roman', serif;--font-sans:'Jost', 'Helvetica Neue', Arial, sans-serif;--gutter:clamp(20px,5vw,72px);--section-y:clamp(64px,7vw,112px);--content:1180px}
/* NAO — design voor het website-skelet (platform-v2).
   Bron: github.com/MoProMax/NAO (index.html). De kleuren en maten komen uit
   tokens.json (CSS-variabelen op :root); dit bestand zet ze op de vaste haken
   van het skelet (docs/platform-v2/STOREFRONT-CONTRACT.md). Alles van de eigen
   host: lettertypen in assets/, geen Google Fonts, geen script (de draaiende
   ring om de menuknoppen is hier pure CSS). */

@font-face { font-family: 'Lora'; src: url(/thema/Lora-wght.ttf) format('truetype'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url(/thema/Lora-Italic-wght.ttf) format('truetype'); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(/thema/Jost-wght.ttf) format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bone); color: var(--body);
  font-family: var(--font-sans); font-weight: 300; font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 400; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.18; margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .5em; }
em { font-style: italic; }
a { color: var(--clay); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
small { font-size: .82em; }
.overslaan { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: 999px; }
.overslaan:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.eyebrow, .kicker { font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.eyebrow.on-ink { color: var(--on-ink); }

/* ---------- Kop en menu ---------- */
#kop {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 76px;
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
}
#kop .topfade {
  position: absolute; top: 0; left: 0; right: 0; height: 150px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(23,22,17,.78) 0%, rgba(23,22,17,.5) 55%, rgba(23,22,17,0) 100%);
}
body:not([data-page-type="home"]) #kop { position: sticky; background: var(--ink); }
body:not([data-page-type="home"]) #kop .topfade { display: none; }
.wordmark {
  position: relative; font-family: var(--font-serif); font-weight: 500;
  font-size: 1.35rem; letter-spacing: .18em; color: var(--bone); text-decoration: none;
}
#menu { display: flex; gap: 12px; margin-left: auto; white-space: nowrap; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes nao-draai { to { --spin: 360deg; } }
.pill {
  position: relative; padding: 7px 14px; border-radius: 999px;
  background: var(--clay); color: var(--clay-text); text-decoration: none;
  letter-spacing: .02em; font-size: .8125rem; font-weight: 400; transition: background 140ms ease;
}
.pill .label { position: relative; }
.pill .ring-static, .pill .ring-spin {
  position: absolute; inset: 0; border-radius: 999px; padding: 1px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.pill .ring-static { background: rgba(245,240,230,.28); }
.pill .ring-spin {
  opacity: 0; transition: opacity 160ms ease;
  background: conic-gradient(from var(--spin, 0deg), rgba(94,143,255,0) 0deg, #5E8FFF 18deg, #4FE0A6 40deg, #F4D24A 62deg, #FF5F4E 84deg, rgba(255,95,78,0) 105deg);
}
.pill:hover .ring-spin, .pill:focus-visible .ring-spin { opacity: 1; animation: nao-draai 2.5s linear infinite; }

/* ---------- Knoppen en links ---------- */
.btn, button, .knop {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px;
  font-family: var(--font-sans); font-weight: 400; font-size: 1rem; letter-spacing: .01em;
  padding: 13px 24px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  background: var(--clay); color: var(--clay-text);
  transition: opacity 140ms ease, background 140ms ease, color 140ms ease;
}
button:hover, .knop:hover, .btn-clay:hover { opacity: .9; }
button:disabled { opacity: .5; cursor: progress; }
.btn .arrow, .arrowlink .arrow { transition: transform 220ms ease; }
.btn:hover .arrow, .arrowlink:hover .arrow { transform: translateX(4px); }
.btn-onink { background: transparent; color: var(--bone); border-color: rgba(245,240,230,.5); }
.btn-onink:hover { background: rgba(245,240,230,.1); }
.arrowlink {
  display: inline-flex; align-items: center; gap: 8px; color: var(--body); text-decoration: none;
  font-size: .95rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap;
}
.arrowlink.op-ink { color: var(--bone); }

/* ---------- Home: hero dat blijft staan, de rest schuift eroverheen ---------- */
.hero-bg { position: fixed; inset: 0; z-index: 0; background: #DDD1BA; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-spacer { position: relative; z-index: 1; height: 100vh; height: 100svh; pointer-events: none; }
.hero-layer { position: fixed; inset: 0; display: flex; align-items: flex-end; padding: 0 var(--gutter) clamp(40px, 7vh, 72px); pointer-events: none; }
.hero-topfade { position: absolute; top: 0; left: 0; right: 0; height: 180px; background: linear-gradient(to bottom, rgba(23,22,17,.55), rgba(23,22,17,0)); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,22,17,.82) 0%, rgba(23,22,17,.72) 40%, rgba(23,22,17,.55) 56%, rgba(23,22,17,.22) 74%, rgba(23,22,17,0) 94%); }
.hero-content { position: relative; display: flex; flex-direction: column; gap: 24px; max-width: 680px; pointer-events: auto; }
.hero-content .eyebrow { color: var(--bone); }
.hero-content h1 { margin: 0; font-size: clamp(3rem, 6.5vw, 6rem); line-height: 1.02; letter-spacing: -.015em; color: var(--bone); }
.hero-content p { margin: 0; max-width: 44ch; font-size: 1.125rem; line-height: 1.62; color: var(--on-ink); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.sheet { position: relative; z-index: 3; background: var(--bone); }
.section { padding: var(--section-y) var(--gutter); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.sec-head h2, .collhead h2 { margin: 0; font-size: clamp(1.85rem, 3.2vw, 3rem); line-height: 1.16; }
.sec-head .stack, .collhead { display: flex; flex-direction: column; gap: 16px; }
.collhead { padding: 0 var(--gutter) 40px; }
.stack-wrap { position: relative; }
.stack-card {
  position: sticky; top: 112px; min-height: 86vh; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(40px, 6vw, 88px) var(--gutter);
  box-shadow: 0 -18px 40px rgba(23,22,17,.16);
}
.stack-card .copy { display: flex; flex-direction: column; gap: 18px; max-width: 34ch; }
.stack-card h3 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.05; }
.stack-card p { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.stack-card .thumb { aspect-ratio: 4/5; background: rgba(23,22,17,.06); display: flex; align-items: center; justify-content: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.stack-card.inset { background: var(--surface-inset); }
.stack-card.inset .kicker, .stack-card.inset h3 { color: var(--ink); }
.stack-card.sage { background: var(--surface-sage); color: #2c3326; }
.stack-card.sage h3, .stack-card.sage .kicker { color: #1f2519; }
.stack-card.sage .thumb { background: rgba(31,37,25,.1); }
.stack-card.ink { background: var(--surface-ink); color: var(--on-ink); }
.stack-card.ink h3, .stack-card.ink .kicker { color: var(--bone); }
.stack-card.ink .thumb { background: rgba(245,240,230,.08); color: var(--muted); }
.marquee { overflow: hidden; background: var(--bone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: nao-lint 32s linear infinite; }
.marquee-track span { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3.4rem); color: var(--ink); padding: 0 .5em; white-space: nowrap; display: inline-flex; align-items: center; gap: .6em; }
.marquee-track span::after { content: "·"; color: var(--clay); }
@keyframes nao-lint { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.story { background: var(--ink); color: var(--bone); padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story .copy { display: flex; flex-direction: column; gap: 24px; }
.story blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(1.85rem, 3.2vw, 3rem); line-height: 1.28; color: var(--bone); max-width: 30ch; }
.stats { display: flex; gap: 48px; padding-top: 24px; border-top: 1px solid rgba(245,240,230,.18); flex-wrap: wrap; }
.stat .value { font-size: 2.4rem; color: var(--bone); line-height: 1; }
.stat .label { font-size: .82rem; color: var(--muted); max-width: 18ch; margin-top: 10px; line-height: 1.4; }
.story .thumb { aspect-ratio: 4/5; background: rgba(245,240,230,.06); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 20px; }
#reviews-kort { padding: var(--section-y) var(--gutter); }

/* ---------- Productkaarten (home en /producten) ---------- */
.productlijst { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.productlijst .product { display: flex; flex-direction: column; gap: 10px; }
.productlijst .product .foto, .productlijst .product:not(:has(.foto))::before {
  position: relative; aspect-ratio: 3/4; overflow: hidden; display: block;
  background: linear-gradient(150deg, #E7DDCB, #D9CBB4 55%, #CDBB9E);
}
.productlijst .product:not(:has(.foto))::before {
  content: "Beeld volgt"; display: flex; align-items: center; justify-content: center;
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: #8c8368;
}
.productlijst .product .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.productlijst .product:hover .foto img { transform: scale(1.03); }
.productlijst .product h2 { font-size: 1.05rem; margin: 4px 0 0; }
.productlijst .product h2 a { color: var(--ink); text-decoration: none; }
.productlijst .product .merk, .productlijst .product .conditie { display: none; }
.prijs { margin: 0; color: var(--ink); font-size: .98rem; display: flex; gap: 10px; align-items: baseline; }
.prijs .van { color: var(--muted); font-size: .85rem; }
.voorraad { margin: 0; font-size: .78rem; letter-spacing: .06em; color: var(--muted); }
.voorraad[data-voorraad="uit"] { color: var(--clay); }
.productlijst .mandje-toevoegen p, .productlijst .actie { margin: 0; }
.productlijst .mandje-toevoegen button { padding: 8px 16px; font-size: .85rem; }
.productlijst .actie a { font-size: .9rem; }
.leeg { color: var(--muted); }

/* ---------- Pagina's na de home ---------- */
body:not([data-page-type="home"]) #inhoud > section,
body:not([data-page-type="home"]) #inhoud > article { max-width: var(--content); margin: 0 auto; padding: 56px var(--gutter) 96px; }
#zoeken { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 0 0 18px; }
#zoeken label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.resultaten { color: var(--muted); font-size: .9rem; }
.paginering { display: flex; gap: 18px; align-items: center; justify-content: center; margin-top: 40px; }
.kruimels ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 24px; font-size: .82rem; color: var(--muted); }
.kruimels li + li::before { content: "/"; margin-right: 6px; }
.kruimels a { color: var(--muted); text-decoration: none; }
#product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px 56px; align-items: start; }
#product > .kruimels, #product > .omschrijving, #product > .specificaties { grid-column: 1 / -1; }
#product > .fotos { grid-column: 1; grid-row: 2 / span 8; display: grid; gap: 12px; }
#product > :not(.fotos):not(.kruimels):not(.omschrijving):not(.specificaties) { grid-column: 2; }
#product > h1 { margin-bottom: 0; }
#product .prijs { font-size: 1.3rem; }
#product .levering { color: var(--muted); font-size: .9rem; }
.specificaties table { border-collapse: collapse; width: 100%; max-width: 640px; }
.specificaties th, .specificaties td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.specificaties th { color: var(--muted); width: 40%; }

/* ---------- Formulieren ---------- */
form p { margin: 0 0 14px; }
label { display: block; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
input[type="checkbox"] + *, label:has(input[type="checkbox"]), label:has(input[type="radio"]) { display: inline-flex; gap: 8px; align-items: center; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea {
  width: 100%; max-width: 520px; font: inherit; color: var(--ink); background: #fffdf8;
  border: 1px solid rgba(23,22,17,.22); border-radius: 12px; padding: 11px 14px;
}
#zoeken input, #zoeken select { width: auto; min-width: 200px; }
input:focus, select:focus, textarea:focus { border-color: var(--clay); outline: none; box-shadow: 0 0 0 3px rgba(180,101,63,.18); }
fieldset { border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px 8px; margin: 0 0 20px; }
legend { font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink); padding: 0 8px; }
.betaalmethode, .tijd { display: inline-flex; gap: 8px; align-items: center; margin: 0 14px 10px 0; }
[data-fout] { color: #a3402a; }
[data-melding] { color: #3f5a35; }

/* ---------- Tabellen (mandje, bestelling, openingstijden) ---------- */
table { border-collapse: collapse; }
.mandje-regels, .bestelling { width: 100%; margin: 12px 0 20px; }
.mandje-regels th, .mandje-regels td, .bestelling th, .bestelling td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); font-weight: 300; vertical-align: middle; }
.mandje-regels th, .bestelling thead th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.mandje-regels .product { display: flex; align-items: center; gap: 12px; }
.mandje-regels input { width: 80px; }
.mandje-regels button { background: transparent; color: var(--clay); padding: 6px 0; border: 0; }
.totaal { font-size: 1.15rem; color: var(--ink); }
.acties { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ---------- Account, contact, reviews, cookies ---------- */
#account[data-ingelogd="nee"] { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; }
#account[data-ingelogd="nee"] > h1 { grid-column: 1 / -1; }
#account section { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }
.bestellingen { list-style: none; padding: 0; display: grid; gap: 18px; }
.bestellingen > li { background: var(--surface-inset); border-radius: 18px; padding: 20px 22px; }
#stempelkaart { background: var(--surface-sage); border-radius: 18px; padding: 20px 22px !important; border: 0 !important; }
address { font-style: normal; line-height: 1.8; }
.openingstijden caption { text-align: left; font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); padding-bottom: 8px; }
.openingstijden th, .openingstijden td { padding: 4px 24px 4px 0; text-align: left; font-weight: 300; }
.reviewlijst { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.review { background: var(--surface-inset); border-radius: 18px; padding: 22px; }
.review .beoordeling { color: var(--clay); letter-spacing: .14em; margin: 0 0 8px; }
.review blockquote { margin: 0 0 12px; font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); }
.review footer { font-size: .85rem; color: var(--muted); }
#mijn-data pre { white-space: pre-wrap; background: var(--surface-inset); padding: 16px; border-radius: 12px; font-size: .8rem; max-height: 420px; overflow: auto; }
.chat-berichten { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 560px; }
.chat-berichten li { padding: 10px 14px; border-radius: 14px; background: var(--surface-inset); }
.chat-berichten .chat-bezoeker { background: var(--clay); color: var(--clay-text); justify-self: end; }

/* ---------- Voet ---------- */
#voet {
  position: relative; z-index: 3; background: var(--ink); color: var(--bone);
  padding: 56px var(--gutter) 40px; display: grid; gap: 36px; border-top: 1px solid rgba(245,240,230,.18);
}
#voet a { color: var(--on-ink); }
#voet .voet-boven, #voet .voet-midden, #voet .voet-onder { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; flex-wrap: wrap; }
#voet .fm { display: flex; flex-direction: column; gap: 8px; }
#voet .tagline, #voet .copy, #voet address { font-size: .82rem; color: var(--muted); }
#voet .nieuwsbrief p { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
#voet .nieuwsbrief label { color: var(--on-ink); margin: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
#voet .nieuwsbrief input { width: 240px; background: transparent; color: var(--bone); border-color: rgba(245,240,230,.35); }
#voet .nieuwsbrief [data-melding] { color: var(--surface-sage); }
.voetlinks { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; flex-wrap: wrap; }
.voetlinks a { text-decoration: none; font-size: .9rem; }
.pay { display: flex; gap: 10px; flex-wrap: wrap; }
.pay span { border: 1px solid rgba(245,240,230,.3); border-radius: 6px; padding: 6px 12px; font-size: .72rem; letter-spacing: .08em; color: var(--on-ink); }

/* ---------- Cookiebanner ---------- */
#cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px;
  background: var(--ink); color: var(--on-ink); border-radius: 20px; padding: 20px 22px; box-shadow: 0 18px 40px rgba(23,22,17,.35);
}
#cookie-banner a { color: var(--bone); }
#cookie-banner .keuzes { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
#cookie-banner .keuzes button:last-child { background: transparent; border-color: rgba(245,240,230,.4); color: var(--bone); }

/* ---------- Kleinere schermen ---------- */
@media (max-width: 900px) {
  .productlijst { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-card { grid-template-columns: 1fr; }
  .stack-card .thumb { display: none; }
  .story { grid-template-columns: 1fr; }
  .story .thumb { order: -1; }
  #product { grid-template-columns: 1fr; }
  #product > .fotos, #product > :not(.fotos):not(.kruimels):not(.omschrijving):not(.specificaties) { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  #kop { gap: 14px; }
  #menu { gap: 6px; }
  .pill { padding: 6px 10px; font-size: .75rem; }
  .pill-breed { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .productlijst { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .pill:hover .ring-spin { animation: none; }
}
