/* BASIC css start */
.full-wrapper { max-width: none; --bs-gutter-x: 200px; }
.full-wrapper .no-gutters { --bs-gutter-x: 200px; }
.main-banner-wrapper { padding-left: 0; padding-right: 0; }
.main-banner-wrapper .cowave-swiper { height: 50vh; }
.main-banner-wrapper .cowave-swiper .cowave-swiper-slide { display: flex; justify-content: center; align-items: center; }
.main-banner-wrapper .cowave-swiper .cowave-swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.main-banner-wrapper .cowave-swiper .cowave-swiper-scrollbar {
    --swiper-scrollbar-bottom: 40px;
    --swiper-scrollbar-sides-offset: 30%;
    --swiper-scrollbar-bg-color: rgba(0, 0, 0, 0.20);
    --swiper-scrollbar-border-radius: 99px;
    bottom: var(--swiper-scrollbar-bottom, 2px);
    height: var(--swiper-scrollbar-size, 2px);
}
.main-banner-wrapper .cowave-swiper .cowave-swiper-scrollbar-drag {
    --swiper-scrollbar-drag-bg-color: #000;
}
.main-banner-wrapper .cowave-swiper .cowave-swiper-pagination-custom {
    position: absolute; left: auto; right: -30px; bottom: -8px; width: auto; text-align: right;
    --swiper-pagination-fraction-color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: .75rem;
    font-weight: 500;
}
.main-banner-wrapper .cowave-swiper .cowave-swiper-button-prev,
.main-banner-wrapper .cowave-swiper .cowave-swiper-button-next {
    width: 60px;
    height: 60px;
}
.main-banner-wrapper .cowave-swiper .cowave-swiper-button-prev {
    left: calc(0.5 * var(--bs-gutter-x))
}
.main-banner-wrapper .cowave-swiper .cowave-swiper-button-next {
    right: calc(0.5 * var(--bs-gutter-x))
}
.main-banner-wrapper .cowave-swiper .cowave-swiper-button-prev:after {
    content: '';
    background: url(//skin.makeshop.co.kr/skin/rw_shop/images/icons/ico_cheveron_left_60.svg) no-repeat center center;
    background-size: contain;
    width: 100%; height: 100%;
}
.main-banner-wrapper .cowave-swiper .cowave-swiper-button-next:after {
    content: '';
    background: url(//skin.makeshop.co.kr/skin/rw_shop/images/icons/ico_cheveron_right_60.svg) no-repeat center center;
    background-size: contain;
    width: 100%; height: 100%;
}
.sub-banner-wrapper { display: flex; flex-direction: row; gap: 20px; align-items: center; justify-content: center; padding: 40px 0 60px 0; }
.sub-banner--content { display: flex; flex: 1 1 50%; max-width: 50%; }
.sub-banner--content img { display: block; width: 100%; height: auto; }
.products-wrapper { padding-top: 60px; }
.products-wrapper .prds--image { margin-bottom: 16px; }
.products-wrapper .prds--price-wrap { justify-content: space-between; }
.products--title { display: flex; justify-content: center; align-items: center; color: var(--cw-heading-color); text-align: center; font-size: 32px; font-weight: 700; line-height: 40px; }
.products-wrapper .goods-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px 20px; padding: 40px 0 60px 0; }
.products-wrapper .btns { display: flex; align-items: center; flex-direction: column; padding-bottom: 60px; }
.products-wrapper .btns .more-btn {
    --bs-btn-line-height: 40px;
    --bs-btn-font-size: 14px;
    --bs-btn-font-weight: 500;
    display: flex; width: 300px; justify-content: center; align-items: center; gap: 8px;
}
.in-banner-wrapper { display: flex; padding: 40px 0 60px 0; justify-content: flex-end; align-items: stretch; gap: 20px; align-self: stretch; }
.in-banner-wrapper .side-banner { flex-shrink: 0; position: relative; display: flex; width: 31.25%; justify-content: center; align-items: center; }
.in-banner-wrapper .side-banner--img { width: 100%; height: 100%; object-fit: cover; }
.in-banner-wrapper .side-banner--text { z-index: 1; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--cw-color-white); text-align: center; font-size: 2rem; font-weight: 700; line-height: 40px; letter-spacing: 11px; text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); }
.in-banner-wrapper .goods-list { flex: 1; padding: 0; gap: 40px 20px; }
.md-pick .goods-list { grid-template-columns: repeat(3, 1fr); }

