/**
 * 改版网站/css — 产品集合 / 产品中心（others 等）共用布局
 * 定稿后复制到站点根 /css/product-collection.css
 * 与 headenstyle.css 搭配；不覆盖全站导航与 footer
 */

:root {
  --kr-hub-hero-bg: linear-gradient(135deg, #101d2b 0%, #172a42 55%, #1e3d72 100%);
}

.kr-product-hub {
  /* 与首页深蓝体系统一；右下轻量科技蓝高光 */
  --kr-hub-hero-bg: linear-gradient(135deg, #101d2b 0%, #172a42 55%, #1e3d72 100%);
  --kr-hub-cta: #d96a28;
  --kr-hub-cta-hover: #c55d22;
  /* design-system.ds-btn--commerce 依赖，主内容区需自带 */
  --ds-accent-warm: #d96a28;
  --ds-accent-warm-hover: #b85a22;
  --kr-hub-card-border: #e8edf3;
  --kr-hub-muted: #5c6370;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  box-sizing: border-box;
}

.kr-product-hub *,
.kr-product-hub *::before,
.kr-product-hub *::after {
  box-sizing: border-box;
}

/* 页头区：上下均有圆角，与正文同宽 */
.kr-hub-hero,
.kr-col-hero {
  position: relative;
  margin: 0 0 1.5rem;
  padding: clamp(1.35rem, 3.2vw, 1.85rem) clamp(1.1rem, 2.5vw, 1.35rem) clamp(1.45rem, 3.4vw, 1.95rem);
  background: var(--kr-hub-hero-bg);
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

.kr-hub-hero::after,
.kr-col-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 72% 58% at 100% 100%, rgba(39, 144, 244, 0.2) 0%, transparent 52%);
}

.kr-hub-hero__inner {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 0 0.15rem;
}

.kr-col-hero .kr-hub-hero__inner {
  max-width: none;
}

.kr-col-h1__en {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0.9;
}

.kr-hub-hero__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.88;
}

.kr-hub-hero h1,
.kr-col-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
}

.kr-hub-hero__lead {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.94;
  max-width: none;
}

/* 桌面端 Hero 正文略收窄、行距略增，减轻长段在深色底上的阅读负担 */
@media (min-width: 769px) {
  .kr-hub-hero .kr-hub-hero__lead--desktop-only,
  .kr-col-hero .kr-hub-hero__lead--desktop-only {
    max-width: 920px;
    line-height: 1.8;
  }
}

.kr-hub-hero__lead--second {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.62;
  opacity: 0.9;
}

.kr-hub-hero__hint {
  margin: 0.85rem 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
  opacity: 0.88;
  max-width: 40rem;
}

.kr-hub-hero__actions {
  margin-top: 0.1rem;
}

/* 移动端专用 Hero 正文 / 按钮短文案（默认仅桌面长文案可见） */
.kr-hub-hero__lead--mobile-only {
  display: none;
}

.kr-hero-cta__txt--mobile {
  display: none;
}

.kr-hub-hero .kr-hub-hero-cta-secondary.ds-btn--secondary {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.92);
  color: #1565c0 !important;
}

.kr-hub-hero .kr-hub-hero-cta-secondary.ds-btn--secondary:hover {
  background: #fff;
  color: #0d47a1 !important;
}

