/* ===== 规格对照中心 /solutions/ 页面专属样式 ===== */
.page-products {
  --pd-card: 288px;
  --pd-hair: rgba(51, 69, 78, 0.14);
}

.page-products [id] {
  scroll-margin-top: calc(var(--header-h) + 28px);
}

/* —— 首屏 —— */
.page-products .pd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(34px, 6vw, 72px)) 0 clamp(46px, 7vw, 88px);
  background: linear-gradient(168deg, var(--c-ink) 0%, var(--c-night) 58%, var(--c-ink) 100%);
  color: var(--c-paper);
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 92% at 84% 6%, rgba(200, 145, 47, 0.26), transparent 62%);
  pointer-events: none;
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  top: -34%;
  right: -12%;
  width: 58%;
  height: 168%;
  z-index: -1;
  background: linear-gradient(200deg, rgba(200, 145, 47, 0.18), rgba(200, 145, 47, 0) 68%);
  transform: rotate(15deg);
  pointer-events: none;
}

.page-products .pd-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(22px, 4vw, 40px);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-steel-lt);
}

.page-products .pd-hero .breadcrumb a {
  color: var(--c-sand-lt);
  text-decoration: none;
}

.page-products .pd-hero .breadcrumb a:hover {
  color: var(--c-sand);
}

.page-products .pd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: end;
}

.page-products .pd-hero .eyebrow {
  color: var(--c-sand);
}

.page-products .pd-hero h1 {
  margin: 14px 0 0;
  max-width: 20ch;
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--c-paper);
}

.page-products .pd-hero .lede {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.85;
  color: rgba(245, 241, 232, 0.78);
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-products .pd-hero__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-products .pd-spec {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  background: rgba(200, 145, 47, 0.09);
}

.page-products .pd-spec__num {
  font-family: var(--font-num);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-sand-lt);
}

.page-products .pd-spec__label {
  font-size: 12.5px;
  letter-spacing: 0.07em;
  color: var(--c-steel-lt);
}

@media (min-width: 980px) {
  .page-products .pd-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }

  .page-products .pd-hero__specs {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

/* —— 通用图片容器 —— */
.page-products .media {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.page-products .media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .media--16x9 {
  aspect-ratio: 16 / 9;
}

.page-products .media--21x9 {
  aspect-ratio: 21 / 9;
}

.page-products .media--1x1 {
  aspect-ratio: 1 / 1;
}

.page-products .media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 34px 22px 16px;
  background: linear-gradient(180deg, rgba(22, 17, 13, 0) 0%, rgba(22, 17, 13, 0.84) 100%);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: rgba(245, 241, 232, 0.88);
}

/* —— 系列总览 —— */
.page-products .pd-series {
  background: var(--c-paper);
}

.page-products .pd-series__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(26px, 4vw, 44px);
}

.page-products .pd-plate {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-lg);
  background: linear-gradient(178deg, #ffffff 0%, var(--c-paper) 100%);
  box-shadow: var(--shadow-plate);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.page-products .pd-plate:hover {
  border-color: var(--line-gold);
  box-shadow: 0 28px 54px -34px rgba(22, 17, 13, 0.72);
}

.page-products .pd-plate__index {
  font-family: var(--font-num);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-sand);
}

.page-products .pd-plate__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-ink);
}

.page-products .pd-plate__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--c-steel);
}

.page-products .pd-plate__facts {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 16px 0 4px;
  border-top: 1px dashed var(--line-ink);
}

.page-products .pd-plate__facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.page-products .pd-plate__facts dt {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--c-steel-lt);
}

.page-products .pd-plate__facts dd {
  margin: 0;
  font-family: var(--font-num);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--c-amber);
}

.page-products .pd-plate__link {
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-gold);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-amber);
  text-decoration: none;
}

.page-products .pd-plate__link:hover {
  color: var(--c-cinnabar);
  border-bottom-color: var(--c-cinnabar);
}

.page-products .pd-series__shot {
  margin-top: clamp(30px, 5vw, 56px);
  aspect-ratio: 16 / 9;
}

@media (min-width: 880px) {
  .page-products .pd-series__grid {
    grid-template-columns: 1.12fr 1fr 0.9fr;
    align-items: start;
  }

  .page-products .pd-plate:nth-child(2) {
    margin-top: 30px;
  }

  .page-products .pd-plate:nth-child(3) {
    margin-top: 14px;
  }
}

/* —— 参数矩阵 —— */
.page-products .pd-matrix {
  position: relative;
  background: var(--c-mist);
  overflow: clip;
}

