:root {
    --orange: #FF8D29;
    --black: #1E1D1C;
    --dark-gray: #484642;
    --gray: #757575;
    --light-gray: #ACACAC;
    --yellow-gray: #F9F6E8;
    --yellow-white: #F8F7F2;
    --yellow: #FFECAF;
} 


#container{
    background-color: var(--yellow-white);
    width: 100%;
    padding-top: 160px;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 700px; /* 배너 높이 조정 */
    z-index: -10;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}
/* 첫 번째 슬라이드 미리 보이기 */
.slider {
    display: flex;
    transition: transform 0.5s ease;
    transform: translateX(0); /* 초기 위치 */
}

.slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide:first-child {
    opacity: 1; /* 첫 번째 배너 표시 */
}

/* 네비게이션 바 */
.nav-item.active .progress-bar {
    animation: progress 5s linear;
}


.nav-item {
    margin: 0 10px;
    cursor: pointer;
    text-align: center;
}

.progress-bar {
    width: 100px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform: translateX(-100%);
}

.nav-item.active .progress-bar::after {
    animation: progress 5s linear;
}

.nav-item span {
    color: white;
    font-size: 12px;
}

/* main */
#category{
    background-color: var(--yellow-white);
    border-radius: 50px 50px 0 0;
    width: 100%;
    height: 500px;
    margin-top: -50px;
    z-index: 10;
    position: relative;
}

#category .con_box{
    padding: 144px 240px;
    display: flex;
    justify-content: space-between; 
}