@media (max-width: 768px) {
  .kr-hub-hero,
  .kr-col-hero {
    margin-bottom: 1rem;
    padding: 1rem 0.85rem 1.05rem;
  }

  /* 与移动端短正文合并信息，避免小标题+H1+长导语三重堆叠 */
  .kr-hub-hero .kr-hub-hero__kicker,
  .kr-col-hero .kr-hub-hero__kicker {
    display: none;
  }

  .kr-hub-hero__lead--desktop-only {
    display: none !important;
  }

  .kr-hub-hero__lead--mobile-only {
    display: block !important;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0.5rem;
    opacity: 0.94;
  }

  .kr-hub-hero h1,
  .kr-col-hero h1 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.22rem, 5vw, 1.5rem);
  }

  .kr-hub-breadcrumb {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .kr-hero-cta__txt--desktop {
    display: none !important;
  }

  .kr-hero-cta__txt--mobile {
    display: inline !important;
  }

  .kr-hub-hero__actions.ds-btn-row,
  .kr-col-hero .kr-hub-hero__actions.ds-btn-row {
    gap: 0.45rem;
    margin-top: 0.05rem;
  }

  .kr-hub-hero .ds-btn--lg,
  .kr-col-hero .ds-btn--lg {
    padding: 0.5rem 0.85rem;
    font-size: 0.86rem;
  }
}

.kr-hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.kr-hub-btn--primary {
  background: var(--kr-hub-cta);
  color: #fff !important;
}

.kr-hub-btn--primary:hover {
  background: var(--kr-hub-cta-hover);
  color: #fff !important;
}

.kr-hub-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.kr-hub-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.kr-hub-breadcrumb {
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
  color: var(--kr-hub-muted);
}

.kr-hub-breadcrumb a {
  color: #1565c0;
  text-decoration: none;
}

.kr-hub-breadcrumb a:hover {
  text-decoration: underline;
}

.kr-hub-section-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a237e;
}

.kr-hub-section-intro {
  margin: -0.35rem 0 1rem;
  padding: 0.85rem 1rem;
  background: #f0f7ff;
  border: 1px solid #c5e1fa;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #37474f;
}

.kr-hub-section-intro a {
  font-weight: 700;
  color: #0d47a1;
  text-decoration: none;
}

.kr-hub-section-intro a:hover {
  text-decoration: underline;
}

.kr-hub-filter label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--kr-hub-muted);
  margin-bottom: 0.35rem;
}

.kr-hub-filter input {
  width: 100%;
  max-width: 22rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--kr-hub-card-border);
  border-radius: 10px;
  font-size: 0.9rem;
}

.kr-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 901px) {
  .kr-product-hub .kr-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.kr-hub-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--kr-hub-card-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kr-hub-card:focus-visible {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

.kr-hub-card:hover .kr-hub-card__cta {
  text-decoration: underline;
}

.kr-hub-card__cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1565c0;
  letter-spacing: 0.02em;
}

.kr-hub-card__name {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #1565c0;
  min-height: 0;
  line-height: 1.35;
  display: flex;
  align-items: flex-end;
}

.kr-hub-card__desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.58;
  color: var(--kr-hub-muted);
  flex: 1 1 auto;
  min-height: 0;
}

