@charset "utf-8";
/* ============================================================
   product.css — 产品中心页样式（列表 / 全部产品 / 详情）
   依赖 tokens.css 设计变量，蓝色品牌体系，对齐 lists.css 视觉语言
   ============================================================ */

/* ============================================================
   1. 页面骨架
   ============================================================ */
.pd-page {
  padding: 48px 0 100px;
}

.pd-wrap {
  max-width: var(--wp-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* 面包屑 */
.pd-breadcrumb {
  padding: var(--sp-3) 0 var(--sp-6);
  font-size: var(--fs-base);
  color: var(--muted);
}

.pd-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.pd-breadcrumb a:hover {
  color: var(--brand);
}

.pd-breadcrumb .on {
  color: var(--ink);
}

/* 页头 */
.pd-hero {
  margin: 0 0 var(--sp-8);
}

.pd-hero-title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: var(--lh-tight);
  margin: 0 0 var(--sp-2);
}

.pd-hero-desc {
  font-size: var(--fs-md);
  color: var(--muted);
  margin: 0;
  line-height: var(--lh-base);
}

/* ============================================================
   2. 两栏布局（左分类侧栏 + 右产品区）
   ============================================================ */
.pd-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: start;
}

/* ---------- 左侧分类侧栏:树形结构(非抽屉) ----------
   列表区浅灰底,一级行 hover/选中为白底+品牌色字;
   子类目以内嵌缩进树展示,默认折叠、当前路径展开。
   overflow 不可裁剪(吸顶不受影响,无溢出元素) */
.pd-side {
  position: sticky;
  top: 16px; /* 页头为文档流(滚动即离开视窗),吸顶贴近视窗顶即可 */
  z-index: 20;
  background: rgba(238, 238, 238, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pd-side .pd-cat-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.pd-cat-list li {
  margin: 0;
  min-width: 0;
}

/* 行容器:链接+箭头一行,箭头以行为定位基准
   (li 含展开的子树,若以 li 为基准 top:50% 会落到子树中间) */
.pd-cat-row {
  position: relative;
}

/* 一级行:默认深色字,hover/选中白底+品牌色(参考 ditfshop category-item) */
.pd-cat-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 13px 20px;
  color: var(--ink);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}

/* 有子类的行右侧留出箭头位 */
.pd-cat-item.has-sub > .pd-cat-row > .pd-cat-link {
  padding-right: 40px;
}

.pd-cat-link:hover,
.pd-cat-item.pd-path > .pd-cat-link {
  background: #fff;
  color: var(--brand);
}

/* 精确当前项(on)与"所有产品"选中态 */
.pd-cat-item.on > .pd-cat-link,
.pd-cat-all.on > .pd-cat-link {
  background: #fff;
  color: var(--brand);
  font-weight: var(--fw-semi);
}

/* 白底高亮条在首尾行随侧栏圆角收边 */
.pd-cat-list > li:first-child > .pd-cat-row > .pd-cat-link {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pd-cat-list > li:last-child > .pd-cat-row > .pd-cat-link {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.pd-cat-link:focus-visible,
.pd-cat-arrow:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: -3px;
}

/* 行尾箭头:点按开合子树 */
.pd-cat-arrow {
  position: absolute;
  top: 50%;
  right: 9px;
  z-index: 1;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.pd-cat-arrow:hover {
  background: rgba(0, 140, 214, 0.12);
  color: var(--brand);
}

li.on > .pd-cat-row > .pd-cat-arrow,
li.pd-path > .pd-cat-row > .pd-cat-arrow {
  color: var(--brand);
}

.pd-cat-arrow span {
  display: block;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg); /* › 收起 */
  transition: transform var(--dur-fast) var(--ease);
}

.pd-cat-list li.open > .pd-cat-row > .pd-cat-arrow span {
  transform: rotate(135deg); /* ⌄ 展开 */
}

/* ---------- 子类目树:内嵌缩进 + 软轨,默认折叠 ---------- */
.pd-side .pd-cat-tree {
  list-style: none;
  margin: 2px 0 6px 14px;
  padding: 0 0 2px 14px;
  border-left: 1px solid rgba(17, 24, 39, 0.14);
}

/* 折叠/展开:无 JS 时 CSS 按 pd-path 兜底展开当前路径 */
.pd-cat-list li.has-sub > ul {
  display: none;
}

.pd-cat-list li.open > ul,
.pd-cat-list li.pd-path > ul {
  display: block;
}

/* 二级行 */
.pd-cat-tree a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 8px 7px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: var(--fs-base);
  line-height: var(--lh-snug);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}

.pd-cat-tree a::before {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.22);
  content: '';
  transition: background 0.3s var(--ease);
}

