/* ===== PRODUCT DETAIL ===== */
.product-wrapper {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  padding: 32px;
  margin-top: 80px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 10px;
}

.product-info h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c1a0e;
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 20px;
}

.product-options h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #2c1a0e;
  margin-bottom: 12px;
}

.option-group {
  margin-bottom: 16px;
}

.option-group strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #2c1a0e;
}

.option-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
  cursor: pointer;
}

.option-group input[type="radio"],
.option-group input[type="checkbox"] {
  accent-color: #3b6ca8;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.quantity button {
  width: 32px;
  height: 32px;
  border: 1.5px solid #ccc;
  background: #fff;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.quantity button:hover { background: #f5f0eb; }

.quantity span {
  font-size: 1rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.btn-back {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #3b6ca8;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.btn-back:hover { color: #2c4f8a; }

.btn-add-cart {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  background: #6f4e37;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.btn-add-cart:hover { background: #5b3f2d; }

/* thông báo thêm thành công */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #2ecc71;
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 260px;
  }
}