/**
 * Hoker cookie consent — delikatny pasek na dole, bez blokady całego ekranu.
 * Nie dotyka .single_variation_wrap ani layoutu STOLARZ.
 */

.hoker-cookie-consent-root {
	position: relative;
	z-index: 100002;
}

.hoker-cookie-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100002;
	pointer-events: none;
}

.hoker-cookie-consent.is-visible {
	pointer-events: auto;
}

.hoker-cookie-consent__panel {
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 14px calc(12px + env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
	transform: translateY(110%);
	opacity: 0;
	transition: transform 0.45s ease, opacity 0.35s ease;
}

.hoker-cookie-consent.is-visible .hoker-cookie-consent__panel {
	transform: translateY(0);
	opacity: 1;
}

.hoker-cookie-consent__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	padding: 12px 16px;
	background: rgba(255, 250, 247, 0.98);
	border: 1px solid rgba(118, 0, 34, 0.14);
	border-radius: 10px 10px 0 0;
	box-shadow: 0 -8px 28px rgba(36, 31, 28, 0.12);
	backdrop-filter: blur(6px);
}

.hoker-cookie-consent__copy {
	flex: 1 1 260px;
	min-width: 0;
}

.hoker-cookie-consent__title {
	margin: 0 0 4px;
	font-size: 0.9rem;
	font-weight: 700;
	color: #3f3a36;
}

.hoker-cookie-consent__lead {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: #6f6762;
}

.hoker-cookie-consent__links {
	margin: 6px 0 0;
	font-size: 0.72rem;
}

.hoker-cookie-consent__links a {
	color: #760022;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hoker-cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
	flex: 0 1 auto;
}

.hoker-cookie-consent__btn {
	appearance: none;
	border: 1px solid rgba(118, 0, 34, 0.28);
	background: #fff;
	color: #3f3a36;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hoker-cookie-consent__btn:hover,
.hoker-cookie-consent__btn:focus-visible {
	background: #760022;
	border-color: #760022;
	color: #fff;
	outline: none;
}

.hoker-cookie-consent__btn--primary {
	background: #760022;
	border-color: #760022;
	color: #fff;
}

.hoker-cookie-consent__btn--primary:hover,
.hoker-cookie-consent__btn--primary:focus-visible {
	background: #5c001a;
	border-color: #5c001a;
	color: #fff;
}

.hoker-cookie-consent__settings {
	margin-top: 8px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid rgba(118, 0, 34, 0.12);
	border-radius: 8px;
}

.hoker-cookie-consent__settings[hidden] {
	display: none !important;
}

.hoker-cookie-consent__row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(118, 0, 34, 0.08);
}

.hoker-cookie-consent__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.hoker-cookie-consent__row label {
	flex: 1;
	font-size: 0.78rem;
	line-height: 1.4;
	color: #5c5652;
	cursor: pointer;
}

.hoker-cookie-consent__row strong {
	display: block;
	color: #3f3a36;
	font-size: 0.82rem;
}

.hoker-cookie-consent__row input {
	margin-top: 3px;
	accent-color: #760022;
}

.hoker-cookie-consent__row input:disabled {
	opacity: 0.65;
}

.hoker-cookie-consent-reopen {
	position: fixed;
	left: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	z-index: 100001;
	appearance: none;
	border: 1px solid rgba(118, 0, 34, 0.22);
	background: rgba(255, 255, 255, 0.94);
	color: #5c5652;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 0.68rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(36, 31, 28, 0.1);
}

.hoker-cookie-consent-reopen[hidden] {
	display: none !important;
}

body.hoker-cookie-consent-open {
	overflow: auto;
}

@media (max-width: 921px) {
	.hoker-cookie-consent__bar {
		padding: 10px 12px;
		border-radius: 8px 8px 0 0;
	}

	.hoker-cookie-consent__actions {
		width: 100%;
		justify-content: stretch;
	}

	.hoker-cookie-consent__btn {
		flex: 1 1 calc(50% - 4px);
		text-align: center;
		padding: 9px 10px;
	}

	.hoker-cookie-consent__btn--settings {
		flex-basis: 100%;
	}

	.hoker-cookie-consent-reopen {
		left: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	}
}

@media (min-width: 922px) {
	.hoker-cookie-consent-reopen {
		left: 16px;
		bottom: 16px;
	}
}
