/* =====================================================
   AXIOMA – COOKIE BANNER (PRIVACIDAD PROFESIONAL)
===================================================== */

#ax-cookie-banner{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    background:#ffffff;
    border-top:1px solid rgba(0,0,0,.12);
    z-index:999999;
    transform:translateY(100%);
    transition:transform .45s cubic-bezier(.16,1,.3,1);
    font-family: Inter, system-ui, -apple-system, sans-serif;
}

#ax-cookie-banner.show{
    transform:translateY(0);
}

.ax-cookie-container{
    max-width:1440px;
    margin:0 auto;
    padding:20px 24px;
}

.ax-cookie-content h3{
    margin:0 0 10px;
    font-size:18px;
    font-weight:800;
}

.ax-cookie-content p{
    font-size:14px;
    line-height:1.55;
    color:#333;
    margin:8px 0;
}

.ax-cookie-content a{
    color:#d90429;
    font-weight:600;
    text-decoration:none;
}

.ax-cookie-preferences{
    margin-top:18px;
    border-top:1px solid rgba(0,0,0,.08);
}

.ax-cookie-toggle{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid rgba(0,0,0,.05);
    font-size:14px;
}

.ax-switch{
    position:relative;
    width:44px;
    height:24px;
}

.ax-switch input{
    opacity:0;
    width:0;
    height:0;
}

.ax-slider{
    position:absolute;
    inset:0;
    background:#ccc;
    border-radius:999px;
    transition:.3s;
}

.ax-slider:before{
    content:"";
    position:absolute;
    height:18px;
    width:18px;
    left:3px;
    bottom:3px;
    background:#fff;
    border-radius:50%;
    transition:.3s;
}

.ax-switch input:checked + .ax-slider{
    background:#d90429;
}

.ax-switch input:checked + .ax-slider:before{
    transform:translateX(20px);
}

.ax-cookie-actions{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    margin-top:18px;
}

.ax-btn{
    padding:10px 16px;
    font-size:13px;
    font-weight:700;
    border-radius:6px;
    border:none;
    cursor:pointer;
}

.ax-btn-primary{
    background:#d90429;
    color:#fff;
}

.ax-btn-secondary{
    background:#e5e5e5;
    color:#111;
}

/* ===== DARK MODE ===== */
html[data-theme="dark"] #ax-cookie-banner{
    background:#111;
    border-top:1px solid rgba(255,255,255,.12);
}

html[data-theme="dark"] .ax-cookie-content p{
    color:#ccc;
}

html[data-theme="dark"] .ax-cookie-toggle{
    border-bottom:1px solid rgba(255,255,255,.08);
}

html[data-theme="dark"] .ax-slider{
    background:#444;
}

html[data-theme="dark"] .ax-btn-secondary{
    background:#333;
    color:#fff;
}

/* ===== MOBILE ===== */
@media(max-width:768px){
    .ax-cookie-actions{
        flex-direction:column;
        align-items:stretch;
    }
}
