/*! BB Cookie Consent 1.0.0 | Bright Brands */
.bbcc-banner,
.bbcc-modal,
.bbcc-placeholder {
	--bbcc-accent: #FF6038;
	--bbcc-text: #191919;
	--bbcc-bg: #FFFFFF;
	--bbcc-deny: #191919;
	--bbcc-radius: 50px;
	font-family: inherit;
	color: var(--bbcc-text);
	box-sizing: border-box;
	line-height: 1.5;
}
.bbcc-banner *, .bbcc-modal *, .bbcc-placeholder * { box-sizing: border-box; }
.bbcc-banner[hidden], .bbcc-modal[hidden] { display: none !important; }

.bbcc-banner {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 2147483000;
	width: 420px;
	max-width: calc(100vw - 32px);
	background: var(--bbcc-bg);
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
	padding: 24px;
	font-size: 15px;
	animation: bbcc-in .35s ease both;
}
@keyframes bbcc-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bbcc-banner { animation: none; } }

.bbcc-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--bbcc-text); }
.bbcc-text { margin: 0 0 12px; font-size: 15px; color: var(--bbcc-text); }
.bbcc-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 16px; font-size: 14px; }
.bbcc-links a, .bbcc-placeholder a { color: var(--bbcc-text); text-decoration: underline; text-underline-offset: 2px; }
.bbcc-links a:hover, .bbcc-placeholder a:hover { color: var(--bbcc-accent); }

.bbcc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bbcc-actions-3 { grid-template-columns: 1fr 1fr 1fr; }

.bbcc-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border: 2px solid transparent;
	border-radius: var(--bbcc-radius);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	transition: background-color .2s, color .2s, border-color .2s, transform .1s;
}
.bbcc-btn:active { transform: scale(.98); }
.bbcc-btn:focus-visible, .bbcc-link-btn:focus-visible, .bbcc-close:focus-visible,
.bbcc-switch input:focus-visible + span { outline: 3px solid var(--bbcc-accent); outline-offset: 2px; }
.bbcc-btn-accept { background: var(--bbcc-accent); border-color: var(--bbcc-accent); color: #fff; }
.bbcc-btn-accept:hover { filter: brightness(.92); }
.bbcc-btn-deny { background: var(--bbcc-deny); border-color: var(--bbcc-deny); color: #fff; }
.bbcc-btn-deny:hover { filter: brightness(1.35); }
.bbcc-btn-outline { background: transparent; border-color: var(--bbcc-text); color: var(--bbcc-text); }
.bbcc-btn-outline:hover { background: var(--bbcc-text); color: #fff; }

.bbcc-link-btn {
	appearance: none;
	display: block;
	margin: 12px auto 0;
	padding: 4px 8px;
	background: none;
	border: 0;
	font: inherit;
	font-size: 14px;
	color: var(--bbcc-text);
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.bbcc-link-btn:hover { color: var(--bbcc-accent); }

/* Voorkeuren */
html.bbcc-lock { overflow: hidden; }
.bbcc-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(25, 25, 25, .55);
}
.bbcc-modal-box {
	position: relative;
	width: 560px;
	max-width: 100%;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	background: var(--bbcc-bg);
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
	font-size: 15px;
}
.bbcc-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: var(--bbcc-text);
	cursor: pointer;
}
.bbcc-close:hover { background: rgba(0, 0, 0, .06); }
.bbcc-cat { padding: 14px 0; border-top: 1px solid rgba(0, 0, 0, .1); }
.bbcc-cat:last-of-type { border-bottom: 1px solid rgba(0, 0, 0, .1); margin-bottom: 16px; }
.bbcc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bbcc-cat-label { font-weight: 700; cursor: pointer; }
.bbcc-cat-desc { margin: 4px 0 0; font-size: 14px; opacity: .8; }
.bbcc-always { font-size: 13px; font-weight: 600; color: var(--bbcc-accent); white-space: nowrap; }

.bbcc-switch { position: relative; flex: 0 0 auto; width: 48px; height: 28px; }
.bbcc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.bbcc-switch span { position: absolute; inset: 0; border-radius: 28px; background: #c9c9c9; transition: background .2s; }
.bbcc-switch span::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	transition: transform .2s;
}
.bbcc-switch input:checked + span { background: var(--bbcc-accent); }
.bbcc-switch input:checked + span::after { transform: translateX(20px); }

/* Plaatshouder voor geblokkeerde kaarten en video's */
.bbcc-placeholder {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: #f3f1ee;
	text-align: center;
	font-size: 15px;
}
.bbcc-ph-inner { max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bbcc-ph-inner p { margin: 0; }

/* Cookieverklaring */
.bbcc-policy-btn {
	display: inline-flex;
	padding: 12px 22px;
	border-radius: 50px;
	background: #FF6038;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none !important;
}
.bbcc-policy-btn:hover { filter: brightness(.92); }
.bbcc-table-wrap { overflow-x: auto; margin: 12px 0 20px; }
.bbcc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bbcc-table th, .bbcc-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.bbcc-table th { font-weight: 700; background: #f3f1ee; }
.bbcc-table code { font-size: 13px; background: none; padding: 0; white-space: nowrap; }
.bbcc-policy-meta { font-size: 13px; opacity: .7; }

@media (max-width: 600px) {
	.bbcc-banner {
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		max-width: none;
		border-radius: 16px 16px 0 0;
		padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
		max-height: 85vh;
		overflow-y: auto;
	}
	.bbcc-title { font-size: 18px; }
	.bbcc-modal { align-items: flex-end; padding: 0; }
	.bbcc-modal-box { border-radius: 16px 16px 0 0; padding: 24px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 92vh; max-height: 92dvh; }
	.bbcc-actions-3 { grid-template-columns: 1fr 1fr; }
	.bbcc-actions-3 .bbcc-btn-outline { grid-column: 1 / -1; order: 3; }
	.bbcc-table thead { display: none; }
	.bbcc-table tr { display: block; padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, .1); }
	.bbcc-table td { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 4px 0; border: 0; }
	.bbcc-table td::before { content: attr(data-label); font-weight: 700; }
}