.l_con, .r_con{
    height: 220px;
    background-color: var(--white);
    border-radius: 40px;
    padding: 50px 30px;
}
.l_con{
    width: 431px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.l_con .tit, .r_con .tit{
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin: auto 0;
}
.con_inner{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.con_inner .con{
    margin-right: 15px;
    height: fit-content;
    cursor: pointer;
}
.con_inner .con:hover{
    transition: transform 0.3s;
    transform: scale(1.05);
}
.l_con .img_box{
    width: 100px;
    height: 100px;
}
.l_con .img_box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.l_con .txt{
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    text-align: center;
    margin-top: 10px;
}
/* r_con */
.r_con{
    width: 962px;
    height: 220px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.r_con .con_inner{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 600px;
    margin: auto 10px;
}
.r_con .con_inner .txt{
    font-size: 22px;
    font-weight: 400;
    width: 100px;
}
.r_con .con_inner .con{
    font-size: 22px;
    color: var(--gray);
    font-weight: 400;
    padding: 10px 20px;
    text-align: center;
}
.r_con .con_inner .con:hover{
    font-size: 24px;
    background-color: var(--yellow);
    color: var(--orange);
    border-radius: 100px;
    transition: transform 0.5s;
    transform: scale(1.05);
}
.r_con .t_box{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
    width: 450px;
}
.r_con .b_box{
    display: flex;
    justify-content: space-between;
    width: 400px;
    margin-left: 15px;
}
/* best */
#best{
    width: 100%;
    height: fit-content;
}

#best .prod_slide{
    padding: 0 240px;
}
#best .prod_slide .con_box{
    display: flex;
    justify-content: space-between;
}
#best .prod_slide .l_box{
    width: 431px;
}
.section_tit{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section_tit h1{
    font-weight: 500;
    font-size: 45px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    letter-spacing: -2px;
}
.section_tit p{
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 24px;
    color: var(--gray);
    letter-spacing: -2px;
}
.section_tit svg{
    margin-left: 20px;
    width: 24px;
    height: 35px;
}
.l_box .goods_box_wrap{
    width: 431px;
    height: 695px;
    margin-top: 45px;
    /* outline: solid 1px blue; */
}
.l_box .goods_box_wrap .goods_box{
    width: 431px;
    height: 620px;
    border-radius: 30px;
    background-color: var(--white);
    padding: 70px 30px;
}
.l_box .goods_box_wrap .goods_box .goods_img{
    width: 300px;
    height: 300px;
}
.l_box .goods_box_wrap .goods_box .goods_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goods_box {
    position: relative;
}

.num {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-image: linear-gradient(to bottom right, #FFF93E, #FF8000);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.num strong {
    color: var(--white);
    font-size: 18px;
}

/* info_box */
.info_box_wrap{
    margin-top: 20px;
}
.info_box .item_brand{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.info_box .item_brand strong{
    font-size: 13px;
    font-weight: 400;
    color: var(--darkgray);
}
.info_box .item_name{
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 40px;
    display: block;
    height: 30px;
    /* outline: red solid 1px; */
}
.info_box .item_name_explain{
    font-size: 14px;
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 40px;
    display: block;
}
/* 가격 */
.pill_price{
    font-size: 14px;
    color: var(--darkgray);
    font-weight: 400;
    display: flex;
}
.item_price .tar_price{
    font-size: 20px;
    color: var(--black);
    font-weight: 700;
}
.item_price .item_number_box{
    color: var(--orange);
    margin-right: 10px; /* 62%와 49,500원 사이의 간격 */
}
.info_box .item_price span{
    font-size: 14px;
    color: var(--gray);
    font-weight: 400;
}

.original-price {
    font-size: 14px;
    color: var(--gray);
    font-weight: 400;
    text-decoration: line-through;
}

.item_price.tar_price {
    margin-right: 5px; /* 49,500원과 130,000원 사이의 간격 */
}

/* r_box */
#best .r_box{
    width: 962px;
    height: 695px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 45px;
}
.r_box .goods_box_wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
}
.goods_box{
    width: 310px;
    height: fit-content;
}

.goods_box .goods_img{
    width: 310px;
    height: 310px;
}
.goods_box .goods_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
/* benefit */
#benefit{
    width: 100%;
    height: fit-content;
}
#benefit .benefit_wrap{
    padding: 0px 240px;
}
.section_btn{
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.section_btn button{
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
    padding: 27px 82px;
    font-size: 24px;
    font-weight: 500;
    color: var(--black);
    width: 397px;
    height: 85px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    
}
.section_btn button svg{
    margin-left: 10px;
}
.benefit_box{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
.benefit_box .con_box{
    display: flex;
    width: 263px;
    height: 413px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 30px;
    background: #FFF;
    margin: 50px 0;
}
.benefit_box .con_box .con_box_img{
    width: 135px;
    height: 135px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.benefit_box .con_box .con_box_img img{
    width: 80%;
    height: 80%;
    object-fit: cover;
}
.benefit_box .con_box .txt_box{
    text-align: center;
    color: var(--gray);
    font-size: 16px;
}
.benefit_box .con_box .txt_box span{
    color: var(--orange);
    font-size: 20px;
    font-weight: 600;
    line-height: 2;
}
/* pick */
#pick{
    background: var(--yellow-white);
    width: 100%;
    height: fit-content;
}
#pick .sec04_wrap{
    padding: 0 240px;
}
#pick .con_box{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    height: fit-content;
    /* outline: solid 1px red; */
}
#pick .t_box{
    padding-top: 48px;
}
#pick .con{
    width: 455px;
    height: 725px;
    /* outline: solid 1px rgb(89, 0, 255); */
}
#pick .con .b_con{
    background-color: #fff;
    border-radius: 45px;
    width: 455px;
    height: 248px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}
#pick .con .b_con .item_img_box{
    display: flex;
    justify-content: center;
    align-items: center;
}
#pick .con .b_con .item_img_box img{
    max-width: 100%;
    max-height: 100%;
}
#pick .con .b_con .item_info_con{
    height: 100%;
    margin-left: 30px;
}
#pick .con .b_con .item_brand{
    width: 100%;
    display: block;
}
#pick .con .b_con .item_brand strong{
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-gray);
    display: block;
    margin-bottom: 5px;
    
}
#pick .con .b_con .item_name{
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    display: block;
    margin-bottom: 10px;
    height: 50px;
    /* outline: solid 1px red; */
}
#pick .con .b_con .item_name_explain{
    font-weight: 400;
    font-size: 15px;
    color: var(--light-gray);
    display: block;
    line-height: 1.2;
    margin-bottom: 10px;
    height: 40px;
}
#pick .con .b_con .pill_price{
    font-size: 15px;
}
#pick .con .b_con .item_price.tar_price{
    font-size: 20px;
    font-weight: 600;
}
#pick .con .b_con .item_price.ip1{
    font-size: 15px;
}
/* sale */
#sale{
    width: 100%;
    height: fit-content;
}
#sale .sale_wrap{
    padding: 0 240px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#sale .sale_wrap .l_box{
    width: fit-content;
    height: 440px;
    position: relative;
}
#sale .sale_tit{
    letter-spacing: -2px;
    margin-bottom: 20px;
}
#sale .sale_tit h1{
    font-size: 40px;
    font-weight: 700;
}
#sale .sale_tit p{
    font-size: 24px;
    font-weight: 300;
}
#sale .sale_btn a{
    font-size: 18px;
    font-weight: 300;
    color: var(--light-gray);
}
#sale .sale_btn a svg{
    margin-left: 10px;
}
#sale .sale_slider_btn{
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
#sale .r_box{
    width: 1140px;
    height: 520px;
}
#sale .r_box .sale_slider_box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-x: scroll;
}

