/* 28.09.2026 15h30 */

/* Menu carrefour "Vous êtes" — Casal Sport */

/* ---- Reserve de hauteur : desktop ---- */
#headerWrapper {
  margin-bottom: 54px;
}

.hp-segF {
  margin-top: -54px;
  min-height: 54px;
}

/* ---- Barre ---- */
.hp-segF {
  width: 100%;
  background: #105da8;
  -webkit-font-smoothing: antialiased;
}

.hp-segF,
.hp-segF__in,
.hp-segF__lbl,
.hp-segF__item {
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: normal;
}

.hp-segF__in {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 11px 15px;
}

/* ---- Libelle ---- */
.hp-segF__lbl {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  white-space: nowrap;
  margin-right: 4px;
}

.hp-segF__lbl::after {
  content: "\2192";
  margin-left: 7px;
  font-size: 13px;
  line-height: 1;
}

/* ---- Pastilles ---- */
.hp-segF__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  color: #1565b8;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.hp-segF__item:hover,
.hp-segF__item:focus {
  background: #fff;
  color: #f47216;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .28);
}

.hp-segF__item.is-active {
  color: #f47216;
}

.hp-segF__item:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---- Repli ----
   Si le menu reste dans un conteneur limite en largeur (appel sans data-target),
   on le fait deborder jusqu'aux bords de la fenetre et on annule la reserve,
   qui ne s'applique qu'au placement sous #headerWrapper. */
.container .hp-segF,
.left_espot .hp-segF,
.contentRecommendationWidget .hp-segF {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  flex: 0 0 100%;
}

/* ---- Mobile ---- */
@media (max-width: 767px) {

  /* Reserve de hauteur : mobile (le libelle passe sur sa propre ligne) */
  #headerWrapper {
    margin-bottom: 68px;
  }

  .hp-segF {
    margin-top: -68px;
    min-height: 68px;
  }

  .container .hp-segF,
  .left_espot .hp-segF,
  .contentRecommendationWidget .hp-segF {
    margin-top: 0;
  }

  .hp-segF__in {
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px 8px;
  }

  .hp-segF__lbl {
    flex: 0 0 100%;
    justify-content: center;
    margin: 0 0 4px;
    font-size: 10px;
  }

  .hp-segF__lbl::after {
    content: "";
    display: none;
  }

  .hp-segF__item {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 5px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .hp-segF__item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
