:root {
  --pd-ink: #17222c;
  --pd-blue: var(--main-color);
  --pd-orange: #ef6b2e;
  --pd-line: #dce2e7;
  --pd-soft: #f3f6f8;
  --pd-white: #fff;
}

html {
  scroll-behavior: smooth;
}

.pd-page {
  color: var(--pd-ink);
  background: var(--pd-white);
  font-family: "Microsoft YaHei","PingFang SC",Arial,sans-serif;
}

.product-detail-site .pd-page > .current {
  background: #edf0f2;
}

.product-detail-site .pd-page > .current {
  position: relative;
}

.pd-page * {
  box-sizing: border-box;
}

.pd-page .container {
  width: min(1240px,calc(100% - 48px));
  margin: 0 auto;
}

.pd-breadcrumb {
  height: 58px;
  border-bottom: 1px solid var(--pd-line);
  background: #fff;
}

.pd-breadcrumb .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #73808b;
  font-size: 14px;
}

.pd-breadcrumb img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.pd-breadcrumb a {
  color: #73808b;
}

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

.pd-hero {
  padding: 68px 0 76px;
  background: #e9eef2;
}

.pd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr);
  gap: 76px;
  align-items: center;
}

.pd-gallery {
  min-width: 0;
}

.pd-stage {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* 边框样式沿用产品列表卡片（.product-item .box），保证站内卡片一致 */
  border: 1px solid rgba(126,136,145,.42);
  border-radius: 6px;
  background: linear-gradient(145deg,#ffffff 0%,#eef4fa 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 18px rgba(28,48,68,.05);
}

.pd-stage>img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transition: opacity .2s ease;
}

.pd-product-switcher {
  position: relative;
  margin-top: 14px;
  padding: 0 44px;
}

.pd-thumbs {
  display: flex;
  gap: 10px;
  width: 100%;
  overflow-x: hidden!important;
  overflow-y: hidden!important;
  scrollbar-width: none!important;
  -ms-overflow-style: none;
}

.pd-thumbs::-webkit-scrollbar {
  width: 0!important;
  height: 0!important;
  display: none!important;
}

.pd-thumb {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  padding: 5px;
  border: 1px solid transparent;
  /* 去掉白底方块：常态只显示产品图本身 */
  background: transparent;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-thumb.is-active,.pd-thumb:hover {
  border-color: var(--pd-blue);
  background: #fff;
}

.pd-product-switcher .pd-thumb-arrow {
  position: absolute!important;
  top: 50%!important;
  z-index: 3;
  display: none;
  width: 34px!important;
  height: 44px!important;
  margin: 0!important;
  padding: 0!important;
  border: 1px solid var(--pd-line)!important;
  background: #fff!important;
  color: var(--pd-ink)!important;
  font: 30px/1 Arial,sans-serif!important;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: none;
}

.pd-product-switcher.has-overflow .pd-thumb-arrow {
  display: flex!important;
  align-items: center;
  justify-content: center;
}

.pd-product-switcher .pd-thumb-prev {
  right: auto!important;
  left: 0!important;
}

.pd-product-switcher .pd-thumb-next {
  right: 0!important;
  left: auto!important;
}

.pd-product-switcher .pd-thumb-arrow:hover:not(:disabled) {
  border-color: var(--pd-blue)!important;
  color: var(--pd-blue)!important;
}

.pd-product-switcher .pd-thumb-arrow:disabled {
  opacity: .28;
  cursor: default;
}

.pd-summary {
  padding-left: 2px;
}

.pd-category {
  margin: 0 0 16px;
  color: var(--pd-blue);
  /* 2026-11-04 客户要求：分类小标字号放大 */
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
}

.pd-summary h1 {
  margin: 0;
  color: #12202c;
  /* 2026-11-17 客户要求：产品名调小一点（原 clamp(40,3.2vw,54) → clamp(34,2.7vw,44)） */
  font-size: clamp(34px,2.7vw,44px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.pd-description {
  min-height: 28px;
  margin: 24px 0 28px;
  color: #5c6872;
  font-size: 17px;
  line-height: 1.85;
}

.pd-facts {
  margin: 0;
  border-top: 1px solid var(--pd-line);
  /* 2026-11-04 客户要求：「产品分类 / 咨询热线」字号放大到与上方产品介绍一致 */
  font-size: 17px;
  line-height: 1.7;
}

.pd-facts>div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--pd-line);
}

.pd-facts dt {
  color: #7b8790;
}

.pd-facts dd {
  margin: 0;
  font-weight: 600;
}

.pd-facts a {
  color: var(--pd-blue);
}

.pd-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.pd-button {
  min-width: 158px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 24px;
  font-weight: 700;
  transition: .2s ease;
  font-size: 14px;
}

.pd-button-primary {
  color: #fff!important;
  /* 2026-11-04 客户要求：改为与参数表头一致的深蓝（--main-color = rgb(20,76,161)） */
  background: #0f3d84;
}

.pd-button-primary:hover {
  background: var(--main-color);
  transform: translateY(-2px);
}

.pd-button-secondary {
  color: var(--pd-ink)!important;
  border: 1px solid #aeb8c0;
  background: #fff;
}

.pd-button-secondary:hover {
  border-color: var(--pd-blue);
  color: var(--pd-blue)!important;
}

.pd-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  border-top: 1px solid var(--pd-line);
  border-bottom: 1px solid var(--pd-line);
  background: rgba(255,255,255,.96);
}

