/* Hérite des variables Elementor quand dispo */
.anchor-menu a,
.anchor-menu select,
.anchor-menu option {
  color: var(--e-global-color-text, inherit);
  font-family: var(--e-global-typography-text-font-family, inherit), sans-serif;
  font-weight: var(--e-global-typography-text-font-weight, 400);
  font-size: var(--e-global-typography-text-font-size, 1rem);
  text-decoration: none;
  background: transparent;
  border: none;
}

/* Hover */
.anchor-menu a:hover {
  text-decoration: underline;
  color: var(--e-global-color-accent, currentColor);
}

/* Liste desktop */
.anchor-menu ul {
  list-style: none !important;
  padding-left: 1rem !important;
  margin: 0;
  border: none;
}

.anchor-menu li {
  list-style: none !important;
  padding: 0.15rem 0;
  margin: 0;
  border: none !important;
}

.anchor-menu li::marker,
.anchor-menu li::before {
  display: none !important;
}

.anchor-menu li a {
  display: inline-block;
  width: 100%;
  border: none !important;
}

/* Layout mobile */
.anchor-menu .menu-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .anchor-menu .menu-desktop {
    display: none;
  }
  .anchor-menu .menu-mobile {
    display: block;
    background: #fff;
    z-index: 99;
    padding: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
  }
  .anchor-menu select {
    width: 100%;
    padding: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23000000' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    color: var(--e-global-color-text, inherit);
  }
  .anchor-menu select:focus {
    outline: none;
  }
}

/* ===== Sticky bottom glass ===== */
@media (max-width: 1024px) {

  .anchor-menu.is-sticky-bottom .menu-mobile {
    position: fixed !important;
    left: 50%;
    transform: translateX(-50%) translateZ(0);

    bottom: calc(env(safe-area-inset-bottom, 0) + 2vh);
    width: calc(100% - 2rem);
    max-width: 520px;

    z-index: 99; /* MAX SAFE z-index */

    padding: 0.75rem 1rem;
    border-radius: 25px;

    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
  }
}

/** Ce code permet de "designer" le layout du container sur le template 75% et 100%.
*** C'est dans le css aditionnel du container "menu" que se trouve la gestion de l'opacité, pour une question de priorité. 
*/
.floating-menu{
  position:fixed;
  bottom:80px;
  width:25vw;
  max-height: 35vh;
  overflow-y: auto;
  padding:20px;
  z-index:99;
}

/** Accessibilité : hide visuellement mais laisser accessible au lecteur d'écran */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}