#chat-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px
}

    #chat-widget .chat-btn {
        width: 56px;
        height: 56px;
        border: 1px solid rgba(201,164,92,.75);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #c9a45c;
        text-decoration: none;
        background: #0b0b0b;
        box-shadow: 0 8px 24px rgba(0,0,0,.42),inset 0 0 0 2px rgba(201,164,92,.08);
        transition: transform .22s ease,box-shadow .22s ease,background .22s ease,color .22s ease
    }

        #chat-widget .chat-btn:hover {
            transform: scale(1.08);
            color: #111;
            background: #c9a45c;
            box-shadow: 0 10px 30px rgba(0,0,0,.48),0 0 18px rgba(201,164,92,.22)
        }

        #chat-widget .chat-btn svg {
            width: 29px;
            height: 29px;
            display: block
        }

    #chat-widget .chat-messenger {
        color: #c9a45c
    }

    #chat-widget .chat-zalo {
        color: #c9a45c
    }

    #chat-widget .zalo-branches {
        position: absolute;
        right: 68px;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        opacity: 0;
        pointer-events: none;
        transform: translateX(10px) scale(.94);
        transform-origin: right center;
        transition: opacity .22s ease,transform .22s ease
    }

        #chat-widget .zalo-branches.open {
            opacity: 1;
            pointer-events: auto;
            transform: translateX(0) scale(1)
        }

        #chat-widget .zalo-branches .branch {
            width: 140px !important;
            height: 40px !important;
            min-height: 40px !important;
            max-height: 40px !important;
            padding: 0 6px !important;
            margin: 0 !important;
            border: 1px solid rgba(201,164,92,.72);
            border-radius: 7px;
            background: #0b0b0b;
            color: #c9a45c;
            display: flex !important;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font: 1000 16px/1 Inter,Arial,sans-serif;
            font-size: 20px !important;
            white-space: nowrap;
            box-sizing: border-box;
            flex: 0 0 26px;
            overflow: hidden;
            box-shadow: 0 6px 18px rgba(0,0,0,.32);
            transition: background .2s ease,color .2s ease,transform .2s ease
        }

            #chat-widget .zalo-branches .branch:hover {
                background: #c9a45c;
                color: #111;
                transform: translateY(-2px)
            }

            #chat-widget .zalo-branches .branch span {
                display: block
            }

@media(max-width:520px) {
    #chat-widget {
        right: 12px;
        bottom: 14px;
        gap: 10px
    }

        #chat-widget .chat-btn {
            width: 50px;
            height: 50px
        }

            #chat-widget .chat-btn svg {
                width: 26px;
                height: 26px
            }

        #chat-widget .zalo-branches {
            right: 55px;
            gap: 4px
        }

            #chat-widget .zalo-branches .branch {
                width: 140px !important;
                height: 40px !important;
                min-height: 40px !important;
                max-height: 40px !important;
                padding: 0 5px !important;
                flex-basis: 26px;
                font-size: 8px
            }
}
