:root{
    --vscmenu-css: 1;
}
.vscmenu{
    position: relative;
    min-width: 0;
}
.vscmenu-list{   
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;          /* Firefox: ẩn thanh cuộn */
    -ms-overflow-style: none;       /* Edge cũ */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}
.vscmenu-list::-webkit-scrollbar{   /* Chrome, Safari: ẩn thanh cuộn */
    display: none;
    width: 0;
    height: 0;
}
.vscmenu-list > li{
    flex: 0 0 auto;
}
.vscmenu-list a,
.vscmenu-list img{
    -webkit-user-drag: none;
}
/* Có nhiều mục hơn chiều rộng: hiện con trỏ kéo */
.vscmenu.is-overflow .vscmenu-list{
    cursor: grab;
}
.vscmenu.is-dragging .vscmenu-list{
    cursor: grabbing;
    -webkit-user-select: none;
    user-select: none;
}
.vscmenu.is-dragging .vscmenu-list a{
    pointer-events: none;
}
/* Mép còn mục bị che thì mờ dần */
.vscmenu.has-left .vscmenu-list{
    -webkit-mask-image: linear-gradient(90deg, transparent 0, var(--color00) 48px);
    mask-image: linear-gradient(90deg, transparent 0, var(--color00) 48px);
}
.vscmenu.has-right .vscmenu-list{
    /* -webkit-mask-image: linear-gradient(90deg, var(--color00) calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(90deg, var(--color00) calc(100% - 48px), transparent 100%); */
}
.vscmenu.has-left.has-right .vscmenu-list{
    /* -webkit-mask-image: linear-gradient(90deg, transparent 0, var(--color00) 48px, var(--color00) calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, var(--color00) 48px, var(--color00) calc(100% - 48px), transparent 100%); */
}

/* ---------- PHẦN 2: GIAO DIỆN MẪU (tuỳ chọn, cần class "vscmenu-skin") ---------- */
.vscmenu-bar{                       /* khối bọc thanh menu, dính trên đầu khi cuộn */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
    background-color: var(--colorff);
    border-bottom: 1px solid #e5e8ee;
}
.vscmenu.vscmenu-skin{
    display: flex;
    justify-content: center;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 20px;
}
.vscmenu.vscmenu-skin ul{
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0 30px;
}
.vscmenu.vscmenu-skin li a{
    display: block;
    padding: 15px 0;
    font-size: 16px;
    line-height: 25px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transition: color .3s, background-color .3s, box-shadow .3s;
    transition: color .3s, background-color .3s, box-shadow .3s;
    position: relative;
}
.vscmenu.vscmenu-skin li a::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: var(--colorwm);
    width: 0;
    -webkit-transition: var(--effectl);
    -o-transition: var(--effectl);
    transition: var(--effectl);
}
.vscmenu.vscmenu-skin li a:hover,
.vscmenu.vscmenu-skin li.active a{
    color: var(--colorwm);
}
.vscmenu.vscmenu-skin li a:hover::before,
.vscmenu.vscmenu-skin li.active a::before{
    width: 100%;
}
@media all and (max-width: 991px){
    .vscmenu-bar{
        
    }
    .vscmenu.vscmenu-skin{
        padding: 0;
    }
    .vscmenu.vscmenu-skin li:first-child{
        margin-left: 20px;
    }
    .vscmenu.vscmenu-skin li:last-child{
        margin-right: 20px;
    }
    .vscmenu.vscmenu-skin li a{

    }
}
