/* Lettertype van de Black Friday-pagina — zelf gehost, zodat alles ook zonder internet werkt */
@font-face { font-family: 'Bricolage Grotesque'; src: url('fonts/BricolageGrotesque.woff2') format('woff2');
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }

/* Pre-orderplatform — Kay's Odyssey.
   Look van blackfriday.kayvinyl.nl: warm papier, kassageel als accent, inktdonkere
   banden, ronde pilknoppen, kale hoesjes met slagschaduw en de gedraaide sticker. */

:root {
  --inkt: #171510;
  --inkt-zacht: #6b604e;
  --papier: #f8f6f0;
  --kaart: #ffffff;
  --rand: #d8cdb8;
  --donker: #171510;
  --goud: #f2ead9;              /* creme op donker, zoals de kassa */
  --goud-diep: #b93c1d;
  --creme: #fff7e6;
  --ember: #d44a25;
  --ember-donker: #b93c1d;
  --groen: #2f7d59;
  --rood: #b4442f;
  --schaduw: 0 1px 0 var(--rand), 0 10px 18px -14px rgba(23, 21, 16, .55);
  --rond: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font: 400 16px/1.5 'Bricolage Grotesque', system-ui, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--goud-diep); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }

/* ── kop ─────────────────────────────────────────────────────────────────── */

.kop {
  background: var(--donker);
  color: #fff;
  position: relative;
  z-index: 20;
}

.kop-binnen {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
}

.merk {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.merk strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.merk small { display: block; color: var(--goud); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.merk-plaat {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f2ead9 0 3px, #171510 3px 5px, #3a3226 5px 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  flex: none;
}

.kop-nav { display: flex; gap: 6px; }

.nav-link {
  color: #cfc6bb;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 14.5px;
}
.nav-link:hover { background: rgba(255,255,255,.09); }
.nav-link.actief { background: var(--goud); color: var(--inkt); font-weight: 700; }

/* Hamburger + uitklapmenu voor telefoons. */
.menu-knop-mobiel {
  display: none;
  font-size: 24px; line-height: 1;
  background: none; border: 0; color: var(--creme);
  cursor: pointer; padding: 4px 10px;
}
.mobiel-menu {
  background: var(--donker);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 4px 0 10px;
}
.mobiel-menu a, .mobiel-menu button {
  display: block; width: 100%; text-align: left;
  padding: 13px 20px;
  color: #cfc6bb; text-decoration: none;
  font: inherit; font-size: 16px;
  background: none; border: 0; cursor: pointer;
}
.mobiel-menu a.actief { color: var(--goud); font-weight: 700; }
.mobiel-menu [hidden] { display: none; }   /* anders wint display:block van het hidden-attribuut */
@media (min-width: 721px) { .mobiel-menu { display: none !important; } }

/* Uitloggen: altijd zichtbaar in de kop zodra er iemand is aangemeld. */
.uitlog-knop {
  font: inherit; font-size: 13.5px; cursor: pointer;
  color: var(--goud); background: none;
  border: 1px solid rgba(242, 234, 217, .55); border-radius: 999px;
  padding: 6px 14px;
}
.uitlog-knop:hover { background: rgba(242, 234, 217, .14); }

/* De sticker van de Black Friday-pagina: het ene herkenbare element. */
.sticker {
  width: 92px; aspect-ratio: 1; border-radius: 50%;
  background: var(--goud); color: var(--inkt);
  display: grid; place-content: center; text-align: center;
  transform: rotate(-9deg);
  box-shadow: inset 0 0 0 3px var(--inkt), inset 0 0 0 5px var(--goud);
  line-height: 1; padding: 8px; flex: none;
}
.sticker b { display: block; font-size: 17px; font-weight: 800; font-stretch: 80%; }
.sticker span { display: block; font-size: 10.5px; margin-top: 4px; }
.kop .sticker { margin: -14px 0; }   /* mag over de randen van de band hangen: houdt de balk slank */

/* ── layout ──────────────────────────────────────────────────────────────── */

.scherm { max-width: 1120px; margin: 0 auto; padding: 14px 18px 60px; min-height: 60vh; }

/* De winkeljongen: wijst vanaf rechts naar de paginakop. Puur decoratie, vangt
   nooit klikken af. Hij schaalt mee met de schermbreedte (clamp) en de intro
   en de filterbalk houden rechts ruimte vrij, zodat niets over hem heen
   tekent — de plakkende filterbalk schoof eerst over zijn benen. */
.inhoud { position: relative; }
.mascotte {
  display: none;
  position: absolute;
  /* Wat lager, zodat zijn wijzende vinger bij de band "Deze week uit" uitkomt. */
  top: clamp(100px, 13vw, 165px);
  right: max(10px, calc((100vw - 1120px) / 2));
  height: clamp(160px, 27vw, 330px);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(23, 21, 16, .25));
}
/* Alleen op "Aankomende releases" (app.js zet de klasse op body). */
body.met-mascotte .mascotte { display: block; }
body.met-mascotte .intro { padding-right: clamp(115px, 22vw, 275px); }
@media (min-width: 900px) {
  body.met-mascotte .filters { margin-right: clamp(0px, 23vw, 280px); }
  body.met-mascotte .week { margin-right: clamp(0px, 23vw, 280px); }   /* de band blijft naast de mascotte */
}
@media (max-width: 899px) {
  /* Op de telefoon: kleiner, en de band houdt rechts ruimte voor hem vrij. */
  .mascotte { height: 150px; }
  body.met-mascotte .week { margin-right: 72px; }
  body.met-mascotte .intro { padding-right: 90px; }
}

/* Persoonlijke begroeting boven de inhoud */
.begroeting {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 18px 0;
  font-size: 14px;
  color: var(--inkt-zacht);
  letter-spacing: .01em;
}
.begroeting strong { color: var(--inkt); font-weight: 700; }
.begroeting + .scherm { padding-top: 8px; }

.laden { color: var(--inkt-zacht); padding: 40px 0; text-align: center; }

.intro { margin: 2px 0 14px; }
.intro h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: .98; font-weight: 800; font-stretch: 85%; letter-spacing: -.02em;
  margin: 0 0 8px;
}
.intro p { margin: 0; color: var(--inkt-zacht); max-width: 62ch; }

