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

    &.pop-parent {
        z-index: 9999;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        padding-bottom: 40px;
        background-color: rgba(0, 0, 0, 0.4);

        .pop {
            display: block;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 500px;
            border-radius: 10px;
            overflow: hidden;

            .btn-toggle {
                width: 40px;
                height: 40px;
                position: relative;
                background-color: black;
                cursor: pointer;

                img {
                    width: auto;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%) rotate(-90deg);
                    transition: all 0.3s;
                }
            }
            .swiper-btn-control {
                width: 8px;
                height: 11px;
                margin-left: 16px;
                position: relative;
                top: 2px;
            }

            .swiper-pagination {
                position: absolute;
                bottom: 84px;
                left: 0;
                display: flex;
                gap: 10px;
                justify-content: center;
                align-items: center;
                width: 100%;
                height: 10px;
                z-index: 999;
            }
            .swiper-pagination-bullet {
                width: 10px;
                height: 10px;
                margin: 0;
                border-radius: 10px;
                border: 1px solid #fff;
                background-color: rgba(24, 24, 24, 0.1);
                opacity: 1;
            }
            .swiper-pagination-bullet-active {
                background-color: rgba(24, 24, 24, 1);
            }
        }
        .pop-btns {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            height: 60px;
            background-color: #fff;
            padding: 0 20px;
            font-size: 14px;
            font-weight: 500;

            label {
                opacity: 0.5;
            }
            .btn-close {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 4px;
                color: var(--color-black-500);
            }
        }
        .popupSwiper {
            background-color: #fff;
        }
        .active {
            right: -400px;

            .btn-toggle {
                transform: rotate(180deg);
            }
        }
        .m-ratioBox-wrap {
            width: 100%;
            padding-top: 100%;
            position: relative;
            overflow: hidden;

            .m-ratioBox {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-size: cover;
                background-position: center;
                background-color: var(--sub_color01);
            }
            img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translateY(-50%) translateX(-50%);
                z-index: 1;
            }
            iframe {
                width: 105%;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translateY(-50%) translateX(-50%);
                z-index: 1;
            }
        }

        /* 1279px 이하 */
        @media screen and (max-width: 1279px) {
            .pop {
                width: calc(100% - 40px);
                max-width: 500px;
            }
            &.active {
                right: calc(- (100% - 40px));
            }
        }

        /* 1023px 이하 */
        @media screen and (max-width: 1023px) {
            .floating-btns-wrap {
                bottom: 16px;
                right: 16px;
            }
        }

        /* 767px 이하 */
        @media screen and (max-width: 767px) {
            top: 50%;
            right: unset;
            left: 50%;
            transform: translate(-50%, -50%);

            .pop-btns {
                width: 100%;
                height: 40px;
                justify-content: space-between;
            }
            .pop .btn-toggle {
                display: none;
            }
            .pop .btn-close {
                display: block;
            }

            .pop .swiper-pagination {
                bottom: 57px;
            }
        }
    }
}

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

.bannerSwiper {
    .banner-pagination-wrap {
        position: absolute;

        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 1260px;
        z-index: 20;

        @media screen and (min-width: 1261px) {
            bottom: 90px;
            padding: 0 70px;
        }
        @media screen and (max-width: 1260px) {
            bottom: 16px;
            padding: 0 20px;
        }

        .swiper-pagination {
            position: static;
            width: fit-content;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 6px 14px 5px;
            border-radius: 50px;
            background-color: rgba(255, 255, 255, 0.4);
            color: rgba(24, 24, 24, 0.5);
            font-size: 12px;
            font-weight: 700;

            .swiper-pagination-current,
            .swiper-pagination-total {
                min-width: 16px;
                text-align: center;
            }
            .swiper-pagination-current {
                color: rgba(24, 24, 24, 1);
            }
        }

        .banner-button-wrap {
            width: fit-content;
            display: flex;
            gap: 6px;
            align-items: center;
            justify-content: center;

            .banner-button {
                width: 40px;
                height: 40px;
                padding: 5px;
                cursor: pointer;
            }
        }
    }
}

.client-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 50px;
    background-color: rgba(24, 24, 24, 0.1);
    color: rgba(24, 24, 24, 0.5);

    .swiper-pagination-current {
        padding: 0 2px;
        text-align: center;
        color: rgba(24, 24, 24, 1);
    }
    .swiper-pagination-total {
        padding: 0 2px;
        text-align: center;
    }

    @media screen and (min-width: 821px) {
        min-width: 70px;
        padding: 10px 12px;
    }
    @media screen and (max-width: 820px) {
        min-width: 58px;
        padding: 8px;
    }
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;

    li {
        position: relative;
        white-space: nowrap;

        &::after {
            content: '·';
            position: absolute;
            right: -12px;
            top: 50%;
            transform: translateY(-50%);
        }

        &.end::after,
        &:last-child::after {
            content: '';
        }
    }
}

#promotions-container {
    .promotions-box {
        display: grid;

        .promotions-img,
        .promotions-content {
            width: 100%;
        }

        .promotions-img {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            aspect-ratio: 6/4;
            background-color: var(--color-gray-100);

            span {
                position: absolute;
                top: 0;
                left: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 10px 0 10px 0;
                background-color: var(--color-orange-500);
                color: #fff;
                z-index: 20;
            }
            img {
                position: relative;
                width: 100%;
                height: 100%;
                object-fit: cover;
                z-index: 10;
            }
        }
        .promotions-content {
            display: flex;
            flex-direction: column;

            h3 {
                display: flex;
                flex-direction: column;
                gap: 6px;

                color: var(--color-orange-500);
                span {
                    width: 40px;
                    height: 4px;
                    background: var(--color-orange-500);
                }
            }
        }
    }

    @media screen and (min-width: 1026px) {
        .promotions-box {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 60px;

            .promotions-img {
                span {
                    width: 60px;
                    height: 60px;
                }
            }

            .promotions-content {
                gap: 20px;
            }

            &:nth-child(even) {
                .promotions-img {
                    order: 2;
                }
                .promotions-content {
                    order: 1;
                }
            }
            &:nth-child(odd) {
                .promotions-img {
                    order: 1;
                }
                .promotions-content {
                    order: 2;
                }
            }
        }
    }
    @media screen and (max-width: 1025px) and (min-width: 821px) {
        .promotions-box {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 30px;

            .promotions-img {
                span {
                    width: 50px;
                    height: 50px;
                }
            }

            .promotions-content {
                gap: 16px;
            }

            &:nth-child(even) {
                .promotions-img {
                    order: 2;
                }
                .promotions-content {
                    order: 1;
                }
            }
            &:nth-child(odd) {
                .promotions-img {
                    order: 1;
                }
                .promotions-content {
                    order: 2;
                }
            }
        }
    }
    @media screen and (max-width: 820px) {
        .promotions-box {
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 20px;

            .promotions-img {
                span {
                    width: 40px;
                    height: 40px;
                }
            }

            .promotions-content {
                gap: 16px;
            }
        }
    }
}