.pd-tabs .container {
  display: flex;
}

.pd-tabs a {
  position: relative;
  min-width: 150px;
  padding: 21px 26px;
  text-align: center;
  color: #56636d;
  /* 2026-11-04 客户要求：分类导航字号放大（14 → 17） */
  font-size: 17px;
  font-weight: 700;
}

.pd-tabs a:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
}

.pd-tabs a:hover,.pd-tabs a.is-active {
  color: var(--pd-blue);
}

.pd-tabs a.is-active:after {
  background: var(--pd-blue);
}

.pd-section {
  padding: 86px 0;
  scroll-margin-top: 68px;
}

.pd-section-muted {
  background: var(--pd-soft);
}

.pd-section-grid {
  display: grid;
  grid-template-columns: 240px minmax(0,1fr);
  gap: 70px;
}

.pd-section header span,.pd-related-head span {
  display: block;
  margin-bottom: 10px;
  color: var(--main-color);
  font: 700 12px/1 Arial,sans-serif;
  letter-spacing: 0;
}

.pd-section h2,.pd-related h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.pd-richtext {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  color: #4c5963;
  font-size: 16px;
  line-height: 1.95;
}

.pd-richtext:empty:after {
  content: "相关资料正在完善中";
  color: #8a959e;
}

.pd-richtext img {
  display: block;
  width: auto;
  max-width: 100%!important;
  height: auto!important;
}

.pd-richtext table {
  width: 100%!important;
  max-width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.pd-richtext td,.pd-richtext th {
  padding: 14px 18px!important;
  border: 1px solid var(--pd-line)!important;
  text-align: left;
}

.pd-richtext tr:first-child {
  color: #fff;
  background: #0f3d84;
}

.pd-related {
  padding: 88px 0 100px;
  scroll-margin-top: 68px;
  background: #e9eef2;
}

.pd-related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 35px;
}

.pd-related-head>a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* 2026-11-14 客户要求：返回类入口统一 静止深藏蓝 #0f3d84 / hover 提亮 #1a5cc4 */
  color: #0f3d84;
  /* 2026-11-04 客户要求：这里由「查看全部」改为「返回列表」，并放大字号 */
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .25s ease;
}

.pd-related-head>a span {
  transition: transform .25s ease;
}

/* 2026-11-14 客户要求：加强 hover 对比，悬停提亮到 #1a5cc4（静止仍 #0f3d84） */
.pd-related-head>a:hover {
  color: #1a5cc4;
}

.pd-related-head>a:hover span {
  transform: translateX(5px);
}

/* 2026-11-14 客户要求：「推荐产品」四宫格参考新闻详情页「更多资讯」卡片——
   白底圆角卡 + 右上 01/02 序号水印 + hover 抬起/描边/光泽扫过/标题渐变流动/查看详情下划线。 */
.pd-product-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  counter-reset: pd-card;
}

.pd-product-card {
  counter-increment: pd-card;
  position: relative;
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(100,162,255,.16);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease, border-color .4s ease;
}

/* 右上角序号水印（01/02/03/04） */
.pd-product-card::after {
  content: counter(pd-card, decimal-leading-zero);
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 4;
  color: rgba(100,162,255,.16);
  font-family: 'Arial','Helvetica',sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  pointer-events: none;
  transition: color .4s ease, transform .4s ease;
}

/* 斜向光泽扫过 */
.pd-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  z-index: 3;
  width: 72%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(100,162,255,.18) 38%, rgba(255,255,255,.55) 50%, rgba(100,162,255,.18) 62%, transparent 100%);
  opacity: 0;
  transform: skewX(-18deg);
  pointer-events: none;
}

