/* ==========================================================================
   lyme style — css/style.css
   Order: tokens → reset → base → typography → layout → components → utilities → enhancements
   Contract: docs/STYLE.md. Green and white: the dark green of Carina's logo lettering on paper white;
   her logo, her herb line and her photographs carry every other colour. Calm first.
   Tints are mixed in oklab: mixing the near-black ink in oklch pulls the hue towards pink.
   The paper is cream white (Carina, 31 October 2026); the photos on paper are made on exactly this colour, see
   PAPER in tools/lymestyle.py. Type is a size smaller than in September: less scrolling, her wish.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --paper: #fcfbf6;
  --ink: #111111;
  --green: #0e4a23;          /* the lettering of her logo */
  --white: #ffffff;
  --green-tint: color-mix(in oklab, var(--green) 7%, var(--paper));
  --green-soft: color-mix(in oklab, var(--green) 12%, var(--paper));
  --green-deep: color-mix(in oklab, var(--green) 80%, var(--ink));
  --ink-soft: color-mix(in oklab, var(--ink) 66%, var(--paper));
  --line: color-mix(in oklab, var(--ink) 13%, var(--paper));
  --line-strong: color-mix(in oklab, var(--ink) 42%, var(--paper));
  --paper-deep: color-mix(in oklab, var(--ink) 5%, var(--paper));
  --error: #9b1c1c;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino', Georgia, serif;
  --font-text: 'Atkinson Hyperlegible', 'Helvetica Neue', Arial, sans-serif;

  --text-small: 0.875rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --text-h3: 1.3rem;
  --text-h2: clamp(1.5rem, 1.3rem + 0.8vw, 1.85rem);
  --text-h1: clamp(1.85rem, 1.55rem + 1.4vw, 2.5rem);
  --text-display: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);

  --space-1: clamp(0.25rem, 0.2rem + 0.2vw, 0.375rem);
  --space-2: clamp(0.5rem, 0.4rem + 0.4vw, 0.75rem);
  --space-3: clamp(0.75rem, 0.6rem + 0.6vw, 1.125rem);
  --space-4: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  --space-5: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  --space-6: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem);
  --space-8: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem);
  --space-10: clamp(3rem, 2rem + 3.5vw, 5rem);

  --measure: 64ch;
  --page: 76rem;
  --radius: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 420ms;
  --dur-fast: 220ms;
  --ring: 0 0 0 3px var(--paper), 0 0 0 6px var(--green);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; hanging-punctuation: first last; }
body { min-height: 100svh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 0.06em; text-underline-offset: 0.16em; }
:target { scroll-margin-block: 2rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- base ---------- */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--text-body);
  text-wrap: pretty;
}
:focus-visible { outline: 3px solid transparent; outline-offset: 3px; box-shadow: var(--ring); border-radius: var(--radius); } /* the transparent outline shows in Windows contrast themes */
::selection { background: var(--green); color: var(--white); }
small, .small { font-size: var(--text-small); }
.skip { min-height: 44px; position: absolute; inset-inline-start: var(--space-4); inset-block-start: -4rem; padding: var(--space-2) var(--space-3); background: var(--green); color: var(--white); z-index: 100; }
.skip:focus-visible { inset-block-start: var(--space-3); }

/* ---------- typography ---------- */
/* Fraunces cut to the axes the site uses, softness fixed at 50 (tools/thumbs.py's sibling note in docs/DECISIONS.md, 22 November 2026) */
@font-face { font-family: 'Fraunces'; src: url('../assets/fonts/fraunces-soft.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('../assets/fonts/atkinson-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('../assets/fonts/atkinson-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('../assets/fonts/atkinson-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

h1, h2, h3, .display, .h3, .product__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: 'SOFT' 50, 'WONK' 1, 'opsz' 72;
  line-height: 1.12;
  text-wrap: balance;
  letter-spacing: -0.005em;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3, .h3 { font-size: var(--text-h3); font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 36; }
.display { font-size: var(--text-display); line-height: 1.04; color: var(--green); }
.lead { font-size: var(--text-lead); line-height: 1.5; }
.meta { font-size: var(--text-small); color: var(--ink-soft); }
p, li, dd { max-width: var(--measure); }
.prose > * + * { margin-block-start: var(--space-3); }
.prose h2 { margin-block-start: var(--space-6); }
.prose h3 { margin-block-start: var(--space-5); }
.prose > h1 + * { margin-block-start: var(--space-4); }
.prose ul, .prose ol { padding-inline-start: 1.2em; }
.prose li + li { margin-block-start: var(--space-1); }
.prose blockquote, .product-info blockquote { padding-inline-start: var(--space-4); border-inline-start: 2px solid var(--green); }
.price { font-variant-numeric: tabular-nums; }
.signature { font-family: var(--font-display); font-style: italic; font-size: var(--text-lead); color: var(--green); }
.link { font-weight: 700; }
.link, .crumbs a, .partners a { display: inline-flex; align-items: center; min-height: 44px; }
.measure { max-width: var(--measure); }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--space-4), var(--page)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--space-4), 46rem); margin-inline: auto; }
.grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-4, .col-5, .col-7, .col-8 { grid-column: span 12; }
@media (width >= 48rem) {
  .col-4 { grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
}
.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-5) var(--space-6); }
.section + .section, .welkom + .section { border-top: 1px solid var(--line); }
.section__kop { margin-block-end: var(--space-4); }
.section__kop + .lead { margin-block-end: var(--space-5); }
.stack > * + * { margin-block-start: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
main { display: block; }

/* ---------- header: her logo, then the menu ---------- */
.site-header { padding-block: var(--space-3); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-4); }
.brand { display: inline-block; border-radius: 50%; }
.brand .logo, .brand img { width: 3.75rem; height: 3.75rem; }
@media (width >= 60rem) { .brand .logo, .brand img { width: 4.5rem; height: 4.5rem; } }
.brand--footer .logo, .brand--footer img { width: 4.5rem; height: 4.5rem; }
.nav ul { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); align-items: center; }
.nav a { display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--green); }
.nav a.button, .menu a.button { justify-content: center; padding-inline: var(--space-4); border: 1.5px solid var(--green); color: var(--white); font-family: var(--font-text); font-size: var(--text-body); }
.nav a.button:hover, .menu a.button:hover { background: var(--green-deep); border-color: var(--green-deep); }
.menu a.button { margin-block: var(--space-2); }
/* Under 72rem the links fold into the menu. The width alone decides that, so nothing jumps when the script arrives;
   without script the Menu link goes to the menu at the foot of the page. One row on a phone: logo, webshop, cart, menu. */
