/* 产品详情：柔和中性色、统一卡片与窄屏横向浏览。 */
.product-page {
  --ink: #293c35;
  --mute: #6d7a72;
  --pink: #b96881;
  --gutter: 28px;
  color: var(--ink);
  background: #fffefa;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
.product-page .wrap,
.product-page .custom-design-inner {
  width: 100%;
  max-width: 1180px;
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.product-page main {
  min-width: 0;
}
.product-page header.site-header {
  background: #fffefaed !important;
  border-bottom-color: #e3e8df !important;
}
.product-page .site-header .site-nav a {
  color: var(--ink) !important;
}
.product-page .site-header .site-nav a:hover,
.product-page .site-header .site-nav a[aria-current] {
  color: #708359 !important;
}
.product-page .site-header .site-language {
  border-color: #dce3d5 !important;
  color: var(--ink) !important;
}
.product-page .hero {
  padding: clamp(36px, 6vw, 80px) 0;
  background: radial-gradient(ellipse at 82% 25%, #f3dfe580, transparent 55%), #f7f6ef;
  border-bottom: 1px solid #e8e9e0;
}
.product-page .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
}
.product-page .hero-grid > * {
  min-width: 0;
}
.product-page .eyebrow,
.product-page .custom-design-label {
  color: #8c706a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
}
.product-page .hero h1 {
  max-width: 16ch;
  margin: 22px 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.product-page .hero p {
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.9;
}
.product-page .product-visual {
  position: relative;
  margin: 0;
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid #ffffff;
  border-radius: 28px;
  background: #fffdf9;
  box-shadow: 0 16px 52px #293c3509;
}
.product-page .product-visual img {
  display: block;
  height: auto;
  aspect-ratio: 1 / 1.08;
  max-height: 470px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}
.product-page .product-visual figcaption {
  margin-top: 20px;
  color: #8b9187;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-align: center;
}
.product-page .btn,
.product-page .custom-design-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  max-width: 100%;
  padding: 13px 24px;
  background: #304e41;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.product-page .btn:hover,
.product-page .custom-design-link:hover {
  background: #426553;
  transform: translateY(-2px);
}
.product-page .section {
  padding: clamp(40px, 5vw, 68px) 0;
}
.product-page .section h2 {
  margin: 0 0 26px;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.4;
}
.product-page .pale {
  background: #f4f5ef;
}
.product-page .specs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-page .spec {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e3e8df;
  border-radius: 18px;
  background: #fff;
}
.product-page .spec-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: #f0f4ed;
  color: #57705c;
  font-size: 19px;
}
.product-page .spec > span {
  margin-bottom: 10px;
  font-size: 13px;
}
.product-page .spec b {
  display: block;
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.product-page .note {
  margin-top: 22px;
  padding: 14px 18px;
  color: var(--mute);
  border: 0;
  border-left: 2px solid #c6d1bc;
  border-radius: 0;
  background: #f6f7f2;
}
.product-page .features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.product-page .features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid #e3e8df;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.75;
}
.product-page .features .site-icon {
  color: #658065;
  margin-top: 0.3em;
  font-size: 20px;
}
.product-page .features li > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.product-page .section-intro {
  color: var(--mute);
  font-size: 14px;
  margin: -10px 0 24px;
}
.product-page .process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
}
.product-page .process-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid #edf0e9;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.product-page .step-number {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  color: #738366;
  background: #f0f3eb;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.product-page .filled-demo-video {
  border-color: #e3e8df;
  background: #f2f4ed !important;
}
.product-page .filled-demo-video .filled-demo-caption {
  color: var(--ink) !important;
}
.product-page .other {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-page .other a {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid #e1e6dc;
  border-radius: 20px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.product-page .other a:hover {
  border-color: #a3b69a;
  box-shadow: 0 8px 28px #304e410a;
}
.product-page .other img {
  height: 220px;
  border-radius: 12px;
}
.product-page .other b {
  padding: 20px 36px 0 0;
  font-size: 15px;
  font-weight: 600;
}
.product-page .model-link-icon {
  display: grid;
  place-items: center;
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f4ec;
  color: #687e5a;
  font-size: 13px;
}
.product-page .custom-design {
  padding: 64px 0;
  color: var(--ink);
  background: #fffefa;
}
.product-page .custom-design h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 650;
  line-height: 1.45;
}
.product-page .custom-design-note {
  color: var(--mute);
  font-size: 15px;
  font-weight: 400;
}
.product-page .custom-design figure {
  border-color: #e3e8df;
}
.product-page .custom-design-subtitle {
  font-size: 22px;
  font-weight: 600;
}
.product-page .swipe-hint {
  display: none;
}
.product-page footer,
.product-page .site-disclosure {
  background: #f5f6ef;
  border-color: #e3e8df;
  color: var(--mute);
}
.product-page .ecosystem-footer {
  background: #f0f3ea;
  border-color: #e0e6d8;
}
.product-page .ecosystem-footer h2 {
  color: var(--ink);
}
.product-page .ecosystem-footer a,
.product-page .ecosystem-eyebrow {
  color: #5b715a;
}
.product-page .site-consult-entry {
  background: #304e41;
  bottom: 24px;
}
.product-page :focus-visible {
  outline: 2px solid #63845d;
  outline-offset: 4px;
}
@media (max-width: 1024px) {
  .product-page {
    --gutter: 24px;
  }
  .product-page .hero-grid {
    gap: 28px;
  }
  .product-page .hero h1 {
    font-size: 36px;
  }
  .product-page .spec {
    padding: 20px;
  }
  .product-page .other img {
    height: 180px;
  }
}
@media (max-width: 800px) {
  .product-page .hero-grid {
    grid-template-columns: 1fr;
  }
  .product-page .hero h1 {
    max-width: 100%;
  }
  .product-page .hero p {
    max-width: 100%;
  }
  .product-page .product-visual {
    width: min(100%, 500px);
    margin-inline: auto;
  }
  .product-page .product-visual img {
    max-height: 380px;
  }
}
@media (max-width: 700px) {
  .product-page {
    --gutter: 18px;
  }
  .product-page .hero h1 {
    font-size: clamp(29px, 7.5vw, 38px);
    margin: 16px 0;
  }
  .product-page .hero p {
    font-size: 14px;
  }
  .product-page .hero .btn {
    width: 100%;
    margin-top: 12px;
  }
  .product-page .hero-grid {
    gap: 30px;
  }
  .product-page .product-visual {
    padding: 18px;
    border-radius: 22px;
  }
  .product-page .section h2 {
    margin-bottom: 16px;
  }
  .product-page .swipe-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 18px;
    color: #7b8674;
    font-size: 12px;
  }
  /* 首尾卡片都可以完整居中；触摸横滑保持卡片宽度，不压缩、不换行。 */
  .product-page .specs,
  .product-page .features,
  .product-page .other,
  .product-page .custom-design-grid {
    --card-width: min(78vw, 340px);
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100% - var(--card-width)) / 2);
    padding: 4px calc((100% - var(--card-width)) / 2) 18px;
    margin-block: 0 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #bbc9b0 transparent;
  }
  .product-page .specs > *,
  .product-page .features > *,
  .product-page .other > *,
  .product-page .custom-design-grid > * {
    flex: 0 0 var(--card-width);
    min-width: 0;
    scroll-snap-align: center;
  }
  .product-page .spec {
    padding: 22px;
  }
  .product-page .spec b {
    font-size: 21px;
  }
  .product-page .features li {
    padding: 22px;
  }
  .product-page .other img {
    height: 220px;
  }
  .product-page .custom-design-grid figure:first-child {
    grid-column: auto;
  }
  .product-page .custom-design-grid img {
    max-height: 360px;
  }
  .product-page .custom-design {
    padding: 42px 0;
  }
  .product-page .custom-design-subtitle {
    margin-top: 30px;
  }
  .product-page .custom-design-link {
    width: 100%;
  }
  .product-page .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
  }
  .product-page .filled-demo-video video {
    height: min(55vh, 440px) !important;
  }
  .product-page .site-consult-entry {
    position: static;
    display: flex;
    margin: 18px var(--gutter);
    box-shadow: none;
  }
  .product-page .ecosystem-footer {
    padding-inline: var(--gutter);
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-page *,
  .product-page *::before,
  .product-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
