/* Cookie consent banner
   ========================================================================== */

.vucheto-consent {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 10000;
	padding: 1rem;
	pointer-events: none;
}

.vucheto-consent[hidden],
.vucheto-consent[data-open="0"] {
	display: none !important;
}

.vucheto-consent__panel {
	pointer-events: auto;
	max-width: 640px;
	margin: 0 auto;
	padding: 1.25rem 1.35rem 1.2rem;
	background: var(--color-cream, #f5f0e6);
	color: var(--color-black, #1a1a1a);
	border: 1px solid rgba(26, 26, 26, 0.12);
	box-shadow: 0 -8px 40px rgba(26, 26, 26, 0.14);
	font-family: var(--font-sans, system-ui, sans-serif);
}

.vucheto-consent__title {
	font-family: var(--font-serif, Georgia, serif);
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0 0 0.45rem;
	line-height: 1.2;
}

.vucheto-consent__text {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.55;
	opacity: 0.88;
}

.vucheto-consent__privacy {
	display: inline;
	margin-left: 0.25rem;
	color: var(--color-teal-dark, #4a8f8f);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vucheto-consent__privacy:hover {
	color: var(--color-black, #1a1a1a);
}

.vucheto-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-end;
}

.vucheto-consent__btn {
	appearance: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.7rem 1rem;
	border-radius: 2px;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.vucheto-consent__btn:hover {
	transform: translateY(-1px);
}

.vucheto-consent__btn--primary {
	background: var(--color-teal, #5ba3a3);
	color: #fff;
}

.vucheto-consent__btn--primary:hover {
	background: var(--color-teal-dark, #4a8f8f);
	color: #fff;
}

.vucheto-consent__btn--ghost {
	background: transparent;
	color: var(--color-black, #1a1a1a);
	box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.22);
}

.vucheto-consent__btn--ghost:hover {
	background: rgba(26, 26, 26, 0.05);
}

.vucheto-consent__prefs {
	margin-top: 0.25rem;
}

.vucheto-consent__toggle {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.75rem 0;
	border-top: 1px solid rgba(26, 26, 26, 0.08);
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1.4;
}

.vucheto-consent__toggle:first-child {
	border-top: none;
}

.vucheto-consent__toggle input {
	margin-top: 0.2rem;
	width: 1.05rem;
	height: 1.05rem;
	accent-color: var(--color-teal, #5ba3a3);
	flex-shrink: 0;
}

.vucheto-consent__toggle strong {
	display: block;
	font-weight: 600;
}

.vucheto-consent__toggle small {
	display: block;
	margin-top: 0.15rem;
	opacity: 0.65;
	font-size: 0.8rem;
}

.vucheto-consent__prefs .vucheto-consent__actions {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.site-footer__consent {
	margin: 0.35rem 0 0;
}

.site-footer__consent-btn {
	appearance: none;
	background: none;
	border: none;
	padding: 0;
	color: rgba(255, 255, 255, 0.72);
	font: inherit;
	font-size: 0.82rem;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.site-footer__consent-btn:hover {
	color: #fff;
}

@media (max-width: 600px) {
	.vucheto-consent {
		padding: 0.75rem;
	}

	.vucheto-consent__panel {
		padding: 1.1rem 1rem 1rem;
	}

	.vucheto-consent__actions {
		flex-direction: column-reverse;
	}

	.vucheto-consent__btn {
		width: 100%;
		text-align: center;
	}
}
