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

.header {
  background: #0b5ed7;
  color: #fff;
  padding: 18px;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.card {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
  border-radius: 6px;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.product-image:hover {
  transform: scale(1.05);
}

.btn {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 6px;
  background: #0b5ed7;
  color: #fff;
  text-decoration: none;
  margin-right: 6px;
}

.btn-buy {
  background: #198754;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 6px;
}

.btn-buy:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.sold-label {
  display: inline-block;
  background: #ff4d4d;
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 5px;
}

.small { font-size: 13px; color: #fff; }

.form-row { margin-bottom: 10px; }

.input, textarea { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 6px; }

/* Responsif */
@media (max-width: 768px) {
  .product-image { height: 200px !important; }
}

@media (max-width: 480px) {
  .product-image { height: 160px !important; }
  .header { font-size: 18px; padding: 12px; }
}
