/* Cookie consent + privacy checkbox (Law 195/2024) */
.cc-banner {
	position: fixed;
	z-index: 10050;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(32, 32, 32, 0.96);
	color: #fff;
	padding: 16px 0;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
	display: none;
	font-family: Tahoma, Arial, sans-serif;
}
.cc-banner.is-visible { display: block; }
.cc-banner .c { width: 960px; margin: 0 auto; max-width: 96%; }
.cc-banner__inner { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-start; }
.cc-banner__copy { flex: 1 1 320px; min-width: 0; }
.cc-banner__title { font-size: 16px; font-weight: bold; margin: 0 0 6px; }
.cc-banner__text { font-size: 13px; line-height: 1.4; margin: 0 0 6px; opacity: 0.95; }
.cc-banner__links a { color: #fff; margin-right: 10px; font-size: 12px; text-decoration: underline; }
.cc-banner__links a:hover { color: #ef7c00; }
.cc-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 1 1 280px;
	justify-content: flex-end;
	align-items: stretch;
}
.cc-btn {
	flex: 1 1 140px;
	min-width: 140px;
	text-align: center;
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 9px 12px;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1.25;
	user-select: none;
	box-sizing: border-box;
}
.cc-btn--accept { background: #ef7c00; color: #fff; }
.cc-btn--accept:hover { background: #f79226; }
.cc-btn--reject { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.cc-btn--reject:hover { border-color: #ef7c00; color: #ef7c00; }
.cc-btn--prefs { background: #fff; color: #222; }
.cc-btn--prefs:hover { background: #f0f0f0; }
.cc-btn--save { background: #ef7c00; color: #fff; flex: 0 0 auto; min-width: 140px; }

.cc-prefs {
	display: none;
	width: 100%;
	margin-top: 6px;
	padding-top: 10px;
	border-top: 1px solid rgba(255,255,255,0.2);
}
.cc-prefs.is-open { display: block; }
.cc-cat {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
.cc-cat:last-of-type { border-bottom: none; }
.cc-cat__name { font-weight: bold; font-size: 13px; margin-bottom: 3px; }
.cc-cat__desc { font-size: 11px; line-height: 1.35; opacity: 0.85; }
.cc-switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.cc-switch input { opacity: 0; width: 0; height: 0; }
.cc-switch__slider {
	position: absolute; inset: 0; cursor: pointer; background: #666; border-radius: 24px;
}
.cc-switch__slider:before {
	content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px;
	background: #fff; border-radius: 50%; transition: transform .2s;
}
.cc-switch input:checked + .cc-switch__slider { background: #ef7c00; }
.cc-switch input:checked + .cc-switch__slider:before { transform: translateX(18px); }
.cc-switch input:disabled + .cc-switch__slider { opacity: .75; cursor: not-allowed; background: #ef7c00; }
.cc-prefs__actions { margin-top: 12px; display: flex; justify-content: flex-end; }

.footer-legal a,
.footer-legal button {
	color: inherit;
	font-size: inherit;
}
.footer-legal button {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	text-decoration: underline;
	font-family: inherit;
}
.footer-legal button:hover,
.footer-legal a:hover { color: #ef7c00; }

.privacy-consent-row {
	margin: 10px 0 12px;
	clear: both;
	font-size: 12px;
	line-height: 1.4;
	color: #444;
}
.privacy-consent-row label {
	display: block;
	cursor: pointer;
}
.privacy-consent-row input[type="checkbox"] {
	margin-right: 6px;
	vertical-align: middle;
}
.privacy-consent-row a { color: #ef7c00; text-decoration: underline; }
.privacy-consent-error {
	display: none;
	color: #c00;
	margin-top: 6px;
	font-size: 12px;
}
.privacy-consent-row.has-error .privacy-consent-error { display: block; }
.privacy-consent-row.has-error input[type="checkbox"] { outline: 1px solid #c00; }

@media (max-width: 767px) {
	.cc-btn { flex: 1 1 100%; }
}