.nav { display: none; }
.site-header .wrap { flex-wrap: nowrap; gap: var(--space-2); }
.site-header .language-switch { display: none; }
.header-shop { display: inline-flex; margin-inline-start: auto; min-height: 44px; }
/* the cart: the little cart everyone knows, with a counter; next to the menu button on a phone */
.icon { flex: none; }
.met-icoon { display: inline-flex; align-items: center; gap: 0.4em; }
.met-icoon svg { inline-size: 1.15em; block-size: 1.15em; flex: none; }
.header-cart { display: inline-flex; align-items: center; justify-content: center; gap: 0.3em; min-width: 44px; min-height: 44px; text-decoration: none; }
.count { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding-inline: 0.35em; border-radius: 1em; background: var(--green); color: var(--white); font-size: var(--text-small); font-weight: 700; font-variant-numeric: tabular-nums; }
.count[hidden] { display: none; }
.menu-button { display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; padding: var(--space-2) var(--space-3); border: 1.5px solid var(--line-strong); border-radius: var(--radius); font-weight: 700; text-decoration: none; }
@media (width < 22.5rem) { .brand .logo, .brand img { width: 3.25rem; height: 3.25rem; } .site-header .wrap { gap: 0.375rem; } .header-shop.button { padding-inline: 0.75rem; } }
@media (width >= 48rem) { .site-header .wrap { gap: var(--space-3); } .site-header .language-switch { display: flex; } .header-shop { margin-inline-start: 0; } }
/* the full menu needs 1130 px in Dutch (nine items and the cart); 72rem leaves room for a scrollbar */
@media (width >= 72rem) { .nav { display: block; } .site-header .header-shop, .site-header .header-cart, .site-header .menu-button { display: none; } .site-header .wrap { flex-wrap: wrap; gap: var(--space-3) var(--space-4); } }
.menu { border: 0; padding: 0; width: min(100%, 24rem); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
.menu::backdrop { background: color-mix(in oklab, var(--ink) 45%, transparent); }
.menu__inner { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); min-height: 100%; }
.menu ul { display: flex; flex-direction: column; }
.menu a { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: var(--space-3) 0; font-family: var(--font-display); font-size: 1.2rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a[aria-current="page"] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.menu__close { align-self: flex-end; }
.menu .language-switch { margin: 0; }
.menu .language-switch a { display: inline-flex; justify-content: center; padding: 0 .5rem; border-bottom: 0; font-family: var(--font-text); font-size: var(--text-small); }

/* ---------- buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px; padding: var(--space-2) var(--space-4); border: 1.5px solid var(--green); border-radius: var(--radius); background: var(--green); color: var(--white); font-weight: 700; text-decoration: none; text-align: center; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.button:hover { background: var(--green-deep); border-color: var(--green-deep); }
.button--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.button--ghost:hover { background: var(--green-soft); border-color: var(--green); }
.button[disabled] { background: var(--line); border-color: var(--line-strong); color: var(--ink); cursor: progress; }
.back-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-weight: 700; text-decoration: none; }
.back-link svg { width: 20px; height: 20px; flex: none; }
.back-link:hover span { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- welkom: the herb line, her words, what is new ---------- */
.welkom { padding-block-end: var(--space-8); }
.welkom__lijn { width: min(100%, 38rem); margin-inline: auto; padding-inline: var(--space-3); }
.welkom__lijn img { width: 100%; height: auto; }
/* "vernieuwde website" (Carina, until 1 April 2027): a round stamp on the paper by the herb line, green ring and letters
   like her logo. It stands still and moves nothing around it. */
.welkom__lijn { position: relative; }
.vernieuwd { position: absolute; inset-inline-end: var(--space-3); inset-block-end: -0.25rem; inline-size: 5.5rem; aspect-ratio: 1;
  display: grid; place-items: center; margin: 0; padding: 0.45rem; border: 2px solid var(--green); border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--green); background: var(--paper); color: var(--green);
  font: 700 0.75rem/1.15 var(--font-text); text-align: center; text-wrap: balance; transform: rotate(-8deg); }
