/* ==========================================================================
   DAMAI PRINT — 优化补丁（2026-11）
   加载顺序：main.css → en.css → optimize.css
   本文件只做「修正 + 增强」，不改变原有设计语言。
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. 工厂直供卡：恢复真实设备照，改为左文右图
   原问题：把 factory-collage 拼图当背景纹理铺满、media 列 display:none，
           遮罩只覆盖左侧 42%，标题白字在后半段落到照片亮部 → 不可读。
   解决：左列纯深绿（对比度恒定），右列放真实的 5 米 UV 设备大图。
   -------------------------------------------------------------------------- */
.factory-card {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  min-height: 340px;
  background:
    radial-gradient(120% 150% at 84% 6%, rgba(66, 110, 58, .30) 0%, rgba(66, 110, 58, 0) 60%),
    linear-gradient(115deg, #1B2E1A 0%, #162515 48%, #1D321C 100%);
  align-items: stretch;
}
/* 去掉拼图纹理与那块只盖住 42% 的遮罩 */
.factory-card::before,
.factory-card::after { background: none; content: none; }

.factory-card__media {
  display: block;
  position: relative;
  min-height: 100%;
  order: 0;
}
.factory-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
}
/* 图片左缘向左淡出，与深绿文字区无缝衔接 */
.factory-card__media::after {
  content: ""; display: block; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #162515 0%, rgba(22, 37, 21, .86) 9%, rgba(22, 37, 21, .34) 24%, rgba(22, 37, 21, 0) 46%),
    linear-gradient(180deg, rgba(10, 18, 9, .18) 0%, rgba(10, 18, 9, 0) 46%, rgba(10, 18, 9, .22) 100%);
}

