.whatsapp-flotante {
    display: none;
}

@media (max-width: 700px) {
    .whatsapp-flotante {
        position: fixed;
        right: max(18px, env(safe-area-inset-right));
        bottom: max(18px, env(safe-area-inset-bottom));
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
        box-sizing: border-box;
        border: 3px solid #ffffff;
        border-radius: 50%;
        background: #25d366;
        color: #ffffff;
        text-decoration: none;
        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.38);
        -webkit-tap-highlight-color: transparent;
    }

    .whatsapp-flotante:active {
        transform: scale(0.94);
    }

    .whatsapp-flotante__icono {
        display: block;
        color: #ffffff;
        font-family: Arial, sans-serif;
        font-size: 35px;
        font-weight: 700;
        line-height: 1;
    }
}

@media (max-width: 700px) {
    .whatsapp-flotante__logo {
        display: block;
        width: 44px;
        height: 44px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 700px) {
    .whatsapp-flotante {
        overflow: hidden;
        border: 0;
        background: transparent;
    }

    .whatsapp-flotante__logo {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        object-fit: cover;
        filter: none;
    }
}