.goods-list--item .item-image .ico-wish { display: flex; align-items: center; flex-direction: column; }
.goods-list--item .item-image .my-wish-list { display: inline-block; width: 32px; height: 32px; padding-top: 27px; background: url('//skin.makeshop.co.kr/skin/rw_shop/images/icons/ico_wish_off.svg'); }
.goods-list--item .item-image .my-wish-list.wish-on { background: url('//skin.makeshop.co.kr/skin/rw_shop/images/icons/ico_wish_on.svg'); }
.goods-list--item .item-image .my-wish-count { color: var(--cw-color-60); font-size: .75rem; }
.goods-list--item .goods--engname { display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; font-size: .813rem; line-height: 18px; color: var(--cw-color-80); margin-top: 4px; }
.goods--icons { display: flex; align-items: center; gap: 4px; margin-top: 12px; }
.goods--icons span { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; }

/* 옵션 미리보기 */
.mk_opt_top_text { color: var(--cw-heading-color); font-weight: 700; font-size: .75rem; white-space: nowrap; }
.mk_prd_option_list { width: 100px !important; padding: 10px !important; font-family: var(--bs-body-font-family) !important; color: var(--cw-color-80); font-size: .688rem !important; font-weight: 500; border: 1px solid var(--cw-color-30) !important; border-radius: 3px; }
.mk_prd_option_list .option-name { padding: 10px 0 6px !important; font-size: .688rem !important; color: var(--cw-heading-color) !important; background: none !important; border: 0 !important; font-weight: 700; }
.mk_opt_unit { display: flex !important; align-items: center; gap: 4px; white-space: nowrap; }
.mk_opt_top_close a,
.mk_bt_opt_close a { color: var(--cw-color-80); }

/* 태블릿 */
@media (min-width: 768px) and (max-width: 991.98px) {
    .header-container--md { display: none !important; }
    .header-container { display: flex !important; }
    .full-wrapper { --bs-gutter-x: 24px; padding-bottom: 80px; }
    .full-wrapper .no-gutters { --bs-gutter-x: 24px; }
    .main-banner-wrapper .cowave-swiper .cowave-swiper-button-prev,
    .main-banner-wrapper .cowave-swiper .cowave-swiper-button-next { display: none; }
    .main-banner-wrapper .cowave-swiper .cowave-swiper-scrollbar { --swiper-scrollbar-bottom: 20px; }
    .sub-banner-wrapper { padding: 24px 0 0 0; gap: 4px; }
    .sub-banner--content { justify-content: space-between; }
    .products-wrapper { padding-top: 50px; }
    .products--title { font-size: 1.25rem; line-height: 28px; }
    .products-wrapper .goods-list { padding: 16px 0 40px 0; gap: 40px 16px; }
    .products-wrapper .btns { padding-bottom: 0; }
    .in-banner-wrapper { flex-direction: column; gap: 16px; padding: 16px 0 0 0; }
    .in-banner-wrapper .side-banner { width: 100%; height: 50vh; }
    .in-banner-wrapper .goods-list { padding: 0 0 30px 0; display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; }
    .in-banner-wrapper .goods-list--item { flex: 0 0 calc(25% - 12px); min-width: calc(25% - 12px); }
    .products-wrapper .goods-list::-webkit-scrollbar { height: 2px; }
    .products-wrapper .goods-list::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.10); }
    .products-wrapper .goods-list::-webkit-scrollbar-thumb { background: #000; }
}

