.cz-popup-area2 {
    position: relative;
    z-index: 99999;
}

.cz-popup-area2 h2 {
    width: 0;
    height: 0;
    line-height: 0;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0;
    overflow: hidden;
}

.cz-popup-area2 .background--bb {
    position: fixed;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
}

.cz-popup-area2 .cz-popup-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 10%);
    right: 0;
    z-index: 30000;
    width: calc(100% - 20px);
    max-width: 870px;
}

.cz-popup-area2 .cz-popup-slide .item {
    font-size: 0;
}

.cz-popup-area2 .cz-popup-slide .item:focus {
    outline: none;
}

.cz-popup-area2 .cz-popup-slide .item img {
    display: block;
    width: 100%;
}

.cz-popup-area2 .cz-popup-slide .popup-slide-control {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.3em;
}

.cz-popup-area2 .cz-popup-slide .popup-slide-control .arrow {
    display: inline-block;
    width: 1em;
    text-align: center;
    vertical-align: middle;
    font-size: 1.5em;
    color: #333;
    background: none;
}

.cz-popup-area2 .cz-popup-slide .popup-slide-control .page {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.7em;
    font-weight: 500;
    padding: 0 0.5em;
    color: #333;
}

.cz-popup-area2 .popup_close {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
}

.cz-popup-area2 .popup_close button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    font-size: 0;
}

.cz-popup-area2 .popup_close button::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 25px;
    height: 2px;
    background-color: #000000;
}

.cz-popup-area2 .popup_close button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 25px;
    height: 2px;
    background-color: #000000;
}

.cz-popup-area2 .popup-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

.cz-popup-area2 .popup-footer button {
    color: #ffffff;
    display: block;
    float: left;
    height: 2.2em;
    line-height: 2.2em;
    padding: 0 0.5em;
    background: none;
    font-size: 0.75em;
    font-weight: 400;
}

.cz-popup-area2 .popup-footer .close {
    position: relative;
    font-size: 0;
    margin-right: 15px;
}

.cz-popup-area2 .popup-footer .close::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 25px;
    height: 2px;
    background-color: #ffffff;
}

.cz-popup-area2 .popup-footer .close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 25px;
    height: 2px;
    background-color: #ffffff;
}

.cz-popup-area2 .popup-footer .reject {
    font-size: 15px;
    font-weight: 500;
}

.cz-popup-area2 .popup-footer2 {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #383838;
}

.cz-popup-area2 .popup-footer2 button {
    display: block;
    width: 50%;
    padding: 8px 5px;
    background: none;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    color: #ffffff;
    text-align: center;
}

.cz-popup-area2 .popup-footer2 .close-all {
    position: relative;
}

.cz-popup-area2 .popup-footer2 .close-all::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 23px;
    background-color: #d7d8d8;
}

/* ========================================
   Swiper Pagination 스타일 (기존 li/button + 새로운 span)
   ======================================== */

/* 기본 pagination 컨테이너 */
.cz-popup-area2 .popup-dots {
    display: flex !important;
    flex-wrap: wrap;
    background-color: #ffffff;
    position: static;
    padding: 0;
}

/* 1개일 때도 표시 (Swiper가 자동으로 숨기는 것 방지) */
.cz-popup-area2 .popup-dots.swiper-pagination-lock {
    display: flex !important;
    opacity: 1 !important;
}

/* 기존 li 구조 지원 (Slick 슬라이더용) */
.cz-popup-area2 .popup-dots li {
    flex: 1 1;
    text-align: center;
}

.cz-popup-area2 .popup-dots li button {
    display: inline-block;
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    padding: 1rem 0;
}

.cz-popup-area2 .popup-dots .slick-active button {
    color: #ffffff;
    background-color: #0084ff;
}

/* 새로운 Swiper span 구조 지원 */
.cz-popup-area2 .popup-dots .swiper-pagination-bullet {
    flex: 1 1 auto;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    padding: 1rem 0;
    text-align: center;
    cursor: pointer;
    color: #333;
}

.cz-popup-area2 .popup-dots .swiper-pagination-bullet-active {
    color: #ffffff;
    background-color: #0084ff !important;
}

#czPopupslide .swiper-slide img {
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .cz-popup-area2 .cz-popup-slide {
        transform: translate(-50%, 30%);
    }

    .cz-popup-area2 .cz-popup-slide .popup-slide-control {
        top: 0;
        right: 0;
    }

    .cz-popup-area2 .popup_close {
        width: 25px;
        height: 25px;
    }

    .cz-popup-area2 .popup_close button::before {
        width: 20px;
        height: 1px;
    }

    .cz-popup-area2 .popup_close button::after {
        width: 20px;
        height: 1px;
    }

    .cz-popup-area2 .popup-dots .swiper-pagination-bullet {
        font-size: 15px;
        padding: 0.5rem 0;
    }
}