.pd-product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(100,162,255,.45);
  box-shadow: 0 14px 32px rgba(0,0,0,.18), 0 0 0 1px rgba(100,162,255,.35), 0 8px 26px rgba(74,144,255,.28), inset 0 -3px 0 #64a2ff;
}

.pd-product-card:hover::after {
  color: rgba(74,144,255,.34);
  transform: scale(1.1);
}

.pd-product-card:hover::before {
  animation: pdCardHaloSweep .9s ease-out;
}

@keyframes pdCardHaloSweep {
  0% { left: -120%; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { left: 220%; opacity: 0; }
}

.pd-product-card>a {
  display: block;
  height: 100%;
}

.pd-product-image {
  height: 245px;
  padding: 20px;
  background: #f7f8f9;
  overflow: hidden;
}

.pd-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

.pd-product-info {
  padding: 22px;
}

.pd-product-info p {
  margin: 0 0 8px;
  color: #6b7883;
  font-size: 13px;
  letter-spacing: .5px;
}

.pd-product-info h3 {
  min-height: 48px;
  margin: 0 0 18px;
  color: #12202c;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  transition: color .3s ease;
}

/* 「查看详情 →」与「MORE >」同一套：字距拉开 + hover 变色位移 + 渐变色下划线展开 */
.pd-product-info span {
  position: relative;
  display: inline-block;
  color: rgb(20,76,161);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color .3s ease, transform .3s ease;
}

.pd-product-info span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #f89300, #4a90ff);
  transition: width .35s ease;
}

.pd-product-card:hover .pd-product-image img {
  transform: scale(1.12);
}

.pd-product-card:hover .pd-product-info h3 {
  color: #1a3a6e;
  background: linear-gradient(90deg, #1a3a6e 0%, #4a90ff 55%, #1a3a6e 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pdCardTitleFlow 2.5s linear infinite;
}

@keyframes pdCardTitleFlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.pd-product-card:hover .pd-product-info span {
  color: rgb(248,147,0);
  transform: translateX(4px);
}

.pd-product-card:hover .pd-product-info span::after {
  width: 100%;
}

@media (max-width:900px) {
  .pd-page .container {
    width: min(100% - 32px,720px);
  }

  .pd-hero {
    padding: 38px 0 48px;
  }

  .pd-hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .pd-stage {
    height: min(68vw,480px);
  }

  .pd-summary h1 {
    font-size: 34px;
  }

  .pd-tabs {
    overflow-x: auto;
  }

  .pd-tabs .container {
    width: max-content;
  }

  .pd-tabs a {
    min-width: 120px;
    padding: 18px;
  }

  .pd-section {
    padding: 58px 0;
  }

  .pd-section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pd-product-grid {
    grid-template-columns: repeat(2,1fr);
  }

}

@media (max-width:560px) {
  .pd-page .container {
    width: calc(100% - 24px);
  }

  .pd-breadcrumb {
    height: 50px;
  }

  .pd-stage {
    height: 88vw;
  }

  .pd-hero-grid {
    gap: 30px;
  }

  .pd-summary h1 {
    font-size: 28px;
  }

  .pd-description {
    font-size: 15px;
  }

  .pd-facts>div {
    grid-template-columns: 78px 1fr;
    gap: 12px;
  }

  .pd-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pd-button {
    min-width: 0;
    padding: 0 12px;
    gap: 8px;
  }

  .pd-section h2,.pd-related h2 {
    font-size: 25px;
  }

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

  /* 2026-11-27 手机端适配：参数表格 6 列在窄屏被压成竖排（每列仅约 60px），
     改为按内容自然宽度 + 横向滚动，单元格不换行，保证参数横向可读、不再竖排挤成一团 */
  .pd-richtext table {
    width: max-content!important;
    min-width: 100%;
    table-layout: auto;
  }
  .pd-richtext th,.pd-richtext td {
    padding: 10px 12px!important;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.6;
  }

  .pd-product-image {
    height: 72vw;
  }

  .pd-product-card::after {
    top: 8px;
    right: 12px;
    font-size: 30px;
  }

  .pd-related {
    padding: 58px 0;
  }

  .pd-related-head {
    align-items: flex-end;
  }

  .pd-related-head>a {
    font-size: 15px;
  }

}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .pd-product-image img,.pd-button,.pd-product-card,.pd-product-info span {
    transition: none;
  }

  .pd-product-card:hover,
  .pd-product-card:hover .pd-product-info span {
    transform: none;
  }

  .pd-product-card:hover::before {
    animation: none;
  }

  .pd-product-card:hover .pd-product-info h3 {
    animation: none;
  }
}
