/*
 * Cookietoestemming (Views/Shared/_CookieConsent.cshtml, cookie-consent.js) en de cookiepagina (_CookieStatement.cshtml). Nu
 * alleen op de bloemistensite, maar los van Tailwind: alles onder #bvi-cc of #bvi-cookie-page (het id wint van de stijl van een
 * site), zonder cascade-laag (wint dus van de @layer-stijlen). Het lettertype erft van de site (Figtree); koppen in Barlow
 * Condensed, dat de site al laadt.
 * - Melding: op een telefoon een blad onderaan over de volle breedte; vanaf 48rem een kaart rechtsonder, 6rem hoog: boven de
 *   knoppen van de diavoorstelling en de knop naar boven, en niet over de titel van de hero (die staat links); liggend op een
 *   telefoon een balk onderaan. Drie even grote keuzes: "Alles accepteren" en "Alleen noodzakelijk" naast elkaar (altijd even
 *   breed), "Instellingen" eronder.
 * - Venster: <dialog> met showModal(); de categorieën met schakelaars (input[role=switch]); Noodzakelijk staat vast aan.
 * - Cookieknop: rond, 48 px, linksonder (de snelknop zit midden links, de knop naar boven rechtsonder). Weg zolang de melding
 *   er staat, het menu open is of de hero met zijn knoppen nog in beeld is.
 */
#bvi-cc, #bvi-cc *, #bvi-cc *::before, #bvi-cc *::after,
#bvi-cookie-page, #bvi-cookie-page *, #bvi-cookie-page *::before, #bvi-cookie-page *::after { box-sizing: border-box; }

/* Kleuren per seizoen (html[data-season], Seasons.cs), in de tinten van PublicSites/Florist/styles/components/season.css:
   --cc-accent (knoppen, schakelaar aan, cookieknop; witte of crème tekst erop minstens 4,5:1, als vlak minstens 3:1 tegen de
   achtergrond), --cc-tint (melding, opties, keuzevak), --cc-icon-* (rondje in de melding), --cc-ring (rand van de cookieknop)
   en --cc-motif (klein seizoensteken, een SVG als data-URI: zon, bloesem, blad of sneeuwvlok). Zonder seizoen: die van de zomer. */
#bvi-cc, #bvi-cookie-page {
    --cc-accent: #1e2720;
    --cc-accent-hover: #546c59;
    --cc-accent-ink: #fdf6f2;
    --cc-tint: #fdf6f2;
    --cc-icon-bg: #eaa57b;
    --cc-icon-ink: #1e2720;
    --cc-ring: #eaa57b;
    --cc-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='%23e5905c'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1 7 17M17 7l2.1-2.1' stroke='%23e5905c' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
