/* Sandori: contato flutuante independente do tema. */
a.sandori-whatsapp-float,
a.sandori-whatsapp-float:visited {
    position: fixed;
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px) + var(--sandori-whatsapp-lift, 0px));
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    background: #1f3a32;
    color: #fff;
    box-shadow: 0 4px 16px rgba(31, 58, 50, .24);
    text-decoration: none;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.sandori-whatsapp-float svg {
    display: block;
    width: 30px;
    height: 30px;
}
a.sandori-whatsapp-float svg,
a.sandori-whatsapp-float svg * {
    pointer-events: none;
}
a.sandori-whatsapp-float:hover {
    background: #2a3828;
    color: #fff;
    box-shadow: 0 6px 18px rgba(31, 58, 50, .3);
    transform: translateY(-2px);
}
a.sandori-whatsapp-float:focus-visible {
    outline: 3px solid #1f3a32;
    outline-offset: 4px;
    box-shadow: 0 0 0 3px #fff, 0 4px 16px rgba(31, 58, 50, .24);
}
a.sandori-whatsapp-float[hidden] {
    display: none !important;
}
body[class*="showing-popup-drawer"] a.sandori-whatsapp-float {
    visibility: hidden;
    pointer-events: none;
}
@media (max-width: 767px) {
    a.sandori-whatsapp-float,
    a.sandori-whatsapp-float:visited {
        width: 52px;
        height: 52px;
        right: calc(16px + env(safe-area-inset-right, 0px));
        bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--sandori-whatsapp-lift, 0px));
    }
    a.sandori-whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
@media (prefers-reduced-motion: reduce) {
    a.sandori-whatsapp-float { transition: none; }
}
@media (forced-colors: active) {
    a.sandori-whatsapp-float,
    a.sandori-whatsapp-float:visited {
        background: ButtonFace;
        color: ButtonText;
        border: 2px solid ButtonText;
    }
    a.sandori-whatsapp-float:focus-visible { outline-color: ButtonText; }
}
