/* Stack above .scroll-to-top-btn.visible (bottom: 120px, height: 36px) */
.omni-live-support {
    --live-support-accent: #c2185b;
    --live-support-bottom: 162px;
    position: fixed;
    right: 16px;
    bottom: var(--live-support-bottom);
    z-index: 9998;
    font-family: "Open Sans", "Hind Siliguri", "Noto Sans Bengali", sans-serif;
}

.omni-live-support__panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: min(340px, calc(100vw - 32px));
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    pointer-events: none;
}

.omni-live-support.is-open .omni-live-support__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.omni-live-support__head {
    position: relative;
    padding: 20px 44px 16px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.omni-live-support__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.omni-live-support__subtitle {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.omni-live-support__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.omni-live-support__close:hover {
    color: #475569;
    background: #f8fafc;
}

.omni-live-support__list {
    padding: 12px;
}

.omni-live-support__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.omni-live-support__item:hover {
    background: #f8fafc;
    text-decoration: none;
    color: inherit;
}

.omni-live-support__item--call {
    background: #f8fafc;
    margin-top: 4px;
}

.omni-live-support__item--call:hover {
    background: #f1f5f9;
}

.omni-live-support__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.omni-live-support__icon--wa {
    background: #25d366;
}

.omni-live-support__icon--fb {
    background: linear-gradient(135deg, #0099ff, #a033ff);
}

.omni-live-support__icon--phone {
    background: var(--live-support-accent);
}

.omni-live-support__text {
    flex: 1;
    min-width: 0;
}

.omni-live-support__label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.omni-live-support__hint {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.35;
}

.omni-live-support__chevron {
    flex-shrink: 0;
    color: #cbd5e1;
    font-size: 18px;
}

.omni-live-support__toggle {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: var(--live-support-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(194, 24, 91, 0.35);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    pointer-events: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.omni-live-support__toggle:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(194, 24, 91, 0.42);
}

.omni-live-support__toggle-icon--close {
    display: none;
}

.omni-live-support.is-open .omni-live-support__toggle-icon--open {
    display: none;
}

.omni-live-support.is-open .omni-live-support__toggle-icon--close {
    display: inline;
}

/* Phone / narrow layout: pin FAB to bottom-right (above safe area) */
@media (max-width: 991px) {
    .omni-live-support {
        right: 12px;
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
    }

    .omni-live-support__panel {
        bottom: 68px;
        width: min(320px, calc(100vw - 24px));
    }

    .omni-live-support__toggle {
        width: 52px;
        height: 52px;
    }
}
