@charset "utf-8";

/*
* vw 단위 사용법
* 80px => calc(80 * var(--vw-400));
* --vw : 800px 기준
* --vw-400 : 400px 기준
*/
/* 공통 */
[class*="imc__section"] {
    position: relative;
}
.imc__roll .swiper-wrapper{align-items: center; transition-timing-function: linear}
.imc__roll .swiper-wrapper .swiper-slide {
    width:calc(391 * var(--vw-400));
}
/* 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: 45px;
    text-align: center;
    color: #8a8a8a;
    font-size: 14px;
    transition: 0.5s;
    letter-spacing: -0.05em;
    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/주요 혜택 */
.imc__section01 .section01__title {
    padding: calc(70 * var(--vw-400)) calc(16 * var(--vw-400)) 0;
    position:relative;
}
.imc__section01 .section01__title .title__btn{
    position:absolute;
    top: 65%;
    left: 3.8%;
    width: 92.4%;
    height: 15%;
}
.imc__section01 [class*='section01__benefit'] {
    position:relative;
    width: calc(368 * var(--vw-400));
    margin: 0 auto;
    transition:0.3s;
    margin-bottom: calc(70 * var(--vw-400));
    overflow: hidden;
}
.imc__section01 .section01__benefit--01 {
    height: calc(643 * var(--vw-400));
}
.imc__section01 .section01__benefit--01.on {
    height: calc(1133 * var(--vw-400));
}
.imc__section01 .section01__benefit--02 {
    height: calc(581 * var(--vw-400));
}
.imc__section01 .section01__benefit--02.on {
    height: calc(1043 * var(--vw-400));
}
.imc__section01 .section01__benefit--03 {
    padding-bottom: calc(70 * var(--vw-400));
    height: calc(601 * var(--vw-400));
}
.imc__section01 .section01__benefit--03.on {
    height: calc(660 * var(--vw-400));
}

.imc__section01 [class*='section01__benefit'] .section01__toggleBtn {
    position: absolute;
    left: 0%;
    width: calc(65 * var(--vw-400));
    height: calc(20 * var(--vw-400));
}
.imc__section01 .section01__benefit--01 .section01__toggleBtn {
    top: calc(618 * var(--vw-400));
    opacity: 0;
}
.imc__section01 .section01__benefit--01 .section01__copyBtn {
    position: absolute;
    top: calc(13 * var(--vw-400));
    left: 75%;
    width: 21.5%;
    height: calc(34 * var(--vw-400));
}
.imc__section01 .section01__benefit--02 .section01__toggleBtn {
    top: calc(564 * var(--vw-400));
}
.imc__section01 .section01__benefit--03 .section01__toggleBtn {
    top: calc(583 * var(--vw-400));
    opacity: 0;
}

.imc__section01 > div .jsToggleImgBtn .right{position:relative; width: 100%; height: inherit;}
.imc__section01 > div .jsToggleImgBtn .right img{ position: absolute; top:50%; right: 0; width: calc(10 * var(--vw-400)) !important; transition:0.3s; transform: translateY(-50%);}
.imc__section01 > div .jsToggleImgBtn .right img.rotateImg{opacity: 0; display: inline-block; margin-top: -1px;}

/* section02/카테고리 별 추천 상품 */
.imc__section02 {
    padding-bottom:calc(70 * var(--vw-400));
}
.imc__section02 .section02__title {
    font-size: calc(30 * var(--vw-400));
    line-height: 1.3;
    font-weight: 800;
    text-align: center;
    padding:calc(70 * var(--vw-400)) 0 calc(20 * var(--vw-400));
}
.imc__section02 .section02__title .kor {
    font-size: calc(26 * var(--vw-400));
    line-height: 1.4;
    letter-spacing: -0.05em;
    font-weight: 900;
}
.section02__tabMenu {
    width:100%;
    display: flex;
    justify-content: center;
    gap: calc(10 * var(--vw-400));
    margin-bottom:calc(40 * var(--vw-400));
}
.section02__tabMenu .tab__Btn {
    font-family: "Noto Sans KR", sans-serif;
    display: flex;
    height: calc(30 * var(--vw-400));
    padding: 0 calc(16 * var(--vw-400)) calc(2 * var(--vw-400));
    background: #e8e8e8;
    color: #8a8a8a;
    justify-content: center;
    align-items: center;
    border-radius: calc(20 * var(--vw-400));
    font-size: calc(14 * var(--vw-400));
    font-weight: 700;
    letter-spacing: -0.05em;
    transition: 0.5s;
}
.section02__tabMenu .tab__Btn.on{
    background:#3afbcc;
    color:#151415;
}

