/* ==========================================================================
   Bader – bestelmodule: menu, winkelmand, afhalen & gegevens, bevestiging.
   ========================================================================== */

/* Feiten onder de introductie ----------------------------------------------- */
.facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.fact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 14px;
	font-weight: 600;
}
.fact i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }

.noscript {
	background: var(--card);
	border: 1.5px solid var(--red);
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 22px;
}
.noscript b { display: block; }

/* Stappen ------------------------------------------------------------------- */
.steps { display: flex; gap: 6px; margin: 6px 0 22px; padding: 0; list-style: none; flex-wrap: wrap; }
.steps li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
	padding: 6px 12px 6px 6px;
	border-radius: 999px;
}
.steps li span {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 2px solid var(--line);
	font-size: 13px;
	background: var(--card);
}
.steps li.on { color: var(--ink); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.steps li.on span { background: var(--red); border-color: var(--red); color: #fff; }
.steps li.done span { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 560px) {
	.steps { flex-wrap: nowrap; gap: 2px; }
	.steps li:not(.on) { font-size: 0; gap: 0; padding: 6px; }
	.steps li:not(.on) span { font-size: 13px; }
}

/* Indeling ------------------------------------------------------------------ */
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; align-items: start; padding-bottom: 60px; }
.grid.is-done { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* Zoeken en categorieën ----------------------------------------------------- */
.toolbar {
	position: sticky;
	top: var(--top);
	z-index: 20;
	background: var(--paper);
	padding-block: 10px;
	margin-bottom: 6px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.search {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--card);
	border: 1.5px solid var(--line);
	border-radius: 12px;
	padding: 0 14px;
}
.search:focus-within { border-color: var(--ink); }
.search input { border: 0; outline: 0; background: transparent; padding: 12px 0; width: 100%; font-size: 16px; }
.search svg { flex: none; color: var(--muted); }
.chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 0 28px 2px 0;
	/* Zachte vervaging rechts: er is meer als je doorscrolt. */
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
	flex: none;
	border: 1.5px solid var(--line);
	background: var(--card);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Standaard broodje --------------------------------------------------------- */
.pref {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	background: var(--ink);
	color: #fff;
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 22px;
}
.pref-lbl { font-size: 14px; line-height: 1.3; margin-right: auto; min-width: 180px; }
.pref-lbl b { display: block; font-size: 15px; }
.pref-lbl small { color: #BDB7B1; }
.pref select {
	background: var(--ink-2);
	border: 1px solid #4A4540;
	color: #fff;
	border-radius: 10px;
	padding: 8px 10px;
	font-weight: 600;
}
@media (max-width: 560px) { .pref select { flex: 1 1 100%; } }
.tog { display: inline-flex; background: var(--ink-2); border: 1px solid #4A4540; border-radius: 10px; padding: 3px; }
.tog button { border: 0; background: transparent; color: #D9D4CF; padding: 5px 12px; border-radius: 7px; font-weight: 600; font-size: 14px; }
.tog button.on { background: #fff; color: var(--ink); }

/* Menu ---------------------------------------------------------------------- */
.cat { margin-bottom: 30px; scroll-margin-top: calc(var(--top) + 130px); }
.cat-h {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 3px solid var(--ink);
	padding-bottom: 6px;
	margin-bottom: 4px;
}
.cat-h h2 {
	font-family: var(--display);
	font-weight: 400;
	font-size: 28px;
	text-transform: uppercase;
	margin: 0;
	letter-spacing: .02em;
	line-height: 1.1;
}
.cat-h p { margin: 0; color: var(--muted); font-size: 14px; text-align: right; }
@media (max-width: 560px) {
	.cat-h { flex-direction: column; align-items: flex-start; gap: 2px; }
	.cat-h p { text-align: left; }
}
.item { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.item-main { flex: 1; min-width: 0; }
/* Namen breken netjes af (met afbreekstreepje) in plaats van over de prijs heen te lopen. */
.item-name { font-weight: 700; font-size: 17px; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
.item-sub { color: var(--muted); font-size: 14px; }
.tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 1px 7px;
	border-radius: 4px;
	margin-left: 2px;
	vertical-align: 2px;
}
.tag.warm { background: var(--red-soft); color: var(--red-dark); }
.tag.fav { background: #EDEAE6; color: var(--ink); }
/* Vaste, rechts uitgelijnde prijskolom: alle prijzen staan precies onder elkaar. */
.price {
	flex: none;
	min-width: 4.4em;
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
	font-size: 15px;
}
/* Knoppen rechts in een vak van vaste breedte (broodjes én −/+-tellers), zodat de
   prijskolom door de hele lijst gelijk loopt. */
.acts { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: none; min-width: 168px; }
/* Aantal in je bestelling: een bolletje op de +-knop, zodat er niets verschuift. */
.inCart {
	position: absolute;
	top: -8px;
	right: -8px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 2px solid var(--paper);
	border-radius: 999px;
	background: var(--ok);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	display: grid;
	place-items: center;
	font-variant-numeric: tabular-nums;
}
.btn-ghost { border: 1.5px solid var(--line); background: var(--card); border-radius: 10px; padding: 7px 12px; font-size: 14px; font-weight: 600; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-add {
	position: relative;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 0;
	background: var(--red);
	color: #fff;
	display: grid;
	place-items: center;
	transition: transform .12s, background .12s;
}
.btn-add:hover { background: var(--red-dark); }
.btn-add:active { transform: scale(.92); }
@media (max-width: 520px) {
	.btn-ghost.cust { padding: 7px 9px; }
	.btn-ghost.cust span { display: none; }
	.item-name { font-size: 16px; }
	.acts { min-width: 100px; }
}
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); }
.stepper button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 20px; line-height: 1; font-weight: 600; color: var(--ink); }
.stepper button:hover { color: var(--red); }
.stepper button:disabled { color: #C9C3BD; cursor: default; }
.stepper output { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
/* Drinken en fruit: kolommen van minstens 300px, zodat naam, prijs en teller naast elkaar passen. */
.small-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 32px; }
@media (min-width: 521px) {
	/* Met twee kolommen heeft elke kolom zijn eigen prijskolom; op mobiel (één kolom) gelijk aan de rest. */
	.small-grid .item { gap: 12px; }
	.small-grid .acts { min-width: 0; }
}
.empty-search { padding: 30px 0; color: var(--muted); text-align: center; }

/* Winkelmand ---------------------------------------------------------------- */
/* De kolom is net zo hoog als het menu, zodat de mand tijdens het scrollen in beeld blijft. */
@media (min-width: 981px) { .cart-wrap { align-self: stretch; } }
.cart {
	position: sticky;
	top: calc(var(--top) + 16px);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 30px -18px rgba(27, 25, 23, .35);
}
.cart-h { background: var(--ink); color: #fff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.cart-h h3 { font-family: var(--display); font-weight: 400; font-size: 22px; text-transform: uppercase; margin: 0; letter-spacing: .03em; }
.cart-h-acts { display: flex; gap: 14px; align-items: center; }
.cart-h button { background: transparent; border: 0; color: #BDB7B1; font-size: 13px; text-decoration: underline; }
.cart-h button:hover { color: #fff; }
.cart-h .x { background: #EFECE9; color: var(--ink); text-decoration: none; font-size: 20px; }
.cart-body { max-height: min(46vh, 440px); overflow-y: auto; padding: 4px 18px; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.line:last-child { border-bottom: 0; }
.line-name { font-weight: 700; line-height: 1.25; }
.line-meta { font-size: 13px; color: var(--muted); grid-column: 1; }
.line-note { font-size: 13px; color: var(--red-dark); font-style: italic; }
.line-price { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.line .stepper { grid-column: 2; grid-row: 2 / span 2; justify-self: end; align-self: start; }
.line .stepper button { width: 30px; height: 30px; font-size: 18px; }
.cart-empty { padding: 30px 6px; text-align: center; color: var(--muted); font-size: 15px; }
.cart-empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.cart-f { padding: 14px 18px 18px; border-top: 1px solid var(--line); background: #FAF9F8; }
.sumrow { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sumrow.total { font-size: 20px; color: var(--ink); font-weight: 700; margin-top: 6px; }
.cta {
	width: 100%;
	margin-top: 14px;
	border: 0;
	border-radius: 12px;
	background: var(--red);
	color: #fff;
	padding: 15px;
	font-weight: 700;
	font-size: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: background .15s;
}
.cta:hover { background: var(--red-dark); }
.cta:disabled { background: #C9C3BD; cursor: not-allowed; }
.cta[aria-busy="true"] { cursor: progress; }
/* Tweede knop (eigen broodjes van de organisator): de hoofdknop is "Afronden en betalen". */
.cta.cta-licht { background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); padding: 11px; font-size: 15px; margin-top: 10px; }
.cta.cta-licht:hover { background: #F3F1EE; }
.cta.cta-licht:disabled { background: var(--card); border-color: var(--line); color: var(--muted); }
.pickup-mini { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.pickup-mini:empty { display: none; }
.repeat {
	margin: 12px 18px 0;
	display: flex;
	gap: 12px;
	align-items: center;
	border: 1.5px dashed var(--line);
	border-radius: 12px;
	padding: 10px 12px;
	font-size: 14px;
	background: transparent;
	width: calc(100% - 36px);
	text-align: left;
}
.repeat:hover { border-color: var(--ink); }
.repeat b { display: block; }
.repeat span { color: var(--muted); font-size: 13px; }

/* Mobiel: winkelmand als paneel van onderen --------------------------------- */
.mbar { display: none; }
.close-cart { display: none; }
@media (max-width: 980px) {
	.cart-wrap {
		position: fixed;
		inset: 0;
		z-index: 60;
		background: rgba(27, 25, 23, .5);
		display: flex;
		align-items: flex-end;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .2s, visibility 0s linear .2s;
	}
	.cart-wrap.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .2s; }
	.cart-wrap .cart {
		position: relative;
		top: 0;
		width: 100%;
		border-radius: 20px 20px 0 0;
		max-height: 88vh;
		display: flex;
		flex-direction: column;
		transform: translateY(30px);
		transition: transform .2s;
		overscroll-behavior: contain;
	}
	.cart-wrap.open .cart { transform: none; }
	.cart-body { max-height: none; flex: 1; }
	.cart-f { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
	.mbar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: var(--paper);
		border-top: 1px solid var(--line);
	}
	.mbar button {
		width: 100%;
		border: 0;
		border-radius: 14px;
		background: var(--red);
		color: #fff;
		padding: 14px 18px;
		font-weight: 700;
		font-size: 16px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.mbar .cnt { background: #fff; color: var(--red); border-radius: 999px; padding: 0 9px; margin-right: 8px; font-variant-numeric: tabular-nums; }
	.has-bestel-app { padding-bottom: 90px; }
	.close-cart { display: inline-block !important; }
}

/* Broodje aanpassen (venster) ----------------------------------------------- */
.modal {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(27, 25, 23, .55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .18s, visibility 0s linear .18s;
}
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .18s; }
.sheet {
	background: var(--card);
	border-radius: 20px;
	width: 100%;
	max-width: 480px;
	max-height: 92vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateY(12px) scale(.98);
	transition: transform .18s;
}
.modal.open .sheet { transform: none; }
.sheet-h { padding: 22px 22px 6px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sheet-h h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.05; margin: 0; text-transform: uppercase; }
.sheet-h p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.x { border: 0; background: #EFECE9; width: 36px; height: 36px; border-radius: 50%; flex: none; font-size: 20px; line-height: 1; }
.sheet-b { padding: 10px 22px 22px; display: flex; flex-direction: column; gap: 18px; }
.fld-lbl {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 8px;
	display: block;
}
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 12px; text-align: left; line-height: 1.2; }
.opt b { display: block; font-size: 15px; }
.opt span { font-size: 13px; color: var(--muted); }
.opt.on { border-color: var(--red); background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red); }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 12px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 8px 18px; border-radius: 9px; font-weight: 600; }
.seg button.on { background: var(--ink); color: #fff; }
.row2 { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.row2 .seg, .row2 .stepper { height: 48px; box-sizing: border-box; }
.row2 .seg button { height: 100%; padding-block: 0; }
.row2 .stepper button { height: 100%; width: 42px; }
.sheet-h .m-prijs { display: block; margin-top: 2px; color: var(--ink); font-weight: 700; }
input.txt, select.txt, textarea.txt {
	width: 100%;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	padding: 11px 13px;
	background: var(--card);
	font-size: 16px;
}
input.txt:focus, select.txt:focus, textarea.txt:focus { outline: 0; border-color: var(--ink); }
textarea.txt { resize: vertical; min-height: 70px; }

/* Afhalen & gegevens -------------------------------------------------------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 18px; }
.panel h2 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; margin: 0 0 4px; letter-spacing: .02em; }
.panel > p.hint { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .locs { grid-template-columns: 1fr; } }
.loc { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; text-align: left; background: var(--card); line-height: 1.35; }
.loc b { font-size: 18px; display: block; }
.loc span { font-size: 14px; color: var(--muted); display: block; }
.loc.on { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: var(--red-soft); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day { flex: none; width: 76px; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 4px; text-align: center; background: var(--card); line-height: 1.15; }
.day small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.day b { display: block; font-size: 22px; font-family: var(--display); font-weight: 400; margin: 2px 0; }
.day span { font-size: 12px; color: var(--muted); }
.day.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.day.on small, .day.on span { color: #D9D4CF; }
.day:disabled { opacity: .4; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 14px; }
.time { border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 0; background: var(--card); font-weight: 600; font-variant-numeric: tabular-nums; }
.time.on { background: var(--red); border-color: var(--red); color: #fff; }
.time:disabled { text-decoration: line-through; color: #B8B1AA; background: #F6F5F3; cursor: not-allowed; }
.time.vol:disabled { text-decoration: none; background: repeating-linear-gradient(-45deg, #F6F5F3 0 6px, #ECE9E5 6px 12px); }
.times-empty { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.note-lead {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: #F3F1EE;
	border-radius: 12px;
	padding: 10px 14px;
	font-size: 14px;
	color: var(--ink-2);
	margin-top: 14px;
}
.note-lead svg { flex: none; margin-top: 1px; }
.note-big { background: var(--red-soft); color: var(--red-dark); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.fg label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.fg label em { font-style: normal; color: var(--muted); font-weight: 400; }
.fg .err { color: var(--red); font-size: 13px; margin-top: 4px; }
.fg.bad input { border-color: var(--red); }
/* Betalen: altijd direct online. */
.betaal-info {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 10px;
	padding: 14px 16px;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	background: #FAF9F8;
}
.betaal-info svg { flex: none; color: var(--ok); margin-top: 1px; }
.betaal-info p { margin: 0; line-height: 1.4; }
.betaal-info b { display: block; }
.betaal-info span { font-size: 14px; color: var(--muted); }
.betaal-test { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: #FCF3D9; color: #6B4E00; font-size: 14px; }
.betaal-melding {
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--red-soft);
	color: var(--red-dark);
	font-size: 15px;
}
.betaal-melding b { display: block; }
#view-checkout:focus { outline: none; }
.back { background: transparent; border: 0; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 14px; display: inline-flex; gap: 6px; align-items: center; }
.back:hover { color: var(--ink); }
.remember { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--red); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkout-submit { display: none; }
.privacy-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.privacy-note a { color: inherit; }
@media (max-width: 980px) {
	.checkout-submit { display: block; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
	.checkout-submit .sumrow.total { margin-top: 0; }
}

/* Bevestiging --------------------------------------------------------------- */
.done-hero { background: var(--ink); color: #fff; border-radius: 20px; padding: 30px 26px; margin-bottom: 22px; position: relative; overflow: hidden; }
.done-hero .check { width: 54px; height: 54px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; margin-bottom: 14px; }
.done-hero h2 {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(30px, 4.5vw, 44px);
	text-transform: uppercase;
	line-height: 1;
	margin: 0 0 10px;
	text-wrap: balance;
}
.done-hero p { margin: 0; color: #D9D4CF; font-size: 17px; max-width: 56ch; }
.done-hero p b { color: #fff; }
.ordno {
	display: inline-block;
	margin-top: 16px;
	font-family: var(--mono);
	background: #fff;
	color: var(--ink);
	padding: 5px 12px;
	border-radius: 6px;
	font-weight: 700;
	letter-spacing: .05em;
}
.done-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .done-grid { grid-template-columns: minmax(0, 1fr); } }
.side-note { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.side-note b { color: var(--ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.why { display: flex; flex-direction: column; gap: 12px; }
.why div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.why b { display: block; margin-bottom: 2px; }
.why span { color: var(--muted); font-size: 15px; }
.why a { color: var(--red); font-weight: 700; }
/* Bevestiging na een groepsbestelling: zelfde ruimte boven als bij een gewone bestelling. */
.is-groep #view-done { padding-top: 26px; }
/* Bon downloaden, onder de bestelbon. */
.btn-bon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	border: 1.5px solid var(--ink);
	border-radius: 12px;
	background: var(--card);
	color: var(--ink);
	padding: 10px 16px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: background .15s, color .15s;
}
.btn-bon:hover { background: var(--ink); color: #fff; }

/* Melding onderin ----------------------------------------------------------- */
.toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translate(-50%, 20px);
	background: var(--ink);
	color: #fff;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	opacity: 0;
	transition: opacity .2s, transform .2s;
	z-index: 90;
	pointer-events: none;
	max-width: calc(100vw - 32px);
	width: max-content;
	text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 980px) {
	.toast { bottom: 96px; }
	/* Winkelmand open: melding bovenin, zodat hij de knoppen niet afdekt. */
	.cart-open .toast { top: calc(var(--top) + 14px); bottom: auto; transform: translate(-50%, -20px); }
	.cart-open .toast.show { transform: translate(-50%, 0); }
}

/* Samen bestellen ----------------------------------------------------------- */
.samen { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.samen > span { color: var(--muted); font-size: 14px; max-width: 48ch; }
.btn-samen {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1.5px solid var(--ink);
	background: var(--card);
	color: var(--ink);
	border-radius: 12px;
	padding: 11px 16px;
	font-weight: 700;
	font-size: 16px;
	transition: background .15s, color .15s;
}
.btn-samen:hover { background: var(--ink); color: #fff; }

.link { border: 0; background: none; padding: 0; color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.link:hover { color: var(--red-dark); }
.groep-tip {
	margin: 0 0 14px;
	padding: 10px 14px;
	background: var(--card);
	border: 1.5px dashed var(--line);
	border-radius: 12px;
	font-size: 15px;
	color: var(--ink-2);
}
.groep-stappen { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: stap; display: grid; gap: 10px; }
.groep-stappen li { counter-increment: stap; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.groep-stappen li::before {
	content: counter(stap);
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 13px;
}
.panel > p.hint.groep-mand { margin: 14px 0 0; padding: 10px 14px; background: var(--ok-soft); color: var(--ok); border-radius: 10px; font-weight: 600; }
.groep-krap { margin: 10px 0 0; color: var(--red-dark); font-size: 14px; font-weight: 600; }

/* Groepsbanner */
.groep { padding-block: 26px 22px; }
.groep-kop {
	background: var(--ink);
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 28px 28px;
	color: #fff;
	border-radius: 20px;
	padding: 28px 26px;
}
.groep-kop .check { width: 48px; height: 48px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; margin-bottom: 14px; }
.groep-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #BDB7B1; }
.groep-kop h1 {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(32px, 5vw, 54px);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .01em;
	margin: 0 0 12px;
	text-wrap: balance;
}
.groep-kop h1 span { color: #F28B82; }
.groep-tekst { margin: 0; color: #D9D4CF; font-size: 17px; max-width: 62ch; }
.groep-tekst b { color: #fff; }
.groep-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.aftellen, .chip-donker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: 700;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.aftellen i { width: 8px; height: 8px; border-radius: 50%; background: #7BD88F; }
.aftellen.bijna { background: var(--red); }
.aftellen.bijna i { background: #fff; }
.groep-kop .btn-wit { margin-top: 18px; }

.delen { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 12px; }
.delen-titel { margin: 0; font-weight: 700; font-size: 16px; }
.delen-titel span { display: block; font-weight: 400; font-size: 14px; color: #BDB7B1; }
.delen-link { display: flex; gap: 8px; }
.groep-kop .delen-link .btn-wit { margin-top: 0; }
.delen-link input {
	flex: 1;
	min-width: 0;
	border: 1px solid #4A4540;
	background: var(--ink-2);
	color: #fff;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 15px;
}
.btn-wit { border: 0; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; padding: 10px 14px; white-space: nowrap; }
.btn-wit:hover { background: #EFECE9; }
.btn-wit:disabled { opacity: .6; cursor: progress; }
.delen-knoppen { display: flex; flex-wrap: wrap; gap: 8px; }
.deel-knop {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #4A4540;
	background: transparent;
	color: #fff;
	border-radius: 10px;
	padding: 8px 12px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}
.deel-knop:hover { border-color: #fff; color: #fff; }
.beheer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 14px;
	color: #D9D4CF;
}
.beheer label { display: inline-flex; align-items: center; gap: 8px; }
.beheer select { background: var(--ink-2); border: 1px solid #4A4540; color: #fff; border-radius: 10px; padding: 7px 10px; font-weight: 600; }
.beheer .rechts { margin-left: auto; display: inline-flex; gap: 16px; align-items: center; }
.link-licht { border: 0; background: none; padding: 0; color: #BDB7B1; text-decoration: underline; text-underline-offset: 2px; font-size: 14px; }
.link-licht:hover { color: #fff; }

/* Wie doen er mee? */
.groep-lijst { padding: 18px 22px; }
.groep-lijst-kop { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.groep-lijst-kop h2 { margin: 0; font-size: 24px; }
.groep-lijst-kop span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.deelnemers { list-style: none; margin: 12px 0 0; padding: 0; }
.deelnemer { padding: 10px 0; border-top: 1px solid var(--line); }
.deelnemer.eigen { background: linear-gradient(90deg, var(--ok-soft), transparent 60%); margin-inline: -22px; padding-inline: 22px; }
.deelnemer-kop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.deelnemer-kop b { font-size: 16px; }
.deelnemer-som { margin-left: auto; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 1px 7px;
	border-radius: 4px;
	background: #EDEAE6;
	color: var(--ink);
}
.badge-jij { background: var(--ok); color: #fff; }
.deelnemer-regels { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.deelnemer-regels span { color: var(--muted); }
.deelnemer-regels .vervallen { text-decoration: line-through; color: var(--muted); }
.x-klein { border: 0; background: #EFECE9; width: 26px; height: 26px; border-radius: 50%; font-size: 16px; line-height: 1; color: var(--ink); }
.x-klein:hover { background: var(--red-soft); color: var(--red-dark); }
.groep-leeg { margin: 12px 0 0; color: var(--muted); }
.groep-namen { margin: 12px 0 0; color: var(--ink-2); }
.groep-lijst-knop { margin-top: 10px; font-size: 15px; }

/* Afronden en betalen (organisator), onderin de winkelmand */
.groep-afronden { margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--ink); }
.eigen-mand[hidden] + .groep-afronden { margin-top: 0; padding-top: 0; border-top: 0; }
.groep-afronden-kop { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; font-size: 14px; color: var(--muted); }
.groep-afronden-kop b { color: var(--ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.groep-afronden .sumrow.total { margin-top: 2px; }
.alleen-smal { display: none; }
@media (max-width: 980px) {
	.alleen-breed { display: none; }
	.alleen-smal { display: inline; }
}
.groep-kop .beheer-los { display: flex; gap: 16px; margin-top: 16px; }

/* Wachten op de bevestiging van de betaling */
.done-hero.wachten .btn-wit { margin-top: 18px; }
.laden {
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, .2);
	border-top-color: #fff;
	animation: laden 0.9s linear infinite;
}
@keyframes laden { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .laden { animation-duration: 3s; } }

/* Naam in de winkelmand */
.groep-naam { margin-bottom: 12px; }
.groep-naam label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.groep-naam label em { font-style: normal; color: var(--muted); font-weight: 400; }
.groep-naam.bad input { border-color: var(--red); }

@media (max-width: 560px) {
	.groep-kop { padding: 22px 18px; border-radius: 16px; }
	.delen-link { flex-direction: column; }
	.beheer .rechts { margin-left: 0; }
	.groep-lijst { padding: 16px; }
	.deelnemer.eigen { margin-inline: -16px; padding-inline: 16px; }
}

/* Keuzelijsten: eigen pijltje, op dezelfde afstand van de rand als de tekst. */
select.txt,
.pref select,
.beheer select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' fill='none' stroke='%231B1917' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	padding-right: 40px;
	cursor: pointer;
}
.pref select,
.beheer select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' fill='none' stroke='%23D9D4CF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); padding-right: 36px; background-position: right 12px center; }
