.i18n-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 1002;
}

.i18n-switcher__button,
.i18n-switcher__option {
    font: inherit;
}

.i18n-switcher__button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(26, 54, 93, 0.16);
    border-radius: 8px;
    background: #fff;
    color: #1a365d;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.08);
}

.i18n-switcher__button:hover,
.i18n-switcher__button:focus-visible {
    border-color: #ed8936;
    outline: none;
}

.i18n-switcher__menu {
    position: absolute;
    inset-block-start: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 170px;
    padding: 0.35rem;
    display: none;
    background: #fff;
    border: 1px solid rgba(26, 54, 93, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.i18n-switcher.is-open .i18n-switcher__menu {
    display: grid;
    gap: 0.15rem;
}

.i18n-switcher__option {
    width: 100%;
    min-height: 36px;
    padding: 0.45rem 0.65rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #1f2937;
    text-align: start;
    cursor: pointer;
    white-space: nowrap;
}

.i18n-switcher__option:hover,
.i18n-switcher__option.is-active {
    background: rgba(237, 137, 54, 0.12);
    color: #1a365d;
}

html.is-ltr body {
    direction: ltr;
    text-align: left;
}

html.is-ltr .nav-links,
html.is-ltr .hero-buttons,
html.is-ltr .contact-item,
html.is-ltr .about-landing-features,
html.is-ltr .about-landing-cta,
html.is-ltr .products-breadcrumb {
    direction: ltr;
}

.hero,
.about-landing-modern,
.shipping-landing-modern {
    max-width: 100vw;
    overflow-x: clip;
}

html.is-ltr .nav-links {
    padding-inline-start: 0;
}

html.is-ltr .fa-chevron-left::before {
    content: "\f054";
}

html.is-ltr .fa-arrow-left::before {
    content: "\f061";
}

html.is-ltr .sidebar,
html.is-ltr .dashboard-sidebar {
    direction: ltr;
}

html[lang="ru"] .btn-primary,
html[lang="ru"] .btn-secondary,
html[lang="ru"] .cta-btn,
html[lang="ru"] .i18n-switcher__button {
    white-space: normal;
}

html.is-ltr .division-stat-lbl,
html[lang="ru"] .division-stat-lbl {
    line-height: 1.2;
    overflow-wrap: anywhere;
    white-space: normal;
}

html[lang="zh-CN"] body,
html[lang="zh-CN"] input,
html[lang="zh-CN"] textarea,
html[lang="zh-CN"] select,
html[lang="zh-CN"] button {
    line-height: 1.7;
}

[data-i18n] {
    overflow-wrap: anywhere;
}

input,
textarea,
select,
button {
    max-width: 100%;
}

@media (max-width: 768px) {
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .i18n-switcher__button {
        min-height: 38px;
        padding-inline: 0.65rem;
    }

    .i18n-switcher__menu {
        inset-inline-end: auto;
        inset-inline-start: 0;
    }
}
