/* Keep the drawer language control with the menu, including short viewports. */
@media (max-width: 1024.98px) {
  /* Direction and open state are both on html, not nested ancestors. */
  html[dir="rtl"].nav-open .fidelity-navigation {
    transform: translateX(0);
  }
  html[dir="rtl"] .fidelity-navigation > close-menu {
    left: 7px;
    right: auto;
  }
  .fidelity-navigation .lang__currency-on-nav {
    display: block;
    flex: none;
    width: 100%;
    margin: 8px 0 0;
    padding: 16px 30px calc(24px + env(safe-area-inset-bottom, 0px));
    border: 0;
    box-sizing: border-box;
  }
  .mobile-menu-language {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    color: #111;
    font-size: 16px;
    line-height: 1.5;
  }
  .mobile-menu-language select {
    width: 100%;
    min-width: 0;
    height: 48px;
    margin: 0;
    padding-block: 8px;
    padding-inline: 12px 30px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background-color: #fff;
    color: #111;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
  }
  .mobile-menu-language select:focus-visible {
    outline: 2px solid #0047b9;
    outline-offset: 3px;
  }
}
