/* BASIC css start */
.popup_main {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  z-index: 9999;

  width: 320px;
  max-width: calc(100vw - 32px);

  background: #fff;
  display: none;

  border-radius: 16px;
  overflow: hidden;

  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}

.popup_main.active {
  display: block;
}

.popup_main > div {
  position: relative;
}

/* 정사각형 이미지 영역 */
.popup_main .swiper-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.popup_main .swiper-wrapper {
  padding: 0;
  margin: 0;
}

.popup_main .swiper-slide {
  list-style: none;
}

/* 이미지 꽉 채우기 */
.popup_main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 슬라이드 번호 */
.popup_count {
  position: absolute;
  right: 12px;
  top: 12px;

  padding: 4px 9px;
  border-radius: 20px;

  background: rgba(0,0,0,.45);
  color: #fff;

  font-size: 11px;
  font-weight: 600;

  z-index: 10;
}

/* 화살표 */
.popup_main .swiper-button-next,
.popup_main .swiper-button-prev {
  display: none;

  width: 13px;
  height: 24px;

  background-size: 100%;
  outline: none;
}

.popup_main .swiper-button-next:after,
.popup_main .swiper-button-prev:after {
  display: none;
}

.popup_main .swiper-button-prev {
  left: 16px;
  right: auto;
  background-image: url(//dainpark06.cafe24.com/sunny/images/ico_mvleft.png);
}

.popup_main .swiper-button-next {
  right: 16px;
  left: auto;
  background-image: url(//dainpark06.cafe24.com/sunny/images/ico_mvright.png);
}

/* 하단 버튼 */
.popup_main .btns {
  display: flex;
  align-items: center;

  height: 38px;

  background: #fff;
  border-top: 1px solid #eee;
}

.popup_main .btns a {
  flex: 1;

  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #333;
  font-size: 12px;
  line-height: 1;

  text-decoration: none;
  box-sizing: border-box;
}

.popup_main .btns a:first-child {
  border-right: 1px solid #eee;
}
/* BASIC css end */

