/* Banner cookie / preferenze / footer */
.ck[hidden],.ck-modal[hidden],.ck-fab[hidden]{display:none!important}
.ck{position:fixed;z-index:9998;left:20px;bottom:20px;max-width:480px;width:calc(100% - 40px)}
.ck__box{background:#fff;color:#2b2b2b;border-radius:14px;padding:24px 24px 20px;box-shadow:0 18px 60px rgba(0,0,0,.35);border-top:4px solid var(--red,#c0322b)}
.ck__title{font:800 18px 'Montserrat',sans-serif;margin:0 0 10px;color:#2b2b2b}
.ck__txt{margin:0 0 16px;font-size:14px;line-height:1.65;color:#555}
.ck__txt a{color:var(--red,#c0322b);border-bottom:1px solid currentColor}
.ck__actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.ck__btn{font:700 13px 'Montserrat',sans-serif;letter-spacing:.04em;text-transform:uppercase;padding:13px 18px;border-radius:4px;border:2px solid #2b2b2b;cursor:pointer;transition:.2s;line-height:1}
/* "Rifiuta" e "Accetta" hanno lo STESSO aspetto: pari evidenza */
.ck__btn--main{background:#2b2b2b;color:#fff;flex:1 1 auto}
.ck__btn--main:hover{background:#000;border-color:#000}
.ck__btn--red{background:var(--red,#c0322b);border-color:var(--red,#c0322b);color:#fff;flex:1 1 100%}
.ck__btn--red:hover{background:var(--red-dark,#9f2620);border-color:var(--red-dark,#9f2620)}
.ck__btn--link{background:none;border-color:transparent;color:#2b2b2b;text-decoration:underline;text-underline-offset:3px;padding-left:4px;padding-right:4px;flex:1 1 100%;text-align:center}
.ck__btn--link:hover{color:var(--red,#c0322b)}
.ck__btn:focus-visible,.ck-sw input:focus-visible+span,.ck-modal__x:focus-visible,.ck-fab:focus-visible{outline:3px solid #1a73e8;outline-offset:2px}
.ck-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:16px}
.ck-modal__bg{position:absolute;inset:0;background:rgba(15,15,15,.6)}
.ck-modal__box{position:relative;background:#fff;color:#2b2b2b;border-radius:16px;padding:32px 30px 26px;width:100%;max-width:600px;max-height:calc(100vh - 32px);overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.45);outline:0}
.ck-modal__box h2{font:800 22px 'Montserrat',sans-serif;margin:0 0 10px;padding-right:36px}
.ck-modal__x{position:absolute;top:16px;right:16px;border:0;background:#f1f1f1;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;cursor:pointer;color:#2b2b2b}
.ck-modal__x:hover{background:#e3e3e3}
.ck-cat{border:1.5px solid #e6e6e6;border-radius:10px;padding:16px 18px;margin:0 0 12px}
.ck-cat__head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.ck-cat strong{display:block;font:700 15px 'Montserrat',sans-serif;margin-bottom:4px}
.ck-cat small{display:block;font-size:13.5px;line-height:1.55;color:#666}
.ck-sw{position:relative;flex:none;cursor:pointer}
.ck-sw input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.ck-sw span{display:block;width:52px;height:30px;border-radius:30px;background:#c9c9c9;transition:.2s;position:relative}
.ck-sw span::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.3);transition:.2s}
.ck-sw input:checked+span{background:#2e9d4e}
.ck-sw input:checked+span::after{transform:translateX(22px)}
.ck-sw input:disabled+span{opacity:.55}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ck__actions--modal{margin-top:20px}
.ck-lock{overflow:hidden}
.ck-fab{position:fixed;z-index:9990;left:18px;bottom:18px;width:46px;height:46px;border-radius:50%;border:0;background:#2b2b2b;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.3);transition:.2s}
.ck-fab:hover{background:var(--red,#c0322b);transform:scale(1.06)}
@media (max-width:640px){.ck{left:0;right:0;bottom:0;max-width:none;width:100%}.ck__box{border-radius:14px 14px 0 0;padding:20px 18px 18px;max-height:80vh;overflow:auto}.ck__btn--main{flex:1 1 calc(50% - 5px)}.ck-modal__box{padding:26px 20px 22px}.ck-cat__head{gap:12px}}
@media (prefers-reduced-motion:reduce){.ck-sw span,.ck-sw span::after,.ck-fab,.ck__btn{transition:none}}
