@charset "UTF-8";
/* ============================================================================
   铝气雾罐 / 铝瓶包装 B2B 外贸站 —— 页面级样式表 (pages.css)
   包含：首页 / 关于我们 / 产品列表 / 产品详情 / 证书 / FAQ / 联系
   公共变量与基础样式见 style.css
   ========================================================================== */

/* ==========================================================================
   0. 内页面包屑条 + 产品详情页缺失提示
   ========================================================================== */
.crumbbar {
  padding: 18px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.pd-notfound { display: none; padding: 70px 0; text-align: center; }
.pd-notfound.is-visible { display: block; }
.pd-notfound .mt-24 { margin-top: 18px; color: var(--steel-light); }

/* 视觉隐藏但保留给读屏软件与搜索引擎（首页 Hero 的 H1 用） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   1. 首页 · Hero 轮播（3 张图，自动播放）
   ------------------------------------------------------------------------
   [图片替换位置] 建议尺寸 1920×651（比例约 2.95:1）
   替换 assets/img/banner-mousse-foam-can-set.jpg 等三个文件即可，不用改代码。
   注意：这三张图自带标题文案，所以本模块不再叠加网站自己的文字。
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

/* 幻灯片轨道：main.js 通过 translateX 切换 */
.hero__viewport { position: relative; overflow: hidden; }
.hero__track {
  display: flex;
  transition: transform .6s cubic-bezier(.45, .05, .25, 1);
  will-change: transform;
}
.hero__slide { flex: 0 0 100%; }
.hero__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 650;
  object-fit: cover;
  object-position: center;
}