/* 图片区固定高度，弱化素材尺寸差异 */
.kr-hub-card__media {
  height: 220px;
  flex-shrink: 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--kr-hub-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.kr-hub-card__media img {
  max-width: 82%;
  max-height: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.kr-hub-card__body {
  padding: 1rem 1.15rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kr-hub-card[data-hub-match="0"] {
  display: none;
}

/* ── 不确定选型：横向条（Hub） ── */
.kr-hub-uncertain {
  margin: 0 0 2.25rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, #e8f4fc 0%, #f0f7ff 48%, #e3ecf8 100%);
  border: 1px solid #b3d4fc;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.08);
}

.kr-hub-uncertain__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  justify-content: space-between;
}

.kr-hub-uncertain__title {
  flex: 1 1 100%;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d47a1;
  letter-spacing: -0.02em;
}

.kr-hub-uncertain .ds-btn--commerce {
  box-shadow: 0 4px 18px rgba(217, 106, 40, 0.45);
}

.kr-hub-uncertain .ds-btn--commerce:hover {
  box-shadow: 0 6px 24px rgba(217, 106, 40, 0.52);
}

/* 合并双 CTA 后：保留 #uncertain-choice 锚点指向（旧链） */
.kr-hub-legacy-anchor {
  display: block;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* 中部 CTA：左文案 + 右按钮（窄屏上下堆叠） */
.kr-hub-uncertain--split {
  margin-bottom: 1.1rem;
}

.kr-hub-uncertain__inner--split {
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.kr-hub-uncertain__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.kr-hub-uncertain--split .kr-hub-uncertain__title {
  flex: none;
  width: 100%;
  margin: 0 0 0.5rem;
}

.kr-hub-uncertain__action {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.kr-hub-uncertain__btn {
  width: 100%;
  max-width: 18rem;
  justify-content: center;
  font-weight: 700;
}

@media (min-width: 720px) {
  .kr-hub-uncertain__inner--split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .kr-hub-uncertain__action {
    justify-content: flex-end;
  }

  .kr-hub-uncertain__btn {
    width: auto;
    min-width: 13.5rem;
  }
}

/* 集合页：页内产品分类条永不吸顶，避免遮挡正文 */
.kr-collection-page .kr-hub-category-nav {
  position: static;
  top: auto;
  z-index: auto;
}

/* ── 品类网格末尾：协助选型 CTA 卡 ── */
.kr-hub-card--help {
  border-style: dashed;
  border-width: 2px;
  border-color: #90caf9;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.07);
}

.kr-hub-card--help:hover {
  border-color: #42a5f5;
  box-shadow: 0 8px 28px rgba(25, 118, 210, 0.12);
}

.kr-hub-card__media--help {
  height: 220px;
  min-height: 220px;
  background: linear-gradient(145deg, #e8f4fc 0%, #f5f9ff 45%, #e3ecf8 100%);
  border-bottom: 1px dashed #b3d4fc;
}

.kr-hub-card__help-visual {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 86px;
}

.kr-hub-card__help-doc {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 70px;
  border: 2px solid #64b5f6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 10px rgba(21, 101, 192, 0.12);
}

.kr-hub-card__help-doc::before,
.kr-hub-card__help-doc::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  border-radius: 1px;
  background: #90caf9;
}

.kr-hub-card__help-doc::before {
  top: 14px;
}

.kr-hub-card__help-doc::after {
  top: 24px;
  width: 60%;
  right: auto;
}

.kr-hub-card__help-q {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1976d2;
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 40px;
  text-align: center;
  border: 3px solid #fff;
  box-shadow: 0 3px 12px rgba(25, 118, 210, 0.35);
}

.kr-hub-card--help .kr-hub-card__name {
  color: #0d47a1;
}

.kr-hub-card--help .kr-hub-card__cta {
  color: #e65100;
}

/* ── 选型指南：五维小卡（与下方浅灰块区分） ── */
.kr-hub-selection-guide {
  margin-bottom: 2.25rem;
}

.kr-hub-selection-guide__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #455a64;
}

.kr-hub-dim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
  margin: 0 0 0.75rem;
}

.kr-hub-dim-card {
  margin: 0;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid var(--kr-hub-card-border);
  border-radius: 14px;
  border-top: 3px solid #1976d2;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
}

.kr-hub-dim-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0d47a1;
  line-height: 1.3;
}

.kr-hub-dim-card__q {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #263238;
  line-height: 1.45;
}

.kr-hub-dim-card__sum {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #546e7a;
}

.kr-hub-dim-card__kw {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.kr-hub-dim-card__kw span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.16rem 0.48rem;
  border-radius: 6px;
  background: #f0f7ff;
  color: #1565c0;
  border: 1px solid #bbdefb;
}

/* ── 选型准备：清单（与选型维度视觉区分） ── */
.kr-hub-prep {
  margin-bottom: 2.25rem;
  padding: 1.35rem 1.35rem 1.25rem;
  background: #fffdf7;
  border: 1px solid #f0e0c8;
  border-left: 4px solid #d96a28;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(89, 60, 20, 0.06);
}

.kr-hub-prep > h2.kr-hub-section-title {
  color: #bf360c;
}

.kr-hub-prep > p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #5d4037;
}

.kr-hub-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kr-hub-checklist li {
  position: relative;
  margin: 0 0 0.5rem;
  padding: 0.55rem 0.65rem 0.55rem 2rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4e342e;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(224, 184, 140, 0.45);
  border-radius: 10px;
}

.kr-hub-checklist li::before {
  content: "☐";
  position: absolute;
  left: 0.65rem;
  top: 0.52rem;
  font-size: 1rem;
  line-height: 1;
  color: #d96a28;
  font-weight: 700;
}

/* ── 典型应用：可点击场景卡片（白底，与浅蓝提示条区分） ── */
.kr-hub-applications {
  margin-bottom: 2.25rem;
  padding: 1.35rem 1.35rem 1.25rem;
  background: #fafbfc;
  border: 1px solid var(--kr-hub-card-border);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.kr-hub-applications .kr-hub-section-title {
  margin-bottom: 0.75rem;
}

.kr-hub-applications__note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #424242;
}

.kr-hub-applications__note a {
  color: #0d47a1;
  font-weight: 700;
  text-decoration: none;
}

.kr-hub-applications__note a:hover {
  text-decoration: underline;
}

.kr-hub-app-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kr-hub-app-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 5.75rem;
  padding: 1.05rem 1.15rem;
  background: #fff;
  border: 1px solid var(--kr-hub-card-border);
  border-radius: 14px;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.kr-hub-app-card:hover {
  border-color: #90caf9;
  box-shadow: 0 8px 26px rgba(25, 118, 210, 0.11);
  transform: translateY(-2px);
}

.kr-hub-app-card:focus-visible {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

.kr-hub-app-card__title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0d47a1;
  line-height: 1.35;
}

.kr-hub-app-card__go {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1565c0;
  letter-spacing: 0.02em;
}

.kr-hub-app-card:hover .kr-hub-app-card__go {
  text-decoration: underline;
}

.kr-hub-block {
  margin-bottom: 2.25rem;
  padding: 1.25rem 1.35rem;
  background: #f7f9fc;
  border: 1px solid var(--kr-hub-card-border);
  border-radius: 16px;
}

.kr-hub-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
  color: #1a237e;
}

