/* ========================================
   GLOBAL - WHATSAPP FLOAT
======================================== */

.ef-whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    border-radius: 50%;

    background: var(--ef-gold-effect);
    color: #fff;
    text-decoration: none;

    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ef-whatsapp-float:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

.ef-whatsapp-float .icon,
.ef-whatsapp-float svg {
    display: block;
    width: 31px;
    height: 31px;
    color: currentColor;
    fill: currentColor;
}

.ef-whatsapp-float svg use {
    fill: currentColor;
}

@media (max-width: 767px) {
    .ef-whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        transition: opacity 0.28s ease, visibility 0s linear 0s,
            transform 0.28s ease, box-shadow 0.25s ease;
    }

    .ef-whatsapp-float .icon,
    .ef-whatsapp-float svg {
        width: 30px;
        height: 30px;
    }

    body.home .ef-whatsapp-float {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(18px) scale(0.9);
        transition: opacity 0.28s ease, visibility 0s linear 0.28s,
            transform 0.28s ease, box-shadow 0.25s ease;
    }

    body.home.ef-mobile-scroll-down:not(.menu-open) .ef-whatsapp-float {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition: opacity 0.28s ease, visibility 0s linear 0s,
            transform 0.28s ease, box-shadow 0.25s ease;
    }
}
