/* WK-Reifen Cookie Consent Popup
 * Accent: brand blue (replaces ZEC+ green)
 */

.wk-cookie-popup {
	--wk-cookie-accent: #2b6def;
	--wk-cookie-accent-hover: #1f5ad4;
	--wk-cookie-text: #1a1a1a;
	--wk-cookie-muted: #555555;
	--wk-cookie-gray-btn: #e8e8e8;
	--wk-cookie-gray-btn-hover: #dcdcdc;
	--wk-cookie-gray-text: #333333;
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.wk-cookie-popup[hidden] {
	display: none !important;
}

.wk-cookie-popup *,
.wk-cookie-popup *::before,
.wk-cookie-popup *::after {
	box-sizing: border-box;
}

.wk-cookie-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(2px);
}

.wk-cookie-popup__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 500px;
	background: #ffffff;
	border-radius: 12px;
	padding: 36px 32px 28px;
	text-align: center;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
	animation: wk-cookie-in 0.28s ease-out;
}

@keyframes wk-cookie-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.wk-cookie-popup__logo {
	margin-bottom: 22px;
}

.wk-cookie-popup__logo img {
	display: inline-block;
	max-width: 170px;
	height: auto;
	/* Logo art is on black — lighten presentation on white dialog */
	/* background: #0a0a0a; */
	border-radius: 8px;
	padding: 10px 14px;
}

.wk-cookie-popup__title {
	margin: 0 0 14px;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wk-cookie-text);
}

.wk-cookie-popup__text {
	margin: 0 0 26px;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--wk-cookie-muted);
}

.wk-cookie-popup__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 22px;
}

/* High specificity + !important to beat Woodmart/theme button styles */
.wk-cookie-popup .wk-cookie-popup__btn,
.wk-cookie-popup button.wk-cookie-popup__btn {
	display: block !important;
	width: 100% !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 14px 18px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	cursor: pointer !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	outline: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease !important;
}

.wk-cookie-popup .wk-cookie-popup__btn:active {
	transform: scale(0.985);
}

.wk-cookie-popup .wk-cookie-popup__btn--accept,
.wk-cookie-popup button.wk-cookie-popup__btn--accept,
.wk-cookie-popup .wk-cookie-popup__btn--accept:focus,
.wk-cookie-popup .wk-cookie-popup__btn--accept:visited {
	background: #2b6def !important;
	background-color: #2b6def !important;
	background-image: none !important;
	color: #ffffff !important;
}

.wk-cookie-popup .wk-cookie-popup__btn--accept:hover,
.wk-cookie-popup .wk-cookie-popup__btn--accept:focus-visible {
	background: #1f5ad4 !important;
	background-color: #1f5ad4 !important;
	background-image: none !important;
	color: #ffffff !important;
}

.wk-cookie-popup .wk-cookie-popup__btn--reject,
.wk-cookie-popup button.wk-cookie-popup__btn--reject,
.wk-cookie-popup .wk-cookie-popup__btn--reject:focus,
.wk-cookie-popup .wk-cookie-popup__btn--reject:visited {
	background: #e8e8e8 !important;
	background-color: #e8e8e8 !important;
	background-image: none !important;
	color: #333333 !important;
}

.wk-cookie-popup .wk-cookie-popup__btn--reject:hover,
.wk-cookie-popup .wk-cookie-popup__btn--reject:focus-visible {
	background: #dcdcdc !important;
	background-color: #dcdcdc !important;
	background-image: none !important;
	color: #333333 !important;
}

.wk-cookie-popup__footer {
	font-size: 0.8rem;
	color: var(--wk-cookie-muted);
}

.wk-cookie-popup__footer a {
	color: var(--wk-cookie-muted);
	text-decoration: none;
}

.wk-cookie-popup__footer a:hover {
	color: var(--wk-cookie-accent);
	text-decoration: underline;
}

.wk-cookie-popup__sep {
	margin: 0 6px;
	opacity: 0.7;
}

@media (max-width: 480px) {
	.wk-cookie-popup__dialog {
		padding: 28px 20px 22px;
	}

	.wk-cookie-popup__title {
		font-size: 1.2rem;
	}
}

body.wk-cookie-open {
	overflow: hidden;
}
