
  .language-switcher {
    position: relative;
    list-style: none;
  }
  .language-switcher > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }
  .language-switcher .language-menu {
    position: absolute;
    right: 0;
    top: 110%;
    min-width: 160px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    padding: 6px;
    display: none; /* hidden by default */
    z-index: 1000;
  }
  .language-switcher.open .language-menu { display: block; }
  .language-switcher .language-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
  }
  .language-switcher .language-menu a:hover {
    background: rgba(0,0,0,.05);
  }

  /* Tocar áreas táctiles un poco más grandes en mobile */
  @media (max-width: 991.98px) {
    .language-switcher .language-menu {
      top: 100%;
      right: 0;
    }
  }

