/* enVisual Cookies */
.eck {
	--eck-accent: #1e73be;
	--eck-tekst: #2b2730;
	--eck-zacht: #5c5c66;
	--eck-lijn: #ece8e3;
	--eck-donker: #17131b;
	position: fixed;
	z-index: 2147483000;
	bottom: 24px;
	width: 400px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.55;
	color: var(--eck-tekst);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .25s ease, transform .25s ease;
}
.eck[hidden] {
	display: none !important;
}
.eck.is-open {
	opacity: 1;
	transform: none;
}
.eck--rechts {
	right: 24px;
}
.eck--links {
	left: 24px;
}
.eck *,
.eck *::before,
.eck *::after {
	box-sizing: border-box;
}
.eck__kaart {
	padding: 24px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--eck-lijn);
	box-shadow: 0 24px 60px -18px rgba(23, 19, 27, .38), 0 4px 14px rgba(23, 19, 27, .1);
}
.eck .eck__titel {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	padding: 0;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--eck-tekst);
}
.eck__icoon {
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	color: var(--eck-accent);
}
.eck .eck__tekst {
	margin: 0 0 18px;
	padding: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--eck-zacht);
}
.eck .eck__tekst a {
	color: var(--eck-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}
.eck__opties {
	margin: 0 0 18px;
	border: 1px solid var(--eck-lijn);
	border-radius: 14px;
	overflow: hidden;
}
.eck__opties[hidden] {
	display: none;
}
.eck .eck__optie {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 14px 16px;
	cursor: pointer;
}
.eck .eck__optie + .eck__optie {
	border-top: 1px solid var(--eck-lijn);
}
.eck__optie-tekst {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.eck__optie-tekst strong {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--eck-tekst);
}
.eck__optie-tekst span {
	font-size: 13px;
	line-height: 1.45;
	color: var(--eck-zacht);
}
.eck__altijd {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 700;
	color: #1f7a3a;
	white-space: nowrap;
}
.eck .eck__schakel {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	flex: 0 0 auto;
	width: 44px;
	height: 26px;
	margin: 0;
	border-radius: 999px;
	background: #cfcbd3;
	cursor: pointer;
	transition: background .2s;
}
.eck .eck__schakel::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	transition: transform .2s;
}
.eck .eck__schakel:checked {
	background: var(--eck-accent);
}
.eck .eck__schakel:checked::after {
	transform: translateX(18px);
}
.eck .eck__schakel:focus-visible {
	outline: 3px solid var(--eck-accent);
	outline-offset: 2px;
}
.eck__knoppen {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.eck .eck__knop {
	display: block;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 12px 16px;
	border: 0;
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.eck .eck__knop[hidden],
.eck .eck__link[hidden] {
	display: none;
}
.eck .eck__knop:hover {
	transform: translateY(-1px);
}
.eck .eck__knop:focus-visible,
.eck .eck__link:focus-visible {
	outline: 3px solid var(--eck-accent);
	outline-offset: 2px;
}
/* Weigeren en accepteren even groot en even opvallend (AVG / Autoriteit Persoonsgegevens). */
.eck .eck__knop--weigeren {
	background: var(--eck-donker);
	color: #fff;
}
.eck .eck__knop--weigeren:hover {
	background: #000;
}
.eck .eck__knop--accepteren,
.eck .eck__knop--opslaan {
	background: var(--eck-accent);
	color: #fff;
}
.eck .eck__knop--accepteren:hover,
.eck .eck__knop--opslaan:hover {
	filter: brightness(.9);
}
.eck .eck__knop--accepteren:only-child,
.eck .eck__knop--opslaan {
	grid-column: 1 / -1;
}
.eck .eck__link {
	grid-column: 1 / -1;
	justify-self: center;
	margin: 2px 0 0;
	padding: 4px 6px;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--eck-tekst);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

/* Zwevend icoon om de keuze te wijzigen */
.eck-zwevend {
	--eck-accent: #1e73be;
	position: fixed;
	z-index: 2147482999;
	bottom: 20px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid #ece8e3;
	border-radius: 50%;
	background: #fff;
	color: var(--eck-accent);
	box-shadow: 0 8px 24px -8px rgba(23, 19, 27, .35);
	cursor: pointer;
}
.eck-zwevend[hidden] {
	display: none;
}
.eck-zwevend svg {
	width: 24px;
	height: 24px;
}
.eck-zwevend--rechts {
	right: 20px;
}
.eck-zwevend--links {
	left: 20px;
}

@media (max-width: 600px) {
	.eck {
		right: 12px;
		left: 12px;
		bottom: 12px;
		width: auto;
		max-width: none;
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
	}
	.eck__kaart {
		padding: 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.eck,
	.eck .eck__knop,
	.eck .eck__schakel,
	.eck .eck__schakel::after {
		transition: none;
	}
}