/* 모바일 */
@media (max-width: 767.98px) {
    .header-container--md { display: none !important; }
    .header-container { display: flex !important; }
    .full-wrapper { --bs-gutter-x: 16px; padding-bottom: 60px; }
    .full-wrapper .no-gutters { --bs-gutter-x: 16px; }
    .main-banner-wrapper .cowave-swiper .cowave-swiper-button-prev,
    .main-banner-wrapper .cowave-swiper .cowave-swiper-button-next { display: none; }
    .main-banner-wrapper .cowave-swiper .cowave-swiper-scrollbar { --swiper-scrollbar-bottom: 20px; }
    .sub-banner-wrapper { flex-direction: column; padding: 16px 0 0 0; gap: 4px; }
    .sub-banner--content { justify-content: space-between; max-width: 100%; }
    .products-wrapper { padding-top: 50px; }
    .products--title { font-size: 1.25rem; line-height: 28px; }
    .products-wrapper .goods-list { padding: 20px 0 40px 0; gap: 20px 8px; grid-template-columns: repeat(2, 1fr); }
    .products-wrapper .btns { padding-bottom: 0; }
    .products-wrapper .btns .more-btn { width: 100%; max-width: none; }
    .in-banner-wrapper { flex-direction: column; gap: 20px; padding: 20px 0 0 0; }
    .in-banner-wrapper .side-banner { width: 100%; height: 50vh; }
    .in-banner-wrapper .goods-list { padding: 0 0 40px 0; display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; }
    .in-banner-wrapper .goods-list--item { flex: 0 0 calc(50% - 4px); min-width: calc(50% - 4px); }
    .products-wrapper .goods-list::-webkit-scrollbar { height: 2px; }
    .products-wrapper .goods-list::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.10); }
    .products-wrapper .goods-list::-webkit-scrollbar-thumb { background: #000; }
}
/* 전체폭 부모 배경 */
.sub-banner-wrapper {
    width: 100vw !important;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background-image: url('/design/salsal782/back2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* 배경 밝기 조절 오버레이 */
.sub-banner-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45); /* 연하게 */
    pointer-events: none;
    z-index: 0;
}
/* 슬림한 상단 BEST/WEEKLY 배너 */
.bestitem-banner,
.weekly-banner {
    height: 80px !important;
    padding: 10px 20px !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1; /* 배경 위에 떠 있도록 */
}
.bestitem-text h2,
.weekly-text h2 {
    font-size: 24px !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-weight: 700;
}
.bestitem-banner {
    background: rgba(0, 71, 171, 0.18) !important; /* 코발트 18% */
}

.weekly-banner {
    background: rgba(255, 255, 255, 0.32) !important; /* 화이트 32% */
}
.bestitem-image,
.weekly-image {
    width: 45px !important;
    height: 45px !important;
    background-size: contain !important;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    .banner-row {
        flex-direction: row !important; /* 모바일도 가로 */
        gap: 10px !important;
    }
    .bestitem-banner,
    .weekly-banner {
        height: 80px !important;
    }
}

@media (max-width: 768px) {
    .banner-row {
        flex-direction: row !important;  /* 모바일도 가로 정렬 유지 */
        gap: 10px !important;
    }

    .bestitem-banner,
    .weekly-banner {
        flex: 1 1 50% !important;
        height: 80px !important;   /* 슬림 유지 */
        padding: 10px 20px !important;
    }
}

/* BEST/WEEKLY 슬림 고정 높이 (길어지는 문제 해결) */
.bestitem-banner,
.weekly-banner {
    height: 70px !important;       /* 여기를 더 줄이면 60px도 가능 */
    padding: 10px 16px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    position: relative;
    z-index: 2; /* 배경에 눌리지 않도록 */
}

/* 텍스트도 슬림하게 맞춤 */
.bestitem-text h2,
.weekly-text h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 !important;
}


/* 박스 배경(반투명) */
.bestitem-banner {
    background: rgba(0, 71, 171, 0.23) !important;
}
.weekly-banner {
    background: rgba(255, 255, 255, 0.33) !important;
}
.bestitem-banner,
.weekly-banner {
    height: 80px !important;
    padding: 12px 20px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}
.bestitem-text h2,
.weekly-text h2 {
    font-size: 22px !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.weekly-text h2 .more {
    font-size: 14px !important;
    opacity: 0.85;
}
.sub-banner-wrapper {
    width: 100vw !important;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background-image: url('/design/salsal782/back2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sub-banner-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18); /* 연하게 */
    z-index: 0;
}

.weekly-text h2 {
    font-size: 22px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1 !important;
}
.weekly-text h2 .more {
    font-size: 14px;
    opacity: .85;
}
.bestitem-text h2 {
    font-size: 22px !important;
    line-height: 1 !important;
}
.bestitem-banner,
.weekly-banner {
    height: 80px !important;
    padding: 12px 18px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
}
.bestitem-banner {
    background: rgba(0, 71, 171, 0.23);
}
.weekly-banner {
    background: rgba(255, 255, 255, 0.33);
}
.sub-banner-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background-image: url('/design/salsal782/back2.jpg');
    background-size: cover;
    background-position: center;
}
.sub-banner-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.18);
    z-index: 0;
}
.banner-row {
    padding: 8px 16px !important;
    gap: 10px !important;
}
.sub-banner-wrapper {
    height: 120px !important;
    overflow: hidden !important;
}

