.gallery-container {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  overflow: hidden;
}

.gallery-main {
  width: calc(100% - 113px);
  height: 400px;
  margin-left: 5px;
  border-radius: 8px;
  box-shadow: 0 50px 75px 50px rgba(#1e1e1e, 0.18);

  .swiper-button {
    &-prev,
    &-next {
      position: absolute;
      bottom: 0;
      right: 0;
      top: 50;
      left: auto;
      height: 75px;
      width: 40px;
      color: #e9e9e9;
      background: #1e1e1e;

      &::after {
        font-size: 12px;
      }
    }

    &-prev {
      right: 40px;
      border-right: 1px solid #e9e9e9;
    }
  }
}

.gallery-title {
  position: absolute;
  top: 15px;
  right: 15px;
  font-family: "Epilogue", sans-serif;
  font-size: 50px;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(#000, 0.3);
  color: #ffffff;
}

.swiper-slide-active & {
  animation: slide-in 0.3s ease-in both;
}

.gallery-thumbs {
  overflow-y: scroll;
  overflow-x: hidden;
  order: -1;
  width: 100px;
  height: 400px;
}
.gallery-thumbs .swiper-slide img {
  transition: 0.3s;
}
.gallery-thumbs .swiper-slide-active {
  opacity: 0.9;
}
.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

/**
   * Optionnal
   */
html,
body {
  width: 100%;
  height: 100%;
}

@keyframes slide-in {
  from {
    opacity: 0;
    right: -50%;
  }
}

.swiper-button-prev {
  left: 118px !important;
  font-size: 8px;
}

.swiper-button-next {
  right: 14px;
  font-size: 8px;
}

.swiper-button-next:after {
  font-size: 16px;
}

.swiper-button-prev:after {
  font-size: 16px;
}

.swiper-button-next,
.swiper-button-prev {
  height: 16px;
  width: 16px;
}

.swiper-button-prev:after {
  height: 16px;
  width: 16px;
}

.gallery-thumbs .swiper-slide img {
  border-radius: 8px;
  height: 100%;
  width: 99px;
}

.swiper-slide {
  height: 400px;
  width: 100%;
}
.swiper-slide img {
  object-fit: cover;
  width: 100%;
  height: 400px;
  border-radius: 8px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #292d32;
}

.swiper-button-next,
.swiper-button-prev {
  border-radius: 6px;
  background-color: #d9d9d9;
  padding: 10px;
}

@media (max-width: 420px) {
  .gallery-main {
    width: 100%;
    margin-left: 0px;
  }

  .gallery-container {
    height: 300px;
  }

  .swiper-fade .swiper-slide {
    align-items: normal;
  }

  .gallery-thumbs {
    display: none;
    width: 80px;
    height: 300px;
  }
  .gallery-thumbs .swiper-slide {
    height: 70px !important;
  }
  .gallery-thumbs .swiper-slide img {
    width: 80px;
    height: 100%;
  }

  .product-titles {
    font: 600 26px / 110% OpenSans-SemiBold !important;
  }

  .gallery-thumbs {
    display: none;
    width: 80px;
    height: 300px;
  }
  .gallery-thumbs .swiper-slide {
    height: 70px !important;
  }
  .gallery-thumbs .swiper-slide img {
    width: 80px;
    height: 100%;
  }

  .swiper-button-prev {
    left: 10px !important;
    top: 60% !important;
  }

  .swiper-button-prev {
    right: 5px !important;
  }
  .swiper-button-next {
    top: 60% !important;
  }

  .swiper-slide {
    height: 300px;
    width: 100%;
  }
  .swiper-slide img {
    height: 300px;
  }

  .swiper-slide {
    height: 400px;
    width: 100%;
  }

  .swiper-vertical > .swiper-wrapper {
    gap: 7px;
  }
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumbs {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.swiper-vertical .swiper-wrapper .swiper-slide img {
    border-radius: 8px;
    height: 95px;
    width: 99px;
}

.swiper-vertical .swiper-wrapper .swiper-slide {
    width: 100px;
    height: 100px;
}