/*
 * Single Product — Hero highlights, Product Introduction body, Application Scenarios.
 *
 * Loaded only on `is_singular('product')` (see functions.php), so the
 * block never bleeds into page-product-2 or any other template.
 *
 * Breakpoints mirror the related-products swiper on the same page:
 *   >=1181px  4 slides per row
 *   >=853px   3 slides per row
 *   >=576px   2 slides per row
 *   <576px    1 slide  per row
 *
 * `loop` is enabled only when there are more than 4 items so a small
 * editor payload does not visually duplicate slides.
 */

/* ----- Hero core selling points (replaces spec-summary when set) ----- */
.product-summary__highlights {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.product-summary__highlights > *:first-child {
  margin-top: 0;
}

.product-summary__highlights > *:last-child {
  margin-bottom: 0;
}

.product-summary__highlights p {
  margin: 0 0 0.75em;
}

.product-summary__highlights h1,
.product-summary__highlights h2,
.product-summary__highlights h3,
.product-summary__highlights h4 {
  margin: 0 0 0.6em;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
}

.product-summary__highlights ul,
.product-summary__highlights ol {
  margin: 0 0 0.75em;
  padding-left: 1.4em;
}

.product-summary__highlights strong,
.product-summary__highlights b {
  color: #fff;
  font-weight: 600;
}

.product-summary__highlights a {
  color: #ff3b26;
}

.product-summary__highlights img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .product-summary__highlights {
    margin-top: 20px;
    padding-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }
}

/* ----- Product Introduction rich text (#intro-title) ----------------- */
.parameters-intro {
  margin-top: 28px;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.parameters-intro > *:first-child {
  margin-top: 0;
}

.parameters-intro > *:last-child {
  margin-bottom: 0;
}

.parameters-intro p {
  margin: 0 0 1em;
}

.parameters-intro h1,
.parameters-intro h2,
.parameters-intro h3,
.parameters-intro h4 {
  margin: 0 0 0.6em;
  color: #000;
  font-weight: 600;
  line-height: 1.3;
}

.parameters-intro ul,
.parameters-intro ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.parameters-intro table {
  width: 100%;
  margin: 0 0 1em;
  border-collapse: collapse;
  border: 1px solid #d9d9d9;
  background: #fff;
}

.parameters-intro table td,
.parameters-intro table th {
  border: 1px solid #d9d9d9;
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}

.parameters-intro img {
  max-width: 100%;
  height: auto;
}

.parameters-intro a {
  color: #ee7700;
}

@media (max-width: 768px) {
  .parameters-intro {
    margin-top: 20px;
    font-size: 16px;
  }
}

.product-scenarios {
  width: 100%;
  max-width: 1190px;
  margin: 56px auto 0;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.product-scenarios__title {
  margin: 0 0 22px;
  padding-left: 18px;
  color: #2c2c2c;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.product-scenarios__frame {
  width: 100%;
  overflow: hidden;
}

.product-scenarios-swiper {
  width: 100%;
  overflow: hidden;
}

.product-scenarios-swiper .swiper-slide {
  height: auto;
}

.product-scenarios__figure {
  margin: 0;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.product-scenarios__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 1500px) {
  .product-scenarios {
    margin-top: 44px;
  }
}

@media (max-width: 1180px) {
  .product-scenarios {
    max-width: 100%;
    margin-top: 40px;
  }

  .product-scenarios__title {
    font-size: 22px;
  }
}

@media (max-width: 960px) {
  .product-scenarios {
    margin-top: 36px;
  }

  .parameters-intro table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  .product-scenarios {
    margin-top: 32px;
  }

  .product-scenarios__title {
    font-size: 20px;
    margin-bottom: 18px;
  }
}

@media (max-width: 575px) {
  .product-scenarios {
    margin-top: 28px;
  }

  .product-scenarios__title {
    font-size: 18px;
  }
}

@media (max-width: 389px) {
  .product-scenarios__title {
    font-size: 16px;
  }
}