/* =========================================================
   长安易租 — 机型详情页
   ---------------------------------------------------------
   仅 product.html 引入，类名统一 .pd- 前缀，不改动 style.css。
   配色 / 圆角 / 按钮一律复用 style.css 的 CSS 变量。
   注意：顶部固定条 = 公告条 38px + 导航 72px = 110px，
   首屏内容要留出这个高度；≤640px 公告条隐藏，退回 72px。
   ========================================================= */

/* 面包屑 */
.pd-crumb { padding: calc(var(--nav-h) + 38px) 0 0; font-size: 13px; color: var(--muted); }
.pd-crumb a:hover { color: var(--accent); }

/* ===================== 首屏：画廊 + 购买面板 ===================== */
.pd-top { padding: 24px 0 0; }
/* 两列：画廊 / 购买面板
   ⚠️ 别再改回三列。曾试过「画廊 + 购买面板 + 常驻推荐侧栏」三列，把画廊列压到 507px、
   主图塌成 349px，左侧下方留出 1203px 空白（老板两次反馈）。参考站（易点云）实测：
   左列 450×586、右列 710×1426，左列下方同样空 840px —— 电商详情页的固有特征，不必消除；
   但关键在于**主图是 448×448 方形**，比 16/11 扁图高出约 200px，观感即成立。
   故本页取「两列 1.1:1 + 方形主图」，实测空白差 830px，与参考站 840px 基本一致。
   底部已有 .pd-rel 横排推荐 4 台，无需再加常驻侧栏。 */
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px; align-items: start; }

.pd-stage {
  position: relative;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  overflow: hidden;
  /* 方形主图（对齐参考站 448×448）：扁图会让首屏左列过矮、下方空白显得突兀 */
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(700px 380px at 50% 28%, rgba(47, 107, 255, 0.16), transparent 68%),
    linear-gradient(180deg, #0d1524, #070c16);
}
/* <img> 是替换元素：定位必须配 calc()，写 auto 会忽略 left/top（见项目改动纪律） */
.pd-photo {
  position: absolute; left: 8px; top: 8px;
  width: calc(100% - 16px); height: calc(100% - 16px);
  z-index: 2; object-fit: contain; display: none; pointer-events: none;
}
.pd-photo.on { display: block; }
.pd-photo.blend { mix-blend-mode: screen; }
.pd-angles { position: absolute; inset: 0; z-index: 2; display: none; }
.pd-angles.on { display: block; }
.pd-angles svg { width: 100%; height: 100%; }
.pd-credit {
  position: absolute; z-index: 3; left: 14px; top: 14px;
  font-size: 11.5px; color: var(--muted); pointer-events: none;
}
.pd-credit:empty { display: none; }
.pd-badge { position: absolute; z-index: 3; top: 14px; right: 14px; }

.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 2px; }
.pd-thumb {
  flex: none; width: 88px; height: 66px;
  padding: 4px; border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #101a2e, #0a1120);
  display: grid; place-items: center; overflow: hidden;
  cursor: pointer; transition: all 0.22s var(--ease);
}
.pd-thumb img, .pd-thumb svg { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb img.blend { mix-blend-mode: screen; }
.pd-thumb:hover { border-color: var(--line-strong); }
.pd-thumb.on { border-color: rgba(47, 107, 255, 0.55); box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.35); }

