/* 박앤리 팝업: PC 원형 유지, 모바일 Swiper 슬라이드 폭 정렬 수정 */
@media (min-width: 1217px) {
    #swiper_popup .modal-body .tab-pagination {
        overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
        scrollbar-width:thin;scrollbar-color:#aaa #333;
    }
    #swiper_popup .modal-body .tab-pagination > span {
        box-sizing:border-box;min-height:75px;width:200px;line-height:1.4;
        padding:18px 10px 18px 25px;display:flex!important;
        align-items:center;word-break:keep-all;white-space:normal;
    }
    #swiper_popup .modal-body .tab-pagination > span.swiper-pagination-bullet-active {width:200px;}
    #swiper_popup .popup-slide figure > img.popup-single-image {
        width:680px;max-width:100%;height:auto;display:block;
    }
}
@media (max-width: 1216px) {
    #swiper_popup .modal-dialog {
        width:100%;left:0;padding:0 12px;box-sizing:border-box;
    }
    #swiper_popup .modal-dialog .modal-content {
        width:100%;max-width:680px;margin:0 auto;box-sizing:border-box;
    }
    #swiper_popup .modal-dialog .modal-body,
    #swiper_popup .modal-dialog .modal-body .popup-slide {
        position:relative;width:100%;max-width:100%;min-width:0;
        margin:0;overflow:hidden;box-sizing:border-box;
    }
    #swiper_popup .popup-slide .swiper-wrapper {
        display:flex;align-items:stretch;box-sizing:content-box;
        /* Swiper 자체의 transform 및 폭 계산을 그대로 사용 */
    }
    #swiper_popup .popup-slide .swiper-wrapper > .swiper-slide {
        flex-shrink:0;max-width:none;min-width:0;box-sizing:border-box;
        /* width:100%!important 금지: Swiper의 inline px 폭과 transform 간격이 깨짐 */
    }
    #swiper_popup .popup-slide .swiper-slide > a,
    #swiper_popup .popup-slide .swiper-slide > a > figure {
        display:block;width:100%;margin:0;padding:0;box-sizing:border-box;
    }
    #swiper_popup .popup-slide .swiper-slide figure > img.popup-single-image {
        display:block!important;width:100%!important;max-width:100%!important;
        height:auto!important;aspect-ratio:1/1;object-fit:contain;
        margin:0;padding:0;box-sizing:border-box;
    }
    #swiper_popup .modal-dialog .modal-content .modal-foot {
        width:100%;box-sizing:border-box;
    }
    #swiper_popup .modal-body .tab-pagination {
        left:0;right:0;width:100%;box-sizing:border-box;
    }
}
