/* === RESET DE BASE === */
/* Ajout dans ton CSS */
html {
  background-color: #121212;
}

body {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: #121212;
  color: #f0f0f0;
  min-height: 100vh;
  overflow-x: hidden;
}

input[type="radio"] {
  accent-color: #f39c12; /* change la couleur du radio supplement le cercle */
}

input[type="checkbox"] {
  accent-color: #f39c12; /* change la couleur du checkbox supplement le carre */
}

button {
  color: white !important;
  -webkit-appearance: none;
  appearance: none;
  background-color: inherit; /* facultatif selon ton design */
  border: none;              /* facultatif si tu veux un look flat */
}

/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* ✅ Transparent avec flou */
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* Safari iOS */

  /* ✅ Padding adapté à l'encoche */
  padding: calc(1rem + env(safe-area-inset-top)) 1rem 1rem;
  padding-top: env(safe-area-inset-top);

  /* ✅ Autres styles */
  color: #f5a623;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-left h1 {
  font-size: 1.5rem;
  font-weight: bold;
}

.header-right p {
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
}
header::after {
  content: "";
  position: absolute;
  bottom: 0;         /* ⬅️ ligne en bas du header */
  left: 0;
  width: 100%;
  height: 2px;       /* épaisseur de la ligne */
  background-color: #f5a623; /* orange */
}





/* === SLIDER CATÉGORIES === */
.slider-categories {
  position: fixed;
  top: calc(85px + env(safe-area-inset-top));
  left: 0;
  width: 100%;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: rgba(18, 18, 18, 0.95);
  display: flex;
  overflow-x: auto;
  padding: 0.5rem;
  gap: 10px;
}

.slider-categories button {
  background: #292929;
  border: 1px solid #444;
  color: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-categories button.active-category,
.slider-categories button:hover {
  background: #f5a623;
  color: #000;
}

/* === GRILLE PRODUITS === */
.produits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem; /*1rem*/
  padding-top: 10px;
}


.produit-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-align: center;
}

.produit-card img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.produit-card h3 {
  margin: 0.5rem 0;
  color: #f5a623;
}

.produit-card button {
  background: #f5a623;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  margin-top: 0.5rem;
  cursor: pointer;
}

/* === POPUPS === */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18,18,18, 0.99);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1101;
}

.popup {
  background-color: #2a2a2a;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  color: #fff;
}

.popup h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #f5a623;
}

.popup form input,
.popup button {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.7rem;
  border-radius: 10px;
  border: none;
}

.popup form input {
  background: #1a1a1a;
  color: #f0f0f0;
  border: 1px solid #444;
}

.popup button {
  background-color: #f5a623;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.popup button:hover {
  opacity: 0.9;
}

.hidden {
  display: none !important;
}

/* === POPUP SUPPLÉMENTS === */
.popup-supplements .popup-content {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 15px;
  width: 95%;
  max-width: 500px;
  color: #fff;
}

#supplements-title {
  margin-bottom: 1rem;
  text-align: center;
  color: #f5a623;
}

.groupe-supplements h4 {
  color: #f5a623;
  margin-top: 1rem;
}

.groupe-supplements label {
  display: block;
  margin: 0.3rem 0;
  font-size: 0.95rem;
  cursor: pointer;
}

.groupe-supplements input {
  margin-right: 0.5rem;
}

.popup-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.popup-actions .btn {
  flex: 1;
  padding: 0.8rem;
  border-radius: 10px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.btn-confirm {
  background-color: #f5a623;
  color: #000;
}

.btn-cancel {
  background-color: #444;
  color: #fff;
}

/* === PANIER FLOTTANT === */
/* === BOUTON PANIER FLOTTANT MODERNE === */
#btn-panier.panier-flottant {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  right: 20px;
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at 30% 30%, #ff9800, #e65100);
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
  border: none;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: visible;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#btn-panier.panier-flottant:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* ✅ L’image du panier */
#btn-panier .icone-panier {
  width: 28px;
  height: 28px;
  object-fit: contain;
  z-index: 1;
}

/* ✅ Le badge compteur */
#panier-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #fff;
  color: #e65100;
  font-size: 13px;
  font-weight: bold;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
  z-index: 2;
  transition: transform 0.3s ease;
}

/* ✅ Effet rebond quand un article est ajouté */
#panier-badge.pop {
  animation: badgePop 0.4s ease;
}