.pd-cat-tree li.has-sub > .pd-cat-row > a {
  padding-right: 30px;
}

.pd-cat-tree a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
}

.pd-cat-tree a:hover::before,
.pd-cat-tree li.pd-path > a::before,
.pd-cat-tree li.on > a::before {
  background: var(--brand);
}

.pd-cat-tree li.pd-path > a {
  color: var(--brand-dark);
}

.pd-cat-tree li.on > a {
  background: #fff;
  color: var(--brand);
  font-weight: var(--fw-semi);
}

/* 三级行:更小字号 */
.pd-cat-tree .pd-cat-tree a {
  min-height: 34px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 12px;
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* 四级行:弱化 */
.pd-cat-tree .pd-cat-tree .pd-cat-tree a {
  padding-left: 14px;
  color: var(--muted-2);
}

.pd-cat-tree .pd-cat-tree li.on > a,
.pd-cat-tree .pd-cat-tree .pd-cat-tree li.on > a {
  color: var(--brand);
}

/* 树内行尾箭头略小 */
.pd-cat-tree .pd-cat-arrow {
  right: 4px;
  width: 22px;
  height: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .pd-cat-link,
  .pd-cat-arrow,
  .pd-cat-arrow span,
  .pd-cat-tree a,
  .pd-cat-tree a::before {
    transition-duration: 0.01ms;
  }
}

/* ============================================================
   3. 产品卡片网格
   ============================================================ */
.pd-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.pd-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.pd-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.pd-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.pd-card-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}

.pd-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--dur) var(--ease);
}

.pd-card:hover .pd-card-media img {
  transform: scale(1.06);
}

.pd-card-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-weight: var(--fw-semi);
  letter-spacing: 2px;
  font-size: var(--fs-md);
}

.pd-card-body {
  padding: var(--sp-5) var(--sp-5) 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pd-card-cat {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 var(--sp-2);
}

.pd-card-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  line-height: var(--lh-snug);
  margin: 0 0 var(--sp-2);
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--dur-fast) var(--ease);
}

.pd-card:hover .pd-card-title {
  color: var(--brand);
}

.pd-card-text {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: var(--lh-base);
  margin: 0 0 var(--sp-4);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 卡片角标颜色为纯工具类,由各页面模板拼 class,当前统一:
   产品属性=红(列表:标题前;详情:与文档标签同列于多规格下方) / 文档标签=蓝(列表简介下/详情多规格下) */
.pd-tag {
  display: inline-block;
  padding: 0 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: var(--fw-medium);
  line-height: 18px;
  white-space: nowrap;
  vertical-align: 1px;
}

.pd-tag--red {
  background: #fee2e2;
  color: #dc2626;
}

.pd-tag--blue {
  background: #dbeafe;
  color: #2563eb;
}

/* 标签行容器:横排换行,标签宽度按内容收缩(卡片body为纵向flex,裸em会被拉伸占满整行) */
.pd-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 var(--sp-2);
}

/* 标签行内的标签:加高内边距 */
.pd-card-tags .pd-tag {
  padding: 4px 8px;
}

/* 列表卡片标题行内:标签与标题文本/相邻标签间距 */
.pd-card-title .pd-tag {
  margin-right: 6px;
}

/* 详情页:多规格卡片下方的标签行(产品属性红 + 文档标签蓝) */
.pd-info-tags {
  margin: 0 0 var(--sp-6);
}

