/* === Conteneur principal === */
#panier {
  width: 90%;
  max-width: 950px;
  margin: 100px auto;
  background: rgba(10, 10, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 50px 60px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(79, 70, 229, 0.15);
  color: #e0e2e7;
  font-family: 'Poppins', sans-serif;
}

/* === Ligne produit === */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.4s ease;
}

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

.cart-item:hover {
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.12), rgba(55, 10, 98, 0.12));
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.2);
  transform: translateY(-2px);
}

/* === Nom du produit === */
.cart-name {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: capitalize;
}

/* === Prix du produit === */
.cart-price {
  color: #7aa2ff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 25px;
}

/* === Bouton supprimer === */
.cart-remove {
  background: none;
  border: none;
  color: #999;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-remove:hover {
  color: #ff4d4d;
  transform: scale(1.15);
}

/* === Animation d'apparition === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.5s ease;
}

/* === Total === */
#total {
  width: 90%;
  max-width: 950px;
  margin: 40px auto 100px;
  padding: 20px 30px;
  background: rgba(15, 15, 25, 0.8);
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(79, 70, 229, 0.1);
}

#total span {
  font-size: 1.15rem;
}

#total button {
  background: linear-gradient(90deg, #4f46e5, #370a62);
  border: none;
  font-weight: 500;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#total button:hover {
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.6);
  transform: translateY(-2px);
}
