/*
 * Winkel on the site. Takes fonts and colours from the theme; a theme tunes it with these variables on .winkel (or :root):
 *   --winkel-breedte  max width                --winkel-knop / --winkel-knop-tekst  button: fill and text (default: an outline)
 *   --winkel-rond     corner radius            --winkel-lijn / --winkel-zacht       lines and soft fills
 *   --winkel-kopletter  font of names and titles
 * Podium passes its own (accent, line, surface, fonts) in theme/podium/assets/thema.css.
 */
.winkel {
	--winkel-lijn: color-mix(in srgb, currentColor 22%, transparent);
	--winkel-zacht: color-mix(in srgb, currentColor 6%, transparent);
	--winkel-rond: 6px;
	--winkel-veld: 3em;
	--winkel-ruimte: clamp(16px, 3vw, 32px);
	max-width: var(--winkel-breedte, 1200px);
	margin-inline: auto;
	padding: var(--winkel-ruimte) 20px;
	box-sizing: border-box;
}
/* Not inherited: some themes put content-box on whatever sits in the content column. */
.winkel *, .winkel *::before, .winkel *::after { box-sizing: border-box; }
.winkel img { max-width: 100%; height: auto; }
.winkel :where(h2, h3) { font-family: var(--winkel-kopletter, inherit); }

.winkel-kop { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: var(--winkel-ruimte); }
/* Alone in the header: the cart button on the right, a back button on the left (like on a product page). */
.winkel-kop > .winkel-mandje-knop:only-child { margin-left: auto; }
/* Back (Verder winkelen, Alle producten, Naar je mandje): the same outlined button as the cart button. */
.winkel-terug { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 2.8em; padding: 0 1.2em; border: 1.5px solid currentColor; border-radius: 999px;
	text-decoration: none; font-weight: 700; font-size: 1.05rem; line-height: 1; color: inherit; transition: background .2s; }
.winkel-terug:hover, .winkel-terug:focus-visible { background: var(--winkel-zacht); }
/* The cart button: a clear button with the number in a filled circle. */
.winkel-mandje-knop { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; min-height: 2.8em; padding: 0 .55em 0 1.2em; border: 1.5px solid currentColor; border-radius: 999px;
	text-decoration: none; font-weight: 700; font-size: 1.05rem; line-height: 1; color: inherit; transition: background .2s, color .2s; }
