* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
  margin: 0;
  display: flex;
  background: #f4f4f4;
}
.container {
  display: flex;
  width: 100%;
  padding: 20px;
  gap: 20px;
}
.left-panel {
  flex: 3;
}
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.search-bar input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
}
.search-bar button {
  padding: 10px 20px;
  font-size: 16px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
.drinks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.card img {
  width: 100%;
  border-radius: 6px;
  height: 150px;
  object-fit: cover;
}
.card h3 {
  font-size: 18px;
  margin: 10px 0;
}
.card button {
  margin: 5px;
  padding: 5px 10px;
  border: none;
  background: #007bff;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}
.cart {
  flex: 1;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  max-height: 100vh;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.cart h2 {
  text-align: center;
  margin-bottom: 15px;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cart-item img {
  width: 140px;
  height: 140px;
  border-radius: 70px;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
}
.modal-content h2 {
  margin-top: 0;
}
.close-btn {
  float: right;
  cursor: pointer;
  font-size: 18px;
  background: red;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
}
.not-found {
  text-align: center;
  font-size: 20px;
  color: #888;
  margin-top: 20px;
}

#loader {
  text-align: center;
  padding: 1rem;
  font-size: 1.2rem;
  color: #333;
}
