/* STUDIO COBELLIS · banner cookie a categorie (vedi cobellis-cookie.js). Palette del sito: navy #0a2036, cyan #00b0e2, blu #0062d9. */
#scCookie{font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;color:#0a2036;line-height:1.5}
#scCookie *,#scCookie *::before,#scCookie *::after{box-sizing:border-box}
#scCookie [hidden]{display:none!important}
.sc-ck-bar{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:99990;display:flex;justify-content:center;pointer-events:none}
.sc-ck-bar-in{pointer-events:auto;max-width:900px;width:100%;background:#fff;border:1px solid #dce9f2;border-radius:14px;box-shadow:0 24px 70px rgba(10,32,54,.22);padding:1.15rem 1.4rem;display:flex;gap:1.2rem;align-items:center;flex-wrap:wrap}
.sc-ck-bar-txt{flex:1 1 340px}
.sc-ck-title{margin:0 0 .3rem;font-size:.95rem;font-weight:800;color:#0a2036}
.sc-ck-bar-txt p:not(.sc-ck-title){margin:0;font-size:.84rem;line-height:1.6;color:#4a5b70}
#scCookie a{color:#0062d9;text-decoration:underline;font-weight:600}
.sc-ck-btns{display:flex;gap:.6rem;flex-wrap:wrap}
.sc-ck-btn{font:inherit;font-size:.8rem;font-weight:800;padding:.65rem 1.1rem;border:1px solid #0a2036;background:#fff;color:#0a2036;cursor:pointer;transition:all .25s;border-radius:999px}
.sc-ck-btn:hover{border-color:#0062d9;color:#0062d9}
.sc-ck-btn.sc-ck-solid{background:linear-gradient(120deg,#00b0e2 0%,#0062d9 100%);border-color:transparent;color:#fff;box-shadow:0 12px 30px rgba(0,98,217,.25)}
.sc-ck-btn.sc-ck-solid:hover{filter:brightness(1.06);color:#fff}
.sc-ck-modal{position:fixed;inset:0;z-index:99995;display:flex;align-items:center;justify-content:center;padding:1rem}
.sc-ck-back{position:absolute;inset:0;background:rgba(10,32,54,.6)}
.sc-ck-dialog{position:relative;background:#fff;width:100%;max-width:660px;max-height:88vh;display:flex;flex-direction:column;border-radius:14px;box-shadow:0 24px 70px rgba(10,32,54,.35);overflow:hidden}
.sc-ck-head{display:flex;align-items:center;justify-content:space-between;padding:1.1rem 1.4rem;border-bottom:1px solid #dce9f2}
.sc-ck-head h2{margin:0;font-size:1.05rem;font-weight:800;font-family:"Manrope","Inter",sans-serif}
.sc-ck-x{background:none;border:0;font-size:1.7rem;line-height:1;cursor:pointer;color:#4a5b70;padding:.2rem .4rem}
.sc-ck-x:hover{color:#0a2036}
.sc-ck-body{padding:1.1rem 1.4rem;overflow:auto}
.sc-ck-body>p{margin:0 0 1rem;font-size:.84rem;line-height:1.6;color:#4a5b70}
.sc-ck-cat{border:1px solid #dce9f2;border-radius:12px;padding:.9rem 1rem;margin-bottom:.7rem;background:#fff}
.sc-ck-cat-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.sc-ck-cat-name{font-size:.86rem;font-weight:800;color:#0a2036}
.sc-ck-count{display:inline-block;min-width:1.5em;padding:.1em .4em;margin-left:.35rem;font-size:.68rem;text-align:center;background:#e8f3fa;color:#0062d9;border-radius:999px;vertical-align:middle;font-weight:700}
.sc-ck-always{font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#0062d9}
.sc-ck-cat p{margin:.45rem 0 .25rem;font-size:.82rem;line-height:1.55;color:#4a5b70}
.sc-ck-showck{background:none;border:0;padding:0;margin-top:.2rem;font:inherit;font-size:.76rem;font-weight:600;color:#0062d9;text-decoration:underline;cursor:pointer}
.sc-ck-showck:hover{color:#0a2036}
.sc-ck-cookies{margin-top:.6rem;overflow-x:auto}
.sc-ck-cookies table{width:100%;border-collapse:collapse;font-size:.74rem;line-height:1.45}
.sc-ck-cookies th{text-align:left;font-size:.66rem;letter-spacing:.06em;text-transform:uppercase;color:#4a5b70;font-weight:700;padding:.35rem .5rem .35rem 0;border-bottom:1px solid #dce9f2}
.sc-ck-cookies td{padding:.45rem .5rem .45rem 0;border-bottom:1px solid #eef4f9;color:#4a5b70;vertical-align:top}
.sc-ck-cookies tr:last-child td{border-bottom:0}
.sc-ck-cookies code{font-size:.72rem;background:#f2f8fc;padding:.1em .4em;border-radius:4px;white-space:nowrap}
.sc-ck-sw{position:relative;display:inline-block;width:44px;height:24px;flex:0 0 auto}
.sc-ck-sw input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.sc-ck-sw i{position:absolute;inset:0;background:#cfdbe6;border-radius:24px;transition:background .25s;pointer-events:none}
.sc-ck-sw i::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .25s;box-shadow:0 1px 3px rgba(10,32,54,.3)}
.sc-ck-sw input:checked+i{background:#0062d9}
.sc-ck-sw input:checked+i::after{transform:translateX(20px)}
.sc-ck-foot{display:flex;gap:.6rem;justify-content:flex-end;flex-wrap:wrap;padding:1rem 1.4rem;border-top:1px solid #dce9f2}
/* bottone di riapertura: basso SINISTRA */
.sc-ck-reopen{position:fixed;left:20px;bottom:20px;z-index:99980;width:44px;height:44px;border-radius:50%;border:1px solid #dce9f2;background:#fff;color:#0062d9;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 22px rgba(10,32,54,.18);transition:transform .25s,color .25s;padding:0}
.sc-ck-reopen:hover{transform:translateY(-2px);color:#0a2036}
.sc-ck-reopen svg{width:22px;height:22px;display:block}
@media (max-width:620px){
  .sc-ck-bar{left:.5rem;right:.5rem;bottom:.5rem}
  .sc-ck-btns{width:100%;gap:.45rem}.sc-ck-btns .sc-ck-btn{flex:1;text-align:center;padding:.6rem .5rem;font-size:.76rem;white-space:nowrap}
  .sc-ck-foot .sc-ck-btn{flex:1;text-align:center}
  .sc-ck-reopen{left:14px;bottom:14px;width:40px;height:40px}
}
body.nav-open .sc-ck-reopen,body.nav-open .sc-ck-bar{display:none!important}
