input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.left_product_image {
  flex: 1 1 35%;
  position: relative;
}
.quantity-Btn{
  gap: 20px;
  @media (max-width:640px) {
    gap: 10px;
  }
  .addtocart-btn{
    @media (max-width:425px) {
      flex: 1;
    }
    .product-detail-btn{
      padding: 10px 20px !important;
      width: fit-content;
      height: 42px;
      @media (max-width:425px) {
        padding: 10px !important;
      }
    }
  }
}
.right_product_details {
  flex: 1 1 55%;
  a {
    color: #681e77;
    font-weight: 800;
  }
}

.product-detail-btn {
  border-radius: 5px !important;
  padding: 11px 0 !important;
  i{
    font-size: 14px;
  }
  span {
    font-size: 14px !important;
    @media (max-width:425px) {
      font-size: 12px !important;
    }
  }
}

.thumbnail_container {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: initial;
  position: relative;
}
.thumbnail_container::-webkit-scrollbar {
  display: none; /* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
}

.right-arrow-slider {
  position: absolute !important;
  bottom: -10px;
  left: 50%;
  z-index: 10;
  background-color: white;
  transform: translateX(-50%) rotate(0deg) !important;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.left-arrow-slider {
  position: absolute !important;
  top: -10px;
  left: 50%;
  z-index: 10;
  background-color: white;
  transform: translateX(-50%) rotate(0deg) !important;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.accordion-button {
  text-align: left;
  font-weight: bold;
  color: #681e77;

  &:focus {
      outline: none;
      box-shadow: none;
  }
}
.accordion-button:not(.collapsed) {
  color: white;
  background-color: #681e77;
  box-shadow: inset 0 calc(-1* var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button::after {
  background-image: url(../img/icons/down-arrow.png);
}

.accordion-button:not(.collapsed)::after {
  color: white !important;
  background-image: url(../img/icons/arrow-up.png);
  background-size: contain;
}
@media (max-width: 768px) {
  .right-arrow-slider {
    right: 0;
    left: unset;
    bottom: 50%;
    transform: translateX(-50%) rotate(270deg) !important;
  }
  .left-arrow-slider {
    left: 0;
    top: 50%;
    transform: translateX(-50%) rotate(270deg) !important;
  }
}

.product_thumbnail {
  max-width: 110px;
  max-height: 110px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .product_thumbnail {
    max-width: 60px;
    max-height: 60px;
    overflow: hidden;
    cursor: pointer;
  }
}
.product_thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  aspect-ratio: 1 / 1;
}

/* thumbnail slider */

.thumbnail_slider {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
@media (max-width: 768px) {
  .thumbnail_slider {
    display: flex;
    flex-direction: row;
    gap: 10px;
    position: relative;
  }
}
.thumbnail_slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
}

.product_detail_title h2 {
  color: #681e77;
  font-size: 24px;
}
.test-description .description-inner .hsp_test_list h6 {
  font-weight: 700;
}
.test-orange{
  color: #ff5e01;
}

.product_detail_price {
  color: #681e77;
  font-weight: 700;
  font-size: 20px;
}

.product_detail_description {
  /*  background-color: #faf0e6;
   padding: 40px;
   border-radius: 6px; */
  
  .test-description {
    background-color: #faf0e6;
    /*  padding: 20px; */
    border: 1px solid rgb(33 37 41 / 25%);
    border-radius: 6px;
    h4{
      padding: 18px 18px 0px 18px;
    }
    .description-inner {
      font-family: "Lato", serif;
      padding: 0px 18px 18px 18px !important;
      p{
        font-family:  "Lato", serif !important;
      }
  }
}
  h4 {
    font-weight: bold;
    color: #681e77;
  }
}
@media (max-width: 640px) {
  /*  .product_detail_description {
     padding: 12px;
   } */
}

.share_product {
  border: 2px solid #681e77;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.main-img {
  position: relative;
  padding-bottom: 100%;
}

.main-img img.card-img-top {
  width: 100%;
  position: absolute;
  object-fit: cover;
  height: 100%;
  left: 0;
  top: 0;
}

.main-image-container {
  max-height: fit-content;
  img {
    height: 100%;
    object-fit: cover;
    /*  aspect-ratio: 1/1; */
  }

}

@media (max-width: 640px) {
  .main-image-container {
    img {
      /*  height: 300px !important; */
      object-fit: cover;
    }
  }
}

/* slider */

.main-image-container {
  position: relative;
  width: 100%;
  text-align: center;
  flex-basis:80%;
  &:hover .arrow{
    opacity: 1;
  }
}

.main-image-container img {
  width: 100%;
  height: auto;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: bold;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  @media (min-width:1024px) {
    opacity: 0;
    transition: all 0.3s ease;
  }
}

.thumbnail-dub {
  position: relative;
  flex-basis: 15%;
  max-height: fit-content;
}
/*  .arrow-slider {
   position: absolute;
   left: 50%;
   transform: translateY(-50%) translateX(-50%);
   font-size: 24px;
   font-weight: bold;
   padding: 10px;
   width: 40px;
   height: 40px;
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: rgba(255, 255, 255, 0.8);  Semi-transparent background 
   border-radius: 50%;
   cursor: pointer;
   z-index: 10;
   user-select: none;
   color: #333;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
 } */

@media (max-width: 768px) {
  .arrow-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(
      255,
      255,
      255,
      0.8
    ); /* Semi-transparent background */
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
}
.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.arrow:hover {
  background-color: #ddd;
}

.product_detail_slide {
  z-index: 4;
}

.product_thumbnails:hover:before {
  display: none !important;
}

.detail_quantity {
  max-width: 35px;
  text-align: center;
  border-radius: 0 !important;
  border: none !important;
  padding: 6px 0px;
  @media (max-width:640px) {
    font-size: 14px;
    max-width: 28px;
  }
}
.right_product_details{
  .quantity-price{
    .form-group{
      border: 1px solid #681e78;
      height: 40px;
      border-radius: 5px !important;
    }
  }
}

.product_thumbnails {
  .minus-icon,
  .plus-icon {
    cursor: pointer;
    display: flex;
    color: #681e78;
    align-items: center;
    /*  border: 1px solid #681e77; */
    &::before{
      color: #681e78;
    }
  }
  .minus-icon{
    border-right: none;
  }
  .plus-icon{
    border-left: none;
  }
}

.product_thumbnail img.active {
  border: 2px solid #681e77; /* Blue border */
  border-radius: 4px; /* Optional: To make the border rounded */
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.5); /* Optional: Glow effect */
}

.read-more {
  font-weight: 700;
  color: #681e77;
}

.readmore-content {
  overflow: hidden;
  max-height: 70px; /* Initial truncated height */
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-bottom: 0; /* Ensure smooth collapse */
}

.readmore-content.expanded {
  max-height: 200px; /* Large enough to fit full content */
  padding-bottom: 10px; /* Add some spacing when expanded */
}

.product_details_slide {
  padding: 20px 10px;
  @media (max-width:991px) {
    padding: 15px 15px 15px 0;
  }
  @media (max-width:768px) {
    padding: 10px 10px 10px 0;
  }
}