.pd-card-tags:empty {
  display: none;
}

/* 卡片脚部:View Details 链接 + Product Inquiry 按钮(点击呼出 footer 联系弹窗) */
.pd-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  margin-top: var(--sp-2);
}

.pd-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.pd-card-more em {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease);
}

.pd-card:hover .pd-card-more {
  color: var(--brand);
}

.pd-card:hover .pd-card-more em {
  background: var(--brand-dark);
}

/* 空态 */
.pd-empty {
  grid-column: 1 / -1;
  padding: var(--sp-16) var(--sp-6);
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-md);
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
}

.pd-empty a {
  color: var(--brand);
  text-decoration: none;
  font-weight: var(--fw-semi);
}

.pd-empty a:hover {
  text-decoration: underline;
}

/* 分页容器间距 */
.pd-page .g-pages {
  margin-top: var(--sp-12);
}

/* ============================================================
   4. 列表页工具栏（视图切换 + 排序）与列表视图
      排序经 URL orderby 参数由 {zan:list} 服务端应用；
      视图切换纯前端 class 切换，localStorage 记忆
   ============================================================ */
.pd-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin: 0 0 var(--sp-6);
}

.pd-view-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.pd-view-switch button {
  width: 42px;
  height: 42px;
  border: 0;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.pd-view-switch button + button {
  border-left: 1px solid var(--line);
}

.pd-view-switch svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.pd-view-switch button:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.pd-view-switch button.is-active {
  background: var(--brand);
  color: #fff;
}

.pd-sort {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--muted);
}

.pd-sort select {
  font: inherit;
  font-size: var(--fs-base);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  min-height: 42px;
  cursor: pointer;
}

/* 列表视图：横排卡片（媒体居左），便于扫读对比；
   link 用 display:contents 穿透，media/body/foot 直接成为卡片网格项 */
.pd-grid--list {
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.pd-grid--list .pd-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: stretch;
}

.pd-grid--list .pd-card-link {
  display: contents;
}

.pd-grid--list .pd-card-media {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: auto;
  height: 100%;
  min-height: 210px;
  border-right: 1px solid var(--line-soft);
}

.pd-grid--list .pd-card-media img {
  height: 100%;
}

.pd-grid--list .pd-card-body {
  grid-column: 2;
  grid-row: 1;
  padding: var(--sp-6);
  justify-content: center;
}

.pd-grid--list .pd-card-foot {
  grid-column: 2;
  grid-row: 2;
  padding: 0 var(--sp-6) var(--sp-5);
  margin-top: 0;
}

.pd-grid--list .pd-card-title {
  font-size: var(--fs-lg);
}

.pd-grid--list .pd-card-text {
  -webkit-line-clamp: 3;
  flex: 0 0 auto;
  margin-bottom: var(--sp-4);
}

/* ============================================================
   5. 详情页（参考 ewheels PDP：竖排缩略图 + 箭头 + 核心参数卡
      + eyebrow 标题 + assurance 信任条 + tabs + 悬浮询盘条）
   ============================================================ */
.pd-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  margin-top: var(--sp-6);
}

/* ---------- 左列：图集 + 核心参数 ---------- */
.pd-col-left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  min-width: 0;
}

.pd-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.pd-gallery-main {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.pd-gal-frame {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pd-gal-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--dur-slow) var(--ease);
}

.pd-gallery-main:hover .pd-gal-frame img {
  transform: scale(1.05);
}

/* 左右切换箭头（悬浮于主图两侧） */
.pd-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 12px rgba(17, 24, 39, 0.18);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
  z-index: 4;
}

.pd-arrow:hover {
  background: var(--brand);
  color: #fff;
}

.pd-arrow--prev {
  left: 12px;
}

.pd-arrow--next {
  right: 12px;
}