/* 左右切换箭头 */
.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .84);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(11, 42, 74, .2);
  transform: translateY(-50%);
  transition: background .2s, color .2s;
}
.hero__arrow svg { width: 22px; height: 22px; }
.hero__arrow:hover { background: var(--navy); color: #fff; }
.hero__arrow--prev { left: 22px; }
.hero__arrow--next { right: 22px; }

/* 圆点指示器（数量由 main.js 按实际张数生成） */
.hero__dots {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(11, 42, 74, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .62);
  transition: background .2s, transform .2s;
}
.hero__dots button:hover { background: #fff; }
.hero__dots button.is-active { background: var(--navy); transform: scale(1.2); }

/* 首页数据条（原来是 Hero 内的一行，现在独立成条，深蓝底白字） */
.statbar { background: var(--navy); }
.statbar__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.statbar__list li {
  padding: 24px 16px 26px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
}
.statbar__list li:last-child { border-right: 0; }
.statbar__list b { display: block; font-size: 28px; font-weight: 700; color: #fff; line-height: 1.1; }
.statbar__list span { display: block; margin-top: 6px; font-size: 13.5px; color: #9FB0C4; }

/* 尊重系统「减少动态效果」设置 */
@media (prefers-reduced-motion: reduce) {
  .hero__track { transition: none; }
}

/* 481–1024px：保持图片原始比例，整张横幅完整显示，不做任何裁切。
   宽度越窄横幅越矮、文字等比缩小，但绝不会被裁断。
   （不要在这里写死 height，否则 680–768px 区间会出现纵向裁切，把标题上沿切掉） */
@media (max-width: 1024px) {
  .hero__slide img { height: auto; aspect-ratio: 1920 / 650; object-position: center; }
}

/* 手机：隐藏箭头，改用滑动操作 */
@media (max-width: 768px) {
  .hero__arrow { display: none; }
  .hero__dots { bottom: 12px; }
  .statbar__list { grid-template-columns: 1fr; }
  .statbar__list li {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .statbar__list li:last-child { border-bottom: 0; }
  .statbar__list b { font-size: 24px; }
}

/* ==========================================================================
   2. 通用卡片
   ========================================================================== */

/* --- 图标 + 文案卡 --- */
.icard {
  height: 100%;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.icard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--metal);
  color: var(--navy);
}
.icard__icon svg { width: 22px; height: 22px; }
.icard h3 { font-size: 16.5px; font-weight: 600; color: var(--navy); }
.icard p { margin-top: 9px; font-size: 14.5px; line-height: 1.7; }
.section--navy .icard { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.section--navy .icard h3 { color: #fff; }
.section--navy .icard p { color: #A9B8CA; }
.section--navy .icard__icon { background: rgba(111, 178, 232, .16); color: #7FC0F0; }

/* --- 产品卡 --- */
.pcard { display: flex; flex-direction: column; overflow: hidden; }
.pcard__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.pcard__title { font-size: 16.5px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.pcard__title a:hover { color: var(--blue); }
.pcard__spec { margin-top: 8px; font-size: 13.5px; color: var(--steel-light); }
.pcard__desc { margin-top: 10px; font-size: 14px; line-height: 1.65; }
.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* --- 分类卡（首页核心产品分类） --- */
.ccard { display: block; overflow: hidden; }
.ccard__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ccard:hover .ccard__media img { transform: scale(1.05); }
.ccard__body { padding: 18px 20px 22px; }
.ccard__title { font-size: 17px; font-weight: 600; color: var(--navy); }
.ccard__txt { margin-top: 8px; font-size: 14px; line-height: 1.65; }
.ccard__more { margin-top: 14px; }

/* ==========================================================================
   3. 首页 · 定制流程（步骤条）
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); }
.step { position: relative; padding: 0 10px; text-align: center; }
.step__no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.step h4 { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.step p { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--steel-light); }
.step::after {
  content: '';
  position: absolute;
  top: 22px;
  right: -7px;
  width: 14px;
  height: 2px;
  background: var(--line);
}
.step:last-child::after { display: none; }

/* ==========================================================================
   4. 图文分栏
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split__media img { width: 100%; border: 1px solid var(--line); border-radius: var(--r-card); }
.split--reverse .split__media { order: 2; }
.split__body .h2 { margin-bottom: 18px; }
.split__body p + p { margin-top: 14px; }

/* 关键数据列表 */
.datalist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; margin-top: 26px; }
.datalist li { padding-top: 14px; border-top: 2px solid var(--navy); }
.datalist b { display: block; font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.datalist span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--steel-light); }

/* ==========================================================================
   5. 关于我们
   ========================================================================== */
.statband {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-card);
  overflow: hidden;
  background: rgba(255, 255, 255, .14);
}
.statband__item { padding: 30px 24px; text-align: center; background: var(--navy); }
.statband__item b { display: block; font-size: 34px; font-weight: 700; color: #fff; line-height: 1; }
.statband__item span { display: block; margin-top: 10px; font-size: 14px; color: #9FB0C4; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 7px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}
.timeline b { display: block; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.timeline span { display: block; margin-top: 5px; font-size: 14.5px; line-height: 1.7; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery button {
  padding: 0;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  cursor: zoom-in;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.gallery button:hover img { transform: scale(1.05); }

/* ==========================================================================
   6. 产品列表页
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filters button {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  font-size: 14.5px;
  color: var(--steel);
  transition: background .2s, color .2s, border-color .2s;
}
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.filter-empty { display: none; padding: 40px 0; text-align: center; color: var(--steel-light); }
.filter-empty.is-visible { display: block; }

/* 键值规格表 */
.spec-table {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 14.5px;
}
.spec-table th,
.spec-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; background: var(--bg-soft); font-weight: 600; color: var(--navy); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   7. 产品详情页
   ========================================================================== */
.pd-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }

.pd-main {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-soft);
}
.pd-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pd-thumb {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.pd-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pd-thumb:hover { border-color: #B9C6D4; }
.pd-thumb.is-active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(23, 105, 170, .16); }

.pd-info .h1 { font-size: 30px; }
.pd-info__lead { margin-top: 14px; font-size: 16px; line-height: 1.7; }

.qspec { margin-top: 24px; border-top: 1px solid var(--line); }
.qspec li { display: grid; grid-template-columns: 132px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.qspec__k { color: var(--steel-light); }
.qspec__v { color: var(--navy); font-weight: 500; }

.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 44px 0 32px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.anchor-nav a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 14px;
  transition: border-color .2s, color .2s;
}
.anchor-nav a:hover { border-color: var(--blue); color: var(--blue); }

.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.pd-side { position: sticky; top: calc(var(--header-h) + 20px); }

.pd-block { margin-bottom: 46px; scroll-margin-top: calc(var(--header-h) + 20px); }
.pd-block > .h2 { font-size: 24px; margin-bottom: 18px; }

.checklist li { position: relative; padding: 7px 0 7px 28px; font-size: 15px; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.side-card {
  padding: 22px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
}
.side-card h3 { padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15.5px; font-weight: 600; color: var(--navy); }
.side-card--navy { background: var(--navy); border-color: var(--navy); color: #C6D2E0; }
.side-card--navy h3 { color: #fff; border-color: rgba(255, 255, 255, .18); }
.side-card--navy .field label { color: #fff; }
.side-card--navy .muted { color: #8FA2B8; }

.side-cats li { border-bottom: 1px dashed var(--line); }
.side-cats li:last-child { border-bottom: 0; }
.side-cats a { display: block; padding: 10px 0; font-size: 14.5px; transition: color .2s; }
.side-cats a:hover { color: var(--blue); }

.side-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list img { width: 62px; height: 62px; flex: none; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.side-list a { font-size: 14px; line-height: 1.5; color: var(--navy); }
.side-list a:hover { color: var(--blue); }

/* ==========================================================================
   8. 证书页
   ========================================================================== */
.certgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 只有 3 份报告，用 4 列会右侧留空 */
  gap: 22px;
  max-width: 1040px;                       /* 限宽居中，3 张卡不至于过大 */
  margin-inline: auto;
}
.certcard { text-align: center; }
.certcard button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
  cursor: zoom-in;
  transition: border-color .2s, box-shadow .2s;
}
.certcard button:hover { border-color: #B9C6D4; box-shadow: var(--shadow); }
.certcard img {
  width: 100%;
  aspect-ratio: 210 / 297;   /* A4：检测报告是 A4 竖版，用 A4 比例不裁切 */
  object-fit: contain;       /* contain 保证任何比例的扫描件都完整显示 */
  background: #fff;
}
.certcard h3 { margin-top: 14px; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.certcard p { margin-top: 4px; font-size: 13px; color: var(--steel-light); }

.certstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 张报告刚好一行 */
  gap: 18px;
  max-width: 1040px;
  margin-inline: auto;
}
.certstrip img {
  width: 100%;
  aspect-ratio: 210 / 297;   /* A4：与证书页一致，扫描件不被裁切 */
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
}

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 27, 49, .88);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 94vh;
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 6px;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .3); }

/* ==========================================================================
   9. FAQ 手风琴
   ========================================================================== */
.acc { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 0; }
.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s;
}
.acc__q:hover { background: var(--bg-soft); }
.acc__sign { position: relative; flex: none; width: 18px; height: 18px; }
.acc__sign::before,
.acc__sign::after {
  content: '';
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.acc__sign::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc__sign::after { left: 8px; top: 0; width: 2px; height: 18px; }
.acc__item.is-open .acc__sign::after { transform: scaleY(0); opacity: 0; }
.acc__a {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  font-size: 15px;
  line-height: 1.75;
  transition: max-height .28s ease, padding .28s ease;
}
.acc__item.is-open .acc__a { max-height: 900px; padding-bottom: 20px; }

.faq-group { margin-bottom: 44px; }
.faq-group > .h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.faq-group > .h3::before { content: ''; width: 4px; height: 18px; border-radius: 2px; background: var(--blue); }

/* ==========================================================================
   10. 联系页
   ========================================================================== */
.infocards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.infocard {
  padding: 28px 22px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  /* 四张卡等高（grid 默认 stretch），但内容垂直居中：
     地址卡比其他三张高得多，不居中会让 Email / WhatsApp / Telephone 下方留下大片空白 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.infocard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--metal);
  color: var(--navy);
}
.infocard__icon svg { width: 22px; height: 22px; }
/* WeChat 二维码与说明（图片自带白色静默区，故不加边框） */

.infocard__qr { display: block; width: 100%; max-width: 150px; height: auto; margin: 16px auto 0; }

.infocard .infocard__qr-cap { margin-top: 10px; font-size: 13px; color: var(--steel); text-align: center; }
.infocard h3 { font-size: 15.5px; font-weight: 600; color: var(--navy); }
.infocard p { margin-top: 8px; font-size: 14.5px; word-break: break-word; }
/* 并列展示的办公室 / 工厂地址：小标签 + 地址正文 */
.infocard__addr span {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
}
.infocard__addr + .infocard__addr { margin-top: 14px; }
.infocard a:hover { color: var(--blue); }

.map-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-soft);
  aspect-ratio: 16 / 9;
}
.map-block img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* 地图 iframe 绝对定位铺满容器；无论是否加载成功都不会造成布局跳动 */
.map-block iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
/* 国际地图不可达时展示的地址卡片，与 iframe 同层、被其覆盖 */
.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.map-fallback svg { width: 26px; height: 26px; color: var(--blue); }
.map-fallback__label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--steel); }
.map-fallback__addr { max-width: 46ch; font-size: 14px; color: var(--navy); }
.map-block.is-map-live .map-fallback { display: none; }
.map-note { margin-top: 10px; font-size: 12.5px; color: var(--steel); }
.map-note a { color: var(--blue); }

/* ==========================================================================
   11. 底部 CTA 条
   ========================================================================== */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px 48px;
  border-radius: var(--r-card);
  background: var(--navy);
  color: #fff;
}
.cta-band .h2 { color: #fff; }
.cta-band p { margin-top: 10px; color: #B8C6D6; font-size: 15.5px; max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   12. 页面级响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 26px 0; }
  .step::after { display: none; }

  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__media { order: 0; }

  .statband { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .certgrid { grid-template-columns: repeat(3, 1fr); }
  .certstrip { grid-template-columns: repeat(3, 1fr); }
  .infocards { grid-template-columns: repeat(2, 1fr); }

  .pd-top { grid-template-columns: 1fr; gap: 32px; }
  .pd-body { grid-template-columns: 1fr; gap: 0; }
  .pd-side { position: static; margin-top: 10px; }

  .cta-band { padding: 34px 30px; }
}

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { text-align: left; }
  .step__no { margin: 0 0 12px; }

  .statband { grid-template-columns: 1fr 1fr; }
  .statband__item { padding: 22px 14px; }
  .statband__item b { font-size: 26px; }

  .datalist { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .datalist b { font-size: 19px; }

  .gallery { grid-template-columns: 1fr; }
  /* 单列显示：限宽居中，否则 768px 下每张 A4 卡会撑到 728px 宽、
     1000px 以上高，三张叠起来要滚动三千多像素，观感失衡 */
  .certgrid { grid-template-columns: 1fr; gap: 18px; max-width: 420px; margin-inline: auto; }
  .certstrip { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .infocards { grid-template-columns: 1fr; }

  .pd-info .h1 { font-size: 22px; }
  .pd-block > .h2 { font-size: 20px; }
  .qspec li { grid-template-columns: 108px 1fr; }
  .spec-table th,
  .spec-table td { padding: 11px 13px; }
  .spec-table th { width: 44%; }

  .acc__q { padding: 16px 16px; font-size: 15px; }
  .acc__a { padding: 0 16px; }

  .cta-band { padding: 28px 22px; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 auto; }

  .anchor-nav { margin: 32px 0 24px; }
}

/* ============================================================================
   语言切换器（多语言站）
   紧凑下拉：页头只占一个"地球 + 当前语言"按钮，其余语言在悬停/聚焦时展开。

   不要把 7 个语言项平铺在页头里 —— 页头是 flex 容器，切换器会被压缩，
   实测在 /es/ 与 /ar/ 页面上被挤成 116px 宽、7 项各占一行，页头从 ~99px
   被撑到 184px。改成下拉后页头宽度恒定，与语言数量无关。
   纯 CSS 实现（:hover / :focus-within），键盘 Tab 也能展开。
   ============================================================================ */
.lang-switch {
  position: relative;
  flex: none;
  margin-left: 14px;
}
.lang-switch__current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  color: var(--steel);
  white-space: nowrap;
  cursor: pointer;
}
.lang-switch__current:hover { border-color: var(--blue); color: var(--navy); }
.lang-switch__globe { width: 15px; height: 15px; flex: none; }
.lang-switch__caret { width: 10px; height: 10px; flex: none; transition: transform .18s; }
.lang-switch:hover .lang-switch__caret,
.lang-switch:focus-within .lang-switch__caret { transform: rotate(180deg); }

.lang-switch__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang-switch:hover .lang-switch__list,
.lang-switch:focus-within .lang-switch__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switch__list a {
  display: block;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch__list a:hover { background: var(--bg-soft); color: var(--navy); }
.lang-switch__list a.is-active {
  background: var(--accent, #0e8e9a);
  color: #fff;
  font-weight: 600;
}
@media (max-width: 768px) {
  /* 手机端页头只剩 logo + 切换器 + 汉堡，收起语言名只留地球图标省宽度，
     当前语言仍由 aria-label 提供给读屏软件 */
  .lang-switch { margin-left: 0; }
  .lang-switch__current { padding: 7px 8px; }
  .lang-switch__label { display: none; }
}


/* ========================================================================
   15. 文章配图（博客正文内的插图 + 图注）
   站点原无图文容器样式：img 直接放在 .container 里会撑到容器宽度，
   与正文阅读宽度不匹配，故加一个居中的限宽容器。
   ======================================================================== */
.article-figure {
  max-width: 720px;
  margin: 30px auto;
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-card);
}
.article-figure figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--steel);
}

/* ========================================================================
   16. 文章卡（/blog/ 栏目页：顶部缩略图预览）
   原 .icard 是"图标 + 文案"卡，栏目页改用照片预览：去掉内边距让图片通栏，
   文字部分补回左右边距；日期用 margin-top:auto 压到卡片底部，
   同一行卡片高度一致时日期对齐。仅作用于 .icard--article，不影响其他页面的 .icard。
   ======================================================================== */
.icard--article {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.icard--article .icard__thumb {
  display: block;
  background: var(--metal);
}
.icard--article .icard__thumb img { display: block; width: 100%; height: auto; }
.icard--article h3 { margin: 20px 22px 0; }
.icard--article p { margin: 9px 22px 0; }
.icard--article .icard__meta {
  margin-top: auto;
  margin-bottom: 22px;
  padding-top: 14px;
  font-size: 13px;
  color: var(--steel);
}

/* ========================================================================
   17. 规格矩阵表（产品页「Specifications」里的多列表）
   .spec-table 只有两列，用来放"直径 / 型号 / 锥模 / 底模"这种矩阵会串行，
   故单列一套样式。窄屏优先压缩内边距让 4 列能放下，实在放不下时容器内横向滚动
   （滚动发生在 .size-chart__scroll 内部，不会把整页撑宽）。
   ======================================================================== */
.size-chart { margin-top: 28px; }
.size-chart__cap {
  margin-bottom: 10px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
}
.size-chart__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.size-chart__table {
  width: 100%;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--r-card);
  overflow: hidden;
}
/* min-width:0 是必需的：窄屏 .pd-body 变成 grid-template-columns: 1fr，
   轨道最小尺寸取 auto，宽表会把整条轨道撑宽，于是下面 .size-chart__scroll 的
   overflow-x:auto 永远不触发、而是把整页撑出横向滚动（德语实测多出 4px）。
   注意 .pd-body > * 必不可少：模板里 .pd-body 的第一个子元素是**无 class 的 div**，
   它才是真正的 grid 子项，只给 .pd-block 加 min-width:0 不够（第一轮修复就漏了它）。 */
.pd-body > *,
.pd-block,
.size-chart,
.size-chart__scroll { min-width: 0; }

.size-chart__table th,
.size-chart__table td {
  padding: 11px 14px;
  /* start 而不是 left：阿拉伯语是 RTL，用 left 会让单元格文字贴错边 */
  text-align: start;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.size-chart__table thead th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--navy);
}
.size-chart__table tbody tr:last-child td { border-bottom: 0; }
.size-chart__table tbody tr:nth-child(even) td { background: #FAFBFC; }

@media (max-width: 640px) {
  .size-chart__table th,
  .size-chart__table td { padding: 9px 7px; font-size: 13px; }
  .size-chart__table th[scope="col"]:first-child,
  .size-chart__table td:first-child { padding-left: 11px; }
  .size-chart__table th[scope="col"]:last-child,
  .size-chart__table td:last-child { padding-right: 11px; }
}
