/* ==========================================================
   产品中心列表页（product_category.dwt）专用样式
   容器 1400，侧栏 260，正文 12px；配色沿用站点主色 #244E38
   ========================================================== */
.pcx,
.pcx * {
  box-sizing: border-box;
}
body.pcx {
  font-family: "Montserrat", "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  background: #EFF1EE;
  color: #666;
  min-width: 320px;
}
.pcx-inner {
  width: 1400px;
  margin: 0 auto;
  position: relative;
}
.pcx a {
  text-decoration: none;
}
.pcx .pcx-tail {
  font-style: normal;
  display: inline-block;
}

/* ---------- 页头 ---------- */
.pcx-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 20px;
}
.pcx-title {
  position: relative;
  padding-left: 14px;
  font-size: 24px;
  font-weight: 700;
  color: #22301F;
  letter-spacing: 2px;
  line-height: 1.2;
}
.pcx-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 5px;
  height: 22px;
  background: #244E38;
}
.pcx-subtitle {
  margin-top: 7px;
  padding-left: 14px;
  font-size: 11px;
  letter-spacing: 3px;
  color: #AEB4A8;
}
.pcx-cur {
  font-size: 12px;
  color: #8A9187;
  padding-bottom: 3px;
}
.pcx-cur b {
  color: #244E38;
  font-weight: 700;
}

/* ---------- 主体两栏 ---------- */
.pcx-body {
  display: flex;
  align-items: flex-start;
  padding-bottom: 34px;
}
.pcx-main {
  flex: 1;
  min-width: 0;
}

/* ---------- 区块标题 ---------- */
.pcx-sec {
  margin-bottom: 22px;
}
.pcx-sec-hd {
  display: flex;
  align-items: baseline;
  position: relative;
  padding-left: 12px;
  margin-bottom: 13px;
}
.pcx-sec-hd::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 4px;
  height: 16px;
  background: #244E38;
}
.pcx-sec-hd h2 {
  font-size: 17px;
  font-weight: 700;
  color: #22301F;
}
.pcx-sec-hd em {
  margin-left: 12px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #B0B6AC;
}
.pcx-note {
  margin-left: auto;
  font-size: 11px;
  color: #9AA196;
}

