.whatsapp-contact {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: calc(20px + env(safe-area-inset-bottom) + var(--whatsapp-cookie-offset, 0px));
    z-index: 990;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border: 1px solid #d32f2f;
    border-radius: 40px;
    background: #e53935;
    color: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .16);
    text-decoration: none;
    max-width: calc(100vw - 32px);
}
.whatsapp-contact:hover, .whatsapp-contact:focus {
    color: #fff;
    background: #c62828;
    text-decoration: none;
}
.whatsapp-contact:focus-visible {
    outline: 3px solid #8e1b1b;
    outline-offset: 4px;
}
.whatsapp-contact__text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.5; }
.whatsapp-contact__text strong { font-size: 15px; }
.whatsapp-contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 31px;
}
.whatsapp-contact__icon .fa { font-size: inherit; }
body.modal-open .whatsapp-contact { visibility: hidden; }
@media (max-width: 767px) {
    .whatsapp-contact {
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(12px + env(safe-area-inset-bottom) + var(--whatsapp-cookie-offset, 0px));
        width: 52px;
        height: 52px;
        box-sizing: border-box;
        justify-content: center;
        gap: 0;
        padding: 0;
        border-radius: 50%;
        background: #25d366;
        border-color: #25d366;
    }
    .whatsapp-contact:hover, .whatsapp-contact:focus {
        background: #1ebe5d;
        border-color: #1ebe5d;
    }
    .whatsapp-contact:focus-visible { outline-color: #075e54; }
    .whatsapp-contact__text { display: none; }
    .whatsapp-contact__icon {
        width: 100%;
        height: 100%;
        flex-basis: auto;
        background: transparent;
        font-size: 30px;
    }
}
