.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* ---------- PRODUCT PAGE LAYOUT ---------- */
.product-page {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}

/* ---------- IMAGE SECTION ---------- */
.product-images {
  display: flex;
  flex-direction: column; /* stack main image above thumbnails */
  align-items: center;
  width: 50%;
  gap: 15px;
  margin-bottom: 1rem; /* FIX: changed from 1in → 1rem */
}

.main-image img {
  width: 350px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* Thumbnails Row */
.thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding: 5px 0;
}

.thumbnails img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: border 0.2s;
  object-fit: cover;
}

.thumbnails img:hover {
  border: 2px solid #9C1137;
}

/* ---------- PRODUCT INFO ---------- */
.product-info {
  width: 50%;
  padding: 20px;
  background: #fff6ed;
  border-radius: 10px;
}

.price {
  font-size: 24px;
  color: #000;
  font-weight: bold;
}

.breakdown-btn {
  background: #a6004c;
  color: white;
  padding: 8px 12px;
  border: none;
  margin: 10px 0;
  cursor: pointer;
  border-radius: 5px;
}

.description {
  color: #555;
}

/* ---------- QUANTITY CONTROL ---------- */
.quantity-control {
  display: flex;  /* FIX: added */
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.quantity-control button {
  width: 35px;
  height: 35px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.quantity-control input {
  width: 50px;
  text-align: center;
  border: 1px solid #ccc;
}

/* ---------- ACTION BUTTONS ---------- */
.action-buttons button {
  padding: 10px 20px;
  margin-right: 10px;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
}

.cart-btn, .buy-btn {
  background:#9C1137;
  color: white;
  border: none;
}

.delivery-info {
  margin-top: 15px;
  font-size: 14px;
}

/* ---------- RELATED PRODUCTS (Carousel) ---------- */
#relatedProductsCarousel .carousel-inner {
  padding: 20px 0;
}

#relatedProductsCarousel .card {
  background-color:#FFF0D5;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  height: 320px;
  transition: transform 0.3s ease;
}

#relatedProductsCarousel .card:hover {
  transform: translateY(-5px);
}

#relatedProductsCarousel .card img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: cover;
}

#relatedProductsCarousel .card h6 {
  color: #7e1e41;
  font-size: 14px;
  margin-bottom: 6px;
}

#relatedProductsCarousel .card p {
  font-size: 13px;
  color: #7e7e7e;
}

/* Carousel controls */
#relatedProductsCarousel .carousel-control-prev-icon,
#relatedProductsCarousel .carousel-control-next-icon {
  background-color: #7e1e41;
  border-radius: 50%;
  padding: 10px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.testimonial {
  background: white;
  padding: 20px;
  border-radius: 10px;
  flex: 1;
}

.testimonial .user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.testimonial img {
  width: 40px;
  border-radius: 50%;
}

.testimonial-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: auto;
}

.testimonial-card .message {
  font-style: italic;
  font-size: 1.1rem;
}

.testimonial-card .user h5 {
  margin: 0;
  font-weight: bold;
}