/* 缩略图横排于主图下方 */
.pd-gallery-thumbs {
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.pd-gallery-thumbs li {
  flex: 0 0 auto;
  width: 128px;
  height: 128px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  background: var(--bg-soft);
  transition:
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.pd-gallery-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-gallery-thumbs li:hover {
  border-color: var(--brand);
}

.pd-gallery-thumbs li.on {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}

/* ---------- 多规格选择（纯展示版） ---------- */
.pd-specs-picker {
  margin: var(--sp-2) 0 var(--sp-4);
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.pd-spec-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.pd-spec-group__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.pd-spec-group__values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.pd-spec-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  min-height: 40px;
  font: inherit;
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.pd-spec-btn img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
}

.pd-spec-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.pd-spec-btn.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}

.pd-spec-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.pd-spec-picked {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.pd-spec-picked:empty {
  display: none;
}

/* ---------- 右列：信息 / 询盘区 ---------- */
.pd-info {
  min-width: 0;
}

.pd-info-cat {
  display: inline-block;
  color: var(--brand);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: var(--fs-sm);
  text-decoration: none;
  margin: 0 0 var(--sp-2);
}

.pd-info-cat:hover {
  text-decoration: underline;
}

.pd-info-title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: var(--lh-tight);
  margin: 0 0 var(--sp-3);
}

.pd-info-lede {
  font-size: var(--fs-md);
  color: var(--ink-2);
  line-height: var(--lh-loose);
  margin: 0 0 var(--sp-4);
}

.pd-info-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 0 0 var(--sp-4);
}

/* CTA 按钮（大按钮平铺填满行宽） */
.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.pd-btn--primary {
  background: var(--grad-brand);
  color: #fff;
}

.pd-btn--primary:hover {
  background: var(--grad-brand-deep);
  box-shadow: var(--shadow-brand);
  color: #fff;
}

.pd-btn--ghost {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}

.pd-btn--ghost:hover {
  background: var(--brand-soft);
}

.pd-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-10);
}

.pd-btn--lg {
  flex: 1;
  min-width: 480px;
  padding: 16px 28px;
  font-size: var(--fs-lg);
}

.pd-btn--lg svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 信任保障条 */
.pd-assurance {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

.pd-assurance > div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--ink-2);
}

.pd-assurance svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 区块标题（居中 eyebrow + h2） ---------- */
.pd-section {
  margin-top: var(--sp-16);
}

.pd-section-head {
  max-width: 1024px;
  margin: 0 auto var(--sp-8);
  text-align: center;
}

.pd-section-head h2 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: var(--lh-tight);
  margin: 0;
}

.pd-eyebrow {
  display: block;
  color: var(--brand);
  font-weight: var(--fw-bold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: var(--fs-sm);
  margin-bottom: 10px;
}

.pd-section-head--left {
  text-align: left;
  max-width: none;
  margin: 0 0 var(--sp-6);
}

/* ---------- 完整参数：双列带线网格 ---------- */
.pd-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pd-spec-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: #fff;
}

.pd-spec-item__label {
  padding: 13px 18px;
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: var(--fw-semi);
  font-size: var(--fs-sm);
  border-right: 1px solid var(--line);
  word-break: break-word;
}

.pd-spec-item__value {
  padding: 13px 18px;
  color: var(--ink);
  font-size: var(--fs-base);
  word-break: break-word;
}

.pd-spec-grid .pd-specs-empty {
  grid-column: 1 / -1;
  background: #fff;
  padding: var(--sp-8);
  margin: 0;
  text-align: center;
  color: var(--muted);
}

