/* ============================================================
   COOKIE BANNER — Barra simple abajo
   Guíalo.net — Centralizado para todo el sitio
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #141414;
    border-top: 1.5px solid rgba(126, 73, 179, 0.45);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
    padding: 1rem 1.25rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.35s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.cookie-banner.visible {
    transform: translateY(0);
}
.cookie-banner-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: stretch;
}
@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }
}
.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
}
.cookie-banner-icon {
    color: #25d366;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.cookie-banner-title {
    display: block;
    color: #f5f5f5;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}
.cookie-banner-desc {
    color: #8a8a8a;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}
.cookie-banner-link {
    color: #9463c9;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
}
.cookie-banner-link:hover {
    color: #b088dd;
}
.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}
@media (max-width: 767.98px) {
    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-banner-actions .cookie-btn {
        flex: 1;
    }
}
.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    min-height: 42px;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.cookie-btn:hover {
    transform: translateY(-1px);
}
.cookie-btn-accept {
    background: #7e49b3;
    color: #ffffff;
}
.cookie-btn-accept:hover {
    background: #9463c9;
}
.cookie-btn-reject {
    background: transparent;
    color: #cfcfcf;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
}
.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #f5f5f5;
}

/* Posición móvil: por encima del sidebar flotante (16px + 64px = 80px) */
@media (max-width: 991.98px) {
    .cookie-banner {
        bottom: 96px !important;
        bottom: calc(96px + env(safe-area-inset-bottom)) !important;
    }
}