         /* ===  base === */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
      background-color: #f9f9f9;
      color: #222;
      margin: 0;
      padding: 0;
      line-height: 1.6;
    }

    /* === Structure globale === */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 40px 20px;
      background-color: white;
      box-shadow: 0 0 30px rgba(0,0,0,0.05);
    }

    /* === Typographie élégante === */
    h1, h2, h3 {
      font-weight: 300;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    h1 {
      font-size: 2.5rem;
      text-align: center;
      margin-bottom: 20px;
      color: #111;
      position: relative;
      padding-bottom: 20px;
    }

    h1:after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 2px;
      background: linear-gradient(90deg, transparent, #000, transparent);
    }

    .sous-titre {
      text-align: center;
      font-size: 1rem;
      color: #666;
      margin-bottom: 40px;
      font-weight: 300;
      letter-spacing: 2px;
    }

    /* === Section produits === */
    .section-title {
      font-size: 1.2rem;
      text-align: center;
      margin: 60px 0 40px;
      position: relative;
    }

    .section-title:before,
    .section-title:after {
      content: "•";
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      color: #999;
      font-size: 1.5rem;
    }

    .section-title:before {
      left: calc(50% - 100px);
    }

    .section-title:after {
      right: calc(50% - 100px);
    }

    /* === Grille de produits uniformisée === */
    .liste-produits {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 40px;
      padding: 0 20px;
      align-items: stretch;
    }

    /* === Carte produit uniforme === */
    .produit {
      background: white;
      border-radius: 2px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .produit:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    }

    /* === Image produit === */
    .image-produit {
      width: 100%;
      height: 220px;
      object-fit: cover;
      filter: grayscale(0%);
      transition: filter 0.5s ease;
    }

    .produit:hover .image-produit {
      filter: grayscale(30%);
    }

    /* === Contenu texte uniforme === */
    .produit-contenu {
      padding: 25px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .produit h3 {
      font-size: 1.3rem;
      margin-bottom: 15px;
      text-align: center;
      color: #111;
      font-weight: 400;
    }

    .description-produit {
      font-size: 0.9rem;
      color: #666;
      text-align: center;
      margin-bottom: 20px;
      flex: 1;
      font-weight: 300;
      line-height: 1.7;
    }

    .prix-produit {
      font-size: 1.4rem;
      color: #111;
      text-align: center;
      margin-bottom: 20px;
      font-weight: 300;
      letter-spacing: 1px;
    }

.option-prix.selected {
  background-color: #000;
  color: white;
}




    
    .options-prix {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 15px;
    }

 .option-prix {
  text-align: center;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  background-color: #f5f5f5;
  color: #222;
  transition: all 0.3s ease;
}

.option-prix.selected {
  background-color: #000;
  color: white;
}

.option-prix span {
  display: block;
  font-size: 0.9rem;
}

.option-prix .prix {
  font-weight: 500;
  color: inherit;
}









    /* Options menu */
    .menu-options {
      margin-top: 15px;
      padding: 15px;
      background-color: #f9f9f9;
      border-radius: 6px;
      animation: fadeIn 0.3s ease;
      display: none; /* Caché par défaut */
    }

    .menu-options p {
      margin-bottom: 10px;
      font-size: 0.9rem;
      color: #555;
    }

    .menu-choice, .drink-choice {
      width: 100%;
      padding: 8px 12px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 0.9rem;
      background-color: white;
      margin-bottom: 10px;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* === Bouton ajout panier === */
    .produit button {
      background-color: white;
      color: #000000;
      border: 2px solid #000000;
      padding: 14px 28px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
      position: relative;
      overflow: hidden;
      z-index: 1;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      font-family: 'Montserrat', sans-serif;
      text-transform: uppercase;
      text-decoration: none;
      display: inline-block;
      margin-top: 10px;
    }

    .produit button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: #000000;
      z-index: -1;
      transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .produit button:hover {
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .produit button:hover::before {
      left: 0;
    }

    .produit button span {
      position: relative;
      z-index: 2;
      text-decoration: none;
    }




/* === Panier flottant === */
#panier-flottant {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
}



#panier-flottant button.toggle {
  background: white;
  color: #111;
  border: 1px solid #111;
  padding: 12px 20px;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

#panier-flottant button.toggle:hover {
  background: #111;
  color: white;
}

/* === Contenu panier === */

#contenu-panier {
  position: absolute;
  top: 100%;
  right: 0;
  width: 350px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  max-height: 400px;
  display: flex;
  flex-direction: column;
}

#contenu-panier.ouvert {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#contenu-panier h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#fermer-panier {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

#fermer-panier:hover {
  color: #111;
}