.winkel-mandje-knop:hover, .winkel-mandje-knop:focus-visible { background: var(--winkel-zacht); }
.winkel-mandje-knop .winkel-aantal { min-width: 1.9em; height: 1.9em; background: var(--winkel-knop, #111); border-color: var(--winkel-knop, #111); color: var(--winkel-knop-tekst, #fff); }
.winkel-mandje-knop .winkel-aantal[hidden] { display: none; }
.winkel-mandje-knop:not(:has(.winkel-aantal:not([hidden]))) { padding-right: 1.2em; }
/* The number optically in the middle: line-height 1, and where the browser can, trimmed to the height of the digits (text-box), whatever the font. */
.winkel-aantal { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .45em; border-radius: 999px; font-size: .8em; line-height: 1; text-box: trim-both cap alphabetic; font-variant-numeric: tabular-nums;
	background: var(--winkel-knop, transparent); color: var(--winkel-knop-tekst, inherit); border: 1.5px solid var(--winkel-knop, currentColor); }
.winkel-aantal[hidden] { display: none; }
.winkel-titel { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 .3em; }
.winkel-melding { border-left: 3px solid currentColor; background: var(--winkel-zacht); padding: .8em 1em; margin: 0 0 var(--winkel-ruimte); }
.winkel-melding.is-fout, .winkel-fout { color: #d64545; }
.winkel-klein { font-size: .875em; opacity: .75; }
.winkel-verkoper { font-style: normal; font-size: .875em; line-height: 1.6; margin-top: var(--winkel-ruimte); padding-top: 1em; border-top: 1px solid var(--winkel-lijn); }
.winkel-verkoper span { display: block; opacity: .75; }
.winkel-verkoper a { color: inherit; }
.winkel-label { display: inline-block; font-size: .75em; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .2em .7em; border: 1px solid currentColor; border-radius: 999px; }

/* Buttons: an outline in the text colour, unless the theme gives a fill. Never black on black. */
.winkel-knop {
	display: inline-flex; align-items: center; justify-content: center; min-height: var(--winkel-veld);
	font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
	padding: 0 1.6em; border-radius: var(--winkel-rond);
	background: var(--winkel-knop, transparent); color: var(--winkel-knop-tekst, inherit);
	border: 1.5px solid var(--winkel-knop, currentColor);
	transition: transform .15s, background-color .15s;
}
.winkel-knop:hover { transform: translateY(-1px); background: var(--winkel-knop, var(--winkel-zacht)); }
/* A link as button ("Kies je maat"): the theme's link colour must not win over the button's. */
.winkel a.winkel-knop, .winkel a.winkel-knop:hover, .winkel a.winkel-knop:visited { color: var(--winkel-knop-tekst, inherit) !important; text-decoration: none !important; }
.winkel-knop-klein { min-height: 2.5em; padding: 0 1.1em; font-size: .9em; }
/* The big ones: In het mandje and Afrekenen. Also with a button class of the theme. */
.winkel .winkel-knop-groot { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4em; padding: 0 2.6em; font-size: 1rem;
	font-weight: 600; line-height: 1; text-box: trim-both cap alphabetic; letter-spacing: .04em; }
@media (max-width: 600px) { .winkel .winkel-knop-groot { width: 100%; } }
/* The text in the middle of the button, also when a theme hands in its own button class (inline-block, its own line height). */
.winkel .winkel-knop-klein { display: inline-flex; align-items: center; justify-content: center; line-height: 1; text-box: trim-both cap alphabetic; }
/* With a finger: every button at least 44px high (what a fingertip needs), also the small ones. */
@media (pointer: coarse), (max-width: 640px) { .winkel .winkel-knop-klein { min-height: 44px; } }
.winkel-knoppen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--winkel-ruimte); }
.winkel-link { font: inherit; font-size: .875em; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }

/* Fields: all the same height. */
.winkel-veld { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; min-width: 0; }
.winkel-veld > span { font-size: .875em; font-weight: 600; }
.winkel :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) {
	font: inherit; color: inherit; background: transparent; width: 100%; max-width: none; margin: 0;
	padding: 0 .8em; border: 1px solid var(--winkel-lijn); border-radius: var(--winkel-rond); box-shadow: none;
}
.winkel :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select) { height: var(--winkel-veld); line-height: normal; }
.winkel textarea { padding: .7em .8em; min-height: 6em; }
.winkel select option { color: initial; }
.winkel :is(input, select, textarea):focus { outline: 2px solid currentColor; outline-offset: 1px; }
.winkel-2 { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .winkel-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* All products */
.winkel-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--winkel-ruimte) clamp(12px, 2vw, 24px); }
.winkel-kaart { display: flex; flex-direction: column; gap: 4px; margin: 0; scroll-margin-top: 120px; }
.winkel-kaart-link { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.winkel-foto { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--winkel-rond); background: var(--winkel-zacht); margin-bottom: 8px; transition: opacity .2s; }
.winkel-kaart-link:hover .winkel-foto { opacity: .85; }
.winkel-kaart.is-uitverkocht .winkel-foto { opacity: .5; }
.winkel-naam { font-weight: 600; font-family: var(--winkel-kopletter, inherit); }
.winkel-ondertitel { font-size: .875em; opacity: .7; }
.winkel-prijs { opacity: .85; }
.winkel-kaart-koop { margin-top: 8px; }
.winkel-kaart-koop form { margin: 0; }
.winkel-net { margin: 0; font-size: .9em; }

