/* reset */
@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    src: url(../fonts/Pretendard-Black.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    src: url(../fonts/Pretendard-ExtraBold.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    src: url(../fonts/Pretendard-Bold.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    src: url(../fonts/Pretendard-SemiBold.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    src: url(../fonts/Pretendard-Medium.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    src: url(../fonts/Pretendard-Light.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    src: url(../fonts/Pretendard-ExtraLight.subset.woff2) format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    src: url(../fonts/Pretendard-Thin.subset.woff2) format('woff2');
}
.event-benefit-template * {
    font-family: 'Pretendard', sans-serif;
}

.event-benefit-template {
}

.event-benefit-template img {
    display: block;
    max-width: 100%;
}

.event-benefit-template .swiper-slide {
    background-color: transparent;
}

.event-benefit-template a,
.event-benefit-template button {
    background: rgba(0, 255, 0, 0);
}

.event-benefit-template .content-wrap section article {
    text-align: initial;
}
.contents.exhibition.ex-module-wrap .ev-detail-con.wide {
    max-width: 1380px;
}
.contents.event .ev-detail-wrap {
    min-height: 100vh;
}
.contents.event .ev-detail-wrap .ev-detail-con {
    max-width: inherit;
    padding: 0;
}
.contents.event .ev-detail-wrap .ev-detail-con .ev-cont {
    max-width: 1380px;
    margin: 0 auto;
}

@media screen and (max-width: 780px) {
    .event-benefit-template a,
    .event-benefit-template a:active {
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
    .event-benefit-template input {
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
    .event-benefit-template div:focus {
        -webkit-tap-highlight-color: transparent;
    }
    .event-benefit-template button:focus,
    .event-benefit-template button:active {
        -webkit-tap-highlight-color: transparent;
    }
    .event-benefit-template a:focus-visible,
    .event-benefit-template input:focus-visible,
    .event-benefit-template div:focus-visible,
    .event-benefit-template button:focus-visible {
        outline: 2px solid #000;
        outline-offset: 2px;
    }
}
/* // reset */

/* layout */
.event-benefit-template {
    max-width: 1380px;
    min-height: 100vh;
    margin: 0 auto;
    container-name: full-width-area;
    container-type: inline-size;
    font-family: 'Pretendard', sans-serif;
}

.event-benefit-template article {
    width: 100%;
    container-name: article-area;
    container-type: inline-size;
}

.event-benefit-template .article__inner {
    width: 100%;
    max-width: 1020px;
    padding: 80px 10px;
    margin: 0 auto;
}

.event-benefit-template .landscapeSet {
    display: flex;
    gap: 48px;
    width: 100%;
}

.event-benefit-template .landscapeSet .left-contents {
    flex-basis: calc((100% - 48px) / 2);
}

.event-benefit-template .landscapeSet .prdList {
    flex-basis: calc((100% - 48px) / 2);
}

@media screen and (max-width: 780px) {
    .event-benefit-template .landscapeSet {
        flex-direction: column;
        gap: calc(48 / 780 * 100vw);
        padding: 0 calc(48 / 780 * 100vw);
    }

    .event-benefit-template .landscapeSet .prdList.landscape {
        width: 100%;
        padding: 0;
    }
}

@container full-width-area (max-width: 1380px) {
}

@container article-area (max-width: 999px) {
    .event-benefit-template .article__inner {
        padding: calc(80 / 999 * 100%) 10px;
    }
    .event-benefit-template .landscapeSet {
        gap: calc(48 / 1000 * 100%);
    }
    .event-benefit-template .landscapeSet .left-contents {
        flex-basis: calc((100% - (48 / 1000 * 100%)) / 2);
    }

    .event-benefit-template .landscapeSet .prdList {
        flex-basis: calc((100% - (48 / 1000 * 100%)) / 2);
    }
}

@media screen and (max-width: 780px) {
    .event-benefit-template .article__inner {
        padding: calc(80 / 780 * 100%) 0;
        overflow: hidden;
    }
}
/* // layout */

/* 전체 공통 */
.event-benefit-template .primary-color {
    color: #fd312e;
}

@media screen and (min-width: 768px) {
    .event-benefit-template .hidden-pc {
        display: none !important;
    }
}

.event-benefit-template .swiper-container .swiper-pagination-bullets {
    position: relative;
    bottom: initial;
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-top: 48px;
}

.event-benefit-template
    .swiper-container
    .swiper-pagination-bullets
    .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    margin: 0;
    background-color: #d3d3d3;
    border-radius: 50px;
    opacity: 1;
}
.event-benefit-template
    .swiper-container
    .swiper-pagination-bullets
    .swiper-pagination-bullet-active {
    width: 30px;
    background-color: #181818;
    opacity: 1;
}
@media screen and (max-width: 780px) {
    .event-benefit-template .hidden-mo {
        display: none !important;
    }

    .event-benefit-template .swiper-slide {
        background-color: transparent;
    }

    .event-benefit-template .swiper-container .swiper-pagination-bullets {
        gap: calc(16 / 780 * 100vw);
        padding-top: calc(60 / 780 * 100vw);
    }
}
/* // 전체 공통 */

/* components */
/* c는 components의 약자 */

/* title */
.event-benefit-template .c-title {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 1000px;
    padding-bottom: 48px;
    margin: 0 auto;
    text-align: left;
}

.event-benefit-template .c-title--only-help-center.c-title--only-help-center {
    z-index: 3;
    display: flex;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 32px;
}
.event-benefit-template .c-title--only-help-center .bullet-list {
    margin-top: 0;
}

.event-benefit-template .c-title__main-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 140%;
    color: #2e2e33;
    letter-spacing: calc(-0.8em / 40);
}

.event-benefit-template .c-title__main-title--icon {
    display: flex;
    align-items: flex-end;
    height: 64px;
    padding-left: 78px;
    background-size: contain;
}

.event-benefit-template .c-title__desc {
    font-size: 24px;
    font-weight: 500;
    line-height: 140%;
    color: #444;
    letter-spacing: calc(-0.48em / 24);
}
.event-benefit-template .c-title__help {
    padding-left: 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #444;
    letter-spacing: -0.32px;
    background: url('/kr/event/2025/07/01_summer_peak_sale/images/icon-tooltip-black.svg')
        no-repeat;
    background-position: left center;
    background-size: 18px;
}

.event-benefit-template .c-title__help:has(> .tooltip-wrap) {
    position: relative;
    display: inline-flex;
    column-gap: 4px;
    align-items: center;
    padding-left: 0;
    background: none;
}

.event-benefit-template .c-title__help .tooltip-wrap {
    padding: 0;
    margin: 0;
}

.event-benefit-template .c-title__help .tooltip-wrap .ui_tooltip-target {
    width: 21px;
    height: 100%;
    background: url('/kr/event/2025/07/01_summer_peak_sale/images/icon-tooltip-gray.svg')
        no-repeat;
    background-position: center 1px;
    background-size: 100%;
}

.event-benefit-template .c-title--white .c-title__main-title,
.event-benefit-template .c-title--white .c-title__desc {
    color: #fff;
}

@container article-area (max-width: 999px) {
    .event-benefit-template .c-title {
        gap: calc(12 / 1000 * 100vw);
        padding-bottom: calc(48 / 1000 * 100vw);
    }

    .event-benefit-template
        .weekly-specials
        .c-title--only-help-center.c-title--only-help-center {
        padding-bottom: calc(32 / 999 * 100%);
    }

    .event-benefit-template .c-title__main-title {
        font-size: calc(40 / 999 * 100vw);
    }

    .event-benefit-template .c-title__desc {
        font-size: calc(24 / 999 * 100vw);
    }
}

@media screen and (max-width: 780px) {
    .event-benefit-template .c-title {
        gap: calc(12 / 780 * 100vw);
        padding: 0 calc(48 / 780 * 100%) calc(64 / 780 * 100%);
    }

    .event-benefit-template
        .c-title--only-help-center.c-title--only-help-center {
        padding-top: calc(14 / 780 * 100vw);
        padding-bottom: calc(48 / 780 * 100vw);
    }
    .event-benefit-template .c-title--only-help-center .tooltip-box {
        top: 16px;
        right: 16px;
        left: calc(-210 / 780 * 100vw);
        min-width: calc(588 / 780 * 100vw);
    }

    .event-benefit-template .c-title__main-title {
        font-size: calc(48 / 780 * 100vw);
        line-height: 1.3;
        letter-spacing: calc(-0.96em / 48);
    }

    .event-benefit-template .c-title__main-title--icon {
        align-items: flex-end;
        height: calc(64 / 780 * 100vw);
        padding-left: calc(78 / 780 * 100vw);
        background-size: contain;
    }

    .event-benefit-template .c-title__desc {
        font-size: calc(32 / 780 * 100vw);
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: calc(-0.64em / 32);
    }

    .event-benefit-template .c-title__help {
        width: fit-content;
        padding-left: clamp(18px, calc(29 / 780 * 100vw), 29px);
        font-size: clamp(12px, calc(22 / 780 * 100vw), 22px);
        font-weight: 500;
        line-height: 1.0526;
        letter-spacing: calc(-0.44em / 22);
        background-size: clamp(14px, calc(25 / 780 * 100vw), 25px);
    }

    .event-benefit-template .c-title__help .tooltip-wrap .tooltip-box {
        top: 16px;
        right: 16px;
        left: -27vw;
        min-width: calc(600 / 780 * 100vw);
    }

    .event-benefit-template .c-title__help .tooltip-wrap .ui_tooltip-target {
        width: clamp(14px, calc(25 / 780 * 100vw), 25px);
        height: 100%;
        background: url('/kr/event/2025/07/01_summer_peak_sale/images/icon-tooltip-gray.svg')
            no-repeat;
        background-position: center;
        background-size: clamp(14px, calc(25 / 780 * 100vw), 25px);
    }
}
/* // title */

/* horizen-scroll-bar */
@media screen and (min-width: 781px) {
    .c-custom-scrollbar {
        -webkit-overflow-scrolling: touch; /* iOS에서 부드러운 스크롤 */
    }

    /* 웹킷 브라우저 스크롤바 트랙 */
    .c-custom-scrollbar::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    /* 웹킷 브라우저 스크롤바 핸들 (실제 움직이는 부분) */
    .c-custom-scrollbar::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }

    .c-custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, 0.4);
    }

    .c-custom-scrollbar::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }
}
/* // horizen-scroll-bar */

/* divider */
.event-benefit-template .c-divider {
    width: 100%;
    height: 8px;
    background-color: #e5e5e5;
    border: none;
}
@media screen and (max-width: 780px) {
    .event-benefit-template .c-divider {
        height: calc(16 / 780 * 100vw);
    }
}
/* // divider */

/* timer */
.event-benefit-template .c-timer__num {
    display: inline-flex;
}

.event-benefit-template .c-timer--type2 {
    margin-bottom: 48px;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.96px;
    border-top: 3px solid #4d4940;
    border-bottom: 3px solid #4d4940;
}

.event-benefit-template .c-timer--type2 .c-timer__item {
    display: flex;
    column-gap: 48px;
    justify-content: flex-start;
    padding: 20px 0;
}

.event-benefit-template .c-timer--type2 .c-timer__label {
    font-weight: 500;
    color: #000;
}

.event-benefit-template .c-timer--type2 .c-timer__contents {
    font-weight: 700;
    color: #fd312e;
}
@media screen and (max-width: 780px) {
    .event-benefit-template .c-timer {
        font-size: calc(28 / 780 * 100vw);
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: calc(-1.12em / 28);
    }

    .event-benefit-template .c-timer__num {
        display: inline-flex;
    }

    .event-benefit-template .c-timer--type2 {
        margin-bottom: calc(80 / 780 * 100vw);
        border-top: calc(3 / 780 * 100vw) solid #4d4940;
        border-bottom: calc(3 / 780 * 100vw) solid #4d4940;
    }

    .event-benefit-template .c-timer--type2 .c-timer__item {
        display: flex;
        gap: initial;
        justify-content: space-between;
        padding: calc(16 / 780 * 100vw) 0;
    }
}
/* // timer */

/* 아이템 더보기 기능 */
.event-benefit-template .limit-view__wrap .limit-view__list {
    row-gap: 0;
}
.event-benefit-template .limit-view__item {
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.5s ease-out,
        opacity 0.5s ease-out,
        margin-bottom 0.5s ease-out;
}

.event-benefit-template .limit-view__item.is-visible {
    max-height: 1000px;
    margin-bottom: 20px;
    opacity: 1;
}

.event-benefit-template .limit-view__item[style*='--item-delay'] {
    transition-delay: var(--item-delay, 0s);
}
/* // 아이템 더보기 기능 */

/* toggle */
.c-toggle__data {
    display: none;
}
.c-toggle__btn.on + .c-toggle__data,
.c-toggle__btn-wrap.on + .c-toggle__data {
    display: block;
    margin-top: 20px;
}
.c-toggle__btn-wrap.on + .c-toggle__data--multi-benefit {
    margin-top: -18px;
}
.c-toggle__data:has(+ .c-toggle__btn.on) {
    display: block;
}
@media screen and (max-width: 780px) {
    .c-toggle__btn-wrap.on + .c-toggle__data--multi-benefit {
        margin-top: -1.6%;
    }
}
/* // toggle */

/* // components */