html[data-season="lente"] :is(#bvi-cc, #bvi-cookie-page) {
    --cc-accent: #546c59; /* wit erop 5,7:1 */
    --cc-accent-hover: #3d4f41;
    --cc-accent-ink: #ffffff;
    --cc-tint: #f0f4f1;
    --cc-icon-bg: #546c59;
    --cc-icon-ink: #ffffff;
    --cc-ring: #eaa57b;
    --cc-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23eaa57b'%3E%3Ccircle cx='12' cy='6.3' r='3.6'/%3E%3Ccircle cx='17.4' cy='10.2' r='3.6'/%3E%3Ccircle cx='15.3' cy='16.6' r='3.6'/%3E%3Ccircle cx='8.7' cy='16.6' r='3.6'/%3E%3Ccircle cx='6.6' cy='10.2' r='3.6'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2.7' fill='%23546c59'/%3E%3C/svg%3E");
}
html[data-season="herfst"] :is(#bvi-cc, #bvi-cookie-page) {
    --cc-accent: #9e4b19; /* wit erop 6:1 */
    --cc-accent-hover: #7a3912;
    --cc-accent-ink: #ffffff;
    --cc-tint: #fbefe8;
    --cc-icon-bg: #ca6020;
    --cc-icon-ink: #ffffff;
    --cc-ring: #eaa57b;
    --cc-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5c-9 0-15.5 5-15.5 13 0 1.2.2 2.3.9 3.2 8.4 0 14.6-6.4 14.6-16.2z' fill='%23ca6020'/%3E%3Cpath d='M4.5 20.5l9.5-9.5' stroke='%23ca6020' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
html[data-season="winter"] :is(#bvi-cc, #bvi-cookie-page) {
    --cc-accent: #36463a; /* wit erop 9,9:1 */
    --cc-accent-hover: #1e2720;
    --cc-accent-ink: #ffffff;
    --cc-tint: #f0f4f1;
    --cc-icon-bg: #36463a;
    --cc-icon-ink: #ffffff;
    --cc-ring: #becdc1;
    --cc-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23546c59' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7M12 6 9.5 3.5M12 6l2.5-2.5M12 18l-2.5 2.5M12 18l2.5 2.5'/%3E%3C/svg%3E");
}

#bvi-cc {
    --cc-ink: #1e2720;
    --cc-green: #546c59;
    --cc-orange: #eaa57b;
    --cc-cream: #fdf6f2;
    --cc-peach: #fbefe8;
    --cc-line: rgb(30 39 32 / .14);
    --cc-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
    --cc-ease: cubic-bezier(.16, 1, .3, 1);
    color: var(--cc-ink);
    font-family: inherit;
    letter-spacing: normal;
    text-transform: none;
}
#bvi-cc [hidden] { display: none !important; }
#bvi-cc p, #bvi-cc h2, #bvi-cc h3, #bvi-cc ul, #bvi-cc li { margin: 0; padding: 0; list-style: none; }
#bvi-cc svg { display: block; flex: none; }
#bvi-cc a { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
#bvi-cc a:hover { color: var(--cc-green); text-decoration-color: var(--cc-orange); }
#bvi-cc :focus-visible { outline: 3px solid var(--cc-ink); outline-offset: 3px; }

/* ---------- Knoppen (ook op de cookiepagina) ---------- */
#bvi-cc .bvi-cc-btn, #bvi-cookie-page .bvi-cc-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 0; min-height: 44px; margin: 0; padding: .55rem 1rem;
    border: 2px solid var(--cc-accent); border-radius: 999px; background: var(--cc-accent); color: var(--cc-accent-ink); box-shadow: none;
    font: inherit; font-size: .9375rem; font-weight: 700; line-height: 1.15; letter-spacing: normal; text-align: center;
    text-transform: none; text-decoration: none; text-wrap: balance; white-space: normal;
    cursor: pointer; -webkit-appearance: none; appearance: none;
    transition: background-color .2s, border-color .2s, color .2s;
}
#bvi-cc .bvi-cc-btn:hover, #bvi-cookie-page .bvi-cc-btn:hover { border-color: var(--cc-accent-hover); background: var(--cc-accent-hover); color: #fff; }
#bvi-cc .bvi-cc-btn:focus-visible, #bvi-cookie-page .bvi-cc-btn:focus-visible { outline: 3px solid #1e2720; outline-offset: 3px; box-shadow: 0 0 0 3px #fdf6f2; }

/* ---------- Melding ---------- */
#bvi-cc .bvi-cc-banner {
    position: fixed; right: .5rem; bottom: calc(.5rem + env(safe-area-inset-bottom)); left: .5rem; z-index: 8500;
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .375rem .625rem;
    max-height: calc(100dvh - 1rem); padding: .75rem .875rem .875rem; overflow-y: auto; overscroll-behavior: contain;
    border: 1px solid var(--cc-line); border-radius: 1.25rem; background: var(--cc-tint);
    box-shadow: 0 24px 60px -18px rgb(30 39 32 / .45), 0 6px 18px -10px rgb(30 39 32 / .3);
    font-size: 1rem; line-height: 1.45; text-align: left;
    opacity: 0; transform: translateY(calc(100% + 1rem));
    transition: transform .6s var(--cc-ease), opacity .3s ease;
}
#bvi-cc .bvi-cc-banner.is-visible { opacity: 1; transform: none; }
#bvi-cc .bvi-cc-banner__icon {
    display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
    background: var(--cc-icon-bg); color: var(--cc-icon-ink);
}
#bvi-cc .bvi-cc-banner__icon svg { width: 1rem; height: 1rem; }
#bvi-cc .bvi-cc-title {
    font-family: var(--cc-display); font-size: 1.45rem; font-weight: 800; line-height: 1; letter-spacing: .01em;
    text-transform: uppercase; color: var(--cc-ink);
}
/* Het seizoensteken achter de titel (melding en venster); alleen versiering. */
#bvi-cc .bvi-cc-title::after {
    content: ""; display: inline-block; width: .8em; height: .8em; margin-left: .3em; vertical-align: -.06em;
    background: var(--cc-motif) center / contain no-repeat;
}
#bvi-cc .bvi-cc-banner__text { grid-column: 1 / -1; font-size: .875rem; line-height: 1.45; color: rgb(30 39 32 / .88); }
/* Drie even zware keuzes: accepteren en weigeren naast elkaar (altijd even breed), de instellingen eronder. */
#bvi-cc .bvi-cc-banner__actions { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: .375rem; margin-top: .125rem; }
#bvi-cc .bvi-cc-banner__actions .bvi-cc-btn { padding-inline: .5rem; font-size: .875rem; }
#bvi-cc .bvi-cc-banner__actions [data-cookie-open] { grid-column: 1 / -1; }

