* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f6f9fc;
  color: #333;
  padding: 20px;
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 10px;
}

ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 20px 0;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

ul li {
  padding: 12px 24px;
  cursor: pointer;
  color: #2980b9;
  transition: background 0.3s;
}

ul li:hover {
  background-color: #ecf0f1;
}

#root {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 20px;
}

.row {
  display: flex;
  gap: 40px;
  padding: 10px;
  min-width: max-content;
}

.row > div {
  background: white;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 30px 20px;
  width: 300px;
  height: 300px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  text-align: center;
}

.row > div:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.row h3 {
  font-size: 1.5rem;
  color: #34495e;
  margin-bottom: 10px;
}

.row h4 {
  font-size: 1.2rem;
  color: #27ae60;
  margin-bottom: 20px;
}

button {
  background-color: #2980b9;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #1c5980;
}

li button {
  margin: 0 6px;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 6px;
}

.cart-list li {
  font-size: 1rem;
  padding: 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  line-height: 1.6;
  list-style-type: none;
}

hr {
  margin: 30px 0;
  border: none;
  border-top: 1px solid #ccc;
}

h4 {
  text-align: center;
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-top: 20px;
}
