/* Yellow Club cookie consent */

.yc-cookie-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	background: #fff;
	border-top: 1px solid #e8e8e8;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
	font-family: Nunito, system-ui, sans-serif;
}

.yc-cookie-bar[hidden] {
	display: none !important;
}

.yc-cookie-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
}

.yc-cookie-bar__text {
	flex: 1 1 280px;
	font-size: 14px;
	line-height: 1.45;
	color: #222;
}

.yc-cookie-bar__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.yc-cookie-bar__more {
	flex: 0 0 auto;
}

.yc-cookie-btn {
	appearance: none;
	border-radius: 999px;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	font-family: inherit;
}

.yc-cookie-btn--outline {
	background: #fff;
	color: #111;
	border: 1.5px solid #111;
}

.yc-cookie-btn--outline:hover {
	background: #111;
	color: #fff;
}

.yc-cookie-btn--primary {
	background: #ffcf0d;
	color: #111;
	border: 1.5px solid #ffcf0d;
}

.yc-cookie-btn--primary:hover {
	background: #f3c50b;
	border-color: #f3c50b;
}

.yc-cookie-link {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	color: #111;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	font-family: inherit;
}

.yc-cookie-link:hover {
	color: #555;
}

.yc-cookie-modal[hidden] {
	display: none !important;
}

.yc-cookie-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.yc-cookie-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.yc-cookie-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: min(90vh, 860px);
	overflow: auto;
	background: #fff;
	border-radius: 16px;
	padding: 28px 24px 24px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.yc-cookie-modal__dialog--sm {
	width: min(480px, 100%);
}

.yc-cookie-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #666;
}

.yc-cookie-settings__title {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.25;
	color: #111;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.yc-cookie-settings p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.yc-cookie-settings a {
	color: #111;
	text-decoration: underline;
}

.yc-cookie-category {
	margin: 18px 0;
	padding-top: 12px;
	border-top: 1px solid #eee;
}

.yc-cookie-category__title {
	margin: 0 0 8px;
	font-size: 16px;
	color: #111;
}

.yc-cookie-check {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	margin-bottom: 8px;
	user-select: none;
}

.yc-cookie-check input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.yc-cookie-check__box {
	width: 20px;
	height: 20px;
	border: 2px solid #111;
	border-radius: 4px;
	flex: 0 0 auto;
	position: relative;
	background: #fff;
}

.yc-cookie-check input:checked + .yc-cookie-check__box {
	background: #ffcf0d;
	border-color: #111;
}

.yc-cookie-check input:checked + .yc-cookie-check__box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 6px;
	height: 11px;
	border: solid #111;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.yc-cookie-check__label {
	font-size: 16px;
	font-weight: 700;
	color: #111;
}

.yc-cookie-warn {
	margin-top: 10px;
	padding: 10px 12px;
	background: #fff4f4;
	border-left: 3px solid #e53935;
	font-size: 13px;
	line-height: 1.45;
	color: #333;
}

.yc-cookie-settings__actions {
	margin-top: 20px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

@media (max-width: 720px) {
	.yc-cookie-bar__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.yc-cookie-bar__actions {
		width: 100%;
	}

	.yc-cookie-bar__actions .yc-cookie-btn {
		flex: 1;
	}

	.yc-cookie-bar__text br {
		display: none;
	}
}
