/* Banner e preferenze cookie – stile Mario Rossi Parrucchieri */
.cc-banner{position:fixed;z-index:1000;left:16px;right:16px;bottom:16px;max-width:560px;box-sizing:border-box;padding:24px 24px 20px;background:#0d0d0d;color:#f4f1eb;font-family:'Karla',system-ui,sans-serif;box-shadow:0 12px 40px rgba(0,0,0,.35);border:1px solid #33302c}
.cc-banner .cc-x,.cc-modal .cc-x{position:absolute;top:8px;right:8px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:none;border:0;color:inherit;cursor:pointer}
.cc-title{margin:0 44px 8px 0;font-family:'Libre Caslon Text',Georgia,serif;font-size:22px;line-height:1.2}
.cc-text{margin:0 0 18px;font-size:15px;line-height:1.55;color:#cfc9bf}
.cc-text a{color:#f4f1eb;text-underline-offset:3px}
@media (max-width:480px){.cc-banner{left:12px;right:12px;bottom:12px;padding:18px 18px 12px}.cc-banner .cc-title{font-size:20px;margin-bottom:6px}.cc-banner .cc-text{font-size:14px;margin-bottom:14px}.cc-banner .cc-btn{flex-basis:110px;padding:0 12px}.cc-banner .cc-link{padding:0 4px}}
.cc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.cc-btn{appearance:none;cursor:pointer;min-height:46px;padding:0 22px;flex:1 1 140px;background:#f4f1eb;color:#0d0d0d;border:1px solid #f4f1eb;font:600 14px/1 'Karla',system-ui,sans-serif;letter-spacing:1.2px;text-transform:uppercase}
.cc-btn:hover{opacity:.88}
.cc-link{appearance:none;cursor:pointer;min-height:46px;padding:0 6px;background:none;border:0;color:#f4f1eb;font:500 15px/1 'Karla',system-ui,sans-serif;text-decoration:underline;text-underline-offset:4px}
.cc-btn:focus-visible,.cc-link:focus-visible,.cc-x:focus-visible,.cc-switch input:focus-visible+span{outline:2px solid #c2ab8a;outline-offset:3px}
@media (min-width:1024px){.cc-banner{left:32px;right:auto;bottom:32px}}

html.cc-lock{overflow:hidden}
.cc-overlay{position:fixed;inset:0;z-index:1001;background:rgba(13,13,13,.6);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.cc-modal{position:relative;width:100%;max-width:560px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;box-sizing:border-box;padding:28px 24px 22px;background:#f4f1eb;color:#0d0d0d;font-family:'Karla',system-ui,sans-serif}
.cc-modal .cc-text{color:#3a3733}
.cc-modal .cc-text a{color:#0d0d0d}
.cc-h{margin:0 44px 10px 0;font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:32px;line-height:1.1}
.cc-row{padding:16px 0;border-top:1px solid #d9d3c8}
.cc-row:last-of-type{border-bottom:1px solid #d9d3c8;margin-bottom:20px}
.cc-row-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.cc-row-title{font-family:'Libre Caslon Text',Georgia,serif;font-size:19px;cursor:pointer}
.cc-row-text{margin:6px 0 0;font-size:14px;line-height:1.55;color:#5b554c}
.cc-row-text em{font-style:normal;font-weight:600;color:#0d0d0d}
.cc-switch{position:relative;display:inline-block;width:52px;height:30px;flex-shrink:0}
.cc-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.cc-switch span{position:absolute;inset:0;background:#b3ab9e;border-radius:30px;transition:background .15s}
.cc-switch span::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .15s}
.cc-switch input:checked+span{background:#0d0d0d}
.cc-switch input:checked+span::after{transform:translateX(22px)}
.cc-switch input:disabled{cursor:not-allowed}
.cc-switch input:disabled+span{background:#6b655c}
.cc-modal .cc-btn{background:#f4f1eb;color:#0d0d0d;border-color:#0d0d0d}
.cc-modal .cc-btn-dark{background:#0d0d0d;color:#f4f1eb;flex-basis:100%}
.cc-open{appearance:none;background:none;border:0;padding:10px 0;margin:0;cursor:pointer;font:inherit;color:#f4f1eb;text-decoration:underline;text-underline-offset:4px}
@media (prefers-reduced-motion:reduce){.cc-switch span,.cc-switch span::after{transition:none}}
