/* BASIC css start */
/* BASIC css start */
/* BASIC css start */
.full-wrapper { max-width: none; --bs-gutter-x: var(--cw-size-200); }
.shopbrand-header { padding-top: var(--cw-size-60); }
.shopbrand-header__title { display: flex; align-items: center; justify-content: space-between; }
.shopbrand-header__title strong { font-size: var(--cw-size-24); line-height: var(--cw-size-32); font-weight: 700; color: var(--cw-heading-color); }
.shopbrand-header__title .cw-select-box { width: var(--cw-size-300); }
.shopbrand-header__nav { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; min-width: 0; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.1) transparent; display: flex; align-items: center; column-gap: var(--cw-size-48); margin-top: var(--cw-size-20); border-bottom: 1px solid var(--cw-color-20); }
.shopbrand-header__nav li { padding: var(--cw-size-12) 0; flex: 0 0 auto; white-space: nowrap; }
.shopbrand-header__nav li a { font-size: var(--cw-size-16); line-height: var(--cw-size-24); color: var(--cw-heading-color); }
.shopbrand-header__nav .active { margin-bottom: -1px; border-bottom: var(--cw-size-3) solid var(--cw-heading-color); }
.shopbrand-header__nav .active a { font-weight: 700; }
.category-title {
    padding-bottom: 144px;
}
.category-title img { max-width: 100%; }
.products-type { display: flex; justify-content: end; margin-bottom: var(--cw-size-16); margin-top: var(--cw-size-20); }
.products-wrapper .prds-list.list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cw-size-40) var(--cw-size-20); }
.products-wrapper .prds-list.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--cw-size-60) var(--cw-size-20); }
.products-more {margin-top: 144px;text-align: center; display:flex;
    gap: 8px;
    flex-direction: column;}
