/* Shared language control: an outlined globe beside the logo. */
.nav-brand-tools { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-brand-tools .brand { min-width: 0; }
.language-switcher { position: relative; flex: none; }
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #b7c9d6;
  background: transparent;
  cursor: pointer;
}
.language-toggle svg { display: block; width: 23px; height: 23px; }
.language-code { font: 700 10px Inter, system-ui, sans-serif; letter-spacing: .03em; }
.language-toggle:hover, .language-toggle[aria-expanded="true"] { color: #eef8ff; background: #1b2b39; border-color: #355469; }
.language-toggle:focus-visible, .language-menu button:focus-visible { outline: 2px solid #73caec; outline-offset: 3px; }
.language-menu {
  position: absolute;
  z-index: 40;
  left: 0;
  top: calc(100% + 10px);
  width: 158px;
  padding: 6px;
  border: 1px solid #36546a;
  border-radius: 9px;
  background: #0e1d2b;
  box-shadow: 0 12px 35px #0008;
}
.language-menu[hidden] { display: none; }
.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 41px;
  padding: 9px 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #dce9f2;
  text-align: left;
  font: 600 13px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.language-menu button:hover, .language-menu button[aria-pressed="true"] { background: #203c50; color: #fff; }
.language-check { color: #8bd9f4; }
@media (max-width: 700px) {
  .topbar .nav { gap: 12px; }
  .nav-brand-tools { gap: 6px; }
  .language-toggle { padding: 5px; min-height: 36px; }
  .language-toggle svg { width: 21px; height: 21px; }
}
@media (max-width: 480px) {
  .nav-brand-tools .brand-name { font-size: 15px; letter-spacing: .04em; }
  .language-code { display: none; }
  .nav-brand-tools { gap: 4px; }
  .store-actions.store-account { width: auto; flex: 1 1 190px; min-width: 0; }
  .store-account .store-user { min-width: 0; }
  .store-user-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .store-actions .store-user small { display: none; }
  .store-actions .store-cart small { font-size: 9px; }
}
@media (max-width: 380px) {
  .topbar .nav { gap: 8px; }
  .nav-brand-tools .brand-name { font-size: 14px; }
  .store-account .store-avatar { display: none; }
  .store-account .store-cart { flex-basis: 83px; }
}