@keyframes badgePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}



/* === PANIER LATÉRAL === */
.panier-lateral {
  position: fixed;
  top: 0;
  right: 0;
  width: 90%;
  max-width: 400px;
  height: 100%;
  background-color: #1a1a1a;
  box-shadow: -4px 0 8px rgba(0,0,0,0.4);
  z-index: 1000;
  padding: 1rem; /*1rem*/
  display: flex;
  flex-direction: column;
}

.panier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f5a623;
  margin-top: 45px;
}

.fermer-btn {
  background: none;
  border: none;
  color: #f5a623 !important;
  font-size: 1.5rem;
  cursor: pointer;
}

.panier-liste {
  flex-grow: 1;
  margin-top: 1rem;
  overflow-y: auto;
}

.panier-item {
  background: #292929;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.panier-item ul {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.panier-item ul li {
  margin-bottom: 4px;
  color: #ccc;
  position: relative;
  padding-left: 1.2rem;
}

.panier-item ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #888;
}

/* Supplément payant */
.panier-item ul li.payant {
  color: #f5a623;
  font-weight: bold;
}

.quantite-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0.5rem;
}

.quantite-control button {
  background: #444;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  cursor: pointer;
}

.panier-footer {
  margin-top: 1rem;
  text-align: center;
  color: #fff;
}

.btn-commander {
  margin-top: 1rem;
  width: 100%;
  padding: 0.8rem;
  background: #f5a623;
  color: #000;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}

.disabled-btn {
  background-color: #555 !important;
  color: #999 !important;
  cursor: not-allowed !important;
}

.produit-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Important pour que tous aient la même hauteur */
}

.produit-card h3 {
  min-height: 38px; /* Fixe la hauteur du titre (ajuste selon ton besoin) */
}

.produit-card p {
  min-height: 24px; /* Hauteur du prix */
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e0e0e0;
  margin: 0 0 10px 0;
  text-align: center;
  white-space: pre-line; /* ✅ important pour garder les \n comme sauts de ligne */
  word-break: break-word;
  min-height: 18px; /* pour aligner tous les boutons en bas */
}

.produit-card button {
  margin-top: auto; /* Colle le bouton en bas */
}


@media (min-width: 480px) {
  .produits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-categories {
    position: fixed;
    top: calc(72px + env(safe-area-inset-top));
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(10px);
    background: rgba(18, 18, 18, 0.95);
    display: flex;
    overflow-x: auto;
    padding: 0.5rem;
    gap: 10px;
}
}

@media (min-width: 430px) {
  .produits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-categories {
    position: fixed;
    top: calc(71px + env(safe-area-inset-top));
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(10px);
    background: rgba(18, 18, 18, 0.95);
    display: flex;
    overflow-x: auto;
    padding: 0.5rem;
    gap: 10px;
}
}

@media (max-width: 768px) {
  .header-right {
    flex-direction: column;
    align-items: flex-start;
  }
  .produits-card{
    padding-top: 180px;
  }

}

@media (min-width: 1024px) {
  .produits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  /* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #1f1f1f, #2a2a2a);
  padding: 1rem;
  color: #f5a623;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-left h1 {
  font-size: 1.5rem;
  font-weight: bold;
}

.header-right p {
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
}

.slider-categories {
  position: fixed;
  top: calc(88px + env(safe-area-inset-top));
  left: 0;
  width: 100%;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: rgba(18, 18, 18, 0.95);
  display: flex;
  overflow-x: auto;
  padding: 0.5rem;
  gap: 10px;
}

}





/* === POPUP SUPPLÉMENTS MODERNE === */
#popup-supplements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1999;
}

#popup-supplements.hidden {
  display: none !important;
}

.popup-supplements .popup-content {
  background: #1f1f1f;
  border-radius: 14px;
  padding: 1.5rem 1rem 4.5rem; /* padding bas plus large pour les boutons fixes */
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

#supplements-title {
  text-align: center;
  margin-bottom: 1rem;
  color: #f5a623;
  font-size: 1.4rem;
  font-weight: bold;
}

/* Liste scrollable */
#supplements-list {
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 5px;
  margin-bottom: 1rem;
}

/* Style de groupe et éléments */
#supplements-list h4 {
  color: #f5a623;
  margin: 1rem 0 0.5rem;
}

