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

header {
  background-color: #4caf50;
  padding: 15px;
  text-align: center;
  color: white;
}

.search-bar {
  width: 100%;
  height: 45px;
  max-width: 500px;
  margin: 10px auto;
  display: flex;
}

.search-bar input::placeholder {
  font-size: 15px;
}

.search-bar input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px 4px;
  outline: none;
}

.search-bar button {
  padding: 10px 15px;
  border: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 33px;
  padding: 20px;
  max-width: 1300px;
  margin: auto;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: scale(1.03);
}

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

.card-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.description {
  flex: 1;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

.price {
  color: #4caf50;
  font-size: 20px;
  font-weight: bold;
}

.btn {
  display: inline-block;
  padding: 10px 15px;
  background: linear-gradient(45deg, #4caf50, #45a049);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background: linear-gradient(45deg, #45a049, #3d8b3d);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive */
@media (max-width: 600px) {
  .search-bar {
    flex-direction: column;
  }
  .search-bar input,
  .search-bar button {
    border-radius: 4px;
    margin: 2px 0;
  }
}
