/* ============================================================
   AVISO & CONSENTIMENTO DE COOKIES (LGPD / PRIVACIDADE)
   Marvi Alimentos
============================================================ */

.marvi-cookie-consent {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 480px;
    width: calc(100% - 48px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.02);
    z-index: 99999;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.marvi-cookie-consent.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cookie-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #FFF7ED;
    border: 1px solid #FFEDD5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EA580C;
    font-size: 20px;
    flex-shrink: 0;
}

.cookie-title {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.cookie-badge {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: #ECFDF5;
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: auto;
}

.cookie-consent-body p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 18px 0;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    flex: 1;
    min-width: 160px;
    background: linear-gradient(135deg, #E02435 0%, #C01423 100%);
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(217, 26, 42, 0.25);
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-cookie-accept:hover {
    background: linear-gradient(135deg, #EC2A3B 0%, #AA101E 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(217, 26, 42, 0.35);
}

.btn-cookie-essential {
    background: #F8FAFC;
    color: #475569 !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}

.btn-cookie-essential:hover {
    background: #EDF2F7;
    color: #0F172A !important;
}

@media (max-width: 576px) {
    .marvi-cookie-consent {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        padding: 20px 16px;
    }
    .cookie-consent-actions {
        flex-direction: column;
    }
    .btn-cookie-accept,
    .btn-cookie-essential {
        width: 100%;
    }
}
