.cookie-alert {
	--nf-cookie-container: min(var(--nf-container-width), calc(100% - 80px));
	/* Match .hero-layout left column: (container - 70px gap) * 1.14 / 1.9 */
	--nf-cookie-hero-left: calc((var(--nf-cookie-container) - 70px) * 1.14 / 1.9);
	position: fixed;
	bottom: 20px;
	left: calc(50% - var(--nf-cookie-container) / 2);
	z-index: 10000;
	width: var(--nf-cookie-hero-left);
	padding: 20px;
	border: 1px solid var(--nf-divider);
	border-radius: 16px;
	background: var(--nf-white);
	box-shadow: 0 18px 48px rgba(23, 21, 38, 0.12);
	color: var(--nf-ink);
	font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	display: none;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-alert.cookie-alert--visible {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.cookie-alert__wrapper {
	width: 100%;
}

.cookie-alert__content {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0;
}

.cookie-alert__text {
	flex: 1;
	min-width: 0;
	margin: 0;
}

.cookie-alert__text p {
	margin: 0;
	padding: 0;
	color: var(--nf-muted);
	font-size: 12px;
	line-height: 1.45;
}

.cookie-alert__text strong {
	color: var(--nf-ink);
	font-weight: 650;
	font-size: 14px;
	line-height: 1.35;
}

.cookie-alert__text a {
	color: var(--nf-violet-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cookie-alert__text a:hover {
	color: var(--nf-blue);
}

.cookie-alert__button-wrapper {
	display: flex;
	flex-shrink: 0;
}

.cookie-alert__button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border: 1px solid rgba(94, 78, 215, 0.32);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 12px 28px rgba(46, 169, 240, 0.14);
	color: var(--nf-violet-dark);
	font-family: inherit;
	font-size: 14px;
	font-weight: 720;
	line-height: 1.2;
	cursor: pointer;
	outline: none;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-alert__button:hover,
.cookie-alert__button:focus-visible {
	background: #fff;
	border-color: rgba(94, 78, 215, 0.48);
	box-shadow: 0 12px 28px rgba(46, 169, 240, 0.2);
}

.cookie-alert__button:active {
	transform: translateY(1px);
}

.cookie-alert.hidden {
	display: none !important;
	opacity: 0;
	transform: translateY(20px);
}

/* Mid hero: 1fr + 410px, gap 36px — same as .hero-layout */
@media (max-width: 1120px) {
	.cookie-alert {
		--nf-cookie-hero-left: calc(var(--nf-cookie-container) - 36px - 410px);
	}
}

/* Stacked hero: left column is full container */
@media (max-width: 820px) {
	.cookie-alert {
		--nf-cookie-hero-left: var(--nf-cookie-container);
	}
}

@media (max-width: 768px) {
	.cookie-alert {
		left: 10px;
		right: 10px;
		bottom: 10px;
		width: auto;
		padding: 15px;
		transform: translateY(20px);
	}

	.cookie-alert.cookie-alert--visible {
		transform: translateY(0);
	}

	.cookie-alert.hidden {
		transform: translateY(20px);
	}

	.cookie-alert__content {
		flex-direction: column;
		align-items: stretch;
		gap: 15px;
	}

	.cookie-alert__button {
		width: 100%;
	}
}
