html, body {
  overscroll-behavior: none;
}
body {
  position: relative; /* nécessaire pour que ::before suive la hauteur */
  margin: 0;
  min-height: 100dvh;
  background: url("../images/bar_3_dessin.jpg") center/cover no-repeat;
  /* font-family: "Open Sans", sans-serif; */
}

body::before {
  content: "";
  position: absolute;
  inset: 0; /* top/left/right/bottom:0 */
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

/* Bandeau 1 */
.bandeau1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px; /* fixe */
  background-color: #505050;
  padding: 0 10px;
  box-sizing: border-box;
  position: fixed; /* reste collé en haut */
  top: 0;
  left: 0;
  z-index: 10;
}

/* Conteneurs gauche et droite */
.bandeau1 .left,
.bandeau1 .right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo centré */
.bandeau1 .logo-link {
  position: absolute;      /* pour centrer indépendamment du flex */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.bandeau1 .logo-link img {
  height: 130px;   /* adapte la taille du logo */
  width: auto;
}

/* Flèche, loupe, hamburger */
.bandeau1 .back img,
.bandeau1 .search img,
.bandeau1 .hamburger img {
  height: 60px;
  width: auto;
  display: block;
}



/* Bandeau 2 */
.bandeau2 {
  position: fixed;
  top: 100px; /* juste sous le bandeau1 */
  left: 0;
  width: 100%;
  height: 10px; /* tu ajustes selon ton design */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  background: rgba(255,255,255,0.8);
  z-index: 9;
}

.bandeau2 h1 {
  margin: 0;
  font-size: 26px;
  text-transform: uppercase;
  font-weight: 300;
  margin: 12px;
}

.bandeau2 .count {
  font-size: 14px;
  /* text-transform: uppercase; */
  font-weight: 300;
  margin-right: 44px;
}
a, button {
  -webkit-tap-highlight-color: transparent; /* Android & iOS */
}

/* Bandeau 3 */
/* Bandeau 3 (scrollable) */
.bandeau3 {
  position: absolute;
  top: calc(110px + 50px);
  bottom: 70px;
  left: 0;
  right: 0;
  overflow-y: auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.2); /* blanc semi-transparent */
  backdrop-filter: blur(1px); /* floute l’image derrière */
}

/* .bandeau3 .regions {
  list-style: none;      

  display: flex;
  
  flex-direction: column;
} */
/* .regions ul {
  
    margin-top: 15px;
  	        
} */
.regions li {
    /* font-size: 25px;
    font-weight: 500; */
    padding: 0;
     /* margin-top: 10px; */
  	/*margin-bottom: 30px; */
    margin-left: -26px;
    list-style-type: none; 
    -webkit-tap-highlight-color: transparent;
  outline: none;           
}




/* Bandeau 4 */
.bandeau4 {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 30px; /* fixe */
  padding: 20px 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  /* text-transform: uppercase; */
  font-size: 22px;
  z-index: 10;
}

.selection-badge {
  border: 1px solid #ccc; /* gris */
  border-radius: 5px;
  padding: 3px 12px; /* optionnel, pour que ça respire */
}

/* Boisson */
.categorie {
  font-size: 30px;
  letter-spacing: 0.2rem;
  color: #0f0f0e;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sous-categorie {
  margin-left: 15px;
  cursor: pointer;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
  /* text-transform: uppercase; */
  letter-spacing: 0.2rem;
}

.sc-titre {
  padding: 5px 0;
}

.boissons {
  display: none; /* caché par défaut */
  margin-left: 20px;
  list-style: none;
  padding-left: 0;
  
}

/* .boisson-card {
  background: rgba(80, 80, 80, 0.7); 
  padding: 15px;
  width: 100%;               
  box-sizing: border-box;
  border-bottom: #333;
  display: flex;            
  justify-content: space-between; 
  align-items: center;       
} */

.boisson-card {
  display: flex;
  align-items: center;
  background: rgba(80, 80, 80, 0.7); 
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  gap: 10px; /* petit espace entre éléments */
}
.boisson-nom {
  color: white;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.1rem;
  /* text-transform:uppercase; */
  flex: 1; 
}
.boisson-volume {
  margin: 0 70px;
  color: white;
  font-weight: 400;
  font-size: 16px;
  text-transform:none;
  width: 50px;
    text-align: right;
}

.boisson-prix {
  width: 40px;
  font-weight: bold;
  color: white;
  font-weight: 400;
  font-size: 16px;
  text-transform:none;
  text-align: right;
}

.boisson-card input[type="checkbox"] {
  display: none;
}

/* Cercle vide */
.checkmark {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
  position: relative;
  background-color: white;
}

/* Cercle rempli quand sélectionné */
.boisson-card input[type="checkbox"]:checked + .checkmark::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  /*background: #c3c6c0;*/
  background: #070707;
}


.boisson-card input[type="checkbox"]:checked + .checkmark {
  border-color: #333;

}
.boisson-card input[type="checkbox"]:checked ~ .boisson-nom,
.boisson-card input[type="checkbox"]:checked ~ .boisson-volume,
.boisson-card input[type="checkbox"]:checked ~ .boisson-prix {
  font-weight: 500;
  font-size: 20px;
  color: black;
}

.boisson-card:has(input:checked) {
  /* background: #c3c6c0; bleu clair par exemple */
  background: rgba(195, 198, 192, 0.8); /* blanc semi-transparent */
}


/* Boisson */


#search-bar {
  display: none; /* caché par défaut */
  margin-left: -21px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 2px;
  outline: none;
  font-size: 14px;
  transition: all 0.6s ease;
  width: 130px;
  background-color: #fff;
  margin-top: -7px;
  color: #333;
  font-family: inherit;
}

#search-bar:focus {
  border-color: #666;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  width: 130px; /* effet animé quand on tape */
}

.right {
  display: flex;
  align-items: center;
}

.right .search img {
  cursor: pointer;
  /* width: 20px;
  height: 20px; */
  transition: transform 0.5s;
}

.right .search img:hover {
  transform: scale(1.1);
}