img {max-width:100%;}

/* 팝업 영역 */
.main-popup-sect {display:block; opacity:1; visibility:visible;}
.main-m-popup-sect {display:none; opacity:0; visibility:hidden;}

/* 배경 딤 */
.main-popup-modal-item-bg {position:fixed; top:0; left:0; width:100%; height:100%; padding:10% 0 0 0; opacity:1; visibility:visible; z-index:111; background:rgba(0,0,0,.4);}

/* 모달 컨테이너 */
.main-popup-modal-item {position:fixed; top:50%; left:50%; width:100%; max-width:820px; transform:translate(-50%, -50%); opacity:1; visibility:visible; z-index:111; padding:0;}

/* 슬라이더 박스 */
.main-popup-slider-madal {position:relative; width:100%; max-width:820px; height:auto; margin:0 auto; padding:14px 14px 0; background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 10px 40px rgba(0,0,0,.2); box-sizing:border-box;}

/* 슬라이더 */
.main-popup-modal-slider {position:relative; width:100%; height:auto; border-radius:6px; overflow:hidden;}
.main-popup-modal-slider > .swiper-wrapper {transform:none;}
.main-popup-modal-slider > .swiper-wrapper > .swiper-slide {position:relative; width:auto; height:auto; border-top:0; aspect-ratio:16/9; overflow:hidden;}
.main-popup-modal-slider > .swiper-wrapper > .swiper-slide > a {display:block; width:100%; height:100%; cursor:pointer;}
.main-popup-modal-slider > .swiper-wrapper > .swiper-slide img {width:100%; height:100%; display:block; object-fit:cover;}

/* 페이지네이션 (이미지 아래 흰색 영역) */
.swiper-pagination-pop.main-popup-pagination {position:relative; left:auto; right:auto; bottom:auto; width:100%; max-width:none; height:auto !important; margin:0; padding:14px 0 12px; text-align:center; z-index:5;}
.stp-wrap .swiper-pagination-pop-bullet {display:inline-block; float:none; width:7px; height:7px; padding:0; margin:0 4px; border:0; border-radius:50%; background:#d9d9d9; color:transparent; font-size:0; line-height:0; opacity:1; vertical-align:middle; box-sizing:content-box;}
.stp-wrap .swiper-pagination-pop-bullet span {display:none;}
.stp-wrap .swiper-pagination-pop-bullet-active {width:7px; height:7px; background:#888;}

/* 좌우 화살표 (반투명 원형 배경, 이미지 위에 위치) */
.main-popup-ctrls {position:absolute; top:50%; width:42px; height:42px; margin-top:-21px; background:rgba(255,255,255,.7); border-radius:50%; box-shadow:0 2px 8px rgba(0,0,0,.15); cursor:pointer; z-index:10; transition:.2s;}
.main-popup-ctrls:hover {background:#fff;}
.main-popup-ctrls:before {content:''; position:absolute; top:50%; left:50%; width:10px; height:10px; margin-top:-5px; border-top:2px solid #333; border-right:2px solid #333;}
.main-popup-ctrls.prev {left:24px;}
.main-popup-ctrls.prev:before {margin-left:-3px; transform:rotate(-135deg);}
.main-popup-ctrls.next {right:24px;}
.main-popup-ctrls.next:before {margin-left:-7px; transform:rotate(45deg);}

/* 하단 바 */
.stp-btn {position:relative; width:100%; max-width:none; height:55px; margin:0; padding:0 24px; background:#fff; display:flex; align-items:center; justify-content:space-between; box-sizing:border-box;}

/* 오늘 하루 보지 않기 (체크박스 + 텍스트) */
.main-popup-today {position:relative; width:auto; height:auto; display:flex; align-items:center; gap:8px; font-size:14px; color:#555; cursor:pointer;}
.main-popup-today .today-checkbox {display:inline-block; width:16px; height:16px; border:1px solid #bbb; border-radius:3px; background:#fff; position:relative; transition:.2s;}
.main-popup-today .today-checkbox.checked {background:#333; border-color:#333;}
.main-popup-today .today-checkbox.checked:after {content:''; position:absolute; top:2px; left:5px; width:4px; height:8px; border-right:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(45deg);}
.main-popup-today .today-label {color:#555; line-height:1;}

/* 닫기 텍스트 버튼 */
.main-popup-close-modal-btn {position:relative; top:auto; right:auto; width:auto; height:auto; font-size:14px; color:#333; cursor:pointer; transform:none; transition:opacity .2s;}
.main-popup-close-modal-btn:hover {transform:none; opacity:.6;}

/* 모바일 */
@media (max-width:800px){
.main-popup-modal-item {max-width:92%;}
.main-popup-slider-madal {max-width:100%; padding:10px 10px 0;}
.swiper-pagination-pop.main-popup-pagination {padding:12px 0 10px;}
.stp-btn {height:48px; padding:0 16px;}
.main-popup-today, .main-popup-close-modal-btn, .main-popup-today .today-label {font-size:13px;}
.main-popup-ctrls {width:34px; height:34px; margin-top:-17px;}
.main-popup-ctrls.prev {left:14px;}
.main-popup-ctrls.next {right:14px;}
}