/* Navigation mobile fixe en bas : layout horizontal forcé */
@media (max-width: 767.98px) {
  body.has-mobile-bottom-nav {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  body.has-mobile-bottom-nav .custom-footer {
    margin-bottom: env(safe-area-inset-bottom, 0px);
  }
}

nav.velora-bottom-nav {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 1050;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08);
  float: none !important;
  clear: both;
  box-sizing: border-box;
}

nav.velora-bottom-nav .velora-bottom-nav__inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: space-around !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 6px 4px 8px !important;
  list-style: none !important;
  float: none !important;
  box-sizing: border-box;
}

nav.velora-bottom-nav .velora-bottom-nav__link {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  padding: 4px 2px;
  margin: 0 !important;
  text-decoration: none !important;
  color: #334155 !important;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.1;
  border-radius: 10px;
  float: none !important;
  transition: color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

nav.velora-bottom-nav .velora-bottom-nav__link:hover,
nav.velora-bottom-nav .velora-bottom-nav__link:focus {
  color: var(--velora-green, var(--webiste-primary-color, #006d44)) !important;
  background: rgba(0, 109, 68, 0.06);
}

nav.velora-bottom-nav .velora-bottom-nav__link.is-active {
  color: var(--velora-green, var(--webiste-primary-color, #006d44)) !important;
  font-weight: 600;
}

nav.velora-bottom-nav .velora-bottom-nav__icon-wrap {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  float: none !important;
}

nav.velora-bottom-nav .velora-bottom-nav__icon-wrap .bi {
  font-size: 1.35rem;
  line-height: 1;
}

nav.velora-bottom-nav .velora-bottom-nav__link.is-active .bi {
  font-weight: 700;
}

nav.velora-bottom-nav .velora-bottom-nav__label {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  float: none !important;
}

nav.velora-bottom-nav .velora-bottom-nav__badge {
  position: absolute;
  top: -4px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border: 2px solid #fff;
}

nav.velora-bottom-nav .velora-bottom-nav__badge[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  nav.velora-bottom-nav {
    display: none !important;
  }
}