.products-more a {
    margin: 0 auto;max-width: 280px;height: 56px;border-radius: 8px;border: 1px solid #000;color: #000;display: inline-flex;align-items: center;justify-content: center;font-size: 18px;font-weight: 500;width: 100%;background: #fff;}
.products-wrapper .list-none { margin-top: var(--cw-size-120); text-align: center; }

.tab-navi--links {
    position: sticky; 
    z-index: 3; 
    background-color: #fff;  
}



.category-section {
    position: sticky;
    z-index: 2;
    background-color: #fff;}

.category-header {
    margin-top: 48px;
    margin-bottom: 32px;
}
.newContainer .category-section:first-child .category-header{ margin-top: 64px; } 

.category-header .title {
    font-size: 32px;
    font-weight: 600;
    color: #000;
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.category-header .count {
    font-size: 18px;
    color: #AAAAAA;
    font-weight: 600;
}

.category-container {
    display: flex; 
    flex-direction: column;
}

.category-list {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow-y: hidden;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    
    


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

    /* 스크롤바 전체 영역 */
    &::-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;
    }

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

.category-list li {
    position: relative;
    display: flex;
    align-items: center;
    /* padding: 31px 0 31px 73px; */
    scroll-snap-align: center;
}

.category-list li a {
    font-size: 22px;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    padding: 31px  73px;
}

.category-list li.active::before {
    content: "";
    background: var(--main-color);
    width: 100%;
    height: 4px;
    bottom: 0;
    left: 0;
    position: absolute;
}

.category-list li.active a {
    color: var(--main-color);
    font-weight: 700;
}

/* 리스트 사이의 점(dot) 구분선 */
.category-list li::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 13px;
    background-color: transparent;
    border-radius: 50%;
    /* margin-left: 73px; */
}
.category-list li:not(:last-child)::after {
    background-color: #DBDBDB;
}
.category-list li:first-child:nth-last-child(2),
.category-list li:first-child:nth-last-child(2) ~ li {
    flex: 0 0 50%;
    justify-content: center;
    padding-left: 0;
}
.category-list li:first-child:nth-last-child(2)::after,
.category-list li:first-child:nth-last-child(2) ~ li::after {
    position: absolute;
    right: 0; 
    margin-left: 0;
}
.category-list li:first-child:nth-last-child(2) a, .category-list li:first-child:nth-last-child(2) ~ li a {
    width: 100%;
    text-align: center;
}
.category-nav {
    /* border-top: 1px solid #DBDBDB; */
    border-bottom: 1px solid #DBDBDB;
}





@media (max-width: 1024px) {
    .products-more{
    gap: 6px;
    margin-top: 60px;
}
.products-more a {width: 100%;max-width: 100%;border: 1px solid #DBDBDB;border-radius: 6px;height: 48px;font-size: 14px;font-weight: 600;}



    .category-header {
        margin-top: 20px;
        MARGIN-BOTTOM: 12PX;
    }

.newContainer .category-section:first-child .category-header{ margin-top: 32px; } 

    .category-header .title {
        font-size: 16px;
        gap: 6px;
    }

    .category-header .count {
        color: #bbb;
        font-size: 12px;
    }

    .category-container {
    }

    .category-list {
        /* gap: 14px; */
    }

    .category-list li {
        /* padding: 18px 0 18px 12px; */
    }

.category-list li.active::before {content: "";height: 3px;}
    .category-list li::after {
        /* margin-left: 13px; */
        height: 9px;
    }

    .category-list li a {
        font-size: 13px;
        padding: 18px 12px;
    }
    
    
    
}

/* 모바일 반응형 (768px 이하) */
@media (max-width: 768px) {
    .category-container {
        flex-direction: column; 
        align-items: flex-start;
    }

    .category-nav {
        width: 100%;
        overflow-x: auto;
        /* 좌우 스크롤 활성화 */
        -webkit-overflow-scrolling: touch;
        /* iOS 부드러운 스크롤 */
        /* margin-bottom: 15px; */
    }

    /* 스크롤바 숨기기 */
    .category-nav::-webkit-scrollbar {
        display: none;
    }

    .category-nav {
        -ms-overflow-style: none;
        scrollbar-width: none;
    } 
}


/* 마우스 등 정밀한 포인터 기기(주로 PC)에서만 적용 */
@media (pointer: fine) {
    .category-list {
        /* 스크롤바를 다시 보이게 설정 */
        scrollbar-width: auto;
        -ms-overflow-style: auto;
    }
}


@media (max-width: 991.98px) {
    .full-wrapper { --bs-gutter-x: var(--cw-size-48); }
    .shopbrand-header { padding-top: 0; }
    .shopbrand-header__title { justify-content: flex-end; margin: var(--cw-size-40) 0 var(--cw-size-20); }
    .shopbrand-header__title strong { display: none; }
    .shopbrand-header__nav-wrapper { margin-left: calc(-0.5 * var(--bs-gutter-x)); margin-right: calc(-0.5 * var(--bs-gutter-x)); }
    .shopbrand-header__nav { overflow-x: auto; column-gap: var(--cw-size-40); margin: 0; padding: 0 calc(0.5 * var(--bs-gutter-x)); }
    .shopbrand-header__nav li { padding: var(--cw-size-10) 0; }
    .shopbrand-header__nav li a { font-size: var(--cw-size-14); line-height: var(--cw-size-20); }
    .category-title { padding: var(--cw-size-32) 0; }
    .products-type { margin-bottom: var(--cw-size-12); }
    .products-wrapper .prds-list.list { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: var(--cw-size-20); }
    .products-wrapper .prds-list.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--cw-size-60) var(--cw-size-16); }
}

@media (max-width: 767.98px) {
    .full-wrapper { --bs-gutter-x: var(--cw-size-32); }
    .shopbrand-header__title { margin-bottom: var(--cw-size-16); }
    .shopbrand-header__title .cw-select-box { width: 100%; }
    .shopbrand-header__nav { gap: var(--cw-size-36); }
    .shopbrand-header__nav li a { font-size: var(--cw-size-13); line-height: var(--cw-size-18); }
    .category-title { padding: var(--cw-size-32) 0; }
    .products-wrapper .prds-list.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cw-size-40) var(--cw-size-8); }
    
}
/* BASIC css end */


/* BASIC css end */


/* BASIC css end */