/* Smalle telefoon (320 px): iets kleinere tekst, zodat het blad niet meer dan 40% van het scherm beslaat. */
@media (max-width: 22.49rem) {
    #bvi-cc .bvi-cc-banner { padding: .625rem .75rem .75rem; }
    #bvi-cc .bvi-cc-title { font-size: 1.3rem; }
    #bvi-cc .bvi-cc-banner__text { font-size: .8125rem; line-height: 1.4; }
    #bvi-cc .bvi-cc-banner__actions .bvi-cc-btn { padding: .375rem .375rem; font-size: .8125rem; }
}

/* Het blad onderaan mag niets onbereikbaar maken: focus blijft erboven en het einde van de pagina scrolt erboven uit. */
@media (max-width: 47.99rem), (max-height: 31.99rem) {
    html.has-cookie-banner { scroll-padding-bottom: calc(var(--cookie-banner-height, 0px) + 1.5rem); }
    html.has-cookie-banner body { padding-bottom: calc(var(--cookie-banner-height, 0px) + .5rem); }
}

@media (min-width: 48rem) {
    #bvi-cc .bvi-cc-banner {
        right: 1.5rem; bottom: calc(6rem + env(safe-area-inset-bottom)); left: auto; width: min(27rem, 100% - 3rem);
        max-height: calc(100dvh - 7.5rem); gap: .625rem .875rem; padding: 1.375rem 1.5rem 1.5rem;
    }
    #bvi-cc .bvi-cc-banner__actions { gap: .5rem; }
    #bvi-cc .bvi-cc-banner__icon { width: 2.75rem; height: 2.75rem; }
    #bvi-cc .bvi-cc-banner__icon svg { width: 1.35rem; height: 1.35rem; }
    #bvi-cc .bvi-cc-title { font-size: 1.75rem; }
    #bvi-cc .bvi-cc-banner__text { font-size: .9375rem; line-height: 1.55; }
    #bvi-cc .bvi-cc-banner__actions .bvi-cc-btn { padding-inline: .75rem; font-size: .9375rem; }
}

/* Breed maar laag (een telefoon liggend): een balk onderaan, tekst links en de keuzes rechts. */
@media (max-height: 31.99rem) and (min-width: 36rem) {
    #bvi-cc .bvi-cc-banner {
        right: max(.5rem, env(safe-area-inset-right)); bottom: calc(.5rem + env(safe-area-inset-bottom)); left: max(.5rem, env(safe-area-inset-left));
        width: auto; max-height: calc(100dvh - 1rem);
        grid-template-columns: auto minmax(0, 1fr) minmax(15rem, 19rem); align-items: center; gap: .25rem .75rem; padding: .625rem .875rem;
    }
    #bvi-cc .bvi-cc-banner__icon { grid-row: 1 / span 2; align-self: start; width: 2rem; height: 2rem; }
    #bvi-cc .bvi-cc-banner__icon svg { width: 1rem; height: 1rem; }
    #bvi-cc .bvi-cc-title { grid-column: 2; grid-row: 1; font-size: 1.25rem; }
    #bvi-cc .bvi-cc-banner__text { grid-column: 2; grid-row: 2; font-size: .8125rem; line-height: 1.4; }
    #bvi-cc .bvi-cc-banner__actions { grid-column: 3; grid-row: 1 / span 2; margin: 0; gap: .375rem; }
    #bvi-cc .bvi-cc-banner__actions .bvi-cc-btn { min-height: 44px; padding: .4rem .5rem; font-size: .8125rem; }
}

