/* 팝업 */
#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.35);
}
.pop-parent .pop {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
}
.pop-parent .m-ratioBox-wrap {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}
.pop-parent .m-ratioBox-wrap .m-ratioBox {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--sub_color01);
}
.pop-parent .m-ratioBox-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}
.pop-parent .m-ratioBox-wrap iframe {
    width: 105%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}
.pop-parent .pop .btn-toggle {
    width: 40px;
    height: 40px;
    position: relative;
    background-color: black;
    cursor: pointer;
}
.pop-parent .pop .btn-toggle img {
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    transition: all 0.3s;
}
.pop-parent .pop-btns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    background-color: #3c3c3c;
}
.pop-parent .pop-btns a {
    color: #fff;
    padding: 7px 14px;
}
.pop-parent .pop-btns #oneday_check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}
.pop-parent .pop-btns #oneday_check + label {
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}
.pop-parent .pop-btns #oneday_check + label:before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border: 1px solid #fff;
}
.pop-parent .pop .swiper-btn-control {
    width: 8px;
    height: 11px;
    margin-left: 16px;
    position: relative;
    top: 2px;
}
.pop-parent .popupSwiper {
    background-color: #fff;
}
.pop-parent .swiper-pagination {
    pointer-events: none;
    top: 21px;
    left: auto;
    right: 20px;
    width: fit-content;
}
.pop-parent .swiper-pagination-bullet {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 0;
    border: 1px solid white;
    opacity: 0.5;
    background-color: transparent;
}
.pop-parent .swiper-pagination-bullet-active {
    background-color: #fff;
    opacity: 1;
}
.pop-parent .active {
    right: -400px;
}
.pop-parent .active .btn-toggle {
    transform: rotate(180deg);
}
.pop-parent .pop .btn-close {
    width: 40px;
    height: 40px;
    background-color: black;
}
.pop-parent .pop .btn-close > i {
    color: #fff;
}
/* 1279px 이하 */
@media screen and (max-width: 1279px) {
    .pop-parent .pop {
        width: calc(100% - 40px);
    }
    .pop-parent.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) {
    .pop-parent {
        top: 50%;
        right: unset;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .pop-parent .pop-btns {
        width: 100%;
        justify-content: space-between;
    }
    .pop-parent .pop .btn-toggle {
        display: none;
    }
    .pop-parent .pop .btn-close {
        display: block;
    }
}

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

/* 메인 베너 페이지네이션 불릿 커스텀 */
.pagination.swiper-horizontal > .swiper-pagination-bullets,
.pagination.swiper-pagination-bullets.swiper-pagination-horizontal,
.pagination.swiper-pagination-custom,
.pagination.swiper-pagination-fraction {
    top: auto;
    left: 24px;
    right: auto;
    bottom: 32px;
    transform: translate3d(0px, 0px, 0px);

    display: flex;
    flex-direction: column;
    gap: 10px;
    width: fit-content;

    .swiper-pagination-bullet,
    .swiper-pagination-bullet-active {
        width: 1px;
        height: 60px;
        background: var(--color-black-500);
        margin: 0;
    }
}

/* 스크롤바 숨김 */
.scrollbar-hide {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */

    &::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
}

/* marquee */
.marquee-style {
    position: absolute;
    left: 0;
    bottom: 180px;
    white-space: nowrap;
    z-index: -1;
    opacity: 0.03;

    .animate-marquee {
        display: inline-flex;
        gap: 100px;
        animation: marquee linear infinite;
        will-change: transform;
    }
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* background zoom-in */
@keyframes bg-zoom-in {
    from {
        background-size: 120%;
    }
    to {
        background-size: 105%;
    } /* 원하는 확대 비율로 조절 */
}
.animate-zoom-in {
    animation: bg-zoom-in 0.8s ease-out forwards;
}
