/* Ecoleas Cookie Consent 1.0.0 — uses the ecoleas theme tokens, with fallbacks */
.ecc {
	position: fixed;
	left: clamp(12px, 2.4vw, 28px);
	bottom: clamp(12px, 2.4vw, 28px);
	z-index: 99990;
	width: min(420px, calc(100vw - 24px));
	font-family: var(--ec-font-text, 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif);
	color: var(--ec-ink, #151515);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease;
}
.ecc[hidden] { display: none; }
.ecc.is-in { opacity: 1; transform: none; }

.ecc__card {
	background: var(--ec-page, #fff);
	border: 1px solid var(--ec-rule-warm, #E4D5C4);
	border-radius: var(--ec-radius, 12px);
	box-shadow: 0 18px 48px rgba(21, 21, 21, .14);
	padding: 22px 22px 18px;
	outline: none;
}
.ecc__card:focus-visible { box-shadow: 0 0 0 2px var(--ec-plum, #3A172B), 0 18px 48px rgba(21, 21, 21, .14); }

.ecc__title {
	margin: 0 0 8px;
	font-family: var(--ec-font-display, 'Bricolage Grotesque', system-ui, sans-serif);
	font-size: 19px;
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.3;
}
.ecc__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ec-ink-muted, #544B50);
}
.ecc__text a { color: var(--ec-ink, #151515); text-decoration: underline; text-underline-offset: 3px; }
.ecc__text a:hover { color: var(--ec-plum, #3A172B); }

.ecc__prefs { margin-top: 16px; border-top: 1px solid var(--ec-hairline, #F2E8DF); }
.ecc__prefs[hidden] { display: none; }
.ecc__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--ec-hairline, #F2E8DF);
	cursor: pointer;
}
.ecc__row:first-child { cursor: default; }
.ecc__label { display: grid; gap: 2px; }
.ecc__label strong { font-size: 14px; font-weight: 500; }
.ecc__label small { font-size: 12.5px; line-height: 1.45; color: var(--ec-ink-muted, #544B50); }

.ecc__switch {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	position: relative;
	width: 38px;
	height: 22px;
	margin: 0;
	border-radius: 999px;
	background: var(--ec-rule-field, #DFCFBD);
	cursor: pointer;
	transition: background .2s ease;
}
.ecc__switch::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	transition: transform .2s ease;
}
.ecc__switch:checked { background: var(--ec-ink, #151515); }
.ecc__switch:checked::after { transform: translateX(16px); }
.ecc__switch:disabled { opacity: .45; cursor: not-allowed; }
.ecc__switch:focus-visible { outline: 2px solid var(--ec-plum, #3A172B); outline-offset: 2px; }

.ecc__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 18px;
}
.ecc__btn {
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1;
	padding: 12px 16px;
	border-radius: 999px;
	border: 1px solid var(--ec-ink, #151515);
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ecc__btn[hidden] { display: none; }
.ecc__btn--solid { background: var(--ec-ink, #151515); color: var(--ec-cream, #FFF8EC); }
.ecc__btn--solid:hover { background: var(--ec-plum, #3A172B); border-color: var(--ec-plum, #3A172B); }
.ecc__btn--line { background: transparent; color: var(--ec-ink, #151515); }
.ecc__btn--line:hover { background: var(--ec-ivory, #FAF3EB); }
.ecc__btn--text {
	background: none;
	border-color: transparent;
	color: var(--ec-ink-muted, #544B50);
	text-decoration: underline;
	text-underline-offset: 3px;
	padding-left: 4px;
	padding-right: 4px;
	margin-right: auto;
}
.ecc__btn--text:hover { color: var(--ec-plum, #3A172B); }
.ecc__btn:focus-visible { outline: 2px solid var(--ec-plum, #3A172B); outline-offset: 2px; }

@media (max-width: 520px) {
	.ecc { left: 0; right: 0; bottom: 0; width: 100%; }
	.ecc__card { border-radius: var(--ec-radius, 12px) var(--ec-radius, 12px) 0 0; border-bottom: 0; padding: 18px 16px 16px; }
	.ecc__actions { justify-content: stretch; }
	.ecc__btn--line, .ecc__btn--solid { flex: 1 1 auto; white-space: nowrap; }
	.ecc__btn--text { flex-basis: 100%; text-align: left; margin: 0 0 2px; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.ecc, .ecc__switch, .ecc__switch::after, .ecc__btn { transition: none; }
}
