/* Listing language — header select; filters products (no auto-translate) */
.steelence-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: Manrope, system-ui, sans-serif;
  flex-shrink: 0;
}

.steelence-lang-switch__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
}

.steelence-lang-switch__select {
  appearance: none;
  -webkit-appearance: none;
  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.55rem center;
  padding: 0.45rem 1.7rem 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0B1F33;
  cursor: pointer;
  min-width: 11.5rem;
  max-width: 16rem;
  line-height: 1.2;
}

.steelence-lang-switch__select:focus {
  outline: 2px solid #00A6A6;
  outline-offset: 1px;
}

/* In main nav, before Get a Quote */
.site-header .nav-links .steelence-lang-switch--nav {
  margin-left: 0.15rem;
  margin-right: 0.15rem;
}

.steelence-lang-switch--floating {
  position: fixed;
  left: 16px;
  bottom: 20px;
  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.55rem 0.7rem;
}

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: 980px) {
  .site-header .nav-links .steelence-lang-switch--nav {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
    order: 20;
  }
  .steelence-lang-switch__label {
    display: inline;
  }
}
