.vis-floating-chat {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.admin-bar .vis-floating-chat {
    z-index: 99998;
}

.vis-floating-chat__bubble {
    position: relative;
    max-width: 252px;
    padding: 14px 16px 13px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(18, 44, 92, 0.18);
    color: #244266;
    cursor: pointer;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.vis-floating-chat__bubble.is-hidden {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.vis-floating-chat__bubble.is-disabled {
    display: none;
}

.vis-floating-chat__bubble::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: -10px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    transform: rotate(45deg);
    border-radius: 4px;
}

.vis-floating-chat__title {
    margin: 0 0 6px;
    color: #1f5cb8;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.vis-floating-chat__message {
    margin: 0;
    color: #42597d;
    font-size: 16px;
    line-height: 1.52;
}

.vis-floating-chat__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.vis-floating-chat__button:hover {
    transform: translateY(-2px);
}

.vis-floating-chat__button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(17, 60, 125, 0.2));
}

@media (max-width: 849px) {
    .vis-floating-chat {
        right: 14px;
        bottom: 14px;
        gap: 10px;
    }

    .vis-floating-chat__bubble {
        max-width: min(236px, calc(100vw - 70px));
        padding: 12px 14px;
    }

    .vis-floating-chat__title {
        font-size: 16px;
    }

    .vis-floating-chat__message {
        font-size: 15px;
    }

    .vis-floating-chat__button {
        width: 78px;
        height: 78px;
    }

    body.single-product .vis-floating-chat {
        bottom: 92px;
    }
}
