/* RABU Atelier 3.2.4: lightweight WhatsApp Business click-to-chat control. */
body.rabu-atelier .rabu-whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    z-index: 190;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 53px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 0;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font: 600 13px/1.15 Arial, sans-serif;
    letter-spacing: .01em;
    box-shadow: 0 8px 24px rgba(0,0,0,.17);
    transition: transform .18s ease, box-shadow .18s ease;
    -webkit-tap-highlight-color: transparent;
}
body.rabu-atelier .rabu-whatsapp-float:hover,
body.rabu-atelier .rabu-whatsapp-float:focus-visible {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.23);
}
body.rabu-atelier .rabu-whatsapp-float:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
body.rabu-atelier .rabu-whatsapp-icon { flex: 0 0 23px; display: block; }
body.rabu-atelier .rabu-whatsapp-label { white-space: nowrap; }
/* The mobile theme has a 70px fixed bottom navigation. Keep the chat shortcut above it. */
@media (max-width: 850px) {
    body.rabu-atelier .rabu-whatsapp-float {
        right: 14px;
        bottom: calc(86px + env(safe-area-inset-bottom, 0px));
        width: 55px;
        height: 55px;
        min-height: 55px;
        padding: 0;
    }
    body.rabu-atelier .rabu-whatsapp-icon { width: 27px; height: 27px; flex-basis: 27px; }
    body.rabu-atelier .rabu-whatsapp-label { display: none; }
    /* On product pages the mobile buy bar also sits above bottom navigation. */
    body.rabu-atelier.single-product .rabu-whatsapp-float {
        bottom: calc(156px + env(safe-area-inset-bottom, 0px));
    }
}
/* Don't cover a theme drawer or the independent mobile mega menu. */
body.rabu-atelier.rms-ind-open .rabu-whatsapp-float,
body.rabu-atelier:has(#rabu-category-drawer:not([hidden])) .rabu-whatsapp-float {
    visibility: hidden;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    body.rabu-atelier .rabu-whatsapp-float { transition: none; }
}
