/* =========================================================
   BARBET GLOBAL WHATSAPP FLOAT — V2
   Loaded from shared storefront layout on every page.
   ========================================================= */

.mm-global-whatsapp,
.mm-global-whatsapp *{
    box-sizing:border-box;
}

.mm-global-whatsapp{
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:2147483000;

    display:flex;
    align-items:center;
    gap:10px;

    color:#fff !important;
    text-decoration:none !important;

    -webkit-tap-highlight-color:transparent;
}

.mm-global-whatsapp-circle{
    width:64px;
    height:64px;
    flex:0 0 64px;

    display:grid;
    place-items:center;

    border-radius:999px;
    background:#25D366;

    box-shadow:
        0 12px 28px rgba(0,0,0,.20),
        0 5px 12px rgba(37,211,102,.18);

    transition:
        transform .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}

.mm-global-whatsapp-circle svg{
    width:36px;
    height:36px;
    display:block;
    color:#fff;
}

.mm-global-whatsapp-label{
    position:absolute;
    right:54px;

    min-width:max-content;
    padding:9px 28px 9px 12px;

    border:1px solid #eee7e0;
    border-radius:8px 0 0 8px;

    background:#fff;
    color:#4d453f;

    font-family:inherit;
    font-size:11px;
    font-weight:500;
    line-height:1;

    box-shadow:0 6px 18px rgba(0,0,0,.08);

    opacity:0;
    visibility:hidden;
    transform:translateX(8px);

    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease;

    pointer-events:none;
}

@media (hover:hover) and (pointer:fine){
    .mm-global-whatsapp:hover .mm-global-whatsapp-circle{
        transform:scale(1.05);
        background:#20c75c;
        box-shadow:
            0 15px 32px rgba(0,0,0,.22),
            0 6px 14px rgba(37,211,102,.22);
    }

    .mm-global-whatsapp:hover .mm-global-whatsapp-label{
        opacity:1;
        visibility:visible;
        transform:translateX(0);
    }
}

.mm-global-whatsapp:focus-visible{
    outline:none;
}

.mm-global-whatsapp:focus-visible .mm-global-whatsapp-circle{
    box-shadow:
        0 0 0 4px rgba(37,211,102,.22),
        0 12px 28px rgba(0,0,0,.20);
}

@media(max-width:768px){
    .mm-global-whatsapp{
        right:16px;
        bottom:18px;
    }

    .mm-global-whatsapp-circle{
        width:58px;
        height:58px;
        flex-basis:58px;
    }

    .mm-global-whatsapp-circle svg{
        width:33px;
        height:33px;
    }

    .mm-global-whatsapp-label{
        display:none;
    }
}

@media(max-width:420px){
    .mm-global-whatsapp{
        right:14px;
        bottom:15px;
    }

    .mm-global-whatsapp-circle{
        width:54px;
        height:54px;
        flex-basis:54px;
    }

    .mm-global-whatsapp-circle svg{
        width:31px;
        height:31px;
    }
}

@media(prefers-reduced-motion:reduce){
    .mm-global-whatsapp-circle,
    .mm-global-whatsapp-label{
        transition:none !important;
    }
}