.kr-hub-block p,
.kr-hub-block li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
}

.kr-hub-block ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.kr-hub-anchor-target {
  scroll-margin-top: calc(var(--nav-sticky-offset, 58px) + 0.75rem);
}

@media (max-width: 900px) {
  .kr-hub-anchor-target {
    scroll-margin-top: 1rem;
  }
}

.kr-hub-faq {
  margin-bottom: 2rem;
}

.kr-hub-faq details {
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  box-shadow: none;
}

.kr-hub-faq details[open] {
  border-color: #d0d8e6;
}

.kr-hub-faq summary {
  font-weight: 600;
  cursor: pointer;
  color: #1a237e;
  list-style-position: outside;
}

@media (max-width: 768px) {
  .kr-hub-faq summary {
    font-size: 0.9rem;
    line-height: 1.42;
  }
}

.kr-hub-faq p {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #555;
}

.kr-hub-muted-note {
  font-size: 0.8rem;
  color: var(--kr-hub-muted);
  margin-top: 0.75rem;
}

.kr-hub-no-results {
  display: none;
  margin: -1rem 0 1.5rem;
  padding: 0.75rem 1rem;
  background: #fff8e6;
  border: 1px solid #f0e0b2;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #6d4c00;
}

.kr-hub-no-results.is-visible {
  display: block;
}

/* ── 第一步：品类集合页与产品中心共用结构（Hero / 互链 / 选型维度 / FAQ） ── */
.kr-collection-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  box-sizing: border-box;
}

.kr-hub-category-nav {
  margin: 0 0 1.35rem;
}

.kr-hub-category-nav__group {
  margin: 0 0 1rem;
}

.kr-hub-category-nav__group:last-child {
  margin-bottom: 0;
}

.kr-hub-category-nav__group-title {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a237e;
}

