/* MENU MOBILE OVERLAY laterale a destra, NON full-screen, con box-shadow soft */
#mobile-fullscreen {
  left: auto !important;
  right: 0 !important;
  width: 240px !important;
  max-width: 80vw;
  background: rgba(24,24,24,0.6) !important; /* quasi nero, semi-trasparente */
  box-shadow: -28px 0 64px -6px rgba(0,0,0,0.16), -2px 0 24px 0 rgba(0,0,0,0.10);
  position: fixed !important;
  top: 64px; /* distanza dal top, regola se hai header fisso */
  height: auto; /* automatico, usa max-height per limiti */
  max-height: 540px; /* oppure 80vh per adattarsi */
  overflow-y: auto; /* scroll interno se il menu è lungo */
  border-radius: 0 0 0 24px; /* solo se vuoi angolo basso arrotondato */
  z-index: 9999;
}

/* Ombra interna soft */
#mobile-fullscreen::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  box-shadow: inset -18px 0 48px 8px rgba(0,0,0,0.14);
  border-radius: 0 0 0 24px;
}

/* Meno spazio in alto */
#mobile-fullscreen-inner {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Stile pillola, voci menu */
#mobile-nav .menu,
#mobile-nav .mobile-menu {
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

#mobile-nav .menu > li,
#mobile-nav .mobile-menu > li {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

#mobile-nav .menu > li > a,
#mobile-nav .mobile-menu > li > a {
  background: #111 !important;
  color: #fff !important;
  border-radius: 40px !important;
  padding: 12px 16px !important;
  margin-left: 18px !important;
  min-width: 90px;
  max-width: 90vw;
  font-size: 1.1rem !important;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: none !important;
  text-align: center;
  display: block;
  border: none;
  transition: background .2s, color .2s, outline .2s;
  letter-spacing: 1px;
}

#mobile-nav .menu > li > a:hover,
#mobile-nav .menu > li > a:focus,
#mobile-nav .mobile-menu > li > a:hover,
#mobile-nav .mobile-menu > li > a:focus {
  background: #222 !important;
  color: #ff9800 !important;
  outline: 2px solid #ff9800;
  text-decoration: none;
}