/* 购买面板 */
.pd-buy {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.pd-buy h1 { font-size: 26px; margin: 6px 0 10px; }
.pd-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-desc { font-size: 14px; margin-bottom: 4px; }

/* 价格区：浅色阶底块 + 左侧主色竖条（借鉴参考站把价格做成独立视觉块） */
.pd-price {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  margin-top: 14px; padding: 14px 16px 16px;
  border: 0; border-left: 3px solid var(--primary);
  border-radius: var(--radius-s); background: var(--bg);
}
.pd-price .price-main b { color: var(--primary); font-size: 30px; }
.pd-price .price-main small { margin-top: 4px; }
.pd-stock {
  font-size: 12.5px; color: var(--success); white-space: nowrap;
  border: 1px solid rgba(14, 123, 79, 0.28); border-radius: 999px;
  padding: 3px 9px; background: rgba(14, 123, 79, 0.07);
}

.pd-block { padding-top: 18px; }
.pd-block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pd-block-head span { font-size: 14px; font-weight: 600; }
.pd-block-head i { font-style: normal; font-size: 12px; color: var(--muted); }

/* 配置变体：网格排布，紧凑两列（借鉴参考站的配置网格） */
.pd-variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pd-variant {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 10px 12px; text-align: left;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg);
  cursor: pointer; transition: all 0.22s var(--ease);
}
.pd-variant b { display: block; font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.45; }
.pd-variant em, .pd-variant i { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pd-variant > span { min-width: 0; }
.pd-variant > span:last-child {
  font-size: 13px; color: var(--primary); font-weight: 600;
  white-space: nowrap; flex: none; margin-top: auto;
}
.pd-variant:hover { border-color: var(--line-strong); }
.pd-variant.on { border-color: var(--primary); background: var(--primary-soft); }
.pd-variant.on span:last-child { color: var(--primary-deep); }

.pd-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pd-term {
  padding: 12px 8px; text-align: center;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg);
  cursor: pointer; transition: all 0.22s var(--ease);
}
.pd-term b { display: block; font-size: 13px; font-weight: 600; }
/* 浅色主题：价格走主色，不能再用 #fff（v1.9.7 撤暗色时的漏改） */
.pd-term span { display: block; margin-top: 6px; font-size: 19px; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; }
.pd-term em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.pd-term:hover { border-color: var(--line-strong); }
.pd-term.on { border-color: var(--primary); background: var(--primary-soft); }
.pd-term.on span { color: var(--primary-deep); }

.pd-addons { display: grid; gap: 9px; }
.pd-addon { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-dim); cursor: pointer; }
.pd-addon input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); flex: none; cursor: pointer; }
.pd-addon u { text-decoration: none; margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.pd-deliver {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 18px; padding: 12px 14px;
  border: 1px solid rgba(23, 209, 164, 0.24); border-radius: 10px;
  background: rgba(23, 209, 164, 0.06);
  font-size: 13px; color: var(--text-dim); line-height: 1.6;
}
.pd-deliver svg { flex: none; margin-top: 2px; color: var(--success); }

.pd-qty { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.pd-qty-label { font-size: 14px; font-weight: 600; white-space: nowrap; flex: none; }
.pd-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pd-stepper button {
  width: 34px; height: 38px; border: 0; line-height: 1;
  background: var(--bg-soft); color: var(--text);
  font-size: 17px; cursor: pointer; transition: background 0.2s var(--ease);
}
.pd-stepper button:hover { background: var(--primary-soft); color: var(--primary); }
.pd-stepper input {
  width: 48px; height: 38px; text-align: center;
  background: transparent; border: 0; outline: none; font-size: 15px;
}
/* 合计单独占一行右对齐：购买面板偏窄，与步进器同排会被挤换行 */
.pd-total { flex-basis: 100%; margin-left: 0; text-align: right; font-size: 13px; color: var(--text-dim); white-space: nowrap; }
.pd-total b { font-size: 18px; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; }

.pd-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.pd-note { text-align: left; }

/* ===================== 费用明细（保证金 / 免押额度 / 合计） ===================== */
.pd-fee {
  margin-top: 18px;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--bg-soft); overflow: hidden;
}
.pd-fee-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 11px 14px; font-size: 13px; color: var(--text-dim);
  border-top: 1px solid var(--line);
}
.pd-fee-row:first-child { border-top: 0; }
.pd-fee-row i { font-style: normal; color: var(--muted); flex: none; }
.pd-fee-row b { font-weight: 600; color: var(--text); text-align: right; }
.pd-fee-row b em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); }
.pd-fee-row.is-total { background: var(--bg); }
.pd-fee-row.is-total i { color: var(--text); font-weight: 600; }
.pd-fee-row.is-total b { color: var(--primary); font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }

