/* Dealbadges (HRW Maatwerk). Kleur van het beeldmerk: --hrw-db-kleur (instelling). */

/* Beeldmerk van de Groen-wit-groen-weken: groen, wit, groen, elk een derde (zoals het logo). */
.hrw-db-merk {
	display: inline-block;
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	background: linear-gradient( var(--hrw-db-kleur, #32a16e) 0 33.333%, transparent 33.333% 66.667%, var(--hrw-db-kleur, #32a16e) 66.667% );
}

/* Label op de productkaart: zwart, in het rijtje labels van het thema (boven Populair). */
.hrw-db-label {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	background: #000;
	color: #fff;
	font-weight: 600 !important;
}
.hrw-db-label .hrw-db-merk {
	width: 13px;
	height: 13px;
	background: linear-gradient( var(--hrw-db-kleur, #32a16e) 0 33.333%, #fff 33.333% 66.667%, var(--hrw-db-kleur, #32a16e) 66.667% );
}

/* Vooraankondiging (actie begint later): omgekeerde kleuren, wit met zwarte letters; zonder rand
   (Wouter, 11 november 2026). */
.hrw-db-label.hrw-db-label--vooraf {
	background: #fff;
	color: #000;
}

/* Label in de zoeksuggesties: onder de naam, klein. */
.hrw-db-label--zk {
	display: flex !important;
	width: fit-content;
	margin-top: 4px;
	padding: 1px 6px;
	font-size: 12px;
	line-height: 1.5;
}

/* Badge over de productfoto: altijd linksboven. Staat er bij alcohol ook het NIX18-logo
   van het thema (linksboven), dan schuift dat logo naar rechtsboven, op dezelfde afstand
   van de rand als het thema gebruikt: 8 px, vanaf 640 px 20 px, vanaf 1536 px 40 px
   (Wouter, 11 november 2026; vervangt "badge rechtsboven" van 1.42.3). */
.hrw-db-heeft-foto {
	position: relative;
}
.hrw-db-foto {
	position: absolute;
	z-index: 5;
	left: 20px;
	top: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100% - 32px);
	padding: 10px 14px;
	background: #fff;
	color: #000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
	pointer-events: none;
}
.hrw-db-heeft-foto img[src*="nix18" i],
.hrw-db-heeft-foto img[alt*="nix18" i] {
	left: auto !important;
	right: 8px !important;
}
@media (min-width: 640px) {
	.hrw-db-heeft-foto img[src*="nix18" i],
	.hrw-db-heeft-foto img[alt*="nix18" i] {
		right: 20px !important;
	}
}
@media (min-width: 1536px) {
	.hrw-db-heeft-foto img[src*="nix18" i],
	.hrw-db-heeft-foto img[alt*="nix18" i] {
		right: 40px !important;
	}
}
.hrw-db-foto .hrw-db-merk {
	width: 34px;
	height: 34px;
}
.hrw-db-foto__tekst {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.hrw-db-foto__campagne {
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #555;
}
.hrw-db-foto__deal {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
}
.hrw-db-foto__vanaf {
	margin-top: 2px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}
@media (max-width: 767px) {
	.hrw-db-foto {
		left: 12px;
		top: 12px;
		gap: 10px;
		padding: 8px 12px;
	}
	.hrw-db-foto .hrw-db-merk {
		width: 26px;
		height: 26px;
	}
	.hrw-db-foto__deal {
		font-size: 17px;
	}
}

/* Uitleg boven aantal en knop. Neemt in het raster van het formulier de hele breedte. */
.hrw-db-uitleg {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 4px;
	background: #f3f6f4;
	color: #222;
	font-size: 13px;
	line-height: 1.5;
	grid-column: 1 / -1;
	flex-basis: 100%;
	width: 100%;
	box-sizing: border-box;
}
.hrw-db-uitleg .hrw-db-merk {
	margin-top: 3px;
}
.hrw-db-uitleg > div {
	flex: 1 1 0%;
	min-width: 0;
}
.hrw-db-uitleg__link {
	flex: 0 0 auto;
	align-self: center;
	margin-left: auto;
	font-size: 12px;
	color: #555;
	text-decoration: underline;
	white-space: nowrap;
}
.hrw-db-uitleg__link:hover {
	color: #000;
}
@media (max-width: 767px) {
	.hrw-db-uitleg {
		flex-wrap: wrap;
	}
	.hrw-db-uitleg__link {
		flex-basis: 100%;
		margin-top: 2px;
		text-align: right;
	}
}
/* Kaartje van het gratis product, onder het grijze blok. */
.hrw-db-erbij {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: -4px 0 12px;
	padding: 8px 10px;
	border: 1px solid #dfe5e3;
	border-radius: 4px;
	background: #fff;
	color: #000 !important;
	font-size: 13px;
	line-height: 1.35;
	text-decoration: none !important;
	grid-column: 1 / -1;
	flex-basis: 100%;
	width: 100%;
	box-sizing: border-box;
}
.hrw-db-erbij:hover {
	border-color: var(--hrw-db-kleur, #32a16e);
}
.hrw-db-erbij__foto {
	flex: 0 0 auto;
	width: 56px !important;
	height: 56px !important;
	object-fit: contain;
	border-radius: 3px;
	background: #f3f6f4;
}
.hrw-db-erbij__tekst {
	flex: 1 1 0%;
	min-width: 0;
}
.hrw-db-erbij__kop {
	display: block;
	color: var(--hrw-db-kleur, #32a16e);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.hrw-db-erbij__naam {
	display: block;
	font-weight: 600;
}
.hrw-db-erbij__prijs {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	white-space: nowrap;
}
.hrw-db-erbij__prijs s {
	color: #888;
	font-size: 12px;
}

/* Gratis erbij naar keuze: tegels onder het grijze blok (1.46.0). */
.hrw-db-keuze {
	margin: -4px 0 12px;
	padding: 12px;
	border: 1px solid #dfe5e3;
	border-radius: 4px;
	background: #fff;
	grid-column: 1 / -1;
	flex-basis: 100%;
	width: 100%;
	box-sizing: border-box;
	min-width: 0;
}
.hrw-db-keuze__kop {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
}
.hrw-db-keuze__prijs {
	font-size: 12px;
	font-weight: 400;
	white-space: nowrap;
}
.hrw-db-keuze__prijs s {
	color: #888;
}
.hrw-db-keuze__tegels {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
	gap: 8px;
}
.hrw-db-tegel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 6px 4px 8px;
	border: 2px solid #e3e7e6;
	border-radius: 4px;
	background: #fff;
	font-size: 11.5px;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
}
.hrw-db-tegel img {
	width: 64px;
	height: 64px;
	object-fit: contain;
}
.hrw-db-tegel input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}
.hrw-db-tegel__vink {
	display: none;
	position: absolute;
	top: 4px;
	right: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--hrw-db-kleur, #32a16e);
	color: #fff;
	font-size: 12px;
	line-height: 18px;
}
.hrw-db-tegel:has(input:checked) {
	border-color: var(--hrw-db-kleur, #32a16e);
	background: #f1f8f4;
}
.hrw-db-tegel:has(input:checked) .hrw-db-tegel__vink {
	display: block;
}
.hrw-db-tegel:has(input:focus-visible) {
	outline: 2px solid #000;
	outline-offset: 2px;
}
.hrw-db-tegel.is-op {
	opacity: .5;
	cursor: not-allowed;
}
.hrw-db-tegel__op {
	font-weight: 600;
	color: #b00;
}
.hrw-db-keuze--vooraf .hrw-db-tegel {
	cursor: default;
}
/* Vooraankondiging: tegels grijs, startdatum eroverheen (1.46.1). */
.hrw-db-keuze--vooraf .hrw-db-keuze__tegels {
	position: relative;
}
.hrw-db-keuze--vooraf .hrw-db-tegel {
	opacity: .45;
	filter: grayscale(1);
}

.hrw-db-staffel {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 6px;
}
.hrw-db-staffel > span {
	padding: 2px 8px;
	border-radius: 3px;
	background: #fff;
	font-size: 12px;
}
/* Vooraankondiging: staffel grijs, startdatum eroverheen (1.46.2). */
.hrw-db-staffel--vooraf {
	position: relative;
}
.hrw-db-staffel--vooraf > span {
	opacity: .45;
	filter: grayscale(1);
}
/* Vooraankondiging gratis erbij: kaartje grijs, startdatum eroverheen (1.46.5). */
.hrw-db-erbij--vooraf {
	position: relative;
}
.hrw-db-erbij--vooraf > :not(.hrw-db-erbij__later) {
	opacity: .45;
	filter: grayscale(1);
}
.hrw-db-keuze__later,
.hrw-db-staffel__later,
.hrw-db-erbij__later {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--hrw-db-kleur, #32a16e);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.hrw-db-staffel__later {
	padding: 3px 12px;
	font-size: 12px;
}

/* ------------------------------------------------------------------
   Campagne promoten (1.44.0): strook, knopje Deals, landingsblok.
   ------------------------------------------------------------------ */

/* Strook bovenaan, in de campagnekleur, met aftelling en knop. */
.hrw-db-strook {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 36px;
	padding: 0 12px;
	background: var(--hrw-db-kleur, #32a16e);
	color: #fff;
	font-size: 13px;
	line-height: 1.3;
}
.hrw-db-strook__naam {
	letter-spacing: .06em;
	text-transform: uppercase;
}
.hrw-db-strook__knop {
	padding: 2px 10px;
	border-radius: 3px;
	background: #fff;
	color: #000 !important;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}
.hrw-db-strook__knop:hover {
	background: #000;
	color: #fff !important;
}
.hrw-db-kort {
	display: none;
}

/* Deals: menu-item met de klasse hrw-db-deals (desktop), knopje in de kop (telefoon). */
li.hrw-db-deals > a,
.hrw-db-deals-mobiel {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	padding: 5px 12px !important;
	border-radius: 4px;
	background: #000 !important;
	color: #fff !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
}
/* Het megamenu (Max Mega Menu) zet zelf ::before op zijn links (breedte 0, geen achtergrond); daarom !important. */
li.hrw-db-deals > a::before {
	content: "" !important;
	display: inline-block !important;
	flex: 0 0 auto;
	width: 12px !important;
	height: 12px !important;
	margin: 0 !important;
	background: linear-gradient( var(--hrw-db-kleur, #32a16e) 0 33.333%, #fff 33.333% 66.667%, var(--hrw-db-kleur, #32a16e) 66.667% ) !important;
}
li.hrw-db-deals > a:hover,
.hrw-db-deals-mobiel:hover {
	background: var(--hrw-db-kleur, #32a16e) !important;
}
.hrw-db-deals-mobiel {
	display: none !important;
	margin-right: 6px;
	font-size: 13px;
	padding: 4px 10px !important;
}
.hrw-db-deals-mobiel .hrw-db-merk {
	width: 12px;
	height: 12px;
	background: linear-gradient( var(--hrw-db-kleur, #32a16e) 0 33.333%, #fff 33.333% 66.667%, var(--hrw-db-kleur, #32a16e) 66.667% );
}

/* Landingsblok: logo links, kop, tekst en tijdlijn rechts. */
.hrw-db-held {
	display: grid;
	grid-template-columns: minmax(240px, 380px) 1fr;
	gap: 40px;
	align-items: center;
	margin: 6px 0 28px;
	padding: 36px 40px;
	background: #e8eceb;
}
.hrw-db-held__logo {
	display: flex;
	align-items: center;
	gap: 20px;
}
.hrw-db-held__logo img {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
	mix-blend-mode: multiply;
}
.hrw-db-merk--groot {
	width: 110px !important;
	height: 110px !important;
}
.hrw-db-held__naam {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}
.hrw-db-held__kop {
	margin: 0 0 8px;
	font-family: Battambang, serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}
.hrw-db-held__tekst {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.55;
}
.hrw-db-tijdlijn {
	display: grid;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	margin: 18px 0 0;
	padding: 0;
	border-top: 3px solid #000;
	list-style: none;
}
.hrw-db-tijdlijn li {
	position: relative;
	margin: 0;
	padding: 14px 10px 0 0;
}
.hrw-db-tijdlijn__stip {
	position: absolute;
	top: -8px;
	left: 0;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 2px #000;
}
.hrw-db-tijdlijn li.is-nu .hrw-db-tijdlijn__stip {
	background: var(--hrw-db-kleur, #32a16e);
}
.hrw-db-tijdlijn b {
	display: block;
	font-size: 14px;
}
.hrw-db-tijdlijn span:last-child {
	font-size: 12.5px;
	color: #333;
}

@media (max-width: 767px) {
	.hrw-db-strook {
		gap: 8px;
		min-height: 34px;
		font-size: 12.5px;
	}
	.hrw-db-strook__naam,
	.hrw-db-lang {
		display: none;
	}
	.hrw-db-kort {
		display: inline;
	}
	.hrw-db-strook__knop {
		padding: 1px 8px;
	}
	li.hrw-db-deals > a {
		/* In het uitklapmenu op een telefoon: gewoon als knopje, niet over de volle breedte. */
		width: fit-content;
	}
	.hrw-db-deals-mobiel {
		display: inline-flex !important;
	}
	.hrw-db-held {
		grid-template-columns: 1fr;
		gap: 18px;
		margin: 4px 0 20px;
		padding: 22px 16px;
	}
	.hrw-db-held__logo img {
		max-width: 220px;
	}
	.hrw-db-merk--groot {
		width: 58px !important;
		height: 58px !important;
	}
	.hrw-db-held__naam {
		font-size: 19px;
	}
	.hrw-db-held__kop {
		font-size: 20px;
	}
	.hrw-db-held__tekst {
		font-size: 14.5px;
	}
	.hrw-db-tijdlijn {
		grid-template-columns: 1fr 1fr;
		grid-auto-flow: row;
		gap: 12px 10px;
		margin-top: 14px;
		border-top: 0;
	}
	.hrw-db-tijdlijn li {
		padding: 0 0 0 22px;
	}
	.hrw-db-tijdlijn__stip {
		top: 3px;
		left: 2px;
		width: 11px;
		height: 11px;
	}
}

/* 3 + 1 gratis, mix naar keuze: blok "Maak je 4 compleet" (1.47.0). */
.hrw-db-mix__stand {
	font-size: 12px;
	font-weight: 600;
	color: var(--hrw-db-kleur, #32a16e);
	white-space: nowrap;
}
.hrw-db-mix__balk {
	display: flex;
	gap: 4px;
	margin: -4px 0 10px;
}
.hrw-db-mix__balk span {
	flex: 1;
	height: 6px;
	border-radius: 3px;
	background: #e3e7e6;
}
.hrw-db-mix__balk span.is-vol {
	background: var(--hrw-db-kleur, #32a16e);
}
.hrw-db-mix .hrw-db-tegel {
	cursor: default;
}
.hrw-db-mix .hrw-db-tegel.is-gekozen {
	border-color: var(--hrw-db-kleur, #32a16e);
	background: #f1f8f4;
}
.hrw-db-mix__teller {
	display: flex;
	align-items: center;
	gap: 2px;
	/* Tellers op één hoogte, ook als een naam over meer regels loopt (Wouter, 11 november 2026). */
	margin-top: auto;
	padding-top: 4px;
}
.hrw-db-mix__teller button {
	width: 24px;
	height: 24px;
	padding: 0;
	border: 1px solid #cfd6d4;
	border-radius: 4px;
	background: #fff;
	color: #000;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}
.hrw-db-mix .hrw-db-tegel .hrw-db-mix__teller input {
	position: static;
	opacity: 1;
	width: 30px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	pointer-events: auto;
	-moz-appearance: textfield;
}
.hrw-db-mix__teller input::-webkit-outer-spin-button,
.hrw-db-mix__teller input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.hrw-db-mix__som {
	margin-top: 10px;
	text-align: right;
	font-size: 13px;
}
.hrw-db-mix__som s {
	color: #888;
	margin-right: 4px;
}
.hrw-db-mix__balk span {
	height: 16px;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	text-transform: uppercase;
	color: #8a9491;
}
.hrw-db-mix__balk span.is-gratis {
	border: 1px dashed var(--hrw-db-kleur, #32a16e);
	background: #fff;
	color: var(--hrw-db-kleur, #32a16e);
	line-height: 14px;
}
.hrw-db-mix__balk span.is-gratis.is-vol {
	border-style: solid;
	background: var(--hrw-db-kleur, #32a16e);
	color: #fff;
}
/* Het losse aantal van het thema weg: dat regel je in het blok (1.47.4). */
form.hrw-db-mix-actief .quantity {
	display: none !important;
}
.hrw-db-mix .hrw-db-mix__knop {
	display: block;
	width: 100%;
	margin: 10px 0 0;
}

/* Landingsblok: link naar de voorwaarden (1.48.5). */
.hrw-db-held__voorwaarden {
	margin: -6px 0 14px;
	font-size: 14px;
}
.hrw-db-held__voorwaarden a {
	color: inherit;
	text-decoration: underline;
}
