/* WPCE Cookie Consent banner — mirrors the theme design tokens. */
.cookie {
	position: fixed;
	left: 50%;
	bottom: 18px;
	z-index: 180;
	width: min(760px, calc(100vw - 28px));
	transform: translateX(-50%);
	animation: wpce-cookie-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes wpce-cookie-in {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

.cookie-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 18px 22px;
	background: var(--c-surface, #fff);
	border: 1px solid var(--c-border, #e6eaf0);
	border-radius: var(--radius, 16px);
	box-shadow: var(--shadow-soft, 0 30px 70px -25px rgba(13, 40, 90, 0.3));
}

.cookie-text h4 {
	margin: 0 0 5px;
	font-family: var(--wp--preset--font-family--display, sans-serif);
	font-size: 15px;
	color: var(--c-contrast, #222831);
}

.cookie-text p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--c-muted, #6b7280);
}

.cookie-text a {
	color: var(--c-primary, #007bff);
}

.cookie-text a:hover {
	text-decoration: underline;
}

.cookie-actions {
	display: flex;
	flex: none;
	gap: 10px;
}

.cookie-actions .btn {
	padding: 11px 17px;
	font-size: 14px;
}

@media (max-width: 660px) {
	.cookie {
		bottom: 12px;
	}

	.cookie-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 18px;
	}

	.cookie-actions {
		flex-direction: column;
	}

	.cookie-actions .btn {
		flex: 1;
		justify-content: center;
	}
}
