:root {
	/* Use Belloro's live theme tokens, with the theme's exact palette as fallback. */
	--belloro-cookie-ink: var(--adena-text, #222222);
	--belloro-cookie-muted: var(--adena-muted, #666666);
	--belloro-cookie-cream: var(--adena-bg, #f7f7f7);
	--belloro-cookie-paper: var(--adena-surface, #ffffff);
	--belloro-cookie-accent: var(--adena-accent, #c2b9af);
	--belloro-cookie-accent-dark: var(--adena-accent-dark, #a89e92);
	--belloro-cookie-line: var(--adena-border, #e5e1dc);
	--belloro-cookie-motion: cubic-bezier(0.32, 0.72, 0, 1);
}

.belloro-cookie-consent-root {
	position: relative;
	z-index: 900;
}

.belloro-cookie-banner {
	position: fixed;
	right: clamp(12px, 2vw, 28px);
	bottom: clamp(12px, 2vw, 28px);
	left: clamp(12px, 2vw, 28px);
	z-index: 900;
	color: var(--belloro-cookie-ink);
	font-family: "Fira Sans Condensed", "Avenir Next Condensed", sans-serif;
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	transition: opacity 420ms var(--belloro-cookie-motion), transform 620ms var(--belloro-cookie-motion);
}

.belloro-cookie-banner.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.belloro-cookie-banner__shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 5px;
	border-radius: 22px;
	background: rgba(194, 185, 175, 0.3);
	box-shadow: 0 18px 60px rgba(57, 43, 36, 0.12), 0 3px 12px rgba(57, 43, 36, 0.06);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.belloro-cookie-banner__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(22px, 3vw, 46px);
	align-items: center;
	padding: clamp(18px, 2.4vw, 30px);
	border-radius: 17px;
	background: var(--belloro-cookie-paper);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.belloro-cookie-banner__copy {
	min-width: 0;
}

.belloro-cookie-banner__title {
	margin: 0 0 5px;
	color: var(--belloro-cookie-ink);
	font-family: "Unna", Georgia, serif;
	font-size: clamp(20px, 1.8vw, 25px);
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

.belloro-cookie-banner__text {
	max-width: 690px;
	margin: 0;
	color: var(--belloro-cookie-muted);
	font-size: 14px;
	line-height: 1.55;
}

.belloro-cookie-banner__policy,
.belloro-cookie-modal__footer .belloro-cookie-banner__policy,
.belloro-cookie-settings-link {
	color: var(--belloro-cookie-accent-dark);
	text-decoration: underline;
	text-decoration-color: var(--belloro-cookie-accent);
	text-underline-offset: 0.2em;
}

.belloro-cookie-banner__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(150px, 1fr));
	gap: 9px;
	align-items: center;
}

.belloro-cookie-button {
	min-height: 46px;
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	transition: color 360ms var(--belloro-cookie-motion), background-color 360ms var(--belloro-cookie-motion), box-shadow 360ms var(--belloro-cookie-motion), transform 360ms var(--belloro-cookie-motion);
}

.belloro-cookie-button:hover {
	transform: translate3d(0, -1px, 0);
}

.belloro-cookie-button:active {
	transform: scale(0.98);
}

.belloro-cookie-button:focus-visible,
.belloro-cookie-modal__close:focus-visible,
.belloro-cookie-settings-link:focus-visible {
	outline: 2px solid var(--belloro-cookie-accent-dark);
	outline-offset: 3px;
}

.belloro-cookie-button--primary {
	background: var(--belloro-cookie-accent);
	color: #fff;
	box-shadow: 0 8px 24px rgba(168, 158, 146, 0.2);
}

.belloro-cookie-button--primary:hover {
	background: var(--belloro-cookie-accent-dark);
	color: #fff;
}

.belloro-cookie-button--secondary {
	background: transparent;
	color: var(--belloro-cookie-ink);
	box-shadow: inset 0 0 0 1px var(--belloro-cookie-line);
}

.belloro-cookie-button--secondary:hover {
	background: var(--belloro-cookie-ink);
	color: #fff;
}

.belloro-cookie-button--text {
	grid-column: 1 / -1;
	min-height: 32px;
	padding: 3px 10px;
	background: transparent;
	color: var(--belloro-cookie-muted);
}

.belloro-cookie-button--text span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-left: 5px;
	border-radius: 50%;
	background: var(--belloro-cookie-cream);
	transition: transform 360ms var(--belloro-cookie-motion);
}

.belloro-cookie-button--text:hover span {
	transform: translate3d(3px, 0, 0);
}

.belloro-cookie-settings-link {
	display: inline;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
}

.belloro-cookie-modal {
	position: fixed;
	inset: 0;
	z-index: 910;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	background: rgba(35, 27, 23, 0.48);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	opacity: 0;
	transition: opacity 420ms var(--belloro-cookie-motion);
}

.belloro-cookie-modal.is-visible {
	opacity: 1;
}

.belloro-cookie-modal__shell {
	width: min(100%, 650px);
	max-height: calc(100dvh - 36px);
	padding: 6px;
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.42);
	box-shadow: 0 30px 100px rgba(35, 27, 23, 0.22);
	transform: translate3d(0, 24px, 0) scale(0.985);
	transition: transform 620ms var(--belloro-cookie-motion);
}

.belloro-cookie-modal.is-visible .belloro-cookie-modal__shell {
	transform: translate3d(0, 0, 0) scale(1);
}

.belloro-cookie-modal__panel {
	position: relative;
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	padding: clamp(24px, 5vw, 46px);
	border-radius: 24px;
	background: var(--belloro-cookie-paper);
	color: var(--belloro-cookie-ink);
	font-family: "Fira Sans Condensed", "Avenir Next Condensed", sans-serif;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.belloro-cookie-modal__eyebrow {
	display: inline-flex;
	margin: 0 0 14px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--belloro-cookie-cream);
	color: var(--belloro-cookie-muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1;
	text-transform: uppercase;
}

.belloro-cookie-modal__panel h2 {
	margin: 0 50px 10px 0;
	font-family: "Unna", Georgia, serif;
	font-size: clamp(29px, 5vw, 40px);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.06;
}

.belloro-cookie-modal__intro {
	margin: 0 0 26px;
	color: var(--belloro-cookie-muted);
	font-size: 15px;
	line-height: 1.58;
}

.belloro-cookie-modal__close {
	position: absolute;
	top: 22px;
	right: 22px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: var(--belloro-cookie-cream);
	cursor: pointer;
	transition: background-color 360ms var(--belloro-cookie-motion), transform 360ms var(--belloro-cookie-motion);
}

.belloro-cookie-modal__close:hover {
	background: var(--belloro-cookie-accent);
	transform: rotate(5deg);
}

.belloro-cookie-modal__close span::before,
.belloro-cookie-modal__close span::after {
	position: absolute;
	top: 20px;
	left: 12px;
	width: 18px;
	height: 1px;
	background: var(--belloro-cookie-accent-dark);
	content: "";
}

.belloro-cookie-modal__close span::before { transform: rotate(45deg); }
.belloro-cookie-modal__close span::after { transform: rotate(-45deg); }

.belloro-cookie-category {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	margin-bottom: 11px;
	padding: 18px 20px;
	border-radius: 17px;
	background: var(--belloro-cookie-cream);
	box-shadow: inset 0 0 0 1px var(--belloro-cookie-line), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.belloro-cookie-category h3,
.belloro-cookie-category strong {
	display: block;
	margin: 0 0 5px;
	color: var(--belloro-cookie-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.belloro-cookie-category p,
.belloro-cookie-category > span > span:not(.belloro-cookie-switch) {
	display: block;
	margin: 0;
	color: var(--belloro-cookie-muted);
	font-size: 13px;
	line-height: 1.48;
}

.belloro-cookie-category--toggle { cursor: pointer; }

.belloro-cookie-pill {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--belloro-cookie-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.belloro-cookie-switch {
	position: relative;
	display: block;
	width: 48px;
	height: 28px;
	flex: 0 0 auto;
}

.belloro-cookie-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.belloro-cookie-switch > span {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: var(--belloro-cookie-line);
	box-shadow: inset 0 0 0 1px rgba(57, 43, 36, 0.08);
	transition: background-color 360ms var(--belloro-cookie-motion);
}

.belloro-cookie-switch > span::after {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 10px rgba(57, 43, 36, 0.16);
	content: "";
	transition: transform 420ms var(--belloro-cookie-motion);
}

.belloro-cookie-switch input:checked + span { background: var(--belloro-cookie-accent-dark); }
.belloro-cookie-switch input:checked + span::after { transform: translate3d(20px, 0, 0); }
.belloro-cookie-switch input:focus-visible + span { outline: 2px solid var(--belloro-cookie-accent-dark); outline-offset: 3px; }

.belloro-cookie-modal__footer {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	margin-top: 24px;
}

.belloro-cookie-modal__footer .belloro-cookie-banner__policy {
	font-size: 13px;
}

.belloro-cookie-button--save {
	min-width: 230px;
}

.belloro-cookie-modal-open { overflow: hidden; }

@media (max-width: 860px) {
	.belloro-cookie-banner__content {
		grid-template-columns: 1fr;
	}

	.belloro-cookie-banner__actions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.belloro-cookie-button--text {
		grid-column: auto;
		min-height: 46px;
	}
}

@media (max-width: 620px) {
	.belloro-cookie-banner__actions {
		grid-template-columns: 1fr;
	}

	.belloro-cookie-button--text { min-height: 34px; }

	.belloro-cookie-category {
		padding: 16px;
	}

	.belloro-cookie-modal__footer {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.belloro-cookie-button--save { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.belloro-cookie-banner,
	.belloro-cookie-modal,
	.belloro-cookie-modal__shell,
	.belloro-cookie-button,
	.belloro-cookie-button--text span,
	.belloro-cookie-modal__close,
	.belloro-cookie-switch > span,
	.belloro-cookie-switch > span::after {
		transition-duration: 0.01ms !important;
	}
}
