/* 产品详情 - product_details.html (设计基准 1920px) */

:root {
  --pd-primary: #14126f;
  --pd-accent: #1bb8ce;
  --pd-text: #333333;
  --pd-text-muted: #666666;
  --pd-text-light: #999999;
  --pd-bg-muted: #f5f5f5;
  --pd-font-hero: clamp(32px, 3.125vw, 60px);
  --pd-font-section: clamp(24px, 2.083vw, 40px);
  --pd-font-block: clamp(20px, 1.458vw, 28px);
}

.site-main--pd {
  min-height: auto;
}

/* ========== Hero ========== */

.pd-hero {
  position: relative;
  min-height: clamp(320px, 33.854vw, 650px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a2a3a;
}

.pd-hero__bg {
  position: absolute;
  inset: 0;
}

.pd-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 26, 74, 0.55) 0%,
    rgba(10, 26, 74, 0.2) 55%,
    rgba(10, 26, 74, 0.05) 100%
  );
}

.pd-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 5.208vw, 100px) 0;
}

.pd-hero__title {
  margin: 0;
  font-size: var(--pd-font-hero);
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

.pd-hero__desc {
  margin: clamp(16px, 1.458vw, 28px) 0 0;
  max-width: 28em;
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.pd-hero__scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 3.125vw, 60px);
  height: clamp(48px, 3.125vw, 60px);
  margin-top: clamp(28px, 2.5vw, 48px);
  color: var(--pd-primary);
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.pd-hero__scroll:hover {
  transform: translateY(3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.pd-hero__scroll-icon {
  display: block;
  width: clamp(14px, 0.885vw, 17px);
  height: clamp(14px, 0.885vw, 17px);
}

/* ========== Breadcrumb ========== */

.pd-breadcrumb {
  margin: 0 0 clamp(32px, 2.917vw, 56px);
  font-size: clamp(13px, 0.8333vw, 16px);
  line-height: 1.6;
  color: var(--pd-text-light);
}

.pd-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.pd-breadcrumb__sep {
  margin: 0 0.45em;
}

/* ========== Product showcase ========== */

.pd-showcase {
  padding: clamp(32px, 2.917vw, 56px) 0 clamp(56px, 5.208vw, 100px);
  background: #ffffff;
}

.pd-showcase__layout {
  --pd-showcase-thumb: clamp(100px, 6.25vw, 120px);
  --pd-showcase-gap: clamp(20px, 1.458vw, 28px);
  --pd-showcase-text-gap: clamp(48px, 4.688vw, 90px);
  display: grid;
  grid-template-columns: var(--pd-showcase-thumb) minmax(0, 1.2fr) minmax(
      300px,
      0.78fr
    );
  column-gap: var(--pd-showcase-gap);
  row-gap: clamp(24px, 2.083vw, 40px);
  align-items: stretch;
}

.pd-showcase__thumbs {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.521vw, 10px);
  min-height: 100%;
}

.pd-showcase__thumb {
  display: block;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--pd-bg-muted);
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pd-showcase__thumb.is-active {
  border-color: var(--pd-accent);
  box-shadow: 0 0 0 1px var(--pd-accent);
}

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

.pd-showcase__main {
  overflow: hidden;
  /*background: var(--pd-bg-muted);*/
}

.pd-showcase__main img {
  display: block;
  width: 65% !important;
  height: auto;
  vertical-align: top;
  object-fit: cover;
}

.pd-showcase__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  min-height: 100%;
  padding-left: calc(
    var(--pd-showcase-text-gap) - var(--pd-showcase-gap)
  );
}

.pd-showcase__title {
  margin: 0 0 clamp(16px, 1.25vw, 24px);
  font-size: var(--pd-font-section);
  font-weight: 600;
  line-height: 1.3;
  color: var(--pd-text);
}

.pd-showcase__desc {
  margin: 0;
  max-width: 36em;
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: 1.9;
  color: var(--pd-text-muted);
}

/* ========== Sections ========== */

.pd-section {
  padding: clamp(56px, 5.208vw, 100px) 0;
  background: #ffffff;
}

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

.pd-section__title {
  margin: 0 0 clamp(32px, 2.917vw, 56px);
  font-size: var(--pd-font-section);
  font-weight: 600;
  line-height: 1.3;
  color: var(--pd-text);
}

.pd-section__title--center {
  text-align: left;
}

/* ========== Split blocks ========== */

.pd-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 3.125vw, 60px);
  align-items: center;
}

.pd-split--reverse .pd-split__body {
  order: 1;
}

.pd-split--reverse .pd-split__media {
  order: 2;
}

/* 产品特点：左图右文 */
.pd-split--features {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 3.646vw, 70px);
}

.pd-split__media {
  overflow: hidden;
  background: #eeeeee;
}

.pd-split__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.pd-split__title {
  margin: 0 0 clamp(20px, 1.667vw, 32px);
  font-size: var(--pd-font-block);
  font-weight: 600;
  line-height: 1.35;
  color: var(--pd-text);
}