.factory-card__body {
  max-width: none;
  padding: 38px 42px;
  justify-content: center;
}
.factory-card__title {
  color: #FFFFFF;
  text-shadow: none;
}
/* 英文正文去掉原设计的字间距拉伸，恢复正常排版节奏 */
.factory-card__sub {
  color: rgba(226, 236, 212, .84);
  letter-spacing: 0;
  word-spacing: normal;
  line-height: 1.72;
  font-size: 15.5px;
  max-width: 46ch;
  text-shadow: none;
}
.factory-card__tag {
  background: rgba(255, 255, 255, .94);
  color: #24331F;
}
.factory-card__sign em { color: rgba(206, 226, 184, .86); }
.factory-card__sign b { color: #FFFFFF; }
.factory-card__body .btn {
  background: linear-gradient(180deg, #F7FAF0 0%, #E7EEDA 100%);
  color: #24331F;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(10, 20, 8, .28);
}
.factory-card__body .btn:hover { background: #FFFFFF; }

@media (max-width: 1024px) {
  .factory-card {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .factory-card__media {
    order: -1;
    min-height: 210px;
  }
  .factory-card__media::after {
    background:
      linear-gradient(180deg, rgba(16, 27, 15, 0) 0%, rgba(16, 27, 15, .30) 58%, #182917 100%);
  }
  .factory-card__body { padding: 26px 24px 30px; }
  .factory-card__sub { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   02. 产品卡：价格永不断行 + 卖点不被截断
   原问题：首页价格是 .p-card__price 直接包含裸文本，被 flex-direction:column
           拆成 $ / 2.20 / m² 三行；描述两行截断后带省略号，卖点看不全。
   -------------------------------------------------------------------------- */
.p-card__price {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 2px;
  white-space: nowrap;
}
.p-card__price .price__num { font-size: 22px; }
/* 显式恢复多行截断：此前被 white-space:nowrap + display:block 压成单行省略 */
.p-card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  white-space: normal;
  text-overflow: clip;
  overflow: hidden;
  min-height: 3.1em;
  font-size: 11.5px;
  line-height: 1.55;
}
/* 产品名统一占两行高度，四张卡的价格和按钮才能对齐 */
.p-card__name {
  display: block;
  min-height: 2.8em;
}

/* --------------------------------------------------------------------------
   03. 首屏跑马灯：原来上下被裁掉，文字只露半截
   -------------------------------------------------------------------------- */
.hero__marquee { padding: 9px 0; }
.hero__marquee .marquee { overflow: hidden; }
.marquee__track { align-items: center; }
.marquee__item { line-height: 1.5; white-space: nowrap; }

/* --------------------------------------------------------------------------
   04. 询盘表单：真实提交所需的 UI（失败/成功状态、通道提示）
   -------------------------------------------------------------------------- */
.qf-note {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #6B7264;
}
.quote-form__status {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  border: 1px solid transparent;
}
.quote-form__status[data-state="ok"] {
  background: #EDF4E6;
  border-color: #C6D8B4;
  color: #2C4A22;
}
.quote-form__status[data-state="err"] {
  background: #FBEDE9;
  border-color: #E8C4B8;
  color: #8A3520;
}
.quote-form__status[data-state="busy"] {
  background: #F2EFE6;
  border-color: #DDD6C4;
  color: #5A6152;
}
.quote-form__status a { color: inherit; text-decoration: underline; }
.btn[aria-busy="true"] { opacity: .72; pointer-events: none; }

/* --------------------------------------------------------------------------
   05. 信任条 / 数据带（新增模块，供首页与案例页复用）
   -------------------------------------------------------------------------- */
.trust-band {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: #FBFAF4;
  padding: 26px 0;
}
.trust-band__label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8A9182;
  margin-bottom: 16px;
  text-align: center;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
}
.trust-logos span {
  font-family: var(--ff-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #7C8474;
  opacity: .92;
  white-space: nowrap;
}
.trust-logos span:nth-child(even) { font-weight: 500; letter-spacing: .2em; }

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
}
.stat-band > div {
  background: #fff;
  padding: 22px 20px;
}
.stat-band b {
  display: block;
  font-family: var(--ff-en);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--g800);
  line-height: 1.1;
}
.stat-band span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: #6B7264;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 客户证言 */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px) { .quotes-grid { grid-template-columns: 1fr; } }
.quote-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
}
.quote-card__text {
  font-size: 14.5px;
  line-height: 1.72;
  color: #3C4436;
  flex: 1;
}
/* 引号改为行内：原来 display:block 让「“」单独占一行、正文从第二行起，
   与区块标题之间多出一段空隙。改成行内后引号贴在第一行正文前，
   尺寸压到 30px、垂直微调，避免把首行行高撑到比其余行高一倍。 */
.quote-card__text::before {
  content: "“";
  display: inline;
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
  color: var(--g400);
  margin-right: 0;
  vertical-align: -.08em;
}
.quote-card__who {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: 12.5px;
  color: #6B7264;
  line-height: 1.6;
}
.quote-card__who b {
  display: block;
  font-size: 13.5px;
  color: var(--g800);
}

/* --------------------------------------------------------------------------
   06. 设计师 / 品牌方专区
   -------------------------------------------------------------------------- */
.ds-hero {
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(102, 138, 92, .22) 0%, rgba(102, 138, 92, 0) 62%),
    linear-gradient(112deg, #1C2E1B 0%, #172516 52%, #20341E 100%);
  color: #F3F6EC;
  border-radius: 18px;
  padding: 54px 52px;
  margin-bottom: 34px;
}
.ds-hero h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff;
  margin: 14px 0 16px;
  max-width: 20ch;
}
.ds-hero p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(232, 240, 220, .86);
  max-width: 62ch;
}
.ds-hero__eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(206, 226, 184, .9);
  border: 1px solid rgba(206, 226, 184, .32);
  border-radius: 999px;
  padding: 5px 14px;
}
.ds-hero__acts { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .ds-hero { padding: 34px 24px; } }

/* 白标/无品牌说明卡 */
.ds-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 900px) { .ds-cols { grid-template-columns: 1fr; } }
.ds-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 26px 26px 22px;
}
.ds-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--g800);
  margin-bottom: 10px;
}
.ds-card p, .ds-card li {
  font-size: 14px;
  line-height: 1.72;
  color: #555C4D;
}
.ds-card ul { margin: 10px 0 0; padding-left: 0; list-style: none; }
.ds-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 7px;
}
.ds-card li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--g500, #6E8A5E);
}

/* 编号步骤（设计师工作流） */
.ds-steps {
  counter-reset: ds;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1024px) { .ds-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ds-steps { grid-template-columns: 1fr; } }
