
.bw { padding-bottom: 8px; }
.bw [hidden] { display: none !important; }

.bw-balk { position: sticky; top: 64px; z-index: 25; background: var(--zand); padding: 8px 0 6px; margin-bottom: 8px; }
.bw-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 10px; }
.bw-filter label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 200px; font-size: .86rem; font-weight: 700; min-width: 0; }
.bw-filter .knop { flex: none; }
.bw-stand { margin: 0 0 4px; font-weight: 650; }
.bw-balk .chips { margin-bottom: 8px; }
@media (max-width: 699px) {
  .bw-balk .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent); }
  .bw-balk .chip { flex: none; }
}
.bw-leeg { margin: 0 0 16px; }
.bw-leeg-extra { margin-top: 0; }

.bw-tussenkop { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; margin: 8px 0 4px; }
.bw-tussenkop .ic { width: 22px; height: 22px; color: var(--dijk); }
.bw-abo { margin: 0 0 18px; }
.bw-abo-rij { display: flex; gap: 10px; overflow-x: auto; list-style: none; margin: 8px 0 0; padding: 2px 2px 10px; scroll-snap-type: x mandatory; }
.bw-abo-rij a { flex: 0 0 220px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; min-height: 76px; padding: 12px 14px; border-radius: var(--radius); background: var(--wit); border: 1px solid var(--rand); text-decoration: none; color: var(--tekst); box-shadow: var(--schaduw); }
.bw-abo-rij a:hover { border-color: var(--zee); }
.bw-abo-rij strong { font-family: var(--font-kop); font-weight: 650; color: var(--zee-donker); }
.bw-abo-bij { color: var(--tekst-zacht); font-size: .86rem; }

.bw-sprong { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 14px; padding-bottom: 4px; }
.bw-sprong a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 999px; background: var(--wit); border: 1px solid var(--rand); text-decoration: none; color: var(--tekst); font-weight: 650; font-size: .9rem; }
.bw-sprong a:hover { border-color: var(--zee); color: var(--zee); }
.bw-sprong a span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--zon); color: #08313c; font-size: .78rem; }