.pd-split__body > p {
  margin: 0;
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: 1.85;
  color: var(--pd-text-muted);
}

.pd-split__body > p + p {
  margin-top: clamp(14px, 1.042vw, 20px);
}

.pd-split--features .pd-split__title {
  margin-bottom: clamp(28px, 2.5vw, 48px);
}

.pd-features__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-features__list li {
  position: relative;
  padding-left: 1.15em;
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: 1.85;
  color: var(--pd-text-muted);
}

.pd-features__list li + li {
  margin-top: clamp(8px, 0.625vw, 12px);
}

.pd-features__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999999;
  transform: translateY(-50%);
}

/* ========== Parameters table ========== */

.pd-params__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pd-params__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: clamp(13px, 0.8333vw, 16px);
  line-height: 1.5;
}

.pd-params__table thead th {
  background: var(--pd-primary);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.pd-params__table th,
.pd-params__table td {
  padding: clamp(14px, 1.042vw, 20px) clamp(12px, 0.833vw, 16px);
  border: 1px solid #eeeeee;
}

.pd-params__table thead th:first-child {
  text-align: left;
  padding-left: clamp(20px, 1.667vw, 32px);
}

.pd-params__table tbody th {
  font-weight: 500;
  text-align: left;
  padding-left: clamp(20px, 1.667vw, 32px);
  color: var(--pd-text);
  background: #ffffff;
}

.pd-params__table tbody td {
  text-align: center;
  color: var(--pd-text);
  background: #ffffff;
}

/* ========== Related applications ========== */

.pd-apps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.25vw, 24px);
}

.pd-apps__card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  color: #ffffff;
  text-decoration: none;
  background: #333333;
}

.pd-apps__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pd-apps__card:hover .pd-apps__bg {
  transform: scale(1.04);
}

.pd-apps__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 0.833vw, 16px);
  padding: clamp(48px, 4.167vw, 80px) clamp(16px, 1.25vw, 24px)
    clamp(16px, 1.25vw, 24px);
  background: linear-gradient(
    180deg,
    rgba(20, 18, 111, 0) 0%,
    rgba(20, 18, 111, 0.55) 45%,
    rgba(14, 11, 58, 0.92) 100%
  );
}

.pd-apps__text {
  display: block;
  font-size: clamp(15px, 0.9375vw, 18px);
  font-weight: 500;
  line-height: 1.45;
  color: #ffffff;
}

.pd-apps__en {
  margin-right: 0.35em;
}

.pd-apps__arrow {
  display: block;
  width: clamp(28px, 1.771vw, 34px);
  height: auto;
}

/* ========== Lab ========== */

.pd-lab__btn {
  margin-top: clamp(24px, 2.083vw, 40px);
  border: none;
  cursor: pointer;
}

/* ========== Brochure download ========== */

.pd-download__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.25vw, 24px);
}

.pd-download__item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 0.9375vw, 18px);
  min-height: clamp(52px, 3.333vw, 64px);
  padding: clamp(12px, 0.9375vw, 18px) clamp(16px, 1.25vw, 24px);
  color: #ffffff;
  text-decoration: none;
  background: var(--pd-primary);
  border-radius: clamp(6px, 0.417vw, 8px);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.pd-download__item:hover {
  background: #1e1a8a;
  box-shadow: 0 6px 20px rgba(20, 18, 111, 0.25);
}

.pd-download__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 1.667vw, 32px);
  height: clamp(28px, 1.667vw, 32px);
  font-size: clamp(10px, 0.625vw, 12px);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background: rgb(0, 104, 121);
  border-radius: 4px;
}

.pd-download__label {
  flex: 1;
  min-width: 0;
  font-size: clamp(13px, 0.8333vw, 16px);
  line-height: 1.4;
}

.pd-download__arrow {
  flex-shrink: 0;
  width: clamp(20px, 1.25vw, 24px);
  height: auto;
  opacity: 0.95;
  filter: brightness(0) invert(1);
}

/* ========== Responsive ========== */

@media (max-width: 1200px) {
  .pd-showcase__layout {
    --pd-showcase-thumb: clamp(88px, 8vw, 104px);
    grid-template-columns: var(--pd-showcase-thumb) minmax(0, 1fr);
  }

  .pd-showcase__info {
    grid-column: 1 / -1;
    align-self: auto;
    min-height: 0;
    padding-left: 0;
    padding-top: clamp(8px, 0.833vw, 16px);
  }

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

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

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

  .pd-showcase__thumbs {
    flex-direction: row;
    order: 2;
    min-height: 0;
  }

  .pd-showcase__thumb {
    flex: 1 1 0;
    max-width: clamp(72px, 20vw, 96px);
    min-height: clamp(72px, 20vw, 96px);
  }

  .pd-showcase__info {
    padding-top: 0;
  }

  .pd-split,
  .pd-split--reverse {
    grid-template-columns: 1fr;
  }

  .pd-split--reverse .pd-split__body,
  .pd-split--reverse .pd-split__media {
    order: unset;
  }

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

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