/* Het boek van… — component styles. Every colour, size and radius comes from tokens.css.
   Framboos is only for the primary button, the child's name and the logo dots. Selected states are ink.
   Wide layouts use container queries: put the page in an element with container-type: inline-size
   (site.css does this with .site on <body>). Light only: there is no dark theme. */

body { margin: 0; font-family: var(--font-tekst); font-size: 19px; line-height: 30px; background: var(--papier); color: var(--inkt); -webkit-font-smoothing: antialiased; }
.hbv-pad { padding: var(--ruimte-5); }
.hbv-rij { display: flex; flex-wrap: wrap; gap: var(--ruimte-3); align-items: center; }
.hbv-stapel { display: grid; gap: var(--ruimte-5); }
.hbv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hbv-label { font: 700 17px/24px var(--font-tekst); color: var(--inkt); margin: 0; }
.hbv-klein { font-size: 16px; line-height: 24px; color: var(--inkt-zacht); margin: 0; }
/* Corben's 1 reads as an l: digits inside Corben text use Atkinson */
.hbv-cijfer { font-family: var(--font-tekst); font-weight: 700; letter-spacing: 0; }

/* Knop */
.hbv-knop { display: inline-flex; align-items: center; justify-content: center; gap: var(--ruimte-2); min-height: var(--knop-hoogte); padding: 10px var(--ruimte-4); border-radius: var(--radius-veld); border: 2px solid transparent; font: 700 19px/24px var(--font-tekst); cursor: pointer; text-decoration: none; text-align: center; }
@container (min-width: 720px) { .hbv-knop { padding-inline: var(--ruimte-5); } }
.hbv-knop--primair { background: var(--framboos); color: var(--op-framboos); }
.hbv-knop--primair:hover { background: var(--framboos-diep); }
.hbv-knop--secundair { background: var(--papier-wit); color: var(--inkt); border-color: var(--rand); }
.hbv-knop--secundair:hover { border-color: var(--inkt); }
.hbv-knop:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.hbv-knop[disabled] { opacity: 0.45; cursor: not-allowed; }
.hbv-knop svg { width: 22px; height: 22px; flex: none; }

/* Naamregel: "Het boek van ……" as a sentence with the name on the dotted line (headings, labels) */
.hbv-naamregel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25em; margin: 0; font: 700 34px/1.25 var(--font-display); color: var(--inkt); }

/* Invulveld: the name field. A white field that reads "Het boek van [naam]"; the name is typed on the dotted line */
.hbv-invul { display: grid; gap: var(--ruimte-2); }
.hbv-invul__label { font: 700 18px/24px var(--font-tekst); color: var(--inkt); }
.hbv-invul__veld { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 0 16px; background: var(--papier-wit); border: 2px solid var(--rand); border-radius: var(--radius-veld); cursor: text; }
.hbv-invul__veld:focus-within { border-color: var(--inkt); outline: 3px solid var(--focus); outline-offset: 2px; }
.hbv-invul__voor { flex: none; font: 700 20px/1 var(--font-display); color: var(--inkt); }
.hbv-invul__veld input { flex: 1 1 0; width: 100%; min-width: 0; height: 44px; padding: 0 2px; border: 0; border-bottom: 2px dotted var(--rand); border-radius: 0; background: transparent; font: 700 24px/1 var(--font-display); color: var(--framboos); outline: none; }
.hbv-invul__veld input::placeholder { font: 400 19px/1 var(--font-tekst); color: var(--inkt-zacht); opacity: 1; }
.hbv-invul--fout .hbv-invul__veld { border-color: var(--fout); }

