/* ==========================================================================
   Global floating WhatsApp chat button
   ========================================================================== */

.elintom-global-demo-fab,
.elintom-global-whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99990;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background-color: var(--elintom-accent, #FF2D78);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 32px rgba(255, 45, 120, 0.38);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    text-decoration: none;
}

.elintom-global-demo-fab i,
.elintom-global-whatsapp-fab i {
    font-size: 18px;
}

.elintom-global-demo-fab:hover,
.elintom-global-demo-fab:focus-visible,
.elintom-global-whatsapp-fab:hover,
.elintom-global-whatsapp-fab:focus-visible {
    transform: translateY(-3px);
    background-color: var(--elintom-accent-hover, #E01A62);
    box-shadow: 0 14px 36px rgba(255, 45, 120, 0.45);
    color: #FFFFFF;
    outline: none;
    text-decoration: none;
}

@media (max-width: 900px) {
    .elintom-global-demo-fab,
    .elintom-global-whatsapp-fab {
        bottom: 18px;
        right: 18px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .elintom-global-demo-fab,
    .elintom-global-whatsapp-fab {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
}

@media (max-width: 480px) {
    .elintom-global-demo-fab span,
    .elintom-global-whatsapp-fab span {
        display: none;
    }

    .elintom-global-demo-fab,
    .elintom-global-whatsapp-fab {
        width: 54px;
        height: 54px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elintom-global-demo-fab,
    .elintom-global-whatsapp-fab {
        transition: none;
    }
}