.kr-hub-category-nav__title {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a237e;
}

.kr-hub-category-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kr-hub-category-nav__list a {
  display: inline-block;
  padding: 0.38rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0d47a1;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--kr-hub-card-border, #e8edf3);
  border-radius: 999px;
  line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kr-hub-category-nav__list a:hover {
  border-color: #90caf9;
  background: #f3f9ff;
}

.kr-hub-category-nav__list a[aria-current="page"] {
  background: #e3f2fd;
  border-color: #64b5f6;
  color: #0d47a1;
  cursor: default;
  pointer-events: none;
}

.kr-hub-category-nav__list a[aria-current="page"]:hover {
  background: #e3f2fd;
}

/* 移动端：产品分类默认折叠，减少首屏高度 */
.kr-hub-category-nav__drawer {
  margin: 0;
  border: 0;
  padding: 0;
}

.kr-hub-category-nav__drawer-summary {
  list-style: none;
  cursor: pointer;
  margin: 0 0 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0d47a1;
  background: #fff;
  border: 1px solid var(--kr-hub-card-border, #e8edf3);
  border-radius: 10px;
  line-height: 1.45;
}

.kr-hub-category-nav__drawer-summary::-webkit-details-marker {
  display: none;
}

.kr-hub-category-nav__drawer-summary::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #1565c0;
  border-bottom: 2px solid #1565c0;
  transform: rotate(45deg);
  vertical-align: 0.15em;
  transition: transform 0.15s ease;
}

.kr-hub-category-nav__drawer[open] > .kr-hub-category-nav__drawer-summary::after {
  transform: rotate(-135deg);
  vertical-align: 0.05em;
}

.kr-hub-category-nav__drawer-body {
  margin: 0;
  padding: 0;
}

.kr-hub-category-nav__drawer-hint {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1565c0;
  opacity: 0.95;
}

@media (max-width: 899px) {
  .kr-hub-category-nav {
    margin-bottom: 0.85rem;
  }

  .kr-hub-category-nav__title {
    margin: 0 0 0.3rem;
    font-size: 0.82rem;
  }

  .kr-hub-category-nav__drawer-summary {
    margin-bottom: 0.3rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .kr-hub-category-nav__drawer-hint {
    font-size: 0.72em;
    margin-top: 0.12rem;
  }

  .kr-hub-category-nav__group {
    margin-bottom: 0.55rem;
  }

  .kr-hub-category-nav__group-title {
    margin-bottom: 0.32rem;
    font-size: 0.78rem;
  }

  .kr-hub-category-nav__list {
    gap: 0.32rem 0.42rem;
  }

  .kr-hub-category-nav__list a {
    padding: 0.32rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 900px) {
  .kr-hub-category-nav__drawer {
    display: block;
    border: 0;
  }

  .kr-hub-category-nav__drawer-summary {
    display: none;
  }

  .kr-hub-category-nav__drawer-body {
    display: block !important;
  }
}

/* ── 集合页：型号卡片（结构化字段 + 双入口） ── */
.kr-col-products__intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #455a64;
}

.kr-col-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.kr-col-model-card {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--kr-hub-card-border, #e8edf3);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.15s ease;
}

.kr-col-model-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
  border-color: #c5d5eb;
}

.kr-col-model-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  min-height: 200px;
  flex-shrink: 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--kr-hub-card-border, #e8edf3);
  text-decoration: none;
}

.kr-col-model-card__thumb img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 176px;
  object-fit: contain;
  margin: 0 auto;
}

/* 特殊液压卡盘集合页（sc）：系列卡缩略区高度与主图上限（不溢出卡片） */
.kr-sc-hub .kr-col-model-card__thumb {
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  overflow: hidden;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  box-sizing: border-box;
}

.kr-sc-hub .kr-col-model-card__thumb img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* sc FAQ 答案区可读性（不改文案） */
.kr-sc-hub .kr-hub-faq details > p {
  margin: 0.7rem 0 0;
  padding: 0.75rem 0.65rem 0.95rem;
  line-height: 1.8;
  font-size: 0.88rem;
}

