/*
 * Botão flutuante do WhatsApp — position: fixed, z-index: 999 (acima do
 * conteúdo do Elementor).
 * Convive com a barra do plugin Cookie Notice (#cookie-notice), também fixed
 * no rodapé, com largura total e z-index: 100000: enquanto ela está visível,
 * whatsapp-float.js expõe a altura dela em --alfa-cookie-offset e o botão
 * sobe essa distância, voltando ao canto padrão após o aceite.
 */
.whatsapp-float-btn {
    position: fixed;
    bottom: calc(24px + var(--alfa-cookie-offset, 0px));
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: grab;
    user-select: none;
    touch-action: none;
    -webkit-user-drag: none;
    user-drag: none;
    /* Desce suavemente quando a barra de cookies some; não afeta o arrasto,
       que posiciona via top/left com bottom: auto. */
    transition: bottom 0.2s ease;
}

.whatsapp-float-btn img,
.whatsapp-float-btn svg {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.whatsapp-float-btn:hover,
.whatsapp-float-btn:focus {
    color: #fff;
}

.whatsapp-float-btn.dragging {
    cursor: grabbing;
}

@media (max-width: 767px) {
    .whatsapp-float-btn {
        width: 70px;
        height: 70px;
        bottom: calc(16px + var(--alfa-cookie-offset, 0px));
        right: 16px;
    }
}
