/* WRAPPER PRINCIPAL */
.contenu-principal {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1rem 2rem;
  justify-content: center;
}

/* FILTRAGE À GAUCHE */
.filtrage {
  flex: 0 0 220px;
  border: 2px solid #d62828;
  border-radius: 10px;
  background-color: #fffaf0;
  padding: 1rem;
  height: fit-content;
  position: sticky;
  top: 1rem;
}

/* CARTE PIZZA */
.pizza-card {
  border: 2px solid #d62828;
  border-radius: 12px;
  padding: 0.8rem;
  background-color: #fdf6e3;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 0.85rem;
  width: 200px;
}

/* IMAGE PIZZA */
.pizza-card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

/* INFOS */
.pizza-card h3 {
  font-size: 0.95rem;
  margin: 0.3rem 0;
}

.pizza-card .ingredients {
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.pizza-card .prix {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

/* QUANTITÉ */
.quantite-control {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.quantite-control button {
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.quantite-control span {
  font-size: 0.9rem;
}

/* BOUTONS GÉNÉRAUX */
.btn {
  background-color: #d62828;
  color: #fdf6e3;
  border: 1px solid #fdf6e3;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #fdf6e3;
  color: #d62828;
  border-color: #d62828;
}

.contenu-centre {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 900px;
  width: 100%;
}

.titre-categorie {
  text-align: center;
  color: #d62828;
  margin: 2rem 0 1rem;
}

.categorie-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.categorie-list li {
  background-color: #fdf6e3;
  border: 2px solid #d62828;
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  color: #d62828;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.categorie-list li:hover {
  background-color: #d62828;
  color: #fdf6e3;
}

/* Grille des pizzas */
.pizza-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.categorie-section {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
}

.pizza-card {
  width: 200px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pizza-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.categorie-section::-webkit-scrollbar {
  height: 8px;
}

.categorie-section::-webkit-scrollbar-thumb {
  background-color: #d62828;
  border-radius: 10px;
}

.categorie-section::-webkit-scrollbar-track {
  background-color: #fdf6e3;
}

/* BOUTON TRANSPARENT */
.btn-transparent {
  background: transparent;
  border: 1px solid #d62828;
  color: #d62828;
  font-size: 1rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-transparent:hover {
  background-color: #d62828;
  color: white;
}
