#mainCarousel {
  width: calc(100% - .5rem);
  margin-bottom: 1rem;
  margin-left: .25rem !important;
  margin-right: .25rem !important;

  --carousel-button-color: #170724;
  --carousel-button-bg: #fff;
  --carousel-button-shadow: 0 2px 1px -1px rgb(0 0 0 / 20%),
    0 1px 1px 0 rgb(0 0 0 / 14%), 0 1px 3px 0 rgb(0 0 0 / 12%);

  --carousel-button-svg-width: 20px;
  --carousel-button-svg-height: 20px;
  --carousel-button-svg-stroke-width: 2.5;
}

#mainCarousel .carousel__viewport {
    max-height: 450px;
    border-radius: var(--bs-border-radius) !important;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
}

@media(max-width: 1199px) {
  #mainCarousel .carousel__viewport {
    max-height: 320px;
  }
}

@media(max-width: 991px) {
  #mainCarousel .carousel__viewport {
    max-height: 450px;
  }
}

@media(max-width: 768px) {
  #mainCarousel .carousel__viewport {
    max-height: 350px;
  }
}

@media(max-width: 576px) {
  #mainCarousel .carousel__viewport {
    max-height: 300px;
  }
}

@media(max-width: 480px) {
  #mainCarousel .carousel__viewport {
    max-height: 250px;
  }
}

@media(max-width: 320px) {
  #mainCarousel .carousel__viewport {
    max-height: 200px;
  }
}

#mainCarousel .carousel__slide {
  width: 100%;
  padding: 0;
  text-align: center;
}

#mainCarousel .carousel__slide img {
  width: 100%;
}

#mainCarousel .carousel__button.is-prev {
  left: -1.5rem;
}

#mainCarousel .carousel__button.is-next {
  right: -1.5rem;
}

#mainCarousel .carousel__button:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--bs-secondary);
}

#thumbCarousel .carousel__slide {
  opacity: 0.5;
  padding: 0;
  margin: 0.25rem;
  width: 96px;
  height: 64px;
}

#thumbCarousel .carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

#thumbCarousel .carousel__slide.is-nav-selected {
  opacity: 1;
}