@media (width < 22.5rem) { .vernieuwd { inset-block-end: -0.75rem; } .welkom__lijn:has(.vernieuwd) + .welkom__grid { margin-block-start: calc(var(--space-4) + 0.5rem); } }
@media (23.4375rem <= width < 48rem) { .vernieuwd { inline-size: 6.25rem; font-size: var(--text-small); inset-block-end: -0.5rem; } }
@media (width >= 48rem) { .vernieuwd { inline-size: 6.5rem; font-size: var(--text-small); inset-block-end: 8%; } }
.welkom__grid { display: grid; gap: var(--space-6); margin-block-start: var(--space-4); }
@media (width >= 60rem) { .welkom__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; gap: var(--space-8); } }
.welkom__tekst > * + * { margin-block-start: var(--space-4); }
.welkom__tekst .cluster { margin-block-start: var(--space-5); }
.mededeling { padding: var(--space-3) var(--space-4); border-inline-start: 3px solid var(--green); background: var(--green-tint); font-weight: 700; }
.actie { display: grid; grid-template-columns: 5rem 1fr; gap: var(--space-3); align-items: start; padding-block-start: var(--space-4); border-top: 1px solid var(--line); font-size: var(--text-small); }
.actie__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.actie > div > * + * { margin-block-start: var(--space-2); }
.actie__label { display: inline-block; padding: 0.2em 0.8em; border-radius: 1em; background: var(--green); color: var(--white); font-weight: 700; letter-spacing: 0.01em; }
.actie__kop { font-size: 1.1rem; }
.actie .button { min-height: 44px; }

/* ---------- waar zoek je iets voor? ---------- */
.kiezer { background: var(--green-tint); padding-block: var(--space-8); }
.kiezer h2 { color: var(--green); }
.kiezer .lead { margin-block: var(--space-3) var(--space-5); max-width: 48ch; }
.kiezer__lijst { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: var(--space-1) var(--space-4); }
.kiezer__lijst li { max-width: none; }
.kiezer__lijst a { display: flex; align-items: center; min-height: 48px; padding: var(--space-1) var(--space-2); border-bottom: 1px solid color-mix(in oklab, var(--green) 18%, var(--paper)); color: var(--green); font-weight: 700; text-decoration: none; line-height: 1.25; border-radius: var(--radius); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.kiezer__lijst a:hover { background: var(--green-soft); }
.kiezer__lijst a[aria-current="true"] { background: var(--green); color: var(--white); border-bottom-color: var(--green); }
.kiezer__uitkomst { margin-block-start: var(--space-6); padding: var(--space-5) var(--space-4); background: var(--paper); border-radius: var(--radius); }
.kiezer__uitkomst > * + * { margin-block-start: var(--space-4); }
.kiezer__uitkomst h3:focus, .kiezer__uitkomst h3:focus-visible { outline: none; box-shadow: none; } /* focus lands here so a screen reader reads the choice; it is no control */
.kiezer__noot { margin-block-start: var(--space-5); font-size: var(--text-small); color: var(--ink-soft); }
.kiezer__noot a { color: var(--green); font-weight: 700; }

/* ---------- products ---------- */
.products { display: grid; gap: var(--space-5) var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }
@media (width >= 48rem) { .products { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); } }
.products > li { max-width: none; }
.product { display: block; text-decoration: none; border-radius: var(--radius); }
.product picture, .product img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper); }
.product--book img { object-fit: contain; aspect-ratio: 600 / 849; }
.product__name { display: block; margin-block-start: var(--space-2); font-size: 1.05rem; line-height: 1.2; font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 24; }
.product__name::first-letter { text-transform: uppercase; }
.product__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-2); margin-block-start: var(--space-1); }
.product__price { font-variant-numeric: tabular-nums; font-weight: 700; }
.product__group, .product__stock { color: var(--ink-soft); font-size: var(--text-small); }
.product:hover .product__name { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.14em; }
.product.is-out img { opacity: 0.55; }

/* ---------- wat ik maak ---------- */
.groups { display: grid; gap: 0 var(--space-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.groups li { max-width: none; }
.groups a { display: flex; align-items: center; gap: var(--space-3); padding-block: var(--space-2); text-decoration: none; border-bottom: 1px solid var(--line); min-height: 4.5rem; }
.groups picture, .groups img { width: 3.5rem; height: 3.5rem; flex: none; border-radius: 50%; object-fit: cover; }
.groups picture { overflow: hidden; }
.groups .is-cirkel img { transform: scale(1.32); } /* the circle fills 80% of its photo; this fills the frame with herbs */
.groups b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 24; }
.groups span span { color: var(--ink-soft); font-size: var(--text-small); }
.groups a:hover b { text-decoration: underline; }
/* on a phone two columns side by side, the round photo smaller and the short line left out (Pierre, 22 November 2026) */
@media (width < 40rem) {
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-3); }
  .groups a { gap: var(--space-2); min-height: 3.75rem; padding-block: var(--space-1); }
  .groups picture, .groups img { width: 2.75rem; height: 2.75rem; }
  .groups b { font-size: 1rem; line-height: 1.2; hyphens: auto; overflow-wrap: anywhere; }
  .groups span span { display: none; }
}

