/* Bestelpagina en volgpagina: volgt de huisstijl van de website (stijl.php: --mms-*). */
.bs { margin: 0; background: var(--mms-achtergrond, #fff); color: var(--mms-tekst, #1a1a1a); font: 16px/1.5 var(--mms-font-tekst, system-ui, sans-serif); -webkit-font-smoothing: antialiased; }
.bs *, .bs *::before, .bs *::after { box-sizing: border-box; }
.bs h1, .bs h2, .bs h3 { font-family: var(--mms-font-kop, inherit); text-transform: var(--mms-kop-hoofdletters, none); line-height: 1.15; margin: 0 0 .4em; }
.bs button, .bs input, .bs select { font: inherit; color: inherit; }
.bs-kop { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1rem; background: var(--mms-achtergrond, #fff); border-bottom: 1px solid var(--mms-lijn, #ddd); }
.bs-terug { color: var(--mms-tekst); text-decoration: none; font-weight: 700; }
.bs-acc { color: inherit; background: none; border: 1px solid var(--mms-lijn, #ccc); border-radius: 999px; padding: .4rem .9rem; cursor: pointer; }
.bs-main { max-width: 820px; margin: 0 auto; padding: 1rem 1rem 6rem; }
.bs-intro { margin: .5rem 0 1rem; } .bs-intro h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); } .bs-intro p { color: var(--mms-zacht, #555); margin: 0; }
.bs-stap { background: var(--mms-vlak, #f4f4f2); border-radius: calc(var(--mms-radius, 8px) + 4px); padding: 1rem; margin-bottom: 1rem; }
.bs-wissel { display: inline-flex; background: var(--mms-achtergrond, #fff); border: 1px solid var(--mms-lijn, #ddd); border-radius: 999px; padding: 3px; margin-bottom: .8rem; }
.bs-wissel button { border: 0; background: none; padding: .55rem 1.3rem; border-radius: 999px; font-weight: 600; cursor: pointer; min-height: 44px; }
.bs-wissel button[aria-pressed=true] { background: var(--mms-accent, #c00); color: var(--mms-op-accent, #fff); }
.bs-adres { display: grid; grid-template-columns: 1.3fr 1fr .7fr auto; gap: .5rem; align-items: end; }
.bs label { display: block; font-size: .9rem; font-weight: 600; }
.bs label input, .bs label select { display: block; width: 100%; margin-top: .25rem; min-height: 46px; padding: .55rem .7rem; border: 1px solid var(--mms-lijn, #ccc); border-radius: var(--mms-radius, 8px); background: var(--mms-achtergrond, #fff); font-weight: 400; }
.bs-knop { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .6rem 1.2rem; border: 0; border-radius: var(--mms-radius, 8px); background: var(--mms-accent, #c00); color: var(--mms-op-accent, #fff); font-weight: 700; cursor: pointer; }
.bs-knop:disabled { opacity: .5; cursor: default; } .bs-breed { width: 100%; }
.bs-link { background: none; border: 0; padding: 0; color: var(--mms-accent, #c00); text-decoration: underline; cursor: pointer; }
.bs-tijd { margin-top: .8rem; } .bs-klein { font-size: .9rem; color: var(--mms-zacht, #666); margin: .4rem 0; }
.bs-ok { color: #1f7a3f; font-weight: 600; margin: .6rem 0 0; } .bs-fout { color: #b3261e; font-weight: 600; margin: .5rem 0; }
.bs-melding { padding: 1rem; border-radius: var(--mms-radius, 8px); background: var(--mms-vlak, #f4f4f2); margin: .5rem 0; }
.bs-cats { position: sticky; top: 56px; z-index: 10; display: flex; gap: .4rem; overflow-x: auto; padding: .5rem 0; background: var(--mms-achtergrond, #fff); scrollbar-width: none; }
.bs-cats a { flex: none; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--mms-lijn, #ddd); color: var(--mms-tekst); text-decoration: none; font-weight: 600; font-size: .92rem; }
.bs-cat { scroll-margin-top: 110px; margin: 1.2rem 0; } .bs-cat h2 { font-size: 1.35rem; }
.bs-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .6rem; }
.bs-prod { position: relative; display: flex; gap: .8rem; align-items: stretch; text-align: left; width: 100%; padding: .8rem; border: 1px solid var(--mms-lijn, #ddd); border-radius: calc(var(--mms-radius, 8px) + 2px); background: var(--mms-achtergrond, #fff); cursor: pointer; }
.bs-prod:hover { border-color: var(--mms-accent, #c00); } .bs-prod.uit { opacity: .55; cursor: default; }
.bs-pt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; } .bs-pt span { color: var(--mms-zacht, #666); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bs-pt em { font-style: normal; font-weight: 700; margin-top: auto; padding-top: .3rem; }
.bs-prod img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--mms-radius, 8px); flex: none; }
.bs-plus { position: absolute; right: .6rem; bottom: .6rem; width: 30px; height: 30px; border-radius: 50%; background: var(--mms-accent, #c00); color: var(--mms-op-accent, #fff); display: grid; place-items: center; font-style: normal; font-weight: 700; }
.bs-prod img + .bs-plus { right: .9rem; bottom: .9rem; }
.bs-balk { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--mms-achtergrond, #fff) 30%); }
.bs-balk button { display: flex; align-items: center; gap: .8rem; width: 100%; max-width: 820px; margin: 0 auto; min-height: 54px; padding: .7rem 1.1rem; border: 0; border-radius: var(--mms-radius, 8px); background: var(--mms-accent, #c00); color: var(--mms-op-accent, #fff); font-weight: 700; font-size: 1.05rem; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.bs-balk #bs-mandaantal { background: rgba(255,255,255,.25); border-radius: 999px; min-width: 1.8rem; padding: .1rem .5rem; } .bs-balk b { margin-left: auto; }
.bs-dlg { width: min(560px, 100vw); max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: calc(var(--mms-radius, 8px) + 6px); background: var(--mms-achtergrond, #fff); color: var(--mms-tekst, #1a1a1a); }
.bs-dlg::backdrop { background: rgba(0,0,0,.5); }
.bs-dlg-in { display: flex; flex-direction: column; max-height: min(92vh, 900px); }
.bs-dk { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem .6rem; border-bottom: 1px solid var(--mms-lijn, #ddd); } .bs-dk h2 { margin: 0; font-size: 1.3rem; }
.bs-sluit { border: 0; background: var(--mms-vlak, #eee); width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; flex: none; }
.bs-db { padding: 1rem; overflow-y: auto; flex: 1; }
.bs-dv { display: flex; gap: .7rem; padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--mms-lijn, #ddd); } .bs-dv .bs-knop { flex: 1; }
.bs-dfoto { width: 100%; max-height: 240px; object-fit: cover; border-radius: var(--mms-radius, 8px); margin-bottom: .6rem; }
.bs-groep { border: 0; padding: 0; margin: 0 0 1rem; } .bs-groep legend { font-weight: 700; padding: 0 0 .3rem; font-size: 1.02rem; } .bs-groep legend small { font-weight: 400; color: var(--mms-zacht, #666); }
.bs-opt { display: flex !important; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--mms-lijn, #e5e5e5); font-weight: 400 !important; cursor: pointer; }
.bs .bs-opt input { width: 22px; height: 22px; margin: 0; padding: 0; flex: none; accent-color: var(--mms-accent, #c00); min-height: 0; display: inline-block; }
.bs-opt span { flex: 1; } .bs-opt em { font-style: normal; color: var(--mms-zacht, #666); white-space: nowrap; } .bs-opt.uit { opacity: .5; }
.bs-sub { margin: .2rem 0 .4rem 2rem; } .bs-sub .bs-groep { margin: .4rem 0; } .bs-sub legend { font-size: .95rem; }
.bs-opm { margin-top: .4rem; }
.bs-aantal { display: flex; align-items: center; border: 1px solid var(--mms-lijn, #ccc); border-radius: var(--mms-radius, 8px); }
.bs-aantal button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; } .bs-aantal output { min-width: 1.8rem; text-align: center; font-weight: 700; }
.bs-mand { list-style: none; margin: 0; padding: 0; } .bs-mand li { display: flex; gap: 1rem; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--mms-lijn, #e5e5e5); }
.bs-mand li span { display: block; color: var(--mms-zacht, #666); font-size: .9rem; } .bs-mand em { font-style: normal; font-weight: 700; white-space: nowrap; }
.bs-mk button { background: none; border: 0; padding: .3rem .8rem .3rem 0; color: var(--mms-accent, #c00); text-decoration: underline; cursor: pointer; font-size: .9rem; }
.bs-som dl { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; margin: .8rem 0; } .bs-som dd { margin: 0; text-align: right; } .bs-som .t { font-weight: 800; font-size: 1.1rem; }
.bs-kassa { display: grid; gap: .7rem; margin-top: .8rem; } .bs-kassa h3 { margin: .4rem 0 0; } .bs-c { text-align: center; }
.bs-eerder { list-style: none; padding: 0; margin: 0; } .bs-eerder li { display: flex; gap: .8rem; justify-content: space-between; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--mms-lijn, #e5e5e5); }
.bs-eerder span { display: block; color: var(--mms-zacht, #666); font-size: .9rem; } .bs-eerder a { font-size: .9rem; color: var(--mms-accent); }
.bs-laden { color: var(--mms-zacht, #666); }
@media (max-width: 600px) {
  .bs-adres { grid-template-columns: 1fr 1fr; } .bs-adres label:nth-child(3) { grid-column: 1; } .bs-adres .bs-knop { grid-column: 2; }
  .bs-dlg { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; } .bs-dlg-in { max-height: 100dvh; height: 100%; }
  .bs-prod img { width: 80px; height: 80px; }
}
/* Volgpagina */
.bs-volg { max-width: 640px; margin: 0 auto; padding: 1.2rem 1rem 3rem; }
.bs-status { background: var(--mms-vlak, #f4f4f2); border-radius: calc(var(--mms-radius, 8px) + 4px); padding: 1.2rem; margin: .8rem 0 1.2rem; }
.bs-status .groot { font-size: clamp(1.5rem, 6vw, 2.2rem); font-weight: 800; font-family: var(--mms-font-kop, inherit); line-height: 1.15; margin: 0 0 .3rem; }
.bs-stappen { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.bs-stappen li { display: flex; gap: .7rem; align-items: center; color: var(--mms-zacht, #777); } .bs-stappen li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--mms-lijn, #bbb); flex: none; }
.bs-stappen li.klaar { color: var(--mms-tekst); } .bs-stappen li.klaar::before { background: var(--mms-accent, #c00); border-color: var(--mms-accent, #c00); }
.bs-stappen li.nu { color: var(--mms-tekst); font-weight: 700; } .bs-stappen li.nu::before { border-color: var(--mms-accent, #c00); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mms-accent, #c00) 25%, transparent); }
.bs-eta { font-size: 1.15rem; margin: .4rem 0 0; }
