@media (min-width: 1439.98px) {
  .rs-product-gallery {
    padding-top: 80px;
  }
}
.rs-product-gallery__slider {
  overflow: visible;
}
@media (min-width: 991.98px) {
  .rs-product-gallery__slider {
    border-radius: 25px;
    max-height: 592px;
  }
}
@media (min-width: 991.98px) {
  .rs-product-gallery__swiper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 228px);
    gap: 24px;
  }
}
@media (min-width: 991.98px) {
  .rs-product-gallery__slide:nth-child(1) {
    grid-column: 1/3;
    grid-row: 1/3;
  }
  .rs-product-gallery__slide:nth-child(2) {
    grid-column: 3/4;
    grid-row: 1/2;
  }
  .rs-product-gallery__slide:nth-child(3) {
    grid-column: 4/5;
    grid-row: 1/2;
  }
  .rs-product-gallery__slide:nth-child(4) {
    grid-column: 3/4;
    grid-row: 2/3;
  }
  .rs-product-gallery__slide:nth-child(5) {
    grid-column: 4/5;
    grid-row: 2/3;
  }
  .rs-product-gallery__slide:not(:nth-child(-n+5)) {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .rs-product-gallery__slide {
    min-height: 100px;
    height: auto;
  }
}
.rs-product-gallery__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.rs-product-gallery__slide_length {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  z-index: 10;
  cursor: pointer;
  color: #fff;
  font-size: 50px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%; /* 55px */
  letter-spacing: 1.5px;
  pointer-events: none;
}
@media (max-width: 991.98px) {
  .rs-product-gallery__slide_length {
    display: none;
  }
}
.rs-product-gallery__slide_length:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5)));
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: -1;
}