#chat-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: none;
    flex-direction: column;
    gap: 16px;
    pointer-events: auto;
}


.chat-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    animation: pulse 2s infinite;
    transition: transform .2s;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.chat-btn svg {
    width: 40px;
    height: 40px;
    display: block;
    vertical-align: middle;
    margin: 0 auto;
    pointer-events: none;
}

.chat-btn.wa,
.chat-btn.vb {
    background: none;
}

.chat-btn:hover {
    transform: scale(1.15);
}


.chat-btn svg {
    width: 40px;
    height: 40px;
    display: block;
    vertical-align: middle;
}

.chat-btn.wa,
.chat-btn.vb {
    background: none;
}

.tg {
    background: #229ED9;
}

.call {
    background: #ff5722;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, .4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* тільки мобільні */
@media (max-width: 991px) {
    #chat-widget {
        right: 12px;
        bottom: 12px;
        gap: 20px;
    }

    .chat-btn {
        width: 64px;
        height: 64px;
    }

    .chat-btn svg {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 991px) {
    #chat-widget {
        right: 16px;
        bottom: 80px;
        /* піднято вище, щоб не перекривати навігацію/контент */
        gap: 20px;
    }

    .chat-btn {
        width: 64px;
        height: 64px;
    }

    .chat-btn svg {
        width: 48px;
        height: 48px;
    }
}