/* One product */
.winkel-product { display: grid; gap: var(--winkel-ruimte) calc(var(--winkel-ruimte) * 1.5); }
@media (min-width: 800px) { .winkel-product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } .winkel-fotos { position: sticky; top: 100px; } }
.winkel-groot { position: relative; container-type: inline-size; }
.winkel-groot-knop { display: block; width: 100%; padding: 0; border: 0; background: var(--winkel-zacht); border-radius: var(--winkel-rond); overflow: hidden; cursor: zoom-in; line-height: 0; }
/* The whole photo, never cropped: as tall as it is, at most square. */
.winkel-grote-foto { display: block; width: 100%; height: auto; max-height: 100cqw; object-fit: contain; transition: opacity .25s ease; }
.winkel-grote-foto.is-weg { opacity: 0; }
.winkel-pijl { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgb(0 0 0 / .45); color: #fff; font-size: 28px; line-height: 40px; padding: 0; opacity: 0; transition: opacity .2s; }
.winkel-pijl.is-vorige { left: 12px; } .winkel-pijl.is-volgende { right: 12px; }
.winkel-groot:hover .winkel-pijl, .winkel-pijl:focus-visible { opacity: 1; }
@media (hover: none) { .winkel-pijl { opacity: 1; } }
.winkel-duimen { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.winkel-duimen li { margin: 0; }
.winkel-duimen button { padding: 0; border: 2px solid transparent; border-radius: var(--winkel-rond); background: none; cursor: pointer; line-height: 0; opacity: .7; transition: opacity .2s; }
.winkel-duimen button:hover, .winkel-duimen button[aria-current] { opacity: 1; }
.winkel-duimen button[aria-current] { border-color: currentColor; }
.winkel-duimen img { width: 72px; height: 72px; object-fit: cover; border-radius: calc(var(--winkel-rond) - 2px); display: block; }
.winkel-tekst .winkel-ondertitel { font-size: 1.05em; margin: 0 0 .8em; }
.winkel-tekst .winkel-prijs { font-size: 1.4em; opacity: 1; margin: 0 0 1em; }
.winkel-kort { font-size: 1.1em; }
.winkel-koop { margin: 1.5em 0 0; }
.winkel-koop-rij { display: flex; gap: 12px; align-items: end; }
.winkel-koop-rij .winkel-veld { margin: 0; }
.winkel-keuze-veld { flex: 1 1 auto; }
.winkel-aantal-veld { flex: 0 0 6.5em; }
.winkel-koop .winkel-klein { margin: .6em 0 0; }
/* Spacing by type, not by class: a theme can hand the button its own class (winkel_knop_klasse). */
.winkel-koop > [type="submit"] { margin-top: 14px; }
.winkel-koop .winkel-knop { width: 100%; }
.winkel-levering { list-style: none; margin: 1.2em 0 0; padding: 0; font-size: .875em; opacity: .8; }
.winkel-levering li { margin: 0 0 .3em; padding-left: 1.3em; position: relative; }
.winkel-levering li::before { content: '✓'; position: absolute; left: 0; }
.winkel-omschrijving { margin-top: 2em; }
.winkel-details { display: grid; grid-template-columns: max-content 1fr; gap: .35em 1.2em; margin: 1.5em 0 0; padding-top: 1em; border-top: 1px solid var(--winkel-lijn); font-size: .875em; }
.winkel-details dt { opacity: .7; margin: 0; }
.winkel-details dd { margin: 0; }
.winkel-details .winkel-details-los { grid-column: 1 / -1; }
.winkel-meer { margin-top: calc(var(--winkel-ruimte) * 2.5); padding-top: var(--winkel-ruimte); border-top: 1px solid var(--winkel-lijn); }
.winkel-meer-titel { font-size: 1.3em; margin: 0 0 1em; }

/* The large slideshow */
.winkel-lichtbak { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 10 10 / .96); color: #fff; overflow: hidden; }
.winkel-lichtbak::backdrop { background: rgb(0 0 0 / .8); }
.winkel-lichtbak[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; }
.winkel-lichtbak > img { max-width: calc(100vw - 140px); max-height: calc(100dvh - 150px); object-fit: contain; transition: opacity .25s ease; user-select: none; -webkit-user-drag: none; }
.winkel-lichtbak.is-een > img { max-height: calc(100dvh - 60px); }
.winkel-lichtbak > img.is-weg { opacity: 0; }
.winkel-lb-dicht, .winkel-lb-pijl { position: absolute; border: 0; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 44px; padding: 0; }
.winkel-lb-dicht:hover, .winkel-lb-pijl:hover { background: rgb(255 255 255 / .25); }
.winkel-lb-dicht { top: 16px; right: 16px; }
.winkel-lb-pijl { top: calc(50% - 45px); translate: 0 -50%; }
.winkel-lb-pijl.is-vorige { left: 16px; } .winkel-lb-pijl.is-volgende { right: 16px; }
.winkel-lichtbak.is-een .winkel-lb-pijl { display: none; }
.winkel-lb-teller { position: absolute; top: 28px; left: 24px; font-size: 14px; opacity: .8; }
.winkel-lb-duimen { list-style: none; margin: 0; padding: 12px 16px 16px; display: flex; gap: 8px; max-width: 100vw; overflow-x: auto; scrollbar-width: none; }
.winkel-lb-duimen:empty { display: none; }
.winkel-lb-duimen li { margin: 0; flex: none; }
.winkel-lb-duimen button { padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; line-height: 0; opacity: .5; transition: opacity .2s; }
.winkel-lb-duimen button:hover, .winkel-lb-duimen button[aria-current] { opacity: 1; }
.winkel-lb-duimen button[aria-current] { border-color: #fff; }
.winkel-lb-duimen img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; display: block; }
@media (max-width: 700px) { .winkel-lichtbak > img { max-width: 100vw; } .winkel-lb-pijl { display: none; } .winkel-lb-duimen img { width: 52px; height: 52px; } }

/* Cart and checkout */
.winkel-afrekenen { max-width: 760px; }
.winkel-regels { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.winkel-regels th { text-align: left; font-size: .8em; text-transform: uppercase; letter-spacing: .04em; opacity: .7; padding: 0 8px 8px 0; }
.winkel-regels td { border-top: 1px solid var(--winkel-lijn); padding: 12px 8px 12px 0; vertical-align: middle; }
.winkel-regels tfoot td { border-top-width: 2px; }
.winkel-regels td a { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.winkel-regels td a span { display: flex; flex-direction: column; }
.winkel-regels small { font-size: .85em; opacity: .8; }
.winkel-regels small.winkel-fout { opacity: 1; }
.winkel-regels input[type="number"] { width: 5em; display: inline-block; }
.winkel-regels td .winkel-link { margin-left: 8px; }
.winkel-duim { width: 56px; height: 56px; object-fit: cover; border-radius: var(--winkel-rond); flex: none; }
.winkel-getal { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* The cart on a phone: each line in two rows. Photo and description; then number, remove and the amount of the line. */
@media (max-width: 640px) {
	.winkel-regels thead { display: none; }
	.winkel-regels tbody tr { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 12px; padding: 14px 0; border-top: 1px solid var(--winkel-lijn); }
	.winkel-regels tbody td { display: block; border: 0; padding: 0; }
	.winkel-regels tbody td:first-child { grid-column: 1 / -1; }
	.winkel-regels tbody td:nth-child(2) { display: flex; align-items: center; gap: 4px; }
	.winkel-regels tbody td.winkel-getal { font-weight: 700; }
	.winkel-regels td a span { min-width: 0; overflow-wrap: anywhere; }
	.winkel-regels tfoot tr { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
	.winkel-regels tfoot td { border-top: 2px solid var(--winkel-lijn); padding: 12px 0; flex: 1; }
	.winkel-regels tfoot td.winkel-getal { flex: none; }
}
.winkel-blok { border: 0; padding: 0; margin: 2em 0 1.2em; min-width: 0; }
.winkel-blok legend { font-weight: 700; font-size: 1.15em; margin-bottom: .8em; padding: 0; font-family: var(--winkel-kopletter, inherit); }
.winkel-keuze { display: flex; gap: 12px; align-items: flex-start; padding: .9em 1em; border: 1px solid var(--winkel-lijn); border-radius: var(--winkel-rond); margin-bottom: 8px; cursor: pointer; }
.winkel-keuze:has(input:checked) { border-color: currentColor; background: var(--winkel-zacht); }
.winkel-keuze input { margin: .25em 0 0; accent-color: var(--winkel-knop, currentColor); width: 1.1em; height: 1.1em; flex: none; }
.winkel-keuze small { display: block; opacity: .7; }
/* Picking up: no address needed. */
.winkel-afrekenen:has(input[name="verzending"][data-adres="0"]:checked) .winkel-adres { display: none; }
/* Checkout: a field with a problem, its message under it, and all of them under the button. */
.winkel-afrekenen [aria-invalid="true"] { border-color: #d64545 !important; box-shadow: 0 0 0 1px #d64545; background-color: #fdf2f2; }
.winkel-veld:has([aria-invalid="true"]) > span:first-child, .winkel-blok.is-fout legend { color: #c03a3a; }
.winkel-blok.is-fout { outline: 1px solid #d64545; outline-offset: 6px; border-radius: var(--winkel-rond); }
.winkel-veld-fout { display: block; margin-top: .35em; font-size: .875em; line-height: 1.4; color: #c03a3a; }
.winkel-veld-fout[hidden], .winkel-fouten[hidden] { display: none; }
.winkel-fouten { margin-top: 1em; padding: .8em 1em; border-left: 3px solid #d64545; background: #fdf2f2; color: #a32b2b; font-size: .95em; }
.winkel-fouten p { margin: 0; font-weight: 600; }
.winkel-fouten ul { margin: .35em 0 0; padding-left: 1.2em; }
.winkel-fouten a { color: inherit; }
.winkel-afrekenen [data-winkel-bezig]:disabled { opacity: .6; cursor: progress; }
.winkel-akkoord { display: flex; gap: 10px; align-items: flex-start; margin: 1em 0 1.5em; }
.winkel-afrekenen > [type="submit"] { margin-top: .5em; min-width: 14em; }
.winkel-weg, .winkel-weg-knop { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Downloads: the label in the cart, and the buttons on the order once paid. */
.winkel-download-label { font-size: .875em; opacity: .75; }
.winkel-akkoord + .winkel-veld-fout + .winkel-akkoord, .winkel-akkoord + .winkel-akkoord { margin-top: -.75em; }
.winkel-downloads { margin: var(--winkel-ruimte) 0; padding: 1em 1.2em; border: 1px solid var(--winkel-lijn); border-radius: var(--winkel-rond); background: var(--winkel-zacht); }
.winkel-downloads-titel { margin: 0 0 .6em; }
.winkel-downloads ul { list-style: none; margin: 0 0 .6em; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.winkel-downloads .winkel-klein { margin: 0; }
