/* Independent, native keyboard-accessible language control. */
.language-control { display: inline-flex; min-width: 0; align-items: center; }
.language-select {
  box-sizing: border-box;
  width: 132px;
  max-width: 38vw;
  min-height: 42px;
  padding: 7px 28px 7px 10px;
  border: 1px solid #ebe1d0;
  border-radius: 4px;
  color: #2d2620;
  background: #f5ebd6;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.language-select:focus-visible { outline: 3px solid #7b6c59; outline-offset: 3px; }
i18n-text { display: inline; }
/* Translated headings and guide copy may be wider than their Chinese originals. */
.hero h1, .catalog-heading h2, .information-intro h2, .page-hero h1,
.category-heading h2, .category-intro, .category-card, .footer-links { overflow-wrap: anywhere; }
@media (max-width: 1350px) {
  .site-header .header-cta, .site-header .header-badge { display: none; }
  .site-header .main-nav { gap: 16px; }
  .site-header .header-inner { gap: 16px; }
}
@media (max-width: 1120px) {
  .site-header .header-inner { flex-wrap: wrap; }
  .site-header .header-actions { margin-left: auto; }
  .site-header .main-nav {
    display: none;
    order: 5;
    width: 100%;
    flex: 0 0 100%;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 4px 0 15px;
  }
  .site-header .main-nav.is-open { display: flex; flex-direction: column; }
  .site-header .main-nav a { display: block; padding: 11px 4px; }
  .site-header .main-nav a::after { display: none; }
  .site-header .menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; }
  .site-header .menu-toggle span:first-child:not(:empty) { font-size: 20px; line-height: 1; }
}
@media (max-width: 480px) {
  .site-header .header-inner { gap: 0; }
  .site-header .header-actions { max-width: 100%; gap: 7px; }
  .language-select { width: 120px; font-size: 12px; }
  .site-header .header-inner > .logo-link, .site-header .header-actions { padding-block: 8px; }
}
.home-page .hero-eyebrow { flex-wrap: wrap; overflow-wrap: anywhere; }

/* The information page shares the bilingual language control. */
.seo-header-inner { flex-wrap: wrap; gap: 16px; }
.seo-header .header-actions { margin-left: auto; }
html[lang="en"] .hero h1 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.15; }
html[lang="en"] .collection-title { font-size: clamp(28px, 3vw, 42px); }
html[lang="en"] .hero-stock-badge { white-space: normal; }
@media (max-width: 600px) {
  .seo-header .header-actions { width: 100%; margin-left: 0; }
  html[lang="en"] .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .site-header .header-actions { flex-wrap: wrap; }
}
