.hpw-whatsapp-contact {
    display: none;
}

@media (max-width: 767px) {
    .hpw-whatsapp-contact {
        position: fixed;
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        z-index: 9999;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        background: #57d366;
        border-radius: 50%;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .hpw-whatsapp-contact:hover,
    .hpw-whatsapp-contact:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
    }

    .hpw-whatsapp-contact:focus-visible {
        outline: 3px solid #ffffff;
        outline-offset: 3px;
    }

    .hpw-whatsapp-contact img {
        display: block;
        width: 28px;
        height: 28px;
    }

    #back-to-top {
        right: calc(max(16px, env(safe-area-inset-right)) + 6px);
        bottom: calc(max(16px, env(safe-area-inset-bottom)) + 70px);
    }
}

@media print {
    .hpw-whatsapp-contact {
        display: none !important;
    }
}
