/* V28 locale runtime. Loaded after the V27 header styles. */

.site-language-control select option:disabled {
  color: inherit;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .product-photo,
html[dir="rtl"] .hero-product-image,
html[dir="rtl"] figure,
html[dir="rtl"] video,
html[dir="rtl"] canvas,
html[dir="rtl"] svg:not([data-lucide]) {
  direction: ltr;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  text-align: right;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="number"] {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] [data-lucide="arrow-right"],
html[dir="rtl"] [data-lucide="chevron-right"],
html[dir="rtl"] [data-lucide="arrow-left"] {
  transform: scaleX(-1);
}

html.locale-ja body,
html.locale-zh-CN body {
  font-family: "Fredoka", "Noto Sans CJK JP", "Noto Sans CJK SC", "Hiragino Sans", "Microsoft YaHei", system-ui, sans-serif;
}

html.locale-ar body {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

html.locale-ru body {
  font-family: "Fredoka", "Segoe UI", Arial, system-ui, sans-serif;
}

html[class*="locale-"] .zh-sub {
  display: none !important;
}

[data-i18n-fallback="en"] {
  unicode-bidi: plaintext;
}

#anicebbI18nDiagnostics[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .site-language-control select {
    min-width: 106px;
  }
}
