/* Products catalog (Our Products)
 * 字号统一用 px / clamp(...px)，避免与 introduce 在 ≤750px 将 html 根字号放大后 rem 失控。 */

:root {
  --products-accent: #66b2a3;
  --products-accent-hover: #55988b;
  --products-navy: #1a202c;
  --products-muted: #718096;
  --products-border: #e2e8f0;
  --products-bg-soft: #f7fafc;
}

.products-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  text-align: left;
}

.products-hero {
  text-align: center;
  margin-bottom: 40px;
}

.products-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--products-navy);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.products-hero p {
  margin: 0 auto;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--products-muted);
}

.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.products-filter-pill {
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  background: #edf2f7;
  color: #4a5568;
}

.products-filter-pill:hover {
  background: #e2e8f0;
  color: var(--products-navy);
}

.products-filter-pill.is-active {
  background: var(--products-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(102, 178, 163, 0.35);
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  text-align: left;
  align-items: stretch;
}

.products-card[data-product-type-id],
.products-card[data-product-type-name] {
  scroll-margin-top: 96px;
}

.products-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0;
  border: 1px solid var(--products-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.products-card-media {
  background: var(--products-bg-soft);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.products-card-media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  max-height: 360px;
}

.products-card-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.products-card-badge {
  align-self: flex-start;
  background: var(--products-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
}

.products-card-title {
  margin: 0;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: var(--products-navy);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: left;
}

.products-features-title {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--products-navy);
  text-align: left;
  width: 100%;
}

.products-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-top: 4px;
  width: 100%;
  text-align: left;
  justify-items: stretch;
}

.products-feature-cell {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
}

.products-feature-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.products-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
}

.products-feature-text .products-feature-name {
  margin: 0 0 6px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--products-navy);
  text-align: start;
  width: 100%;
}

.products-feature-text .products-feature-value {
  margin: 0;
  padding: 0;
  text-align: start;
  width: 100%;
}

.products-feature-text .products-feature-value-line {
  margin: 0 0 4px;
  padding: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--products-muted);
  text-align: start;
}

.products-feature-text .products-feature-value-line:last-child {
  margin-bottom: 0;
}

.products-feature-text ul.products-feature-value-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: start;
}

.products-feature-text ul.products-feature-value-list li {
  margin: 0 0 4px;
  padding: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--products-muted);
  text-align: start;
}

.playpage .page1.products-page1-catalog .products-feature-text,
.playpage .page1.products-page1-catalog .products-feature-name,
.playpage .page1.products-page1-catalog .products-feature-value,
.playpage .page1.products-page1-catalog .products-feature-value-line {
  text-align: start;
}

.products-card-body h4.products-feature-name,
.products-card-body .products-feature-value-line {
  text-align: start !important;
}

.products-card-cta {
  margin-top: auto;
  padding-top: 8px;
}

.products-btn-spec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--products-accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}

.products-btn-spec:hover {
  background: var(--products-accent-hover);
}

.products-empty,
.products-error {
  text-align: center;
  padding: 48px 20px;
  color: var(--products-muted);
  font-size: 16px;
  line-height: 1.5;
}

