  :root{

  --bb-h: 64px; /* hauteur de la bottom bar */

}
/* ===== Bottom bar (mobile) + spacer pour le footer ===== */
.c-nav-bottom {
    display: none;
}

@media (max-width: 1024px) {
  /* Réserve de place en bas pour que le contenu / footer ne passe pas sous la BB */
  body::after {
    content: "";
    display: block;
    height: calc(var(--bb-h) + env(safe-area-inset-bottom, 0px));
  }

  .c-nav-bottom {
    position: fixed;
    left: 0; right: 0;
    inset-inline: 0;
    bottom: env(safe-area-inset-bottom, 0px);
    height: var(--bb-h);
    z-index: 0; /* en dessous du sheet (qui est à 1100) */

    background:#fff;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 8px;

    border-top: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 -6px 16px rgba(0,0,0,.06);
  }

  .c-nav-bottom__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    padding: 8px 0;
    background: transparent;
    border: 0;
  }

[data-tag-count].is-visible {
  visibility: visible;
  opacity: 1;
}
[data-tag-count]:not(.is-visible) {
  visibility: hidden;
  opacity: 0;
}
  .search-count, .localisation-count , .filter-count  {
    position: absolute;
    top: 0px;
    right: 10px;
    background: #fe1348;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .c-nav-bottom__item i { font-size: 20px; line-height: 1; }
  .c-nav-bottom__item.is-active { color: #111; }

  /* Option : masquer la bottom-bar quand un sheet est ouvert 
  body.sheet-open .bottom-bar { display: none; }
  */
}