/* ==========================================
   MUNDI - ASISTENTE FLOTANTE WHATSAPP
   ========================================== */

body .whatsapp-float.mundi-float{
    position:fixed!important;
    left:18px!important;
    right:auto!important;
    bottom:18px!important;
    top:auto!important;

    width:120px!important;
    height:120px!important;

    padding:0!important;
    margin:0!important;

    display:block!important;

    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;

    overflow:visible!important;
    text-decoration:none!important;

    z-index:9999!important;

    transition:transform .22s ease!important;

    animation:mundiEntrada .55s ease-out both;
}

body .mundi-float .mundi-img{
    display:block!important;

    width:100%!important;
    height:100%!important;

    object-fit:contain!important;
    object-position:center!important;

    background:transparent!important;

    border:0!important;
    border-radius:0!important;

    filter:drop-shadow(0 5px 7px rgba(0,0,0,.16));

    pointer-events:none!important;
    user-select:none!important;
}

/* Entrada suave */
@keyframes mundiEntrada{
    from{
        opacity:0;
        transform:translateY(14px) scale(.92);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

/* Reacción en computador */
@media(hover:hover) and (pointer:fine){

    body .whatsapp-float.mundi-float:hover{
        transform:translateY(-5px) scale(1.04)!important;
    }

}

/* Globo */
body .mundi-float .mundi-welcome{
    position:absolute!important;

    left:calc(100% + 8px)!important;
    bottom:45px!important;

    width:215px!important;
    box-sizing:border-box!important;

    padding:11px 13px!important;

    background:#fff!important;
    color:#234331!important;

    border:1px solid #e2e8e5!important;
    border-radius:15px 15px 15px 4px!important;

    box-shadow:0 5px 20px rgba(21,46,32,.12)!important;

    font:500 13px/1.4 Arial,sans-serif!important;

    opacity:0;
    visibility:hidden;

    transform:translateY(5px);

    pointer-events:none;

    transition:
        opacity .25s,
        transform .25s,
        visibility .25s;
}

body .mundi-float.is-greeting .mundi-welcome{
    opacity:1;
    visibility:visible;
    transform:none;
}

/* CELULAR */
@media(max-width:768px){

    body .whatsapp-float.mundi-float{
        left:8px!important;

        width:76px!important;
        height:76px!important;

        bottom:calc(
            72px + env(safe-area-inset-bottom) + var(--mundi-lift,0px)
        )!important;
    }

    body .mundi-float .mundi-welcome{
        left:calc(100% + 5px)!important;
        bottom:30px!important;

        width:185px!important;

        font-size:12px!important;
        padding:9px 11px!important;
    }
}

/* CELULARES PEQUEÑOS */
@media(max-width:480px){

    body .whatsapp-float.mundi-float{
        width:68px!important;
        height:68px!important;
        left:6px!important;
    }

}

/* Accesibilidad */
@media(prefers-reduced-motion:reduce){

    body .whatsapp-float.mundi-float{
        animation:none!important;
        transition:none!important;
    }
}