h1, h2, h3 { font-weight: 800; font-stretch: 88%; letter-spacing: -.015em; }

/* ── weekcarrousel ("Deze week uit") ─────────────────────────────────────── */

.week { margin: 0 0 14px; }
.week-kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.week-kop h2 { margin: 0; font-size: 20px; }
.week-kop .week-nr { color: var(--inkt-zacht); font-weight: 400; font-stretch: 100%; font-size: 15px; }
.week-pijlen { display: flex; gap: 6px; }
.week-pijlen button {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--inkt); background: none; color: var(--inkt);
  cursor: pointer; font-size: 18px; line-height: 1; padding: 0;
}
.week-pijlen button:hover { background: rgba(23, 21, 16, .07); }
.carrousel {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
}
.week-item {
  flex: 0 0 124px; scroll-snap-align: start;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.week-item .hoes { width: 124px; }
.week-item .vlag { font-size: 11px; padding: 2px 6px; left: 6px; bottom: 6px; }
.week-item:hover .hoes { transform: translateY(-2px); }
.week-artiest {
  font-weight: 700; font-size: 12.5px; line-height: 1.2; margin-top: 6px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  min-height: 1.2em;
}
.week-titel {
  font-size: 12px; line-height: 1.25; color: var(--inkt-zacht);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  min-height: 1.25em;
}
.week-prijs { font-weight: 700; font-size: 13px; margin-top: 2px; }
@media (max-width: 640px) {
  .week-item, .week-item .hoes { flex-basis: 106px; width: 106px; }
}

/* ── weekkoppen in de release-agenda ─────────────────────────────────────── */

.weekkop {
  display: flex; align-items: baseline; gap: 10px;
  margin: 24px 0 12px; padding-bottom: 6px;
  border-bottom: 1px solid var(--rand);
}
.weekkop:first-child { margin-top: 2px; }
.weekkop h2 { margin: 0; font-size: 19px; }
.weekkop span { color: var(--inkt-zacht); font-size: 13.5px; }

/* ── filters ─────────────────────────────────────────────────────────────── */

.filters {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 0 0 20px; padding: 10px 0;
  background: var(--papier);
}
.filters input[type=search], .filters select {
  font: inherit; padding: 9px 14px;
  border: 1px solid var(--rand); border-radius: 999px; background: var(--kaart); color: inherit;
}
.filters input[type=search] { flex: 1 1 220px; min-width: 0; }

/* ── raster met hoesjes (kaal, zoals de platenbak op de Black Friday-pagina) ─ */

.raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 28px 20px;
}

