.header-actions {
  position: absolute;
  top: 43px;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  font-size: 14px;
  font-weight: 400;
}
.header-actions :is(a, button) { -webkit-tap-highlight-color: transparent; }
.header-login, .header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  padding: 8px;
}
.header-login { gap: 5px; padding-inline: 4px; }
.header-icon { width: 32px; padding-inline: 4px; }
.header-actions :is(svg, .language-flag) { flex: 0 0 22px; width: 22px; height: 22px; }
.language-flag { object-fit: contain; }
.header-actions .theme-toggle { color: var(--brand); }
.header-actions :is(a, button):hover:not(:disabled) { color: var(--brand); background: var(--header-hover); }
.header-actions :is(a, button):focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.header-language { position: relative; }
.language-list {
  position: absolute;
  right: 0;
  top: 100%;
  width: 174px;
  margin: 2px 0 0;
  padding: 4px 0;
  list-style: none;
  text-align: left;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: var(--panel);
  box-shadow: 0 4px 12px #0002;
  color: var(--text);
}
.language-list li, .language-list button { min-height: 42px; }
.language-list button, .language-current { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 14px; }
.language-list button { border: 0; background: transparent; color: var(--muted); text-align: left; font-size: inherit; }
.language-list button:disabled { cursor: not-allowed; opacity: .75; }
.language-list button.language-current { background: var(--header-hover); }
.language-check { margin-left: auto; color: var(--brand); }
@media (max-width: 780px) {
  .header-actions { top: 27px; right: 0; gap: 0; font-size: 12px; }
  .header-login { gap: 4px; padding: 4px; }
  .header-icon { width: 30px; }
  .header-actions :is(svg, .language-flag) { width: 20px; height: 20px; flex-basis: 20px; }
  :is(.payment-page, .payment-options-page) .brand-logo { width: 102px; left: 12px; }
}