.page-products .pd-matrix__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  pointer-events: none;
  overflow: hidden;
}

.page-products .pd-matrix__texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pd-matrix > .container {
  position: relative;
  z-index: 1;
}

.page-products .section-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: end;
}

.page-products .pd-matrix__hint {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--c-sand);
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-steel);
}

@media (min-width: 900px) {
  .page-products .section-head--row {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 40px;
  }
}

.page-products .pd-matrix__wrap {
  margin-top: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--line-ink);
  border-radius: var(--r-lg);
  background: #fffdf8;
  overflow-x: auto;
  overflow-y: clip;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-plate);
}

.page-products .pd-matrix__wrap::-webkit-scrollbar {
  height: 6px;
}

.page-products .pd-matrix__wrap::-webkit-scrollbar-thumb {
  background: rgba(200, 145, 47, 0.5);
  border-radius: var(--r-pill);
}

.page-products .pd-matrix__table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.page-products .pd-matrix__caption {
  caption-side: top;
  padding: 18px 20px 14px;
  text-align: left;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--c-steel-lt);
  border-bottom: 1px solid var(--line-ink);
}

.page-products .pd-matrix__table th,
.page-products .pd-matrix__table td {
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-ink);
}

.page-products .pd-matrix__table thead th {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  background: var(--c-night);
  color: var(--c-mist);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--c-sand);
}

.page-products .pd-matrix__table tbody tr:nth-child(even) {
  background: rgba(226, 217, 200, 0.42);
}

.page-products .pd-matrix__table tbody tr:hover {
  background: rgba(235, 199, 126, 0.36);
}

.page-products .pd-matrix__table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .pd-matrix__table td:first-child {
  font-family: var(--font-num);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-amber);
}

.page-products .pd-matrix__table td:nth-child(3) {
  font-family: var(--font-num);
  color: var(--c-ink);
}

.page-products .pd-matrix__table td:nth-child(5) {
  font-family: var(--font-num);
  letter-spacing: 0.07em;
  color: var(--c-steel);
}

.page-products .pd-matrix__table td:last-child {
  font-family: var(--font-num);
  color: var(--c-steel-lt);
}

.page-products .pd-matrix__foot {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--c-steel);
}

/* —— 七类安装环境 —— */
.page-products .pd-env-section {
  background: var(--c-night);
  color: var(--c-paper);
}

.page-products .pd-env-section .eyebrow {
  color: var(--c-sand);
}

.page-products .pd-env-section .section-title {
  color: var(--c-paper);
}

.page-products .pd-env-section .lede {
  color: rgba(245, 241, 232, 0.74);
}

.page-products .pd-env__banner {
  margin: clamp(24px, 4vw, 40px) 0 0;
  aspect-ratio: 21 / 9;
  border: 1px solid var(--line-light);
}

.page-products .pd-env__rail-wrap {
  position: relative;
  margin-top: clamp(26px, 4vw, 44px);
}

.page-products .pd-env__rail {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 4px 2px 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-products .pd-env__rail::-webkit-scrollbar {
  height: 5px;
}

.page-products .pd-env__rail::-webkit-scrollbar-thumb {
  background: rgba(200, 145, 47, 0.45);
  border-radius: var(--r-pill);
}

.page-products .pd-env {
  flex: 0 0 min(76vw, var(--pd-card));
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(245, 241, 232, 0.075) 0%, rgba(245, 241, 232, 0.02) 100%);
  scroll-snap-align: start;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.page-products .pd-env:hover {
  border-color: var(--line-gold);
  transform: translateY(-3px);
}

.page-products .pd-env__code {
  font-family: var(--font-num);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-sand);
}

.page-products .pd-env__name {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--c-paper);
}

.page-products .pd-env__cond {
  margin: 0;
  font-size: 13px;
  line-height: 1.78;
  color: rgba(245, 241, 232, 0.7);
}

.page-products .pd-env__fit {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-light);
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--c-sand-lt);
}

/* —— 选型四步 —— */
.page-products .pd-select {
  background: var(--c-paper);
}

.page-products .pd-select__figure {
  margin: 0 0 clamp(30px, 5vw, 52px);
  height: clamp(170px, 28vw, 320px);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-products .pd-select__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pd-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0 0 clamp(18px, 4vw, 44px);
  list-style: none;
}

.page-products .pd-step {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: var(--shadow-plate);
}

.page-products .pd-step__no {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px 14px 14px 4px;
  background: var(--c-sand);
  color: var(--c-ink);
  font-family: var(--font-num);
  font-size: 1.05rem;
  font-weight: 700;
}

