.nalo-language-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: #121212;
  font-family: Assistant, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.nalo-language-picker__label {
  color: #121212;
  font-size: 12px;
  line-height: 1;
}

body:not(.admin-page)[data-nalo-theme="black"] .nalo-language-picker,
body:not(.admin-page)[data-nalo-theme="black"] .nalo-language-picker__label {
  color: #fff;
}

body:not(.admin-page)[data-nalo-theme="black"] .nalo-language-picker select,
body:not(.admin-page)[data-nalo-theme="black"] .nalo-language-picker option {
  border-color: #fff;
  background-color: #111;
  color: #fff;
}

body:not(.admin-page)[data-nalo-theme="white"] .nalo-language-picker,
body:not(.admin-page)[data-nalo-theme="white"] .nalo-language-picker__label {
  color: #171615;
}

body:not(.admin-page)[data-nalo-theme="white"] .nalo-language-picker select,
body:not(.admin-page)[data-nalo-theme="white"] .nalo-language-picker option {
  border-color: #171615;
  background-color: #fff;
  color: #171615;
}

.nalo-language-picker select {
  width: 44px;
  height: 44px;
  padding: 4px 3px;
  border: 1px solid #222;
  border-radius: 3px;
  background-color: #fff;
  color: #121212;
  font: inherit;
  cursor: pointer;
}

.nalo-language-picker select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.account-header .nalo-language-picker {
  margin-left: auto;
  margin-right: 18px;
}

.catalog-header nav .nalo-language-picker,
.admin-header nav .nalo-language-picker {
  margin-right: 4px;
}

.nalo-language-picker--floating {
  position: fixed;
  top: 12px;
  right: 24px;
  z-index: 1000;
  padding: 6px 8px;
  background: #fff;
}

@media (max-width: 749px) {
  .nalo-language-picker {
    gap: 4px;
  }

  .nalo-language-picker select {
    width: 44px;
    height: 44px;
  }
}

.nalo-translation-notice {
  position: fixed;
  z-index: 1100;
  right: 16px;
  bottom: 16px;
  max-width: min(420px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

body[data-nalo-theme="white"] .nalo-translation-notice {
  background: #fff;
  color: #171615;
}
