.mary-whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mary-whatsapp);
    color: var(--mary-white);
    box-shadow: 0 8px 24px var(--mary-shadow-neutral);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mary-whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 28px var(--mary-shadow-neutral-strong);
    color: var(--mary-white);
}

.mary-whatsapp-float:focus-visible {
    outline: 2px solid var(--mary-white);
    outline-offset: 3px;
}

.mary-whatsapp-float .mary-social-icon__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mary-white);
    line-height: 0;
}

.mary-whatsapp-float .mary-social-icon__brand svg {
    display: block;
    width: 28px;
    height: 28px;
}

@media (max-width: 640px) {
    .mary-whatsapp-float {
        right: 20px;
        bottom: max(20px, env(safe-area-inset-bottom));
        width: 52px;
        height: 52px;
    }

    .mary-whatsapp-float .mary-social-icon__brand svg {
        width: 26px;
        height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mary-whatsapp-float {
        transition: none;
    }

    .mary-whatsapp-float:hover {
        transform: none;
    }
}