/* ---------- Venster ---------- */
#bvi-cc .bvi-cc-dialog {
    width: min(40rem, 100% - 2rem); max-width: calc(100% - 2rem); max-height: calc(100dvh - 2rem);
    margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain;
    border: 0; border-radius: 1.5rem; background: #fff; color: var(--cc-ink);
    box-shadow: 0 30px 80px -20px rgb(30 39 32 / .55);
    font-size: 1rem; line-height: 1.5; text-align: left;
}
#bvi-cc .bvi-cc-dialog::backdrop { background: rgb(30 39 32 / .6); }
#bvi-cc .bvi-cc-dialog[open] { animation: bvi-cc-in .45s var(--cc-ease); }
#bvi-cc .bvi-cc-dialog[open]::backdrop { animation: bvi-cc-fade .3s ease-out; }
html.has-cookie-dialog { overflow: hidden; }
#bvi-cc .bvi-cc-dialog__inner { padding: clamp(1.25rem, .9rem + 2vw, 2rem); }
#bvi-cc .bvi-cc-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .625rem; }
#bvi-cc .bvi-cc-dialog .bvi-cc-title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2rem); }
/* De kop krijgt de focus alleen als startpunt voor schermlezers; hij is geen knop, dus geen focusring. */
#bvi-cc .bvi-cc-dialog .bvi-cc-title:focus, #bvi-cc .bvi-cc-dialog .bvi-cc-title:focus-visible { outline: none; }
#bvi-cc .bvi-cc-close {
    display: grid; flex: none; place-items: center; width: 44px; height: 44px; margin: 0 -.5rem 0 0; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--cc-ink); cursor: pointer;
    transition: background-color .2s, rotate .4s var(--cc-ease);
}
#bvi-cc .bvi-cc-close:hover { background: var(--cc-peach); rotate: 90deg; }
#bvi-cc .bvi-cc-close svg { width: 1.1rem; height: 1.1rem; }
#bvi-cc .bvi-cc-dialog__intro { margin-bottom: 1rem; font-size: .9375rem; color: rgb(30 39 32 / .86); }
#bvi-cc .bvi-cc-options { display: grid; gap: .625rem; }
#bvi-cc .bvi-cc-option {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .875rem 1rem; border: 1px solid var(--cc-line); border-radius: 1rem; background: var(--cc-tint);
}
#bvi-cc .bvi-cc-option__text { flex: 1 1 auto; min-width: 0; }
#bvi-cc .bvi-cc-option__name { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin-bottom: .2rem; font-size: 1.0625rem; font-weight: 800; line-height: 1.25; }
/* Het label dekt de hele rij: ook een klik op de uitleg zet de schakelaar om. */
#bvi-cc .bvi-cc-option__name label { cursor: pointer; }
#bvi-cc .bvi-cc-option__name label::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
#bvi-cc .bvi-cc-option--fixed .bvi-cc-option__name label { cursor: default; }
#bvi-cc .bvi-cc-badge {
    padding: .15rem .55rem; border-radius: 999px; background: #e3ebe4; color: #3d4f41;
    font-size: .75rem; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
#bvi-cc .bvi-cc-option__description { font-size: .875rem; line-height: 1.5; color: rgb(30 39 32 / .82); }
#bvi-cc .bvi-cc-note { margin-top: .875rem; font-size: .875rem; color: rgb(30 39 32 / .82); }

