@charset "utf-8";

.event-benefit-template {
.gram-benefit-preview {
    .gram-benefit-preview__linker {
        position: absolute;
        width: 48.3%;
        height: 23%;
    }
    .gram-benefit-preview__linker--01 {
        top: 25%;
        left: 0.4%;
    }
    .gram-benefit-preview__linker--02 {
        top: 25%;
        left: 51.5%;
    }
    .gram-benefit-preview__linker--03 {
        top: 76%;
        left: 0.4%;
    }
    .gram-benefit-preview__linker--04 {
        top: 76%;
        left: 51.5%;
    }
}
.more-benefit-view {
    .c-custom-accordion__area--fade {
        height: calc(86 * var(--ratio));
        &::after {
            height: calc(120 * var(--ratio));
            top: auto;
            bottom: calc(-45 * var(--ratio));
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 23.37%, #FFF 65.76%);
        }
    }
    /* 특별선물혜택 */
    .special-gift__button{
            position: absolute;
            left: 5%;
            width: 90%;
            height: 21%;
            &.special-gift__button--01 {
                top: 23%;
            }
            &.special-gift__button--02 {
                bottom: 32%;
            }
            &.special-gift__button--03 {
                bottom: 8%;
            }
        }
    /* .speacial-gift-accordion {
        .c-img-accordion__trigger-btn { 
            width: 50%;
            height: 8%;
            bottom: 6%;
            left: 25%;
        }
        .special-gift__button{
            position: absolute;
            left: 5%;
            width: 90%;
            height: 19%;
            &.special-gift__button--01 {
                top: 20%;
            }
            &.special-gift__button--02 {
                bottom: 39%;
            }
            &.special-gift__button--03 {
                bottom: 18%;
            }
        }
        &.c-img-accordion--open{
            .special-gift__button{
                z-index: 1;
                height: 17.5%;
                &.special-gift__button--01 {
                    top: 18%;
                }
                &.special-gift__button--02 {
                    bottom: 46%;
                }
                &.special-gift__button--03 {
                    bottom: 27%;
                }
            }
        }
    } */

    /* 중고보상 조회, 신청 하기 버튼 */
    .more-benefit-view__check-application-history-list {
        position: absolute;
        top: 56.5%;
        left: 10.9%;
        width: 38%;
        height: 27%;
    }
    .more-benefit-view__apply-used-device-compensation {
        position: absolute;
        top: 56.5%;
        left: 51%;
        width: 38%;
        height: 27%;
    }
    /* // 중고보상 조회, 신청 하기 버튼 */
    .more-benefit-view__table-wrap {
        overflow-x: auto;
    }
    .more-benefit-view__table-img {
        min-width: calc(664 * var(--ratio));
        padding-left: calc(20 * var(--ratio));
        margin-right: calc(20 * var(--ratio));
    }
    .c-list--trade-in-notice-details {
        margin: 0;
    }
    .trade-in-accordion .c-img-accordion__trigger-btn {
        width: 50%;
        height: 15%;    
        bottom:5%; 
        left:25%;
    }
}

.aerominum {
    .c-responsive-video__element {
        aspect-ratio: 1920 /1080;
        height: calc(196 * var(--ratio));
    }
    .c-responsive-video {
        border-radius: calc(16 * var(--ratio));
        overflow: hidden;
    }
}

.gram-lineup {
    .swiper-slide {
        width: calc(171 * var(--ratio));
    }
}

}

@media screen and (min-width: 768px) {
    .popup-wrap.c-modal--default {
        max-width: 390px;
        .l-article__inner{
            padding:min(32px, calc(32 * var(--ratio))) min(20px, calc(20 * var(--ratio)));
        }
        & .c-title--normal {
            .c-title__main {
                font-size: min(26px, calc(26 * var(--ratio)));
            }
        }
        .c-modal__content {
            height: auto;
            max-height: calc(100dvh - var(--spacing-article-split, 0px) - var(--modal-title-area-height, 0px) - var(--spacing-main-title-content, 0px) - var(--spacing-article-split, 0px));
        }
        .btn-close{
            top: min(36px, calc(36 * var(--ratio)));
            right: min(20px, calc(20 * var(--ratio)));
            width: min(24px, calc(24 * var(--ratio)));
            height: min(24px, calc(24 * var(--ratio)));
        }
    }
}
/* // 개별 처리 */