.list-wrap #main-banner{
    height: 600px;
    background: url(../../images/list/banner/chair.jpg) no-repeat 50% 50% / cover;
    margin-bottom:8rem;
}
.product-types{
    width: 100%;
    padding: var(--margin-sub-text) 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #999999;
    box-sizing: border-box;
    font-weight: var(--bold-weight);
    margin-bottom: 3rem;
    overflow-x: auto;
}
.product-types li{
    cursor: pointer;
    white-space: nowrap;
}
.list-box{
    /* border: 1px solid red; */
    margin-bottom: 5rem;
}

/* 필터 드롭다운 스타일 */
.select-box{
    width: 100%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    position: relative;
}
.select-label{
    border-bottom: 1px solid #000;
    width: 105px;
    display: flex;
    padding:.5rem;
    justify-content: space-between;
    align-items: center;
    font-size: var(--body-2);
    font-weight: var(--bold-weight);
    cursor: pointer;
    background-color: var(--neutral-color);
}
.select-box img{
    width: 27px;
    height: 27px;
}
.select-list{
    background-color:var(--neutral-color);
    position: absolute;
    top: 100%;
    right: 0; 
    z-index: 100;
    display: none; 
    flex-direction: column;
    cursor: pointer;
    font-size: var(--body-2);
}
.select-list li{
    width: 105px;
    display: flex;
    align-items: center;
    padding: .5rem;
    box-sizing: border-box;
    border-bottom: 1px solid #000;
}
.select-list li:hover {
    background-color: #f5f5f5;
}
.select-box.active .select-list {
    display: flex;
}
.product-grid{
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3rem 8rem;
    /* border: 1px solid red; */
    margin-bottom: 3rem;
}
.product-list{
    /* border: 1px solid green; */
}
.product-list figure{
    width: 100%;
    aspect-ratio: 378/424;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}
.hover-box a{
    display: block;
    width: 100%;
    height: 100%;
}
.hover-box img{
    width: 100%;
    height: 100%;
}
.product-description{
    display: flex;
    gap: 1rem;
    flex-direction: column;
}
.product-name>p{
    margin-bottom: .5rem;
    font-size: var(--body-2);
}
.product-name h4{
}
.pagination{
    /* border: 1px solid red; */
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.list-box nav{
    /* margin-bottom: var(--margin-top-pc); */
}

.product-option{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.product-option .size{
    font-size: var(--detail);
    display: flex;
    gap: 30px;
}
.size .gray{
    color: #696969;
}

.color-box{
    display: flex;
    gap: .5rem;
    /* border: 1px solid red; */
    height: 100%;
    
}
.color-ball{
    /* border: 1px solid olivedrab; */
    display: flex;
    gap: .5rem;
    align-items: center;
    width: 63px;
    overflow: hidden;
}

.product-option .color{
    /* border: 1px solid red; */
    display: flex;
    gap: .5rem;
    align-items: center;
    height: 21px;
    font-size: var(--detail);
}
.color .color-ball span{
    width: 15px;
    height: 15px;
    border-radius: 7.5px;
    flex-shrink: 0
}
.color-ball img{
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.color-box>figure{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.color-box>figure>img{
    width: 15px;
    height: 15px;
    /* border: 1px solid red; */
    cursor: pointer;
}
.pagination-container{
    cursor: pointer;
    font-weight: var(--light-weight);
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.bottom-banner{
    background: url(../../images/main-page/mainpage-banner.jpg) no-repeat 50% 50% / cover;
    height: 150px;
    margin-bottom: 10rem;
}

.hover-box { position: relative; }
.hover-img { position: absolute; top: 0; left: 0; opacity: 0; transition: 0.3s; }
.hover-box:hover .hover-img { opacity: 1; }

/* 페이지네이션 액티브 스타일 */
/* 페이지 번호 기본 스타일 */
.page-num {
    border: none;
    background: none;
    color: #999; /* 기본은 연한 색 */
    cursor: pointer;
    font-size: var(--heading-4);
    transition: 0.3s;
}

/* 현재 클릭된 페이지 번호 스타일 (핵심!) */
.page-num.active {
    color:var(--point-color-2); /* 글자색 검정으로 */
    font-weight: bold; /* 굵게 */
}

.product-list .color-box figure {
    width: auto;
}

.pagination-container button img{
    width: 30px;
    aspect-ratio: 1/1;
}


@media (max-width:1440px){
    .list-wrap #main-banner {
        height: 400px;
    }
    .product-grid {
        gap: 4rem 10%;
        height: auto;
    }
    .select-box img {
        width: 24px;
        height: 24px;
    }
    .select-label {
        width: 112px;
    }
    .product-list figure {
        aspect-ratio: 255/286;
    }
    .color .color-ball span {
        width: 14px;
        height: 14px;
        border-radius: 7.5px;
        flex-shrink: 0;
    }
    .pagination-container button img{
        width: 25px;
    }

}

@media (max-width:768px){
    .product-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .select-box img {
        width: 14px;
        height: 14px;
    }
    .select-label {
        width: 85px;
    }
    .product-list figure {
        aspect-ratio: 166/165;
    }
    .color .color-ball span {
        width: 13px;
        height: 13px;
        border-radius: 7.5px;
        flex-shrink: 0;
    }
    .color-ball {
        width: 53px;
    }
    .pagination-container button img{
        width: 20px;
    }
    .list-wrap #main-banner {
        height: 350px;
    }
    .bottom-banner {
        background: url(../../images/main-page/mainpage-banner-mo.jpg) no-repeat 50% 50% / cover;
        height: 300px;
        margin-bottom: 10rem;
        margin: 0;
    }
    .list-wrap #main-banner {
        height: auto;
        width: 100%;
        aspect-ratio: 402/350;
    }
}

@media (max-width:370px){
    .product-grid {
        gap: 3rem 1rem;
        height: auto;
    }
    .color .color-ball span {
        width: 10px;
        height: 10px;
    }
    .color-ball {
        width: 44px;
    }
    .color-box {
        gap: .3rem;
    }
    .product-description {
        display: flex;
        gap: .5rem;
        flex-direction: column;
    }
    .product-option {
        display: flex;
        flex-direction: column;
        gap: .2rem;
    }
}

@media (max-width:350px){
    
}