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

.app {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px;
}

header {
  text-align: center;
  margin-bottom: 16px;
}

#product-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  justify-content: space-between;
  list-style: none;
}

.product {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.2s;
  width: 45%;
}

.product:hover {
  background: #f0f0f0;
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.counter {
  display: flex;
  align-items: center;
}

.counter button {
  width: 32px;
  height: 32px;
  font-size: 1.2em;
  border: none;
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 4px;
}

.counter button:hover {
  background: #0056b3;
}

.counter .count {
  min-width: 24px;
  text-align: center;
  font-weight: bold;
}

#total {
  text-align: center;
  margin: 16px 0;
  font-size: 1.1em;
}

.circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-left: 5px;
}

.circle.red {
  background-color: red;
}

.circle.yellow {
  background-color: yellow;
}

#reset-button {
  display: block;
  margin: 20px auto;
  padding: 8px 16px;
  font-size: 2em;
  background: red;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#reset-button:hover {
  background: #a71d2a;
}

@media (max-width: 600px) {
  .product {
    width: 100%;
  }
}