/* sale 섹션 스크롤바 커스텀 */

#sale .r_box .sale_slider_box{
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-x: scroll;
}

/* sale 섹션 스크롤바 커스텀 */
#sale .r_box .sale_slider_box::-webkit-scrollbar{
    height: 5px; /* 스크롤바 높이 */
}

#sale .r_box .sale_slider_box::-webkit-scrollbar-thumb{
    background: var(--orange); /* 스크롤바 색상 */
    border-radius: 10px; /* 스크롤바 모서리 둥글게 */
    cursor: pointer;
}

#sale .r_box .sale_slider_box::-webkit-scrollbar-track{
    background: #DDDDDD; /* 스크롤바 트랙 배경색 */
    cursor: pointer;
}

#sale .r_box .sale_slider_box .sale_slider_con{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
}
#sale .r_box .sale_slider_box .sale_slider_con .con{
    width: 274px;
    height: 500px;
}
#sale .r_box .sale_slider_box .sale_slider_con .con .goods_img{
    width: 274px;
    height: 274px;
}
#sale .r_box .sale_slider_box .sale_slider_con .con .goods_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}
#sale .r_box .item_brand strong{
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-gray);
    display: block;
    margin-bottom: 5px;
}
#sale .r_box .info_box{
    height: 90px;
}
#sale .r_box .item_name{    
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    display: block;
    margin-bottom: 10px;
}
#sale .item_money_box{
    padding: 20px 0;
}
#sale .r_box .item_price{
    font-size: 20px;
    font-weight: 700;
}
#sale .r_box .item_number_box{
    color: var(--orange);
    margin-right: 10px;
    font-size: 20px;
    font-weight: 500;
}
#sale .r_box .item_rate{
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: var(--light-gray);
}

/* 배너 */
#banner{
    width: 100%;
    height: fit-content;
}
#banner .banner_wrap{
    padding: 0px 240px;
}
/* order */
#order{
    width: 100%;
    height: fit-content;
}
#order .order_wrap{
    padding: 0px 240px;
}
#order .order_box{
    width: 100%;
    height: 620px;
    margin-top: 20px;
}
#order .order_slider_box{
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-x: scroll;
}
#order .order_slider_box .order_slider_con{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
}
#order .order_slider_box .order_slider_con .con{
    width: 340px;
    height: 600px;
}
#order .order_slider_box .order_slider_con .con .goods_img{
    width: 340px;
    height: 340px;
}
#order .order_slider_box .order_slider_con .con .goods_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

#order .order_slider_box::-webkit-scrollbar{
    height: 5px; /* 스크롤바 높이 */
}

#order .order_slider_box::-webkit-scrollbar-thumb{
    background: var(--orange); /* 스크롤바 색상 */
    border-radius: 10px; /* 스크롤바 모서리 둥글게 */
    cursor: pointer;
}

#order .order_slider_box::-webkit-scrollbar-track{
    background: #DDDDDD; /* 스크롤바 트랙 배경색 */
    cursor: pointer;
}
/* category  */
#category{
    width: 100%;
    height: fit-content;
}
#category .category_wrap{
    padding: 0px 240px;
}
#category .sec_category_box{
    width: fit-content;
    margin: 0 auto;
    padding: 40px 0;
}
#category .sec_category_box ul{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 16px;
}
#category .sec_category_box ul li{
    width: fit-content;
    height: fit-content;
    font-size: 18px;
    font-weight: 400;
    background-color: var(--yellow);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
}
#category .sec_category_box ul li.active{
    background-color: var(--orange);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
}
.slider_box{
    width: 100%;
    height: 100%;
    padding-top: 20px;
} 
.slider_con{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
}
.slider_con .con{
    width: 340px;
    height: 600px;
}
.slider_con .con .goods_img{
    width: 340px;
    height: 340px;
}
.slider_con .con .goods_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}
/* item */
.item_wrap{
    width: 100%;
    height: fit-content;
    padding: 0px 240px;
}

