.spc-language-switcher { position: relative; flex-shrink: 0; font-size: 16px; line-height: 1.5; }
.spc-language-menu { position: relative; }
.spc-language-menu summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; cursor: pointer; list-style: none; color: inherit; white-space: nowrap; }
.spc-language-menu summary::-webkit-details-marker { display: none; }
.spc-language-menu summary::after { content: ''; width: 6px; height: 6px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); margin-left: 4px; }
.spc-language-menu[open] summary::after { transform: rotate(225deg); }
.spc-language-menu summary svg { width: 20px; height: 20px; }
.spc-language-options { position: absolute; z-index: 1200; top: calc(100% + 4px); right: 0; width: 224px; max-width: calc(100vw - 32px); max-height: 70vh; overflow-y: auto; padding: 6px; color: #17191d; background: #fff; border: 1px solid #d6d9de; border-radius: 4px; box-shadow: 0 4px 16px #17191d18; }
.spc-language-options a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; color: #17191d; text-decoration: none; border-left: 3px solid transparent; }
.spc-language-options a:hover { background: #f3f4f5; }
.spc-language-options a[aria-current="true"] { font-weight: 700; color: #164ed8; border-left-color: #164ed8; background: #edf2ff; }
.spc-language-switcher a:focus-visible, .spc-language-menu summary:focus-visible { outline: 2px solid #164ed8; outline-offset: 2px; }
.site-header .spc-language-switcher { margin-left: 12px; flex-shrink: 0; }
.site-header .header-inner { flex-wrap: wrap; }
.site-header #main-nav { gap: 18px; }
.spc-media-language { font-size: 16px; line-height: 1.6; color: #505762; margin-top: 16px; }
.premium-hero-specs dd { overflow-wrap: anywhere; hyphens: auto; }
html:not([lang^="en"]) :is(h1, h2, h3) { overflow-wrap: anywhere; hyphens: auto; }
html:not([lang^="en"]) .product-card-content { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
html[lang="ja"] body { font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif; line-break: strict; word-break: normal; }
html[lang="ja"] :is(h1, h2, h3) { hyphens: none; overflow-wrap: break-word; }
html[lang="ru"] body { font-family: 'Segoe UI', Arial, sans-serif; }
.site-footer .spc-language-switcher { display: inline-block; }
.site-footer .spc-language-options { top: auto; bottom: calc(100% + 4px); left: 0; right: auto; }
.site-footer .spc-language-options a { color: #17191d; }
.site-footer .spc-language-options a:hover, .site-footer .spc-language-options a[aria-current="true"] { color: #164ed8; }
@media (min-width: 981px) {
  .site-header .header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 44px minmax(54px, auto); gap: 0 24px; padding-block: 0 6px; }
  .site-header .wordmark { grid-column: 1; grid-row: 1 / 3; }
  .site-header .spc-language-switcher { grid-column: 2; grid-row: 1; justify-self: end; margin-left: 0; }
  .site-header #main-nav { grid-column: 2; grid-row: 2; width: auto; justify-content: flex-end; flex-wrap: wrap; }
  .site-header #main-nav .primary-nav-link { min-height: 50px; }
  .site-header #main-nav .primary-nav-link[aria-current]::after { bottom: 3px; }
  .site-header #main-nav > a:last-child { min-height: 44px; }
}
@media (max-width: 1200px) {
  .site-header #main-nav { gap: 12px; }
  .site-header .header-inner { column-gap: 12px; }
}
@media (max-width: 980px) {
  .site-header .spc-language-switcher { margin-left: auto; }
  .site-header .menu-button { order: 3; }
  .site-header #main-nav { order: 4; top: 100%; }
}
@media (max-width: 540px) {
  .site-header .spc-language-switcher { order: 5; flex-basis: 100%; display: flex; justify-content: flex-end; }
}