#supplements-list label {
  display: block;
  padding: 0.4rem 0;
  cursor: pointer;
  font-size: 0.95rem;
  color: #eee;
}

#supplements-list input {
  margin-right: 0.5rem;
}

/* Boutons fixes en bas */
.popup-actions {
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 100%;
  padding: 0 1rem;
  display: flex;
  gap: 1rem;
}

.popup-actions .btn {
  flex: 1;
  padding: 0.9rem;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-confirm {
  background-color: #f5a623;
  color: #000;
}

.btn-cancel {
  background-color: #444;
  color: #fff;
}



.avis-lien {
  text-decoration: none;
  display: block;
}

.avis-section {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #1c1c1c;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  transition: background-color 0.3s;
}

.avis-section:hover {
  background-color: #292929;
  cursor: pointer;
}

.avis-section h2 {
  font-size: 1.5rem;
  color: #f5a623;
  margin-bottom: 1rem;
}

.note-globale {
  font-size: 1.3rem;
  color: #fff;
  font-weight: bold;
}

#categories-slider {
  margin-bottom: 1.5rem; /* ✅ espace après le slider */
}

#moyenne-avis-container {
  position: fixed;
  right: 1rem;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  color: #f5a623;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}

#moyenne-avis-container a {
  color: #f5a623;
  text-decoration: none;
}

#moyenne-avis-container a:hover {
  background: rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  #moyenne-avis-container {
    top: 160px;
    right: 2rem;
    font-size: 1rem;
  }
}


.btn-changer-infos {
  background: transparent;
  border: none;
  color: #f5a623 !important; 
  font-size: 0.75rem;
  cursor: pointer;
  margin-right: 8px;
  transition: opacity 0.2s ease;
}

.btn-changer-infos:hover {
  opacity: 0.7;
}

.message-erreur {
  color: #ff4444;
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 10px;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}




.popup-fermeture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1c1c1c, #2c2c2c);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
  animation: fadeIn 0.4s ease-in-out;
}

.popup-fermeture h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 0 #000;
}

.popup-fermeture p {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  max-width: 90%;
  line-height: 1.6;
}

.popup-fermeture p:last-child {
  font-size: 1rem;
  color: #ffc107;
  font-weight: bold;
  margin-top: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Optionnel : fond d’écran tamisé */
.popup-fermeture::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: -1;
}





/* 🔥 Design spécial pour la catégorie Promotions */
.promotion-card {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d); /* fond noir doux */
  border: 2px solid #f5c542; /* liseré doré */
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(245, 197, 66, 0.6); /* lumière dorée */
  position: relative;
  transform: scale(1.01);
  transition: transform 0.3s ease;
}

.promotion-card:hover {
  transform: scale(1.04);
}

.promotion-card::before {
  content: "Best-Seller 🔥";
  position: absolute;
  top: -10px;
  left: -10px;
  background: #f39c12;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 0 10px #f39c12;
}

@keyframes pulsePromo {
  0% { box-shadow: 0 0 12px rgba(255, 193, 7, 0.4); }
  50% { box-shadow: 0 0 22px rgba(255, 87, 34, 0.8); }
  100% { box-shadow: 0 0 12px rgba(255, 193, 7, 0.4); }
}

.popup-inactivite {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-inactivite.hidden {
  display: none;
}

.popup-inactivite .popup-contenu {
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 25px 30px;
  color: white;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
  max-width: 90%;
  font-family: 'Arial', sans-serif;
}

.popup-inactivite .popup-contenu h2 {
  margin-bottom: 15px;
  color: #ff9500;
}

.popup-inactivite .popup-contenu p {
  margin: 10px 0;
  font-size: 16px;
}
#compteurInactivite {
  color: #FFA500; /* orange Alex Grill House */
  font-weight: bold;
}

input, button, textarea {
  font-size: 16px; /* ou plus */
}

#imageProduit {
  display: block;
  margin: 0 auto 15px auto;
  width: 140px;
  max-width: 80%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  background: white;
  padding: 6px;
}

.login-container.fade-out {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;}

/* 🎯 Vibration effet "shake" */
.shake {
  animation: shake 0.3s ease-in-out;
}

