.custom-popup {
  position: fixed;
  z-index: 99999999999999;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  transition: all 0.5s ease;
  overflow: hidden;  height: auto !important; padding-bottom: 40px
}
.custom-popup.imgum1 {
  position: fixed;
  z-index: 99999999999999;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  transition: all 0.5s ease;
  overflow: hidden;  height: auto !important; padding-bottom: 0px
}
.custom-popup.slide-out {
  transform: translateY(100%);
  opacity: 0;
}
.mobile-fixed {
  bottom: 0;
  left: 0 !important;
  right: 0;
  width: 100% !important;
  height: auto !important;
}

.popup-header {
  height: 45px;
  padding: 8px 12px;
  background: #222;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  cursor: move;
}
.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.popup-body {
  padding: 0 !important; margin-bottom: 0!important
}

.popup-footer {
  background: #f9f9f9;
  padding: 0 12px;
  height: 40px;
  font-size: 0.9em;
  text-align: right;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;; font-size: 13px
}

.popup-body	 .swiper-pagination {
position: absolute; bottom: 0px!important; left: 0px; background-color: #333;   display: grid;   grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); height: 40px; padding: 0px!important; color: #fff;
}
.popup-body	.swiper-slide{padding-bottom:37px;}
.popup-body	 .swiper-pagination span {
  padding: 0px 0px!important;
  margin: 0px!important;

 border-radius: 0px;
  cursor: pointer;
  font-size: 12px; width: 100%; height: 40px;display: flex;  justify-content: center;  align-items: center;   
}
.popup-body	 .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--primary);;
  color: #fff;
}
	
/* 공통 스타일 */
.popup-body	.swiper-pagination-bullet {
  background: none !important;
  border: none !important;
  color: #fff!important;
  font-size: 13px !important;
  font-weight: normal !important;
  opacity: 1 !important; /* Swiper가 기본적으로 비활성 탭에 opacity를 줄 수 있음 */
  padding: 10px 5px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

/* 활성화된 탭 */
.popup-body	.swiper-pagination-bullet-active {
  color: #fff !important;
  background: var(--primary) !important;
  font-weight: bold !important;
  border-radius: 3px;
}
.popup-img {
  width: 100%;
  display: block;
}
	.custom-popup {
  transition: all 0.5s ease;
}

.custom-popup.slide-out {
  transform: translateY(100%);
  opacity: 0;
}
	.hide-swiper-ui {
  display: none !important;
}