.kr-col-model-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.kr-col-model-card__title {
  margin: 0.65rem 0.85rem 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0d47a1;
}

.kr-col-model-card__title a {
  color: inherit;
  text-decoration: none;
}

.kr-col-model-card__title a:hover {
  text-decoration: underline;
}

.kr-col-model-card__summary {
  margin: 0 0.85rem 0.35rem;
  flex: 1 1 auto;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #455a64;
}

.kr-col-model-card__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0.85rem 1rem;
  margin-top: auto;
  padding-top: 0.25rem;
  align-items: center;
}

.kr-col-model-card__cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1565c0;
  text-decoration: none;
}

.kr-col-model-card__cta:hover {
  text-decoration: underline;
}

.kr-col-model-card__cta--alt {
  color: #d96a28;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.kr-col-model-card__cta--alt:hover {
  text-decoration: underline;
}

/* 不确定选型条内说明 */
.kr-hub-uncertain__text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #37474f;
  min-width: min(100%, 28rem);
}

.kr-hub-uncertain__copy .kr-hub-uncertain__text + .kr-hub-uncertain__text {
  margin-top: 0.65rem;
}

@media (min-width: 640px) {
  .kr-hub-uncertain__inner:not(.kr-hub-uncertain__inner--split) {
    align-items: flex-start;
  }

  .kr-hub-uncertain__inner:not(.kr-hub-uncertain__inner--split) .ds-btn--lg {
    flex-shrink: 0;
  }
}

.kr-col-model-card__meta {
  margin: 0 0.85rem 0.45rem;
  padding: 0.55rem 0.65rem;
  background: #f4f8fc;
  border-radius: 10px;
  border: 1px solid #e3ecf4;
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.kr-col-model-card__meta > div {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.35rem 0.5rem;
  align-items: baseline;
}

.kr-col-model-card__meta dt {
  margin: 0;
  font-weight: 700;
  color: #546e7a;
}

.kr-col-model-card__meta dd {
  margin: 0;
  color: #263238;
  line-height: 1.45;
}

/* 移动端：型号卡片压缩高度，摘要 3 行截断 */
@media (max-width: 768px) {
  .kr-col-model-card__summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin-bottom: 0.25rem;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .kr-col-model-card__title {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
  }

  .kr-col-model-card__meta {
    margin: 0 0.85rem 0.35rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.74rem;
    gap: 0.28rem;
  }

  .kr-col-model-card__meta > div {
    grid-template-columns: 3.85rem 1fr;
    gap: 0.25rem 0.42rem;
  }

  .kr-col-model-card__cta-row {
    margin-bottom: 0.75rem;
    padding-top: 0.12rem;
  }

  .kr-col-model-grid {
    gap: 0.85rem;
  }

  .kr-col-products__intro {
    font-size: 0.86rem;
    margin-bottom: 0.85rem;
  }
}

.kr-col-model-card--help {
  border: 2px dashed #90caf9;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
}

.kr-col-model-card--help:hover {
  border-color: #42a5f5;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(25, 118, 210, 0.12);
}

.kr-col-model-card__thumb--help {
  min-height: 100px;
  height: 100px;
  background: linear-gradient(145deg, #e8f4fc 0%, #f5f9ff 50%, #e3ecf8 100%);
  border-bottom: 1px dashed #b3d4fc;
}

.kr-col-model-card__body-help {
  padding: 0 0.85rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kr-col-model-card--help .kr-col-model-card__title {
  margin-top: 0.65rem;
}

.kr-col-model-card__cta--primary {
  color: #d96a28 !important;
  font-weight: 700;
}

.kr-col-needlinks__intro {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #455a64;
}

.kr-col-needlinks__intro a {
  font-weight: 700;
  color: #0d47a1;
  text-decoration: none;
}

.kr-col-needlinks__intro a:hover {
  text-decoration: underline;
}

.kr-col-needlinks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.kr-col-needlinks__list a {
  display: inline-block;
  padding: 0.5rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0d47a1;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--kr-hub-card-border, #e8edf3);
  border-radius: 10px;
  line-height: 1.45;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kr-col-needlinks__list a:hover {
  border-color: #90caf9;
  background: #f3f9ff;
  text-decoration: none;
}

/* 更适合 / 不太适合 */
.kr-col-conclusion__intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #455a64;
}

.kr-col-conclusion__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .kr-col-conclusion__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.kr-col-con-fit {
  margin: 0;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--kr-hub-card-border, #e8edf3);
  border-radius: 14px;
  border-left: 4px solid #43a047;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.kr-col-con-fit--warn {
  border-left-color: #e65100;
}

.kr-col-con-fit__title {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a237e;
  line-height: 1.3;
}

.kr-col-con-fit__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #37474f;
}

.kr-col-con-fit__list li {
  margin-bottom: 0.35rem;
}

.kr-hub-block.kr-col-conclusion {
  margin-top: 0.5rem;
}

/* ── 按需求快速判断：双列表（左工况 / 右方案，浅灰行底） ── */
.kr-col-quick-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.25rem 0 0;
}

.kr-col-quick-table {
  width: 100%;
  min-width: 320px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 34, 58, 0.05);
}