.ds-step {
  counter-increment: ds;
  background: #FBF9F1;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 20px 18px;
}
.ds-step::before {
  content: "0" counter(ds);
  display: block;
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--g500, #6E8A5E);
  margin-bottom: 10px;
}
.ds-step b {
  display: block;
  font-size: 14.5px;
  color: var(--g800);
  margin-bottom: 7px;
  line-height: 1.4;
}
.ds-step p { font-size: 12.8px; line-height: 1.65; color: #616855; }

/* --------------------------------------------------------------------------
   07. 资料下载中心
   -------------------------------------------------------------------------- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 980px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 22px 22px 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(40, 52, 32, .09);
  border-color: #CBD8BC;
}
.dl-card__kind {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8A9182;
  margin-bottom: 10px;
}
.dl-card__title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--g800);
  line-height: 1.42;
  margin-bottom: 8px;
}
.dl-card__desc {
  font-size: 13px;
  line-height: 1.65;
  color: #616855;
  flex: 1;
}
.dl-card__foot {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #8A9182;
}
.dl-card__get {
  font-weight: 700;
  color: var(--g700, #3F4A38);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 下载解锁弹层 */
.dlg { position: fixed; inset: 0; z-index: 9999; display: none; }
.dlg.is-open { display: block; }
.dlg__mask {
  position: absolute; inset: 0;
  background: rgba(20, 26, 16, .58);
  backdrop-filter: blur(3px);
}
.dlg__panel {
  position: relative;
  max-width: 460px;
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 16px;
  padding: 30px 30px 26px;
  box-shadow: 0 24px 60px rgba(10, 18, 8, .3);
}
.dlg__x {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px;
  border: 0; background: #F2EFE6; border-radius: 50%;
  cursor: pointer; font-size: 16px; line-height: 1; color: #5A6152;
}
.dlg__title { font-size: 18px; font-weight: 700; color: var(--g800); margin-bottom: 8px; }
.dlg__sub { font-size: 13px; line-height: 1.65; color: #616855; margin-bottom: 18px; }
.dlg__field { margin-bottom: 12px; }
.dlg__field label {
  display: block; font-size: 12px; font-weight: 600;
  color: #4C5344; margin-bottom: 6px;
}
.dlg__field input {
  width: 100%; padding: 11px 13px;
  border: 1px solid #DCD8CA; border-radius: 9px;
  font-size: 14px; font-family: inherit; color: #2C3327;
  background: #FDFCF8;
}
.dlg__field input:focus {
  outline: 2px solid rgba(110, 138, 94, .35);
  border-color: #A8BC96;
}
.dlg__note { font-size: 11.5px; line-height: 1.6; color: #8A9182; margin-top: 10px; }
.dlg__ok { text-align: center; padding: 12px 0 4px; }
.dlg__ok b { display: block; font-size: 16px; color: var(--g800); margin-bottom: 8px; }
.dlg__ok p { font-size: 13px; line-height: 1.65; color: #616855; }
@media (max-width: 560px) { .dlg__panel { margin: 4vh 16px 0; padding: 24px 20px 20px; } }

/* --------------------------------------------------------------------------
   08. Cookie 同意条（Consent Mode v2 配套）
   -------------------------------------------------------------------------- */
.ck-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
  background: #232D1F;
  color: #EDF2E4;
  transform: translateY(105%);
  transition: transform .32s cubic-bezier(.22,.8,.3,1);
  box-shadow: 0 -8px 28px rgba(10, 18, 8, .22);
}
.ck-bar.is-in { transform: translateY(0); }
.ck-bar__in {
  max-width: 1180px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 22px;
  flex-wrap: wrap;
}
.ck-bar p {
  flex: 1 1 420px;
  font-size: 12.8px; line-height: 1.6;
  color: rgba(237, 242, 228, .82);
  margin: 0;
}
.ck-bar p b { color: #fff; }
.ck-bar a { color: #C6DCB0; text-decoration: underline; }
.ck-bar__acts { display: flex; gap: 9px; flex: 0 0 auto; }
.ck-bar button {
  font: inherit; font-size: 12.8px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: transparent; color: #EDF2E4;
  cursor: pointer; transition: background .18s, border-color .18s;
}
.ck-bar button:hover { background: rgba(255, 255, 255, .1); }
.ck-bar button.is-primary {
  background: #EDF2E4; color: #232D1F; border-color: transparent;
}
.ck-bar button.is-primary:hover { background: #fff; }
@media (max-width: 640px) {
  .ck-bar__in { padding: 14px 16px; gap: 12px; }
  .ck-bar__acts { width: 100%; }
  .ck-bar button { flex: 1; }
}

/* --------------------------------------------------------------------------
   09. 首屏跑马灯：两侧加渐隐遮罩
   原来在容器边缘硬裁，第一项只露出半截，看起来像排版出错。
   用 mask 淡出后，裁切变成意图，而不是缺陷。
   -------------------------------------------------------------------------- */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}

/* --------------------------------------------------------------------------
   10. 移动端导航：加宽右缘渐隐
   原设计只有 30px，最后一个导航项几乎整词可见后突然消失，
   仍像被切断；加宽到 64px 后读起来是「还有内容可滑」。
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-list.is-scrollable:not(.is-end) {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 64px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 64px), transparent 100%);
  }
}

/* --------------------------------------------------------------------------
   11. 正文加粗可读性
   字体栈以 CJK 字体打头，拉丁文的 700 在部分系统上合成为「伪粗」，
   在小字号下几乎看不出来。正文里的 <strong> 是用来做扫读锚点的，
   只靠字重不够，补一点颜色对比保证层级可辨。
   -------------------------------------------------------------------------- */
.prose strong,
.split__body strong,
.pspec__p2 strong,
.pkg-main strong {
  font-weight: 700;
  color: var(--g900);
}

/* --------------------------------------------------------------------------
   12. 规格面板里「段落 → 小标题」的间距
   en.css 只给了 .pspec__h + .pspec__h 的上边距，没有处理紧跟段落的
   小标题，于是 Artwork 一段之后 Packing 标签直接贴在句尾上，读起来像
   同一段话。补上这条，让同栏内的第二、第三个分组有清晰的段落切分。
   -------------------------------------------------------------------------- */
.pspec__p2 + .pspec__h,
.pspec__ul + .pspec__h,
.pspec__lead + .pspec__h {
  margin-top: 16px;
}


/* --------------------------------------------------------------------------
   13. 页脚在手机上排成 2 × 2
   main.css 在 ≤760px 把 .footer-main 定成 3 列，而内容正好是 4 列
   （Materials / Solutions / Company / Contact），于是第二行只剩一格、
   右边空出两格，看起来像排版坏了。改成 2 列后 4 格正好两行对齐。
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
  .footer-col h4 { margin-bottom: 8px; }
  .footer-col ul { gap: 5px; }
  /* Company 列 9 条比 Materials 7 条高，把行距压一点让两行底部齐平 */
  .footer-col a { font-size: 11.5px; line-height: 1.45; }
  .footer-contact { align-self: start; }
}

/* --------------------------------------------------------------------------
   14. 图标 / 序号与名称改为同一行
   原本三处都是「图标独占一行、名称在下一行」，多占一行高度，视觉上
   图标像悬在标题上方的装饰。改成左图标右名称：图标成为标题的行首标记，
   卡片顶部留白减少，标题更容易被扫到。描述文字仍跨满整行宽度。
   只用 grid 重排，不改 DOM。
   -------------------------------------------------------------------------- */

/* 首页 what-buyers-ask 卡 */
.why {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}
.why__ico { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.why b { grid-column: 2; grid-row: 1; margin-bottom: 0; }
.why p { grid-column: 1 / -1; grid-row: 2; margin-top: 12px; }

/* 首页 printing-processes 卡 */
.proc {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 11px;
  align-items: center;
  align-content: start;
}
.proc__ico { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.proc__name { grid-column: 2; grid-row: 1; }
.proc__how { grid-column: 1 / -1; grid-row: 2; margin-top: 12px; }
.proc__use { grid-column: 1 / -1; grid-row: 3; }

/* 首页与方案页的六步流程 */
.p-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
}
.p-step__idx { grid-column: 1; grid-row: 1; }
.p-step__name,
.pkg-main .p-step__name { grid-column: 2; grid-row: 1; margin-top: 0; }
.p-step__desc { grid-column: 1 / -1; grid-row: 2; margin-top: 9px; }

/* --------------------------------------------------------------------------
   15. Application kits：手机上两列并排
   卡片内容是按三列宽度设计的，压到两列后名称会折成三行、五个要点
   变成一整块文字。两列下收掉要点列表、放大价格、收窄内边距，
   卡片只承担「名称 + 价格 + 入口」，判断细节留给详情页。
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .pkg-card__body { padding: 11px 11px 13px; gap: 5px; }
  .pkg-card__name { font-size: 12.5px; line-height: 1.36; min-height: 2.7em; }
  .pkg-card__alias {
    font-size: 9.5px; line-height: 1.42; color: var(--muted-2);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; min-height: 2.8em;
  }
  .pkg-card__price { flex-wrap: wrap; gap: 3px 6px; margin-top: 1px; }
  .pkg-card__price b { font-size: 17px; }
  .pkg-card__price i { font-size: 9px; padding: 1px 4px; }
  .pkg-card__points { display: none; }
  .pkg-card__suit { display: none; }
  .pkg-card__badge { left: 7px; top: 7px; font-size: 8.5px; padding: 2px 6px; }
  .pkg-card__no { right: 8px; top: 9px; font-size: 9px; letter-spacing: .08em; }
  .pkg-card__foot { padding-top: 8px; justify-content: flex-end; }
  .pkg-card__go { font-size: 11.5px; }
  .pkg-card__media { aspect-ratio: 16 / 10.5; }
}

/* --------------------------------------------------------------------------
   16. 价格行：把「货币 + 数字 + 单位」锁成一行
   main.css 给 .p-card__price 定的是 flex-direction: column，本意是让
   价格和附注上下叠。但只要有哪张卡漏了 .price 包裹、把三个 span 直接
   放进容器，column 就会把 $ / 2.20 / m² 拆成三行 —— 手机上尤其明显。
   这里把容器改成横向、允许换行，配合 .price 的 nowrap：
   结构对不对都只占一行，不会再出现货币和数字分家。
   -------------------------------------------------------------------------- */
.p-card__price {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 3px;
}
.p-card__price .price,
.p-card__price .price__cur,
.p-card__price .price__num,
.p-card__price .price__unit {
  white-space: nowrap;
}
.p-card__price .price { flex-wrap: nowrap; }

/* --------------------------------------------------------------------------
   17. 产品卡等高：描述固定三行，按钮沉底
   描述是 -webkit-line-clamp: 3，但 min-height 写的是 3.1em（约两行高），
   于是两行描述的卡比三行描述的卡矮一截，同一行的 Get a quote 按钮错位。
   这里把最小高度设成「3 行 × 行高」的真实值，再让按钮用 margin-top:auto
   吸到卡片底部，即使以后文案长短变化，同一行的按钮也保持一条线。
   -------------------------------------------------------------------------- */
.p-card__desc {
  min-height: calc(3 * 1.55em);
}
.p-card__btn {
  margin-top: auto;
  padding-top: 9px;
}

/* --------------------------------------------------------------------------
   18. 出口页时间线表：时间列不折行
   "1–2 working days" 在 Time 列会被压成两行，和同列的 "1 day"、"1–2 days"
   对不齐。只让这一列 nowrap，表格宽度由 min-width 兜住，不会挤掉 Note。
   -------------------------------------------------------------------------- */
.table-wrap td[data-label="Time"] { white-space: nowrap; }

/* --------------------------------------------------------------------------
   19. 给图片补了 width/height 之后必须让高度自适应
   HTML 属性 width/height 会被当作 CSS 表现出来的固定尺寸：容器一变窄，
   max-width 把宽度压下来，但 height 还停在原值，图就被拉扁。
   :where() 把这条规则的特异性降到 0，既能压住 HTML 属性提示，
   又不会盖掉 .hero__frame img、.p-card__media img 这类 height:100% 的容器规则。
   -------------------------------------------------------------------------- */
:where(img[width][height]) { height: auto; }

/* --------------------------------------------------------------------------
   20. 指南页「Related guides」内链模块
   14 篇指南原先指向彼此的链接几乎为零（入链只有 1–4 个，而产品页有 62 个），
   权重全堆在导航页上。这里做一个两列文字卡：桌面两列、手机一列，
   不复用带图卡片，是为了不把版面再拉长一屏。
   -------------------------------------------------------------------------- */
.rel-ins__h {
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0 0 16px;
}
.rel-ins {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rel-ins__i {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px 15px;
  background: var(--white, #fff);
  border: 1px solid var(--line-2, #e2e2dc);
  border-radius: var(--r-md, 12px);
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
}
.rel-ins__i:hover {
  border-color: var(--g800, #394A38);
  transform: translateY(-2px);
}
.rel-ins__i b {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink, #23301f);
}
.rel-ins__i span {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted, #6b776a);
}

@media (max-width: 640px) {
  .rel-ins { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rel-ins__i { padding: 12px 14px 13px; }
  .rel-ins__i b { font-size: 13.5px; }
  .rel-ins__i span { font-size: 11.5px; }
}

/* --------------------------------------------------------------------------
   21. 少列数表格在手机上不横滑
   .table-wrap 的 table 被 en.css 强制 min-width: 620px，三列以内的小表
   会被逼出屏幕外，必须横向拖动才看得到最后一列。
   加 .table--fit 的表（3–4 列以内）在手机宽度下放开最小宽、收紧内边距；
   5 列以上的表不加这个类，继续保留横滑，避免每列被压到 60px。
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .table-wrap.table--fit { overflow: visible; }
  .table-wrap.table--fit table { min-width: 0; width: 100%; font-size: 12px; }
  .table-wrap.table--fit th,
  .table-wrap.table--fit td { padding: 8px 6px; }
}

/* --------------------------------------------------------------------------
   22. Terms at a glance：六项条件改成等宽栅格
   这个区块原先挂在 .catalog__main（左侧导航右侧那一栏），宽度只有 700 多，
   现在提为独立整宽区块，宽度变成 1280：
     · 原 flex-wrap 排成 3/2/1 三行，右边留一大块空，看着没收口
     · 手机端 flex 子项被压窄后，b 自己换行、span 被挤到最右，标签离值很远
   改成栅格后每格等宽、行对齐；值太长时标签自动落到下一行左侧，不再飘到右边。
   -------------------------------------------------------------------------- */
#terms .page-head__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 30px;
  align-items: start;
}
#terms .page-head__meta > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
  min-width: 0;
}
#terms .page-head__meta b {
  font-size: 19px;
  line-height: 1.32;
  min-width: 0;
}
#terms .page-head__meta span {
  font-size: 11.5px;
  line-height: 1.32;
}

@media (max-width: 1024px) {
  #terms .page-head__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
  }
}

@media (max-width: 640px) {
  #terms .page-head__meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }
  #terms .page-head__meta b { font-size: 17px; }
  #terms .page-head__meta > div { gap: 3px 8px; }
}

/* 该区块现在独占整宽、右侧没有「查看全部」链接，
   40ch 的副标题上限会把 "...compare suppliers" 挤成两行、末词单独成行。
   只在这一块放宽到 52ch，让副标题一行读完，不影响其他区块的节奏。 */
#terms .sec-head__note { max-width: 52ch; }

/* --------------------------------------------------------------------------
   23. 手机端首页紧凑模式（2026-11-26）
   用户反馈：首页在手机上要滑 20+ 屏才到底。实测 iPhone 13 总高 14258px，
   主要被 catalog(2.6屏)、why(2.4屏)、calc(1.8屏) 三块撑起。
   这一层只压缩「留白 / 内边距 / 行高 / 卡片最小高度」，不删任何文字、
   不缩到难读的字号，桌面端(>760px)完全不受影响。
   目标是去掉纯空白的滚动，把总高压到约 15 屏以内。
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  /* 全局区块：上下留白 22px -> 13px，标题区下边距 14px -> 10px */
  .sec { padding: 13px 0; }
  .sec-head { margin-bottom: 10px; gap: 8px; }
  .sec-head__icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 8px; }

  /* Hero：内部上下留白与元素间距收紧 */
  .hero__inner { padding-top: 18px; padding-bottom: 20px; gap: 16px; }
  .hero__actions { margin-top: 16px; }
  .hero__feats { gap: 8px 12px; }

  /* Product 卡：描述 3 行 -> 2 行，脚注与按钮间距收紧（省 catalog 一整屏） */
  .p-card__desc { min-height: calc(2 * 1.5em); -webkit-line-clamp: 2; }
  .p-card__body { padding: 8px 9px 9px; }
  .p-card__foot { padding-top: 6px; }
  .grid-4, .grid-3, .grid-2 { gap: 8px; }

  /* 媒体清单卡 m-card：内边距与间距收紧 */
  .m-card { padding: 7px; gap: 8px; }
  .m-card__img { width: 60px; height: 54px; flex-basis: 60px; }

  /* why 六项卡：optimize 第14节的 grid 保留，这里压顶部留白与描述上边距 */
  .why { row-gap: 0; }
  .why p { margin-top: 7px; }
  .why-grid { gap: 7px; }
  .cert-strip { padding: 12px; gap: 9px; }
  .cert { padding: 7px 9px; }
  .why-acts { margin-top: 14px; }

  /* 流程卡与能力卡 */
  .p-step { padding: 9px 9px; }
  .p-step__desc { margin-top: 6px; }
  .strength__body { padding: 18px 16px 20px; }
  .strength__stats { margin-top: 14px; gap: 12px 10px; }
  .strength__media { min-height: 130px; }

  /* Price estimator：表单行与说明文字收紧 */
  .calc-grid, .calc__grid { gap: 8px; }
  .calc note, .calc__note { padding-top: 8px; }

  /* FAQ 手风琴：问题按钮 14px -> 10px 上下，答案行高 1.9 -> 1.7（10 项累计省约半屏） */
  .faq { gap: 6px; }
  .faq__q { padding: 10px 14px; line-height: 1.45; }
  .faq__a { padding: 0 14px 11px; }
  .faq__a p { line-height: 1.7; font-size: 12px; }

  /* 行动号召条与页脚 */
  .cta-band { padding: 16px 16px; gap: 12px; }
  .footer-main { padding: 22px 0 16px; gap: 16px; }
}

/* 23b. 首页精准压缩：针对实测的高度大户（接上节） */
@media (max-width: 760px) {
  /* 工厂介绍卡：长段落限 6 行、媒体图 210 -> 150 */
  .factory-card__sub {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    padding-bottom: 10px;
    font-size: 12.5px;
    line-height: 1.7;
  }
  .factory-card__media { min-height: 150px; height: 150px; }
  .factory-card__body { padding: 18px 16px; }

  /* 产品卡：媒体图 130 -> 96，价格/标题行距收紧 */
  .p-card__media { height: 96px; }
  .p-card__media img { height: 100%; object-fit: cover; }
  .p-card__name { line-height: 1.3; }
  .p-card__body { gap: 3px; }

  /* 价格计算器：字段行与提示收紧 */
  .hkcalc__row { gap: 8px; }
  .hkcalc .field { gap: 3px; }
  .hkcalc .field label { margin-bottom: 2px; }
  .hkcalc input, .hkcalc select { padding-top: 8px; padding-bottom: 8px; }
}

/* 23c. why 六项卡在手机上改两列（6 卡单列=6 行，占 2.3 屏；两列=3 行） */
@media (max-width: 760px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .why {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    padding: 10px 11px;
  }
  .why__ico { grid-column: 1; grid-row: 1; margin-bottom: 4px; }
  .why b { grid-column: 1; grid-row: 2; font-size: 12.5px; }
  .why p {
    grid-column: 1; grid-row: 3; margin-top: 6px;
    font-size: 11.5px; line-height: 1.55;
    display: -webkit-box; -webkit-box-orient: vertical;
    -webkit-line-clamp: 5; overflow: hidden;
  }
  .cert-strip { padding: 10px; gap: 7px; }
  .cert-strip__note { margin-top: 6px; }
}

/* 23d. why 两列下取消截断：宁可卡片高一点，也不把句子砍成半个词 */
@media (max-width: 760px) {
  .why p {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
    font-size: 11px;
    line-height: 1.5;
  }
}

/* --------------------------------------------------------------------------
   24. 手机端再压缩两个指定区块（2026-11-26）
   用户点名：「What they say after the second order」与「Price estimator」
   目标各再压约一半。只压留白/字号/行高/字段高度，不删任何文字、不截断句子；
   引号 ::before 保持 display:inline（正文同行），仅缩小字号。桌面端不受影响。
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  /* ---- 24a. CLIENT PROOF 评价区（原 979px / 1.47屏）---- */
  #proof .sec-head { gap: 6px; margin-bottom: 8px; }
  #proof .sec-head__note { font-size: 11.5px; line-height: 1.4; }
  .quotes-grid { gap: 9px; }
  .quote-card { padding: 12px 14px 11px; }
  .quote-card__text { font-size: 12.5px; line-height: 1.5; }
  /* 引号仍与正文同一行，只把 30px 收小到 22px，避免首行行高被撑高 */
  .quote-card__text::before { font-size: 22px; vertical-align: -.06em; }
  .quote-card__who {
    margin-top: 8px; padding-top: 7px;
    font-size: 10.5px; line-height: 1.4;
  }
  /* 署名由「公司名独占一行 + 地点第二行」改为同行，信息一字不删 */
  .quote-card__who b { display: inline; font-size: 11.5px; margin-right: 6px; }
  #proof .pkg-note { margin-top: 10px !important; font-size: 11px; line-height: 1.5; }

  /* ---- 24b. PRICE ESTIMATOR 价格计算器（原 1152px / 1.74屏）---- */
  #calc .sec-head { gap: 6px; margin-bottom: 8px; }
  #calc .sec-head__note { font-size: 11.5px; line-height: 1.4; }
  .hkcalc { gap: 12px; }
  .hkcalc__form, .hkcalc__out { padding: 14px; border-radius: 12px; }
  /* 关键：覆盖 en.css 720px 以下的单列，让两组字段各占一行（原 4 行 -> 2 行） */
  .hkcalc__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hkcalc__row + .hkcalc__row { margin-top: 8px; }
  .hkcalc .field label { font-size: 10px; margin-bottom: 2px; }
  .hkcalc input, .hkcalc select {
    height: 32px; padding-top: 3px; padding-bottom: 3px; font-size: 12px;
  }
  .hkcalc__hint { font-size: 10.5px; line-height: 1.45; margin-top: 8px; }
  .hkcalc__sizes { margin-top: 10px; padding-top: 9px; gap: 5px; }
  .hkcalc__sizes b { font-size: 10px; margin-bottom: 0; }
  .hkcalc__size { font-size: 11px; padding: 5px 8px; }
  .hkcalc__out { gap: 9px; }
  .hkcalc__label { font-size: 10px; }
  .hkcalc__total { font-size: 28px; }
  .hkcalc__lines { font-size: 11px; gap: 4px; }
  .hkcalc__lines div { gap: 8px; padding-bottom: 4px; }
  .hkcalc__note { font-size: 10px; line-height: 1.45; }
  .hkcalc__out .btn { padding-top: 8px; padding-bottom: 8px; font-size: 12px; }
}

/* 24c. 两列并排时 Material 选项文字长，给第一列更宽比例，Quantity 只需容纳数字 */
@media (max-width: 760px) {
  .hkcalc__row:first-child { grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); }
}

/* --------------------------------------------------------------------------
   25. 手机端三板块再收紧（2026-11-26）
   用户点名：What export buyers ask for(#why) / What they say(#proof) / Price estimator(#calc)。
   只压留白/间距/徽章排布，文字完整不截断；桌面端不受影响。
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  /* ---- 25a. #why 合规徽章：6 个竖排 -> 2 列网格，说明独占整宽 ---- */
  .cert-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
  }
  .cert-strip__label { grid-column: 1 / -1; margin-bottom: 2px; }
  .cert {
    padding: 5px 8px; gap: 5px;
    font-size: 11px; white-space: normal;
  }
  .cert svg { width: 12px; height: 12px; flex: 0 0 12px; }
  .cert-strip__note { grid-column: 1 / -1; margin-top: 4px; margin-left: 0; font-size: 10.5px; line-height: 1.45; }

  /* why 卡内部再收一点：内边距与图标间距 */
  .why { padding: 8px 9px; }
  .why__ico { margin-bottom: 2px; }
  .why b { line-height: 1.3; }

  /* why 两个大按钮 -> 常规高度，说明文字收紧 */
  .why-acts { gap: 8px; margin-top: 12px; }
  .why-acts .btn--lg { padding-top: 9px; padding-bottom: 9px; font-size: 13px; }
  .why-acts__note { font-size: 10.5px; line-height: 1.45; margin-top: 2px; }

  /* ---- 25b. #proof 评价：卡片内边距与说明再收 ---- */
  .quote-card { padding: 10px 12px 9px; }
  .quote-card__who { margin-top: 6px; padding-top: 6px; }
  #proof .pkg-note { font-size: 10.5px; line-height: 1.45; }

  /* ---- 25c. #calc 计算器：结果卡明细行距与说明再收 ---- */
  .hkcalc__lines { gap: 3px; }
  .hkcalc__lines div { padding-bottom: 3px; }
  .hkcalc__hint { line-height: 1.4; }
  .hkcalc__note { line-height: 1.35; }
  .hkcalc__out { gap: 7px; }
}

