@charset "utf-8";

/*
https://www.lge.co.kr/benefits/exhibitions/detail-PE00880001을 위한 파일임. 다른 곳에서 사용하지 말것.
*/


/* ================================ */
/* 모달 커스텀 */
/* ================================ */
.popup-wrap {
    max-width: 800px;
    .l-article {
        height: auto;
        max-height: 706px;
        padding-bottom: 0;
        overflow-y: auto;
        padding: 32px 20px 20px;
        max-height: initial;

        .l-article__inner {
            padding-top: 0;
            padding-bottom: 0;
        }

        &::after {
            display: none;
        }
    }

    img {
        width: 100%;
    }

    .btn-close {
        top: 34px;
        right: 34px;
        background: url(https://www.lge.co.kr/kr/event/2026/03/20_more_buy_more_save_odd/resources/icon_close_btn.svg) no-repeat;
        background-size: contain;

        &::before{
            display: none;
        }
    }

    .relative-area {
        position: relative;
    }
    .hidden-pc {
        display: none;
    }

    .l-article__content {
        padding: 0;
    }

    .c-title {
        flex-direction: row;
        margin: 0 auto;
        width: 100%;
        max-width: 760px;
        padding: 0 50px 0 0px;
    }
    .c-title__main {
        position: relative;
        padding-left: 34px;
        color: #111;
        font-size: 22px;
        font-weight: 700;
        line-height: 140%;
        letter-spacing: -0.88px;

        &::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
    }
    .c-title__main--point {
        &::before {
            width: 26px;
            height: 26px;
            background-image: url(https://www.lge.co.kr/kr/event/2026/03/20_more_buy_more_save_odd/resources/icon_membership_point.svg);
        }
    }

    @media (max-width: 767px) {
        .hidden-mo {
            display: none;
        }
        .hidden-pc {
            display: block;
        }

        .l-article {
            height: calc(100% - 62px);
            max-height: calc(100% - 62px);
            padding: calc(32 / 390 * 100vw) calc(20 / 390 * 100vw) calc(40 / 390 * 100vw);
        }

        .btn-close {
            top: calc(32 / 390 * 100vw);
            right: calc(28 / 390 * 100vw);
            width: calc(24 / 390 * 100vw);
            height: calc(24 / 390 * 100vw);
            &::before {
                width: calc(24 / 390 * 100vw);
                height: calc(24 / 390 * 100vw);
                background-size: contain;
            }
        }

        .c-title {
            padding: 0 0 calc(12 / 390 * 100vw) 0;
        }
        .c-title__main {
            padding-left: calc(34 / 390 * 100vw);
            font-size: calc(22 / 390 * 100vw);
            letter-spacing: calc(-0.88 / 390 * 100vw);

            &::before {
                width: calc(26 / 390 * 100vw);
                height: calc(26 / 390 * 100vw);
            }
        }
    }
}
/* ================================ */
/* // 모달 커스텀 */
/* ================================ */

/* ================================ */
/* Right Bottom Floating button (우측 하단 AI 버튼 위에 위치하는 경우) */
/* ================================ */
button.bottom-floating-button {
    /* 위로 가기 버튼 없는 경우 */
    --ai-icon-top: 116px;
    --bottom-gap: 20px;
    display: inline-flex;
    position: fixed;
    right: 48px;
    bottom: calc(var(--ai-icon-top, 0px) + var(--bottom-gap, 0px));
    z-index: 110;
    width: 56px;
    height: 56px;
    background-color: green;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    color: #fff;
    &:focus-visible {
        outline: 3px solid #3b82f6;
        outline-offset: 2px;
    }
    /* // 위로 가기 버튼 없는 경우 */

    /* 위로 가기 버튼 있는 경우 */
    body:has(.btn-floating-wrap.scroll) & {
        --ai-icon-top: 170px;
        --bottom-gap: 20px;
        bottom: calc(var(--ai-icon-top, 0px) + var(--bottom-gap, 0px));
    }
    /* // 위로 가기 버튼 있는 경우 */
    
    @media screen and (width <= 767px) {
        /* ================================ */
        /* 앱 인 경우 */
        /* ================================ */
        /* 위로 가기 버튼 없는 경우 */
        --ai-icon-top: 160px;
        --bottom-gap: 8px;
        right: 14px;
        bottom: calc(var(--ai-icon-top, 0px) + var(--bottom-gap, 0px) + env(safe-area-inset-bottom));
        z-index: 97;
        width: 40px;
        height: 40px;
        font-size: 10px;
        letter-spacing: -0.4px;
        /* // 위로 가기 버튼 없는 경우 */
    
        /* 위로 가기 버튼 있는 경우 */
        body:has(.btn-floating-wrap.scroll) & {
            --ai-icon-top: 210px;
            --bottom-gap: 8px;
            bottom: calc(var(--ai-icon-top, 0px) + var(--bottom-gap, 0px) + env(safe-area-inset-bottom));
        }
        /* // 위로 가기 버튼 있는 경우 */
        /* ================================ */
        /* // 앱 인 경우 */
        /* ================================ */
    
    
        /* ================================ */
        /* 웹 인 경우 */
        /* ================================ */
        /* 위로 가기 버튼 없는 경우 */
        .mdevice:not(.app) & {
            --ai-icon-top: 110px;
            --bottom-gap: 8px;
            --mobile-status-bar-height: 56px;
            bottom: calc(var(--mobile-status-bar-height, 0px) + var(--ai-icon-top, 0px) + var(--bottom-gap, 0px) + env(safe-area-inset-bottom));
        }
        /* // 위로 가기 버튼 없는 경우 */
        /* 위로 가기 버튼 있는 경우 */
        .mdevice:not(.app) body:has(.btn-floating-wrap.scroll) & {
            --ai-icon-top: 160px;
            --bottom-gap: 8px;
            --mobile-status-bar-height: 56px;
            bottom: calc(var(--mobile-status-bar-height, 0px) + var(--ai-icon-top, 0px) + var(--bottom-gap, 0px) + env(safe-area-inset-bottom));
        }
        /* // 위로 가기 버튼 있는 경우 */
        /* ================================ */
        /* // 웹 인 경우 */
        /* ================================ */
    }
}

/* ================================ */
/* // Right Bottom Floating button (우측 하단 AI 버튼 위에 위치하는 경우) */
/* ================================ */

/* ================================ */
/* timer */
/* ================================ */
.c-timer--horizontal {
    .c-timer__item {
        display: flex;
        column-gap: 10px;
        align-items: center;
        justify-content: space-between;
        padding: 12px 32px;
        background: rgba(168, 168, 168, 0.30);
        border-radius: 8px;
        backdrop-filter: blur(4px);
    }
    
    .c-timer__label {
        font-size: 16px;
        font-weight: 700;
        line-height: 26px;
        color: #000;
    }
    
    .c-timer__content {
        display: flex;
        column-gap: 4px;
        font-weight: 800;
    }
    .c-timer__box {
        display: inline-flex;
        column-gap: 4px;
        align-items: center;
    }
    .c-timer__value {
        min-width: 44px;
        padding: 4px 10px;
        font-size: 18px;
        font-weight: 800;
        line-height: 140%;
        text-align: right;
        letter-spacing: -0.36px;
        background-color: #fff;
        border-radius: 4px;
    }
    
    .c-timer__unit {
        font-size: 16px;
        font-weight: 600;
        line-height: 140%;
        color: #000;
        letter-spacing: -0.32px;
    }
    
    @media screen and (max-width: 767px) {
        width: 100%;

        .c-timer__item {
            display: flex;
            gap: initial;
            justify-content: space-between;
            padding: calc(12 / 390 * 100vw) calc(16 / 390 * 100vw);
            border-radius: calc(8 / 390 * 100vw);
            backdrop-filter: blur(10px);
        }
    
        .c-timer__label {
            font-size: max(10px, calc(12 / 390 * 100vw));
            font-weight: 700;
            line-height: 166.667%;
        }
        .c-timer__box {
            display: inline-flex;
        }
        .c-timer__value {
            min-width: calc(38 / 390 * 100vw);
            padding: 2px calc(8 / 390 * 100vw);
            font-size: calc(16 / 390 * 100vw);
            line-height: 140%;
            letter-spacing: calc(-0.32em / 16);
            border-radius: calc(4 / 390 * 100vw);
        }
    
        .c-timer__unit {
            font-size: max(10px, calc(10 / 390 * 100vw));
            letter-spacing: calc(-0.2em / 10);
        }
    }
}

.c-timer--vertical {
    display: flex;
    position: relative;
    align-items: center;
    .c-timer__label {
        margin-right:32px;
        color: #FFF;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: -0.4px;
        white-space: nowrap;
    }
    .c-timer__box {
        display: flex;
        flex-direction: column;
    }
    .c-timer__box:last-child .c-timer__value::after {
        display:none;
    }
    .c-timer__box:last-child .c-timer__unit {
        padding-right:0;
    }
    .c-timer__value {
        display: flex;
        min-width: 51px;
        color: #F31E11;
        font-size: 33px;
        font-weight: 600;
        line-height: 100%;
        letter-spacing: -0.66px;
        align-items: center;
        justify-content: center;
    }
    .c-timer__value::after {
        content: "";
        display: block;
        margin: 0 8px;
        width: 3px;
        height: 13px;
        background: url(/kr/event/promotions/images/icon-kv-timer-divider-black.svg) no-repeat;
    }
    .c-timer__unit {
        margin-top: 4px;
        padding-right: 20px;
        text-align: center;
        color: #000;
        text-align: center;
        font-size: 14px;
        font-weight: 500;
        line-height: 120%;
    }
    .c-timer__unit {
        font-size: 16px;
        font-weight: 600;
        line-height: 140%;
        color: #fff;
        letter-spacing: -0.32px;
    }
    @media screen and (max-width: 767px) {
        &::before {
            border-radius: calc(8 / 390 * 100vw);
            background: linear-gradient(111deg, #8f433d, #654745, #8f433d);
        }
        .c-timer__value {
            min-width: calc(40 / 390 * 100vw);
            font-size: calc(33 / 390 * 100vw);
            line-height: 1;
            letter-spacing: calc(-0.66em / 33);
        }
        .c-timer__value::after {
            margin: 0 calc(6 / 390 * 100vw);
            width: calc(3 / 390 * 100vw);
            height: calc(13 / 390 * 100vw);
        }
        .c-timer__unit {
            padding-right: calc(15 / 390 * 100vw);
            font-size: calc(14 / 390 * 100vw);
            font-weight: 500;
            line-height: 120%;
        }
    }
}
/* ================================ */
/* // timer */
/* ================================ */



/* 템플릿 페이지 전용 스타일 */
.template-desc {
    display: flex;
    flex-direction: column;
    padding: min(10px, calc(10 * var(--ratio))) 0;
    border-top: dotted 2px;
    border-bottom: dotted 2px;
    background-color: #E0EEE0;

    + .template-desc {
        margin-top:  min(10px, calc(10 * var(--ratio)));
    }

    .l-article__content & {
        padding-left: 0;
        padding-right: 0;
    }

    .template-desc__tit {
        padding: 0 min(20px, calc(20 * var(--ratio))) 0;
        font-size: min(20px, calc(20 * var(--ratio)));
        font-weight: 700;
        line-height: 140%;

        &:has(+ .template-desc__list) {
            padding-bottom: min(6px, calc(6 * var(--ratio)));
        }
    }
    .template-desc__sub-tit {
        font-size: min(18px, calc(18 * var(--ratio)));
        font-weight: 500;
        line-height: 140%;
    }
    
    .template-desc__list {
        color: #3f3f3f;
        display: flex;
        flex-direction: column;
        row-gap: min(2px, calc(2 * var(--ratio)));
        padding: min(4px, calc(4 * var(--ratio))) min(20px, calc(20 * var(--ratio))) 0 min(40px, calc(40 * var(--ratio)));
    }
    
    .template-desc__list:has(.template-desc__list) .template-desc__list {
        padding: min(12px, calc(12 * var(--ratio))) 0 min(10px, calc(10 * var(--ratio))) min(15px, calc(15 * var(--ratio)));
        border: none;
    }
    
    .template-desc__list:has(.template-desc__list) .template-desc__list .template-desc__item {
        list-style-type: decimal;
    }
    
    .template-desc__item {
        word-break: keep-all;
        font-size: min(16px, calc(16 * var(--ratio)));
        line-height: 1.5;
        list-style-type: decimal;
    }
    .template-desc__linker {
        font-weight: bold;
        text-decoration: underline;
        color: #258eeb;
    }
}


.spacing-guide {
    max-width: 1000px;
    margin: 10px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    color: #334155;
    overflow-x: auto;
    /* Elements */
    .spacing-guide__title {
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 8px;
        color: #0f172a;
    }
    
    .spacing-guide__description {
        font-size: 16px;
        color: #64748b;
        margin-bottom: 40px;
    }
    
    .spacing-guide__table {
        min-width: 680px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
    }
    
    .spacing-guide__row {
        display: grid;
        grid-template-columns: 150px 100px 180px 1fr;
        align-items: center;
        border-bottom: 1px solid #e2e8f0;
        padding: 16px 20px;
    }
    
    .spacing-guide__row--head {
        background-color: #f8fafc;
        font-weight: 700;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #475569;
    }
    
    .spacing-guide__row:last-child {
        border-bottom: none;
    }
    
    .spacing-guide__col--scale {
        font-weight: 600;
        color: #6366f1;
    }
    
    .spacing-guide__col--size {
        font-size: 14px;
    }
    
    .spacing-guide__visual {
        background-color: #fb7185;
        border-radius: 4px;
        transition: transform 0.2s;
    }
    
    /* Modifiers for Visual Sizes */
    .spacing-guide__visual--xl    { width: 32px; height: 32px; }
    .spacing-guide__visual--l     { width: 28px; height: 28px; }
    .spacing-guide__visual--m     { width: 20px; height: 20px; }
    .spacing-guide__visual--s     { width: 16px; height: 16px; }
    .spacing-guide__visual--xs    { width: 12px; height: 12px; }
    .spacing-guide__visual--tiny  { width: 8px; height: 8px; }
    .spacing-guide__visual--micro { width: 40px; height: 2px; } /* 가로로 길게 표시하여 시인성 확보 */
    
    .spacing-guide__label {
        display: block;
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 4px;
    }
    
    .spacing-guide__code {
        display: inline-block;
        font-size: 12px;
        padding: 2px 8px;
        background-color: #f1f5f9;
        color: #e11d48;
        border-radius: 4px;
        font-family: monospace;
    }
    
    .spacing-guide__code--none {
        color: #94a3b8;
        background-color: transparent;
        padding-left: 0;
    }
}


/* // 템플릿 페이지 전용 스타일 */



/* 유틸리티 콘텐츠 영역 */
.l-article__content:has(.g-tmpl-wrap) {
    width: 100%;
}
.g-tmpl-wrap {
    width: 100%;
    margin: 0 auto;
    color: #333;
    line-height: 1.6;
}

.g-tmpl-section {
    background: #fff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    transition: transform 0.2s ease;
}

.g-tmpl-section__head {
    background-color: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.g-tmpl-section__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.g-tmpl-section__title::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background-color: #4c6ef5;
    border-radius: 2px;
}

.g-tmpl-table-wrap {
    overflow-x: auto;
    margin-bottom: 24px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.g-tmpl-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    font-size: 14px;
}

.g-tmpl-table th {
    background-color: #f8f9fa;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-align: left;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.g-tmpl-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
    color: #444;
    vertical-align: top;
}

.g-tmpl-table tr:last-child td {
    border-bottom: none;
}

.g-tmpl-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    vertical-align: middle;
    margin-right: 6px;
    text-transform: uppercase;
}
.g-tmpl-badge--pc { background-color: #4c6ef5; box-shadow: 0 2px 4px rgba(76, 110, 245, 0.2); }
.g-tmpl-badge--mo { background-color: #20c997; box-shadow: 0 2px 4px rgba(32, 201, 151, 0.2); }
.g-tmpl-badge--all { background-color: #fd7e14; }
.g-tmpl-badge--gray { background-color: #e9ecef; color: #495057; }

.g-tmpl-code__list {
    display:flex;
    flex-direction: column;
    gap: 4px;
}
.g-tmpl-code {
    display: inline-flex;
    width: fit-content;
    background-color: #f1f3f5;
    color: #c92a2a;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.03);
}

.g-tmpl-desc-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-top: 11px;
}

.g-tmpl-desc-list {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 14px;
    color: #666;
}
.g-tmpl-desc-list li {list-style: disc;margin-bottom: 6px;}

.g-tmpl-values {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.g-tmpl-values-group {
    margin-bottom: 20px;
}
.g-tmpl-values-group:last-child { margin-bottom: 0; }

.g-tmpl-values__title {
    font-size: 14px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.g-tmpl-values__title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
    margin-left: 12px;
}
.g-tmpl-values__desc {
    margin: 4px 0;
    font-size: 13px;
}
.g-tmpl-values__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.g-tmpl-values__item {
    background: #fff;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    font-size: 13px;
    color: #495057;
    border-radius: 20px;
    transition: all 0.2s;
    cursor: default;
}

.g-tmpl-values__item--accent {
    background-color: #fff9db;
    border-color: #fab005;
    color: #e67700;
    font-weight: 700;
}
/* // 유틸리티 콘텐츠 영역 */


/* 코드 하이라이트 */
.l-article__content:has(pre) {
    width: 100%;
} 
/* // 코드 하이라이트 */

/* 테스트 용도 */
.test--bb2bjjhh2 .c-custom-accordion__area--first {
    scroll-margin-top: calc(var(--header-height) + var(--sticky-main-switch-height) + var(--sticky-main-sticky-height));
}
.test--bb2bjjhh2 .c-custom-accordion__area--fade {
    height: 120px;
}
.test--bb2bjjhh2 .c-custom-accordion__area--fade::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, #fff 50%, #fff 95%);
}
.test--bb2bjjhh2 .c-custom-accordion__btn--test01 {
    scroll-margin-top: calc(var(--header-height) + var(--sticky-main-switch-height) + var(--sticky-main-sticky-height));
}

.test--fdsaer11 {
    scroll-margin-top: calc(var(--header-height) + var(--sticky-main-switch-height) + var(--sticky-main-sticky-height));
}

.test--reqw13 {
    width: 100%;
    height: 16vh;
    background-color: #B3C89E;
}
.test--reqw13:nth-child(2n),
.test--reqw13--odd {
    background-color: #626D58;
}

.test--reqw123 .custom-scroll-slider__item {
    max-width: calc(350 * var(--ratio));
    min-width: 100%;
}

.test--custom-slider-01fdsa213 .custom-scroll-slider__content-wrapper {
    column-gap: calc(12 * var(--ratio));
}

.test--custom-slider-01fdsa213 .custom-scroll-slider__item {
    flex: 0 0 100%;
}
.test--custom-slider-01fdsa213__linker {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 10%;
    height: 10%;
    background-color: red;
}

.test--fdsaf32d1 .custom-scroll-slider__item {
    flex: 0 0 calc(350 * var(--ratio));
}
.test--fdsaf32d1 .custom-scroll-slider__video {
    width: calc(350 * var(--ratio));
    aspect-ratio: 1920 / 1080;
}

.article--test-modal-tooltip .tooltip-box {
    left: 0;
}

.test--fdadf432 .custom-scroll-slider__video {
    width: calc(350 * var(--ratio));
    aspect-ratio: 1920 / 1080;
}

.test--dsfjsfg,
.test--bffdgjhh2 {
    width: 100%;
}

.l-article .test--fgew4fd {
    width: stretch;
    max-width: 820px;
}

.test--fdf8fdgh {
    margin: 0 auto;

    .swiper-slide {
        width: calc(350 * var(--ratio));
    }
}

.test--fasgwersdf {
    max-width: 780px;
    margin: 0 auto;
    width: 100%;

    .swiper-slide {
        width: calc(350 * var(--ratio));
        padding: 0 calc(8 * var(--ratio));
    }
}
a.test--fasgwersdfl {
    display: block;
    position: absolute;
    top: 10%;
    left: 10%;
    width: fit-content;
    height: 10%;
    background-color: red;
}

.test--rgsdfgwer413 {
    .c-custom-accordion__area--fade {
        height: calc(188 * var(--ratio));

        &::after {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.70) 39.93%, #FFF 85.22%);
        }
    }
}
/* // 테스트 용도 */