*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.color {
  filter: grayscale(0%) !important;
}

.display {
  display: block !important;
  z-index: 4;
  opacity: 100% !important;
}

.carousel {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column; /* stack children vertically */
}

.carousel > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slide {
  display: none;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  inset: 0;
  transition: visibility 0.5s linear 0.3s, opacity 0.5s linear, height 0.3s ease;
  opacity: 0%;
}

.carousel-top {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0px 0;
  z-index: 1;
  margin-bottom: 70px;
}

.top-image {
  filter: grayscale(100%);
}

.top-image img {
  width: 65px; /* Make the image fill its container */
  object-fit: cover; /* To keep aspect ratio of the image */
  margin: 0 30px;
  cursor: pointer;
  background-color: white;
  border-radius: 15px;
  transition: opacity 0.5s ease-in-out;
  filter: inherit;
}

.carousel-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 100%;
  margin: 0 15px 0 15px;
  background-color: white;
  border: 2px solid #11ddac;
  color: #11ddac;
  cursor: pointer;
}

.carousel-button:hover {
  transition: 0.15s all ease-in-out;
  opacity: 0.6;
}

.related-products__wrapper {
  display: flex;
  justify-content: center;
}

.rrelated-products__carousel {
  position: relative;
  background-color: transparent;
  height: 375px;
  display: flex;
  overflow-x: hidden;
  justify-content: center;
  max-width: 828px;
  align-items: center;
}

.scrollable-content {
  transition: transform 0.3s ease;
  position: relative;
  display: flex;
}

.scrollable-content .related-product {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  width: 220px;
  height: 295px;
  margin: 10px 28px;
}

.translate {
  transform: translateX(0);
}

.carousel-button > span {
  font-size: 24px;
  position: relative;
  top: 1px;
}

.product-carousel-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pproduct-carousel {
  width: 300px;
  aspect-ratio: 1;
  position: relative;
}

.ccarousel-image {
  position: absolute;
  opacity: 1;
  transition: all 0.6s ease-in-out;
}

.thumbnail-image img {
  width: 60px;
  height: 60px;
}

.opaque {
  opacity: 0.3;
}

.thumbnails {
  position: absolute;
  padding: 10px 0;
  bottom: -10px;
  width: 280px;
  overflow: hidden;
}

.scrollable-nails {
  display: flex;
  gap: 10px;
  width: 400px;
}

.r-left, .r-right {
  width: 36px;
  height: 36px;
  display: flex;
  font-size: 10px;
  font-size: 0.625rem;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e7fcf7;
  z-index: 1;
  cursor: pointer;
  transition: all 0.25s;
  color: #11ddac;
  margin: 0 5px;
}

.r-left:hover, .r-right:hover {
  background-color: #11ddac;
  transition: all 0.25s ease-in-out;
  color: white;
}

.dormant {
  opacity: 0;
  transition: all 0.3s ease;
}

@media only screen and (max-width: 1200px) {
  .rrelated-products__carousel {
    max-width: 276px;
  }
  .related-product {
    background-color: white;
  }
  .sizeable-content {
    position: relative;
  }
  .top-image img {
    margin: 0 15px;
  }
  .doc-carousel__item {
    width: 620px;
  }
  .ccarousel-image, .ccarousel-image > img, .pproduct-carousel {
    width: 230px;
    aspect-ratio: 1;
  }
  .carousel-button {
    width: 24px;
    height: 24px;
  }
  .carousel-button > span {
    font-size: 20px;
  }
}
@media only screen and (max-width: 770px) {
  .thumbnails {
    display: none;
  }
  .doc-carousel__item {
    width: 350px;
  }
}
@media only screen and (max-width: 420px) {
  .r-left, .r-right {
    margin: 0;
  }
  .ccarousel-image, .ccarousel-image > img, .pproduct-carousel {
    width: 100%;
    max-width: 230px;
    aspect-ratio: 1;
  }
}
.carousel-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.productListCarousel {
  display: flex;
  width: 100%;
  flex-flow: row nowrap;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 50px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  -webkit-overflow-scrolling: touch; /* Safari */
  margin-bottom: 15px;
}

.productListCarousel::-webkit-scrollbar { /* Chrome, Safari and Opera */
  display: none;
}

.order-treatment__products--item {
  flex: 0 0 auto;
  width: 25%; /* Adjusted width to show only 2 items */
  margin-right: 0px; /* This will provide some spacing between your items */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.slider-btn-next, .slider-btn-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.slider-btn-next .icon, .slider-btn-prev .icon {
  display: block;
  font-weight: 600;
  color: #11ddac;
  transition: all 0.25s ease-in-out;
}

@media (max-width: 1200px) {
  .order-treatment__products--item {
    width: 33%;
  }
  .order-treatment .slider-btn-next {
    right: -40px !important;
    top: 40%;
  }
  .order-treatment .slider-btn-prev {
    left: -40px !important;
    top: 40%;
  }
}
@media (max-width: 764px) {
  .productListCarousel {
    justify-content: unset;
  }
  .order-treatment__products--item {
    width: 100%;
  }
  .order-treatment .slider-btn-next {
    right: 50px !important;
    top: 40%;
  }
  .order-treatment .slider-btn-prev {
    left: 50px !important;
    top: 40%;
  }
}
@media (max-width: 500px) {
  .order-treatment .slider-btn-next {
    right: 0px !important;
  }
  .order-treatment .slider-btn-prev {
    left: 0px !important;
  }
}