body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #f4f6fa; 
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Controls (search + filter) */
.controls {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  gap: 12px;
}

.controls input, .controls select {
  padding: 12px;
  font-size: 1rem;
  flex: 1;
  border: 2px solid #ddd;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s;
}

.controls input:focus,
.controls select:focus {
  border-color: #6c63ff; 
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.4);
}


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


.product-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product-card img {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin: 10px 0 5px;
  color: #333;
}

.product-card p {
  font-size: 0.9rem;
  color: #777;
  margin: 5px 0;
}

.product-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #6c63ff; 
}
