#section-liste-produits {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #263247;
}

#section-liste-produits[hidden],
#section-liste-produits [hidden] {
  display: none !important;
}

#section-liste-produits > header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

#section-liste-produits h1 {
  margin: 0;
  color: #193b7a;
  font-size: 28px;
}

#section-liste-produits header nav {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
}

#section-liste-produits header nav a {
  color: #244d9b;
  text-decoration: none;
}

#section-liste-produits header nav [aria-current="page"] {
  color: #334155;
  font-weight: 600;
}

#btn-ajouter-produit-depuis-liste {
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: #244d9b;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

#btn-ajouter-produit-depuis-liste:hover {
  background: #193b7a;
}

#section-liste-produits .etat-vide {
  display: flex;
  min-height: 280px;
  max-width: 680px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 32px auto;
  padding: 36px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  text-align: center;
}

#section-liste-produits .etat-vide > div { margin-bottom: 12px; font-size: 40px; }
#section-liste-produits .etat-vide h2 { margin: 0 0 8px; font-size: 20px; }
#section-liste-produits .etat-vide p { margin: 0; color: #64748b; }

#liste-produits {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
}

#liste-produits table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

#liste-produits th,
#liste-produits td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

#liste-produits th {
  background: #f4f6fa;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

#liste-produits tbody tr:hover { background: #f8fafc; }
#liste-produits tbody tr:last-child td { border-bottom: 0; }
#liste-produits td.cellule-montant { font-weight: 600; text-align: right; }
#liste-produits th:nth-child(3),
#liste-produits th:nth-child(4) { text-align: right; }
#liste-produits td:nth-child(4) { text-align: right; }

#liste-produits .produit-inactif { opacity: .55; }