.tegel {
  background: none;
  border: 0;
  overflow: visible;
  display: flex; flex-direction: column; min-width: 0;
  text-decoration: none; color: inherit;
}
.tegel:hover .hoes { transform: translateY(-2px); }

/* Altijd een exact vierkant kader, ook op oudere browsers (iPad-Safari kent
   aspect-ratio niet): de hoogte komt uit padding-bottom en de afbeelding
   wordt er absoluut in gesneden (object-fit: cover). Een te lange of te
   brede bron wordt dus overal op dezelfde maat afgesneden. */
.hoes {
  height: 0;
  padding-bottom: 100%;
  background: var(--kaart) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23d9d1c6' stroke-width='6'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%23d9d1c6'/%3E%3C/svg%3E") center/56% no-repeat;
  position: relative;
  overflow: hidden;
  box-shadow: var(--schaduw);
  transition: transform .12s ease;
}
.hoes img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.vlag {
  position: absolute; left: 8px; bottom: 8px;
  background: var(--donker); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 3px 8px; border-radius: 3px;
}
.vlag.vol { background: var(--rood); }

/* Dragerlabel rechtsboven op elke hoes: in één oogopslag LP of CD. */
.drager-chip {
  position: absolute; top: 6px; right: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .05em;
  padding: 3px 7px; border-radius: 4px;
}
.drager-lp  { background: var(--inkt); color: var(--creme); }
.drager-cd  { background: #fff; color: var(--inkt); box-shadow: inset 0 0 0 1.5px var(--inkt); }
.drager-dvd { background: var(--inkt-zacht); color: #fff; }
.week-item .drager-chip { font-size: 10px; padding: 2px 5px; top: 5px; right: 5px; }

/* En op de albumpagina als duidelijk gekleurd feit. */
.feiten .feit-lp { background: var(--inkt); color: var(--creme); border-color: var(--inkt); font-weight: 700; }
.feiten .feit-cd { background: #fff; color: var(--inkt); border: 1.5px solid var(--inkt); font-weight: 700; }
/* Gekleurd vinyl: de kleur uit de Bertus-InfoLine als eigen kenmerk. */
.feiten .feit-kleur { background: var(--goud); color: var(--inkt); border-color: var(--goud); font-weight: 700; }

/* De onderste regel van een tegel blijft altijd één regel (met …), zodat een
   lange kleurnaam de vaste tegelhoogte niet oprekt. */
.tegel-datum { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.tegel-tekst { padding: 11px 2px 0; display: flex; flex-direction: column; gap: 2px; flex: 1; }
/* Vaste tekstruimte onder elke hoes: artiest één regel, titel maximaal twee
   (langere titels krijgen …). Zo is élke tegel precies even hoog. */
.tegel-artiest {
  font-weight: 700; font-size: 14.5px; line-height: 1.2; color: var(--inkt);
  text-transform: none; letter-spacing: 0;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  min-height: 1.2em;
}
.tegel-titel {
  font-weight: 400; line-height: 1.25;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  min-height: 2.5em;
}
.tegel-onder { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tegel-datum { font-size: 13px; color: var(--inkt-zacht); }
.tegel-prijs { font-weight: 700; font-size: 16.5px; }

.leeg { padding: 50px 16px; text-align: center; color: var(--inkt-zacht); }

/* ── detailpagina ────────────────────────────────────────────────────────── */

.terug { display: inline-block; margin-bottom: 14px; font-size: 14px; text-decoration: none; }

.detail { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 700px) { .detail { grid-template-columns: 1fr; gap: 20px; } }

.detail .hoes { overflow: hidden; box-shadow: var(--schaduw); }

.detail h1 { margin: 2px 0 4px; font-size: clamp(26px, 4.6vw, 40px); line-height: 1.05; }
.detail .artiest { font-size: 17px; color: var(--inkt-zacht); margin: 0 0 14px; }

.feiten { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.feiten li {
  background: var(--kaart); border: 1px solid var(--rand); border-radius: 999px;
  padding: 5px 13px; font-size: 13.5px;
}
.feiten .nadruk { background: var(--donker); color: var(--goud); border-color: var(--donker); font-weight: 600; }

.tracklist { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rand); }
.tracklist li { padding: 7px 2px; border-bottom: 1px solid var(--rand); font-size: 14.5px; }

/* ── kaart / formulier ───────────────────────────────────────────────────── */

.kaart {
  background: var(--kaart); border: 1px solid var(--rand);
  border-radius: var(--rond); padding: 18px;
}
.kaart h2 { margin: 0 0 10px; font-size: 20px; }
.kaart + .kaart { margin-top: 16px; }

.veld { display: block; margin-bottom: 12px; }
.veld span { display: block; font-size: 13.5px; color: var(--inkt-zacht); margin-bottom: 4px; }
.veld input, .veld select, .veld textarea {
  width: 100%; font: inherit; padding: 11px 14px;
  border: 1px solid var(--rand); border-radius: 8px; background: #fff; color: inherit;
}
.veld textarea { min-height: 74px; resize: vertical; }

.knop {
  font: inherit; font-weight: 700; cursor: pointer;
  background: var(--ember); color: var(--creme);
  border: 0; border-radius: 999px;
  padding: 12px 22px;
}
.knop:hover { background: var(--ember-donker); }
.knop:disabled { opacity: .5; cursor: not-allowed; }
.knop.zacht { background: none; color: var(--inkt); border: 1px solid var(--inkt); }
.knop.zacht:hover { background: rgba(23,21,16,.06); }
.knop.klein { padding: 7px 14px; font-size: 14px; }

.regel { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ── aanmelden ───────────────────────────────────────────────────────────── */

.aanmeld-kaart { max-width: 520px; }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 460px) { .veld-rij { grid-template-columns: 1fr; } }
.akkoord {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  align-items: start; margin: 4px 0 14px;
  font-size: 13.5px; color: var(--inkt-zacht); line-height: 1.45;
}
.akkoord input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--inkt); }
.code-invoer {
  font-size: 26px; letter-spacing: .4em; text-align: center; font-weight: 700;
  max-width: 230px;
}
.ww-rij { display: flex; gap: 8px; }
.ww-rij input { flex: 1; min-width: 0; }
/* De startkeuze van de aanmeldpoort: twee grote knoppen onder elkaar. */
.poort-keuze { display: grid; gap: 12px; max-width: 420px; }
.poort-keuze .knop { padding: 16px 22px; font-size: 16.5px; text-align: center; }
.linkknop {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--goud-diep); font: inherit; font-weight: 700; text-decoration: underline;
}

.betaalregel {
  background: #efe9dc; border: 1px dashed var(--rand); border-radius: 8px;
  padding: 11px 13px; font-size: 14px; margin: 4px 0 14px; color: var(--inkt-zacht);
}
.betaalregel strong { color: var(--inkt); }

/* ── mijn pre-orders ─────────────────────────────────────────────────────── */

.po-lijst { display: grid; gap: 14px; }

.po {
  display: grid; grid-template-columns: 66px minmax(0,1fr) auto; gap: 14px; align-items: center;
  background: var(--kaart); border: 1px solid var(--rand); border-radius: var(--rond);
  padding: 12px 14px;
}
@media (max-width: 560px) { .po { grid-template-columns: 54px minmax(0,1fr); } .po-rechts { grid-column: 1 / -1; } }

.po img, .po .geen-hoes { width: 66px; height: 66px; border-radius: 4px; object-fit: cover; background: #efeae3; }
.po-titel { font-weight: 700; }
.po-meta { font-size: 13.5px; color: var(--inkt-zacht); }
.po-rechts { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }

.merkje {
  display: inline-block; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .02em;
}
.merkje.nieuw       { background: #eef2f7; color: #3c5470; }
.merkje.besteld     { background: #f8e6da; color: #b93c1d; }
.merkje.binnen      { background: #e6f4ec; color: var(--groen); }
.merkje.afgehaald   { background: #eeece8; color: var(--inkt-zacht); }
.merkje.geannuleerd { background: #fbe9e5; color: var(--rood); }
.merkje.betaald     { background: #e6f4ec; color: var(--groen); }
.merkje.open        { background: #f8e6da; color: #b93c1d; }

/* ── voet en melding ─────────────────────────────────────────────────────── */

.voet {
  border-top: 1px solid var(--rand); background: #faf7f1;
  padding: 22px 18px 40px; text-align: center; color: var(--inkt-zacht); font-size: 14px;
}
.voet-klein { font-size: 12.5px; margin-top: 4px; }
/* Het ronde "The Boy in the Store"-embleem als winkelmerk in de voet —
   klikbaar naar de Instagram-pagina. */
.voet-embleem-link { display: inline-block; border-radius: 50%; }
.voet-embleem {
  width: 150px; height: 150px; border-radius: 50%;
  transform: rotate(-6deg);
  margin: 2px auto 14px; display: block;
  box-shadow: 0 10px 22px -12px rgba(23, 21, 16, .5);
  transition: transform .15s ease;
}
.voet-embleem-link:hover .voet-embleem { transform: rotate(-6deg) scale(1.05); }
/* Ingang naar het beheerscherm — mag rustig opvallen voor wie ernaar zoekt,
   maar hoeft geen aandacht te trekken van klanten. */
.voet-beheer { color: var(--inkt-zacht); text-decoration: none; opacity: .75; }
.voet-beheer:hover { color: var(--goud-diep); opacity: 1; text-decoration: underline; }

.melding {
  position: fixed; left: 50%; top: 18px; bottom: auto; transform: translateX(-50%);
  background: var(--goud); color: var(--inkt); padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(23,21,16,.3); z-index: 50; max-width: min(92vw, 520px);
  text-align: center; font-weight: 600;
}
.melding.fout { background: var(--rood); color: #fff; }

.uitleg { font-size: 13.5px; color: var(--inkt-zacht); }

/* ── acties ──────────────────────────────────────────────────────────────── */

.acties { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.actie-kaart {
  background: var(--kaart); border: 1px solid var(--rand); border-radius: var(--rond);
  overflow: hidden; box-shadow: var(--schaduw); display: flex; flex-direction: column;
}
.actie-beeld { display: block; width: 100%; max-height: 260px; object-fit: cover; background: #efeae3; }
.actie-inhoud { padding: 16px 18px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.actie-inhoud h2 { margin: 0; font-size: 22px; line-height: 1.1; }
.actie-tekst { margin: 0; color: var(--inkt-zacht); white-space: pre-line; overflow-wrap: anywhere; }
.actie-inhoud .knop { text-decoration: none; margin-top: 4px; }
.actie-looptijd {
  background: var(--ember); color: var(--creme); border-radius: 999px;
  padding: 3px 10px; font-size: 12px; font-weight: 700; letter-spacing: .03em;
}

/* Bolletje met het aantal lopende acties, naast de menulink en op het tabblad. */
.acties-bol {
  display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 6px;
  background: var(--ember); color: var(--creme); border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; vertical-align: 1px;
}
.acties-bol[hidden] { display: none; }
.tab-knop { position: relative; }
.tab-knop .acties-bol { position: absolute; top: 5px; left: 50%; margin-left: 7px; min-width: 16px; line-height: 16px; font-size: 10px; }

/* ── tabbalk onderin (telefoon) ───────────────────────────────────────────── */

.tabbalk { display: none; }

@media (max-width: 720px) {
  .kop-nav { display: none; }               /* op de telefoon: hamburger + tabbalk onderin */
  .kop .sticker { display: none; }          /* de sticker neemt op een telefoon te veel kopruimte in */
  .menu-knop-mobiel { display: block; }
  .uitlog-knop { display: none; }           /* uitloggen zit op de telefoon in het uitklapmenu */
  .tabbalk {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--donker);
    border-top: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tab-knop {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 9px 4px 8px; text-decoration: none;
    color: #cfc6bb; font-size: 11px; letter-spacing: .01em;
  }
  .tab-icoon { font-size: 19px; line-height: 1; }
  .tab-knop.actief { color: var(--goud); font-weight: 700; }
  .tab-knop.actief .tab-icoon { color: var(--goud); }
  .scherm { padding-bottom: 92px; }         /* ruimte voor de tabbalk */
  .voet { padding-bottom: 92px; }
  .filters { top: 0; }
}

/* ── cadeaubonnen ─────────────────────────────────────────────────────────── */

.bon-kaart {
  background: linear-gradient(150deg, #171510 0%, #3a3226 55%, #171510 100%);
  color: #fff; border-radius: 18px; padding: 18px 18px 16px; margin-bottom: 16px;
  box-shadow: 0 10px 18px -14px rgba(23,21,16,.55); position: relative; overflow: hidden;
}
.bon-kaart.op { opacity: .62; }
.bon-kop { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bon-kop small { color: var(--goud); letter-spacing: .16em; text-transform: uppercase; font-size: 11px; }
.bon-saldo { font-size: 30px; font-weight: 800; font-stretch: 88%; letter-spacing: -.02em; margin: 2px 0 10px; }
.bon-barcode {
  background: #fff; border-radius: 8px; padding: 10px 12px 6px; text-align: center;
}
.bon-barcode svg { width: 100%; height: 62px; display: block; }
.bon-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px; letter-spacing: .12em; color: #171510; padding-top: 4px;
}
.bon-onder {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 10px; font-size: 12.5px; color: #cdc4b8;
}
.bon-onder button {
  font: inherit; font-size: 12.5px; cursor: pointer; color: #cdc4b8;
  background: transparent; border: 1px solid #5a5047; border-radius: 999px; padding: 5px 12px;
}
.bon-onder button:hover { background: rgba(255,255,255,.08); }

/* ── aankopen ─────────────────────────────────────────────────────────────── */

/* Aankopen staan per maand in een uitklapbaar blok; de lopende maand staat open. */
.maand { margin-bottom: 14px; }
.maand > summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  cursor: pointer; list-style: none; padding: 12px 15px;
  background: var(--kaart); border: 1px solid var(--rand); border-radius: var(--rond);
}
.maand > summary::-webkit-details-marker { display: none; }
.maand > summary::after { content: '▾'; color: var(--inkt-zacht); transition: transform .15s; }
.maand[open] > summary::after { transform: rotate(180deg); }
.maand > summary:hover { background: #efe9dc; }
.maand-naam { font-weight: 700; text-transform: capitalize; }
.maand-som { color: var(--inkt-zacht); font-size: 13.5px; margin-left: auto; }
.maand[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.maand .aankoop { margin: 0 0 8px; }
.maand[open] > .aankoop:first-of-type { border-top: none; border-top-left-radius: 0; border-top-right-radius: 0; }

.aankoop {
  background: var(--kaart); border: 1px solid var(--rand); border-radius: var(--rond);
  padding: 13px 15px; margin-bottom: 12px;
}
.aankoop-kop {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-bottom: 6px;
}
.aankoop-kop strong { font-size: 15px; }
.aankoop-kop span { color: var(--inkt-zacht); font-size: 13px; }
.aankoop-regels { margin: 0; padding: 0; list-style: none; }
.aankoop-regels li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 4px 0; border-top: 1px solid var(--rand); font-size: 14px;
}
.aankoop-regels li span:last-child { color: var(--inkt-zacht); white-space: nowrap; }

/* Navigatie pas tonen als de klant is ingelogd (app.js zet body.ingelogd);
   op het aanmeldscherm blijven kopmenu, hamburger en tabbalk verborgen. */
body:not(.ingelogd) .kop-nav,
body:not(.ingelogd) .menu-knop-mobiel,
body:not(.ingelogd) .mobiel-menu,
body:not(.ingelogd) .tabbalk { display: none !important; }