.page-products .pd-step__title {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--c-ink);
}

.page-products .pd-step__text {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.82;
  color: var(--c-steel);
}

.page-products .pd-step__cue {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-ink);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--c-steel-lt);
}

@media (min-width: 720px) {
  .page-products .pd-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1060px) {
  .page-products .pd-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
  }

  .page-products .pd-step:nth-child(even) {
    transform: translateY(30px);
  }

  .page-products .pd-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    right: -16px;
    width: 12px;
    height: 12px;
    border-top: 1.5px solid var(--c-sand);
    border-right: 1.5px solid var(--c-sand);
    transform: rotate(45deg);
  }
}

/* —— 交付方式 —— */
.page-products .pd-delivery {
  background: var(--c-paper);
}

.page-products .pd-deliver {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: clamp(22px, 4vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-deliver__item {
  padding: 22px 20px;
  border: 1px solid var(--line-ink);
  border-left: 3px solid var(--c-sand);
  border-radius: var(--r-md);
  background: #ffffff;
}

.page-products .pd-deliver__tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(200, 145, 47, 0.16);
  color: var(--c-amber);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-products .pd-deliver__tag--cinnabar {
  background: rgba(196, 52, 28, 0.1);
  color: var(--c-cinnabar);
}

.page-products .pd-deliver__text {
  margin: 14px 0 0;
  font-size: 0.92rem;
  line-height: 1.82;
  color: var(--c-steel);
}

.page-products .pd-delivery__note {
  margin-top: clamp(20px, 3vw, 30px);
  padding-left: 16px;
  border-left: 2px solid var(--line-gold);
  font-size: 0.92rem;
  line-height: 1.88;
  color: var(--c-steel);
}

.page-products .pd-delivery__note a {
  color: var(--c-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pd-delivery__note a:hover {
  color: var(--c-cinnabar);
}

@media (min-width: 880px) {
  .page-products .pd-deliver {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* —— 质保与配件 —— */
.page-products .pd-warranty {
  background: var(--c-ink);
  color: var(--c-paper);
}

.page-products .pd-warranty__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-products .pd-warranty__shot {
  max-width: 420px;
  margin: 0;
  border: 1px solid var(--line-gold);
}

.page-products .pd-warranty__body .eyebrow {
  color: var(--c-sand);
}

.page-products .pd-warranty__body .section-title {
  color: var(--c-paper);
}

.page-products .pd-warranty__body .lede {
  color: rgba(245, 241, 232, 0.76);
}

.page-products .pd-warranty__sub {
  margin: clamp(22px, 3vw, 30px) 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-sand-lt);
}

.page-products .pd-warranty__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-width: 460px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-warranty__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.82);
}

.page-products .pd-warranty__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--c-sand);
}

.page-products .pd-warranty__note {
  margin-top: 22px;
  font-size: 0.88rem;
  line-height: 1.88;
  color: rgba(245, 241, 232, 0.66);
}

.page-products .pd-warranty__note a {
  color: var(--c-sand-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 940px) {
  .page-products .pd-warranty__grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }
}

/* —— 资料获取 —— */
.page-products .pd-tool {
  background: var(--c-mist);
}

.page-products .pd-tool__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
}

.page-products .pd-tool__tips {
  counter-reset: tip;
  display: grid;
  gap: 14px;
  margin: clamp(22px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-tool__tips li {
  position: relative;
  padding-left: 36px;
  font-size: 0.94rem;
  line-height: 1.82;
  color: var(--c-steel);
}

.page-products .pd-tool__tips li::before {
  counter-increment: tip;
  content: counter(tip, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 3px;
  font-family: var(--font-num);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-sand);
}

.page-products .pd-tool__card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-lg);
  background: var(--c-ink);
  color: var(--c-paper);
  box-shadow: var(--shadow-float);
}

.page-products .pd-tool__card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-paper);
}

.page-products .pd-tool__card p {
  margin: 0 0 22px;
  font-size: 0.92rem;
  line-height: 1.88;
  color: rgba(245, 241, 232, 0.74);
}

.page-products .pd-tool__card .pill {
  display: inline-block;
}

.page-products .pd-tool__meta {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.55);
}

.page-products .pd-tool__meta a {
  color: var(--c-sand-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 940px) {
  .page-products .pd-tool__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-plate,
  .page-products .pd-env,
  .page-products .pd-step {
    transition: none;
  }

  .page-products .pd-step:nth-child(even) {
    transform: none;
  }
}
