/* JJO Cookie Consent */

.cc-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9998;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	background: #141414;
	color: #fff;
	padding: 1.5rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

.cc-banner.is-visible {
	transform: translateY(0);
}

.cc-banner__text {
	width: 100%;
	max-width: 900px;
	font-size: 0.9rem;
	line-height: 1.5;
	text-align: left;
}

.cc-banner__text p {
	margin: 0;
	display: block;
	text-align: left;
	color: #fff;
}

.cc-banner__text a {
	color: var(--jjoyellow, #f3bc00);
	text-decoration: underline;
	display: inline;
	white-space: normal;
}

.cc-banner__actions {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: flex-end;
}

@media (min-width: 900px) {
	.cc-banner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.cc-banner__text {
		flex: 1 1 auto;
	}

	.cc-banner__actions {
		width: auto;
		flex-wrap: nowrap;
	}

	.cc-banner__actions .cc-btn {
		flex-shrink: 0;
	}
}

.cc-btn {
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border-radius: 5px;
	padding: 0.65rem 1.25rem;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.cc-btn--solid {
	background-color: var(--jjoyellow, #f3bc00);
	color: #000;
}

.cc-btn--solid:hover {
	background-color: var(--jjoyellow3, #f7d84f);
}

.cc-btn--outline {
	background-color: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}

.cc-btn--outline:hover {
	border-color: #fff;
}

.cc-btn--text {
	background: none;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: underline;
	text-transform: none;
	font-weight: 400;
	padding: 0.65rem 0.25rem;
}

.cc-btn--text:hover {
	color: #fff;
}

.cc-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
}

.cc-modal-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.cc-modal {
	background: #fff;
	color: #000;
	max-width: 520px;
	width: 100%;
	border-radius: 8px;
	padding: 2rem;
	max-height: 90vh;
	overflow-y: auto;
}

.cc-modal__title {
	font-size: 1.4rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
}

.cc-modal__intro {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #333;
	margin: 0 0 1.5rem;
}

.cc-modal__intro a {
	color: var(--jjocompliment1, #b59504);
	text-decoration: underline;
}

.cc-category {
	border-top: 1px solid #e5e5e5;
	padding: 1rem 0;
}

.cc-category__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.cc-category__title {
	font-weight: 600;
	font-size: 1rem;
}

.cc-category__desc {
	font-size: 0.85rem;
	line-height: 1.5;
	color: #555;
	margin: 0.5rem 0 0;
}

.cc-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.cc-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cc-toggle__slider {
	position: absolute;
	inset: 0;
	background-color: #ccc;
	border-radius: 999px;
	transition: background-color 0.2s ease;
	cursor: pointer;
}

.cc-toggle__slider::before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	top: 3px;
	background-color: #fff;
	border-radius: 50%;
	transition: transform 0.2s ease;
}

.cc-toggle input:checked + .cc-toggle__slider {
	background-color: var(--jjocompliment1, #b59504);
}

.cc-toggle input:checked + .cc-toggle__slider::before {
	transform: translateX(20px);
}

.cc-toggle--locked {
	width: auto;
	height: auto;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #888;
	background: #efefef;
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
}

.cc-modal__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.cc-modal .cc-btn--outline {
	color: #000;
	border-color: #999;
}

@media (max-width: 700px) {
	.cc-banner {
		padding: 1rem 1.25rem;
	}

	.cc-banner__actions {
		width: 100%;
		justify-content: flex-start;
	}

	.cc-modal {
		padding: 1.5rem;
	}
}
