body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 2rem;
    background: #f8f8f8;
    color: #333;
  }
  
  h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Wrapper pour scroll horizontal sur mobile */
  .menu-selector-wrapper {
    overflow-x: auto;
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  /* Ligne de boutons */
  .menu-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .menu-selector::-webkit-scrollbar {
    display: none;
  }
  .menu-selector {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  /* Boutons de sélection */
  .menu-btn {
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    background: #c43d3d;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    scroll-snap-align: center;
    flex: 0 0 auto;
    text-align: center;
    min-width: 160px;
  }
  
  .menu-btn.active {
    background: #fcbf3d;
    color: #1a1a1a;
    font-weight: bold;
  }
  
  /* Affichage des sections de menu */
  .menu-section {
    display: none;
  }
  .menu-section.active {
    display: block;
  }
  
  /* Grille de cartes */
  .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  /* Carte */
  .card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .card h3 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .price {
    font-weight: bold;
    margin-left: 1rem;
    white-space: nowrap;
    color: #444;
  }
  
  .card ul {
    list-style: none;
    padding-left: 1rem;
    margin: 0.5rem 0;
  }
  
  .card ul li::before {
    content: "• ";
    color: #999;
    display: inline-block;
    margin-left: -1rem;
    width: 1rem;
  }
  
  /* Badges */
  .badges {
    margin-top: 0.8rem;
  }
  
  .badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    margin-right: 0.4rem;
    color: white;
    font-weight: 600;
  }
  
  /* Badges thématiques */
  .badge.froid {
    background-color: #3a9cff;
  }
  .badge.chaud {
    background-color: #ad0000;
  }
  .badge.veget {
    background-color: #44b678;
  }
  .badge.surplace {
    background-color: #888;
  }
  .badge.aemporter {
    background-color: #4caf50; /* vert moyen plus distinct */
  }
  .badge.cocktail {
    background-color: #c43d3d;
  }
  .badge.mocktail {
    background-color: #3a9cff;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .menu-btn {
      font-size: 1rem;
    }
  }
  @media (min-width: 769px) {
    .menu-selector-wrapper {
      margin-left: auto;
      margin-right: auto;
      padding: 0;
      max-width: max-content;
    }
  }
    
  .card-img {
  width: 100%;
  aspect-ratio: 1 / 1; /* carré */
  object-fit: cover;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
/* Global container with horizontal scroll for desktop */
.lang-responsive {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: auto;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  scrollbar-width: none;
}
.lang-responsive::-webkit-scrollbar {
  display: none;
}

/* Button style */
.lang-btn {
  flex: 0 0 auto;
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  background: #f0f0f0;
  border: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.lang-btn.active {
  background-color: #ffd700;
  font-weight: bold;
}
.lang-btn:hover {
  background-color: #ffd700;
}

/* Responsive change: mobile = only emoji */
@media (max-width: 480px) {
  .lang-btn {
    font-size: 1.3rem;
    padding: 0.3rem 0.4rem;
    border-radius: 6px;
  }
  .lang-btn .label {
    display: none;
  }
}
