/* Localized copy may be longer; keep the form illustration below its controls. */
html:not([lang="ru"]) .lead-entry {
  display: flex;
  flex-direction: column;
}
html:not([lang="ru"]) .lead-popup[data-lead-context="product"] .lead-entry {
  padding-bottom: 24px;
}
html:not([lang="ru"]) .lead-entry .lead-person {
  position: relative;
  inset: auto;
  transform: none;
  order: 10;
  flex: none;
  align-self: center;
  margin: 24px auto -24px;
  width: 252px;
  max-width: 100%;
  height: 410px;
}
html:not([lang="ru"]) .lead-dialog h2 {
  overflow-wrap: anywhere;
}
html[lang="zh-Hans"] .lead-dialog,
html[lang="zh-Hans"] .lead-form input {
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
html:not([lang="ru"]) .menu-canvas__cards span {
  right: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

html[lang="zh-Hans"] body {
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.locale-preview-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: #fff4d8;
  color: #252525;
}
.locale-preview-switch a {
  padding: 8px;
  text-decoration: underline;
}
.locale-preview-switch a[aria-current="page"] {
  font-weight: 700;
}

.country-popup__content .popup__country {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.popup__country[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
}
html[lang="en"] .header__flag {
  background: #16366b;
}
html[lang="uz"] .header__flag {
  background: #0099b5;
}
html[lang="ky"] .header__flag {
  background: #d82730;
}
html[lang="zh-Hans"] .header__flag {
  background: #de2910;
}
.locale-mobile {
  flex-wrap: wrap;
  gap: 8px;
}
.locale-mobile .popup__country {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  border-radius: 12px;
  text-decoration: none;
}
.locale-mobile [aria-current="page"] {
  background: #eee;
  font-weight: 700;
}
@media (max-width: 1023px) {
  .menu-canvas__language.locale-mobile {
    display: flex;
  }
}

html:not([lang="ru"]) .office-features .headline--mini {
  overflow-wrap: anywhere;
}

/* Long localized words must not escape the narrow homepage cards. */
html:not([lang="ru"]) .home-feature__copy h3,
html:not([lang="ru"]) .specialists-copy h2,
html:not([lang="ru"]) .home-demo__copy h2 {
  overflow-wrap: anywhere;
}

/* Long translated labels must fit the same cards at tablet/mobile sizes. */
html:not([lang="ru"]) .sector-heading h2,
html:not([lang="ru"]) .food-page #primary .food-heading {
  overflow-wrap: anywhere;
}
html:not([lang="ru"]) .retail-page .rt620 {
  right: auto;
  bottom: auto;
  height: auto;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 16px;
}

/* Keep translated benefit copy in flow below its illustration. */
html:not([lang="ru"]) .qr-highlight {
  height: auto;
  min-height: 304px;
  padding: 171px 23px 24px;
}
html:not([lang="ru"]) .qr-highlight:first-child {
  padding-top: 150px;
}
html:not([lang="ru"]) .qr-highlight .qr-highlight__copy {
  position: relative;
  inset: auto;
}

/* The loyalty-card artwork occupies the right half of this fixed scene. */
html:not([lang="ru"]) .food-page .fc344 {
  max-width: calc(55% - 31px);
}
html:not([lang="ru"]) .retail-page .rt620 .rt621 {
  position: static;
  white-space: normal;
  text-align: center;
}
html:not([lang="ru"]) .food-page #primary .fc865 {
  white-space: normal;
  max-width: calc(100% - 64px);
}

/* Localized headings can contain longer unbroken words than Russian. */
html:not([lang="ru"]) main h1,
html:not([lang="ru"]) main h2,
html:not([lang="ru"]) main h3 {
  overflow-wrap: anywhere;
}
/* Product wordmarks are artwork, not localized wrapping prose. */
html:not([lang="ru"]) .retail-stage h2,
html:not([lang="ru"]) .food-page #primary .fc150 {
  font-family: "Inter Tight", sans-serif;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  width: max-content;
}
html:not([lang="ru"]) .acc-brand__phrase span {
  white-space: normal;
}
@media (max-width: 767px) {
  html:not([lang="ru"]) .acc-brand__phrase {
    width: calc(100% - 32px);
    font-size: clamp(24px, 7vw, 40px);
  }
  html:not([lang="ru"]) .acc-brand__phrase span {
    white-space: normal;
  }
}
