@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&family=Montserrat:wght@300;500&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  color: #eee;
  background: #111;
  margin: 0;
  padding: 0;
}

header, footer {
  background: #222;
}

.item-detail {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.item-container {
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 30px;
}

.item-container h1 {
  font-family: 'Dancing Script', cursive;
  color: #f9d342;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.item-detail-img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.item-detail-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

.item-detail-price {
  font-size: 1.4rem;
  color: #f9d342;
  margin-bottom: 30px;
}

.item-detail-price del {
  color: #bbb;
  margin-right: 10px;
}

.reviews {
  max-width: 800px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

.reviews h2 {
  font-family: 'Dancing Script', cursive;
  color: #f9d342;
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  text-align: center;
}

.review {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
}

.review strong {
  color: #eee;
}

.review-date {
  display: block;
  font-size: 0.8rem;
  color: #ccc;
  margin-top: 5px;
}

.add-review {
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
}

.add-review h3 {
  font-family: 'Dancing Script', cursive;
  color: #f9d342;
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.add-review form {
  display: flex;
  flex-direction: column;
}

.add-review label {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.add-review select,
.add-review textarea {
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background-color: #222;
  color: #eee;
}

.add-review textarea {
  resize: vertical;
  height: 100px;
}

.add-review button {
  width: fit-content;
  margin-top: 10px;
  padding: 10px 20px;
  background: #f9d342;
  color: #111;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-review button:hover {
  background: #ffea70;
}

@media (max-width: 600px) {
  .item-detail, .reviews {
    padding: 0 10px;
  }
  .item-detail-img {
    max-width: 100%;
  }
}