/*
 * Cookie-pop-up op ontwerppagina's (daar laadt style.css van de kit niet).
 * De regels hieronder komen uit style.css (blok Cookie-pop-up), met de kittokens
 * hier gevuld met de kleuren en letters van Buitenkokers. Wijzig de kitregels in style.css,
 * en neem ze dan hier over.
 */
.toestemming {
	--surface: #FBF8F1; --surface-alt: #EAE1CF; --text: #26271F; --text-soft: #5C584E; --bg: #F5F0E6;
	--accent: #85652A; --fill: #BF4A07; --on-fill: #fff; --on-accent: #fff; --line-strong: rgba(38, 39, 31, .3);
	--night-deep: #1c1d17; --radius-xl: 0; --radius: 0; --radius-pill: 999px; --shadow-lg: 0 18px 50px rgba(38, 39, 31, .25);
	--t-small: 14px; font-family: 'Figtree', system-ui, sans-serif;
}
.toestemming-titel { font-family: 'Fraunces', Georgia, serif; font-weight: 300; }
.toestemming .button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; }
.toestemming .button-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.toestemming { width: min(580px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-xl); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.toestemming::backdrop { background: color-mix(in srgb, var(--night-deep) 55%, transparent); }
.toestemming-binnen { display: grid; gap: 18px; padding: clamp(22px, 4vw, 32px); }
.toestemming-titel { font-size: 1.5rem; margin: 0; }
/* De titel krijgt focus bij openen zodat een schermlezer begint bij het begin; geen ring. */
.toestemming-titel:focus { outline: none; box-shadow: none; }
.toestemming-tekst { margin: 0; color: var(--text-soft); }
.toestemming-tekst a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.toestemming-voorkeuren { display: grid; gap: 10px; }
.toestemming-categorie { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; background: var(--surface-alt); border-radius: var(--radius); }
.toestemming-naam { display: block; margin: 0; font-weight: 600; }
.toestemming-uitleg { margin: 2px 0 0; font-size: var(--t-small); color: var(--text-soft); }
.toestemming-vast { font-size: var(--t-small); color: var(--text-soft); white-space: nowrap; }
.toestemming-knoppen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.toestemming-knop { width: 100%; padding: 0.9em 0.6em; white-space: nowrap; }
.toestemming-knop.is-weigeren { background: var(--text); color: var(--bg); }
.toestemming-knop.is-accepteren { background: var(--fill, var(--accent)); color: var(--on-fill, var(--on-accent)); }
.schakelaar { appearance: none; flex: none; width: 46px; height: 26px; border-radius: var(--radius-pill); background: var(--line-strong); position: relative; cursor: pointer; transition: background-color var(--dur-bediening) var(--ease); }
.schakelaar::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); transition: transform var(--dur-bediening) var(--ease); }
.schakelaar:checked { background: var(--accent); }
.schakelaar:checked::after { transform: translateX(20px); }
.schakelaar:focus-visible, .toestemming-knop:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 580px) { .toestemming-knoppen { grid-template-columns: minmax(0, 1fr); } }
