/* Een bloem blijft: rustig, groot en duidelijk. Geen externe lettertypen of scripts. */
:root {
  --achtergrond: #faf8f5;
  --vlak: #ffffff;
  --tekst: #2b2a28;
  --zacht: #6b6760;
  --lijn: #e4dfd6;
  --accent: #4a6b5d;
  --accent-donker: #3a574b;
  --accent-licht: #e8efe9;
  --roze: #f3e7e4;
  --fout: #a4342a;
  --radius: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--achtergrond);
  color: var(--tekst);
  font: 18px/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-donker); }
a:hover { color: var(--tekst); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: 1.6rem; margin-top: 1.4em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.smal { max-width: 720px; }
.klein { font-size: .9rem; color: var(--zacht); }
.sub { color: var(--zacht); margin-top: -.3em; }
.intro { font-size: 1.15rem; }
.sr, .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--vlak); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Kop en voet */
.hulpbalk { background: var(--accent); color: #fff; text-align: center; font-size: .95rem; padding: 6px 16px; }
.hulpbalk a { color: #fff; font-weight: 600; }
.kop { background: var(--vlak); border-bottom: 1px solid var(--lijn); }
.kop-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.35rem; color: var(--tekst); text-decoration: none; }
.kop nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.kop nav a { text-decoration: none; color: var(--tekst); }
.kop nav a:hover { text-decoration: underline; }
.teller { display: inline-block; min-width: 1.5em; padding: 0 .4em; border-radius: 999px; background: var(--accent); color: #fff; font-size: .85rem; text-align: center; }
.voet { margin-top: 64px; border-top: 1px solid var(--lijn); background: var(--vlak); padding: 28px 0; color: var(--zacht); font-size: .95rem; }
.voet-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.voet p { margin: 0; }
.motto { font-family: var(--serif); font-style: italic; color: var(--tekst); }

/* Knoppen */
.knoppen { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.2em 0; }
.knop {
  display: inline-block; background: var(--accent); color: #fff; border: 2px solid var(--accent);
  border-radius: var(--radius); padding: 12px 22px; font: 600 1rem/1.3 var(--sans);
  text-decoration: none; cursor: pointer;
}
.knop:hover { background: var(--accent-donker); border-color: var(--accent-donker); color: #fff; }
.knop-licht { background: transparent; color: var(--accent-donker); }
.knop-licht:hover { background: var(--accent-licht); color: var(--accent-donker); }
.knop-tekst { background: none; border: 0; padding: 4px 6px; color: var(--accent-donker); text-decoration: underline; font: inherit; cursor: pointer; }
.inline { display: inline-flex; align-items: center; gap: 6px; margin: 0; }

/* Voorpagina */
.held { background: linear-gradient(180deg, var(--roze), var(--achtergrond)); padding: 48px 0 24px; }
.held-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.stappen ol { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: stap; }
.stappen li { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 16px 18px; counter-increment: stap; }
.stappen li::before { content: counter(stap); display: inline-grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--accent-licht); color: var(--accent-donker); font-weight: 700; margin-right: 8px; }
.stappen strong { display: inline; }
.stappen span { display: block; color: var(--zacht); margin-top: 4px; }

.raster { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.kaart { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s; }
.kaart:hover { box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.kaart a { display: block; height: 100%; padding: 16px 18px 18px; color: var(--tekst); text-decoration: none; }
.kaart img { background: var(--achtergrond); border-radius: 6px; margin-bottom: 12px; }
.kaart p { color: var(--zacht); }
.kaart .prijs { color: var(--tekst); font-weight: 700; font-size: 1.1rem; margin: 0; }
.kaart-zelf { background: var(--accent-licht); display: flex; }
.kaart-zelf a { display: flex; flex-direction: column; justify-content: center; }

/* Product en samenstellen */
.kruimel { margin: 24px 0 8px; }
.product-inner, .samenstellen-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.product-inner > img, .voorbeeld { position: sticky; top: 16px; }
.product-inner > img, .voorbeeld img { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 12px; }
.samenstellen h1 { margin-top: 32px; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 10px; padding: 0; }
.nr { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--accent); color: #fff; font: 700 .9rem var(--sans); margin-right: 6px; vertical-align: 2px; }
.opties { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.optie { position: relative; display: block; cursor: pointer; }
.optie input { position: absolute; opacity: 0; }
.optie > span { display: block; height: 100%; background: var(--vlak); border: 2px solid var(--lijn); border-radius: var(--radius); padding: 10px 12px; line-height: 1.4; }
.optie input:checked + span { border-color: var(--accent); background: var(--accent-licht); }
.optie input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.stip { display: inline-block; width: 16px; height: 16px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; border: 1px solid #0002; }
.stip-wit { background: #fff; }
.stip-witgroen { background: linear-gradient(90deg, #fff 50%, #9fb88f 50%); }
.stip-roze { background: #efbcc6; }
.stip-pastel { background: linear-gradient(90deg, #f6d5dc 33%, #fbe9c6 33% 66%, #d9e4f5 66%); }
.stip-rood { background: linear-gradient(90deg, #b3202e 50%, #fff 50%); }
.stip-warm { background: linear-gradient(90deg, #f6c445 50%, #e9822e 50%); }
.stip-lila { background: linear-gradient(90deg, #c9b3e0 50%, #7a5aa6 50%); }
.vink { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; cursor: pointer; }
.vink input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.vink em { font-style: normal; color: var(--zacht); }
.linttekst { margin: 4px 0 12px 32px; }
.aantal-rij { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.aantal-rij input { width: 90px; }
.totaalregel { font-size: 1.2rem; margin: 16px 0; }

/* Formulieren */
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=time],
input[type=number], input[type=password], textarea, select {
  width: 100%; font: inherit; color: var(--tekst); background: var(--vlak);
  border: 1px solid #cfc8bc; border-radius: 8px; padding: 10px 12px;
}
textarea { resize: vertical; }
.veld { margin-bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.veld label { font-weight: 600; }
.veld-fout input, .veld-fout textarea { border-color: var(--fout); border-width: 2px; }
.foutje { color: var(--fout); font-size: .95rem; }
.fout { background: #fbeceb; border-left: 4px solid var(--fout); padding: 12px 16px; border-radius: 6px; }
.melding { background: var(--accent-licht); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 6px; margin-top: 16px; }
.let-op { background: #fff6dd; border-left: 4px solid #d9a520; padding: 12px 16px; border-radius: 6px; }
.twee { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.klein-veld { width: 72px !important; }

/* Mandje en afrekenen */
.mand { list-style: none; padding: 0; margin: 0 0 16px; }
.mandregel { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 12px; }
.mandregel-tekst { display: flex; flex-direction: column; }
.mandregel-acties { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lint { font-style: italic; }
.afrekenen h1 { margin-top: 32px; }
.afrekenen-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.overzicht { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 18px 20px; position: sticky; top: 16px; }
.overzicht h2 { margin-top: 0; font-size: 1.3rem; }
.overzicht ul { list-style: none; padding: 0; margin: 0; }
.overzicht li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--lijn); }
.tekst ol li { margin-bottom: .5em; }
section.smal h1 { margin-top: 32px; }

/* Beheer */
.beheer main { padding-bottom: 48px; }
.beheer h1 { margin-top: 24px; }
.filters a[aria-current] { font-weight: 700; color: var(--tekst); }
.tabel-wrap { overflow-x: auto; }
.tabel { width: 100%; border-collapse: collapse; background: var(--vlak); font-size: .95rem; }
.tabel th, .tabel td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--lijn); vertical-align: top; }
.tabel th { background: var(--accent-licht); font-weight: 600; }
.status { padding: 2px 10px; border-radius: 999px; font-size: .85rem; background: var(--lijn); white-space: nowrap; }
.status-nieuw { background: #fde8c8; }
.status-bevestigd { background: #dbeafe; }
.status-in_behandeling { background: #ede4f7; }
.status-bezorgd { background: var(--accent-licht); }
.status-geannuleerd { background: #eee; color: var(--zacht); }
.status-form { margin: 8px 0 24px; flex-wrap: wrap; }
.status-form select { width: auto; }
.twee-kol { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bewaar-regels { white-space: pre-line; }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .held { padding-top: 28px; }
  .held-inner, .product-inner, .samenstellen-inner, .afrekenen-inner, .twee-kol { grid-template-columns: 1fr; }
  .held-beeld { order: -1; max-width: 420px; }
  .product-inner > img, .voorbeeld, .overzicht { position: static; }
  .stappen ol { grid-template-columns: 1fr; }
  .mandregel { grid-template-columns: 80px 1fr; }
  .mandregel-acties { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .twee { grid-template-columns: 1fr; }
  .kop nav { gap: 14px; font-size: .95rem; }
  .knop { width: 100%; text-align: center; }
  .knoppen .knop { width: auto; flex: 1 1 200px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.overzicht li strong, .totaalregel strong, .mandregel-acties strong { white-space: nowrap; }
