/* OmniCenter Cookie – colori del brand: blu #1B73DC, blu notte #0B1B33 */
.occ {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2147483000;
	display: flex;
	justify-content: center;
	pointer-events: none;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.occ[hidden] { display: none; }
.occ__box {
	position: relative;
	width: 100%;
	max-width: 880px;
	padding: 22px 24px 20px;
	border-radius: 18px;
	background: #fff;
	color: #334155;
	box-shadow: 0 20px 60px rgba(11, 27, 51, .28), 0 0 0 1px rgba(11, 27, 51, .06);
	pointer-events: auto;
	animation: occ-in .35s cubic-bezier(.22, 1, .36, 1);
}
@keyframes occ-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.occ__title { margin: 0 32px 6px 0; font: 800 17px/1.3 Montserrat, Inter, sans-serif; color: #0f172a; }
.occ__text { margin: 0 0 16px; font-size: 14px; line-height: 1.6; }
.occ__text a { color: #1b73dc; font-weight: 600; }
.occ__close {
	position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; padding: 0;
	border: 0; border-radius: 50%; background: #f1f5f9; color: #334155; font-size: 20px; line-height: 32px; cursor: pointer;
}
.occ__close:hover, .occ__close:focus { background: #e2e8f0; color: #0f172a; }
.occ__prefs { display: grid; gap: 8px; margin: 0 0 16px; }
.occ__prefs[hidden] { display: none; }
.occ__opt {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; cursor: pointer;
}
.occ__opt span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #0f172a; }
.occ__opt small { color: #64748b; font-size: 12.5px; line-height: 1.45; }
.occ__opt input { flex: none; width: 20px; height: 20px; accent-color: #1b73dc; cursor: pointer; }
.occ__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.occ__btn {
	min-width: 140px; padding: 12px 20px; border: 2px solid #1b73dc; border-radius: 999px;
	background: #1b73dc; color: #fff; font: 700 14px Inter, system-ui, sans-serif; cursor: pointer;
	transition: background .2s, color .2s;
}
.occ__btn:hover, .occ__btn:focus { background: #1560b9; border-color: #1560b9; color: #fff; }
/* Rifiuta e Personalizza hanno la stessa evidenza di Accetta (indicazioni del Garante). */
.occ__btn--ghost { background: #fff; color: #1b73dc; }
.occ__btn--ghost:hover, .occ__btn--ghost:focus { background: #eef5fd; color: #1560b9; }
.occ__btn[hidden] { display: none; }
.occ-reopen {
	position: fixed; left: 16px; bottom: 16px; z-index: 2147482000;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
	background: #0b1b33; color: #fff; font-size: 20px; line-height: 44px; cursor: pointer;
	box-shadow: 0 8px 24px rgba(11, 27, 51, .3); transition: transform .2s;
}
.occ-reopen:hover, .occ-reopen:focus { transform: scale(1.08); background: #12294a; }
.oc-cookie-link { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 600px) {
	.occ { left: 8px; right: 8px; bottom: 8px; }
	.occ__box { padding: 18px 16px 16px; max-height: 80vh; overflow-y: auto; }
	.occ__btn { flex: 1 1 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .occ__box { animation: none; } }
