/* 팝업 */
#popParent {
    display: none;

    &.pop-parent {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99999;

        .pop {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: calc(100% - 40px);
            max-width: 546px;
            display: block;
            background-color: #fff;
            border-radius: 40px;

            .swiper-container {
                position: relative;
                padding: 40px 40px 20px;

                .swiper {
                    width: 100%;
                    aspect-ratio: 1/1;
                    border-radius: 30px;
                    position: relative;

                    .swiper-wrapper {
                        .swiper-slide {
                            width: 100%;
                            height: 100%;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                background-color: rgba(0, 0, 0, 0.2);
                            }
                        }
                    }

                    @media screen and (max-width: 768px) {
                        border-radius: 20px;
                    }
                }

                @media screen and (min-width: 1301px) {
                    .pop-button-prev,
                    .pop-button-next {
                        position: absolute;
                        width: 40px;
                        height: 40px;
                        border-radius: 100%;
                        background: rgba(255, 247, 232, 0.6);
                        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
                        top: 55%;
                        transform: translateY(-50%);
                        color: #000;
                        z-index: 10;

                        i {
                            width: 100%;
                            height: 100%;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            font-size: 20px;
                        }
                    }

                    .pop-button-prev {
                        left: 20px;

                        i {
                            padding-right: 3px;
                        }
                    }
                    .pop-button-next {
                        right: 20px;

                        i {
                            padding-left: 3px;
                        }
                    }
                }
                @media screen and (max-width: 1300px) {
                    .pop-button-prev,
                    .pop-button-next {
                        display: none;
                    }
                }
                @media screen and (max-width: 768px) {
                    padding: 20px;
                }
            }

            .pop-pagination {
                width: 100%;
                display: flex;
                justify-content: center;

                .swiper-pagination-bullet {
                    background: #202020;
                    opacity: 0.2;

                    &.swiper-pagination-bullet-active {
                        background: #202020;
                        opacity: 1;
                    }
                }

                @media screen and (max-width: 768px) {
                    bottom: 70px;
                }
            }

            .pop-btns {
                width: 100%;
                display: grid;
                grid-template-columns: 1fr 1fr;
                font-size: 20px;
                font-weight: 800;
                padding: 40px;
                gap: 20px;

                label,
                button {
                    width: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }

                @media screen and (max-width: 768px) {
                    gap: 12px;
                }
                @media screen and (max-width: 520px) {
                    grid-template-columns: 1fr;
                }
            }
        }

        @media screen and (max-width: 768px) {
            .pop {
                border-radius: 30px;

                .swiper-container {
                    .swiper {
                        aspect-ratio: 318/337;
                    }
                }

                .pop-btns {
                    font-size: 14px;
                    padding: 20px;
                }
            }
        }
    }
}

/* 
=============================================================
-------------------------커스텀스타일------------------------- 
=============================================================
*/

/* 구글 번역기 기본 레이아웃 제거 Start */
body {
    position: static !important;
}
#google_translate_element,
.skiptranslate {
    display: none;
}
#goog-gt-tt {
    display: none !important;
}
/* 구글 번역기 기본 레이아웃 제거 End */

/* 배너 */
.bannerSwiper {
    .swiper-pagination.swiper-pagination-bullets {
        display: flex;
        justify-content: center;

        .swiper-pagination-bullet {
            border-radius: 100%;
            background-color: #fff;
            margin: 0;
        }
    }
    @media screen and (min-width: 1025px) {
        .swiper-pagination.swiper-pagination-bullets {
            gap: 20px;
            bottom: 50px;

            .swiper-pagination-bullet {
                width: 10px;
                height: 10px;
            }
        }
    }
    @media screen and (max-width: 1024px) and (min-width: 769px) {
        .swiper-pagination.swiper-pagination-bullets {
            gap: 16px;
            bottom: 30px;

            .swiper-pagination-bullet {
                width: 8px;
                height: 8px;
            }
        }
    }
    @media screen and (max-width: 768px) {
        .swiper-pagination.swiper-pagination-bullets {
            gap: 12px;
            bottom: 28px;

            .swiper-pagination-bullet {
                width: 5px;
                height: 5px;
            }
        }
    }
}

/* 앱 */
.appSwiper {
    width: calc(100% - 48px);
    max-width: 1300px;
    margin-inline: auto;
    overflow: visible;

    .swiper-slide {
        position: relative;
        height: auto;
        border: 1px solid #fff;
        border-radius: 40px;
        overflow: hidden;

        .app-bg-img,
        .app-txt-box {
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .app-bg-img {
            position: relative;
            object-fit: cover;
            z-index: 1;
        }

        .app-txt-box {
            position: absolute;
            display: flex;
            flex-direction: column;
            justify-content: end;

            background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
            z-index: 2;

            .app-btn-box {
                display: flex;
                gap: 10px;

                .app-btn {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 56px;
                    border: 2px solid #fff;
                    background-color: #fff;
                    color: #000;
                    transition-duration: 150ms;

                    &:hover {
                        background-color: transparent;
                        color: #fff;
                    }

                    &.btn-trans {
                        border: 2px solid #fff;
                        background-color: transparent;
                        color: #fff;
                        transition-duration: 150ms;

                        &:hover {
                            background-color: #fff;
                            color: #000;
                        }
                    }
                }
            }
        }
    }

    @media screen and (min-width: 821px) {
        .swiper-slide {
            width: 640px;
            aspect-ratio: 4/3;

            .app-txt-box {
                gap: 24px;
                padding: 60px;

                .app-btn-box {
                    align-items: center;

                    .app-btn {
                        width: 200px;
                        height: 56px;
                    }
                }
            }
        }
    }

    @media screen and (max-width: 820px) {
        .swiper-slide {
            width: 300px;
            aspect-ratio: 3/5;

            .app-txt-box {
                gap: 20px;
                padding: 32px;

                .app-btn-box {
                    flex-direction: column;

                    .app-btn {
                        width: 140px;
                        height: 40px;
                    }
                }
            }
        }
    }
}
