.end-product-page .end-product-hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  color: #fff;
  background: url("https://tx-cms.oss-cn-hangzhou.aliyuncs.com/website/minsun/assets/images/end-product/banner.png") center 48% / cover no-repeat;
}

.end-product-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image:
    linear-gradient(#68cfff16 1px, transparent 1px),
    linear-gradient(90deg, #68cfff16 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  pointer-events: none;
}

.product-lines {
  background:
    radial-gradient(ellipse at 12% 8%, #e8f6ffaa, transparent 42%),
    radial-gradient(ellipse at 88% 42%, #eef9ff99, transparent 40%),
    radial-gradient(ellipse at 18% 78%, #f0fbffaa, transparent 38%),
    linear-gradient(180deg, #f7fbff, #fff 28%, #f8fcff 72%, #fff);
}

.product-lines .container {
  display: grid;
  gap: 72px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.product-row-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.product-row-reverse .product-copy {
  order: 2;
}

.product-row-reverse .product-visual {
  order: 1;
}

.product-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.product-heading h2 {
  margin: 0;
  color: #1d2b42;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.3;
}

.end-product-page .product-type-blue {
  color: #0767fc;
  background: #e8f1ff;
}

.product-copy > p {
  margin: 0;
  color: #6b7789;
  font-size: 17px;
  line-height: 1.85;
}

.product-copy > p b {
  color: #31445f;
  font-weight: 600;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.product-features span {
  padding: 7px 14px;
  color: #5f6d82;
  font-size: 15px;
  line-height: 1.3;
  border-radius: 999px;
  background: #eef2f7;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.end-product-page .button-line {
  color: #315174;
  border: 1px solid #c5d0de;
  background: #fff;
  box-shadow: none;
}

.product-visual {
  overflow: hidden;
  border-radius: 16px;
}

.product-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-visual figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  color: #8490a2;
  font-size: 15px;
  line-height: 1.5;
}

.product-visual figcaption::before {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16ed8c;
  content: "";
}

.end-product-page .contact-banner {
  margin-top: 0;
}

@media (max-width: 960px) {
  .product-lines .container {
    gap: 56px;
  }

  .product-row,
  .product-row-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-row-reverse .product-copy,
  .product-row-reverse .product-visual {
    order: initial;
  }

  .product-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  .end-product-page .end-product-hero {
    min-height: 280px;
  }

  .product-lines .container {
    gap: 44px;
  }

  .product-heading h2 {
    font-size: 24px;
  }

  .product-copy > p {
    font-size: 16px;
  }

  .product-features span {
    padding: 6px 12px;
    font-size: 14px;
  }
}
