.gallery-fabric {
  width: 330px;
  height: 495px;
  margin-bottom: 4px;
  opacity: 0;
  z-index: 2;
  transition: all .25s ease;
}

.gallery-fabric .main-gallery-slider {
  min-height: fit-content;
}

.gallery-fabric .main-gallery-slider img {
  min-height: 490px;
  min-width: 330px;
}

.shirtorders_new_images_single label {
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.shirtorders_new_images_single .preview {
  position: absolute;
  top: 11px;
  left: 0;
  width: 330px;
  height: 490px;
  opacity: 1;
  z-index: 0;
  transition: all .25s ease;
}

.shirtorders_new_images_single .preview img {
  height: 100%;
  width: 100%;
  max-height: 470px;
  object-fit: contain;
}

:root {
  --swiper-theme-color: #b0b1b2;
}

.shirtorders_new_images_single:hover .gallery-fabric {
  opacity: 1;
}

.shirtorders_new_images_single:hover .preview {
  opacity: 0;
}

.view-single-fabric {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
}

.view-single-fabric .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.view-single-fabric .modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 95%;
  width: 95%;
  max-height: 800px;
  max-width: 800px;
  z-index: 10;
}

.view-single-fabric .modal .close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 40px;
  z-index: 2;
  cursor: pointer;
}

.main-fabric-swiper {
  height: 600px;
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 5px;
}

.main-fabric-swiper .view-modal-slider {
  height: 100%;
}

.main-fabric-swiper .view-modal-slider .lslide {
  height: 600px;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
}