/* Cookie banner + modal only (for pages that define their own layout CSS) */
:root{
  --bg:#09090b;
  --bg2:#0f0f11;
  --fg:#f0ede6;
  --dim:#a09c96;
  --dimmer:#5a5854;
  --fire:#e05c2a;
  --fire2:#f0913a;
  --line:rgba(240,237,230,0.07);
  --overlay:rgba(9,9,11,0.85);
}
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:1000;background:var(--bg2);border-top:1px solid var(--line);padding:1.25rem 3.5rem;display:none;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;box-shadow:0 -8px 32px rgba(0,0,0,.45);}
.cookie-banner.is-visible{display:flex;}
.cookie-banner-text{flex:1;min-width:240px;font-size:.82rem;color:var(--dim);line-height:1.65;}
.cookie-banner-text a{color:var(--fire2);}
.cookie-banner-actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;}
.cookie-btn{font-family:'Epilogue',sans-serif;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;padding:10px 18px;border-radius:2px;cursor:pointer;transition:background .2s,border-color .2s,color .2s;border:1px solid var(--dimmer);background:transparent;color:var(--fg);}
.cookie-btn:hover{border-color:var(--fire);color:var(--fire2);}
.cookie-btn--primary{background:var(--fire);border-color:var(--fire);color:#fff;}
.cookie-btn--primary:hover{background:var(--fire2);border-color:var(--fire2);color:#fff;}
.cookie-modal-overlay{position:fixed;inset:0;z-index:1001;background:var(--overlay);backdrop-filter:blur(6px);display:none;align-items:center;justify-content:center;padding:1.5rem;}
.cookie-modal-overlay.is-open{display:flex;}
.cookie-modal{background:var(--bg);border:1px solid var(--line);max-width:520px;width:100%;max-height:90vh;overflow:auto;padding:2rem;}
.cookie-modal h2{font-family:'Bebas Neue',sans-serif;font-size:1.75rem;letter-spacing:.04em;margin-bottom:.5rem;}
.cookie-modal > p{font-size:.85rem;color:var(--dim);line-height:1.65;margin-bottom:1.5rem;}
.cookie-pref-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line);}
.cookie-pref-row:last-of-type{border-bottom:none;}
.cookie-pref-row h3{font-size:.85rem;color:var(--fg);margin-bottom:.35rem;}
.cookie-pref-row p{font-size:.76rem;color:var(--dim);line-height:1.55;}
.cookie-switch{position:relative;width:44px;height:24px;flex-shrink:0;}
.cookie-switch input{opacity:0;width:0;height:0;}
.cookie-switch span{position:absolute;inset:0;background:var(--dimmer);border-radius:24px;transition:background .2s;cursor:pointer;}
.cookie-switch span::before{content:'';position:absolute;height:18px;width:18px;left:3px;bottom:3px;background:var(--fg);border-radius:50%;transition:transform .2s;}
.cookie-switch input:checked + span{background:var(--fire);}
.cookie-switch input:checked + span::before{transform:translateX(20px);}
.cookie-switch input:disabled + span{opacity:.5;cursor:not-allowed;}
.cookie-modal-footer{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.5rem;justify-content:flex-end;}
@media(max-width:768px){
  .cookie-banner{padding:1rem 1.5rem;}
}