.kr-col-quick-table thead th {
  text-align: left;
  padding: 0.55rem 0.95rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #546e7a;
  background: #fff;
  border-bottom: 2px solid #e2e8f0;
}

.kr-col-quick-table tbody td {
  padding: 0.7rem 0.95rem;
  vertical-align: top;
  line-height: 1.55;
  border-bottom: 1px solid #e8ecf1;
}

.kr-col-quick-table tbody tr:last-child td {
  border-bottom: 0;
}

.kr-col-quick-table tbody tr:nth-child(odd) {
  background: #f8fafc;
}

.kr-col-quick-table tbody tr:nth-child(even) {
  background: #f1f4f9;
}

.kr-col-quick-table tbody td:first-child {
  font-weight: 600;
  color: #263238;
  width: 46%;
}

.kr-col-quick-table tbody td:last-child {
  font-weight: 600;
  color: #0d47a1;
}

.kr-col-quick-table tbody a {
  color: #1565c0;
  font-weight: 700;
  text-decoration: none;
}

.kr-col-quick-table tbody a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .kr-col-quick-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .kr-col-quick-table tbody tr {
    display: block;
    padding: 0.65rem 0.85rem 0.75rem;
    border-bottom: 1px solid #e8ecf1;
  }

  .kr-col-quick-table tbody tr:last-child {
    border-bottom: 0;
  }

  .kr-col-quick-table tbody td {
    display: block;
    width: 100% !important;
    padding: 0.35rem 0;
    border: 0;
  }

  .kr-col-quick-table tbody td:first-child {
    padding-top: 0;
    padding-bottom: 0.25rem;
    font-size: 0.82rem;
  }

  .kr-col-quick-table tbody td:first-child::before {
    content: "工况 · ";
    font-weight: 700;
    color: #607d8b;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .kr-col-quick-table tbody td:last-child::before {
    content: "可优先对照 · ";
    display: block;
    font-weight: 700;
    color: #607d8b;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
  }
}

.kr-col-compare__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--kr-hub-card-border, #e8edf3);
}

.kr-col-compare__table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
}

