/***배너***/
.banner, .bn_slider {
    width: 100%;
}
.bn_slider { position: relative; }
.bn_con {
    width: 100%;
    display: flex;
    justify-content: center;
}
.bn_con { 
    transition: background-color .25s ease; 
}
.bn_con .inner_wrap {
    position: relative;
}
.bn_con_a img {
    display: block;
}
.bn_controls_wrap {
    position: relative;
    width: 100%;
    max-width: 1224px;
    margin: 0 auto;
}
.bn_controls_flex {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}
.bn_controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);
}
.bn_controls .bn_prev,
.bn_controls .bn_next {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
}
.bn_controls .bn_prev::after,
.bn_controls .bn_next::after {
    font-size: 14px;
    color: #fff;
}
.bn_controls .bn_pagination {
    position: static;
    width: auto;
    color: #fff;
    margin: 0;
    font-size: 12px;
    line-height: 1;
}

.bn_controls_flex .bn_toggle {
    border: 0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);
    cursor: pointer;
}
.bn_controls_flex .bn_toggle i {
    font-size: 14px;
    line-height: 1;
}

/***특징***/
.features_wrap {
    padding: 30px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}
.features_wrap li {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.features_wrap li .txtbox {
    flex: 1;
    word-break: keep-all;
}
.features_wrap li .txtbox p {
    font-weight: 500;
    padding-bottom: 5px;
    font-size: 16px;
}
.features_wrap li .txtbox > div {}

/***인기상품, 최신상품, 할인상품***/
.collection_grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.collection_item {}
.collection_item_con a {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}
.collection_item_con a .product-thumbnail {
    flex-basis: 40%;
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.collection_item_con a .product-thumbnail img{
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1);
  transition: transform .25s ease;
}

.collection_item_con a .product-info-wrap {
    flex: 1;
    min-width: 0;
}
.collection_item_con .product-info-wrap .product-info-tit {}
.collection_item_con .product-info-wrap .product-brand {display: none;}
.collection_item_con .product-info-wrap .product-name {
    font-weight: 500;
    color: #8D9198;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
}
.collection_item_con .product-info-wrap .price {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}
.collection_item .title-sub .more {
    transition: color .25s ease-in;
}
.collection_item .title-sub .more:hover {
    color: var(--sub-point-color);
}
.collection_item_con a:hover .product-thumbnail img{
  transform: scale(1.1);
}
.collection_item_con a:hover .product-info-wrap .product-name {
    text-decoration: underline;
}

/***광고?, 메인 하단 배너***/
.img-content_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.img-content_wrap li {
    border-radius: 20px;
    overflow: hidden;
    flex: 1 1 calc(50% - 12px); /*모바일에서 flex-basis: 100%;*/
}
.img-content_wrap li a {
    display: block;
}

/***메인 와이드 슬라이드***/
.wide-slider-section {
    width: 100%;
    padding: 20px 0;
    background-color: var(--sub-color);
    overflow: hidden; 
}
.wide-con_wrap {
    display: flex;
    /* align-items: flex-start; */
    align-items: stretch;
    gap: 24px;
    padding-left: calc((100% - 1224px) / 2);
    /* gap: 3%; */
}

.wide-con_left {
    /* flex: 0 0 400px; */
    z-index: 10;
    flex: 0 0 32.6%; /* 1224px 기준 약 400px의 비율 */
    max-width: 400px;
}

.wide-sd_content_wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.wide-sd_wrap {
    width: 100vw; 
    overflow: visible !important; 
}

.wide-slider-section .wide_con {
    /* width: 600px; */
    width: 40vw;
    min-width: 320px;
}
.wide-slider-section .wide_con a {display: block;}

.wide-sd_content_wrap .wide_controls_container {
    max-width: 800px; 
    position: relative;
    margin-top: 20px;
    height: 20px;
}

.wide_controls_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}
.wide_controls_wrap .wide_pagination {
    top: 0;
    height: 100%;
}
.wide_controls_wrap .wide_pagination .swiper-pagination-bullet-active {
    background: var(--main-color);
}

.wide_prev, .wide_next {
    position: static;
    margin: 0 15px;
}

/***카테고리 베스트***/
.catbest_tabs {
  /* overflow: hidden; */
  position: relative;
}

.catbest_tabs .tabs_inner {
    padding: 10px 0;
    gap: 10px;
}
.catbest_tabs .tabs_inner::-webkit-scrollbar { display: none; }

.catbest_tabs .catbest_tab_btn {
    padding: 8px 15px;
    border-color: #e1e1e1;
    border-radius: 20px;
    background-color: #f1f1f1;
    white-space: nowrap;
    flex-shrink: 0;
    border: 0;
    transition: all 0.3s ease;
}
.catbest_tabs .catbest_tab_btn.on {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}
.catbest_tabs .catbest_tab_btn:hover {
    background-color: var(--border-color);
}
/* .btn_nav_bg {
    width: 100px;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    position: absolute;
    top: 0;
    z-index: 20;
}
.btn_nav_bg.prev {
    left: 0;
    justify-content: flex-start;
    background: linear-gradient(to right, #fff 50%, rgba(255, 255, 255, 0));
}
.btn_nav_bg.next {
    right: 0;
    justify-content: flex-end;
    background: linear-gradient(to left, #fff 50%, rgba(255, 255, 255, 0));
}
.btn_nav {
    width: 48px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
} */