.imc__section02 .imc__scrollSwiper{
    width:calc(400 * var(--vw-400));
    padding:0 calc(16 * var(--vw-400));
}
.imc__section02 .section02__mdProd {
}
.imc__section02 .section02__mdProd .mdProd__btn {
    font-family: "Noto Sans KR", sans-serif;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: calc(20 * var(--vw-400));
    color: #737B82;
    letter-spacing: -0.05em;
    font-size: calc(12 * var(--vw-400));
    font-weight: 700;
    gap: calc(5 * var(--vw-400));
    line-height: 1;
    width: calc(386 * var(--vw-400));
}
.imc__section02 .section02__mdProd .mdProd__btn img {
    width:auto !important;
    height: calc(11 * var(--vw-400));
    padding-bottom:calc(1 * var(--vw-400));
}
.imc__section02 .section02__mdProd .swiper-slide {
    width: calc(160 * var(--vw-400));
    margin: 0 calc(4 * var(--vw-400));
}
.imc__section02 .section02__mdProd .mdProd__wrap {
    /* 상품별 레이아웃 높이 고정 */
    height: calc(262 * var(--vw-400));
}
.imc__section02 .section02__mdProd .mdProd__wrap:not(:first-of-type) {
    margin-top: calc(25 * var(--vw-400));
}
.imc__section02 .section02__mdProd .info__displayName {
    margin-top: calc(14 * var(--vw-400));
    margin-bottom: calc(6 * var(--vw-400));
    font-size: calc(14 * var(--vw-400));
    width: calc(150 * var(--vw-400));
    display: -webkit-box;
    word-wrap: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    letter-spacing: -0.05em;
    word-break: break-all;
    line-height: 1.5;
    min-height: calc(24 * var(--vw-400));
}
.imc__section02 .section02__mdProd .info__norPrice {
    font-size: calc(13 * var(--vw-400));
    line-height: 1;
    letter-spacing: -0.05em;
    text-decoration-line: line-through;
    color: #ABB0B4;
    height: calc(17 * var(--vw-400));
}
.imc__section02 .section02__mdProd .info__norPrice span {
    font-size: calc(14 * var(--vw-400));
}
.imc__section02 .section02__mdProd .info__price {
    display: flex;
    gap: calc(8 * var(--vw-400));
    margin-top: calc(3 * var(--vw-400));
    line-height: 1;
}
.imc__section02 .section02__mdProd .info__price .price__discount {
    font-size: calc(16 * var(--vw-400));
    font-weight: 700;
    line-height: 1;
    color: #CF0A2C;
}
.imc__section02 .section02__mdProd .info__price .price__result {
    height: calc(19 * var(--vw-400));
    font-size: calc(14 * var(--vw-400));
    color: #151415;
}
.imc__section02 .section02__mdProd .info__price .price__result b {
    font-size: calc(16 * var(--vw-400));
    line-height: 1;
    font-weight: 700;
}

.imc__section02  .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(15.8 * var(--vw-400));
    border-radius: 0;
}
.imc__section02  .imc__scrollSwiper .swiper-scrollbar .swiper-scrollbar-drag {
    height: calc(2 * var(--vw-400));
    background: #151415;
    top:0;
    border-radius: 0;
}


/* 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 {
    position: relative;
    top: 0;
}
.imc__section03 .section03__btn{
    position:absolute;
    top:calc(533 * var(--vw-400));
    left:calc(140 * 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(126 * var(--vw-400));
    width:100%;
    display: flex;
    justify-content: center;
    gap: calc(10 * var(--vw-400));
}
.section04__tabMenu .tab__Btn {
    font-family: "Noto Sans KR", sans-serif;
    display: flex;
    height: calc(30 * var(--vw-400));
    padding: 0 calc(16 * var(--vw-400)) calc(2 * var(--vw-400));
    background: #e8e8e8;
    color: #8a8a8a;
    justify-content: center;
    align-items: center;
    border-radius: calc(20 * var(--vw-400));
    font-size: calc(14 * var(--vw-400));
    font-weight: 700;
    letter-spacing: -0.05em;
    transition:0.5s;
}
.section04__tabMenu .tab__Btn.on{
    background:#3afbcc;
    color:#151415;
}
.section04__ranking {
    position: absolute;
    top: calc(196 * 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;
    /* 필수 추가 항목 */
    overflow: hidden;                /* 넘치는 부분 숨김 */
    display: -webkit-box;           /* 플렉스 박스 레이아웃 적용 */
    -webkit-box-orient: vertical;   /* 박스 정렬 방향 설정 */
    -webkit-line-clamp: 2;          /* 보여줄 줄 수 */

    /* (선택 사항) */
    text-overflow: ellipsis;        /* 표준 속성 (일부 브라우저 대비) */
}
.section04__ranking .ranking__prod .prod__info .info__price{
    padding-top: calc(12 * var(--vw-400));
    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;
}
