/* Banner de consentimiento de cookies — ver js/cookie-consent.js */
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 140%);
    z-index: 10000;
    width: min(680px, calc(100% - 32px));
    background: #1F1F1F;
    color: #f5f5f5;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    border-top: 3px solid #E30613;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.cookie-consent-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.cookie-consent-text {
    flex: 1 1 300px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e8e8e8;
}

.cookie-consent-text a {
    color: #fff;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
    margin-left: auto;
}

.cookie-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.cookie-btn-accept {
    background: #E30613;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #c00510;
}

.cookie-btn-reject {
    background: transparent;
    color: #cfcfcf;
    border: 1px solid #555;
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 520px) {
    .cookie-consent {
        bottom: 12px;
        padding: 16px;
    }
    .cookie-consent-actions {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
    }
}
