/**
 * Barra de cookies fija inferior — sin modal Bootstrap (evita CLS).
 */
#cookieBar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    display: none;
    padding: 0.85rem 1rem;
    background: #1a1816;
    color: #f5f5f5;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#cookieBar.is-visible {
    display: block;
}

#cookieBar .cookie-bar__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

#cookieBar .cookie-bar__text {
    flex: 1 1 280px;
    font-size: 0.875rem;
    line-height: 1.45;
    margin: 0;
}

#cookieBar .cookie-bar__text strong {
    font-weight: 600;
}

#cookieBar .cookie-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

#cookieBar .cookie-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

#cookieBar .cookie-bar__btn--accept {
    background: var(--color-brand, #dc3545);
    color: #fff;
}

#cookieBar .cookie-bar__btn--accept:hover {
    background: #b02a37;
    color: #fff;
}

#cookieBar .cookie-bar__btn--config {
    background: transparent;
    color: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

#cookieBar .cookie-bar__btn--config:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

@media (max-width: 575px) {
    #cookieBar {
        padding: 0.75rem 0.85rem;
    }

    #cookieBar .cookie-bar__actions {
        width: 100%;
    }

    #cookieBar .cookie-bar__btn {
        flex: 1 1 auto;
    }
}
