/* ocex Cookie Consent — trikdis témához igazítva (brand #ed1e24, radius 2px) */

.cc-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	background: #fff;
	border-top: 3px solid #ed1e24;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
	padding: 16px;
}

.cc-banner-inner {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.cc-banner-text {
	flex: 1 1 380px;
	min-width: 260px;
}

.cc-banner-text strong {
	display: block;
	font-size: 15px;
	margin-bottom: 4px;
	color: #222;
}

.cc-banner-text p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #444;
}

.cc-banner-text a,
.cc-modal-intro a {
	color: #ed1e24;
	text-decoration: underline;
}

.cc-banner-buttons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.cc-btn {
	border: 1px solid transparent;
	border-radius: 2px;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.2;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

/* Elfogad és Elutasít: azonos súlyú, egy kattintás (GDPR) */
.cc-btn-primary {
	background: #ed1e24;
	color: #fff;
}

.cc-btn-primary:hover {
	background: #c8171c;
}

.cc-btn-secondary {
	background: #58595b;
	color: #fff;
}

.cc-btn-secondary:hover {
	background: #414244;
}

.cc-btn-ghost {
	background: transparent;
	color: #58595b;
	border-color: #c9c9c9;
}

.cc-btn-ghost:hover {
	border-color: #58595b;
	color: #222;
}

.cc-modal {
	position: fixed;
	inset: 0;
	z-index: 99995;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.cc-modal[hidden],
.cc-banner[hidden],
.cc-fab[hidden] {
	display: none;
}

.cc-modal-box {
	background: #fff;
	border-radius: 2px;
	max-width: 520px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 20px 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.cc-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.cc-modal-head strong {
	font-size: 17px;
	color: #222;
}

.cc-close {
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 0 4px;
}

.cc-close:hover {
	color: #222;
}

.cc-modal-intro {
	font-size: 13px;
	color: #444;
	line-height: 1.5;
	margin: 0 0 14px;
}

.cc-cat {
	border: 1px solid #e3e3e3;
	border-radius: 2px;
	padding: 12px 14px;
	margin-bottom: 10px;
}

.cc-cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.cc-cat-name {
	font-weight: 600;
	font-size: 14px;
	color: #222;
}

.cc-always {
	font-size: 12px;
	font-weight: 600;
	color: #2e7d32;
}

.cc-cat-desc {
	margin: 6px 0 0;
	font-size: 12px;
	color: #666;
	line-height: 1.5;
}

.cc-switch {
	position: relative;
	display: inline-block;
	width: 42px;
	height: 24px;
	flex: 0 0 auto;
	margin: 0;
}

.cc-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cc-slider {
	position: absolute;
	inset: 0;
	background: #ccc;
	border-radius: 24px;
	cursor: pointer;
	transition: background 0.15s;
}

.cc-slider:before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.15s;
}

.cc-switch input:checked + .cc-slider {
	background: #ed1e24;
}

.cc-switch input:checked + .cc-slider:before {
	transform: translateX(18px);
}

.cc-switch input:focus-visible + .cc-slider {
	outline: 2px solid #ed1e24;
	outline-offset: 2px;
}

.cc-modal-buttons {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 16px;
	flex-wrap: wrap;
}

.cc-fab {
	position: fixed;
	left: 14px;
	bottom: 14px;
	z-index: 99980;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid #ddd;
	background: #fff;
	color: #58595b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	transition: color 0.15s, box-shadow 0.15s;
}

.cc-fab:hover {
	color: #ed1e24;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
	.cc-banner-buttons {
		width: 100%;
	}

	.cc-banner-buttons .cc-btn {
		flex: 1 1 auto;
	}

	.cc-modal-buttons .cc-btn {
		flex: 1 1 auto;
	}
}
