/* -------------------------*/
/* Page boutique */
/* -------------------------*/

.boutique-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.produit {
  width: 250px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  background-color: #fafafa;
  transition: transform 0.3s;
}

.produit:hover {
  transform: scale(1.03);
}

.section-boutique {
  margin-bottom: 2rem;
  text-align: center;
}

.produit img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.produit h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.prix {
  font-weight: bold;
  color: #222;
  margin: 2rem 0;
}

.retour-accueil {
  text-align: center;
  margin: 1.5rem 0;
}

.bouton-retour {
  background-color: transparent;
  color: #000;
  text-decoration: none;
  border: 2px solid black;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
}

.bouton-retour:hover {
  background-color: black;
  color: white;
}

/* ------------------------- */
/* Formulaire de commande */
/* ------------------------- */

.formulaire-section {
  background-color: #f8f8f8;
  padding: 3rem 2rem;
  border-top: 2px solid #ddd;
  text-align: center;
}

.formulaire-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111;
}

.formulaire-section p {
  margin-bottom: 2rem;
  color: #333;
  font-size: 1rem;
}

.formulaire-commande {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  background-color: white;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

/* Fieldsets */
.formulaire-commande fieldset {
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #fafafa;
}

.formulaire-commande legend {
  font-weight: bold;
  color: black;
  padding: 0 0.5rem;
}

/* Labels et champs */
.formulaire-commande label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #222;
}

.formulaire-commande input,
.formulaire-commande textarea,
.formulaire-commande select {
  width: 100%;
  box-sizing: border-box;   /* ✅ Empêche le dépassement */
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #bbb;
  margin-top: 0.4rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}

/* Quantités et cases spécifiques */
.formulaire-commande input[type="number"] {
  width: 80px;
  padding: 4px;
  border-radius: 6px;
}

.formulaire-commande input[type="checkbox"],
.formulaire-commande input[type="radio"] {
  width: auto;
  margin-right: 0.5rem;
  accent-color: black;
}

/* Bouton d’envoi */
.formulaire-commande input[type="submit"] {
  background-color: black;
  color: white;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.formulaire-commande input[type="submit"]:hover {
  background-color: #333;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
  .formulaire-commande {
    padding: 1.5rem;
  }

  .formulaire-commande input[type="number"] {
    width: 100%;
  }
}


/*pieds de page*/

.footer {
  text-align: center;
  padding: 15px;
  background-color: #f5f5f5;
  font-size: 14px;
  color: #555;
}

.footer a {
  color: #555;
  text-decoration: none;
  margin-left: 5px;
}

.footer a:hover {
  color: #000;
}