.pd-note {
  margin: var(--sp-4) 0 0;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.pd-note a {
  color: var(--brand);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pd-note a:hover {
  color: var(--brand-dark);
}

/* ---------- 正文（Tab 区） ---------- */
.pd-content {
  font-size: var(--fs-md);
  color: var(--ink-2);
  line-height: var(--lh-loose);
}

.pd-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.pd-content p {
  margin: 0 0 var(--sp-4);
}

.pd-content h2,
.pd-content h3 {
  color: var(--ink);
  line-height: var(--lh-snug);
  margin: var(--sp-8) 0 var(--sp-4);
}

.pd-tabs {
  margin-top: var(--sp-12);
}

.pd-tabs-nav {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--line);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

.pd-tabs-nav button {
  background: none;
  border: 0;
  font: inherit;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--muted);
  padding: 14px 22px;
  cursor: default;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.pd-tabs-nav button.is-active {
  color: var(--ink);
  border-color: var(--brand);
}

.pd-tabs-pane {
  display: none;
}

.pd-tabs-pane.is-active {
  display: block;
}

.pd-tabs-pane .pd-content {
  max-width: 1024px;
  margin: 0 auto;
}

/* ---------- 相关产品 ---------- */
.pd-related {
  margin-top: var(--sp-20);
}

.pd-related .pd-grid {
  margin-top: 0;
}

/* ---------- 底部悬浮询盘条 ---------- */
.pd-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 880;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(17, 24, 39, 0.12);
  transform: translateY(120%);
  transition: transform var(--dur) var(--ease);
}

.pd-sticky.is-visible {
  transform: translateY(0);
}

.pd-sticky__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
}

.pd-sticky__img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-soft);
  flex-shrink: 0;
}

.pd-sticky__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-right: auto;
}

.pd-sticky__title {
  font-weight: var(--fw-semi);
  color: var(--ink);
  font-size: var(--fs-md);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-sticky__btn {
  flex-shrink: 0;
}

body.pd-sticky-on {
  padding-bottom: 88px;
}

/* ============================================================
   6. 响应式
   ============================================================ */
@media (max-width: 1200px) {
  .pd-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-detail {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

@media (max-width: 959px) {
  /* 列表视图：窄屏收窄媒体列 */
  .pd-grid--list .pd-card {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .pd-page {
    padding: 24px 0 64px;
  }

  .pd-wrap {
    padding: 0 16px;
  }

  .pd-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  /* 侧栏树形直接沿用,仅收紧行高与缩进 */
  .pd-side {
    position: static;
    box-shadow: var(--shadow-sm);
  }

  .pd-cat-list {
    padding: 6px 0;
  }

  .pd-cat-link,
  .pd-cat-item.on > .pd-cat-link,
  .pd-cat-all.on > .pd-cat-link {
    min-height: 44px;
    padding: 10px 16px;
    font-size: var(--fs-base);
  }

  .pd-side .pd-cat-tree {
    margin-left: 10px;
    padding-left: 10px;
  }

  .pd-cat-tree a {
    min-height: 36px;
  }

  .pd-cat-tree .pd-cat-tree a {
    min-height: 32px;
  }

  .pd-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }

  .pd-hero-title {
    font-size: var(--fs-2xl);
  }

  .pd-info-title {
    font-size: var(--fs-2xl);
  }

  .pd-section-head h2 {
    font-size: var(--fs-2xl);
  }

  .pd-btn--lg {
    padding: 14px 22px;
    font-size: var(--fs-md);
  }
}

@media (max-width: 640px) {
  .pd-grid {
    grid-template-columns: 1fr;
  }

  /* 列表视图：手机端退回上图下文（link 恢复正常盒子） */
  .pd-grid--list .pd-card {
    display: flex;
    flex-direction: column;
  }

  .pd-grid--list .pd-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .pd-grid--list .pd-card-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .pd-cta {
    flex-direction: column;
  }

  .pd-cta .pd-btn {
    width: 100%;
    min-width: 0; /* 中和桌面 .pd-btn--lg 的 480px 下限，否则窄屏横向溢出 */
  }

  /* 参数网格降为单列：标签在上、值在下 */
  .pd-spec-grid {
    grid-template-columns: 1fr;
  }

  .pd-spec-item {
    grid-template-columns: 1fr;
  }

  .pd-spec-item__label {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pd-assurance {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  .pd-tabs-nav button {
    font-size: var(--fs-md);
    padding: 12px 14px;
  }

  .pd-sticky__img {
    width: 40px;
    height: 40px;
  }

  .pd-sticky__title {
    font-size: var(--fs-sm);
  }

  .pd-sticky__btn {
    padding: 10px 20px;
    font-size: var(--fs-sm);
  }

  body.pd-sticky-on {
    padding-bottom: 68px;
  }
}
