/* Cookiebanner Mijn huiswijn. Teksten: wp-admin > Instellingen > Cookiebanner. */
.mhw-cc {
	--cc-red: #BA0F30; --cc-red-dark: #9B0C28; --cc-ink: #040A18; --cc-muted: #5F6772; --cc-line: #D1D2D2;
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990;
	padding: 0 16px 16px; pointer-events: none;
	font-family: inherit; font-size: 16px; line-height: 1.5; color: var(--cc-ink); text-align: left;
	animation: mhw-cc-in .2s ease-out;
}
@keyframes mhw-cc-in { from { opacity: 0; transform: translateY(12px); } }
.mhw-cc[hidden], .mhw-cc [hidden] { display: none !important; }
.mhw-cc *, .mhw-cc *::before { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { .mhw-cc { animation: none; } .mhw-cc * { transition: none !important; } }

.mhw-cc .mhw-cc__card {
	pointer-events: auto; max-width: 1040px; margin: 0 auto;
	max-height: calc(100vh - 32px); overflow: auto;
	padding: 24px 28px; background: #fff;
	border: 1px solid var(--cc-line); border-radius: 8px;
	box-shadow: 0 10px 30px rgba(4, 10, 24, .16);
}
.mhw-cc .mhw-cc__main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.mhw-cc .mhw-cc__title {
	margin: 0 0 6px; padding: 0;
	font-family: inherit; font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: 0; text-transform: none;
	color: var(--cc-red); outline: none;
}
.mhw-cc .mhw-cc__text { margin: 0; max-width: 64ch; font-family: inherit; font-size: 15px; line-height: 1.5; font-weight: 400; color: var(--cc-ink); }
.mhw-cc .mhw-cc__link { color: var(--cc-red); text-decoration: underline; text-underline-offset: 2px; }
.mhw-cc .mhw-cc__link:hover { color: var(--cc-red-dark); }
.mhw-cc .mhw-cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.mhw-cc .mhw-cc__btn {
	appearance: none; -webkit-appearance: none;
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; margin: 0; padding: 10px 20px;
	border: 1px solid var(--cc-red); border-radius: 5px;
	background: var(--cc-red); color: #fff;
	font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.2; white-space: nowrap; text-transform: none; letter-spacing: 0; text-decoration: none;
	cursor: pointer; transition: background-color .12s ease-out, border-color .12s ease-out, transform .12s ease-out;
}
.mhw-cc .mhw-cc__btn:hover, .mhw-cc .mhw-cc__btn:focus { background: var(--cc-red-dark); border-color: var(--cc-red-dark); color: #fff; }
.mhw-cc .mhw-cc__btn:active { transform: scale(.98); }
.mhw-cc .mhw-cc__textbtn {
	appearance: none; -webkit-appearance: none;
	min-height: 40px; margin: 0; padding: 8px 4px; border: 0; border-radius: 5px; background: none;
	font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; color: var(--cc-red);
	text-decoration: underline; text-underline-offset: 2px; text-transform: none; letter-spacing: 0; white-space: nowrap; cursor: pointer;
}
.mhw-cc .mhw-cc__textbtn:hover, .mhw-cc .mhw-cc__textbtn:focus { background: none; color: var(--cc-red-dark); text-decoration: underline; }
.mhw-cc .mhw-cc__actions .mhw-cc__textbtn { grid-column: 1 / -1; justify-self: center; }
.mhw-cc .mhw-cc__btn:focus-visible, .mhw-cc .mhw-cc__textbtn:focus-visible,
.mhw-cc .mhw-cc__switch:focus-visible, .mhw-cc .mhw-cc__link:focus-visible { outline: 3px solid rgba(186, 15, 48, .4); outline-offset: 2px; }

.mhw-cc .mhw-cc__rows { margin: 14px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--cc-line); }
.mhw-cc .mhw-cc__rows > li { margin: 0; padding: 0; list-style: none; }
.mhw-cc .mhw-cc__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center; margin: 0; padding: 14px 0; border-top: 1px solid var(--cc-line); line-height: 1.5; }
.mhw-cc label.mhw-cc__row { cursor: pointer; }
.mhw-cc .mhw-cc__rowtitle { display: block; font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--cc-ink); }
.mhw-cc .mhw-cc__rowdesc { display: block; max-width: 72ch; margin-top: 2px; font-size: 14px; line-height: 1.45; font-weight: 400; color: var(--cc-muted); }
.mhw-cc .mhw-cc__always { font-size: 14px; font-weight: 600; color: var(--cc-muted); white-space: nowrap; }
.mhw-cc .mhw-cc__switch {
	appearance: none; -webkit-appearance: none; position: relative; flex: none;
	width: 46px; height: 26px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 999px;
	background: #868D96; box-shadow: none; cursor: pointer; transition: background-color .12s ease-out;
}
.mhw-cc .mhw-cc__switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .12s ease-out; }
.mhw-cc .mhw-cc__switch:checked { background: var(--cc-red); }
.mhw-cc .mhw-cc__switch:checked::before { transform: translateX(20px); }
.mhw-cc .mhw-cc__prefsactions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 18px; }

@media (max-width: 760px) {
	.mhw-cc { padding: 0 10px 10px; }
	.mhw-cc .mhw-cc__card { max-height: calc(100vh - 20px); padding: 20px 18px; }
	.mhw-cc .mhw-cc__main { grid-template-columns: 1fr; gap: 16px; }
	.mhw-cc .mhw-cc__actions { grid-template-columns: 1fr; }
	.mhw-cc .mhw-cc__title { font-size: 19px; }
	.mhw-cc .mhw-cc__prefsactions .mhw-cc__btn { flex: 1 1 100%; }
}
