/* The theme's former acknowledgement banner is hidden, but its data is left untouched. */
.cookie-banner[data-cookie-banner] {
	display: none !important;
}

.bf-consent,
.bf-consent *,
.bf-consent *::before,
.bf-consent *::after,
.bf-consent__footer-control,
.bf-consent__footer-control *,
.bf-consent__footer-item,
.bf-consent__footer-item * {
	box-sizing: border-box;
}

.bf-consent [hidden],
.bf-consent__footer-control[hidden] {
	display: none !important;
}

.bf-consent {
	--bf-consent-ink: #251713;
	--bf-consent-muted: #6f625c;
	--bf-consent-paper: #fffaf1;
	--bf-consent-white: #fff;
	--bf-consent-wine: #7f102b;
	--bf-consent-wine-dark: #630b21;
	--bf-consent-gold: #bd8730;
	--bf-consent-border: rgba(37, 23, 19, 0.17);
	font-family: inherit;
	color: var(--bf-consent-ink);
}

.bf-consent__banner {
	position: fixed;
	z-index: 2147482000;
	right: 18px;
	bottom: 18px;
	left: 18px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
	gap: 28px;
	align-items: center;
	width: min(1120px, calc(100% - 36px));
	max-height: calc(100vh - 36px);
	margin: 0 auto;
	padding: 24px;
	overflow-y: auto;
	background: var(--bf-consent-paper);
	border: 1px solid var(--bf-consent-border);
	border-top: 4px solid var(--bf-consent-wine);
	border-radius: 20px;
	box-shadow: 0 24px 65px rgba(37, 23, 19, 0.24);
}

.bf-consent__copy,
.bf-consent__modal,
.bf-consent__choice-copy {
	min-width: 0;
}

