/* Umum */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 20px;
  background: #f4f4f4;
  color: #333;
}

/* Judul utama */
h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

/* Container daftar produk */
.produk-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Kartu produk */
.produk-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  width: 220px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}
.produk-card:hover {
  transform: translateY(-5px);
}

.produk-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.produk-card h3 {
  font-size: 1.1rem;
  margin: 10px 0;
}

/* Tombol */
a.btn {
  display: inline-block;
  margin: 8px 5px 0;
  padding: 10px 15px;
  background: #27ae60;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

a.btn:hover {
  background: #1e874b;
}

a.btn-secondary {
  background: #2980b9;
}

a.btn-secondary:hover {
  background: #1f5f8a;
}

/* Detail page */
.detail-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: center;
}

.detail-container img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.detail-container h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
