.proImg {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: scroll;
}

.proImg::-webkit-scrollbar {
    width: 0;
}

@media (max-width: 768px) {
    .proImg {
        position: relative;
    }
}

.main-product-image {
    max-width: 600px;
    max-height: 600px;
    border: 1px solid rgba(128,128,128,0.2);
    border-radius: 1rem;
    overflow: hidden;
}
@media (min-width: 768px) {
    .main-product-image {
    position: relative;
    cursor: zoom-in;
}
.zoom img:hover {
    opacity: 0;
  }

  .zoom img {
    transition: opacity 0.5s;
    display: block;
    width: 100%;
  }
}

.zoom-in-image {
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.main-product-image img {
    object-fit: cover;
}

.toggle-image {
    border: 1px solid rgba(128,128,128,0.2);
    padding: 5px;
    max-width: 100px;
    max-height: 100px;
    cursor: pointer;
    flex-shrink: 0;
}

.product-image-collection {
  overflow-x: auto;
  justify-content: start;
  scrollbar-width: none;
  
}

.initial-price {
    text-decoration: line-through;

}

.main-product-name {
    letter-spacing: 2px;
}

#counter {
    font-size: 20px;
     margin: 0 5px;
}

.increment-buttons {
    border: 1px solid rgba(128,128,128,0.8);
    padding: 16px 26px;
    background-color: white;
    border-radius: 50%;
}

.review-content {
    border: 1px solid gray;
    border-radius: 1rem;
    padding: 20px;
    margin: 20px;
  }

  .review-heading {
    text-align: start;
  }

  .review-box {
    border: 1px solid gray;
      border-radius: 1rem;
      padding: 20px;
      margin: 20px;
      text-align: start;
  }
  
  .review-box h5 {
    font: bold;
    padding: 10px;
    padding-bottom: 0;
    margin: 0;
  }
  
  #rating-text {
    margin-top: -2px;
  }
  #review-text {
    font: bold;
    padding-top: 10px;
  }
  
  /* Define styles for unchecked and checked stars */
  .review-stars {
    font-size: 24px;
    color: #ccc; /* Default color of unchecked stars */
    cursor: pointer;
  }
  .review-stars.checked {
    color: #ffc107; /* Color of checked stars */
  }
  

  .rating {
    width: 110px;
    direction: rtl;
    justify-content: flex-start;
  }
  .rating-icon {
    unicode-bidi: bidi-override;
    text-align: center;
  }

  .star {
    display: inline-block;
    margin: 0;
    font-size: 30px;
    color: #FFD700; /* Gold color */
  }

 
  .rating label {
    float: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  .rating label:not(:first-of-type) {
    padding-right: 2px;
  }
  .rating label:before {
    content: "\2605";
    font-size: 25px;
    gap: 5px;
    color: gray;
    line-height: 1;
  }
  .rating input {
    display: none;
  }
  .rating input:checked ~ label:before, .rating:not(:checked) > label:hover:before, .rating:not(:checked) > label:hover ~ label:before {
    color: #FFD700;
  }