/* review */
#review{
    background: var(--yellow-white);
    width: 100%;
    height: fit-content;
}
.review_wrap{
    padding: 0px 240px;
}
#review #content{
    padding-top: 30px;
}
#review #content .reviews_index{
    /* outline: solid 1px red; */
    display: flex !important;
    gap: 20px !important;
    padding-bottom: 20px;
    overflow-x: scroll;
    width: 100%;
    user-select: none;
}

/* 스크롤바 스타일링 */
#review #content .reviews_index::-webkit-scrollbar {
    height: 5px; /* 스크롤바의 높이 */

}

#review #content .reviews_index::-webkit-scrollbar-thumb {
    background: var(--orange); /* 스크롤바의 색상 */
    border-radius: 10px; /* 스크롤바의 모서리 둥글기 */
    cursor: pointer;
}

#review #content .reviews_index::-webkit-scrollbar-track {
    background: #DDDDDD; /* 스크롤바 배경 색상 */
    cursor: pointer;
}

#review #content .reviews_index .reviews_index_gellery{
    /* outline: solid 1px rgb(0, 255, 68); */
    flex-shrink: 0;
    width: calc(25% - 15px);
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 40px;
    cursor: pointer;
    float: left;
    border: 1px solid #e5e5e5;
    padding: 0;
    position: relative;
}
#review #content .reviews_index .reviews_index_gellery .photo_reviews_thumbnail{
    /* outline: solid 1px red; */
    
}
#review #content .reviews_index .reviews_index_gellery .photo_reviews_thumbnail .reviews_tit{
    font-size: 20px;
    font-weight: 700;
    padding: 20px;
    white-space: nowrap; /* 줄 바꿈 방지 */
    overflow: hidden; /* 넘치는 내용 숨기기 */
    text-overflow: ellipsis; /* 잘리는 부분에 ... 표시 */
}
#review #content .reviews_index .reviews_index_gellery .reviews_thumbnail{
    border-radius: 40px;
    overflow: hidden;
    border-bottom: 1px solid #E1E1E1;
}
#review #content .reviews_index .reviews_index_gellery .reviews_thumbnail img{
    width: 100%;
    height: auto;
}

#review #content .reviews_index .reviews_index_gellery .reviews_info{
    padding: 20px 0;
    margin: 0 20px;
    display: flex;
    align-items: center;
    height: auto !important;
    gap: 14px;
    border-top: 1px solid #E1E1E1;
    height: fit-content;
    width: fit-content;
}
#review #content .reviews_index .reviews_index_gellery .reviews_info .product_thumbnail{
    width: 100px;
    height: 80px;
    /* outline: solid 1px red; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
#review #content .reviews_index .reviews_index_gellery .reviews_info .product_thumbnail img{
    width: 130%;
    height: auto;
}
#review #content .reviews_index .reviews_index_gellery:nth-of-type(4) .reviews_info .product_thumbnail img{
    width: 100%;
    height: auto;
}
#review #content .reviews_index .reviews_index_gellery .reviews_info .product_info{
    /* outline: solid 1px red; */
} 
#review #content .reviews_index .reviews_index_gellery .reviews_info .product_info .product_info_tit{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
   /*  outline: solid 1px red; */
} 
#review #content .reviews_index .reviews_index_gellery .reviews_info .product_info .product_info_feedbacks{
    font-size: 14px;
    color: var(--gray);
} 
#review #content .reviews_index .reviews_index_gellery .reviews_info .product_info .product_info_feedbacks strong{
    font-size: 14px;
    color: var(--dark-gray);
} 
#review .section_btn{
    margin-top: 80px;
}

#best,
#benefit,
#pick,
#banner,
.category,
#sale,
#order,
#review,
.item {
    padding-bottom: 200px;
}

#review .section_btn{
    margin-top: 80px;
}
