/* ======page-tab======== */


.page-tab {
    /* border-bottom: 3px solid var(--color-primary); */
    padding: 10px;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    background: #fff;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
    z-index: 10;
    font-size: 0;
    /* scroll-behavior: smooth; */
}
.page-tab::-webkit-scrollbar {
    height: 4px; 
}
.page-tab::-webkit-scrollbar-track {
    background: #f5f5f5;
}
.page-tab::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}
.page-tab > span {
    display: inline-block;
    padding: 5px 12px;
    margin-right: 6px;
    background: #f1f1f1;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
    transition: background .2s, color .2s;
    font-size: 16px;
}
.page-tab > span.active {
    background: var(--color-primary);
    color: #fff;
}

@media (hover: none), (pointer: coarse) {
    .page-tab > span:hover,
    .page-tab > span:focus,
    .page-tab > span:active {
        background: #eee !important;
        color: inherit !important;
        border-color: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        text-decoration: none !important;
    }
    .page-tab > span.active,
    .page-tab > span.active:hover,
    .page-tab > span.active:focus {
        background: var(--color-primary) !important;
        color: #fff !important;
    }
}

@media (hover: hover) and (pointer: fine) {
    .page-tab > span:hover {
        background: var(--color-primary) !important;
        color: #fff !important;
    }
}
@media (max-width: 768px) {

    .page-tab > span {
        padding: 5px 10px;
        font-size: 15px;
    }

}
/* ======page-tab end======== */