/* 产品详情：保持 cpxiangq 双栏布局，取消滚动入场前的偏移（原站靠 all.js 滚动触发） */
.product-detail-subnav.location.menu {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  z-index: auto;
}

body.is-product-detail .product-detail-subnav.location.fixt {
  position: relative !important;
  top: auto !important;
}

.product-detail-subnav .cpxqMenuSub {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.product-detail-subnav .cpxqMenuSubRight ul li a img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 3px;
}

.product-detail-page {
  overflow-x: hidden;
}

.product-detail-page .cpsj,
.product-detail-page .dh.sfq ul {
  max-width: 1280px;
  width: 100%;
  box-sizing: border-box;
}

.product-detail-page .dh.sfq ul {
  margin-left: auto;
  margin-right: auto;
}

.product-detail-page .cspz {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 48px;
  box-sizing: border-box;
  height: auto !important;
  overflow: visible;
}

.product-detail-page .cspzBrief {
  left: 0 !important;
  width: 100%;
  max-width: 1280px;
  height: auto !important;
  margin: 0 auto;
}

.product-detail-page .xgal {
  width: 100%;
  overflow: hidden;
}

.product-detail-page .xgalSub .jstdSubHead,
.product-detail-page .xgalBrief {
  bottom: 0 !important;
  left: 0 !important;
}

/* 禁止滚动入场动画（原 all.js 会在下滑时改 left/top 内联样式） */
.product-detail-page .menuNextTp,
.product-detail-page .menuNextTpFoot,
.product-detail-page .jstd,
.product-detail-page .jstdSub,
.product-detail-page .jstdSub .jstdSubHead,
.product-detail-page .jstdSub .jstdSubLeft,
.product-detail-page .jstdSub .jstdSubRight,
.product-detail-page .jstdCspz,
.product-detail-page .jstdCspzLeft,
.product-detail-page .jstdCspzRight,
.product-detail-page .jstdLunbo,
.product-detail-page .cspzBrief,
.product-detail-page .cspzSub .jstdSubHead {
  transition: none !important;
}

.product-detail-page .jstd {
  overflow: visible;
}

/* 产品详情：顶栏始终占位，禁止 fixt 导致滚动时整页宽度重算 */
body.is-product-detail .header_main,
body.is-product-detail .header_main.fixt {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
}

body.is-product-detail {
  padding-top: 0 !important;
}

body.is-product-detail .product-detail-page {
  width: 100%;
  max-width: none;
}

body.is-product-detail .product-detail-page .menuNextTpSub,
body.is-product-detail .product-detail-page .jstdSub,
body.is-product-detail .product-detail-page .jstdCspz {
  width: 100%;
  max-width: 1280px;
}

.product-detail-page .menuNextTp {
  margin-top: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible;
  background-color: #fef0f1;
}

.product-detail-page .menuNextTpSub::after,
.product-detail-page .jstdSub::after,
.product-detail-page .jstdCspz::after {
  content: "";
  display: table;
  clear: both;
}

