/* BASIC css start */


.cate-wrap {}

.cate-wrap .class-list {
    overflow: hidden;
    margin-top: 50px;
}

.cate-wrap .class-list ul {
    display: flex;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    gap: 23px;
    overflow-y: hidden;
    overflow-x: auto; 
    white-space: nowrap;
    padding-right: 17px;





    /* --- 스크롤바 스타일링 시작 --- */

    /* 스크롤바 전체 영역 */
    &::-webkit-scrollbar {
        height: 3px;
        /* 스크롤바의 높이 */
    }

    /* 스크롤바 막대 */
    &::-webkit-scrollbar-thumb {
        background-color: #888;
        /* 스크롤바 막대의 색상 */
        border-radius: 4px;
        /* 스크롤바 막대의 모서리 둥글게 */
    }

    /* 스크롤바 막대에 마우스를 올렸을 때 */
    &::-webkit-scrollbar-thumb:hover {
        background-color: #555;
        /* 호버 시 색상 변경 */
    }

    /* 스크롤바 트랙(경로) */
    &::-webkit-scrollbar-track {
        background-color: #f1f1f1;
        /* 스크롤바 트랙의 색상 */
        border-radius: 5px;
    }

    /* --- 스크롤바 스타일링 끝 --- */
}

.cate-wrap .class-list ul li {
    margin: 10px 0;
}

.cate-wrap .class-list ul li:first-child {
    border-right: 1px solid #e4e4e4;
    padding-right: 17px;
    padding-left: 17px;
}

.cate-wrap .class-list ul li a {
    position: relative;
    color: #898989;
    font-size: 14px;
    height: 20px;
    display: flex;
    align-items: center;
}

.cate-wrap .class-list ul li.active a {
    font-weight: bold;
    color: #000000;
}

.cate-wrap .class-list ul li.active a::after {
    content: "";
    background: var(--maincolor);
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -10px;
    left: 0;
    display: none;
}





.item-info {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    align-items: center;
}

.item-info .count {
    color: #828282;
    font-size: 14px;
    font-weight: 400;
}

.item-info .count span {
    color: #ed1c24;
}

.item-info .item-order.sort {}

.item-info .item-order.sort select {
    outline: 0;
    background: #fff url(/design/offik/images/select_arrow.svg) no-repeat center right 10px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    height: 40px;
    width: 98px;
    color: #828282;
}



/* 태블릿/모바일용 */
@media (max-width: 1024px) {
    .class-list.first {
        margin-top: 30px;
    }

    .item-info {
        margin-bottom: 34px;
    }

    .cate-wrap .class-list ul {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cate-wrap .class-list ul li.active a::after {
        display: block;
    }



}


@media (max-width: 768px) {
    .item-info {
        margin-top: 20px;
    }
}
 
/* 마우스 등 정밀한 포인터 기기(주로 PC)에서만 적용 */
@media (pointer: fine) {
    .cate-wrap .class-list ul {
        /* 스크롤바를 다시 보이게 설정 */
        scrollbar-width: auto;
        -ms-overflow-style: auto;
    } 
}

/* BASIC css end */

