/* BASIC css start */
#contentWrap { width:1280px; } 

/* class-list */
#productClass .cate-wrap { overflow:hidden; margin: 40px 0 42px; } 
#productClass .cate-wrap .bcate { /* display: flex;*/gap: 40px; margin-bottom: 40px;    display: none; } 
#productClass .cate-wrap .bcate a { position: relative; font-size: 32px; font-weight: 700; color: #121212; } 
#productClass .cate-wrap .bcate a:after { content:''; display: inline-block; width: 1px; height: 30px; background: #ddd; position: absolute; top: 50%; transform: translateY(-50%); right: -20px; } 
#productClass .cate-wrap .bcate a:last-child:after { content:unset; } 

.btn {
     background-color: #02AA29;
    padding: 12px 25px;
    display:block;
    margin:0 auto 30px;
    width:100%;
    text-align:center;
  
}

.btn a{
font-size:25px;
    font-weight:600;
    color:#fff;
}
/* best-item */
#productClass .best-item { padding-top: 20px; padding-bottom: 10px; border-top: 2px solid #5c5c5c; border-bottom: 2px solid #5c5c5c; background-color: #f8f8f8; } 

/* total-sort */
#productClass .total-sort { padding-top: 30px; } 

/* 하위 분류 */
#productClass .item-cate { display: flex; justify-content: space-between; align-items: end; padding: 30px 0; } 
#productClass .item-cate a { font-weight: bold; color: #1c1c1c; letter-spacing: -1px; } 
#productClass .item-cate .scate a { font-size: 18px; } 
#productClass .item-cont .thumb .main_icons { position:relative; } 

/* 상단 배너 컨테이너를 가변형으로 설정 */
.topImg {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* 이미지 반응형 처리 */
.topImg img {
    width: 100%;
    height: auto;
    display: block;
}

/* ul 레이아웃 설정 */
.class-list ul {
    width: 75%;
    margin: 0 auto;
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
}

.class-list li {
    width: 33.3%;
}

.class-list li a {
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size:20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

/* 1. 기본 색상 (상위 카테고리 등 선택된 게 없을 때 전부 100%) */
.class-list li:nth-child(1) a { background-color: #94b749; }
.class-list li:nth-child(2) a { background-color: #d45d31; }
.class-list li:nth-child(3) a { background-color: #36589a; }

/* 2. 무언가 하나라도 선택된(ul 안에 .sel이 존재하는) 경우의 예외 처리 */
/* 선택된 항목을 제외한 나머지만 투명도 60% 적용 */
.class-list ul:has(.sel) li:nth-child(1) a:not(.sel) { background-color: rgba(148, 183, 73, 0.4); }
.class-list ul:has(.sel) li:nth-child(2) a:not(.sel) { background-color: rgba(212, 93, 49, 0.4); }
.class-list ul:has(.sel) li:nth-child(3) a:not(.sel) { background-color: rgba(54, 88, 154, 0.4); }
/* BASIC css end */