.kr-col-compare__table th,
.kr-col-compare__table td {
  border: 1px solid #e8edf3;
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.kr-col-compare__table thead th {
  background: #e3f2fd;
  color: #0d47a1;
  font-weight: 700;
}

.kr-col-compare__table tbody tr:nth-child(even) {
  background: #fafbfd;
}

.kr-col-compare__table a {
  color: #1565c0;
  font-weight: 600;
  text-decoration: none;
}

.kr-col-compare__table a:hover {
  text-decoration: underline;
}

/* 集合页锚点：避免被顶部主导航遮挡 */
.kr-col-model-card[id],
#fit-summary,
#no-match,
#uncertain-choice,
#quick-judge,
#compare-schemes,
#selection-points .kr-col-points__item[id] {
  scroll-margin-top: calc(var(--nav-sticky-offset, 58px) + 0.75rem);
}

@media (max-width: 900px) {
  .kr-col-model-card[id],
  #fit-summary,
  #no-match,
  #uncertain-choice,
  #quick-judge,
  #compare-schemes,
  #selection-points .kr-col-points__item[id] {
    scroll-margin-top: 1rem;
  }
}

/* ── 选型要点 / 衔接：分条小标题 + 段落（优于大段纯文本） ── */
.kr-col-dimensions__intro,
.kr-col-scenes__intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #455a64;
}

.kr-col-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .kr-col-points {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 总结型、长文案卡片：横跨两列，避免末行单独占位 */
  .kr-col-points__item--wide {
    grid-column: 1 / -1;
  }
}

.kr-col-points__item {
  margin: 0;
  padding: 0.85rem 1rem;
  background: #fafbfd;
  border: 1px solid var(--kr-hub-card-border, #e8edf3);
  border-radius: 10px;
  border-left: 4px solid #64b5f6;
}

.kr-col-points__h {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a237e;
}

.kr-col-points__p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #37474f;
}

.kr-col-points__p + .kr-col-points__p {
  margin-top: 0.45rem;
}

.kr-col-points__p a {
  color: #1565c0;
  font-weight: 600;
}

.kr-col-points--scenes .kr-col-points__item {
  border-left-color: #7e57c2;
}

/* ── 页内「相关产品系列」（补充 Footer 的精准内链） ── */
.kr-col-related {
  margin-top: 0.25rem;
}

.kr-col-related__intro {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #455a64;
}

.kr-col-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.kr-col-related__list li {
  margin: 0;
}

.kr-col-related__list a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0d47a1;
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 999px;
  text-decoration: none;
}

.kr-col-related__list a:hover {
  background: #bbdefb;
}

.kr-col-products {
  margin-bottom: 1.5rem;
}

.kr-col-products .rc-intro {
  text-align: left;
  max-width: none;
  margin: 0 0 1rem;
  padding: 0;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.65;
}

.kr-col-products .box .innerbox {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.kr-col-products .box .innerbox img {
  aspect-ratio: 4 / 3;
  max-height: 200px;
  width: 100%;
  object-fit: contain;
  background: #f8fafc;
  border-bottom: 1px solid var(--kr-hub-card-border, #e8edf3);
}

.kr-col-products .box .innerbox p {
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 0.35rem;
  font-size: 0.88rem;
  line-height: 1.35;
  margin: 0;
}

@media (max-width: 600px) {
  .kr-hub-hero,
  .kr-col-hero {
    border-radius: 10px;
  }

  .kr-col-points {
    grid-template-columns: 1fr;
  }

  .kr-col-model-grid {
    grid-template-columns: 1fr;
  }

  .kr-col-model-card__cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .kr-hub-hero .ds-btn-row,
  .kr-col-hero .ds-btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .kr-hub-hero .ds-btn--lg,
  .kr-col-hero .ds-btn--lg {
    width: 100%;
    justify-content: center;
  }

  .kr-hub-uncertain__inner:not(.kr-hub-uncertain__inner--split) {
    flex-direction: column;
    align-items: stretch;
  }
}

/* 改版产品主内容区：移动端隐藏右下角分享悬浮条，释放横向空间；电话咨询条全宽底贴底 */
@media (max-width: 900px) {
  body:has(main.kr-product-hub) .share-widget {
    display: none !important;
  }

  body:has(main.kr-product-hub) .kr-mobile-call {
    right: 14px !important;
  }
}
