
.product-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* Styles pour les contrôles de quantité */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.quantity-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.quantity-btn:hover {
  background-color: #0056b3;
}

.quantity-controls span {
  font-size: 1.2rem;
  font-weight: bold;
}	

.quantity-controls button {
  transition: transform 0.2s ease;
}

.quantity-controls button:active {
  transform: scale(0.9);
}

.cart-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #ddd;
  text-align: right;
  font-size: 1.2rem;
}

.cart-page {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.cart-page h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.cart-container {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background-color: #f9f9f9;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item p {
  margin: 0;
}

.cart-item .remove-btn {
  background-color: #ff4d4f;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cart-item .remove-btn:hover {
  background-color: #ff7875;
}

.cart-actions {
  margin-top: 20px;
  text-align: right;
}

.clear-cart-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.clear-cart-btn:hover {
  background-color: #0056b3;
}
