/*
 * Aviso de consentimento de cookies (LGPD) da vitrine.
 * Fica escondido por padrão ([hidden]) — o cookie-consent.js só o mostra
 * quando o visitante ainda não escolheu. No mobile sobe acima da tab bar.
 */
.p-cookie-consent[hidden] {
    display: none !important;
}

.p-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    background: rgba(9, 18, 42, .97);
    color: #e8eefc;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, .35);
}

.p-cookie-consent__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
}

.p-cookie-consent__text {
    min-width: 0;
}

.p-cookie-consent__text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
}

.p-cookie-consent__text p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(232, 238, 252, .85);
}

.p-cookie-consent__text a {
    color: #8fb4ff;
    text-decoration: underline;
}

.p-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.p-cookie-consent__btn {
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.p-cookie-consent__btn--primary {
    background: #2f6bff;
    color: #fff;
}

.p-cookie-consent__btn--primary:hover {
    background: #2457d6;
}

.p-cookie-consent__btn--ghost {
    background: transparent;
    color: #e8eefc;
    border-color: rgba(232, 238, 252, .4);
}

.p-cookie-consent__btn--ghost:hover {
    border-color: #e8eefc;
}

@media (max-width: 767px) {
    .p-cookie-consent {
        bottom: 62px; /* acima da tab bar fixa do mobile */
        padding: 12px 14px;
    }

    .p-cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .p-cookie-consent__actions {
        justify-content: stretch;
    }

    .p-cookie-consent__actions .p-cookie-consent__btn {
        flex: 1;
    }
}
