@charset "utf-8";

.imc{
}
/* 공통 */
[class*="imc__section"] {
    position: relative;
}

/* smoothTabMotion :: S */
.tabBar__Container {
    background: #e8e8e8;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 54px;
    z-index: 11;
}

.tabBar__Container .tabBar__title {
    width: 25%;
    height: 52px;
    text-align: center;
    color: #8a8a8a;
    font-size: 14px;
    transition: 0.5s;
    font-weight: 900;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.tabBar__Container .tabBar__title .EN {
    font-family: "ProximaNova", sans-serif;
    font-size: 12px;
    letter-spacing: 0;
    font-weight: 700;
    margin-top:2px;
    display: inline-block;
}

.tabBar__Container .tabBar__title.on {
    color: #000;
    background:#fa149e;
}

.tabBar__Container .line {
    width: 25%;
    height: calc(2 * var(--vw-400));
    background: #000;
    transition: 0.5s;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 11;
}

/* smoothTabMotion :: E */

/* section01/프로모션 팝업 */
[class*="section01__btn"] {
    position: absolute;
    display: block;
}
.imc__section01 .section01__btn01{
    top: 50.3%;
    left: 35.8%;
    width: 28.8%;
    height: 2.1%;
}
.imc__section01 .section01__btn02{
    top: 83.8%;
    left: 39.2%;
    width: 21.1%;
    height: 2.2%;
}
.imc__section01 .section01__btn03{
    top: 45%;
    left: 10%;
    width: 23.7%;
    height: 2.7%;
}
.imc__section01 .section01__btn04{
    top: 91.6%;
    left: 2.9%;
    width: 94.2%;
    height: 3.8%;
}
body.pop_on {overflow: hidden;}
.imc_pop, .imc_pop02  {display: none;}
.imc_pop_bg {position: fixed; width: 100%; height: 100%; left: 0; top: 0; z-index: 55; overflow-y: auto; font-size: 0; background: #fff;}
.imc_pop_bg::before {content: ''; display: inline-block; width: 0; height: 100%; vertical-align: middle;}
.imc_pop_con {display: none; width: 100%; background: #fff; vertical-align: top;}
.imc_pop_con img {transform: translateY(100%);}
.pop_close {width: 100%; padding-top: 36.75%; background: url(https://image.nbkorea.com/NBRB_Mobile/event/imc/THE574DAY2024/btn_pop_close.png) center / 100% auto no-repeat; position: fixed; left: 0; bottom: 0; z-index: 55;}
.btn_pop_close {display: block; width: 13.75%; height: 37.4149%; position: absolute; left: 43.125%; top: 42.1768%;}

.imc_pop.active, .imc_pop02.active  {display: block;}
.imc_pop.active .imc_pop_bg, .imc_pop02.active .imc_pop_bg {animation: popOpacity 0.8s cubic-bezier(0.3, 0, 0, 1) forwards;}
.imc_pop.active .pop_close. .imc_pop02.active .pop_close  {animation: popOpacity 0.8s 0.3s cubic-bezier(0.3, 0, 0, 1) forwards;}
.imc_pop_con.active {display: inline-block; animation: popOpacity 0.8s cubic-bezier(0.3, 0, 0, 1) forwards;}
.imc_pop_con.active img {animation: popTransform 0.5s cubic-bezier(0.3, 0, 0, 1) forwards; width:100%;}
.promotionPopup_copyBtn {
    position:absolute;
    top: 72.5%;
    left: 40%;
    width: 19%;
    height: 3%;
}
@keyframes popOpacity {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes popTransform {
    0% {transform: translateY(100%); }
    100% {transform: translateY(0);}
}

/* section02/카테고리 별 추천 상품 */
.imc__section02 [class*="section02__btn"] {
    position:absolute;
    display: block;
    width: 25.6%;
    height: 5%;
}
.imc__section02 .section02__btn01 {
    top:53%;
    left:3.5%;
}
.imc__section02 .section02__btn02 {
    top:53%;
    left:50.4%;
}
.imc__section02 .section02__btn03 {
    top:87.5%;
    left:50.4%;
}
.imc__section02 .section02__btn04 {
    top:87.5%;
    left:3.5%;
}

/* section03/할인율 */
.imc__section03{overflow: hidden; height: calc(658 * var(--vw-400))}
.imc__section03 .swiper {
    overflow: visible;
    margin-top:calc(-425 * var(--vw-400));
}
.imc__section03 .swiper-slide {
    will-change: transform;
    width: calc(220 * var(--vw-400));
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
    transform-origin: center center;
}
/* active는 정면 */
.imc__section03 .swiper-slide-active {
    transform: rotateZ(0deg);
}
/* 이전 슬라이드는 시계방향 */
.imc__section03 .swiper-slide-prev {
    transform-origin: right  bottom;
    transform: rotateZ(-15deg);
}
/* 다음 슬라이드는 반시계방향 */
.imc__section03 .swiper-slide-next {
    transform-origin: left bottom;
    transform: rotateZ(15deg);
}
.section03__cardWrap {
    top:calc(260 * var(--vw-400));
}
.imc__section03 .section03__btn{
    position:absolute;
    top:calc(548 * var(--vw-400));
    left:calc(142 * var(--vw-400));
    width:calc(120 * var(--vw-400));
    height: calc(40 * var(--vw-400));
    background:#fff;
    color:#000;
    border-radius: 5px;
    letter-spacing: -0.05em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(14 * var(--vw-400));
}

/* section04/BEST 랭킹 */
.section04__tabMenu {
    position:absolute;
    top:calc(236 * var(--vw-400));
    width:100%;
    display: flex;
    justify-content: center;
    gap: calc(10 * var(--vw-400));
}
.section04__tabMenu .tab__Btn {
    display: flex;
    width: calc(81 * var(--vw-400));
    height: calc(40 * var(--vw-400));
    background: #e8e8e8;
    color: #8a8a8a;
    justify-content: center;
    align-items: center;
    border-radius: calc(20 * var(--vw-400));
    font-size: 16px;
    font-weight: 700;
}
.section04__tabMenu .tab__Btn.on{
    background:#3afbcc;
    color:#000;
}
.section04__ranking {
    position: absolute;
    top: calc(316 * var(--vw-400));
    padding-left:calc(16 * var(--vw-400));
}
.section04__ranking .swiper-slide {
    width: calc(281 * var(--vw-400));
}
.section04__ranking .long-content {
    display: flex;
    gap: 16px;
    width: max-content; /* 내부 콘텐츠 길이에 따라 커짐 */
}

.section04__ranking .rankingContent,
.section04__ranking .rankingContent2,
.section04__ranking .rankingContent3{
    display: none;
    gap: 0 calc(40 * var(--vw-400));
    grid-auto-rows: min-content;
    grid-template-rows: repeat(4, minmax(0px, auto));
    grid-auto-flow: column;
    width: max-content;
}
.section04__ranking .rankingContent.on,
.section04__ranking .rankingContent2.on,
.section04__ranking .rankingContent3.on{
    display: grid;
}
.section04__ranking .ranking__wrap {
    padding: calc(10 * var(--vw-400)) 0;
    border-bottom:1px solid #e8e8e8;
    width: calc(281 * var(--vw-400));
}
.section04__ranking .ranking__wrap:nth-child(4n) {
    border:0;
}
.section04__ranking .ranking__wrap a{
    display: flex;
    align-items: center;
    gap:calc(20 * var(--vw-400));
}
.section04__ranking .ranking__wrap .ranking__number{
    font-family: "ProximaNova", sans-serif;
    font-size: calc(20 * var(--vw-400));
    font-weight: 800;
    width: calc(30 * var(--vw-400));
}
.section04__ranking .ranking__prod{
    display: flex;
    align-items: center;
    gap:calc(20 * var(--vw-400));
}
.section04__ranking .ranking__prod .prod__info {
    width: calc(131 * var(--vw-400));
}
.section04__ranking .ranking__prod .prod__info .info__displayName{
    font-size: calc(14 * var(--vw-400));
    letter-spacing: -0.05em;
    padding-bottom:calc(12 * var(--vw-400));
}
.section04__ranking .ranking__prod .prod__info .info__price{
    font-size: calc(15 * var(--vw-400));
    font-weight: 700;
    color:#151415;
    line-height: 1;
}
.section04__ranking .ranking__prod .prod__info .info__price span{
    color:#cf0a2c;
}
.section04__ranking .ranking__prod .prod__info .info__price e{
    font-size: calc(13 * var(--vw-400));
}
.section04__ranking .ranking__prod .prod__thumb{
    width:calc(80 * var(--vw-400)) !important;
    height: calc(80 * var(--vw-400));
}
.section04__ranking  .imc__scrollSwiper {
    width:calc((400 * var(--vw-400)) - calc(16 * var(--vw-400)));
}
.section04__ranking  .imc__scrollSwiper .swiper-scrollbar {
    position:relative;
    bottom:0;
    left:0;
    width:calc(368 * var(--vw-400));
    background: #e3e5e6;
    height: calc(2 * var(--vw-400));
    margin-top:calc(40 * var(--vw-400));
    border-radius: 0; }
.section04__ranking  .imc__scrollSwiper .swiper-scrollbar .swiper-scrollbar-drag {
    height: calc(2 * var(--vw-400));
    background: #151415;
    top:0;
    border-radius: 0;
}