#liste-panier {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}






#liste-panier img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  margin-right: 12px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  vertical-align: middle;
  transition: transform 0.3s ease;
}

#liste-panier img:hover {
  transform: scale(1.05);
}




@media (max-width: 480px) {
  #panier-flottant {
    position: fixed !important;
    top: calc(35px + env(safe-area-inset-top)) !important;  /* augmenté */
    left: calc(10px + env(safe-area-inset-left)) !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 1001 !important;
    
  }

  #contenu-panier {
    position: absolute !important;
    top: 100% !important;
    right: auto !important;
    left: 0 !important;
    width: 300px !important;
    max-height: 500px !important;
    
  }
}








    .supprimer {
      background: none;
      border: none;
      color: #e74c3c;
      cursor: pointer;
      font-weight: bold;
      font-size: 2rem;
      transition: color 0.3s ease;
      margin-left: 200px;
      position: relative;
      top: -80px;
    }

    .supprimer:hover {
      color: #c0392b;
    }

    .article-panier:not(:last-child) {
      border-bottom: 1px solid #eee;
      padding-bottom: 10px;
      margin-bottom: 10px;
    }

    /* === Total panier === */
    #total {
      font-size: 1.2rem;
      text-align: right;
      font-weight: 400;
    }

    /* === Bouton valider === */
    #valider-commande {
      width: 100%;
      background-color: #000;
      color: #fff;
      border: none;
      padding: 15px;
      margin-top: 20px;
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 2px solid #000;
    }

    #valider-commande:hover {
      background-color: #fff;
      color: #000;
    }

    #valider-commande:disabled {
      background-color: #ccc;
      border-color: #ccc;
      cursor: not-allowed;
    }

.bouton-retour {
  position: relative;
  padding: 8px 15px; /* padding visuel */
  font-size: 0.9rem;
  color: #333;
  background: transparent;
  border: 1px solid #333;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  z-index: 10;
  text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.bouton-retour::before {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -10px;
  right: -10px;
  /* zone cliquable plus large */
  pointer-events: auto;
}


.bouton-retour:hover {
  background-color: #333;
  color: white;
}

    
    /* === Notification === */
    .notification {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #000;
      color: white;
      padding: 12px 24px;
      border-radius: 4px;
      z-index: 1000;
      opacity: 0;
      transition: opacity 0.3s ease;
      box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }

    .notification.visible {
      opacity: 1;
    }


    .dessert-options {
  background-color: #fff;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #000000;
  margin-top: 10px;
  max-width: 300px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dessert-options label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.dessert-options select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #aaa;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-size: 14px;
  transition: border-color 0.3s;
}

.dessert-options select:focus {
  border-color: #007bff;
  outline: none;
  background-color: #fff;
}

.supplement {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 2px; /* réduit l'espace vertical */
  line-height: 1.2;
}







    /* === Responsive === */
    @media (max-width: 768px) {
      .container {
        padding: 30px 15px;
      }
      
      .liste-produits {
        grid-template-columns: 1fr;
        gap: 30px;
      }
      
      .produit {
        max-width: 400px;
        margin: 0 auto;
      }
      
      #panier-flottant {
        top: auto;
        bottom: 20px;
        right: 20px;
      }
      
      #contenu-panier {
        width: calc(100vw - 40px);
        right: 20px;
      }

      .supprimer {
        margin-left: 150px;
        top: -70px;
      }
      
    }








@media (max-width: 767px) {
  /* Conteneur parent aligné à droite */
  .container .container {
    text-align: right;
    padding-right: 0; /* enlever padding droit si besoin */
  }

  .bouton-retour {
    display: inline-flex;
    align-items: center;
    margin-bottom: 30px;
    margin-left: auto;    /* pousse vers la droite */
    margin-right: 0;      /* pas d'espace à droite */
    padding-left: 15px;
    padding-right: 15px;  /* tu peux réduire si tu veux */
    /* optionnel : */
    float: right;         /* au cas où text-align ne suffirait pas */ 
  }

  .bouton-retour:hover::before {
    position: static;
    margin-left: 8px;
    left: auto;
    top: auto;
    transform: none;
  }

  .bouton-retour:hover {
    padding-left: 15px;
    padding-right: 15px;
  }
}