/* ---------- 应用入口 7 卡 ---------- */
.pcx-application { padding: 20px 18px; background: #f4f6f1; }
.pcx-application .pcx-sec-hd { display: block; padding-left: 19px; margin-bottom: 17px; }
.pcx-application .pcx-sec-hd::before { width: 6px; height: 27px; top: 0; background: #c6a035; }
.pcx-application .pcx-sec-hd h2 { font-size: 22px; line-height: 27px; }
.pcx-application .pcx-sec-hd em { display: block; margin: 7px 0 0; font-size: 10px; line-height: 14px; }
.pcx-guide {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 0;
}
.pcx-guide li {
  position: relative;
  flex: 0 0 calc((100% - 60px) / 7);
  background: #fff;
  border: 1px solid #E6E9E3;
  border-radius: 0;
  overflow: hidden;
  transition: border-color .25s linear, box-shadow .25s linear;
}
.pcx-guide li:hover {
  border-color: #244E38;
  box-shadow: 0 3px 8px rgba(36, 78, 56, .10);
}
.pcx-guide a {
  position: relative;
  display: block;
  padding: 10px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: #fff;
}
.pcx-guide a:focus-visible {
  outline: 2px solid #c6a035;
  outline-offset: -2px;
}
.pcx-guide a::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: #000;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transform: translate(100%, 100%);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}
.pcx-guide a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(36, 78, 56, .2);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform: translate(-100%, -100%);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}
.pcx-guide a > * {
  position: relative;
  z-index: 3;
}
.pcx-gno {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: #C2C7BE;
  text-align: left;
  line-height: 14px;
}
.pcx-guide img {
  position: relative;
  z-index: 1;
  display: block;
  width: 64px;
  height: 64px;
  margin: 6px auto 8px;
  object-fit: contain;
  filter: grayscale(1);
}
.pcx-guide strong {
  display: block;
  font-size: 17px;
  font-weight: 400;
  color: #3A4437;
  line-height: 22px;
}
.pcx-guide em {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0;
  color: #B0B6AC;
  line-height: 14px;
}
.pcx-guide li:hover a::before,
.pcx-guide li:hover a::after {
  transform: translate(0, 0);
}
.pcx-guide li:hover strong,
.pcx-guide li:hover em {
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .pcx-guide li,
  .pcx-guide a::before,
  .pcx-guide a::after {
    transition: none;
  }
}

/* ---------- 产品列表 ---------- */
.pcx-list {
  background: #fff;
  border: 1px solid #E6E9E3;
  border-radius: 3px;
  overflow: hidden;
}
.pcx-item {
  position: relative;
  display: grid;
  grid-template-columns: 152px minmax(0, 1.15fr) minmax(0, 1.45fr) minmax(0, .9fr);
  column-gap: 18px;
  padding: 18px 20px 20px;
  border-bottom: 1px solid #EDF0E9;
  align-items: start;
}
.pcx-item:last-child {
  border-bottom: 0;
}
.pcx-item:hover {
  background: #FBFCFA;
}

/* 缩略图 + 温度条 */
.pcx-idx {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: #B7BDB4;
}
.pcx-thumb-img {
  display: block;
  margin-top: 7px;
  border: 1px solid #E6E9E3;
  background: #fff;
  overflow: hidden;
}
.pcx-thumb-img img {
  display: block;
  width: 100%;
  height: auto;
}
.pcx-thumb-none {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 10px;
  font-size: 12px;
  color: #A7ADA2;
  text-align: center;
}
.pcx-temp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  width: 152px;
  max-width: 100%;
  height: 35px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  background: #0e3d30;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}
/* 温度图标：按设计稿 1:1 复刻的彩虹温度计（细管 + 蓝色球泡，无白色圆底） */
.pcx-thm {
  position: relative;
  width: 6px;
  height: 25px;
  flex: none;
  margin-right: 8px;
}
/* 管身：从设计稿逐行取样的高温→低温彩虹渐变 */
.pcx-thm-tube {
  position: absolute;
  left: 2px;
  top: 0;
  width: 2px;
  height: 21px;
  border-radius: 0;
  background: linear-gradient(180deg,
    #F40E0A 0%, #F75507 6%, #FC9E05 13%, #FBE701 20%, #B3FC01 28%,
    #65F002 36%, #28E31B 44%, #11E06B 52%, #01E7D5 60%, #07E1F9 68%,
    #078CD9 78%, #0360E2 86%, #0221BB 94%, #0A0797 100%);
}
/* 球泡：顶部亮紫蓝、主体深蓝 */
.pcx-thm-ball {
  position: absolute;
  left: .5px;
  bottom: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(180deg,
    #BAB1FE 0%, #8E7AF4 18%, #563BE1 32%, #1F01CB 45%,
    #1C00D6 62%, #1C00D1 85%, #1701AB 100%);
}
.pcx-tmin,
.pcx-tmax {
  font-weight: 400;
}
.pcx-temp-values {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.pcx-track {
  color: #91a99f;
  font-size: 16px;
}
.pcx-temp-unit {
  color: #d9a021;
  font-size: 15px;
}
.pcx-temp-one b {
  margin: 0;
  font-weight: 400;
}

/* 三列文字 */
.pcx-col-hd {
  margin-bottom: 8px;
}
.pcx-col-hd strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #22301F;
}
.pcx-col-hd em {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #B7BDB4;
}
.pcx-desc p,
.pcx-app p,
.pcx-feat li {
  font-size: 13px;
  line-height: 1.75;
  color: #6E7569;
  word-break: normal;
  overflow-wrap: break-word;
}
.pcx-feat li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pcx-feat li::before {
  content: '›';
  flex: none;
  color: #0e3d30;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}
/* 更多信息按钮（桌面端吸附推荐应用列右下角） */
.pcx-app {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
}
.pcx-act {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 14px;
}
.pcx-more {
  display: inline-block;
  padding: 8px 11px;
  background: #244E38;
  border-radius: 2px;
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  transition: all .25s linear;
}
.pcx-more:hover {
  background: #1B3C2B;
  color: #fff;
}
.pcx-more .pcx-tail {
  margin-left: 3px;
}

/* ---------- 底部条 ---------- */
.pcx-foot {
  background: #1B3C2B;
  color: #fff;
}
.pcx-foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.pcx-foot-l strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.pcx-foot-l em {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
}
.pcx-foot-l span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
}
.pcx-foot-r {
  display: flex;
  align-items: center;
}
.pcx-back {
  margin-right: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
}
.pcx-back:hover {
  color: #fff;
}
.pcx-pages a {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 22px;
  margin-left: 5px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 2px;
  font-size: 12px;
  color: #fff;
  transition: all .25s linear;
}
.pcx-pages a:hover {
  border-color: #C9A227;
  color: #C9A227;
}
.pcx-pages a.on {
  background: #C9A227;
  border-color: #C9A227;
  color: #fff;
}
.pcx-pinfo {
  margin-left: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1440px) {
  .pcx-inner {
    width: 94%;
  }
}
@media screen and (max-width: 1200px) {
  .pcx-body {
    display: block;
  }
  .pcx-side {
    width: auto;
    margin-right: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 22px;
  }
  .pcx-guide li {
    flex-basis: calc((100% - 30px) / 4);
  }
  .pcx-item {
    grid-template-columns: 152px minmax(0, 1fr) minmax(0, 1fr);
  }
  .pcx-app {
    grid-column: 2 / 4;
  }
  .pcx-act {
    margin-top: 12px;
    padding-top: 0;
  }
  .pcx-note {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .pcx-head {
    padding-top: 18px;
    padding-bottom: 14px;
  }
  .pcx-title {
    font-size: 20px;
  }
  .pcx-side {
    grid-template-columns: 1fr;
  }
  .pcx-guide li {
    flex-basis: calc((100% - 10px) / 2);
  }
  .pcx-sec-hd {
    display: block;
  }
  .pcx-sec-hd em {
    display: block;
    margin-left: 0;
    margin-top: 5px;
  }
  .pcx-item {
    grid-template-columns: 40% minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 16px;
    padding: 16px 14px 18px;
  }
  .pcx-thumb {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .pcx-desc {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  .pcx-feat {
    display: none;
  }
  .pcx-thumb-img {
    display: block;
    width: 100%;
  }
  .pcx-temp {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }
  .pcx-track {
    font-size: 13px;
  }
  .pcx-temp-unit {
    font-size: 12px;
  }
  .pcx-app {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .pcx-act {
    margin-top: 16px;
  }
  .pcx-foot-in {
    display: block;
  }
  .pcx-foot-r {
    margin-top: 12px;
    flex-wrap: wrap;
  }
}