.bf-consent__eyebrow {
	margin: 0 0 5px;
	color: var(--bf-consent-wine);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.bf-consent h2 {
	margin: 0 0 8px;
	color: var(--bf-consent-ink);
	font-family: inherit;
	font-size: clamp(1.35rem, 2.5vw, 1.8rem);
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.bf-consent p {
	margin: 0;
	color: var(--bf-consent-muted);
	font-size: 0.96rem;
	line-height: 1.55;
}

.bf-consent a,
.bf-consent__footer-control button,
.bf-consent__footer-item button {
	color: var(--bf-consent-wine);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.bf-consent a:hover,
.bf-consent a:focus-visible,
.bf-consent__footer-control button:hover,
.bf-consent__footer-control button:focus-visible,
.bf-consent__footer-item button:hover,
.bf-consent__footer-item button:focus-visible {
	color: var(--bf-consent-wine-dark);
}

.bf-consent__links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
	margin-top: 9px !important;
}

.bf-consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.bf-consent__button,
.bf-consent__close {
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
}

.bf-consent__button {
	min-height: 46px;
	margin: 0;
	padding: 11px 14px;
	cursor: pointer;
	border: 2px solid var(--bf-consent-wine);
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.bf-consent__button:hover {
	transform: translateY(-1px);
}

.bf-consent__button--decision {
	color: var(--bf-consent-white);
	background: var(--bf-consent-wine);
}

.bf-consent__button--decision:hover {
	color: var(--bf-consent-white);
	background: var(--bf-consent-wine-dark);
	border-color: var(--bf-consent-wine-dark);
}

.bf-consent__button--preferences,
.bf-consent__button--save {
	color: var(--bf-consent-wine);
	background: transparent;
}

.bf-consent__button--preferences {
	grid-column: 1 / -1;
}

.bf-consent__button--preferences:hover,
.bf-consent__button--save:hover {
	color: var(--bf-consent-wine-dark);
	background: rgba(127, 16, 43, 0.07);
	border-color: var(--bf-consent-wine-dark);
}

.bf-consent__button:focus-visible,
.bf-consent__close:focus-visible,
.bf-consent__switch input:focus-visible + span {
	outline: 3px solid var(--bf-consent-gold);
	outline-offset: 3px;
}

.bf-consent__backdrop {
	position: fixed;
	z-index: 2147483000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(25, 16, 13, 0.7);
	backdrop-filter: blur(3px);
}

html.bf-consent-modal-open,
html.bf-consent-modal-open body {
	overflow: hidden !important;
}

.bf-consent__modal {
	width: min(680px, 100%);
	max-height: calc(100vh - 40px);
	padding: 26px;
	overflow-y: auto;
	background: var(--bf-consent-paper);
	border: 1px solid var(--bf-consent-border);
	border-radius: 22px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.bf-consent__modal-header {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 10px;
}

.bf-consent__close {
	display: grid;
	flex: 0 0 42px;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: -5px -5px 0 0;
	padding: 0;
	cursor: pointer;
	color: var(--bf-consent-ink);
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1;
	background: transparent;
	border: 1px solid var(--bf-consent-border);
	border-radius: 50%;
}

.bf-consent__close:hover {
	background: rgba(37, 23, 19, 0.07);
}

.bf-consent__choices {
	display: grid;
	gap: 10px;
	margin: 20px 0;
}

.bf-consent__choice {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	cursor: pointer;
	background: var(--bf-consent-white);
	border: 1px solid var(--bf-consent-border);
	border-radius: 14px;
}

.bf-consent__choice--locked {
	cursor: default;
	background: rgba(189, 135, 48, 0.08);
}

.bf-consent__choice-copy {
	display: grid;
	gap: 4px;
}

.bf-consent__choice-copy strong {
	color: var(--bf-consent-ink);
	font-size: 1rem;
	line-height: 1.25;
}

.bf-consent__choice-copy small {
	color: var(--bf-consent-muted);
	font-size: 0.84rem;
	line-height: 1.45;
}

.bf-consent__switch {
	position: relative;
	display: block;
	flex: 0 0 48px;
	width: 48px;
	height: 28px;
}

.bf-consent__switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.bf-consent__switch span {
	position: absolute;
	inset: 0;
	background: #756963;
	border-radius: 999px;
	transition: background-color 160ms ease;
}

.bf-consent__switch span::after {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 20px;
	height: 20px;
	content: "";
	background: var(--bf-consent-white);
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 160ms ease;
}

.bf-consent__switch input:checked + span {
	background: var(--bf-consent-wine);
}

.bf-consent__switch input:checked + span::after {
	transform: translateX(20px);
}

.bf-consent__switch input:disabled + span {
	opacity: 0.78;
}

.bf-consent__fine-print {
	font-size: 0.82rem !important;
}

.bf-consent__modal-actions {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
	margin-top: 20px;
}

.bf-consent__footer-control,
.bf-consent__footer-item {
	font-family: inherit;
}

.bf-consent__footer-control {
	padding: 14px 20px;
	color: inherit;
	text-align: center;
}

.bf-consent__footer-control button,
.bf-consent__footer-item button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 8px 4px;
	cursor: pointer;
	font: inherit;
	background: transparent;
	border: 0;
}

.bf-consent__footer-item button {
	color: inherit;
	font-weight: inherit;
}

.bf-consent__noscript {
	margin: 0;
	padding: 12px 20px;
	text-align: center;
}

@media (max-width: 760px) {
	.bf-consent__banner {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 20px;
	}

	.bf-consent__modal-actions {
		grid-template-columns: 1fr;
	}

	.bf-consent__modal-actions .bf-consent__button--save {
		order: 3;
	}
}

@media (max-width: 480px) {
	.bf-consent__banner {
		right: 10px;
		bottom: 10px;
		left: 10px;
		width: calc(100% - 20px);
		max-height: calc(100vh - 20px);
		padding: 17px;
		border-radius: 16px;
	}

	.bf-consent__actions {
		grid-template-columns: 1fr;
	}

	.bf-consent__button--preferences {
		grid-column: auto;
	}

	.bf-consent__backdrop {
		align-items: end;
		padding: 10px;
	}

	.bf-consent__modal {
		max-height: calc(100vh - 20px);
		padding: 20px 17px;
		border-radius: 18px;
	}

	.bf-consent__choice {
		gap: 12px;
		padding: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bf-consent__button,
	.bf-consent__switch span,
	.bf-consent__switch span::after {
		transition: none;
	}
}
