.wf-whatsapp {
    --wf-whatsapp-color: #128c4c;
    position: fixed;
    right: max(20px, env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid #ffffff40;
    border-radius: 50%;
    background: var(--wf-whatsapp-color);
    color: #fff;
    box-shadow: 0 4px 18px #0003;
    text-decoration: none;
}

.wf-whatsapp svg {
    width: 30px;
    height: 30px;
}

.wf-whatsapp:hover {
    background: #0e703c;
}

.wf-whatsapp:focus-visible {
    outline: 3px solid var(--color-brand, #3448f0);
    outline-offset: 4px;
}

/* Keep the consent controls above the contact button when the banner is open. */
.site:has(.wf-whatsapp) .wf-consent {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

@media (prefers-reduced-motion: no-preference) {
    .wf-whatsapp {
        transition: background-color .15s, transform .15s;
    }

    .wf-whatsapp:hover {
        transform: translateY(-2px);
    }
}