.bw-kraam { background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 14px; margin: 0 0 16px; scroll-margin-top: 220px; }
.bw-kraam-kop { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.bw-logo { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; background: var(--zee-licht); }
.bw-logo-letter { display: grid; place-items: center; font: 700 1.3rem/1 var(--font-kop); color: var(--zee); }
.bw-kraam-naam { margin: 0 0 2px; font-size: 1.35rem; }
.bw-kraam-naam a { color: inherit; text-decoration: none; }
.bw-kraam-naam a:hover { color: var(--zee); }
.bw-kraam-meta, .bw-haal { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; color: var(--tekst-zacht); font-size: .9rem; }
.bw-kraam-meta .ic, .bw-vers .ic, .bw-badge .ic { width: 14px; height: 14px; }
.bw-vers { margin: 6px 0 0; font-weight: 650; color: var(--zon-donker); }
.bw-haal { margin-top: 4px; }

.bw-schap { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.bw-kaart { display: flex; flex-direction: column; border: 1px solid var(--rand); border-radius: var(--radius); overflow: hidden; background: var(--zand); scroll-margin-top: 240px; }
.bw-kaart.is-gekozen { border-color: var(--zee); background: var(--wit); }
.bw-kaart.is-op { opacity: .8; }
.bw-kaart.is-gewezen { animation: bw-wijs 1.4s ease; }
@keyframes bw-wijs { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px var(--zon); } }
.bw-foto { position: relative; aspect-ratio: 4 / 3; background: var(--zee-licht); display: grid; place-items: center; }
.bw-foto img { width: 100%; height: 100%; object-fit: cover; }
.bw-foto-leeg { color: var(--zee); }
.bw-foto-leeg .ic { width: 36px; height: 36px; }
.bw-sticker { position: absolute; top: 8px; left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--zon); color: #08313c; font-size: .78rem; font-weight: 700; }
.bw-sticker.is-op { background: var(--tekst-zacht); color: var(--wit); }
.bw-kaart-tekst { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 10px 12px 12px; }
.bw-naam { margin: 0; font-size: 1.08rem; }
.bw-labels { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.bw-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--dijk-licht); color: var(--dijk); font-size: .75rem; font-weight: 700; }
.bw-badge.is-zacht { background: var(--zee-licht); color: var(--zee); }
.bw-per, .bw-oms { margin: 0; color: var(--tekst-zacht); font-size: .88rem; }
.bw-oms { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bw-prijs { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin: 2px 0 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.bw-bedrag { white-space: nowrap; font-weight: 750; }
.bw-prijs span { font-weight: 600; color: var(--tekst-zacht); font-size: .86rem; }
.bw-aantal { display: flex; align-items: center; justify-content: space-between; margin-top: auto; background: var(--wit); border: 1px solid var(--rand); border-radius: 999px; padding: 2px; }
.bw-stap { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--zee-licht); color: var(--zee-donker); font: 700 1.3rem/1 var(--font); cursor: pointer; }
.bw-stap:hover { background: var(--zee); color: var(--wit); }
.bw-stap:disabled { opacity: .4; cursor: not-allowed; background: var(--zee-licht); color: var(--zee-donker); }
.bw-getal { min-width: 1.5em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.bw-erbij { width: 100%; margin-top: auto; }
.bw-naar, .bw-seintje { margin-top: auto; font-size: .9rem; font-weight: 650; }
.bw-js .bw-naar, .bw-js .bw-zoekknop { display: none; }
.bw-seintje { display: inline-flex; align-items: center; gap: 4px; }
.bw-seintje .ic { width: 16px; height: 16px; }

.bw-op { margin-top: 12px; }
.bw-op summary { cursor: pointer; font-weight: 650; color: var(--tekst-zacht); min-height: 44px; display: flex; align-items: center; }
.bw-op summary span { margin-left: 6px; }
.bw-op .bw-schap { margin-top: 8px; }
@media (max-width: 599px) {
  .bw-schap { grid-template-columns: 1fr; }
  .bw-kaart { flex-direction: row; align-items: stretch; }
  .bw-foto { width: 108px; flex: none; aspect-ratio: auto; min-height: 108px; }
  .bw-kaart-tekst { min-width: 0; }
}

.bw-voetnoot { margin: 4px 0 0; }

.bw-mandje { position: fixed; z-index: 50; left: 50%; transform: translateX(-50%); width: min(520px, calc(100vw - 24px));
  bottom: calc(var(--onderbalk) + 10px + env(safe-area-inset-bottom, 0px)); }
.bw-mandje-knop { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 10px 8px 8px; border: 0; border-radius: 999px;
  background: var(--zee-donker); color: var(--wit); font: 600 .95rem/1.2 var(--font); cursor: pointer; box-shadow: var(--schaduw); }
.bw-mandje-knop:hover { background: var(--zee); color: var(--wit); }
.bw-mandje-tel { display: grid; place-items: center; flex: none; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; background: var(--zon); color: #08313c; font-weight: 750; }
.bw-mandje-tekst { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; gap: 0 8px; text-align: left; }
.bw-mandje-tekst strong { font-variant-numeric: tabular-nums; }
.bw-mandje-actie { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--wit); color: #08313c; font-weight: 700; }
.bw-mandje-actie .ic { width: 18px; height: 18px; }
.bw-mandje.is-stoot { animation: bw-stoot .35s ease-out; }
@keyframes bw-stoot { 0% { transform: translateX(-50%) translateY(8px); } 100% { transform: translateX(-50%) translateY(0); } }
html.bw-heeft-mandje body { padding-bottom: calc(var(--onderbalk) + 88px + env(safe-area-inset-bottom, 0px)); }

.bw-dialoog { width: min(560px, calc(100vw - 24px)); padding: 0; }
.bw-dlg { padding: 16px 16px 18px; }
.bw-dlg-kop { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.bw-dlg-kop h2 { margin: 0; }
.bw-sluit { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--zee-licht); color: var(--zee-donker); cursor: pointer; }
.bw-sluit .ic { width: 20px; height: 20px; }
.bw-dlg-lijst { display: grid; gap: 14px; }
.bw-af { margin: 0; padding-top: 12px; border-top: 1px solid var(--rand); }
.bw-af h3 { margin: 0 0 6px; font-size: 1.1rem; }
.bw-af ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; }
.bw-af li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bw-af li span:first-child { min-width: 0; }
.bw-af li span:last-child { white-space: nowrap; flex: none; }
.bw-af-som { display: flex; justify-content: space-between; margin: 0 0 8px; font-weight: 750; }
.bw-af-som strong, .bw-bankgegevens dd { font-variant-numeric: tabular-nums; }
.bw-kenmerk { margin: 0 0 8px; }
.bw-hint { margin: 4px 0 8px; }
.bw-keuzes { display: grid; gap: 8px; }
.bw-keuzes .knop { width: 100%; }
.bw-dialoog .bw-momenten { margin: 0 0 8px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bw-dialoog .bw-momenten legend { width: 100%; margin: 0 0 6px; padding: 0; font-weight: 650; }
.bw-moment { position: relative; cursor: pointer; }
.bw-moment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bw-moment span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--rand); font-weight: 650; }
.bw-moment input:checked + span { background: var(--zee); border-color: var(--zee); color: var(--wit); }
.bw-moment input:focus-visible + span { outline: 3px solid var(--zee-donker); outline-offset: 2px; }
.bw-bank { padding: 14px; border-radius: 12px; background: var(--zee-licht); }
.bw-qr { width: min(220px, 70vw); margin: 0 auto 8px; }
.bw-qr svg { display: block; width: 100%; height: auto; border-radius: 8px; }
.bw-bankgegevens { display: grid; gap: 8px; margin: 10px 0 0; }
.bw-bankgegevens div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 8px; align-items: center; }
.bw-bankgegevens dt { font-size: .85rem; color: var(--tekst-zacht); }
.bw-bankgegevens dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; overflow-wrap: anywhere; }
.bw-kopie { min-height: 44px; padding: 4px 10px; border: 1px solid var(--rand); border-radius: 999px; background: var(--wit); color: var(--zee); font: 600 .82rem/1 var(--font); cursor: pointer; }
.bw-contant { margin: 0; }
.bw-privacy { margin: 4px 0 0; }

@media (min-width: 600px) {
  .bw-schap { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
  .bw-kraam { padding: 18px; }
}
@media (min-width: 900px) {
  .bw-mandje { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  html.bw-heeft-mandje body { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .bw-mandje.is-stoot, .bw-kaart.is-gewezen { animation: none; }
}
html.lg-rustig .bw-mandje.is-stoot, html.lg-rustig .bw-kaart.is-gewezen { animation: none; }

@media print {
  .bw-balk, .bw-mandje, .bw-dialoog, .bw-sprong, .bw-naar, .bw-erbij, .bw-aantal, .bw-voetnoot { display: none !important; }
  .bw-kraam, .bw-kaart { break-inside: avoid; box-shadow: none; }
}
