/* ===== 三语切换器 (lang-switch.js) ===== */
.lang-switch-dropdown { position: relative; display: inline-block; }
.lang-switch-dropdown__btn {
  display: inline-flex; align-items: center; gap: 5px;
  font: inherit; cursor: pointer; line-height: 1;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.45);
  color: #fff; padding: 7px 12px; border-radius: 100px; font-size: 13px;
  white-space: nowrap; transition: background .2s, border-color .2s;
}
.lang-switch-dropdown__btn:hover { background: rgba(255,255,255,.22); }
.lang-switch-dropdown__btn .ls-flag { font-size: 14px; }
.header:not(.header--scrolled) .lang-switch-dropdown__btn,
.header--transparent .lang-switch-dropdown__btn { color: #fff; border-color: rgba(255,255,255,.5); }
.header--scrolled .lang-switch-dropdown__btn { color: #9B3D3D; border-color: rgba(155,61,61,.4); background: rgba(155,61,61,.08); }
.lang-switch-dropdown__menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 130px;
  margin: 0; padding: 6px 0; list-style: none;
  background: #fff; color: #222; border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 1000;
}
.lang-switch-dropdown.is-open .lang-switch-dropdown__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-switch-dropdown__menu a {
  display: block; padding: 9px 16px; color: #222;
  text-decoration: none; font-size: 14px;
}
.lang-switch-dropdown__menu a:hover { background: #f5f0eb; }
.lang-switch-dropdown__menu a.is-active { color: #9B3D3D; font-weight: 600; }
[dir="rtl"] .lang-switch-dropdown__menu { right: auto; left: 0; }

/* ===== RTL 基础适配（保留备用：当前语种均为 LTR，未启用）===== */
[dir="rtl"] body { font-family: "Noto Kufi Arabic", "Noto Sans SC", "Segoe UI", Tahoma, sans-serif; text-align: right; }
[dir="rtl"] .container { text-align: right; }
[dir="rtl"] .header__inner, [dir="rtl"] .nav__list, [dir="rtl"] .footer__inner { direction: rtl; }
[dir="rtl"] .why-us__grid, [dir="rtl"] .solutions__grid, [dir="rtl"] .series-grid, [dir="rtl"] .faq__grid { direction: rtl; }
[dir="rtl"] .hero-slide__content { text-align: right; }
[dir="rtl"] .footer__bottom { direction: rtl; }
[dir="rtl"] .factory-cta__actions, [dir="rtl"] .series-cta__actions, [dir="rtl"] .home-cta-strip { direction: rtl; }
[dir="rtl"] .lang-switch-dropdown__btn { flex-direction: row-reverse; }
