/* ========================================
   전체 Content
======================================== */

.main {
    margin-top: 44px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sect-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 18px;
}





/* ========================================
   섹션 공통 박스
======================================== */

.main section .inner {
    border: 1px solid #ededed;
    padding: 36px 30px 40px;
    border-radius: 16px;

}

.main section .txt {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.main section .txt p {
    color: #858585;
    font-size: var(--fs-13);
    font-weight: 600;

}




/* ========================================
   top-cont 레이아웃
======================================== */

.top-cont .inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 476px;
    gap: 30px;
    border: 1px solid #ededed;
    padding: 40px 30px 40px !important;
    border-radius: 16px;
    box-shadow: 0 8px 12px -4px rgba(0, 0, 0, 0.05);
}

.top-cont_left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

.top-cont_right {
    padding-left: 30px;
    border-left: 1px solid #eeeeee;
}





/* ========================================
   검색창
======================================== */

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 70px;
    border: 1px solid #cfd6df;
    border-radius: 6px;
    background: #fff;
}

.search-select {
    position: relative;
    flex: 0 0 145px;
    height: 100%;
}

.search-select__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    border: 0;
    background: transparent;
    font-size: var(--fs-16);
    font-weight: 700;
    color: #333;
    cursor: pointer;
}

.search-select__button i {
    position: relative;
    width: 0;
    height: 0;
    border-top: 5px solid #222;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.search-box__divider {
    width: 1px;
    height: 12px;
    background: #e4e4e4;
}

.search-box input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 20px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: var(--fs-16);
    font-weight: 700;
    color: #222;
}

.search-box input::placeholder {
    color: #a9a9a9;
}


/* 검색 버튼 */

.search-box__button {
    position: relative;
    width: 68px;
    height: 68px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}





/* ========================================
   검색 Select
======================================== */

.search-select__list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 50;
    display: none;
    width: 190px;
    padding: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.search-select.is-open .search-select__list {
    display: block;
}

.search-select__list button {
    display: block;
    width: 100%;
    height: 38px;
    padding: 0 16px;
    border: 0;
    background: #fff;
    text-align: left;
    font-size: var(--fs-14);
    color: #333;
    cursor: pointer;
}

.search-select__list button:hover {
    background: #f5f5f5;
}


/* ========================================
   top-cont 타이틀
======================================== */

.top-cont .sect-title {
    align-items: center;

}

.top-cont_right .sect-title {
    margin-bottom: 14px;

}

.top-cont_right .sect-title h2 {
    position: relative;

}

.top-cont_right .sect-title h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    z-index: -1;
    height: 8px;
    width: 204px;
    background: #f2ff00;
}



/* ========================================
   핫 키워드
======================================== */


.keyword-area h4 span {
    color: var(--color-primary);
    font-weight: 800;
}

.keyword-list {
    display: flex;
    align-items: center;
    gap: 12px;

}

.keyword-list li {
    height: 36px;
    border-radius: 20px;
    background: #f5f5f5;
    font-weight: 800;
}

.keyword-list li a {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;


}

.keyword-list li:hover {
    background: #29292d;
    color: #fff;
}




/* ========================================
   럭키찬스
======================================== */


.slider-controls {
    display: flex;
    align-items: center;
    gap: 3px;

}

.slider-controls button {
    width: 8px;
    height: 8px;
    transform: rotate(45deg);

}

.lucky-prev {
    border-bottom: 2px solid #999;
    border-left: 2px solid #999;


}

.lucky-next {
    border-top: 2px solid #999;
    border-right: 2px solid #999;
    transform: translate(-60%, -50%) rotate(45deg);

}



.lucky-slider {
    width: 100%;
    overflow: hidden;
}

.lucky-track {
    display: flex;
    gap: 10px;
    transition: transform 0.35s ease;
}

.lucky-banner {
    flex: 0 0 calc(50% - 5px);
    display: flex;
    align-items: center;
    min-width: 0;
    height: 68px;
    padding: 0 20px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;

}

.lucky-banner__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    height: 25px;
    padding: 0 7px;
    margin-right: 9px;

    border-radius: 4px;

    color: #fff;
    font-size: var(--fs-12);
    font-weight: 700;
}

.lucky-banner--blue .lucky-banner__label {
    background: #405cf5;
}

.lucky-banner--sky .lucky-banner__label {
    background: #36b8ed;
}

.lucky-banner--purple .lucky-banner__label {
    background: #b6b4f0;
}

.lucky-banner p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
    letter-spacing: -0.6px;
}


/* ========================================
   베스트 기획전
======================================== */

.more-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 114px;
    height: 36px;
    border: 1px solid #dcdfe3;
    border-radius: 8px;
    font-size: var(--fs-14);
    font-weight: 700;

}

.more-button span {
    width: 7px;
    height: 7px;
    border-top: 2px solid #111;
    border-right: 2px solid #111;
    transform: rotate(45deg);

}