/* ===================== 交付与起用（送至 / 预计起用日期） ===================== */
.pd-meta { margin-top: 14px; border-top: 1px dashed var(--line); }
.pd-meta-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; font-size: 13px;
  border-bottom: 1px dashed var(--line);
}
.pd-meta-row > label { flex: none; width: 82px; color: var(--text-dim); font-size: 13.5px; }
.pd-meta-row .pd-meta-val { color: var(--text); }
.pd-meta-row .pd-meta-hint { margin-left: auto; font-size: 12px; color: var(--muted); }
.pd-meta-row input[type="date"] {
  border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 6px 9px; font-size: 13px; background: var(--bg); color: var(--text);
  min-width: 160px;
}
.pd-meta-row select {
  border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 6px 9px; font-size: 13px; background: var(--bg); color: var(--text);
}

/* ===================== 悬浮咨询条（借鉴参考站的侧边工具条） ===================== */
.pd-float {
  position: fixed; right: 18px; bottom: 96px; z-index: 60;
  display: grid; gap: 8px;
}
.pd-float button, .pd-float a {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--bg); color: var(--text-dim);
  cursor: pointer; box-shadow: var(--shadow);
  transition: all 0.22s var(--ease);
}
.pd-float button:hover, .pd-float a:hover { color: var(--primary); border-color: var(--primary); }
.pd-float .pd-float-tel { width: auto; padding: 0 13px; font-size: 13px; gap: 7px; grid-auto-flow: column; }

/* ===================== 适用场景 ===================== */
.pd-scene { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pd-scene-card {
  padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); transition: all 0.24s var(--ease);
}
.pd-scene-card h3 { font-size: 15px; margin-bottom: 8px; }
.pd-scene-card p { font-size: 13px; color: var(--text-dim); line-height: 1.65; }
/* 当前机型的主定位：主色描边 + 白底 + 角标，与未选中卡形成清晰层级 */
.pd-scene-card.on {
  border-color: var(--primary); background: var(--bg);
  box-shadow: var(--glow);
}
.pd-scene-card.on h3 { color: var(--primary); }
.pd-scene-card .pd-scene-tag {
  display: inline-block; margin-top: 10px;
  font-size: 11.5px; color: var(--primary); font-weight: 600;
}
.pd-scene-card:not(.on) .pd-scene-tag { display: none; }

/* ===================== 购买咨询（静态 <details>，无 JS 也可读；利于检索） ===================== */
.pd-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.pd-qa-item {
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--bg-soft); overflow: hidden;
}
.pd-qa-item summary {
  padding: 14px 16px; font-size: 14px; font-weight: 500; color: var(--text);
  cursor: pointer; list-style: none; position: relative; padding-right: 40px;
}
.pd-qa-item summary::-webkit-details-marker { display: none; }
.pd-qa-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 17px; font-weight: 400; color: var(--muted); line-height: 1;
}
.pd-qa-item[open] summary::after { content: "−"; color: var(--primary); }
.pd-qa-item summary:hover { color: var(--primary); }
.pd-qa-item p {
  padding: 0 16px 15px; font-size: 13.5px; color: var(--text-dim); line-height: 1.7;
  border-top: 0;
}
.pd-qa-item[open] { background: var(--bg); border-color: var(--line-strong); }
.pd-qa-more { margin-top: 22px; text-align: center; }

