@keyframes showmodal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes closemodal {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.product_detail-modal {
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  background-color: #000;
  border: none;
  overflow: hidden;
  position: relative;
}
.product_detail-modal[data-anim-status=showing] {
  animation: showmodal 0.5s forwards;
}
.product_detail-modal[data-anim-status=closing] {
  animation: closemodal 0.5s forwards;
}
.product_detail-modal-closebutton {
  width: 3rem;
  height: 3rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: absolute;
  top: 2rem;
  right: 3rem;
  z-index: 2;
}
.product_detail-modal .swiper {
  height: calc(100% - 5rem);
}
.product_detail-modal .swiper img {
  width: auto;
  height: 100%;
  aspect-ratio: auto 1/1;
  margin: auto;
}

.product_zoommodal-bottombar {
  width: 100%;
  height: 5rem;
  background-color: #2b2b2b;
  padding: 1.3rem 3rem;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.product_zoommodal-slidercontroller {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
}
.product_zoommodal-slidercontroller .swiper-button-next,
.product_zoommodal-slidercontroller .swiper-button-prev,
.product_zoommodal-slidercontroller .swiper-pagination {
  width: max-content;
  height: max-content;
  position: static;
  margin: 0;
}
.product_zoommodal-slidercontroller .swiper-button-prev::after,
.product_zoommodal-slidercontroller .swiper-button-next::after {
  width: 2.5rem;
  height: 2.5rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  content: "";
}
.product_zoommodal-slidercontroller .swiper-button-prev::after {
  background-image: url(../../Contents/ImagesPkg/product/icon_slider-prev.svg);
}
.product_zoommodal-slidercontroller .swiper-button-next::after {
  background-image: url(../../Contents/ImagesPkg/product/icon_slider-next.svg);
}
.product_zoommodal-slidercontroller .swiper-pagination {
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3684;
}
@media screen and (max-width: 767px) {
  .product_detail-modal-closebutton {
    top: 1.5rem;
    right: 1.5rem;
  }
  .product_detail-modal .swiper-slide {
    display: flex;
    align-items: center;
  }
  .product_detail-modal .swiper img {
    width: 100%;
    height: auto;
  }
}
