* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f6fa;
}

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

.container {
  display: flex;
  gap: 20px;
  padding: 20px;
}

/* PRODUCTS */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.products div {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.products p {
  margin-bottom: 10px;
}

.products button {
  background: #0097e6;
  color: white;
  border: none;
  padding: 8px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
}

.products button:hover {
  background: #0984e3;
}

/* CART */
.cart-box {
  width: 300px;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#cart li {
  list-style: none;
  padding: 5px 0;
  border-bottom: 1px solid #ddd;
}

h2 {
  margin-bottom: 10px;
}

h3 {
  margin-top: 10px;
  color: #27ae60;
}



li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9f9f9;
  padding: 8px;
  border-radius: 6px;
}

/* common button style */
li button {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
}

/* plus button */
li .plus {
  background-color: #4caf50;
  color: white;
}

/* minus button */
li .minus {
  background-color: #ff9800;
  color: white;
}

/* remove button */
li .remove {
  background-color: #f44336;
  color: white;
}

/* quantity badge */
li .qty {
  background: #ddd;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
}
