.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.item-details h3 {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
}

.item-price {
  color: #666;
  font-size: 1rem;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-quantity button {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
}

.item-quantity button:hover {
  background: #f5f5f5;
}

.item-quantity span {
  min-width: 30px;
  text-align: center;
  font-weight: bold;
}

.item-total p {
  font-size: 1.3rem;
  font-weight: bold;
  color: #007bff;
  margin: 0;
}

.btn-remove {
  padding: 8px 16px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-remove:hover {
  background: #c82333;
}

/* Cart Summary */
#cart-summary {
  position: sticky;
  top: 20px;
  margin-top: 30px;
}

.summary-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.summary-box h3 {
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 1rem;
}

.summary-row.total {
  font-size: 1.3rem;
  font-weight: bold;
  padding-top: 15px;
  border-top: 2px solid #eee;
  margin-top: 15px;
}

.btn-checkout {
  width: 100%;
  padding: 15px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}

.btn-checkout:hover {
  background: #218838;
}

/* Empty cart */
.empty-cart {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 8px;
}

.empty-cart p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 20px;
}