.sub-banner--content {
    padding: 0 !important;
    margin: 0 !important;
}

.banner-row {
    padding: 0 !important;
    margin: 0 !important;
    gap: 5px !important;
}

.bestitem-banner,
.weekly-banner {
    margin: 0 !important;
}
.weekly-banner {
    margin-left: auto !important;
}
.bestitem-banner,
.weekly-banner {
    height: 60px !important;     /* 원하면 70px, 80px도 가능 */
    padding: 10px 16px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
}
.weekly-text h2 {
    font-size: 20px !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}
.weekly-text h2 .more {
    font-size: 13px !important;
    opacity: .7;
}
.sub-banner-wrapper {
    height: 120px !important;   /* 더 얇게 하고 싶으면 100px/90px */
    overflow: hidden !important;
}
.sub-banner--content {
    padding: 0 !important;
    margin: 0 !important;
}

.banner-row {
    padding: 0 12px !important;
    margin: 0 !important;
    display: flex;
    align-items: center !important;
    gap: 10px !important;
}
.sub-banner-wrapper {
    height: 120px !important;      /* 원하는 슬림 높이 */
    overflow: hidden !important;   /* 배경 + ::before 잘라냄 */
    position: relative;
}

.sub-banner-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 120px !important;      /* 배경 오버레이도 강제 슬림화 */
    background: rgba(255,255,255,0.18);
    z-index: 0;
}
.sub-banner--content {
    padding: 0 !important;
    margin: 0 !important;
}

.banner-row {
    padding: 0 16px !important;
    height: 100% !important;
    display: flex;
    align-items: center !important;
}
.weekly-banner {
    margin-left: auto !important;
}

.main-search-wrap {
    width: 100%;
    padding: 20px 16px;
    background: #ffffff;
    box-sizing: border-box;
}

.main-search-form {
    display: flex;
    align-items: center;
    background: #f5f5f7;
    border-radius: 8px;
    padding: 10px 14px;
}

.main-search-input {
    flex: 1;
    font-size: 15px;
    border: none;
    background: none;
    outline: none;
}

.main-search-btn {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.main-search-btn img {
    width: 20px;
    opacity: 0.7;
}

@media (max-width: 480px) {
    .main-search-wrap {
        padding: 16px 14px;
    }
    .main-search-form {
        padding: 9px 12px;
    }
    .main-search-input {
        font-size: 14px;
    }
}
.main-search-tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.main-search-tags span {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    background: var(--tag-color);
    color: #222;
    cursor: pointer;
    transition: .2s ease;
}

.main-search-tags span:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.main-search-tags .tag-message {
    width: 100%;
    margin-top: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}
/* WEEKLY BEST — VIDEO BANNER */
.wk-best-video-swiper{
    width:100%;
    margin:0 auto 45px;
    border-radius:14px;
    overflow:hidden;
    position:relative;
}

.wk-best-video-swiper .swiper-slide{
    width:100%;
    height: 380px; /* 필요 시 수정 가능 */
}

.wk-best-video{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* 네비게이션 버튼 */
.wk-best-video-prev,
.wk-best-video-next{
    position:absolute;
    top:50%;
    width:40px;
    height:40px;
    margin-top:-20px;
    z-index:10;
    cursor:pointer;
}

.wk-best-video-prev{ left:10px; }
.wk-best-video-next{ right:10px; }

.wk-best-video-prev::after,
.wk-best-video-next::after{
    content:'';
    display:block;
    width:100%;
    height:100%;
    background:url('//skin.makeshop.co.kr/skin/rw_shop/images/icons/ico_cheveron_white.svg') center/70% no-repeat;
    transform:rotate(180deg);
    opacity:0.8;
}

.wk-best-video-next::after{
    transform:rotate(0deg);
}

.wk-best-video-pagination{
    position:absolute;
    left:0;
    bottom:14px;
    width:100%;
    text-align:center;
    z-index:10;
}

.wk-best-video-pagination .swiper-pagination-bullet{
    background:#fff;
    opacity:0.4;
    width:6px;
    height:6px;
    margin:0 4px !important;
    transition:0.2s;
}

.wk-best-video-pagination .swiper-pagination-bullet-active{
    opacity:1;
    width:18px;
    border-radius:4px;
}

/* BASIC css end */

