/* Gedeelde blokken in de huisstijl van The Crown. Koppen (h2) erven de stijl van de pagina. */
:root { --bk-fg: #222222; --bk-muted: #5d6470; --bk-line: #e3e7ee; --bk-soft: #f5f7fa; --bk-blue: #0070bc; --bk-tint: #eef5fb; --bk-orange: #e8590c; --bk-crown: linear-gradient(90deg, #fd4f00, #f48c45); }
[data-block] { min-width: 0; container-type: inline-size; }
.bk-kiezer, .bk-trust, .bk-bezoek { display: grid; gap: 20px; font-family: "Inter", system-ui, -apple-system, sans-serif; color: var(--bk-fg); }
.bk-kiezer p, .bk-trust p, .bk-bezoek p { margin: 0; }
.bk-kiezer h3, .bk-bezoek h3 { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bk-muted); }

/* Kiezer */
.bk-kiezer { background: var(--bk-soft); border: 1px solid var(--bk-line); border-radius: 18px; padding: 24px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 32px; }
.bk-k-head { grid-column: 1 / -1; display: grid; gap: 4px; }
.bk-k-head h2 { margin: 0; }
.bk-k-head p { color: var(--bk-muted); }
.bk-vragen { display: grid; gap: 18px; margin: 0; align-content: start; }
.bk-vragen fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.bk-vragen legend { padding: 0; font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bk-vragen legend span { width: 22px; height: 22px; border-radius: 50%; background: var(--bk-blue); color: #fff; font-size: .75rem; display: grid; place-items: center; flex: none; }
.bk-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-opts label { position: relative; }
.bk-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; font-size: 16px; width: 100%; height: 100%; }
.bk-opts span { display: block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--bk-line); background: #fff; font-size: .9rem; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.bk-opts input:checked + span { background: var(--bk-blue); border-color: var(--bk-blue); color: #fff; }
.bk-opts input:focus-visible + span { outline: 2px solid var(--bk-blue); outline-offset: 2px; }
.bk-uitkomst { display: grid; gap: 10px; align-content: start; background: #fff; border: 1px solid var(--bk-line); border-radius: 14px; padding: 16px; }
.bk-uitkomst ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bk-res { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-decoration: none; color: inherit; padding: 6px; border-radius: 10px; transition: background .15s; }
.bk-res:hover { background: var(--bk-tint); }
.bk-res img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #fff; border: 1px solid var(--bk-line); }
.bk-res-t { display: grid; gap: 2px; min-width: 0; }
.bk-res-t b { font-size: 1rem; }
.bk-res-t span { font-size: .8rem; color: var(--bk-muted); }
.bk-res-p { font-weight: 700; color: var(--bk-orange); text-align: right; display: grid; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-res-p small { font-weight: 500; color: var(--bk-muted); font-size: .75rem; }
.bk-tip { font-size: .85rem; color: var(--bk-muted); border-top: 1px solid var(--bk-line); padding-top: 10px; }

/* Vertrouwen */
.bk-t-head { display: grid; gap: 6px; }
.bk-t-head h2 { margin: 0; }
.bk-slogan { font-size: 1.15rem; font-weight: 600; background: var(--bk-crown); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bk-redenen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-redenen li { display: grid; gap: 4px; padding: 16px; border-radius: 14px; border: 1px solid var(--bk-line); align-content: start; }
.bk-redenen b { color: var(--bk-blue); }
.bk-redenen span { font-size: .9rem; color: var(--bk-muted); }
.bk-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-reviews figure { margin: 0; padding: 16px; border-radius: 14px; background: var(--bk-soft); display: grid; gap: 8px; align-content: start; }
.bk-stars { color: #f4a60b; letter-spacing: 2px; font-size: .9rem; }
.bk-reviews blockquote { margin: 0; font-size: .95rem; line-height: 1.5; }
.bk-reviews figcaption { font-size: .85rem; font-weight: 600; color: var(--bk-muted); }

/* Bezoek */
.bk-bezoek { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.bk-b-main { display: grid; gap: 14px; }
.bk-b-main h2 { margin: 0; }
.bk-adres { font-size: 1.05rem; line-height: 1.5; }
.bk-knoppen { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 999px; font: 600 .95rem "Inter", system-ui, sans-serif; text-decoration: none; color: var(--bk-blue); border: 1.5px solid var(--bk-blue); background: #fff; }
.bk-btn-main { background: var(--bk-blue); color: #fff; }
.bk-btn:focus-visible { outline: 2px solid var(--bk-blue); outline-offset: 2px; }
.bk-klein { font-size: .88rem; color: var(--bk-muted); }
.bk-afstand { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--bk-line); }
.bk-afstand li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--bk-line); font-size: .92rem; }
.bk-afstand b { font-variant-numeric: tabular-nums; }
.bk-b-info { display: grid; gap: 10px; align-content: start; max-width: 420px; }
.bk-card { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--bk-line); display: grid; gap: 8px; align-content: start; font-size: .92rem; }
.bk-uren { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-variant-numeric: tabular-nums; }
.bk-uren dt { font-weight: 600; } .bk-uren dd { margin: 0; }
.bk-grens { grid-column: 1 / -1; font-size: .82rem; color: var(--bk-muted); }

/* Vaste knoppenbalk onderaan, alleen op telefoon */
.bk-balk { display: none; }
@media (max-width: 860px) {
  .bk-balk { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--bk-line); }
  .bk-balk .bk-btn { padding: 12px; }
  body.bk-has-balk { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

@container (max-width: 720px) {
  .bk-kiezer { grid-template-columns: 1fr; padding: 18px 16px; border-radius: 16px; gap: 16px; }
  .bk-opts span { padding: 8px 12px; font-size: .85rem; }
  .bk-redenen, .bk-reviews { grid-template-columns: 1fr; gap: 8px; }
  .bk-redenen li, .bk-reviews figure { padding: 14px; }
  .bk-reviews { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .bk-reviews::-webkit-scrollbar { display: none; }
  .bk-reviews figure { scroll-snap-align: start; }
  .bk-bezoek { grid-template-columns: 1fr; gap: 18px; }
}
/* op telefoon staan deze knoppen al vast onderaan */
@media (max-width: 860px) { .bk-b-main .bk-knoppen { display: none; } }
@media (prefers-reduced-motion: reduce) { .bk-opts span, .bk-res { transition: none; } }

/* Telefoon: info inklappen en korte productkaarten */
.bk-fold-btn { display: none; }
@media (max-width: 640px) {
  .bk-fold-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--bk-line); background: var(--bk-soft); color: var(--bk-blue); font: 600 .95rem "Inter", system-ui, sans-serif; text-align: left; cursor: pointer; }
  .bk-fold-btn i { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; flex: none; }
  .bk-fold-btn[aria-expanded="true"] { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .bk-fold-btn[aria-expanded="true"] i { transform: rotate(-135deg) translateY(-2px); }
  .bk-fold-btn:focus-visible { outline: 2px solid var(--bk-blue); outline-offset: 2px; }
  .bk-folded { display: none !important; }

  /* Beschrijving verborgen (maar leesbaar voor schermlezers) tot je op de kaart tikt */
  .card:not(.bk-open) .b > p, .tcard:not(.bk-open) .b > p, .gcard:not(.bk-open) > div:not(.ring) > p, .item:not(.bk-open) .u {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .card .b::after, .tcard .b::after, .gcard > div:not(.ring)::after, .item > div:not(.r)::after {
    content: "Meer info +"; font: 600 .74rem "Inter", system-ui, sans-serif; color: var(--bk-blue); margin-top: 2px;
  }
  .bk-open .b::after, .gcard.bk-open > div:not(.ring)::after, .item.bk-open > div:not(.r)::after { content: "Minder −"; }
  .card, .tcard, .gcard, .item { cursor: pointer; -webkit-tap-highlight-color: transparent; }
}
@media (prefers-reduced-motion: reduce) { .bk-fold-btn i { transition: none; } }

/* Open/gesloten en betaalmethoden */
.bk-status { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font: 600 .88rem "Inter", system-ui, sans-serif; color: #a8360a; background: #fff1ea; border-radius: 999px; padding: 6px 12px; }
.bk-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bk-status.is-open { color: #1d7a3a; background: #e8f6ec; }
.bk-betaal { font-size: .88rem; color: var(--bk-muted); border-top: 1px solid var(--bk-line); padding-top: 10px; margin-top: 2px; }
@media (max-width: 860px) {
  .bk-balk .bk-status { grid-column: 1 / -1; justify-self: center; padding: 2px 10px; font-size: .78rem; background: transparent; }
  body.bk-has-balk { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}

/* Webshop-knop in de footer */
.bk-webshop { justify-self: start; margin-top: 8px; gap: 6px; transition: background .15s, color .15s; }
.bk-webshop:hover { background: var(--bk-blue); color: #fff; }

/* Doseerhulp */
.bk-dose { display: grid; gap: 20px; font-family: "Inter", system-ui, -apple-system, sans-serif; color: var(--bk-fg); background: var(--bk-soft); border: 1px solid var(--bk-line); border-radius: 18px; padding: 24px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 32px; }
.bk-dose p { margin: 0; }
.bk-dose h3 { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bk-muted); }
.bk-gewicht { display: inline-flex; align-items: center; width: 160px; background: #fff; border: 1.5px solid var(--bk-line); border-radius: 999px; padding: 0 18px; transition: border-color .15s, box-shadow .15s; }
.bk-gewicht:focus-within { border-color: var(--bk-blue); box-shadow: 0 0 0 4px var(--bk-tint); }
.bk-gewicht input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 11px 0; font: 600 16px "Inter", system-ui, sans-serif; color: var(--bk-fg); -moz-appearance: textfield; appearance: textfield; font-variant-numeric: tabular-nums; }
.bk-gewicht input::-webkit-outer-spin-button, .bk-gewicht input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk-gewicht input::placeholder { color: #a9b0bb; font-weight: 500; }
.bk-gewicht input[aria-invalid="true"] { color: #a8360a; }
.bk-gewicht:has(input[aria-invalid="true"]) { border-color: #e8590c; }
.bk-eenheid { font-weight: 600; color: var(--bk-muted); font-size: .95rem; }
.bk-fout { font-size: .85rem; color: #a8360a; }
.bk-check { position: relative; display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; cursor: pointer; }
.bk-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; font-size: 16px; cursor: pointer; }
.bk-check i { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--bk-line); background: #fff; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.bk-check i::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.bk-check input:checked + i { background: var(--bk-blue); border-color: var(--bk-blue); }
.bk-check input:checked + i::after { opacity: 1; }
.bk-check input:focus-visible + i { outline: 2px solid var(--bk-blue); outline-offset: 2px; }
.bk-dose-basis { font-size: .85rem; color: var(--bk-muted); margin-top: -6px; }
.bk-dose-uit.is-leeg .bk-dose-g, .bk-dose-uit.is-leeg .bk-dose-n, .bk-dose-uit.is-leeg .bk-dose-extra, .bk-dose-uit.is-leeg .bk-dose-basis { opacity: .3; }
.bk-dose-g { font-size: 2.4rem; font-weight: 800; color: var(--bk-blue); line-height: 1.1; font-variant-numeric: tabular-nums; }
.bk-dose-g small { font-size: 1rem; font-weight: 600; color: var(--bk-muted); }
.bk-dose-n { font-weight: 600; font-size: .95rem; }
.bk-dose-extra { font-size: .9rem; color: var(--bk-muted); }
.bk-dose-extra:empty { display: none; }
@container (max-width: 720px) {
  .bk-dose { grid-template-columns: 1fr; padding: 18px 16px; border-radius: 16px; gap: 16px; }
  .bk-dose-g { font-size: 2rem; }
}
.bk-dose-let { font-size: .88rem; line-height: 1.5; color: #8a3a0c; background: #fff1ea; border-radius: 10px; padding: 10px 12px; }
