/* Modal 공통 영역 */
.common-modal-wrap.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 6;
    touch-action: none; /* 터치 동작 비활성화 */
    -webkit-overflow-scrolling: none; /* iOS 스크롤 방지 */
}
.common-modal-wrap .modal {
    max-width: 90%;
}
.common-modal-wrap .modal .close-btn{
    cursor: pointer;
    width: 5vw;
    max-width: 36px;
    margin-left: auto;
    margin-bottom: 10px;
}
.border-radius{
    background: white;
    padding: 4px;
    border-radius: 12px;
}
.common-modal-wrap .modal img {
    display: block;
    max-width: 100%;
    height: auto;
}
/* Swiper styles */
.common-modal-wrap .modal .swiper {
    width: 100%;
    height: 100%;
    max-width: 468px;
}

.common-modal-wrap .modal .swiper .swiper-slide {
    text-align: center;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
/* 스크롤 방지를 위한 클래스 */
.scroll-lock {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: none;
}

/*스와이프 페이지네이션 도트 색상 변경 */
.common-modal-wrap .modal .swiper .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #EE3823; /* 활성화된 도트 색상 */
}



/* 1031SD0406 배민 기프트 팝업 */
#popBaeminGift .modal {

}
#popBaeminGift .modal-content {
    padding: 30px;
    max-width: 480px;
}
#popBaeminGift .modal-content .content-header {
    margin-bottom: 1vw;
}
#popBaeminGift .modal-content .content-header .text {
    display: block;
    font-weight: 600;
    font-size: clamp(18px, 6vw, 30px);
    letter-spacing: -2px;
}
#popBaeminGift .modal-content .content-header .small-text {
    font-size: clamp(16px, 2vw, 20px);
    color: #6e6d6d;
}


#popBaeminGift .modal-content .content-header img {
    width: 100%;
    object-fit: contain;
}
#popBaeminGift .modal-content .btn-wrap{
    padding-top: 1vw;
}
#popBaeminGift .modal-content .btn-wrap .button {
    display: flex;
    width: 100%;
    background: #EE2D20;
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 8px 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    letter-spacing: 1px;
    font-size: clamp(20px, 5vw, 28px);
}
#popBaeminGift .modal-content .img-wrap img{
    max-width: 60%;
    margin: auto;
}


