:root{
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), 12px);
  --bar-h: 58px; /* hauteur du contenu (icônes + labels) */
  --icon: 22px;
}

body.is-app .app-bottom-bar{
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0;

  /* hauteur totale = contenu + safe area */
  height: calc(var(--bar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);

  background: #fff;
  z-index: 99999;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;

  border-top: 1px solid rgba(0,0,0,0.08);

  /* ombre douce (type LinkedIn) */
  box-shadow: 0 -10px 20px -18px rgba(0,0,0,0.18);
}

/* pour éviter que le contenu passe dessous la barre */
body.is-app{
  padding-bottom: calc(var(--bar-h) + var(--safe-bottom));
}

body.is-app .app-nav-item{
  text-decoration: none;
  color: rgba(0,0,0,0.65);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 4px;

  /* IMPORTANT: hauteur fixe du contenu, pas 100% */
  height: var(--bar-h);

  -webkit-tap-highlight-color: transparent;
}

body.is-app .app-nav-icon{
  width: var(--icon);
  height: var(--icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.is-app .app-nav-icon svg{
  width: 100%;
  height: 100%;
  fill: currentColor;
}

body.is-app .app-nav-label{
  font-size: 11px;
  line-height: 1;
}

body.is-app .app-nav-item.is-active{
  color: #ff7a00;
  font-weight: 600;
}

/* Bouton central type "Post" */
body.is-app .app-nav-item--center .app-nav-icon--plus{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid rgba(0,0,0,0.25);
  font-size: 22px;
  line-height: 1;
  color: rgba(0,0,0,0.75);

  display: inline-flex;
  align-items: center;
  justify-content: center;
}



body.is-app #vehica-search-app .go-filter-footer {
    display: flex !important;
}

/*************************/

.is-app .app-disable{
	display: none;
}


.is-app  .Grayl-chatbot-button {
    bottom: 100px !important
}

.is-app .Grayl-teaser {
    bottom: 155px !important
}

.is-app .elementor-357 .elementor-element.elementor-element-1777c7c {
    --padding-top: 55px !important
}


.is-app header.fixed {
    padding-top: 10px;
    background: #fff;
}

.is-app header.fixed .elementor-element.elementor-element-1777c7c{
	display: none;
}

.is-app header.fixed #menu{
	box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.0784313725490196);
}