/* ---------- zo gebruik je de producten: round, soft green ---------- */
.rondjes { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-block-start: var(--space-4); padding: 0; list-style: none; }
.rondjes li { max-width: none; }
.rondjes a { display: grid; place-items: center; width: clamp(6.75rem, 27vw, 8.5rem); aspect-ratio: 1; padding: var(--space-3); border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 0.9rem; line-height: 1.2; text-align: center; text-decoration: none; hyphens: auto; overflow-wrap: break-word; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.rondjes a:hover { background: var(--green); color: var(--white); }
.rondjes a:focus-visible { border-radius: 50%; }

/* ---------- link lists (gebruik, overige informatie) ---------- */
.toc { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-4); }
.toc li { max-width: none; }
.toc a { display: inline-flex; align-items: center; min-height: 48px; padding: var(--space-1) var(--space-4); border: 1.5px solid var(--line-strong); border-radius: var(--radius); text-decoration: none; font-weight: 700; background: var(--paper); }
.toc a:hover { border-color: var(--green); color: var(--green); }
.toc-nav { margin-block-start: var(--space-5); }
.prose .toc { padding-inline-start: 0; }
.prose .toc li + li { margin-block-start: 0; }
.plain { padding: 0; list-style: none; }
.plain li + li { margin-block-start: var(--space-3); }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.review { padding-block: var(--space-4); border-top: 2px solid var(--green); }
.review blockquote p { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.45; font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 24; }
.review blockquote p::before { content: '\201C'; }
.review blockquote p::after { content: '\201D'; }
.review footer { margin-block-start: var(--space-3); color: var(--ink-soft); }
.review footer b { color: var(--ink); }
.review__answer { margin-block-start: var(--space-3); padding-inline-start: var(--space-4); border-inline-start: 2px solid var(--green-soft); }
.review__answer p { font-size: var(--text-small); }

