.mh-whatsapp-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 0;
    border-radius: 999px;
    background: #25d366;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    color: #fff !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.mh-whatsapp-fab:hover {
    background: #1fbd59;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    color: #fff !important;
    transform: translateY(-2px);
}

.mh-whatsapp-fab:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px #128c4a, 0 12px 28px rgba(0, 0, 0, 0.22);
}

@media (max-width: 640px) {
    body.has-whatsapp-float {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    .mh-whatsapp-fab {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        min-height: calc(60px + env(safe-area-inset-bottom));
        padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
        border-radius: 0;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
        font-size: 15px;
    }

    .mh-whatsapp-fab:hover {
        transform: none;
    }
}

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

@media print {
    body.has-whatsapp-float {
        padding-bottom: 0;
    }

    .mh-whatsapp-fab {
        display: none;
    }
}
