/* ── Banner de Cookies (Premium Design) ────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(30, 25, 20, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #f7f3f0;
    padding: 1.5rem 2rem;
    z-index: 10000;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1;
}

.cookie-banner__icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.cookie-banner__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--white);
}

.cookie-banner__text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #ccc;
    max-width: 600px;
}

.cookie-banner__link {
    color: var(--terra-light);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn--accept {
    background: var(--green);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 114, 69, 0.3);
}

.cookie-btn--accept:hover {
    background: var(--green-light);
    transform: translateY(-2px);
}

.cookie-btn--necessary {
    background: rgba(255, 255, 255, 0.05);
    color: #eee;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn--settings {
    background: transparent;
    color: var(--terra-light);
    border: 1px solid rgba(196, 112, 74, 0.4);
}

/* Panel de Configuración */
.cookie-settings {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings__header h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cookie-settings__header p {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
}

.cookie-settings__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-toggle {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-toggle__info strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.cookie-toggle__info span {
    font-size: 0.78rem;
    color: #888;
}

.cookie-toggle__switch input[type="checkbox"] {
    width: 40px;
    height: 20px;
    cursor: pointer;
}

@media(max-width: 900px) {
    .cookie-banner {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1.5rem;
    }
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
    }
    .cookie-banner__actions {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
