.cookie-banner {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 200;
	background: var(--ink);
	color: var(--background);
	border-top: 1px solid oklch(1 0 0 / 0.12);
}

.cookie-banner[hidden] {
	display: none;
}

.cookie-banner__inner {
	max-width: var(--container-max);
	margin-inline: auto;
	padding: 1.25rem var(--container-pad);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cookie-banner__text {
	font-size: 0.85rem;
	line-height: 1.6;
	color: oklch(1 0 0 / 0.75);
}

.cookie-banner__text a {
	color: var(--background);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-banner__actions {
	display: flex;
	gap: 0.75rem;
	flex-shrink: 0;
}

.cookie-banner__actions .btn-secondary {
	color: var(--background);
	border-color: oklch(1 0 0 / 0.25);
}
.cookie-banner__actions .btn-secondary:hover {
	background: oklch(1 0 0 / 0.08);
	border-color: oklch(1 0 0 / 0.4);
}

.cookie-banner__actions .btn-primary {
	background: var(--background);
	color: var(--ink);
}
.cookie-banner__actions .btn-primary:hover {
	background: oklch(1 0 0 / 0.85);
}

@media (min-width: 640px) {
	.cookie-banner__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.cookie-banner__text {
		flex: 1;
	}
}