/* ===================== 购买面板折叠块（低频模块默认收起，缩短首屏决策链） ===================== */
.pd-fold { border-top: 1px dashed var(--line); margin-top: 14px; }
.pd-fold > summary {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 0 2px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.pd-fold > summary::-webkit-details-marker { display: none; }
.pd-fold > summary i {
  font-style: normal; font-size: 12px; color: var(--muted); font-weight: 400;
  /* 占据剩余空间，把 +/− 推到面板右内边界（否则 ::after 会溢到边框外） */
  flex: 1 1 auto; min-width: 0;
}
/* 右侧 +/− 指示，与购买咨询的写法保持一致 */
.pd-fold > summary::after {
  content: "+"; flex: none; font-size: 16px; font-weight: 400;
  color: var(--muted); line-height: 1;
}
.pd-fold[open] > summary::after { content: "−"; color: var(--primary); }
.pd-fold > summary:hover { color: var(--primary); }
.pd-fold[open] > summary { padding-bottom: 8px; }
/* 折叠体内的原有模块：顶部虚线由 .pd-fold 统一提供，内部不再重复 */
.pd-fold .pd-addons { padding-bottom: 4px; }
.pd-fold .pd-meta { margin-top: 0; border-top: 0; }

/* ===================== 下半部锚点导航（吸顶） =====================
   ⚠️ top 必须等于固定头部实际底边，不能只写 var(--nav-h)=72px：
   实测 .topbar 桌面端高 111px（公告条 39 + 导航 72，两者均 fixed），
   ≤640px 公告条隐藏、退回 72px。写小了锚点条会被头部压住 39px。
   ⚠️ z-index 取 45：需高于正文与浮层内容，但必须低于 .topbar(100) 及其
   子菜单 .nav-sub(120)——否则主导航下拉菜单会被锚点条切断。 */
.pd-tabs {
  position: sticky; top: 111px; z-index: 45;
  background: var(--bg); border-bottom: 1px solid var(--line);
  margin-top: 30px;
}
.pd-tabs-inner {
  display: flex; gap: 4px; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.pd-tabs-inner::-webkit-scrollbar { display: none; }
.pd-tab {
  flex: none; padding: 15px 18px; font-size: 14px; color: var(--text-dim);
  border-bottom: 2px solid transparent; white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pd-tab:hover { color: var(--primary); }
.pd-tab.on { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* ===================== 客户案例 ===================== */
.pd-case { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pd-case-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); padding: 20px 20px 18px;
  transition: all 0.26s var(--ease);
}
.pd-case-card:hover { border-color: var(--primary); background: var(--bg); }
/* 行业 + 规模：顶部一行标签，先给客户"这是不是我这类"的判断 */
.pd-case-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-case-ind {
  font-size: 12px; color: var(--primary); font-weight: 600;
  background: var(--primary-soft); border-radius: 6px; padding: 3px 8px;
}
.pd-case-scale { font-size: 12px; color: var(--muted); }
.pd-case-card h3 { font-size: 15.5px; line-height: 1.5; margin-bottom: 10px; }
.pd-case-pain { font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.pd-case-result {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--text-dim); line-height: 1.7;
}
.pd-case-result b { color: var(--success); font-weight: 600; }
/* 客户原话：引用块，与"我方自述"视觉区分开 */
.pd-case-quote {
  margin-top: 14px; padding: 12px 14px;
  border-left: 3px solid var(--primary); border-radius: var(--radius-s);
  background: var(--bg); font-size: 13px; line-height: 1.7; color: var(--text);
}
.pd-case-quote em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--muted); }
.pd-case-more { margin-top: 22px; text-align: center; }

/* ===================== 资质与保障（可核验，不虚构证书） ===================== */
.pd-cert { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pd-cert-item {
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft);
}
.pd-cert-item b { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-bottom: 8px; }
.pd-cert-item span, .pd-cert-item a { display: block; font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.5; }
.pd-cert-item a:hover { color: var(--primary); }
.pd-cert-item em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ===================== 规格参数表 ===================== */
.pd-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pd-spec-group {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); overflow: hidden;
}
.pd-spec-group h3 {
  font-size: 14.5px; padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.pd-spec-row {
  display: grid; grid-template-columns: minmax(90px, 0.4fr) minmax(0, 1fr);
  gap: 12px; padding: 10px 18px; font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}
.pd-spec-row:first-of-type { border-top: 0; }
.pd-spec-row i { font-style: normal; color: var(--muted); }
.pd-spec-row b { font-weight: 400; color: var(--text); }

/* ===================== 配件清单 ===================== */
.pd-pack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pd-pack-item { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.pd-pack-item b { display: block; font-size: 14px; margin-bottom: 4px; }
.pd-pack-item span { font-size: 12.5px; color: var(--muted); }

.pd-pack-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ===================== 服务保障 ===================== */
.pd-svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ===================== 相关机型推荐（详情页的机型导航） ===================== */
.pd-rel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pd-rel-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); overflow: hidden;
  transition: all 0.28s var(--ease);
}
.pd-rel-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.pd-rel-media {
  position: relative;           /* 供内部绝对定位的图文使用 */
  height: 132px;
  overflow: hidden;             /* 兜底：任何内容不得越出媒体区压住下方机型名 */
  background:
    radial-gradient(300px 150px at 50% 30%, rgba(47, 107, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #101a2e, #0a1120);
  border-bottom: 1px solid var(--line);
}
/* 图片为替换元素：在 grid/flex 容器里百分比高度不生效（max-height:100% 算不出来），
   图片会按自身比例撑高（1600×1200 的图在 132px 区里高 192px，溢出 68px 压住机型名）。
   故改用绝对定位 + inset，尺寸由容器决定，与首页/年付页同款修法。 */
.pd-rel-media img, .pd-rel-media svg {
  position: absolute; inset: 8px;
  width: calc(100% - 16px); height: calc(100% - 16px);
  max-width: none; max-height: none;
  object-fit: contain;
}
.pd-rel-media img.blend { mix-blend-mode: screen; }
.pd-rel-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pd-rel-body h4 { font-size: 14.5px; font-weight: 600; line-height: 1.4; margin: 2px 0 4px; }
.pd-rel-spec {
  font-size: 12px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pd-rel-price { margin-top: auto; padding-top: 8px; font-size: 12.5px; color: var(--text-dim); }
.pd-rel-price b { font-size: 17px; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; }
.pd-rel-more { margin-top: 22px; text-align: center; }

/* ===================== 响应式 ===================== */
/* ≤1080px：单列（画廊在上、购买面板在下） */
@media (max-width: 1080px) {
  .pd-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pd-buy { position: static; }
  /* 单列独占整行，方形主图在窄视口会过高，改 16/10 扁图并设上限 */
  .pd-stage { aspect-ratio: 16 / 10; max-height: min(520px, 52vh); }
}
@media (max-width: 900px) {
  .pd-specs { grid-template-columns: minmax(0, 1fr); }
  .pd-pack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-scene { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-qa { grid-template-columns: minmax(0, 1fr); }
  .pd-case { grid-template-columns: minmax(0, 1fr); }
  .pd-cert { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pd-crumb { padding-top: var(--nav-h); }
  /* 手机端公告条隐藏，固定头部只剩导航 72px，锚点条随之上升 */
  .pd-tabs { top: var(--nav-h); margin-top: 22px; }
  .pd-tab { padding: 13px 14px; font-size: 13.5px; }
  .pd-stage { aspect-ratio: 1 / 1; min-height: 300px; border-radius: var(--radius); }
  .pd-buy { padding: 20px; }
  .pd-buy h1 { font-size: 22px; }
  .pd-price { padding: 12px 13px 14px; }
  .pd-price .price-main b { font-size: 26px; }
  .pd-variants { grid-template-columns: minmax(0, 1fr); }
  .pd-terms { gap: 6px; }
  .pd-term { padding: 10px 4px; }
  .pd-term span { font-size: 16px; }
  .pd-term em { font-size: 11px; }
  .pd-qty { flex-wrap: wrap; gap: 10px; }
  .pd-total { width: 100%; margin-left: 0; }
  .pd-meta-row { flex-wrap: wrap; gap: 8px; }
  .pd-meta-row > label { width: auto; }
  .pd-meta-row .pd-meta-hint { margin-left: 0; width: 100%; }
  .pd-meta-row input[type="date"], .pd-meta-row select { flex: 1; min-width: 0; }
  .pd-pack { grid-template-columns: minmax(0, 1fr); }
  .pd-svc { grid-template-columns: minmax(0, 1fr); }
  .pd-scene { grid-template-columns: minmax(0, 1fr); }
  .pd-cert { grid-template-columns: minmax(0, 1fr); }
  /* 手机屏窄，悬浮条必然压住正文；顶部导航已有「在线询价」、页底有主 CTA，故隐藏 */
  .pd-float { display: none; }
}
