#checkout-btn{
  border-radius: 20px;
  background: #000;
  padding: 10px 50px;
  border: none;
  color: white;
  font-weight: bold;
}
#checkout-btn:hover{
  background-color: white;
  color: #000;
  border: 2px solid black;
}
.main_img img{
  border-radius: 10px;
}
/* Custom Styles */
.gallery-thumbnail {
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 2px solid transparent;
}

.gallery-thumbnail:hover {
  transform: scale(1.1);
  border: 2px solid #66778c;
}

.gallery-thumbnail.active-thumbnail {
  border: 2px solid #66778c;
}

.gallery-main {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border: 2px solid #ccc;
  transform: scale(1) translateY(0);
  transition: transform 0.6s ease-in-out; /* Smooth transition for zoom and slide */
}

.product-details {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
}




h3 {
  text-align: center;
  margin-bottom: 20px;
}

/* Star Rating Styles */
.stars {
  /* width: 270px; */
  display: inline-block;
  text-align: center;
  margin-bottom: 20px;
}
input.star {
  display: none;
}
label.star {
  float: right;
  padding: 5px;
  font-size: 16px; /* Adjusted size */
  color: #4A148C; /* Default color for unselected stars */
  transition: all .2s;
  cursor: pointer;
}
input.star:checked ~ label.star:before {
  content: '\f005';
  color: #FD4;
  transition: all .25s;
}
label.star:hover,
label.star:hover ~ label.star {
  color: #FE7;
}
label.star:hover:before,
label.star:hover ~ label.star:before {
  content: '\f005';
}
label.star:before {
  content: '\f006';
  font-family: FontAwesome;
}

/* Submit Button */
#checkout-bt{
  border-radius: 20px;
  background: #000;
  padding: 10px 50px;
  border: none;
  color: white;
  font-weight: bold;
}
#checkout-bt:hover{
  background-color: white;
  color: #000;
  border: 2px solid black;
}

.feedback-form {
display: flex;

}
#feedback-form {
  margin-bottom: 13px;
  
}

/* .feedback{
  background-color: #f0f0f0;;
} */

/* Feedback Container */
.feedback-container {
  margin-top: 20px;
}
.feedback-container div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}
.feedback-container p {
  margin: 0;
  flex: 1;
  padding-right: 10px;
}
.delete-btn {
  color: red;
  cursor: pointer;
  background: none;
  border: none;
}
#average-rating{
  font-size: 16px;
}



.feedback{
  background-color: #f9fafb; 
  border: 1px solid #ccc;    /* Subtle border */
  border-radius: 10px;
  box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
  padding: 10px; /* Soft shadow for depth */
}


.feedback-item {
  position: relative; /* Enable absolute positioning inside this container */
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.feedback-item-content {
  display: flex;
  flex-direction: column;
}

.remove-feedback {
  position: absolute; /* Position the "X" in the top-right corner */
  top: 10px;
  right: 10px;
  color: red;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

.remove-feedback:hover {
  text-decoration: underline;
}
#name, #email, #feedback {
  background: transparent;
  border-radius: 10px;
  border: 2px solid rgb(152, 145, 145);
}
.fg{
  margin-left: 13px;
}

/* Prevent the text from overflowing and overlapping in small screens */
@media (max-width: 576px) {
  .table th, .table td {
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis if text is too long */
  }

  /* Optional: Reduce font size and padding for small devices */
  .table th, .table td {
    font-size: 0.875rem; /* Adjust font size */
    padding: 0.5rem; /* Adjust padding */
  }
}

@media (max-width: 768px) {
  .gallery-thumbnail:hover {
    transform: none;
    border: 2px solid transparent;
  }
}