/* 기획전 슬라이더 배너 */
.planning-slider {
    position: relative;
    width: 445px;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 7px;
    box-sizing: border-box;
}

.planning-track {
    display: flex;
    width: max-content;
    transition: transform 0.4s ease;
}

.planning-banner {
    flex: 0 0 445px;
    width: 445px;
    min-width: 445px;
    box-sizing: border-box;
}

.planning-banner_img {
    width: 100%;
    height: 222px;
    overflow: hidden;
    background: #eee;
}

.planning-banner_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.planning-banner_txt {
    display: flex;
    align-items: center;
    height: 66px;
    padding: 0 20px;
}

.planning-banner_txt>h6 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}


/* ========================================
   기획전 슬라이드 버튼
======================================== */

.planning-controls {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 3px;
}

.planning-pagination {
    display: flex;
    align-items: center;
    margin-right: 10px;
    font-size: var(--fs-12);
}

.planning-pagination b {
    color: #111;
}

.planning-pagination span {
    color: #777;
}

.planning-controls button {
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
}

.planning-controls .planning-prev {
    border-bottom: 2px solid #999;
    border-left: 2px solid #999;

}

.planning-controls .planning-next {
    border-top: 2px solid #999;
    border-right: 2px solid #999;

}







/* ========================================
   지금 주목! 일본야후경매 추천상품
======================================== */



.recommend-pd .more-btn,
.mercari-pd .more-btn {
    padding-right: 10px;
}

/* 추천상품 카드 */

.recommend-pd ul {
    display: flex;
    gap: 15px;
}

.recommend-items {
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}


.recommend-items .txt {
    padding: 18px;
    padding-right: 0;
    border: 1px solid #ddd;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
	margin-top:-4px;
}

.recommend-items span {
    display: block;
    color: var(--color-primary);
    font-size: var(--fs-12);
    font-weight: 800;
    margin-bottom: -2px;

}






/* ========================================
   띠배너
======================================== */

/*
.mini-banner .inner {
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
*/

.main section.mini-banner .inner {
    border: none;
    padding: 0;
    border-radius: 0;
}

.mini-banner ul {
    display: flex;
    align-items: center;
    gap: 32px;


}

.mini-banner li {
    width: 100%;
    height: 128px;
    border-radius: 12px;
    background: #3f4fff;
    color: #fff;
    position: relative;

}

.mini-banner li a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}



.mini-banner .cont {
    position: absolute;
    left: 254px;
    top: 50%;
    transform: translateY(-50%);

}


.mini-banner li .cont p {
    margin-top: 12px;
}



.mini-banner li:first-child {
    background-image: url(/img/main/bandai.png);
    background-repeat: no-repeat;
    background-position: 42px;
}

.mini-banner li:last-child {
    background-image: url(/img/main/twice.png);
    background-repeat: no-repeat;
    background-position: 64px;
}





/* ========================================
   일본오픈마켓 인기상품
   라쿠텐 베스트상품
======================================== */
.sect-wrapper .inner {
    display: flex;
    justify-content: space-between;
}

.sect-wrapper section {
    border: 1px solid #ededed;
    padding: 36px 30px 40px;
    border-radius: 16px;
}



/* 일본오픈마켓 인기상품 */

.popular-pd ul {
    display: flex;
    gap: 15px;


}



.main section .popular-items .txt {
    padding-top: 18px;
    justify-content: space-between;
    gap: 36px !important;
}




/* 라쿠텐 베스트상품 */

.best-pd ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 315px;

}


.best-pd ul a {
    display: flex;
    gap: 20px;
    align-items: center;

}

.best-items:last-child {
    border-top: 1px solid #eee;
    padding-top: 18px;
}

.best-items span {
    font-size: var(--fs-12);
    display: block;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: -2px;
}






/* ========================================
놀라운 아이템! 메루카리를 만나보세요
======================================== */


.mercari-pd ul {
    display: flex;
    justify-content: space-between;
}


.mercari-items .cont {
    padding: 18px;
    padding-right: 0;
    border: 1px solid #ddd;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;

    display: flex;
    gap: 20px;
    align-items: center;
	margin-top:-5px;
}

.mercari-items .brand {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
}




/* ========================================
놀라운 아이템! 메루카리를 만나보세요
======================================== */


.special-box {
    display: flex;
    justify-content: space-between;
}

.special-pd .banner {
    width: 810px;
    height: 186px;
    background-image: url(/img/main/nintendo.jpg);
    background-repeat: no-repeat;
    background-color: #e60012;
    background-position: 100% 100%;
    position: relative;
    border-radius: 8px;

}

.special-pd .banner a {
    display: block;
    width: 100%;
    height: 100%;
}

.special-pd .banner .cont {
    color: #fff;
    position: absolute;
    top: 35px;
    left: 60px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.special-pd .banner .cont-txt {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-weight: 700;
}



.special-pd ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.special-pd ul a {
    display: flex;
    gap: 20px;
    align-items: center;

}