/* BC Cookie Consent — editorial, ink-on-paper, sharp corners. Mobile first. */
.bcc-bar, .bcc-ov, .bcc-fab {
	--bcc-ink: #0b0b0b;
	--bcc-paper: #ffffff;
	--bcc-mist: #f5f5f4;
	--bcc-line: #e6e6e6;
	--bcc-mute: #555555;
	--bcc-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--bcc-serif: "Cormorant Garamond", "Didot", "Bodoni MT", Georgia, serif;
	--bcc-ease: cubic-bezier(.2, .7, .2, 1);
	font-family: var(--bcc-sans);
	font-weight: 400;
	color: var(--bcc-ink);
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.bcc-bar *, .bcc-ov *, .bcc-fab * { box-sizing: border-box; }

/* ---------- Banner (compact) ---------- */
.bcc-bar {
	position: fixed;
	left: 10px;
	right: 10px;
	bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	z-index: 2147483000;
	background: var(--bcc-paper);
	border: 1px solid var(--bcc-ink);
	padding: 12px 12px 10px 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
	transform: translateY(calc(100% + 24px));
	opacity: 0;
	transition: transform .45s var(--bcc-ease), opacity .3s;
}
.bcc-bar.is-in { transform: none; opacity: 1; }
.bcc-txt {
	margin: 0 0 9px;
	font-weight: 400;
	font-size: 12.5px;
	line-height: 1.45;
	letter-spacing: .005em;
	color: var(--bcc-ink);
}
.bcc-txt a, .bcc-foot a, .bcc-lnk {
	color: var(--bcc-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.bcc-row { display: flex; align-items: center; gap: 6px; }
.bcc-row .bcc-lnk { margin-right: auto; }

.bcc-lnk {
	background: none;
	border: 0;
	padding: 8px 2px;
	font: 500 10.5px/1 var(--bcc-sans);
	letter-spacing: .16em;
	text-transform: uppercase;
	cursor: pointer;
	min-height: 36px;
}

/* Accept and Reject are deliberately identical (equal prominence, AEPD guidance). */
.bcc-btn {
	appearance: none;
	-webkit-appearance: none;
	background: var(--bcc-paper);
	color: var(--bcc-ink);
	border: 1px solid var(--bcc-ink);
	border-radius: 0;
	min-height: 36px;
	min-width: 84px;
	padding: 0 14px;
	font: 600 10.5px/1 var(--bcc-sans);
	letter-spacing: .18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.bcc-btn:hover { background: var(--bcc-ink); color: var(--bcc-paper); }
.bcc-btn:focus-visible, .bcc-lnk:focus-visible, .bcc-x:focus-visible, .bcc-fab:focus-visible, .bcc-sw input:focus-visible + span {
	outline: 2px solid var(--bcc-ink);
	outline-offset: 2px;
}

@media (min-width: 640px) {
	.bcc-bar {
		left: 20px;
		right: auto;
		bottom: 20px;
		width: 380px;
		padding: 16px 16px 12px 18px;
	}
	.bcc-txt { font-size: 13px; margin-bottom: 12px; }
}

/* ---------- Preferences (bottom sheet on mobile, centered on desktop) ---------- */
html.bcc-lock, html.bcc-lock body { overflow: hidden; }
.bcc-ov {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	background: rgba(11, 11, 11, .45);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	opacity: 0;
	transition: opacity .3s;
}
.bcc-ov.is-in { opacity: 1; }
.bcc-modal {
	position: relative;
	width: 100%;
	max-height: 88vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: var(--bcc-paper);
	border-top: 1px solid var(--bcc-ink);
	padding: 26px 20px calc(18px + env(safe-area-inset-bottom, 0px));
	transform: translateY(40px);
	transition: transform .45s var(--bcc-ease);
}
.bcc-ov.is-in .bcc-modal { transform: none; }
@media (min-width: 640px) {
	.bcc-ov { align-items: center; }
	.bcc-modal { width: 460px; border: 1px solid var(--bcc-ink); padding: 34px 32px 22px; transform: translateY(16px); }
}

.bcc-x {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	border: 0;
	background: none;
	color: var(--bcc-ink);
	font: 300 26px/1 var(--bcc-sans);
	cursor: pointer;
}
.bcc-eyebrow {
	margin: 0 0 6px;
	font: 500 10px/1 var(--bcc-sans);
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--bcc-mute);
}
.bcc-h {
	margin: 0 0 8px !important;
	font: 500 30px/1.05 var(--bcc-serif) !important;
	letter-spacing: -.005em !important;
	color: var(--bcc-ink) !important;
	text-transform: none !important;
}
.bcc-lead { margin: 0 0 16px; font-weight: 400; font-size: 13px; line-height: 1.5; color: var(--bcc-mute); }

.bcc-cat { border-top: 1px solid var(--bcc-line); padding: 14px 0 12px; }
.bcc-cat:last-of-type { border-bottom: 1px solid var(--bcc-line); }
.bcc-cat-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bcc-cat-t { font: 600 11px/1 var(--bcc-sans); letter-spacing: .18em; text-transform: uppercase; }
.bcc-cat-d { margin: 7px 0 0; font-weight: 400; font-size: 12.5px; line-height: 1.5; color: var(--bcc-mute); }
.bcc-always { font: 500 10px/1 var(--bcc-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bcc-mute); }

/* Switch — square, ink */
.bcc-sw { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; cursor: pointer; }
.bcc-sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bcc-sw span {
	position: absolute; inset: 0;
	border: 1px solid var(--bcc-ink);
	background: var(--bcc-paper);
	transition: background .2s;
	pointer-events: none;
}
.bcc-sw span::after {
	content: ""; position: absolute; top: 3px; left: 3px;
	width: 16px; height: 16px;
	background: var(--bcc-ink);
	transition: transform .25s var(--bcc-ease), background .2s;
}
.bcc-sw input:checked + span { background: var(--bcc-ink); }
.bcc-sw input:checked + span::after { transform: translateX(18px); background: var(--bcc-paper); }

.bcc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.bcc-acts .bcc-btn { min-height: 46px; width: 100%; }
.bcc-acts .bcc-wide { grid-column: 1 / -1; background: var(--bcc-ink); color: var(--bcc-paper); }
.bcc-acts .bcc-wide:hover { background: #2a2a2a; }
.bcc-foot { margin: 14px 0 0; font-size: 11px; color: var(--bcc-mute); text-align: center; }
.bcc-foot a { color: var(--bcc-mute); }

/* ---------- Floating re-open button ---------- */
.bcc-fab {
	position: fixed;
	left: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	z-index: 2147482999;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	padding: 0;
	background: var(--bcc-paper);
	color: var(--bcc-ink);
	border: 1px solid var(--bcc-line);
	border-radius: 0;
	opacity: .8;
	cursor: pointer;
	transition: opacity .2s, border-color .2s;
}
.bcc-fab:hover { opacity: 1; border-color: var(--bcc-ink); }

/* ---------- Cookie policy page ---------- */
.bcc-policy table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bcc-policy th, .bcc-policy td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e6e6e6; vertical-align: top; }
.bcc-policy th { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
	.bcc-bar, .bcc-ov, .bcc-modal { transition: none; }
}