/* 💢 Animation de secousse horizontale */
@keyframes shake {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-5px); }
  50%  { transform: translateX(5px); }
  75%  { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* 🚨 Bordure rouge pour champs invalides */
.input-erreur {
  border: 2px solid #e53935 !important;
  background-color: rgba(229, 57, 53, 0.05);
  transition: all 0.3s ease;
}
/* ------------------------------------------------------------------- */

/* ✅ Fond noir transparent avec flou */
#modal-erreur {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ✅ Boîte centrée avec effet "pop" */
.modal-contenu {
  background: #1c1c1c;
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid orange;
  animation: popIn 0.4s ease;
}

/* ✅ Texte d'erreur avec icône */
.modal-contenu p {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* ✅ Bouton stylé façon Alex Grill House */
#fermer-erreur {
  background: linear-gradient(to right, orange, rgb(202, 132, 2));
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

#fermer-erreur:hover {
  background: linear-gradient(to right, #d32f2f, #ff5722);
}

/* ✅ Cacher la modale */
.hidden {
  display: none;
}

/* ✅ Animation d'apparition "pop" */
@keyframes popIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Empêche le scroll en arrière-plan quand un popup est ouvert 
.no-scroll {
  overflow: hidden !important;
  height: 100vh; /* empêche le scroll sans bloquer les effets 
}*/

/* Scrollbar Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e; /* Fond du slider */
}

::-webkit-scrollbar-thumb {
  background-color: #f5a623; /* ✅ Orange Alex Grill House */
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

/* Pour Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #f5a623 #1e1e1e;
}

.footer-universel {
  background: #1e1e1e;
  color: #f5a623;
  text-align: center;
  padding: 1.2rem 1rem;
  font-size: 0.85rem;
  border-top: 2px solid #f5a623;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
  margin-top: 2rem;
}

.footer-universel p {
  margin: 0;
  font-weight: 500;
}

.footer-liens {
  margin-top: 0.5rem;
}

.footer-liens a {
  margin: 0 10px;
  color: #f5a623;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.footer-liens a:hover {
  color: #ffffff;
}

#btn-retour-menu {
  background: transparent;
  font-size: 0.6rem;
  color: #fff;
  border: none;
  position: relative;
  padding-bottom: 10px;
}

#btn-retour-menu::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background-color: #f5a623;
  border-radius: 2px;
}



#btn-retour-menu-methode {
  background: transparent;
  font-size: 0.6rem;
  color: #fff;
  border: none;
  position: relative;
  padding-bottom: 10px;
}

#btn-retour-menu-methode::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background-color: #f5a623;
  border-radius: 2px;
}

.icon-info {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
}

.icon-info:hover {
  transform: scale(1.1);
}

.info-texte {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #ccc;
}

.popup-infos {
  margin-top: 1rem;
  background: #2b2b2b;
  padding: 1rem;
  border-radius: 10px;
}

.horaire-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.horaire-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid #444;
  font-size: 0.9rem;
}

.horaire-list li.vert span {
  color: #32cd32 !important; /* vert vif */
  font-weight: bold;
}

.horaire-list li.rouge span {
  color: #ff4c4c !important; /* rouge vif */
  font-weight: bold;
}

.hidden {
  display: none;
}

#colorhoraires{
  color: #f5a623;
}

.bloc-adresse {
  background: #2b2b2b;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin: 1.2rem 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  border-left: 4px solid #f5a623;
}

.titre-adresse {
  color: #f5a623;
  font-weight: bold;
  margin: 0;
  font-size: 1rem;
}

.texte-adresse {
  color: #ffffff;
  font-size: 0.95rem;
  margin-top: 0.3rem;
  line-height: 1.4;
}

.bloc-horaires {
  background: #2b2b2b;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin: 1.2rem 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  border-left: 4px solid #f5a623;
}

.titre-horaires {
  color: #f5a623;
  font-weight: bold;
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.horaire-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.horaire-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  color: #fff;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.horaire-list li:last-child {
  border-bottom: none;
}

.horaire-list li span:first-child {
  font-weight: 500;
}

.horaire-list li span:last-child {
  font-family: monospace;
  color: #ccc;
}

.carte-google-bloc {
  background-color: #2a2a2a;
  border-left: 4px solid #f5a623;
  padding: 12px;
  border-radius: 12px;
  margin-top: 1.5rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}
.popup {
  max-height: 95vh;
  overflow-y: auto;
  padding: 2rem;
  box-sizing: border-box;
}

.langues-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.btn-langue {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-langue:hover {
  transform: scale(1.2);
}