.carousel-sliders {
    position: relative;
    padding-left: 100px;
    float: left;
    width: 100%;
    max-width: 650px;
}

.product-detail {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
}

.product-detail .breadcrumb {
  padding: 1.25rem 0;
  margin-bottom: 0;
  color: #222;
    font-weight: 700;
    font-size: 12.8px;
}

.product-detail .breadcrumb a {
  color: hsla(0, 0%, 40%, .7);
  font-weight: 400;
  text-decoration: none;
}

.product-detail .breadcrumb span {
  font-weight: 300;
      margin: 0 .3em;
      opacity: .35;
}


/* Main carousel styling */
#productCarousel .carousel-item img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

/* Thumbnail styling */
.thumbnail-carousel img {
    height: 100px;
    object-fit: contain;
    cursor: pointer;
    border: 2px solid transparent;

}

.thumbnail-carousel img:hover {
    border-color: whitesmoke;
    transform: scale(1.05);
}


.product-info {
    position: relative;width: 50%;
}

.divider {
    width: 5%;
    height: 3px;
    background-color: black;
    margin: 20px 0;
}

.product-title h1 {
    font-size: 24px;
    margin-bottom: 20px;

    padding-bottom: 10px;
    background-size: 20% 1px;
    color: #000;
}

.product-description {
    line-height: 1.6;
}

.product-description p {
  font-size: 1rem;
}

.product-description br  {
  display: block;
    margin-bottom:  1rem;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}


.button-shoppe,
.button-lazada {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 10px;
    border-radius: 20px;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    border: 2px solid black;
    text-decoration: none;
}

.button-shoppe:hover,
.button-lazada:hover {
    background-color: #000;
    color: #fff;
}


/**/
.product-section {
    clear: both;
    padding-top: 40px;
    padding-left: 100px;
    padding-right: 100px;
}

.related-products-carousel {
    position: relative;
    overflow: hidden;
}

/**/

.product-section-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

#relatedProductsCarousel {
    position: relative;
}

.product-small {
    margin-bottom: 20px;
}

.box-image img {
    height: auto;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
    width: 100%;
    object-fit: contain;

}

.box-image:hover img {
    transform: scale(1.05);
}

.box-text-title a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.box-text-price {
    font-weight: bold;
    margin-top: 5px;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-inner:hover .carousel-control-prev,
.carousel-inner:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: transparent;
    border: none;
    color: #111;
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: 36px;
    transition: transform 0.3s, opacity 0.3s, background 0.3s, box-shadow 0.3s;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: invert(20%) sepia(10%) saturate(1000%) hue-rotate(180deg) brightness(0%) contrast(100%);
    border-radius: 50%;
}

.carousel-control-prev-icon {
    margin-right: 150px;
}

.carousel-control-next-icon {
    margin-left: 150px;
}

.thumbnail_slider {
    max-width: 700px;
    width: 50%;
}

.splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto !important;
    aspect-ratio: 1/1;
    width: 100%;
    overflow: hidden;
    transition: .2s;
    border-width: 2px !important;
    margin: 10px 4px;
}

.splide--nav > .splide__track > .splide__list > .splide__slide.is-active {
    box-shadow: 2px 3px 8px #000000a3;
}

.splide--nav > .splide__track > .splide__list > .splide__slide {
  background-size: contain !important;
}

.splide__slide img {
    width: auto;
    height: auto;
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    aspect-ratio: 1/1;
    width: 100%;
}


.splide__slide:hover ,.splide__slide.is-active {
  border: 1px solid rgba(0,0,0,.3) !important;
}

#thumbnail_slider {
margin-top: 15px
}

@media (max-width: 1023px) {
  .product-section {
    padding: 1rem;
  }
  .max-lg\:hidden {
    display: none;
  }
  .splide--nav > .splide__track > .splide__list > .splide__slide {
    max-width: 66px;
    max-height: 66px;
  }

  .box-image {
    max-width: 200px;
    max-height: 200px;
      margin: auto;
  }
}

@media (max-width: 767px) {
  .product-detail .flex.gap-4 {
    flex-direction: column;
  }

  .thumbnail_slider {
    width: 100%;
    max-width: 100%;
  }

  .product-info {
  width: 100%;
  }

  .max-md\:hidden {
    display: none;
  }

}

.splide__track--fade>.splide__list>.splide__slide.is-active {
     background-size: contain !important;
}
