/* ============================================
   panier.css — v2
   Page panier avec résumé visuel & micro-animations.
   ============================================ */

.panier-page {
  padding: 40px 0 80px;
  max-width: 680px;
  margin: 0 auto;
}

.panier-page h1 {
  font-size: 28px;
  color: var(--nuit);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carte-panier-conteneur {
  background: white;
  border-radius: 20px;
  box-shadow: var(--ombre-douce);
  padding: 24px;
  border: 1px solid #EFE7D3;
}

.ligne-panier {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #FAF8F5;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #EFE7D3;
}

.ligne-panier:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(19, 42, 62, 0.08);
}

.ligne-panier img {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: var(--sable);
}

.ligne-panier-info {
  flex: 1;
}

.ligne-panier-nom {
  font-weight: 600;
  color: var(--nuit);
  font-size: 15px;
  margin-bottom: 4px;
}

.ligne-panier-prix {
  color: var(--corail);
  font-weight: 700;
  font-size: 14.5px;
}

.ligne-panier-quantite {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #E4DECF;
}

.ligne-panier-quantite button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--sable);
  color: var(--nuit);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ligne-panier-quantite button:hover {
  background-color: var(--corail);
  color: white;
}

.ligne-panier-quantite span {
  font-weight: 600;
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

.ligne-panier-supprimer {
  background: none;
  border: none;
  color: var(--gris-texte);
  cursor: pointer;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.ligne-panier-supprimer:hover {
  color: var(--erreur);
  background-color: #FFEBEE;
}

.panier-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--nuit);
  border-top: 1.5px dashed #E4DECF;
  margin-top: 16px;
}

.panier-vide {
  text-align: center;
  padding: 70px 20px;
  color: var(--gris-texte);
  background-color: white;
  border-radius: 20px;
  box-shadow: var(--ombre-douce);
}

.panier-vide .emoji {
  font-size: 54px;
  margin-bottom: 16px;
  display: block;
}