/* ≤1500px：抵消 introduce 固定高度；左右留白与 .consultPage / .playpage 一致（17vw），版心不再比 Consult 更宽 */
@media (max-width: 1500px) {
  body.products-page .playpage {
    padding-left: 17vw;
    padding-right: 17vw;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: clamp(48px, 8vw, 96px);
    box-sizing: border-box;
  }

  body.products-page .page1.products-page1-catalog {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    max-width: 100%;
    align-items: stretch !important;
  }

  body.products-page .breadcrumb {
    padding-left: calc(17vw + 14px) !important;
    padding-right: 17vw !important;
  }

  body.products-page .fcpage {
    padding-left: 17vw;
    padding-right: 17vw;
    box-sizing: border-box;
  }

  body.products-page .fcpage .container {
    display: grid !important;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: clamp(32px, 4vw, 60px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
    gap: clamp(14px, 2vw, 20px);
  }

  body.products-page .page-container {
    padding-left: 17vw;
    padding-right: 17vw;
    box-sizing: border-box;
  }

  body.products-page .products-main {
    max-width: none;
    width: 100%;
    padding: 32px 0 64px;
    box-sizing: border-box;
  }
}

@media (max-width: 1100px) {
  body.products-page .page-container .cards-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.products-page .page-container .cards-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .products-card {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .products-card-media {
    min-height: 200px;
    padding: 20px 16px;
  }

  .products-card-media img {
    max-height: 280px;
  }

  .products-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ≤750px：与 introduce 根字号方案解耦 + 布局/字体专项 */
@media (max-width: 750px) {
  body.products-page .playpage {
    padding-left: max(14px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(14px, env(safe-area-inset-right, 0px)) !important;
    margin-bottom: 32px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.products-page .page1.products-page1-catalog {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
  }

  body.products-page .page-container .cards-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  body.products-page .products-main {
    padding: 18px max(12px, env(safe-area-inset-left, 0px)) 36px
      max(12px, env(safe-area-inset-right, 0px));
    max-width: 100%;
    box-sizing: border-box;
  }

  .products-hero {
    margin-bottom: 22px;
    padding: 0 2px;
  }

  .products-hero h1 {
    font-size: clamp(22px, 5.8vw, 28px);
    line-height: 1.22;
    margin-bottom: 10px;
  }

  .products-hero p {
    font-size: 15px;
    line-height: 1.58;
    max-width: 100%;
  }

  .products-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    margin-bottom: 22px;
    padding: 2px 0 10px;
    margin-left: -2px;
    margin-right: -2px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    touch-action: pan-x;
    scrollbar-width: thin;
  }

  .products-filters::-webkit-scrollbar {
    height: 4px;
  }

  .products-filters::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
  }

  .products-filter-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    min-height: 44px;
    box-sizing: border-box;
    line-height: 1.2;
  }

  .products-list {
    gap: 20px;
  }

  .products-card {
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  }

  .products-card[data-product-type-id],
  .products-card[data-product-type-name] {
    scroll-margin-top: 76px;
  }

  .products-card-media {
    min-height: 0;
    padding: 14px 12px;
  }

  .products-card-media img {
    max-height: 210px;
  }

  .products-card-body {
    padding: 14px 14px 16px;
    gap: 10px;
  }

  .products-card-badge {
    font-size: 11px;
    padding: 5px 10px;
    letter-spacing: 0.04em;
  }

  .products-card-title {
    font-size: clamp(15px, 4.2vw, 17px);
    line-height: 1.38;
    letter-spacing: 0;
    text-transform: none;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .products-features-title {
    font-size: 15px;
    font-weight: 700;
    margin-top: 2px;
    margin-bottom: 2px;
  }

  .products-features-grid {
    gap: 12px 14px;
  }

  .products-feature-cell {
    gap: 8px;
    align-items: flex-start;
  }

  .products-feature-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
    border-radius: 7px;
  }

  .products-feature-text .products-feature-name {
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 5px;
  }

  .products-feature-text .products-feature-value-line {
    font-size: 13px;
    line-height: 1.55;
  }

  .products-feature-text ul.products-feature-value-list li {
    font-size: 13px;
    line-height: 1.55;
  }

  .products-card-cta {
    padding-top: 6px;
  }

  .products-btn-spec {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    min-height: 48px;
    box-sizing: border-box;
    border-radius: 10px;
  }

  .products-empty,
  .products-error {
    padding: 28px 14px;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .products-hero h1 {
    font-size: 21px;
  }

  .products-filter-pill {
    padding: 11px 14px;
    font-size: 13px;
  }

  .products-card-media img {
    max-height: 190px;
  }
}

.playpage .page1.products-page1-catalog {
  align-items: stretch;
  width: 100%;
}

.playpage .page1.products-page1-catalog .products-main {
  width: 100%;
}

/* Global Equipment Layout：标题 + 纯图片（无圆角/阴影/描边） */
.products-global-layout {
  margin: 48px 0 0;
  padding: 0;
}

.products-global-layout-heading {
  margin: 0 0 20px;
  text-align: center;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: #1a202c;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.products-global-layout img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- FAQ（产品页 Application Scenarios 下方） ----- */
.products-faq {
  margin-top: 56px;
  margin-bottom: 8px;
  text-align: center;
}

.products-faq-heading {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #1a202c;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.products-faq-sub {
  margin: 0 auto 32px;
  max-width: 640px;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.55;
  color: #718096;
  font-weight: 400;
}

.products-faq-list {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.products-faq-item {
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.products-faq-q {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  margin: 0;
  border: none;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: #2d3748;
  transition: background 0.2s ease;
  box-sizing: border-box;
}

.products-faq-item.is-open .products-faq-q {
  background: #e8f7f5;
}

.products-faq-q:focus-visible {
  outline: 2px solid #03bcbe;
  outline-offset: -2px;
}

.products-faq-q-label {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 16px;
  color: #03bcbe;
}

.products-faq-q-text {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.products-faq-icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-right: 2px solid #2d3748;
  border-bottom: 2px solid #2d3748;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.products-faq-item.is-open .products-faq-icon {
  transform: rotate(-135deg);
}

.products-faq-a {
  padding: 0 18px 18px 52px;
  background: #fff;
  color: #4a5568;
  font-size: 15px;
  line-height: 1.65;
}

.products-faq-a p {
  margin: 0;
}

.products-faq-a[hidden] {
  display: none !important;
}

@media (max-width: 750px) {
  .products-global-layout {
    margin-top: 36px;
  }

  .products-global-layout-heading {
    margin-bottom: 14px;
    font-size: clamp(22px, 5.5vw, 30px);
  }

  .products-faq {
    margin-top: 40px;
  }

  .products-faq-sub {
    margin-bottom: 24px;
  }

  .products-faq-q {
    padding: 14px 14px;
  }

  .products-faq-q-text {
    font-size: 15px;
  }

  .products-faq-a {
    padding: 0 14px 16px 14px;
    font-size: 14px;
  }

  .products-faq-q-label {
    font-size: 15px;
  }
}