/* Kenmerkenkiezer */
.hbv-groep { border: 0; margin: 0; padding: 0; min-width: 0; }
.hbv-groep > legend { padding: 0; margin-bottom: var(--ruimte-3); }
.hbv-stalen { display: flex; flex-wrap: wrap; gap: var(--ruimte-3); }
.hbv-staal { position: relative; display: inline-grid; place-items: center; width: var(--staal); height: var(--staal); border-radius: var(--radius-rond); border: 2px solid var(--rand); background: var(--kleur); cursor: pointer; }
/* Painted swatch: an irregular gouache dab instead of a flat dot */
.hbv-staal--verf { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12), inset 2px 3px 0 rgba(255, 255, 255, 0.18), 0 0 0 1.5px rgba(22, 48, 43, 0.28); }
.hbv-staal--verf:nth-child(2n) { border-radius: 52% 48% 45% 55% / 48% 56% 44% 52%; }
.hbv-staal--verf:nth-child(3n) { border-radius: 50% 50% 56% 44% / 44% 52% 48% 56%; }
.hbv-staal input, .hbv-chip input, .hbv-staalkeuze input { position: absolute; opacity: 0; width: 1px; height: 1px; }
/* A swatch with its name under it (huid, haar, ogen) */
.hbv-staalkeuzes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }
.hbv-staalkeuzes--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@container (min-width: 720px) { .hbv-staalkeuzes, .hbv-staalkeuzes--vier { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.hbv-staalkeuze { position: relative; display: grid; justify-items: center; gap: 6px; padding: 6px 2px; border-radius: var(--radius-veld); cursor: pointer; font: 400 16px/20px var(--font-tekst); color: var(--inkt); text-align: center; }
.hbv-staalkeuze:has(input:checked) { font-weight: 700; background: var(--inkt-tint); }
.hbv-staalkeuze:has(input:checked) .hbv-staal { box-shadow: 0 0 0 3px var(--papier), 0 0 0 6px var(--inkt); }
.hbv-staalkeuze:has(input:checked) .hbv-staal::after { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--radius-rond); background: var(--inkt); color: var(--papier); font: 700 14px/1 var(--font-tekst); }
.hbv-staalkeuze:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.hbv-staal:has(input:checked) { box-shadow: 0 0 0 3px var(--papier), 0 0 0 6px var(--inkt); }
.hbv-staal:has(input:checked)::after { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--radius-rond); background: var(--inkt); color: var(--papier); font: 700 14px/1 var(--font-tekst); }
.hbv-staal:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 8px; }
.hbv-chips { display: flex; flex-wrap: wrap; gap: var(--ruimte-2); }
.hbv-chip { position: relative; display: inline-flex; align-items: center; gap: var(--ruimte-2); min-height: 52px; padding: 0 var(--ruimte-4); border: 2px solid var(--rand); border-radius: var(--radius-rond); background: var(--papier-wit); color: var(--inkt); font: 400 18px/24px var(--font-tekst); cursor: pointer; }
.hbv-chip:has(input:checked) { background: var(--inkt-tint); border-color: var(--inkt); font-weight: 700; box-shadow: inset 0 0 0 1px var(--inkt); }
.hbv-chip:has(input:checked)::before { content: "✓"; color: var(--inkt); font-weight: 700; }
.hbv-chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.hbv-veld { min-height: var(--veld-hoogte); padding: 0 var(--ruimte-4); border: 2px solid var(--rand); border-radius: var(--radius-veld); background: var(--papier-wit); color: var(--inkt); font: 400 19px/24px var(--font-tekst); }
.hbv-veld:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Etiket: the bookplate label with hollow corners */
.hbv-etiket { --r: var(--radius-etiket); box-sizing: border-box; position: relative; background: var(--papier-wit); color: var(--inkt); text-align: center;
  -webkit-mask: radial-gradient(circle var(--r) at 0 0, #0000 98%, #000) top left / 51% 51% no-repeat, radial-gradient(circle var(--r) at 100% 0, #0000 98%, #000) top right / 51% 51% no-repeat, radial-gradient(circle var(--r) at 0 100%, #0000 98%, #000) bottom left / 51% 51% no-repeat, radial-gradient(circle var(--r) at 100% 100%, #0000 98%, #000) bottom right / 51% 51% no-repeat;
  mask: radial-gradient(circle var(--r) at 0 0, #0000 98%, #000) top left / 51% 51% no-repeat, radial-gradient(circle var(--r) at 100% 0, #0000 98%, #000) top right / 51% 51% no-repeat, radial-gradient(circle var(--r) at 0 100%, #0000 98%, #000) bottom left / 51% 51% no-repeat, radial-gradient(circle var(--r) at 100% 100%, #0000 98%, #000) bottom right / 51% 51% no-repeat; }
.hbv-etiket::after { content: ""; position: absolute; inset: 12px; border: 2px solid var(--inkt); pointer-events: none; }
.hbv-etiket__boven { display: block; font: 700 var(--etiket-klein, 20px)/1.1 var(--font-display); color: var(--inkt); }
.hbv-etiket__naam { display: block; font: 700 var(--etiket-naam, 56px)/1 var(--font-display); color: var(--framboos); letter-spacing: -0.01em; overflow-wrap: anywhere; }
/* Long names: the size steps down with the number of letters (see docs/SITE.md, "Lange namen") */
.hbv-etiket__naam.is-m { font-size: calc(var(--etiket-naam, 56px) * 0.78); }
.hbv-etiket__naam.is-l { font-size: calc(var(--etiket-naam, 56px) * 0.6); }
.hbv-etiket__naam.is-xl { font-size: calc(var(--etiket-naam, 56px) * 0.48); line-height: 1.05; }
.hbv-etiket__naam.is-xxl { font-size: calc(var(--etiket-naam, 56px) * 0.4); line-height: 1.05; }
.hbv-etiket__naam.is-leeg { color: var(--inkt-zacht); font-weight: 400; }
.hbv-etiket__regel { display: block; }
/* Whole dots only: "space" spreads the dots so none is cut at the ends */
.hbv-etiket__streep { display: block; height: 4px; margin: 6px auto 0; width: 82%; background: radial-gradient(circle, var(--inkt) 1.6px, #0000 2px) 0 0 / 10px 4px space no-repeat; }
.hbv-etiket__onder { display: block; margin-top: 6px; font: 400 var(--etiket-onder, 16px)/1.25 var(--font-display); color: var(--inkt); }

/* Boekomslag, flat (thumbnails in summaries and mails) */
.hbv-boek { color: var(--inkt); position: relative; width: 300px; max-width: 100%; aspect-ratio: 1; display: grid; grid-template-columns: 9% 1fr; border-radius: var(--radius-boek); overflow: hidden; box-shadow: var(--schaduw-boek); background: var(--saffraan-zacht); }
.hbv-boek__rug { background: var(--rug, var(--serie-jarig)); box-shadow: inset -2px 0 0 rgba(0, 0, 0, 0.12); }
.hbv-boek__vlak { position: relative; overflow: hidden; }
.hbv-boek__beeld { position: absolute; inset: 0; width: 100%; height: 100%; }
.hbv-boek .hbv-etiket { position: absolute; left: 12%; right: 12%; top: 9%; padding: 18px 16px 16px; --etiket-klein: 15px; --etiket-naam: 44px; --etiket-onder: 13px; --r: 10px; }
.hbv-boek .hbv-etiket::after { inset: 8px; border-width: 1.5px; }

/* Boekobject: the hardcover as a physical thing, with a half-linen spine, board edges, page block and a cast shadow.
   Size it with width; the page shape comes from --boek-verhouding (1 / 1 or 297 / 210). Sizes inside are px for a
   300 px book, and scale with the cover in browsers with container units (iOS 16+); older iPads keep the px sizes. */
.hbv-object { --rug: var(--serie-jarig); --vlak: var(--saffraan-zacht); position: relative; width: 300px; max-width: 100%; aspect-ratio: var(--boek-verhouding, 1 / 1); container-type: inline-size; isolation: isolate; color: var(--inkt); flex: none; }
.hbv-object::before { content: ""; position: absolute; z-index: -1; left: 3%; right: -2.2%; top: 1.4%; bottom: -2.2%; border-radius: 2px 5px 5px 2px; background: repeating-linear-gradient(0deg, #fbf7f0 0 1px, #e8e0d2 1px 2px); box-shadow: 2px 2px 0 -0.3px #16302b, 0 6px 12px -3px rgba(22, 48, 43, 0.35); }
@supports (color: color-mix(in srgb, red 50%, blue)) { .hbv-object::before { box-shadow: 0.6cqw 0.6cqw 0 -0.1cqw color-mix(in srgb, var(--rug) 75%, #000), 0 2cqw 4cqw -1cqw rgba(22, 48, 43, 0.35); } }
.hbv-object::after { content: ""; position: absolute; z-index: -2; left: 6%; right: -4%; bottom: -7%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(22, 48, 43, 0.28), rgba(22, 48, 43, 0)); }
.hbv-object__omslag { position: absolute; inset: 0; border-radius: 3px 5px 5px 3px; overflow: hidden; background: var(--vlak); box-shadow: inset 0 0 0 1px rgba(22, 48, 43, 0.10), 0 1px 1px rgba(22, 48, 43, 0.18), 0 18px 27px -15px rgba(22, 48, 43, 0.50); }
/* Without the real cover plate the cover is one flat colour: no gradients, no shapes */
.hbv-object__plaat { position: absolute; inset: 0 0 0 11%; background: var(--vlak); }
.hbv-object__plaat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hbv-object__rug { position: absolute; inset: 0 auto 0 0; width: 11%; background-color: var(--rug);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.07) 0 1px, transparent 1px 3px), linear-gradient(90deg, rgba(0, 0, 0, 0.20), transparent 30%, rgba(255, 255, 255, 0.10) 62%, rgba(0, 0, 0, 0.24)); }
.hbv-object__rug::after { content: ""; position: absolute; top: 0; bottom: 0; right: -6px; width: 6px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.20), rgba(255, 255, 255, 0.20) 45%, transparent); }
.hbv-object__omslag::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, 0.18) 0%, transparent 30%); }
.hbv-object .hbv-etiket { position: absolute; left: 21%; right: 10%; top: 10%; padding: 17px 12px 14px; --etiket-klein: 16px; --etiket-naam: 45px; --etiket-onder: 13px; --r: 10px; box-shadow: 0 1px 2px rgba(22, 48, 43, 0.12); }
.hbv-object .hbv-etiket::after { inset: 8px; border-width: 1.5px; }
.hbv-object .hbv-etiket__streep { height: 4px; margin-top: 5px; background-size: 10px 4px; background-image: radial-gradient(circle, var(--inkt) 1.5px, #0000 1.9px); }
.hbv-object .hbv-etiket__onder { margin-top: 5px; }
@supports (width: 1cqw) {
  .hbv-object__omslag { border-radius: 3px 1.6cqw 1.6cqw 3px; box-shadow: inset 0 0 0 1px rgba(22, 48, 43, 0.10), 0 1px 1px rgba(22, 48, 43, 0.18), 0 6cqw 9cqw -5cqw rgba(22, 48, 43, 0.50); }
  .hbv-object__rug::after { right: -2.2cqw; width: 2.2cqw; }
  .hbv-object .hbv-etiket { padding: 5.6cqw 4cqw 4.6cqw; --etiket-klein: 5.2cqw; --etiket-naam: 15cqw; --etiket-onder: 4.4cqw; --r: 3.4cqw; box-shadow: 0 0.4cqw 0.8cqw rgba(22, 48, 43, 0.12); }
  .hbv-object .hbv-etiket::after { inset: 2.6cqw; border-width: max(1px, 0.5cqw); }
  .hbv-object .hbv-etiket__streep { height: 1.4cqw; margin-top: 1.6cqw; background-size: 3.2cqw 1.4cqw; background-image: radial-gradient(circle, var(--inkt) 0.5cqw, #0000 0.62cqw); }
  .hbv-object .hbv-etiket__onder { margin-top: 1.8cqw; }
}
.hbv-object--schuin { transform: rotate(-2.5deg); }
.hbv-object--jarig { --rug: var(--serie-jarig); --vlak: #fdf1d6; }
.hbv-object--groep1 { --rug: var(--serie-groep1); --vlak: #e5eef0; }
.hbv-object--kerst { --rug: var(--serie-kerst); --vlak: #e4efe7; }

/* Slot: a marked place for a real illustration or photo. In production an <img> replaces the slot;
   without an image the wash stays and the label is never shown to customers. */
.hbv-slot { position: relative; overflow: hidden; display: grid; align-content: end; justify-items: start; background-color: var(--slot);
  background-image: repeating-linear-gradient(135deg, rgba(22, 48, 43, 0.05) 0 1.5px, transparent 1.5px 11px); }
.hbv-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hbv-slot__label { position: relative; margin: 12px; padding: 6px 10px; max-width: calc(100% - 24px); background: var(--papier-wit); border: 1.5px dashed var(--rand); border-radius: 6px; font: 700 14px/18px var(--font-tekst); color: var(--inkt); }
.hbv-object .hbv-slot__label { position: absolute; right: 8px; bottom: 8px; margin: 0; font-size: 12px; line-height: 1.25; }

/* Spread: an open book, two square pages with a gutter */
.hbv-spread { --rug: var(--serie-jarig); --vlak: var(--saffraan-zacht); position: relative; display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: var(--spread-verhouding, 2 / 1); container-type: inline-size; border-radius: 3px; background: var(--papier-wit); box-shadow: 0 1px 2px rgba(22, 48, 43, 0.16), 0 3cqw 5cqw -2.4cqw rgba(22, 48, 43, 0.40); }
.hbv-spread::before { content: ""; position: absolute; z-index: -1; inset: 1.2cqw -0.9cqw -0.9cqw; border-radius: 4px; background: var(--rug); }
.hbv-spread__pagina { position: relative; overflow: hidden; background: var(--papier-wit); }
.hbv-spread__pagina:first-child { border-radius: 3px 0 0 3px; }
.hbv-spread__pagina:last-child { border-radius: 0 3px 3px 0; }
.hbv-spread__pagina::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hbv-spread__pagina:first-child::after { background: linear-gradient(90deg, transparent 72%, rgba(22, 48, 43, 0.05) 88%, rgba(22, 48, 43, 0.16)); }
.hbv-spread__pagina:last-child::after { background: linear-gradient(90deg, rgba(22, 48, 43, 0.18), rgba(22, 48, 43, 0.05) 10%, transparent 26%); }
.hbv-spread__pagina .hbv-slot { position: absolute; inset: 0; }
.hbv-spread__plaat { position: absolute; inset: 0; background: var(--vlak); }
.hbv-spread__tekst { position: absolute; inset: 11% 12% auto 11%; margin: 0; font: 400 18px/1.5 var(--font-display); color: var(--inkt); }
@supports (width: 1cqw) { .hbv-spread__tekst { font-size: 3.1cqw; } .hbv-spread__nr { font-size: 1.8cqw; } }
.hbv-spread__tekst .naam { color: var(--framboos); font-weight: 700; }
.hbv-spread__nr { position: absolute; bottom: 4.5%; font: 700 12px/1 var(--font-tekst); color: var(--inkt-zacht); }
.hbv-spread__pagina:first-child .hbv-spread__nr { left: 7%; }
.hbv-spread__pagina:last-child .hbv-spread__nr { right: 7%; }
.hbv-spread--jarig { --rug: var(--serie-jarig); --vlak: #fdf1d6; }
.hbv-spread--groep1 { --rug: var(--serie-groep1); --vlak: #e5eef0; }
.hbv-spread--kerst { --rug: var(--serie-kerst); --vlak: #e4efe7; }

/* Levering: the computed "uiterlijk in huis" date, shown next to every order button */
.hbv-levering { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0; font-size: 17px; line-height: 25px; color: var(--inkt); }
.hbv-levering svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hbv-levering strong { font-weight: 700; white-space: nowrap; }

/* Kerstbalk: one slim green line above the header, from launch until the PDF deadline. Short text on a phone, long from 720 px. */
.hbv-kerstbalk { --focus: var(--op-kerst-accent); display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 8px 16px; background: var(--kerst-vlak); color: var(--op-kerst); font: 700 16px/22px var(--font-tekst); text-align: center; }
.hbv-kerstbalk svg { display: none; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hbv-kerstbalk b { color: var(--op-kerst-accent); white-space: nowrap; }
.hbv-kerstbalk a { color: inherit; }
.hbv-kerstbalk .lang { display: none; }
@container (min-width: 720px) { .hbv-kerstbalk { font-size: 17px; } .hbv-kerstbalk svg { display: block; } .hbv-kerstbalk .kort { display: none; } .hbv-kerstbalk .lang { display: inline; } }

/* Stempel: "Nagekeken" — Rob checks every book before it goes to the printer */
.hbv-stempel { display: inline-grid; place-content: center; justify-items: center; gap: 2px; width: 124px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--inkt); box-shadow: inset 0 0 0 5px var(--papier), inset 0 0 0 6.5px var(--inkt); color: var(--inkt); transform: rotate(-8deg); text-align: center; flex: none; }
.hbv-stempel b { font: 700 15px/1 var(--font-display); }
.hbv-stempel span { font: 700 13px/16px var(--font-tekst); }
.hbv-stempel i { display: block; width: 64px; height: 3px; background: radial-gradient(circle, var(--inkt) 1.2px, #0000 1.6px) 0 0 / 7px 3px space no-repeat; }
.hbv-stempel--klein { width: 124px; }

/* Specs: product facts with dotted leaders, like a colophon */
.hbv-specs { display: grid; gap: 4px; margin: 0; }
.hbv-specs > div { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; }
.hbv-specs dt { flex: 1; display: flex; align-items: baseline; gap: 10px; font-weight: 400; color: var(--inkt); }
.hbv-specs dt::after { content: ""; flex: 1; min-width: 24px; height: 3px; background: radial-gradient(circle, var(--rand) 1.2px, #0000 1.6px) 0 0 / 8px 3px space no-repeat; }
.hbv-specs dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* Prijskaart: only for real choices (checkout) */
.hbv-prijzen { display: grid; gap: var(--ruimte-3); max-width: 560px; }
.hbv-prijs { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--ruimte-1) var(--ruimte-3); align-items: start; padding: var(--ruimte-4); border: 2px solid var(--rand); border-radius: var(--radius-veld); background: var(--papier-wit); cursor: pointer; }
.hbv-prijs input { grid-row: 1 / 3; margin: 2px 0 0; width: 24px; height: 24px; accent-color: var(--inkt); }
.hbv-prijs:has(input:checked) { border-color: var(--inkt); box-shadow: inset 0 0 0 1px var(--inkt); }
.hbv-prijs:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.hbv-prijs__titel { min-width: 0; margin: 0; font: 700 19px/26px var(--font-tekst); }
.hbv-prijs__uitleg { grid-column: 2 / 4; margin: 0; font-size: 17px; line-height: 25px; color: var(--inkt-zacht); }
.hbv-prijs__bedrag { font: 700 19px/26px var(--font-tekst); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.hbv-prijs__extra { display: block; font-size: 16px; line-height: 22px; font-weight: 400; color: var(--inkt-zacht); white-space: nowrap; }

/* Melding (herroeping, Kerst, fouten) */
.hbv-melding { display: grid; grid-template-columns: auto 1fr; gap: var(--ruimte-3); max-width: 560px; padding: var(--ruimte-4) var(--ruimte-5); border-radius: var(--radius-veld); background: var(--saffraan-zacht); color: var(--inkt); }
.hbv-melding svg { width: 26px; height: 26px; margin-top: 2px; color: var(--inkt); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hbv-melding__titel { margin: 0 0 var(--ruimte-1); font: 700 19px/26px var(--font-tekst); }
.hbv-melding p { margin: 0; font-size: 17px; line-height: 26px; }
.hbv-melding--fout { background: #fbe9e4; }
.hbv-melding--fout svg { color: var(--fout); }
.hbv-melding--goed { background: var(--inkt-tint); align-items: center; }

/* Betaalmethoden: a plain line of text until the official Mollie logo files are in assets/ (chips looked tappable) */
.hbv-betaal { margin: 0; font-size: 16px; line-height: 24px; color: var(--inkt); }

/* Prijs groot: big prices in Corben, because Atkinson's zero is slashed ("€44,9Ø") */
.hbv-prijsgroot { font: 700 30px/1 var(--font-display); letter-spacing: -0.01em; font-variant-numeric: lining-nums; }

/* PDF: a flat page icon for PDF orders (never the hardcover object) */
.hbv-pdf { position: relative; width: 64px; aspect-ratio: 210 / 297; background: var(--papier-wit); border: 2px solid var(--inkt); border-radius: 3px; display: grid; place-items: end center; padding-bottom: 8px; font: 700 12px/1 var(--font-tekst); color: var(--inkt); }
.hbv-pdf::before { content: ""; position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; background: linear-gradient(225deg, var(--papier) 50%, var(--inkt) 50% calc(50% + 2px), var(--papier-wit) calc(50% + 2px)); }

/* Cookies: a bottom sheet with two equal choices. Only when the Meta pixel is on, and never over the hero button. */
.hbv-cookies { --focus: var(--inkt); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--papier-wit); border-top: 2px solid var(--inkt); box-shadow: 0 -8px 24px rgba(22, 48, 43, 0.14); font-size: 16px; line-height: 22px; }
.hbv-cookies p { margin: 0; }
.hbv-cookies a { color: var(--inkt); font-weight: 700; }
.hbv-cookies__knoppen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hbv-cookies .hbv-knop { min-height: 44px; padding-block: 6px; font-size: 17px; }
@container (min-width: 720px) { .hbv-cookies { grid-template-columns: minmax(0, 1fr) 360px; align-items: center; padding: 16px 48px; } }

/* Bevestigingsmail */
.hbv-mail { width: 560px; max-width: 100%; background: var(--papier-wit); color: var(--inkt); border: 1px solid var(--lijn); }
.hbv-mail__kop { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; background: var(--inkt); }
.hbv-mail__kop img { display: block; height: 24px; width: auto; }
.hbv-mail__nr { font: 700 15px/20px var(--font-tekst); color: var(--papier); }
.hbv-mail__body { padding: 28px; display: grid; gap: var(--ruimte-4); background: var(--schutblad); }
.hbv-mail__body h1 { margin: 0; font: 700 30px/1.15 var(--font-display); }
.hbv-mail__body p { margin: 0; font-size: 18px; line-height: 28px; }
.hbv-mail .hbv-etiket { width: 300px; padding: 22px 20px 18px; --etiket-klein: 16px; --etiket-naam: 48px; }

/* Advertentie-sjablonen */
.hbv-advs { display: flex; flex-wrap: wrap; gap: var(--ruimte-6); align-items: flex-start; }
.hbv-adv { position: relative; overflow: hidden; background: var(--saffraan); color: var(--op-saffraan); display: grid; }
.hbv-adv--1x1 { width: 360px; height: 360px; grid-template-rows: auto 1fr auto; }
.hbv-adv--9x16 { width: 225px; height: 400px; grid-template-rows: 56px auto 1fr auto 80px; }
.hbv-adv .hbv-etiket { margin: 18px 22px 0; padding: 16px 12px 14px; --etiket-klein: 15px; --etiket-naam: 46px; --etiket-onder: 14px; --r: 10px; }
.hbv-adv--9x16 .hbv-etiket { margin: 0 14px; --etiket-klein: 13px; --etiket-naam: 36px; --etiket-onder: 12px; }
.hbv-adv .hbv-etiket::after { inset: 7px; border-width: 1.5px; }
.hbv-adv__beeld { width: 100%; height: 100%; display: block; }
.hbv-adv__balk { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px; background: var(--inkt); color: var(--papier); font: 700 15px/20px var(--font-tekst); }
.hbv-adv__balk b { color: var(--saffraan); }
.hbv-adv--9x16 .hbv-adv__balk { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13px; line-height: 18px; padding: 8px 14px; }
.hbv-adv__veilig { position: absolute; left: 0; right: 0; border: 1.5px dashed var(--inkt); color: var(--inkt); font: 700 11px/14px var(--font-tekst); display: grid; place-items: center; background: rgba(255, 252, 247, 0.55); }
.hbv-adv__onderschrift { font-size: 16px; line-height: 22px; color: var(--inkt-zacht); margin: var(--ruimte-2) 0 0; }

/* Naam-lock-up voorbeelden */
.hbv-lockups { color: var(--inkt); display: flex; flex-wrap: wrap; gap: var(--ruimte-5); align-items: flex-start; padding: var(--ruimte-5); background: var(--saffraan); }
.hbv-lockups .hbv-etiket { width: 250px; padding: 22px 18px 18px; --etiket-klein: 17px; --etiket-naam: 52px; }
.hbv-lockups .hbv-etiket--lang { --etiket-naam: 25px; }
.hbv-lockups .hbv-etiket--twee { --etiket-naam: 30px; }
.hbv-lockup-uitleg { margin: var(--ruimte-2) 0 0; font-size: 15px; line-height: 20px; color: var(--op-saffraan); font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .hbv-knop, .hbv-chip, .hbv-staal, .hbv-prijs { transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
  .hbv-etiket__naam { transition: font-size 0.15s ease; }
}