/* Schakelaar: input[type=checkbox][role=switch]; uitgeschakeld (Noodzakelijk) staat hij vast aan, iets lichter. */
#bvi-cc .bvi-cc-switch {
    position: relative; z-index: 1; flex: none; width: 3.25rem; height: 1.875rem; margin: 0;
    border: 0; border-radius: 999px; background: #c9d3cb; box-shadow: inset 0 0 0 1px rgb(84 108 89 / .6);
    cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color .25s;
}
#bvi-cc .bvi-cc-switch::before {
    content: ""; position: absolute; top: .25rem; left: .25rem; width: 1.375rem; height: 1.375rem; border-radius: 50%;
    background: #fff; box-shadow: 0 2px 6px rgb(30 39 32 / .3); transition: translate .35s var(--cc-ease);
}
#bvi-cc .bvi-cc-switch::after { content: ""; position: absolute; inset: -.4rem; }
#bvi-cc .bvi-cc-switch:checked { background: var(--cc-accent); box-shadow: none; }
#bvi-cc .bvi-cc-switch:checked::before { translate: 1.375rem 0; }
#bvi-cc .bvi-cc-switch:disabled { cursor: default; opacity: .6; }
#bvi-cc .bvi-cc-switch:focus-visible { outline: 3px solid var(--cc-ink); outline-offset: 3px; }

#bvi-cc .bvi-cc-dialog__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: 1.25rem; }
#bvi-cc .bvi-cc-dialog__more { margin-top: 1rem; font-size: .875rem; text-align: center; }
#bvi-cc .bvi-cc-dialog__more a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 35.99rem) {
    #bvi-cc .bvi-cc-dialog__actions { grid-template-columns: minmax(0, 1fr); }
    #bvi-cc .bvi-cc-option { align-items: flex-start; }
    #bvi-cc .bvi-cc-switch { margin-top: .125rem; }
}
@media (min-width: 48rem) {
    #bvi-cc .bvi-cc-dialog::backdrop { background: rgb(30 39 32 / .5); backdrop-filter: blur(4px); }
}

/* ---------- Cookieknop linksonder ---------- */
#bvi-cc .bvi-cc-fab {
    position: fixed; bottom: calc(1rem + env(safe-area-inset-bottom)); left: max(1rem, env(safe-area-inset-left)); z-index: 50;
    display: grid; place-items: center; width: 48px; height: 48px; margin: 0; padding: 0;
    border: 2px solid var(--cc-ring); border-radius: 50%; background: var(--cc-accent); color: var(--cc-cream);
    box-shadow: 0 10px 26px -10px rgb(30 39 32 / .6); cursor: pointer; -webkit-appearance: none; appearance: none;
    transition: background-color .2s, opacity .4s var(--cc-ease), visibility .4s, translate .4s var(--cc-ease), bottom .4s var(--cc-ease);
}
#bvi-cc .bvi-cc-fab svg { width: 1.375rem; height: 1.375rem; transition: rotate .5s var(--cc-ease); }
#bvi-cc .bvi-cc-fab:hover { background: var(--cc-accent-hover); }
/* Klein seizoensteken rechtsboven op de knop. */
#bvi-cc .bvi-cc-fab::after {
    content: ""; position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--cc-tint) var(--cc-motif) center / 13px no-repeat; box-shadow: 0 0 0 1.5px var(--cc-accent);
    pointer-events: none;
}
#bvi-cc .bvi-cc-fab:hover svg { rotate: -18deg; }
#bvi-cc .bvi-cc-fab:active { scale: .94; }
/* Twee kleuren: zichtbaar op lichte en op donkere vlakken. */
#bvi-cc .bvi-cc-fab:focus-visible { outline: 3px solid var(--cc-ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--cc-cream), 0 10px 26px -10px rgb(30 39 32 / .6); }
@media (min-width: 48rem) {
    #bvi-cc .bvi-cc-fab { bottom: calc(1.5rem + env(safe-area-inset-bottom)); left: max(1.5rem, env(safe-area-inset-left)); }
}
/* Weg zolang de melding er staat (die heeft dezelfde knop) of het menu open is, en op de hero van de startpagina (daar liggen de knoppen van de diavoorstelling linksonder; back-to-top.js zet is-past-hero). */
html.has-cookie-banner #bvi-cc .bvi-cc-fab,
html.is-menu-open #bvi-cc .bvi-cc-fab,
html:has(.hero__controls:not([hidden])):not(.is-past-hero) #bvi-cc .bvi-cc-fab {
    visibility: hidden; opacity: 0; translate: 0 1rem; pointer-events: none;
}
html.is-menu-open #bvi-cc .bvi-cc-banner { visibility: hidden; pointer-events: none; }

