/**
 * 仅当 html.a11y-large-text（系统大字体）时生效，普通用户零影响。
 */

/* 通用：避免 flex 子项被压成极窄列导致一字一行 */
html.a11y-large-text .hq-a11y-text-block,
html.a11y-large-text .so-addr__line1 > span:first-child,
html.a11y-large-text .so-addr__line2,
html.a11y-large-text .co-kv > span:last-child {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.5;
  white-space: normal;
}

html.a11y-large-text .so-addr__line1 {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.08rem 0.12rem;
}

html.a11y-large-text .so-addr__line1 > span:first-child {
  flex: 1 1 100%;
}

html.a11y-large-text .co-kv {
  flex-wrap: wrap;
}

/* 红旗 H9 预约提车 · 4S 门店卡片 */
html.a11y-large-text .hq-a11y-store-card {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

html.a11y-large-text .hq-a11y-store-name {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.45;
  font-size: clamp(15px, 0.9rem, 17px) !important;
}

html.a11y-large-text .hq-a11y-store-addr {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.5;
  font-size: clamp(13px, 0.8rem, 15px) !important;
}

html.a11y-large-text .hq-a11y-appt-box .hq-a11y-text-block {
  font-size: clamp(12px, 0.75rem, 14px) !important;
}

/* flex 行内标题区：大字体下保证可收缩换行 */
html.a11y-large-text .hq-a11y-flex-row > .min-w-0 {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

html.a11y-large-text .hq-a11y-flex-row > .min-w-0 .text-sm,
html.a11y-large-text .hq-a11y-flex-row > .min-w-0 .text-xs {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 底栏标签：大字体模式下保持原有紧凑尺寸，避免挤占主内容区 */
html.a11y-large-text .bottom-nav .nav-item {
  font-size: 11px;
}

html.a11y-large-text .bottom-nav .nav-item > div:last-child {
  font-size: 11px;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
