/* ========================================
   Main
======================================== */

#main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 26px;
}





/* ========================================
   핫키워드
======================================== */


.keyword-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}


.keyword-list::-webkit-scrollbar {
    display: none;
}


.keyword-list a {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 18px;
    border: 1px solid #ddd;
    border-radius: 100px;
    white-space: nowrap;
    font-weight: 600;
}


.keyword-list .is-active {
    color: #fff;
    border-color: #111;
    background: #111;
}



/* ========================================
   럭키찬스
======================================== */


.lucky-section .section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.lucky-slider {
    border-radius: 4px;
    border: 1px solid #ddd;
}


.lucky-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding: 0 20px;

}


.lucky-banner span {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;

}

.lucky-banner p {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: var(--ls-tight);
}

.lucky-banner--blue span {
    background: var(--color-primary);
}


.lucky-banner--sky span {
    background: #36b8ed;
}


.lucky-banner--purple span {
    background: #b6b4f0;
}




/* ========================================
   베스트 기획전 
======================================== */

.planning-section {
    margin-top: -10px;
}



.planning-section .inner {
    position: relative;
}



/* 기획전 배너 */

.planning-slider {
    border-radius: 8px;
    border: 1px solid #ddd;
}

.planning-slider img {
    display: block;
    width: 100%;
}

.planning-slider .cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding-top: 30px;
    padding-bottom: 24px;
    letter-spacing: var(--ls-tight);
    font-weight: 700;

}

.planning-slider .cont p {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}


.planning-slider .cont span {
    text-decoration: underline;
    text-underline-offset: 1px;
    font-weight: 800;
}



/* 페이지 내비 */

.planning-slider__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: absolute;
    bottom: 116px;
    right: 34px;
}


.planning-slider__count {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #999;
    font-size: 12px;
    line-height: 1;
}

.planning-slider__current {
    color: #111;
    font-weight: 700;
}

.planning-slider__total {
    color: #999;
}




/* 기획전 전체보기 리스트 */


.planning-nav-wrap {
    position: relative;
    margin-top: 10px;
    background: #f5f5f5;
}

.planning-nav {
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    background: #f5f5f5;
    padding: 13px 0;
    position: relative;

}



.planning-nav::-webkit-scrollbar {
    display: none;
}


.planning-nav ul {
    display: flex;
    align-items: center;
}


.planning-nav ul a {
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: var(--ls-tight);
}


.planning-nav .planning-all {
    background: #fff;
    border: 1px solid #999;
    border-radius: 20px;
    padding: 0 12px;

}


/* 오른쪽 페이드 효과 */
.planning-nav__fade {
    position: absolute;
    top: 50%;
    right: 0;
    width: 60px;
    height: 60px;
    transform: translateY(-50%);
    background:  linear-gradient(to right, rgba(245, 245, 245, 0) 0, rgba(245, 245, 245, .7) 20%, #f5f5f5 50%);
   
    pointer-events: none;
    z-index: 1;
}

/* 고정 화살표 */
.planning-nav__arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background: url("/img/m/common/ic_add-arrow.png")
        no-repeat center / contain;
    pointer-events: none;
    z-index: 2;
}



/* ========================================
   배너
======================================== */



/* 공통 */

.banner-wrap .banner_cont {
    border-radius: 8px;
    color: #fff;
    padding-left: 40px;
    background-repeat: no-repeat;
    background-position-x: 80%;
    background-size: contain;
}

.banner-wrap .banner_cont a {
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

}

.banner-wrap p {
    font-size: 16px;
    font-weight: 700;
}

.banner-wrap span {
    font-size: 12px;

}


/* 반다이 건담 */

.banner_bandai {
    margin-top: -10px;

}

.banner_bandai .banner_cont {
    background-image: url(/img/m/main/banner_bandai.png);
    background-color: #d9360c;

}

/* K-POP 굿즈 */

.banner_kpop .banner_cont {
    background-image: url(/img/m/main/banner_kpop.png);
    background-color: #f3a4c3;
}








/* ========================================
   메루카리
======================================== */

.mercari-section {
    background: var(--color-primary);
    padding: 40px 0;

}


.mercari-section .sect-title,
.mercari-section .go-btn {
    color: #fff;
}


/* 탭 */

.mercari-pick__tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 20px;
}

.mercari-pick__tab {
    position: relative;
    padding: 0 0 6px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
}

.mercari-pick__tab.is-active {
    color: #fff;
}

.mercari-pick__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #fff;
}


/* 상품 */

.mercari-pick__products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mercari-pick__products[hidden] {
    display: none;
}


.mercari-pick__products a {
    overflow: hidden;
    border-radius: 8px;
    color: #111;
}


.mercari-pick__products .cont {
    height: 74px;
    padding: 16px 10px;
    box-sizing: border-box;
    background: #fff;
}

.mercari-pick__products .cont p {
    font-size: 14px;
    font-weight: 800;

}

.mercari-pick__products .cont span {
    font-size: 12px;
    letter-spacing: var(--ls-tight);
    font-weight: 700;


}




/* ========================================
   라쿠텐, 아마존재팬 공통
======================================== */

.product-list-col {
    display: flex;
    flex-direction: column;
    gap: 10px;

}


.product-list-col a {
    display: grid;
    grid-template-columns: 115px 1fr;
    gap: 20px;
    height: 115px;

}

.product-list-col img {
    width: auto;
}


.product-list-col .cont {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border-bottom: 1px solid #ddd;

}

.product-list-col .sub {
    color: #767676;
    font-size: 13px !important;
    letter-spacing: var(--ls-tight);
    font-weight: 800;
}