/* ---------- three short blocks (ophalen, versturen, retour) ---------- */
.drie { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.drie > div { padding-block-start: var(--space-3); border-top: 1px solid var(--line); }
.drie h3, .drie .h3 { font-size: 1.15rem; margin-block-end: var(--space-2); }

/* ---------- photos in sections ---------- */
figure img { width: 100%; height: auto; }
figcaption { margin-block-start: var(--space-2); font-size: var(--text-small); color: var(--ink-soft); }
.cover { width: 100%; max-width: 22rem; height: auto; }
/* three photos: the wide one first, two upright ones beside it (below it on a phone), all one height */
.photo-row { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
.photo-row > :first-child { grid-column: 1 / -1; }
.photo-row img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.photo-row > :first-child img { aspect-ratio: 4 / 3; }
@media (width >= 48rem) { .photo-row { grid-template-columns: 16fr 9fr 9fr; } .photo-row > :first-child { grid-column: auto; } }
.figure-stack { display: grid; gap: var(--space-3); align-content: start; }
.figure-small { max-width: 21.7rem; } /* a small original (347 px wide) is never enlarged */
.with-icon { display: flex; align-items: center; gap: var(--space-3); }
.partners { display: grid; gap: 0 var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.partners article { padding-block: var(--space-4); border-top: 1px solid var(--line); }
.partners article > * + * { margin-block-start: var(--space-2); }
.notice { padding: var(--space-3) var(--space-4); border-inline-start: 3px solid var(--green); background: var(--green-tint); }

/* ---------- product and book pages ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); font-size: var(--text-small); color: var(--ink-soft); margin-block-end: var(--space-4); }
.crumbs li:not(:last-child)::after { content: '/'; margin-inline-start: var(--space-2); color: var(--line-strong); }
.crumbs a { color: var(--ink); }
.product-page .grid { align-items: start; }
.product-info > * + * { margin-block-start: var(--space-4); }
.gallery__main { aspect-ratio: 1; background: var(--paper); }
.gallery__main picture, .gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main > :not(.is-active) { display: none; }
.gallery__toggle { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-3); }
.gallery__toggle button { min-height: 44px; padding: var(--space-1) var(--space-4); border: 1.5px solid var(--line-strong); border-radius: var(--radius); font-weight: 700; }
.gallery__toggle button[aria-pressed="true"] { background: var(--green); color: var(--white); border-color: var(--green); }
.thumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-3); }
.thumbs button { width: 4.5rem; height: 4.5rem; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { display: grid; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in oklab, var(--white) 50%, var(--paper)); }
.buy__price { font-family: var(--font-display); font-size: var(--text-h3); font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 36; }
.buy__row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.qty button { width: 48px; height: 48px; font-size: 1.25rem; }
.qty input { width: 3.5rem; height: 48px; text-align: center; border: 0; border-inline: 1.5px solid var(--line-strong); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.status:empty { display: none; }
.status[data-tone="ok"] { color: var(--green); font-weight: 700; }
.facts { display: grid; gap: var(--space-2) var(--space-4); grid-template-columns: max-content 1fr; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; }
.facts a { color: var(--green); }
.related { margin-block-start: var(--space-8); padding-block-start: var(--space-6); border-top: 1px solid var(--line); }
.related h2 { margin-block-end: var(--space-4); }
.products--books { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 12rem)); }

/* ---------- webshop ---------- */
.filters { position: sticky; top: 0; z-index: 5; background: var(--paper); padding-block: var(--space-3); border-block: 1px solid var(--line); }
.filters .wrap { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; }
.filters label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5em; font-weight: 700; }
.filters select, .filters input[type="search"] { min-height: 44px; max-width: 100%; padding: var(--space-1) var(--space-3); border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font-weight: 400; }
@media (width < 40rem) { .filters { position: static; } .filters label { width: 100%; } .filters select, .filters input[type="search"] { flex: 1; } }
/* The filters only work with the script. Where it runs they take their place from the first paint, still invisible,
   so nothing below them jumps when the script arrives (later on the English pages, after their word list). */
@media (scripting: enabled) { .filters[hidden] { display: block; visibility: hidden; } }
/* a black line down the left of the results with a dot at each group: below the first result there is more,
   even when a search shows one product on a wide empty row (Pierre, 2026-10-31) */
[data-shop] { padding-inline-start: var(--space-5); border-inline-start: 2px solid var(--ink); }
.group-block { position: relative; padding-block: var(--space-6); }
.group-block::before { content: ''; position: absolute; inset-inline-start: calc(-1 * var(--space-5) - 7px); inset-block-start: calc(var(--space-6) + 0.55rem); width: 0; height: 0; border: 6px solid var(--ink); border-radius: 50%; }
.group-block + .group-block { border-top: 1px solid var(--line); }
.group-block[hidden] { display: none; }
.group-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-block-end: var(--space-5); }
.group-block__head p { margin-block-start: var(--space-2); }
.js .group-block:not(.is-open) .is-meer { display: none; }
.products li[hidden] { display: none; }
.more { margin-block-start: var(--space-5); }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--space-4); max-width: 40rem; padding: var(--space-5) var(--space-4); border-radius: 4px; background: var(--green-tint); }
.field { display: grid; gap: var(--space-1); border: 0; padding: 0; }
.field label, .field legend { font-weight: 700; }
.field .hint { color: var(--ink-soft); font-size: var(--text-small); font-weight: 400; }
.field input, .field textarea, .field select { min-height: 48px; padding: var(--space-2) var(--space-3); border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.field textarea { min-height: 8rem; resize: vertical; field-sizing: content; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.field input:user-valid, .field textarea:user-valid { border-color: var(--green); }
.field .error { color: var(--error); font-size: var(--text-small); }
.field .error:empty { display: none; }
.address-autocomplete { position: relative; min-width: 0; }
.address-autocomplete input { width: 100%; }
.address-suggestions { position: absolute; z-index: 10; inset-inline: 0; top: calc(100% + 4px); max-height: 17rem; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 0; list-style: none; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); box-shadow: 0 6px 16px #00000014; }
.address-option { display: flex; align-items: center; min-height: 48px; max-width: none; padding: var(--space-2) var(--space-3); cursor: pointer; overflow-wrap: anywhere; }
.address-option + .address-option { border-top: 1px solid var(--line); }
.address-option:hover, .address-option[aria-selected="true"] { background: var(--green-soft); }
.checks { display: grid; gap: var(--space-2); }
.checks label { display: flex; gap: 0.6em; align-items: center; min-height: 44px; font-weight: 400; }
.checks input { width: 1.25rem; height: 1.25rem; accent-color: var(--green); }
.stars { display: inline-flex; gap: 0.25em; }
.stars label { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label:has(input:checked) { background: var(--green); color: var(--white); border-color: var(--green); }
.stars label:has(input:focus-visible) { box-shadow: var(--ring); outline: 3px solid transparent; outline-offset: 3px; }
.form-note { padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); }
.form-note[data-tone="ok"] { border-color: var(--green); background: var(--green-tint); }
.form-note[data-tone="error"] { border-color: var(--error); }

/* ---------- bestellijst ---------- */
.cart { width: 100%; border-collapse: collapse; }
.cart th, .cart td { text-align: left; padding: var(--space-3) var(--space-2); border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart th { font-size: var(--text-small); color: var(--ink-soft); font-weight: 400; }
.cart td.num, .cart th.num { text-align: right; font-variant-numeric: tabular-nums; }
.cart img { width: 3.5rem; height: 3.5rem; object-fit: cover; }
.cart__item { display: flex; align-items: center; gap: var(--space-3); }
.cart__item a { text-decoration: none; font-family: var(--font-display); font-size: 1.05rem; font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 24; }
.cart__qty { width: 4.5rem; min-height: 44px; padding: 0 var(--space-2); border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.cart__total td { font-weight: 700; font-size: var(--text-lead); border-bottom: 0; }
.cart-wrap { overflow-x: auto; }
.remove { min-width: 44px; min-height: 44px; text-decoration: underline; }
@media (width < 40rem) { .cart th:nth-child(3), .cart td:nth-child(3) { display: none; } }
@media (width < 26rem) { .cart img { display: none; } .cart__qty { width: 3.5rem; } .cart th, .cart td { padding-inline: var(--space-1); } }

/* ---------- ordering: send or collect, the total, the thank-you screen ---------- */
.checks--stack label { align-items: flex-start; padding: var(--space-3); border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.checks--stack label:has(input:checked) { border-color: var(--green); }
.checks--stack input { flex: none; margin-block-start: 0.15em; }
.checks--stack .hint { display: block; }
.order-total { padding: var(--space-4); border-radius: var(--radius); background: var(--white); }
.order-total:empty { display: none; }
.order-total .facts, .order-done .facts { grid-template-columns: 1fr max-content; }
.order-total dd, .order-done dd { text-align: right; font-variant-numeric: tabular-nums; }
.order-total dt:last-of-type, .order-total dd:last-of-type, .order-done dt:last-of-type, .order-done dd:last-of-type { padding-block-start: var(--space-2); border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: var(--text-lead); }
.order-total .hint { margin-block-start: var(--space-3); color: var(--ink-soft); font-size: var(--text-small); }
.order-done > * { max-width: 40rem; }
.order-done > * + * { margin-block-start: var(--space-4); }
.order-pay { font-size: var(--text-lead); overflow-wrap: anywhere; }
/* her portrait from the homepage, round, by her name; zoomed on her face so the smile reads at this size */
.order-done .signature { display: flex; align-items: center; gap: var(--space-3); }
.order-done .signature picture { flex: none; width: 6rem; height: 6rem; border-radius: 50%; overflow: hidden; }
.order-done .signature img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; scale: 1.4; transform-origin: 50% 37%; }
/* what was ordered: small photos side by side on the paper, so a long order wraps into a few rows, not a column */
.order-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: var(--space-4) var(--space-3); }
/* long Dutch words ("ontstekingsremmend") need hyphens in a phone column; short ones stay whole where supported */
.order-items li { max-width: none; font-size: var(--text-small); line-height: 1.35; hyphens: auto; hyphenate-limit-chars: 10 4 4; overflow-wrap: break-word; }
.order-items img { width: 4.5rem; height: 4.5rem; margin-block-end: var(--space-2); object-fit: cover; background: var(--paper); }
.order-items img.is-book { object-fit: contain; object-position: left; }

/* ---------- gebruik, lyme ---------- */
.usage { padding-block: var(--space-8); }
.usage + .usage { border-top: 1px solid var(--line); }
.usage figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.usage figure.is-wide img { aspect-ratio: 3 / 2; }
.lyme-top { align-items: center; }
.symptoms { columns: 1; column-gap: var(--space-6); padding-inline-start: 1.4em; }
@media (width >= 40rem) { .symptoms { columns: 2; } }
@media (width >= 64rem) { .symptoms { columns: 3; } }
.symptoms li { break-inside: avoid; margin-block-end: var(--space-2); }

/* ---------- footer ---------- */
.site-footer { margin-block-start: var(--space-6); padding-block: var(--space-5) var(--space-3); border-top: 1px solid var(--line-strong); background: var(--paper-deep); }
.footer-grid { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: center; justify-content: space-between; }
.footer-contact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); align-items: center; max-width: 100%; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-grid nav { flex: 1 1 20rem; max-width: 34rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); align-items: center; justify-content: space-between; margin-block-start: var(--space-4); padding-block-start: var(--space-2); border-top: 1px solid var(--line); }
.colophon { color: var(--ink-soft); font-size: var(--text-small); max-width: none; }

/* ---------- beheer (beheer.html only) ---------- */
.beheer { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
@media (width >= 60rem) { .beheer { grid-template-columns: 20rem minmax(0, 1fr); align-items: start; } }
.lijst { display: grid; gap: 2px; max-height: 70vh; overflow: auto; border: 1px solid var(--line); padding: var(--space-2); }
.lijst button { display: flex; justify-content: space-between; gap: var(--space-2); width: 100%; text-align: left; padding: var(--space-2) var(--space-3); border-radius: var(--radius); }
.lijst button:hover, .lijst button[aria-current="true"] { background: var(--green-soft); }
.lijst small { color: var(--ink-soft); }
.beheer .form { max-width: none; }
.twee { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.checks--grid { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.preview { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.preview img { width: 5rem; height: 5rem; object-fit: cover; border: 1px solid var(--line); }
.uitvoer { width: 100%; min-height: 12rem; font-family: ui-monospace, Menlo, monospace; font-size: 0.8rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- third party ----------
   Netlify injects a "Powered by Netlify" badge in a frame on every published page. The CSP already refuses
   its scripts and styles, but the empty frame still took keyboard stops and was read out by screen readers.
   The only !important in this file: it has to beat the inline style Netlify's script sets on the frame. */
iframe[id="nl-badge-frame"], iframe[id="nl-hud-frame"] { display: none !important; }

/* ---------- utilities ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-6 { margin-block-start: var(--space-6); }
[hidden] { display: none; }

/* ---------- enhancements: one quiet moment, nothing that moves on its own ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* the products settle on the paper after a choice */
  .settle > li { animation: settle var(--dur) var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
  @keyframes settle { from { opacity: 0; transform: scale(0.98) translateY(6px); } to { opacity: 1; transform: none; } }
  .gallery__main > .is-active { animation: fade 300ms var(--ease); }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
@media (forced-colors: active) {
  .kiezer__lijst a[aria-current="true"], .gallery__toggle button[aria-pressed="true"], .stars label:has(input:checked) { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .thumbs button[aria-pressed="true"] { forced-color-adjust: none; border-color: Highlight; }
  .nav a { border-bottom-style: none; }
  .rondjes a { border: 2px solid CanvasText; }
  .nav a[aria-current="page"] { border-bottom-style: solid; }
}
@media print {
  .site-header, .site-footer, .kiezer, .filters, .menu { display: none; }
}

/* Language choice stays visible alongside the mobile shop/menu controls. */
.language-switch { display: flex; align-items: center; gap: .125rem; margin-inline-start: auto; }
.language-switch a { display: inline-flex; justify-content: center; align-items: center; gap: .35rem; padding-inline: .35rem; min-width: 44px; min-height: 44px; font-size: var(--text-small); font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.language-switch a[aria-current] { background: var(--green-soft); text-decoration: underline; text-underline-offset: .2em; }

/* ==========================================================================
   Carina's dashboard (beheer/bestellingen.html, js/bestellingen.js): her orders and her stock.
   Same paper and green as the site; status labels always carry their word, never colour alone.
   ========================================================================== */
.beheer-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.beheer-tabs[hidden] { display: none; }
.beheer-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-1) var(--space-4); border: 1.5px solid var(--green); border-radius: 999px; color: var(--green); font-weight: 700; text-decoration: none; }
.beheer-tabs a:hover { background: var(--green-soft); }
.beheer-tabs a[aria-current="page"] { background: var(--green); color: var(--white); }
.beheer-uit { margin: 0; }
.beheer-pagina:focus { outline: none; }
.notice[data-tone="error"] { border-inline-start-color: var(--error); background: var(--paper-deep); }
.notice:focus { outline: none; }
.linkknop { min-height: 44px; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
.beheer-filters { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); align-items: end; margin-block: var(--space-4); }
.beheer-filters .field input, .beheer-filters .field select { width: 100%; }
.beheer-export { margin: 0; }
.beheer-aantal { color: var(--ink-soft); }
.beheer-tabel { width: 100%; border-collapse: collapse; margin-block: var(--space-3) var(--space-6); }
.beheer-tabel th, .beheer-tabel td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.beheer-tabel thead th { font-size: var(--text-small); color: var(--ink-soft); }
.beheer-tabel .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.beheer-tabel tbody tr { cursor: pointer; }
.beheer-tabel tbody tr:hover { background: var(--green-tint); }
.chip { display: inline-block; padding: 0.15em 0.7em; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: var(--text-small); font-weight: 700; white-space: nowrap; }
.chip--afwachting { border-color: var(--ink); }
.chip--betaald { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.chip--verzonden, .chip--klaar, .chip--afgehaald { border-color: var(--green); background: var(--green); color: var(--white); }
.chip--geannuleerd, .chip--geretourneerd { color: var(--ink-soft); }
@media screen and (width < 48rem) {
  .beheer-tabel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .beheer-tabel tr { display: grid; grid-template-columns: auto 1fr; gap: var(--space-1) var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
  .beheer-tabel td { display: block; padding: 0; border: 0; text-align: left; }
  .beheer-tabel td.num { text-align: left; }
  .beheer-tabel td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-soft); font-size: var(--text-small); }
  .beheer-tabel td:first-child::before, .beheer-tabel td:nth-child(2)::before { content: none; }
  .beheer-tabel td:nth-child(2) { font-weight: 700; }
  /* the figure tables are no order rows: their second cell keeps its heading and its weight */
  .beheer-tabel--rustig td:nth-child(2) { font-weight: 400; }
  .beheer-tabel--rustig td:nth-child(2)::before { content: attr(data-label) ": "; color: var(--ink-soft); font-size: var(--text-small); }
}
.beheer-sub { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.beheer-detail { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); margin-block-start: var(--space-4); }
@media (width >= 60rem) { .beheer-detail { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.beheer-rij { padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.beheer-label { margin: 0 0 var(--space-2); font-family: var(--font-text); font-size: var(--text-body); font-weight: 700; }
.beheer-tekst { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.beheer-status { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.beheer-rij > p { margin-block: var(--space-2) 0; }
.beheer-status select, .beheer-status input { min-height: 48px; padding: var(--space-2) var(--space-3); border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.beheer-status input { flex: 1 1 14rem; text-transform: uppercase; }
.beheer-adres { margin-block-start: var(--space-3); max-width: none; }
.beheer-rij textarea { width: 100%; min-height: 6rem; padding: var(--space-2) var(--space-3); border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); field-sizing: content; }
.beheer-producten { width: 100%; border-collapse: collapse; }
.beheer-producten td, .beheer-producten th { padding: var(--space-2) 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.beheer-producten .num { text-align: right; white-space: nowrap; padding-inline-start: var(--space-3); }
.beheer-totaal th, .beheer-totaal td { font-weight: 700; border-bottom: 0; }
.beheer-geschiedenis { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.beheer-geschiedenis li { display: grid; gap: 0.1rem; }
.beheer-geschiedenis .small { color: var(--ink-soft); overflow-wrap: anywhere; }
.voorraad-groep { margin-block: var(--space-6) var(--space-2); font-size: var(--text-h3); }
.voorraad-naam { display: flex; align-items: center; gap: var(--space-3); font-weight: 400; }
.voorraad-naam img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; flex: none; }
.voorraad-tabel tbody tr { cursor: default; }
.voorraad-tabel tbody tr.is-uit .voorraad-naam span { color: var(--ink-soft); }
.voorraad-tabel input { width: 7.5rem; min-height: 48px; padding: var(--space-2) var(--space-3); border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); text-align: right; }
.voorraad-tabel input::placeholder { color: var(--ink-soft); font-size: var(--text-small); text-align: left; }
.voorraad-tabel input.is-gewijzigd { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-soft); }
@media (width < 48rem) {
  .voorraad-tabel tr { grid-template-columns: auto 1fr auto; align-items: center; }
  .voorraad-tabel td:first-child { grid-column: 1 / span 2; }
  .voorraad-tabel td:last-child { grid-row: 1 / span 2; grid-column: 3; }
  .voorraad-tabel td::before { content: none !important; }
  .voorraad-tabel td:nth-child(2) { font-weight: 400; }
  .voorraad-tabel td:nth-child(2), .voorraad-tabel td:nth-child(3) { color: var(--ink-soft); font-size: var(--text-small); }
  .voorraad-tabel input { width: 6rem; }
}
.beheer-opslaan { position: sticky; bottom: 0; z-index: 2; padding: var(--space-3) var(--space-4); margin-inline: calc(-1 * var(--space-4)); border-top: 2px solid var(--green); background: var(--paper); }
.beheer-opslaan p { margin: 0 0 var(--space-2); }
.beheer-overal { margin-block-start: var(--space-8); color: var(--ink-soft); font-size: var(--text-small); }
.beheer-code { margin-block-start: var(--space-5); max-width: 26rem; }
.beheer-code input { font-size: 1.4rem; letter-spacing: 0.15em; }
.tegels { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin-block: var(--space-4); }
.tegel { padding: var(--space-3) var(--space-4); border-inline-start: 3px solid var(--green); background: var(--green-tint); }
.tegel b { display: block; font-family: var(--font-display); font-size: var(--text-h2); font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tegel span { color: var(--ink-soft); font-size: var(--text-small); }
.grafiek { position: relative; margin-block: var(--space-3) var(--space-5); max-width: 46rem; }
.grafiek__svg { display: block; width: 100%; height: auto; overflow: visible; }
.grafiek__svg text { font-size: 12px; fill: var(--ink-soft); font-variant-numeric: tabular-nums; }
.grafiek__svg .grafiek__top { fill: var(--ink); font-weight: 700; }
.grafiek__lijn { stroke: var(--line); stroke-width: 1; }
.staaf__raak { fill: transparent; }
.staaf__balk { fill: var(--green); }
.staaf:hover .staaf__balk, .staaf:focus-visible .staaf__balk { fill: var(--green-deep); }
.staaf:hover .staaf__raak, .staaf:focus-visible .staaf__raak { fill: var(--green-tint); }
.staaf:focus { outline: none; }
.staaf:focus-visible .staaf__raak { stroke: var(--green); stroke-width: 2; }
.grafiek__tip { position: absolute; z-index: 3; transform: translate(-50%, -100%); padding: var(--space-1) var(--space-2); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font-size: var(--text-small); white-space: nowrap; pointer-events: none; }
.grafiek__tip b { display: block; font-size: var(--text-body); }
.jaren { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block: var(--space-3); }
.jaren button { min-height: 44px; padding: var(--space-1) var(--space-3); border: 1.5px solid var(--green); border-radius: 999px; color: var(--green); font-weight: 700; }
.jaren button[aria-pressed="true"] { background: var(--green); color: var(--white); }
.beheer-kop2 { margin-block: var(--space-6) var(--space-2); font-size: var(--text-h3); }
.beheer-tabel--rustig tbody tr { cursor: default; }
.beheer-tabel--rustig tbody tr:hover { background: none; }
.koppelen { margin-block: var(--space-3) var(--space-5); padding: var(--space-4); border: 1.5px solid var(--green); border-radius: var(--radius); background: var(--green-tint); }
.koppelen h2 { margin: 0 0 var(--space-2); font-size: var(--text-h3); }
.koppelen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.koppelen select { min-height: 48px; max-width: 100%; padding: var(--space-2) var(--space-3); border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.scanregel { color: var(--ink-soft); font-size: var(--text-small); }
.niet-opgeslagen { color: var(--error); font-weight: 700; }
@media print {
  .site-header, .beheer-overal, .geen-print, .skip { display: none !important; }
  .beheer-pagina { width: 100%; }
}
.beheer-pagina:focus-visible { outline: none; box-shadow: none; } /* focus lands here after a click on a tab so a screen reader starts at the top; it is no control */