/* --------------------------------------------------------------------------
   26. 手机端信任条客户类型列表（2026-11-26）
   用户反馈：7 个客户类型因 white-space:nowrap 各占一行，撑满一屏。
   手机上改两列网格 + 缩小字号/字距，文字完整不删，只压排布。桌面端不受影响。
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .trust-band { padding: 14px 0; }
  .trust-band__label { font-size: 10px; margin-bottom: 8px; }
  .trust-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }
  .trust-logos span {
    font-size: 11.5px;
    letter-spacing: .04em;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }
  .trust-logos span:nth-child(even) { font-weight: 600; letter-spacing: .08em; }
}

/* --------------------------------------------------------------------------
   27. 手机端标题区：图标与标题同一排（2026-11-26）
   用户点名 #why / #proof：长标题被 flex-wrap 挤到图标下一行，白占两行。
   用 grid 把图标固定在左列、标题在右列（标题自身可折行但不再掉下去），
   #proof 的 more 链接移到标题下方右列。桌面端不受影响。
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  #why .sec-head,
  #proof .sec-head {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 8px;
    row-gap: 2px;
    align-items: start;
    margin-bottom: 8px;
  }
  #why .sec-head__icon,
  #proof .sec-head__icon {
    grid-column: 1; grid-row: 1;
    width: 30px; height: 30px; flex-basis: 30px;
  }
  #why .sec-head__title,
  #proof .sec-head__title {
    grid-column: 2; grid-row: 1;
    display: block;            /* 取消内部 flex，避免 ::after 竖线另起一行 */
    font-size: 16px; line-height: 1.35;
    min-width: 0;
  }
  #why .sec-head__title::after,
  #proof .sec-head__title::after { display: none; }
  #proof .sec-head__more {
    grid-column: 2; grid-row: 2;
    margin-left: 0; justify-self: start;
  }
}
