/* Text-flow refinements only; visible copy and product data stay unchanged. */
main p:not(.eyebrow):not(.spec-line):not([data-snapshot-requirements]),
.site-footer p,
main .legal li,
.modal p:not(.spec-line),
.modal .product-finishes p.spec-line {
  text-wrap: wrap;
  text-wrap: pretty;
}

html[lang="zh-CN"] main :is(p, li, h1, h2, h3, dt, dd) {
  line-break: strict;
}

html[lang="zh-CN"] main .fact-list > li > span {
  text-wrap: balance;
}

/* These concise introductions and card notes remain short text blocks. */
html[lang="zh-CN"] main :is(
  .lede,
  .catalog-note,
  .collection-note,
  .collection-heading > p:not(.eyebrow),
  .manufacturing-flow article > p,
  .process-step > p,
  .oem-item > p,
  .factory-photo figcaption > p,
  .collection-hero-photo figcaption,
  #collection-procurement-links > p,
  .collection-finish-note,
  .collection-next p:not(.eyebrow),
  .evidence-group > p,
  .form-note
) {
  text-wrap: balance;
  word-break: normal;
}

.text-flow-phrase {
  display: inline-block;
  max-inline-size: 100%;
  white-space: normal;
  vertical-align: baseline;
}

.form-note a[href$="/privacy"] {
  display: inline-block;
  max-inline-size: 100%;
  white-space: normal;
}

html[lang="zh-CN"] .modal-copy > p.spec-line,
html[lang="zh-CN"] .product-material-control p.spec-line {
  text-wrap: balance;
  line-break: strict;
  word-break: normal;
}

/* The modal's third specification row is the connection description. */
html[lang="zh-CN"] .modal-copy dl > div:nth-child(3) dd {
  text-wrap: balance;
}

/* A color name is a concise label, not a paragraph or an indivisible line. */
.finish-color-list > li {
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* The English home headline must not outgrow its half-width hero column. */
html[lang="en"] body[data-page="home"] .hero-copy .display {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.08;
  text-wrap: balance;
  hyphens: none;
}

/* Russian quality labels need a wider column; narrow layouts stack them. */
html[lang="ru"] main .fact-list li {
  grid-template-columns: 190px minmax(0, 1fr);
}
html[lang="ru"] main .fact-list :is(strong, span) {
  min-width: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

main .proof-item strong {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Keep natural-language specification labels whole in narrow card columns. */
html[lang="ru"] .collection-page .collection-specs > div {
  grid-template-columns: minmax(104px, .82fr) minmax(0, 1.45fr);
}
html[lang="ru"] .collection-page .collection-specs dt {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

main :is(.button, .filter-button) {
  max-inline-size: 100%;
  white-space: normal;
  text-align: center;
  word-break: normal;
}

/* A long address must remain reachable rather than being clipped. */
.site-footer a[href^="mailto:"],
main .legal a[href^="mailto:"],
main .contact-list a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  html[lang="ru"] main .fact-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (max-width: 570px) {
  html[lang="ru"] .collection-page .collection-specs > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
  html[lang="ru"] .collection-page .collection-specs dd {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
}

@media (max-width: 360px) {
  html[lang="en"] body[data-page="home"] .hero-copy .display {
    font-size: 2.25rem;
  }
  main .proof-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
