/* Banner de consentimiento de cookies (GDPR/ePrivacy) — bloquea AdSense hasta aceptar */

#hsc-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: hsl(var(--card, 0 0% 100%));
    color: hsl(var(--foreground, 220 15% 25%));
    border-top: 1px solid hsl(var(--border, 220 13% 91%));
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    padding: 16px 20px;
    display: none;
}

#hsc-cookie-banner.hsc-cookie-visible {
    display: block;
}

.hsc-cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hsc-cookie-text {
    flex: 1 1 380px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: hsl(var(--muted-foreground, 220 15% 55%));
    margin: 0;
}

.hsc-cookie-text a {
    color: hsl(var(--primary, 14 100% 57%));
    text-decoration: underline;
}

.hsc-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.hsc-cookie-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.hsc-cookie-btn:hover {
    opacity: 0.9;
}

.hsc-cookie-btn-accept {
    background: hsl(var(--primary, 14 100% 57%));
    color: #ffffff;
}

.hsc-cookie-btn-reject {
    background: transparent;
    color: hsl(var(--foreground, 220 15% 25%));
    border: 1px solid hsl(var(--border, 220 13% 91%));
}

@media (max-width: 640px) {
    .hsc-cookie-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .hsc-cookie-actions {
        justify-content: stretch;
    }
    .hsc-cookie-btn {
        flex: 1;
    }
}
