.language-switch { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px; padding: 3px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 20%, transparent); border-radius: 999px; white-space: nowrap; }
.language-switch button { appearance: none; min-height: 36px; padding: 7px 11px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: .875rem; line-height: 1.2; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: #202526; color: #fff; }
.language-switch button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.language-switch button:disabled { cursor: default; }
.header-tools { display: flex; align-items: center; justify-self: end; gap: 16px; }
.header-inner:has(.language-switch) { gap: clamp(12px, 1.7vw, 28px); }
[data-language-header="catalog"] > .language-switch { justify-self: start; }
html[lang="zh-CN"] body { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 { letter-spacing: -.025em; }
html[lang="zh-CN"] .interior-gallery-item.is-unavailable::before { content: "图片暂不可用"; }
html[lang="zh-CN"] .model-card.is-missing::before { content: "车型图片暂不可用"; }
html[lang="es"] .interior-gallery-item.is-unavailable::before { content: "Imagen no disponible"; }
html[lang="es"] .model-card.is-missing::before { content: "Imagen del modelo no disponible"; }
/* Leave space for the persistent language control before navigation becomes cramped. */
@media (max-width: 1380px) {
  .site-header:has(.menu-toggle) .header-inner { grid-template-columns: auto 1fr auto; }
  .site-header:has(.menu-toggle) .header-tools,
  .site-header:has(.menu-toggle) .header-actions { grid-column: 2; grid-row: 1; }
  .site-header:has(.menu-toggle) .menu-toggle { display: inline-flex; grid-column: 3; grid-row: 1; }
  .site-header:has(.menu-toggle) .header-cta { display: none; }
  .site-header:has(.menu-toggle) .primary-nav { position: absolute; top: 100%; bottom: auto; right: 0; left: 0; display: none; min-height: calc(100dvh - var(--header-height, 82px)); max-height: calc(100dvh - var(--header-height, 82px)); overflow-y: auto; align-content: start; justify-content: stretch; gap: 0; padding: 28px 24px 80px; background: var(--mineral, #f7f6f2); }
  .site-header:has(.menu-toggle) .primary-nav.is-open { display: grid; }
  .site-header:has(.menu-toggle) .primary-nav a { padding: 18px 0; border-bottom: 1px solid var(--line, #d3d5d3); font-size: 16px; line-height: 1.4; }
  .site-header:has(.menu-toggle) .primary-nav .nav-quote-link { display: block; }
}
@media (max-width: 700px) { [data-language-header="catalog"] { grid-template-columns: auto 1fr; } [data-language-header="catalog"] > .wordmark { justify-self: end; } [data-language-header="catalog"] > .header-actions { display: none; } }
@media (max-width: 420px) { .language-switch button { min-height: 40px; padding-inline: 6px; font-size: 12px; } .header-inner:has(.language-switch) { column-gap: 8px; } .wordmark img { max-width: 105px; } .menu-toggle { padding-inline: 0; font-size: 13px; } }
