html.remodal-is-locked {
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
}

.remodal,
[data-remodal-id] {
  display: none;
}

.remodal-overlay {
  position: fixed;
  z-index: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;
  display: none;
}

.remodal-wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  left: 0;
  display: none;
  /* overflow: auto; */
  text-align: center;
  -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
  display: inline-block;
  height: 100%;
  margin-left: -0.05em;
  content: "";
}

.remodal-overlay,
.remodal-wrapper {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.remodal {
  position: relative;
  outline: none;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.remodal-is-initialized {
  display: inline-block;
}

/* ------------------------------ GALLERY MODAL ----------------------------- */
.backdrop {
  z-index: 10000;
  background: rgba(43, 46, 56, 0.9);
  opacity: 1;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  height: 100%;
}

.backdrop.is-hidden .modal {
  transform: translate(-50%, -50%) scale(0.8);
}

.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.backdrop--position {
  position: fixed;
  top: 0;
  left: 0;

}

.modal {
  position: relative;
  transform: translate(-50%, -50%) scale(1);
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}


.modal--position {
  position: absolute;
  top: 50%;
  left: 50%;
}

.modal .remodal-close {
  position: absolute;
  top: 0;
  right: -2%;
}

.modal .arrow-container {
  position: absolute;
  top: 90%;
  left: 5%;
  width: 90%;
  z-index: 999;
}

.modal .swiper-price-prev,
.modal .swiper-price-next {
  width: 50px;
  height: 50px;
  z-index: 10;
  cursor: pointer;
  -moz-background-size: 50px 50px;
  -webkit-background-size: 50px 50px;
  background-size: 50px 50px;
  background-position: center;
  background-repeat: no-repeat;
}

.modal .main-photo-container {
  margin: 30px 0;
  border: none;
  background: none;
}

.modal .main-photo-container img {
  width: 100%;
}

/* ---------------------------------- MEDIA --------------------------------- */
@media screen and (max-width:992px) {
  .modal .main-photo-container img {
    width: 170%;
  }

  .modal .remodal-close {
    right: -37%;
  }
}

@media screen and (max-width:480px) {
  .modal .arrow-container {
    left: 5%;
    width: 90%;
  }

  .modal .remodal-close {
    right: -40%;
  }

  .modal .swiper-price-prev,
  .modal .swiper-price-next {
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
  }
}