/* Chinese product-detail pages: shared responsive system. */
.product-detail-main {
  --product-green: #4dbb6d;
  --product-ink: #22354a;
  --product-copy: #53636f;
  --product-base: #fff;
  --product-soft: #f3f7f5;
  overflow: hidden;
  color: var(--product-ink);
}

.product-detail-main .product-detail-container {
  width: min(1140px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.product-detail-hero {
  margin: 0;
  background: #183142;
}

.product-detail-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.product-detail-section {
  padding: 96px 0;
  background: var(--product-base);
}

.product-detail-section.product-detail-section-soft {
  background: var(--product-soft);
}

.product-detail-heading {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.product-detail-title {
  margin: 0;
  color: #3e3e3e;
  text-transform: none;
  font-weight: 700;
  font-size: 2.3em;
  line-height: 1.2em;
}

.product-detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.product-detail-overview-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-detail-overview-copy h1,
.product-detail-overview-copy h2 {
  margin: 0 0 22px;
  color: var(--product-ink);
  font-size: clamp(32px, 3.25vw, 48px);
  font-weight: 800;
  line-height: 1.22;
}

.product-detail-overview-copy p {
  margin: 0;
  color: var(--product-copy);
  font-size: 16px;
  line-height: 1.9;
}

.product-detail-overview-copy p + p {
  margin-top: 14px;
}

.product-detail-overview-figure,
.product-detail-visual {
  margin: 0;
}

.product-detail-overview-figure {
  overflow: hidden;
  border-radius: 18px;
  background: #e9efeb;
  box-shadow: 0 18px 42px rgba(30, 55, 45, 0.12);
}

.product-detail-overview-figure img,
.product-detail-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.product-detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.product-detail-metric {
  display: flex;
  min-height: 132px;
  padding: 22px 18px;
  border: 1px solid rgba(77, 187, 109, 0.2);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(36, 62, 50, 0.06);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.product-detail-metric-value {
  display: block;
  margin-bottom: 9px;
  color: var(--product-green);
  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 800;
  line-height: 1;
}

.product-detail-metric-label {
  display: block;
  color: #53636f;
  font-size: 14px;
  line-height: 1.5;
}

.product-detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-detail-feature-card {
  position: relative;
  min-height: 188px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(30, 53, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 13px 28px rgba(27, 47, 38, 0.06);
}

.product-detail-feature-card::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: var(--product-green);
}

.product-detail-feature-card h3 {
  margin: 0 0 12px;
  color: var(--product-ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.product-detail-feature-card p {
  margin: 0;
  color: var(--product-copy);
  font-size: 15px;
  line-height: 1.76;
}

.product-detail-technology-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.product-detail-tech-title {
  margin-bottom: 22px;
  text-align: left;
}

.product-detail-technology-layout-text-only {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.product-detail-technology-layout-text-only .product-detail-tech-title {
  text-align: center;
}

.product-detail-technology-copy p {
  margin: 0;
  color: var(--product-copy);
  font-size: 16px;
  line-height: 1.88;
}

.product-detail-technology-copy p + p {
  margin-top: 14px;
}

.product-detail-visual {
  padding: clamp(12px, 2.3vw, 28px);
  border: 1px solid rgba(30, 53, 42, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(27, 47, 38, 0.07);
}

.product-detail-visual img {
  max-width: 100%;
  margin: 0 auto;
}

.product-detail-single-diagram {
  width: 100%;
  margin: 0 auto;
}

.product-detail-single-diagram .product-detail-visual {
  width: 100%;
}

.product-detail-single-diagram .product-detail-visual img {
  width: 100%;
}

.product-detail-visual figcaption {
  margin-top: 16px;
  color: var(--product-ink);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.product-detail-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-detail-media-card {
  overflow: hidden;
  border: 1px solid rgba(30, 53, 42, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 13px 28px rgba(27, 47, 38, 0.06);
}

.product-detail-media-frame {
  aspect-ratio: 16 / 9;
  background: #17242d;
}

.product-detail-media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.product-detail-media-copy {
  padding: 18px 20px 20px;
}

.product-detail-media-copy h3 {
  margin: 0 0 7px;
  color: var(--product-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .product-detail-section {
    padding: 76px 0;
  }

  .product-detail-overview,
  .product-detail-technology-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-overview-figure {
    max-width: 760px;
  }

  .product-detail-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .product-detail-main .product-detail-container {
    width: min(calc(100% - 40px), 560px);
  }

  .product-detail-section {
    padding: 62px 0;
  }

  .product-detail-heading {
    margin-bottom: 30px;
  }

  .product-detail-overview-copy p,
  .product-detail-technology-copy p {
    font-size: 15px;
    line-height: 1.8;
  }

  .product-detail-metrics,
  .product-detail-feature-grid,
  .product-detail-single-diagram,
  .product-detail-media-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-metrics {
    gap: 12px;
    margin-top: 32px;
  }
  .product-detail-metric {
    min-height: 118px;
    padding: 18px;
    text-align: center;
  }

  .product-detail-feature-card {
    min-height: 0;
    padding: 24px;
  }
}

/* Reusable components for the expanded 2026 product range. */
.product-detail-hero-overlay {
  position: relative;
  min-height: 650px;
  height: 650px;
  overflow: hidden;
}

.product-detail-hero-overlay > img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.product-detail-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 25, 34, 0.82) 0%, rgba(12, 25, 34, 0.5) 43%, rgba(12, 25, 34, 0.08) 72%);
}

.product-detail-hero-copy {
  position: absolute;
  top: 50%;
  left: max(24px, calc((100% - 1140px) / 2));
  width: min(590px, calc(100% - 48px));
  color: #fff;
  transform: translateY(-42%);
}

.product-detail-hero-kicker {
  margin: 0 0 12px;
  color: #79d895;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.product-detail-hero-copy h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(46px, 5.5vw, 78px);
  font-weight: 800;
  line-height: 1.08;
}

.product-detail-hero-copy > p:last-child {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.55;
}

.product-detail-hero-overlay--copy-right .product-detail-hero-shade {
  background: linear-gradient(270deg, rgba(12, 25, 34, 0.84) 0%, rgba(12, 25, 34, 0.58) 38%, rgba(12, 25, 34, 0.08) 68%);
}

.product-detail-hero-overlay--copy-right .product-detail-hero-copy {
  right: max(24px, calc((100% - 1140px) / 2));
  left: auto;
  width: min(540px, calc(100% - 48px));
}

.product-detail-heading-copy {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--product-copy);
  font-size: 16px;
  line-height: 1.8;
}

.product-spec-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(30, 53, 42, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(27, 47, 38, 0.07);
}

.product-spec-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: var(--product-copy);
  font-size: 15px;
}

.product-spec-table th,
.product-spec-table td {
  padding: 19px 20px;
  border-bottom: 1px solid rgba(30, 53, 42, 0.09);
  text-align: left;
  vertical-align: middle;
}

.product-spec-table th {
  background: #e9f4ed;
  color: var(--product-ink);
  font-weight: 800;
}

.product-spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.product-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-case-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(30, 53, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 13px 28px rgba(27, 47, 38, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-case-card:hover {
  color: inherit;
  text-decoration: none;
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(27, 47, 38, 0.12);
}

.product-case-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-case-card > div {
  padding: 26px;
}

.product-case-eyebrow {
  margin: 0 0 8px;
  color: var(--product-green);
  font-size: 13px;
  font-weight: 800;
}

.product-case-card h3 {
  margin: 0 0 12px;
  color: var(--product-ink);
  font-size: 22px;
  font-weight: 800;
}

.product-case-card p:not(.product-case-eyebrow) {
  margin: 0 0 18px;
  color: var(--product-copy);
  font-size: 15px;
  line-height: 1.75;
}

.product-case-card span {
  color: var(--product-green);
  font-weight: 800;
}

@media (max-width: 1199.98px) {
  .product-detail-hero-overlay {
    min-height: 0;
    height: auto;
    background: #142630;
  }

  .product-detail-hero-overlay > img {
    position: relative;
    right: auto;
    bottom: auto;
    left: 0;
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
  }

  .product-detail-hero-shade {
    z-index: 1;
    display: block;
    background: linear-gradient(270deg, rgba(12, 25, 34, 0.92) 0%, rgba(12, 25, 34, 0.68) 38%, rgba(12, 25, 34, 0.16) 72%, rgba(12, 25, 34, 0.03) 100%);
    pointer-events: none;
  }

  .product-detail-hero-copy {
    z-index: 2;
    top: 50%;
    right: clamp(20px, 3vw, 36px);
    left: auto;
    width: min(45vw, 500px);
    padding-left: 0;
    border-left: 0;
    text-align: right;
    transform: translateY(-38%);
  }

  .product-detail-hero-overlay--copy-right .product-detail-hero-shade {
    display: block;
    background: linear-gradient(270deg, rgba(12, 25, 34, 0.92) 0%, rgba(12, 25, 34, 0.68) 38%, rgba(12, 25, 34, 0.16) 72%, rgba(12, 25, 34, 0.03) 100%);
  }

  .product-detail-hero-overlay--copy-right .product-detail-hero-copy {
    right: clamp(20px, 3vw, 36px);
    left: auto;
    width: min(45vw, 500px);
  }

  .product-detail-hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(42px, 5vw, 58px);
  }

  .product-detail-hero-copy > p:last-child {
    max-width: 480px;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.55;
  }
}

@media (max-width: 767.98px) {
  .product-detail-hero-overlay {
    min-height: 0;
    height: auto;
  }

  .product-detail-hero-overlay > img {
    right: auto;
    left: -7.5%;
    width: 115%;
  }

  .product-detail-hero-shade,
  .product-detail-hero-overlay--copy-right .product-detail-hero-shade {
    background: linear-gradient(270deg, rgba(12, 25, 34, 0.94) 0%, rgba(12, 25, 34, 0.7) 42%, rgba(12, 25, 34, 0.14) 78%, rgba(12, 25, 34, 0.02) 100%);
  }

  .product-detail-hero-copy,
  .product-detail-hero-overlay--copy-right .product-detail-hero-copy {
    top: 50%;
    right: 12px;
    left: auto;
    width: 70%;
    padding-left: 0;
    border-left: 0;
    text-align: right;
    transform: translateY(-38%);
  }

  .product-detail-hero-kicker {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .product-detail-hero-copy h1 {
    margin-bottom: 10px;
    font-size: 32px;
  }

  .product-detail-hero-copy > p:last-child {
    max-width: none;
    font-size: 13px;
    line-height: 1.5;
  }

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

@media (max-width: 575.98px) {
  .product-detail-hero-overlay {
    min-height: 0;
    height: auto;
  }

  .product-detail-hero-copy,
  .product-detail-hero-overlay--copy-right .product-detail-hero-copy {
    top: 50%;
  }

  .product-detail-hero-copy h1 {
    font-size: 32px;
  }
}

@media (min-width: 1200px) {
  .product-detail-hero-overlay > img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center 74%;
  }

  .circle-product-page .product-detail-hero-overlay > img {
    object-position: center 68%;
  }
}
