/* Informative e preferenze: stessi colori del sito, leggibili anche nelle sezioni scure. */
.cookie-banner[hidden]{display:none}
.cookie-banner{position:fixed;bottom:24px;left:24px;z-index:1000;width:min(420px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow:auto;padding:24px;background:#fff;color:#0e0f0e;border:1px solid #e6e5e8;border-radius:20px;box-shadow:0 12px 60px #0003;font-size:14px;line-height:1.55}
.cookie-banner-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.cookie-mark{width:48px;height:48px;flex:none}
.cookie-eyebrow{font-size:12px;font-weight:600;color:#5c5b58}
.cookie-banner h2{font-size:21px;text-transform:none;line-height:1.2;letter-spacing:-.025em;margin:3px 0 0}
.cookie-policy-links{display:flex;gap:18px;margin:12px 0 18px}
.cookie-banner a,.privacy-dialog a,.legal-copy a,.legal-page-footer a{text-decoration:underline;text-underline-offset:3px}
.cookie-banner a:hover,.privacy-dialog a:hover,.legal-copy a:hover{color:#795800}
.cookie-banner-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cookie-button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #0e0f0e;border-radius:999px;background:#f8c631;color:#0e0f0e;font:700 14px/1.3 var(--font,system-ui,sans-serif);cursor:pointer}
.cookie-button:hover,.cookie-button:focus-visible{background:#ffdb68;color:#0e0f0e}
.cookie-customize{display:block;width:100%;border:0;background:transparent;color:#0e0f0e;min-height:44px;margin-top:6px;font:600 14px var(--font,system-ui,sans-serif);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.privacy-dialog{border:1px solid #e6e5e8;border-radius:20px;padding:0;width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 40px);color:#0e0f0e;background:#fff;box-shadow:0 16px 80px #0004;overflow:auto}
.privacy-dialog::backdrop{background:#0e0f0eaa;backdrop-filter:blur(3px)}
.privacy-modal-open{overflow:hidden}
.privacy-dialog{overscroll-behavior:contain}
.privacy-dialog-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;background:#fff;border-bottom:1px solid #e6e5e8}
.privacy-dialog-heading h2{font-size:24px;line-height:1.2;text-transform:none;letter-spacing:-.02em}
.privacy-close{display:grid;place-items:center;flex:none;width:42px;height:42px;padding:0;border:1px solid #dedddd;border-radius:50%;background:#fef9ea;color:#0e0f0e;line-height:1;cursor:pointer}
.privacy-close svg{display:block;width:20px;height:20px}
.privacy-close:hover{background:#f8c631}
.privacy-dialog-body{padding:24px;font-size:16px;line-height:1.65}
.legal-copy h3{margin:26px 0 10px;font-size:19px;text-transform:none;line-height:1.3;letter-spacing:0}
.legal-copy p{margin:0 0 14px}
.legal-copy p:last-child{margin-bottom:0}
.legal-updated{font-size:14px;color:#5c5b58}
.legal-copy code{font-size:13px;overflow-wrap:anywhere}
.legal-table-wrap{overflow-x:auto;margin:16px 0}
.legal-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}
.legal-table th,.legal-table td{padding:12px;vertical-align:top;border:1px solid #e6e5e8}
.legal-table th{background:#fef9ea}
.legal-text-button{background:none;border:0;padding:0;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cookie-preferences{max-width:600px}
.cookie-category{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding:20px 0;border-top:1px solid #e6e5e8}
.cookie-category h3,.cookie-category label{display:block;font-size:17px;font-weight:700;text-transform:none;line-height:1.4;margin:0 0 5px;letter-spacing:0}
.cookie-category p{font-size:14px;color:#5c5b58;line-height:1.5}
.cookie-required{color:#286039;font-size:12px;font-weight:700;white-space:nowrap}
.cookie-category input[type=checkbox]{flex:none;width:24px;height:24px;accent-color:#0e0f0e;cursor:pointer}
.cookie-category input:disabled{cursor:default}
.cookie-detail{font-size:14px;margin-bottom:22px}
.cookie-save{width:100%;margin-top:12px;background:#fff}
.cookie-storage-message{font-size:13px;margin-top:12px;color:#5c5b58}
.legal-page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1040px;margin:auto;padding:24px}
.legal-page-header>a:last-child{font-size:14px;text-decoration:underline}
.legal-page-privacy .legal-page-header,.legal-page-cookies .legal-page-header{max-width:none;padding:24px max(24px,calc((100% - 992px)/2));background:var(--dark);color:#fff;border-bottom:2px solid var(--yellow)}
.legal-page-privacy .legal-page-header>a:hover,.legal-page-cookies .legal-page-header>a:hover{color:var(--yellow)}
.legal-page-main{max-width:960px;margin:20px auto 64px;padding:32px;background:#fff;border:1px solid #e6e5e8;border-radius:20px}
.legal-page-main>h1{font-size:clamp(30px,5vw,46px);text-transform:none;line-height:1.1;margin:0 0 24px}
.legal-page-footer{background:#0e0f0e;color:#fff;padding:32px max(24px,calc((100vw - 896px)/2));font-size:14px;line-height:1.8}
.legal-page-footer nav{display:flex;flex-wrap:wrap;gap:20px;margin-top:18px}
@media(max-width:600px){.cookie-banner{bottom:12px;left:12px;width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:20px}.privacy-dialog-heading{padding:16px 20px}.privacy-dialog-heading h2{font-size:21px}.privacy-dialog-body{padding:20px}.cookie-category{gap:12px}.legal-page-main{margin:8px 16px 40px;padding:24px 20px}.legal-page-header{padding:20px}.legal-table th,.legal-table td{padding:8px}}
@media(max-width:600px){.legal-page-privacy .legal-page-header,.legal-page-cookies .legal-page-header{padding:20px}}
