/* Versluys Cookiemelding */

.vcm {
	--vcm-kleur-1: #f7b267;
	--vcm-kleur-2: #f08a5d;
	--vcm-knoptekst: #1d1d1b;
	--vcm-tekst: #1d1d1b;
	--vcm-zacht: #5b5b5b;
	--vcm-rand: #1d1d1b;
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99999;
	width: min(540px, calc(100vw - 48px));
	max-height: calc(100vh - 48px);
	overflow: auto;
	overscroll-behavior: contain;
	font-size: 16px;
	line-height: 1.5;
	color: var(--vcm-tekst);
	text-align: left;
	animation: vcm-in .35s ease-out both;
}
.vcm[hidden] { display: none !important; }

@keyframes vcm-in {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.vcm { animation: none; }
}

.vcm-kaart {
	position: relative;
	display: grid;
	grid-template-columns: 112px 1fr;
	gap: 20px;
	align-items: start;
	padding: 26px 26px 24px 18px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .08);
}
.vcm-koekje {
	display: block;
	width: 112px;
	height: 112px;
	margin-top: 4px;
	transform: rotate(-8deg);
}

.vcm .vcm-titel {
	margin: 0 0 .4rem !important;
	padding: 0 !important;
	font-family: inherit;
	font-size: 1.4rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: var(--vcm-tekst) !important;
}
.vcm .vcm-tekst,
.vcm .vcm-uitleg {
	margin: 0 0 1rem !important;
	font-size: .95rem !important;
	line-height: 1.5 !important;
	color: var(--vcm-tekst) !important;
}
.vcm .vcm-uitleg { font-size: .875rem !important; color: var(--vcm-zacht) !important; }
.vcm .vcm-privacylink {
	color: var(--vcm-tekst) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	white-space: nowrap;
}

/* Knoppen */
.vcm-knoppen {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.vcm .vcm-knop {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin: 0 !important;
	padding: 10px 20px !important;
	border: 2px solid var(--vcm-rand) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--vcm-tekst) !important;
	font-family: inherit !important;
	font-size: .95rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease;
}
.vcm .vcm-knop--vol {
	border-color: transparent !important;
	background: linear-gradient(90deg, var(--vcm-kleur-1), var(--vcm-kleur-2)) !important;
	color: var(--vcm-knoptekst) !important;
}
.vcm .vcm-knop--rand:hover { background: #f3f3f3 !important; }
.vcm .vcm-knop--vol:hover { transform: translateY(-1px); }
.vcm .vcm-knop:focus-visible,
.vcm .vcm-privacylink:focus-visible,
.vcm-schakelaar input:focus-visible + .vcm-schuif {
	outline: 3px solid #1d1d1b;
	outline-offset: 3px;
}
.vcm .vcm-knop[hidden] { display: none !important; }

/* Instellingen */
.vcm-paneel {
	margin: 0 0 1rem;
	padding: 14px 16px;
	border-radius: 14px;
	background: #f6f4f1;
}
.vcm-paneel[hidden] { display: none !important; }
.vcm-optie {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: .5rem;
}
.vcm-schakelaar {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	font-size: .95rem !important;
	font-weight: 700 !important;
	color: var(--vcm-tekst) !important;
	cursor: pointer;
}
.vcm-schakelaar input {
	position: absolute;
	opacity: 0;
	width: 46px;
	height: 26px;
	margin: 0;
}
.vcm-schuif {
	position: relative;
	flex: 0 0 auto;
	width: 46px;
	height: 26px;
	border-radius: 999px;
	background: #9a9a9a;
	transition: background-color .2s ease;
}
.vcm-schuif::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, .3);
	transition: transform .2s ease;
}
.vcm-schakelaar input:checked + .vcm-schuif { background: #1f7a3a; }
.vcm-schakelaar input:checked + .vcm-schuif::after { transform: translateX(20px); }
.vcm-status { font-size: .875rem; font-weight: 700; color: var(--vcm-zacht); }
.vcm .vcm-paneel .vcm-knop { min-height: 42px; }

/* Footerlink */
.vcm-footerlink {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.vcm-footerlink-wrap { padding: 12px 0; text-align: center; }

/* Mobiel: volle breedte onderaan, koekje rechtsboven */
@media (max-width: 600px) {
	.vcm {
		right: 10px;
		bottom: 10px;
		width: calc(100vw - 20px);
		max-height: calc(100vh - 20px);
		font-size: 15px;
	}
	.vcm-kaart {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 20px 18px 18px;
		border-radius: 16px;
	}
	.vcm-koekje {
		position: absolute;
		top: 10px;
		right: 12px;
		width: 58px;
		height: 58px;
		margin: 0;
	}
	.vcm .vcm-titel { padding-right: 66px !important; font-size: 1.25rem !important; }
	.vcm .vcm-tekst { margin-bottom: .85rem !important; }
	.vcm-knoppen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.vcm .vcm-knop { padding: 10px 12px !important; font-size: .9rem !important; }
	.vcm .vcm-knop[data-vcm-instellen] { grid-column: 1 / -1; }
}
