body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
}

.app-header {
  background: #d62828;
  color: white;
  text-align: center;
  padding: 1.2rem;
}

.list-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
}

.list-item {
  background: white;
  width: 90%;
  max-width: 320px;
  margin: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.list-item:hover {
  transform: scale(1.03);
}

.item-image {
  width: 100%;
  height: auto;
}

.item-title {
  padding: 1rem;
  text-align: center;
}

.detail-container {
  max-width: 600px;
  margin: auto;
  padding: 1rem;
}

.detail-image {
  width: 100%;
  border-radius: 12px;
}

.detail-title {
  margin-top: 1rem;
}

.detail-description {
  line-height: 1.6;
}

.detail-price {
  font-weight: bold;
  font-size: 1.2rem;
  color: #d62828;
}

.back-button {
  background: #d62828;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  cursor: pointer;
}

/* Tablet */
@media (min-width: 600px) {
  .list-item {
    width: 45%;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .list-item {
    width: 30%;
  }
}