.product-detail-page .menuNextTpSub {
  max-width: 1280px;
  width: 100%;
  height: auto !important;
  padding: 24px 16px 32px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.product-detail-page .menuNextTpSubLeft {
  float: none !important;
  flex: 1 1 720px;
  max-width: 750px;
  width: auto !important;
  margin-top: 40px !important;
  position: relative;
}

.product-detail-page .pd-hero-cover {
  width: 100%;
  line-height: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.product-detail-page .pd-hero-cover img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.product-detail-page .menuNextTpSubRight {
  float: none !important;
  flex: 0 1 450px;
  max-width: 450px;
  width: auto !important;
  margin-top: 40px !important;
}

.product-detail-page .menuNextTpSubRightThree {
  height: auto !important;
  max-height: none;
  min-height: 0;
  overflow: visible;
}


.product-detail-page .jstdSub .jstdSubHead,
.product-detail-page .cspzSub .jstdSubHead,
.product-detail-page .xgalSub .jstdSubHead {
  top: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.product-detail-page .jstdSub .jstdSubLeft,
.product-detail-page .jstdCspz .jstdCspzLeft,
.product-detail-page .jstdLunbo,
.product-detail-page .cspzBrief {
  left: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.product-detail-page .jstdSub .jstdSubRight,
.product-detail-page .jstdCspz .jstdCspzRight {
  right: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.product-detail-page .menuNextTpFoot,
.product-detail-page .xgalBrief {
  bottom: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.product-detail-page .jstdSub {
  max-width: 1280px;
  width: 100%;
  height: auto !important;
  min-height: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px 40px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.product-detail-page .jstdSub .jstdSubHead {
  flex: 0 0 100%;
  width: 100% !important;
}

.product-detail-page .jstdSub .jstdSubLeft {
  float: none !important;
  flex: 0 1 45%;
  max-width: 520px;
  width: auto !important;
  margin-left: 40px !important;
}

.product-detail-page .jstdSub .jstdSubRight {
  float: none !important;
  flex: 0 1 50%;
  max-width: 580px;
  width: auto !important;
}

.product-detail-page .jstdCspz {
  max-width: 1280px;
  width: 100%;
  height: auto !important;
  min-height: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px 48px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.product-detail-page .jstdCspzLeft {
  float: none !important;
  flex: 0 1 50%;
  max-width: 580px;
  width: auto !important;
  order: 1;
}

.product-detail-page .jstdCspzRight {
  float: none !important;
  flex: 0 1 45%;
  max-width: 520px;
  width: auto !important;
  margin-right: 40px !important;
  order: 2;
}

.product-detail-page .jstdSubLeft,
.product-detail-page .jstdSub .jstdSubRight,
.product-detail-page .jstdCspzLeft,
.product-detail-page .jstdCspzRight {
  height: auto !important;
}

.product-detail-page .jstdSubRightContent,
.product-detail-page .jstdCspzLeft .jstdSubRightContent {
  float: none !important;
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  height: auto;
}

.product-detail-page .jstdCspzLeft .jstdSubRightContent .jstdContentOne,
.product-detail-page .jstdSubRightContent .jstdContentOne {
  line-height: 43px;
}

.product-detail-page .jstdSubLeft img,
.product-detail-page .jstdCspzRight img {
  max-width: 100%;
  height: auto;
}

.product-detail-page .jstdContentTwo {
  position: relative;
  height: auto !important;
  min-height: 0;
  max-height: none;
  overflow: visible;
  margin-top: 24px !important;
  padding-top: 0;
}

/* 红标签 + 三角 + 正文：不用原站 absolute（容器宽度一变就叠字） */
.product-detail-page .jstdContentTwo .style1,
.product-detail-page .jstdContentTwo .style2,
.product-detail-page .jstdContentTwo .style11,
.product-detail-page .jstdContentTwo .style12 {
  position: static !important;
  display: inline-block;
  vertical-align: middle;
  top: auto !important;
  left: auto !important;
  margin: 24px 0 0 !important;
  width: auto;
  min-width: 75px;
  height: auto;
  min-height: 25px;
  padding: 4px 10px;
  box-sizing: border-box;
  line-height: 1.3;
}

.product-detail-page .jstdContentTwo .style1:first-child,
.product-detail-page .jstdContentTwo .style11:first-child {
  margin-top: 0 !important;
}

.product-detail-page .jstdContentTwo .style1 h4,
.product-detail-page .jstdContentTwo .style2 h4,
.product-detail-page .jstdContentTwo .style11 h4,
.product-detail-page .jstdContentTwo .style12 h4 {
  margin: 0;
  white-space: nowrap;
}

.product-detail-page .jstdContentTwo .kailong,
.product-detail-page .jstdContentTwo .kailong1 {
  display: inline-block;
  vertical-align: middle;
  margin: 24px 0 0 4px !important;
  border-left-color: #ca0d16;
}

.product-detail-page .jstdContentTwo .style1 + .kailong,
.product-detail-page .jstdContentTwo .style2 + .kailong1,
.product-detail-page .jstdContentTwo .style11 + .kailong,
.product-detail-page .jstdContentTwo .style12 + .kailong1 {
  margin-top: 24px !important;
}

.product-detail-page .jstdContentTwo .style1:first-child + .kailong,
.product-detail-page .jstdContentTwo .style11:first-child + .kailong {
  margin-top: 0 !important;
}

.product-detail-page .jstdContentTwo .txt1,
.product-detail-page .jstdContentTwo .txt2 {
  display: block;
  clear: both;
  margin: 10px 0 0 !important;
  margin-left: 0 !important;
  padding-left: 20px;
  font-size: 14px;
  line-height: 28px;
  color: #666;
  background: url(../images/jstdPoint.png) no-repeat 0 0.65em;
}

.product-detail-page .menuNextTpSubRightThree {
  height: auto !important;
  max-height: none;
}

/* 新版产品细节图集 */
.product-detail-page .pd-gallery {
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 16px;
  box-sizing: border-box;
}

.product-detail-page .pd-gallery__head {
  text-align: center;
  margin-bottom: 20px;
}

.product-detail-page .pd-gallery__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #ca0d16;
}

.product-detail-page .pd-gallery__sub {
  margin: 6px 0 0;
  font-size: 14px;
  color: #888;
  letter-spacing: 0.08em;
}

.product-detail-page .pd-gallery__main {
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  line-height: 0;
}

.product-detail-page .pd-gallery__main img {
  max-width: 100%;
  max-height: min(520px, 70vh);
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.product-detail-page .pd-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.product-detail-page .pd-gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  width: 88px;
  height: 66px;
  flex: 0 0 auto;
}

.product-detail-page .pd-gallery__thumb.is-active {
  border-color: #ca0d16;
}

.product-detail-page .pd-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  /* 面包屑 + 锚点导航纵向排列，避免重叠 */
  .product-detail-subnav .cpxqMenuSub {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    padding: 8px 12px;
    box-sizing: border-box;
  }

  .product-detail-subnav .cpxqMenuSubLeft,
  .product-detail-subnav .cpxqMenuSubRight {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    line-height: 1.5 !important;
  }

  .product-detail-subnav .cpxqMenuSubRight ul {
    position: static !important;
    right: auto !important;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
  }

  .product-detail-subnav .cpxqMenuSubRight ul li {
    float: none !important;
    height: auto !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  .product-detail-page .jstdSub,
  .product-detail-page .jstdCspz {
    flex-direction: column;
    gap: 16px;
  }

  .product-detail-page .jstdSub .jstdSubLeft,
  .product-detail-page .jstdSub .jstdSubRight,
  .product-detail-page .jstdCspzLeft,
  .product-detail-page .jstdCspz .jstdCspzLeft,
  .product-detail-page .jstdCspzRight,
  .product-detail-page .jstdCspz .jstdCspzRight {
    float: none !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .product-detail-page .menuNextTp {
    min-height: 0;
  }

  .product-detail-page .menuNextTpSubLeft,
  .product-detail-page .menuNextTpSubRight,
  .product-detail-page .jstdSub .jstdSubLeft,
  .product-detail-page .jstdSub .jstdSubRight,
  .product-detail-page .jstdCspzLeft,
  .product-detail-page .jstdCspzRight {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .product-detail-page .pd-gallery__thumb {
    width: 72px;
    height: 54px;
  }

  .product-detail-page .cspzBrief,
  .product-detail-page .jstdCspz {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-detail-page .cspzBrief table,
  .product-detail-page table {
    width: 100% !important;
    max-width: 100%;
  }

  .product-detail-page .pd-gallery__main img {
    width: 100%;
    height: auto;
  }
}
