body {
  font-family: Arial, sans-serif;
  padding: 10px;
  margin: 0;
  background: #f4f4f4;
}
.container {
  max-width: 800px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
}
form input, form select, form button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  font-size: 16px;
}
form button {
  background-color: #28a745;
  color: white;
  border: none;
  cursor: pointer;
}
form button:hover {
  background-color: #218838;
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.product-card {
  background: #fff;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
}
.product-card img {
  max-width: 100%;
  height: auto;
}
.navbar {
  background: #333;
  color: white;
  padding: 10px;
  text-align: center;
}
.cat-link {
  display: inline-block;
  margin: 5px 10px;
  padding: 5px 12px;
  background-color: #eee;
  border-radius: 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}
.cat-link:hover {
  background-color: #ccc;
}
.active-cat {
  background-color: #28a745;
  color: white;
}
.add-btn {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 5px;
}
.add-btn:hover {
  background-color: #0056b3;
}


.btn-danger {
  background-color: #dc3545;
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
}
.btn-danger:hover {
  background-color: #bd2130;
}

.qty-input {
  padding: 4px;
  text-align: center;
}
.btn-primary {
  background-color: #28a745;
  color: white;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}
.btn-primary:hover {
  background-color: #218838;
}

input[type="text"] {
  padding: 10px;
  width: 100%;
  margin: 10px 0;
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: 1fr;
  }
}