CSS



.conteneur {
  display: flex;
  gap: 20px;
}

.texte-defilant {
  position: -webkit-sticky; /* Pour Safari */
  position: sticky;
  top: 30px; /* Distance du haut de l'écran lors du scroll */
  height: fit-content;
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 5px;
}

.contenu-long {
  flex: 1;
  height: 19000px; /* Juste pour créer du défilement */
}


/* Exemple si le champ de recherche est placé en haut à droite */
.champ-recherche {
  right: auto;
  left: 20px;
  z-index: 5;
}

/* Ou si le panier flottant est en bas/haut à droite : laisser de la place */
body {
  padding-bottom: 80px; /* évite que le bouton flottant cache le bas de la page ou des contrôles */
}

.carte .badge-reduc {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  background: #e03131;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  line-height: 1.2;
  vertical-align: middle;
}
