/* ============================================
   Cookie Consent Banner
   Uses CSS variables from theme (:root)
   ============================================ */

.wv3-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	display: flex;
	justify-content: flex-end;
	padding: 16px;
	pointer-events: none;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.wv3-cookie-banner.wv3-cookie-banner--visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.wv3-cookie-banner__content {
	background: var(--wv3-bg, #fff);
	border: 1px solid var(--wv3-border, #e0e5e4);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	padding: 24px 28px;
	max-width: 520px;
	width: 100%;
	position: relative;
	border-radius: var(--wv3-radius-lg, 16px);
}

.wv3-cookie-banner__close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: var(--wv3-text-muted, #b2bec3);
	cursor: pointer;
	padding: 4px 6px;
	transition: color 0.15s ease;
}

.wv3-cookie-banner__close:hover {
	color: var(--wv3-text, #2d3436);
}

.wv3-cookie-banner__title {
	font-family: var(--wv3-font-heading, "Inter", system-ui, sans-serif);
	font-weight: var(--wv3-font-weight-heading, 700);
	font-size: 1.15rem;
	color: var(--wv3-text, #2d3436);
	margin: 0 0 6px;
}

.wv3-cookie-banner__text {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--wv3-text-secondary, #636e72);
	margin: 0 0 16px;
}

.wv3-cookie-banner__actions {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
}

.wv3-cookie-banner__btn {
	flex: 1;
	padding: 10px 20px;
	font-size: 0.9rem;
	font-weight: 600;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	border-radius: var(--wv3-radius-md, 8px);
	font-family: var(--wv3-font-body, "Inter", system-ui, sans-serif);
}

.wv3-cookie-banner__btn--accept {
	background: var(--wv3-primary, #4f7f74);
	color: #fff;
	border-color: var(--wv3-primary, #4f7f74);
}

.wv3-cookie-banner__btn--accept:hover {
	background: var(--wv3-primary-dark, #3d6a5f);
	border-color: var(--wv3-primary-dark, #3d6a5f);
}

.wv3-cookie-banner__btn--decline {
	background: transparent;
	color: var(--wv3-text-secondary, #636e72);
	border-color: var(--wv3-border, #e0e5e4);
}

.wv3-cookie-banner__btn--decline:hover {
	border-color: var(--wv3-text-secondary, #636e72);
	color: var(--wv3-text, #2d3436);
}

.wv3-cookie-banner__links {
	font-size: 0.8rem;
	color: var(--wv3-text-muted, #b2bec3);
	text-align: center;
}

.wv3-cookie-banner__links a {
	color: var(--wv3-text-muted, #b2bec3);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wv3-cookie-banner__links a:hover {
	color: var(--wv3-text-secondary, #636e72);
}

.wv3-cookie-banner__sep {
	margin: 0 6px;
}

/* ── Mobile ────────────────────────── */
@media (max-width: 480px) {
	.wv3-cookie-banner {
		padding: 0;
	}

	.wv3-cookie-banner__content {
		max-width: none;
		border-radius: var(--wv3-radius-lg, 16px) var(--wv3-radius-lg, 16px) 0 0;
		border-bottom: none;
		padding: 20px 20px 24px;
	}

	.wv3-cookie-banner__actions {
		flex-direction: column;
	}

	.wv3-cookie-banner__btn {
		width: 100%;
	}
}
