/* Listing language — always-visible header select (does not auto-translate) */
.steelence-lang-switch,
.site-header .steelence-lang-switch,
.header-tools .steelence-lang-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 0.25rem;
  font-family: Manrope, system-ui, sans-serif;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  height: 37px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.steelence-lang-switch__label,
.steelence-lang-switch label,
.site-header .steelence-lang-switch label,
label[for="lahgum_lang_select"] {
  display: none !important;
}

.steelence-lang-switch__select,
.site-header .steelence-lang-switch select,
.header-tools .steelence-lang-switch select,
#lahgum_lang_select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  border: 1px solid #DCE5EC;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230B1F33' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.28rem center;
  background-size: 9px 6px;
  padding: 0 0.85rem 0 0.28rem !important;
  border-radius: 8px;
  font-size: 10px !important;
  font-weight: 600;
  color: #0B1F33;
  cursor: pointer;
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  height: 37px !important;
  min-height: 37px !important;
  max-height: 37px !important;
  line-height: 35px;
  overflow: hidden;
  flex: 0 0 120px !important;
}

.steelence-lang-switch__select option,
.site-header .steelence-lang-switch select option,
#lahgum_lang_select option {
  font-size: 12px;
  font-weight: 600;
}

.steelence-lang-switch__select:focus {
  outline: 2px solid #00A6A6;
  outline-offset: 1px;
}

.header-tools .steelence-lang-switch--compact {
  display: inline-flex !important;
  margin-right: 0;
}

.header-tools .steelence-lang-switch--compact .steelence-lang-switch__select,
.header-tools .steelence-lang-switch--compact select {
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  height: 37px !important;
  min-height: 37px !important;
  max-height: 37px !important;
  padding-right: 0.85rem !important;
  font-size: 10px !important;
}

.steelence-lang-switch--floating {
  position: fixed;
  right: 16px;
  top: 88px;
  z-index: 9998;
  background: #fff;
  border: 1px solid #DCE5EC;
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.12);
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
  max-width: none !important;
}

/* Footer leftover before JS moves it into the header */
body > .steelence-lang-switch:not(.steelence-lang-switch--floating) {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

a.product-type-card[data-lang-hidden="1"],
a.product-type-card.is-lang-hidden {
  display: none !important;
}

.steelence-lang-empty {
  display: none;
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  background: #F5F8FA;
  border: 1px solid #DCE5EC;
  border-radius: 10px;
  color: #4B5563;
  font-size: 0.95rem;
  max-width: 42rem;
}

.steelence-lang-empty.is-visible {
  display: block;
}

@media (max-width: 760px) {
  .header-tools .steelence-lang-switch--compact .steelence-lang-switch__select,
  .header-tools .steelence-lang-switch--compact select,
  #lahgum_lang_select {
    width: 120px !important;
    max-width: 120px !important;
    min-width: 120px !important;
    height: 37px !important;
    min-height: 37px !important;
    max-height: 37px !important;
    font-size: 10px !important;
    padding: 0 0.82rem 0 0.22rem !important;
    line-height: 35px;
  }
}

/* Hide Google Translate top bar so it never covers the logo/header */
#google_translate_element {
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
iframe.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
body > .skiptranslate,
html > .skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
html {
  margin-top: 0 !important;
}
html body,
body.lahgum-chrome,
body {
  top: 0 !important;
  position: relative !important;
}
.goog-logo-link,
.goog-te-gadget {
  display: none !important;
}
.site-header.lahgum-metal-header,
header.site-header.lahgum-metal-header {
  top: 0 !important;
}