@keyframes bvi-cc-in { from { opacity: 0; transform: translateY(1rem) scale(.97); } }
@keyframes bvi-cc-fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    #bvi-cc *, #bvi-cc *::before, #bvi-cc *::after, #bvi-cc .bvi-cc-dialog::backdrop { transition: none !important; animation: none !important; }
    #bvi-cc .bvi-cc-fab:hover svg, #bvi-cc .bvi-cc-close:hover { rotate: none; }
}
@media print {
    #bvi-cc { display: none !important; }
}

/* ---------- Cookiepagina (_CookieStatement.cshtml) ---------- */
#bvi-cookie-page {
    --cc-ink: #1e2720;
    --cc-line: rgb(30 39 32 / .14);
    color: var(--cc-ink); font-size: 1rem; line-height: 1.6; text-align: left; letter-spacing: normal; text-transform: none;
}
#bvi-cookie-page > * + * { margin-top: 1rem; }
#bvi-cookie-page h2 {
    margin: 2rem 0 .5rem; padding: 0; font-family: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
    font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 800; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; color: var(--cc-ink);
}
#bvi-cookie-page h2:first-child { margin-top: 0; }
#bvi-cookie-page p, #bvi-cookie-page ul { margin: 0; padding: 0; color: inherit; font-size: inherit; }
#bvi-cookie-page ul { padding-left: 1.25rem; list-style: disc; }
#bvi-cookie-page li + li { margin-top: .25rem; }
#bvi-cookie-page a:not(.bvi-cc-btn) { color: #3d4f41; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
#bvi-cookie-page a:not(.bvi-cc-btn):hover { color: var(--cc-ink); text-decoration-color: #eaa57b; }
#bvi-cookie-page code { padding: .05rem .35rem; border-radius: .35rem; background: #fbefe8; color: var(--cc-ink); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .85em; overflow-wrap: anywhere; }
#bvi-cookie-page .bvi-cc-choice {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem;
    padding: 1rem 1.125rem; border: 1px solid var(--cc-line); border-radius: 1rem; background: var(--cc-tint);
}
#bvi-cookie-page .bvi-cc-choice p { flex: 1 1 16rem; font-weight: 600; }
#bvi-cookie-page .bvi-cc-choice p::before {
    content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .4em; vertical-align: -.15em;
    background: var(--cc-motif) center / contain no-repeat;
}
#bvi-cookie-page .bvi-cc-choice .bvi-cc-btn { flex: none; padding-inline: 1.25rem; }
#bvi-cookie-page .bvi-cc-lead { font-size: .9375rem; color: rgb(30 39 32 / .82); }
#bvi-cookie-page table { width: 100%; margin: .75rem 0 0; border-collapse: collapse; font-size: .9rem; line-height: 1.45; }
#bvi-cookie-page caption { padding: 0 0 .375rem; caption-side: top; color: rgb(30 39 32 / .82); font-size: .875rem; text-align: left; }
#bvi-cookie-page th, #bvi-cookie-page td { padding: .625rem .5rem; border-bottom: 1px solid var(--cc-line); text-align: left; vertical-align: top; }
#bvi-cookie-page thead th { border-bottom: 2px solid var(--cc-accent); font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
#bvi-cookie-page tbody th { font-weight: 700; }
#bvi-cookie-page tbody th code { overflow-wrap: normal; white-space: nowrap; }
#bvi-cookie-page .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
#bvi-cookie-page .bvi-cc-where { display: block; margin-top: .125rem; font-size: .8rem; font-weight: 600; color: #546c59; }
/* Telefoon: elke rij een blokje, met de kolomnaam (data-label) voor de waarde. */
@media (max-width: 47.99rem) {
    #bvi-cookie-page table, #bvi-cookie-page tbody, #bvi-cookie-page tr, #bvi-cookie-page th, #bvi-cookie-page td { display: block; width: auto; }
    #bvi-cookie-page thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    #bvi-cookie-page tbody tr { padding: .75rem 0; border-bottom: 1px solid var(--cc-line); }
    #bvi-cookie-page tbody th, #bvi-cookie-page td { padding: .125rem 0; border: 0; }
    #bvi-cookie-page td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; }
}
