@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  background-color: #0d0d0d;
  color: #f2f2f2;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

.header {
  text-align: center;
  padding: 2rem 1rem;
  background: #0d0d0d;
  border-bottom: 1px solid #222;
}

.header h1 {
  font-weight: 600;
  color: #e0c180; /* warna emas khas tombol di web utama */
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem 5%;
}

.product-card {
  background: #161616;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(255, 215, 100, 0.15);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  margin: 1rem;
  color: #fff;
  font-size: 1.25rem;
}

.product-card p {
  margin: 0 1rem 1.5rem;
  color: #aaa;
  font-size: 0.95rem;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  padding: 0 1rem 1.5rem;
}

.btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn.preview {
  background: #222;
  color: #fff;
}

.btn.preview:hover {
  background: #333;
}

.btn.beli {
  background: #e0c180;
  color: #000;
}

.btn.beli:hover {
  background: #c9a85f;
}

@media (max-width: 600px) {
  .product-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .btn {
    text-align: center;
    width: 100%;
  }
}
