body {
    position: relative;
}

.whatsapp {
    position: fixed !important;
    bottom: calc(25px + env(safe-area-inset-bottom));
    right: calc(25px + env(safe-area-inset-right));
    z-index: 1040 !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    isolation: isolate !important;
    display: inline-block;
    text-decoration: none;
}

.whatsapp img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    box-shadow: none !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .whatsapp img:hover {
        transform: scale(1.1);
        filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
        box-shadow: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .whatsapp {
        bottom: calc(22px + env(safe-area-inset-bottom));
        right: calc(22px + env(safe-area-inset-right));
    }
    .whatsapp img {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 767px) {
    .whatsapp {
        bottom: calc(18px + env(safe-area-inset-bottom));
        right: calc(18px + env(safe-area-inset-right));
    }
    .whatsapp img {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 360px) {
    .whatsapp img {
        width: 48px;
        height: 48px;
    }
}
