.detail-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: sans-serif;
}

.detail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.detail-images {
  flex: 1 1 400px;
  max-width: 500px;
}

.detail-main-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.detail-thumbnail-gallery {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.detail-thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: transform 0.2s ease;
}

.detail-thumbnail:hover {
  transform: scale(1.05);
}

.detail-info-box {
  flex: 1 1 400px;
  max-width: 500px;
}

.detail-info-box h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 12px;
}

.detail-short-desc {
  font-size: 17px;
  color: #555;
  margin-bottom: 15px;
}

.detail-stars {
  font-size: 18px;
  color: #ff9900;
  margin-bottom: 16px;
}

.detail-stars span {
  color: #333;
  margin-left: 6px;
}

.detail-star-icon {
  vertical-align: middle;
}

.detail-price-box {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.detail-price-box .detail-old-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

.detail-btn-cart {
  width: 100%;
  background-color: #7b2be2;
  color: white;
  border: none;
  padding: 14px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.detail-btn-cart:hover {
  background-color: #5e21b5;
}

.detail-long-description h3,
.detail-nutrition h3 {
  margin-top: 30px;
  font-size: 20px;
  font-weight: bold;
}

.detail-long-description p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.detail-nutrition ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.detail-nutrition li {
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.detail-reviews {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: sans-serif;
}

.detail-reviews h3 {
  font-size: 28px;
  margin-bottom: 24px;
  text-align: center;
}

.detail-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-review {
  background-color: #f9f9f9;
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.detail-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.detail-review-stars {
  color: #ff9900;
  font-size: 16px;
}

.detail-review-text {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}

.detail-review-date {
  font-size: 14px;
  color: #888;
}

.detail-no-reviews {
  text-align: center;
  font-size: 16px;
  color: #777;
}

.detail-cart-form {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-form-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.cart-form-row:last-child {
  justify-content: center;
}

.detail-quantity-input {
  width: 60px;
  padding: 5px;
  text-align: center;
}




/* Responsive */
@media (max-width: 768px) {
  .detail-container {
    flex-direction: column;
    align-items: center;
  }

  .detail-info-box,
  .detail-images {
    max-width: 100%;
  }
}
