*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'Hiragino Sans GB', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #ffffffcc;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  /* 只调上下，左右沿用 .container 的 24px，与幻灯片左缘对齐 */
  padding-top: 4px;
  padding-bottom: 4px;
  min-height: 64px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #103f91;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-global-search {
  display: flex;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.header-global-search-input {
  border: none;
  outline: none;
  padding: 9px 14px;
  font-size: 15px;
  width: 200px;
  min-width: 120px;
  max-width: 280px;
  font-family: inherit;
}

.header-global-search-input::placeholder {
  color: #9ca3af;
}

.header-global-search-submit {
  border: none;
  background: #ea580c;
  color: #ffffff;
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.header-global-search-submit:hover {
  background: #c2410c;
}

.header-global-search-icon {
  display: block;
}

.lang-sep {
  opacity: 0.55;
  padding: 0 1px;
}

.logo a,
.logo-link {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #103f91;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.logo {
  /* 大屏也允许收缩，避免长站名把导航挤重叠 */
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(480px, 38vw);
  margin-right: 8px;
  padding-left: 0;
  overflow: hidden;
}

/* 高度略高于站名字号（1.35em），宽度按比例锁定，禁止被拉变形 */
.logo-img {
  height: 1.35em;
  width: auto;
  max-height: 1.35em;
  max-width: min(120px, 28vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  aspect-ratio: auto;
  flex: 0 1 auto;
  flex-shrink: 1;
  min-width: 0;
}

/* logo 与网站名称同时配置时必须都显示 */
.logo-link .logo-img {
  display: block;
}
.logo-link .logo-text {
  display: block;
  visibility: visible;
  opacity: 1;
}

.logo-text {
  white-space: nowrap;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}

/* 主导航：大屏横排居中；窄屏收入折叠菜单 */
.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 28px;
  font-size: 17px;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, Helvetica, sans-serif;
  font-weight: 400;
  min-width: 0;
}

.main-nav a {
  position: relative;
  padding: 0 2px;
  border-radius: 0;
  color: #000000;
  line-height: 56px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.main-nav a:hover {
  background-color: transparent;
  color: #00a4ff;
}

.main-nav a:hover::after {
  background-color: #00a4ff;
}

.main-nav a.active {
  background-color: transparent;
  color: #00a4ff;
}

.main-nav a.active::after {
  background-color: #00a4ff;
}

/*
 * 顶栏渐进收窄（三档）：
 * 1) ≤1400：藏搜索输入，保留橙色放大镜；点放大镜弹出搜索框
 * 2) ≤1100：横排导航折叠到最右汉堡；放大镜仍在
 * 3) ≤720（手机）：第一排 logo+站名+折叠；第二排搜索框+放大镜（及语言/登录）
 */

/* —— 第 1 档：搜索变图标，点击弹出 —— */
@media (max-width: 1400px) and (min-width: 721px) {
  .header-global-search {
    position: relative;
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .header-global-search-input {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(320px, 72vw);
    min-width: 200px;
    max-width: none;
    display: none;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
    z-index: 40;
  }

  .header-global-search.is-search-open .header-global-search-input {
    display: block;
  }

  .header-global-search-submit {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 8px;
  }

  .logo {
    max-width: min(420px, 34vw);
  }
}

/* —— 第 2 档：导航折叠到最右，放大镜保留 —— */
@media (max-width: 1100px) and (min-width: 721px) {
  .site-header .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .logo {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    margin-right: 0;
    overflow: hidden;
  }

  .logo-link,
  .logo a {
    font-size: clamp(12px, 2.6vw, 17px);
    gap: 6px;
  }

  .logo-img {
    height: 1.35em;
    max-height: 1.35em;
    max-width: min(100px, 22vw);
  }

  .header-actions {
    order: 2;
    margin-left: 0;
    gap: 6px;
    flex: 0 0 auto;
  }

  .nav-toggle {
    order: 3;
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: 0;
  }

  .main-nav {
    order: 4;
    display: none;
    flex: 1 1 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    font-size: 16px;
    padding: 4px 0 8px;
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
  }

  .site-header.is-nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    line-height: 1.3;
    padding: 12px 4px;
    border-bottom: 1px solid #f3f4f6;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .header-user-pill {
    display: none;
  }
}

/* —— 第 3 档：手机两排 —— */
@media (max-width: 720px) {
  .site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo toggle"
      "actions actions"
      "nav nav";
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .logo {
    grid-area: logo;
    order: unset;
    flex: unset;
    min-width: 0;
    max-width: none;
    margin: 0;
    overflow: hidden;
  }

  .logo-link,
  .logo a {
    max-width: 100%;
    width: 100%;
    font-size: clamp(11px, 3.2vw, 15px);
    gap: 6px;
  }

  .logo-img {
    height: 1.35em;
    max-height: 1.35em;
    width: auto;
    max-width: min(88px, 24vw);
    object-fit: contain;
  }

  .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  .nav-toggle {
    grid-area: toggle;
    display: inline-flex;
    order: unset;
    width: 38px;
    height: 38px;
    padding: 8px;
    margin: 0;
  }

  .header-actions {
    grid-area: actions;
    order: unset;
    margin-left: 0;
    width: 100%;
    justify-content: stretch;
    flex-wrap: nowrap;
    gap: 6px;
  }

  /* 手机：搜索框重新展开在第二排 */
  .header-global-search {
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: stretch;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  }

  .header-global-search-input {
    position: static;
    display: block;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 9px 12px;
    font-size: 14px;
  }

  .header-global-search.is-search-open .header-global-search-input {
    display: block;
  }

  .header-global-search-submit {
    width: 42px;
    height: auto;
    flex: 0 0 42px;
    border-radius: 0;
    padding: 0;
  }

  .lang-switch {
    flex-shrink: 0;
    font-size: 12px;
  }

  .header-login-btn {
    flex-shrink: 0;
    font-size: 12px;
    padding: 6px 8px;
  }

  .header-user-pill {
    display: none;
  }

  .main-nav {
    grid-area: nav;
    order: unset;
    display: none;
    width: 100%;
    flex: unset;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    font-size: 16px;
    padding: 4px 0 8px;
    border-top: 1px solid #e5e7eb;
    margin-top: 0;
  }

  .site-header.is-nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    line-height: 1.3;
    padding: 12px 4px;
    border-bottom: 1px solid #f3f4f6;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }
}

/* 保修查询明细：上下卡片，避免窄屏横滑 */
.wq-record-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 8px;
}

.wq-record-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
}

.wq-record-card h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.wq-record-card dl {
  margin: 0;
  display: grid;
  /* 窄屏也保持「标签 | 值」同排；仅详细说明类整行换行 */
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 12px;
  font-size: 14px;
  align-items: start;
}

.wq-record-card dt {
  margin: 0;
  color: #6b7280;
  font-weight: 500;
  white-space: nowrap;
}

.wq-record-card dd {
  margin: 0;
  color: #111827;
  word-break: break-word;
}

.wq-record-card dt.wq-block-label,
.wq-record-card dd.wq-block-value {
  grid-column: 1 / -1;
}

.wq-record-card dt.wq-block-label {
  margin-top: 4px;
  white-space: normal;
}

.wq-record-card dd.wq-block-value {
  white-space: pre-wrap;
  padding: 8px 10px;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #f3f4f6;
}

/* 后台快捷导航（仅 /admin 下显示，登录页除外） */
.admin-quick-nav {
  background: linear-gradient(90deg, #1e3a5f 0%, #1e40af 100%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-quick-nav .header-inner {
  padding: 8px 0;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-quick-nav-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-right: 8px;
}
.admin-quick-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  padding: 6px 12px;
  border-radius: 8px;
}
.admin-quick-nav a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.admin-quick-nav a.is-active {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.site-footer {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
  font-size: 14px;
  color: #666666;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-left p,
.footer-right > p {
  margin: 0 0 4px;
  line-height: 1.4;
}

.footer-left p:last-child,
.footer-right > p:last-of-type {
  margin-bottom: 0;
}

.footer-icp-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-icp-link:hover {
  color: #2563eb;
}

.footer-friend-wrap {
  padding: 10px 0 12px;
  border-top: 1px solid #e5e7eb;
  margin-top: 0;
}

.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 14px;
  color: #666666;
}

.footer-friend-label {
  flex-shrink: 0;
  color: #9ca3af;
}

.footer-friend-links a {
  color: #4b5563;
}

.footer-friend-links a:hover {
  color: #1d72f3;
}

.hero-banner {
  position: relative;
  /* 与整站内容区同宽（同 .container：max-width 1500px + 左右 24px），不拉满视口 */
  max-width: 1500px;
  margin: 0 auto;
  padding: 16px 24px 8px;
  box-sizing: border-box;
}

.hero-banner > .container {
  position: relative;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: none;
  background-color: #000000;
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  object-position: center;
  background-color: #0f172a;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #020617f2 0%,
    #020617d9 30%,
    #02061780 55%,
    transparent 100%
  );
  display: flex;
  align-items: center;
}

.hero-banner-inner {
  display: flex;
  align-items: center;
}

.hero-banner-text {
  max-width: 520px;
  color: #e5e7eb;
}

.hero-banner-text h1 {
  font-size: 34px;
  margin: 4px 0 10px;
  color: #f9fafb;
}

.hero-banner-text p {
  color: #e5e7eb;
  line-height: 1.7;
  font-size: 16px;
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #60a5fa;
  margin: 0 0 6px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background-color: #e5e7eb;
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  width: 16px;
  background-color: #1d72f3;
}

.hero-intro {
  padding: 20px 0 10px;
}

.hero-intro-inner {
  display: flex;
  flex-direction: column;
}

.hero-intro-text h1 {
  font-size: 32px;
  margin: 4px 0 8px;
  color: #111827;
}

.hero-intro-text p {
  color: #4b5563;
  line-height: 1.75;
  font-size: 16px;
}

.home-section-header {
  text-align: left;
  margin-bottom: 12px;
}

.home-section-header h2 {
  margin: 2px 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.home-section-header p {
  margin: 0;
  color: #666666;
  font-size: 16px;
  line-height: 1.65;
}

.home-section-header-tight {
  margin-bottom: 8px;
}

/* 资讯速览：左侧标题+副标题，右侧「进入资讯」链接垂直居中 */
.home-news-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}
.home-news-section-header-main {
  flex: 1;
  min-width: min(100%, 240px);
}
.home-news-more-link--head {
  margin-top: 0;
  align-self: center;
  flex-shrink: 0;
}

.section-kicker {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0;
}

.home-solutions-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .home-solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.home-solution-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 14px 16px;
}

.home-solution-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.home-solution-card p {
  margin: 0 0 8px;
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
}

.home-solutions-grid--themed .home-solution-card h3 {
  font-size: calc(var(--home-ps-fs, 17px) * 1.06);
}
.home-solutions-grid--themed .home-solution-card p {
  font-size: var(--home-ps-fs, 15px);
  color: var(--home-ps-fc, #666666);
}

/* 我们的优势 - 大图卡片布局 */
.adv-block-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.adv-block {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  text-decoration: none;
  color: inherit;
}

.adv-block--primary {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.adv-block-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f3f4f6;
}

.adv-block-image img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  background-color: #f3f4f6;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.adv-block-overlay {
  position: absolute;
  inset: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75), transparent 55%);
}

.adv-block-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.adv-block-overlay h3 {
  margin: 4px 0 0;
  font-size: 18px;
  color: #f9fafb;
}

.adv-block-overlay--light {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75), transparent 60%);
}

.adv-block-body {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #555555;
}

.adv-block-body p {
  margin: 0;
  line-height: 1.75;
}

.adv-block-body p + p {
  margin-top: 0.6em;
}

/* 右侧文字：字体大小（后台可选；整体较原先上调一档） */
.adv-block-body--size-12 { font-size: 14px; }
.adv-block-body--size-13 { font-size: 16px; }
.adv-block-body--size-14 { font-size: 17px; }
.adv-block-body--size-15 { font-size: 18px; }
.adv-block-body--size-16 { font-size: 19px; }

/* 右侧文字：美化模式 */
.adv-block-body--default p { line-height: 1.75; }
.adv-block-body--default p + p { margin-top: 0.6em; }

.adv-block-body--compact p { line-height: 1.5; }
.adv-block-body--compact p + p { margin-top: 0.35em; }
.adv-block-body--compact { color: #374151; }

.adv-block-body--lead p:first-child { font-size: 1.15em; color: #1f2937; font-weight: 500; }
.adv-block-body--lead p { line-height: 1.75; }
.adv-block-body--lead p + p { margin-top: 0.65em; }

.adv-block-body--minimal p { line-height: 1.85; color: #6b7280; }
.adv-block-body--minimal p + p { margin-top: 1em; }
.adv-block-body--minimal { padding-left: 4px; }

/* 滚动到视口时的动画效果 */
.adv-block-list.is-visible .adv-block-image img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .adv-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .adv-block-image img {
    height: 200px;
  }

  .hero-intro {
    padding-top: 16px;
  }

  .hero-intro-text h1 {
    font-size: 22px;
  }

  .home-feature-card {
    flex-direction: column;
  }
}

.home-news-section {
  margin-top: 12px;
}

.home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: 28px 40px;
  align-items: start;
}

.home-news-layout--fallback .home-news-col--list {
  max-width: 720px;
}

@media (max-width: 900px) {
  .home-news-layout:not(.home-news-layout--fallback) {
    grid-template-columns: 1fr;
  }
}

.home-news-col--list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-news-more-link:not(.home-news-more-link--head) {
  margin-top: 12px;
  align-self: flex-start;
}

.home-news-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 12px 10px;
  margin: 0 -10px;
  border-bottom: 1px solid #ececec;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.home-news-item-link:hover {
  background-color: #f9fafb;
}

.home-news-item-link:hover h3 {
  color: var(--pd-accent, #0066b3);
}

.home-news-placeholder-note {
  margin: 0;
  font-size: 15px;
  color: #888888;
  line-height: 1.55;
}

.home-news-item--placeholder {
  padding: 8px 0 4px;
}

.home-contact-qr-aside {
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 20px 22px 22px;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
}

.home-contact-qr-heading {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.home-contact-qr-hint {
  margin: 0 0 18px;
  font-size: 14px;
  color: #666666;
  line-height: 1.55;
}

.home-contact-qr-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: flex-start;
}

.home-contact-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.home-contact-qr-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  object-position: center;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px;
  box-sizing: border-box;
}

.home-contact-qr-more {
  display: inline-block;
  margin-top: 18px;
}

/* 联系我们页：微信 / 飞书二维码（尺寸大于原 130px，便于扫码） */
.contact-qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  margin: 20px 0;
  align-items: flex-start;
}

.contact-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
}

.contact-qr-item img {
  width: 240px;
  height: 240px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box;
}

@media (max-width: 520px) {
  .contact-qr-item img {
    width: min(240px, 88vw);
    height: min(240px, 88vw);
  }
}

.home-news-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.home-news-item p {
  margin: 0;
  font-size: 15px;
  color: #666666;
  line-height: 1.55;
}

/* 资讯中心列表样式 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.news-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.news-card-link {
  display: contents;
  text-decoration: none;
  color: inherit;
}

.news-card-image {
  border-radius: 12px;
  overflow: hidden;
  background-color: #f3f4f6;
}

.news-card-image img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  object-position: center;
  background-color: #f3f4f6;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666666;
}

.news-card-date {
  padding-right: 8px;
  border-right: 1px solid #e5e7eb;
}

.news-card-tag {
  padding: 2px 6px;
  border-radius: 999px;
  background-color: #eff6ff;
  color: #1d4ed8;
}

.news-card-title {
  margin: 2px 0 0;
  font-size: 17px;
  color: #111827;
}

.news-card-excerpt {
  margin: 2px 0 0;
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
}

.section {
  padding: 28px 0;
}

.section-alt {
  background-color: #ffffff;
}

.section-header h2 {
  margin: 0 0 6px;
}

.section-header p {
  margin: 0;
  color: #6b7280;
}

.product-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* 首页「精选实验室测试设备」：减少列数、加宽单卡（不同于列表页的 auto-fill 密列） */
.home-featured-product-grid {
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .home-featured-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .home-featured-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 产品列表分页：每页最多 12 条，大屏 3 列（4 行） */
.product-grid-12 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .product-grid-12 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid-12 { grid-template-columns: 1fr; }
}

/* 分页栏（上一页 / 数字页码 / 下一页 + 前往跳转，对齐工业站产品列表） */
.list-pagination {
  margin-top: 28px;
  margin-bottom: 12px;
  padding-top: 22px;
  border-top: 1px solid #e8e8e8;
  --pg-accent: var(--pd-accent, #0066b3);
  --pg-accent-hover: var(--pd-accent-hover, #004d88);
}
.list-pagination-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.list-pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 6px;
}
.list-pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--pd-text-strong, #333333);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
a.list-pagination-page:hover {
  border-color: var(--pg-accent);
  color: var(--pg-accent);
}
.list-pagination-page.is-current {
  background: var(--pg-accent);
  border-color: var(--pg-accent);
  color: #fff;
  font-weight: 700;
}
.list-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  color: #bfbfbf;
  font-size: 15px;
  user-select: none;
}
.list-pagination-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--pd-text-strong, #333333);
  background: #fafafa;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
a.list-pagination-step:hover:not(.is-disabled) {
  border-color: var(--pg-accent);
  color: var(--pg-accent);
  background: #fff;
}
.list-pagination-step.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.list-pagination-btn-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.list-pagination-icon-svg {
  flex-shrink: 0;
  display: block;
}
.list-pagination-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.list-pagination-info {
  color: #8c8c8c;
  font-size: 14px;
  font-weight: 400;
}
.list-pagination-num {
  color: var(--pd-text-strong, #333333);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.list-pagination-slash {
  color: #d9d9d9;
  font-weight: 400;
  padding: 0 4px;
}
.list-pagination-jump-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--pd-text-body, #666666);
}
.list-pagination-jump-label,
.list-pagination-jump-suffix {
  color: var(--pd-text-body, #666666);
}
.list-pagination-input {
  width: 56px;
  padding: 9px 10px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  font-size: 15px;
  text-align: center;
}
.list-pagination-go {
  padding: 8px 18px;
  border-radius: 2px;
}

/* 资讯列表：行布局 左封面 + 说明 + 右时间 */
.news-row-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.news-row-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.news-row-card-link {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  min-height: 120px;
}
.news-row-card-img {
  width: 200px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f3f4f6;
}
.news-row-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.news-row-card-body {
  padding: 12px 0;
  min-width: 0;
}
.news-row-card-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.news-row-card-body p {
  margin: 0;
  font-size: 15px;
  color: #666666;
  line-height: 1.55;
}
.news-row-card-meta {
  padding: 0 20px 0 0;
  font-size: 14px;
  color: #888888;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .news-row-card-link {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .news-row-card-img {
    width: 100%;
    height: 160px;
  }
  .news-row-card-meta { padding: 0 12px 12px; }
}

/* 服务与支持列表：行布局 类型图 + 名称描述 + 时间 + 查看/下载 */
.download-row-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.download-row-card {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}
.download-row-card-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 10px;
}
.download-row-card-icon img {
  max-width: 56px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.download-row-card-icon--ext {
  background: transparent;
  padding: 0;
}
/* 文件扩展名徽标：全站下载/资料链通用（.download-file-ext-badge 为旧类名保留） */
.file-ext-badge,
.download-file-ext-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 52px;
  min-height: 52px;
  max-width: 64px;
  padding: 4px 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.15;
  text-align: center;
  word-break: break-word;
  background: #6b7280;
}
.file-ext-badge--sm {
  min-width: 40px;
  min-height: 40px;
  max-width: 52px;
  padding: 3px 5px;
  font-size: 10px;
  border-radius: 8px;
}
.file-ext-badge--inline {
  min-width: 44px;
  min-height: 44px;
  max-width: 56px;
  font-size: 10px;
}
.file-ext-badge.ext-pdf,
.download-file-ext-badge.ext-pdf { background: #e53935; }
.file-ext-badge.ext-doc,
.file-ext-badge.ext-docx,
.file-ext-badge.ext-rtf,
.download-file-ext-badge.ext-doc,
.download-file-ext-badge.ext-docx,
.download-file-ext-badge.ext-rtf { background: #185abd; }
.file-ext-badge.ext-xls,
.file-ext-badge.ext-xlsx,
.file-ext-badge.ext-xlsm,
.file-ext-badge.ext-csv,
.download-file-ext-badge.ext-xls,
.download-file-ext-badge.ext-xlsx,
.download-file-ext-badge.ext-xlsm,
.download-file-ext-badge.ext-csv { background: #1e7e34; }
.file-ext-badge.ext-ppt,
.file-ext-badge.ext-pptx,
.download-file-ext-badge.ext-ppt,
.download-file-ext-badge.ext-pptx { background: #d24726; }
.file-ext-badge.ext-zip,
.file-ext-badge.ext-rar,
.file-ext-badge.ext-7z,
.file-ext-badge.ext-gz,
.file-ext-badge.ext-tar,
.download-file-ext-badge.ext-zip,
.download-file-ext-badge.ext-rar,
.download-file-ext-badge.ext-7z,
.download-file-ext-badge.ext-gz,
.download-file-ext-badge.ext-tar { background: #f57c00; }
.file-ext-badge.ext-txt,
.file-ext-badge.ext-md,
.file-ext-badge.ext-log,
.file-ext-badge.ext-json,
.file-ext-badge.ext-xml,
.download-file-ext-badge.ext-txt,
.download-file-ext-badge.ext-md,
.download-file-ext-badge.ext-log,
.download-file-ext-badge.ext-json,
.download-file-ext-badge.ext-xml { background: #546e7a; }
.file-ext-badge.ext-png,
.file-ext-badge.ext-jpg,
.file-ext-badge.ext-jpeg,
.file-ext-badge.ext-gif,
.file-ext-badge.ext-webp,
.file-ext-badge.ext-svg,
.file-ext-badge.ext-bmp,
.file-ext-badge.ext-ico,
.download-file-ext-badge.ext-png,
.download-file-ext-badge.ext-jpg,
.download-file-ext-badge.ext-jpeg,
.download-file-ext-badge.ext-gif,
.download-file-ext-badge.ext-webp,
.download-file-ext-badge.ext-svg,
.download-file-ext-badge.ext-bmp,
.download-file-ext-badge.ext-ico { background: #8e24aa; }
.file-ext-badge.ext-mp4,
.file-ext-badge.ext-avi,
.file-ext-badge.ext-mov,
.file-ext-badge.ext-wmv,
.file-ext-badge.ext-mkv,
.download-file-ext-badge.ext-mp4,
.download-file-ext-badge.ext-avi,
.download-file-ext-badge.ext-mov,
.download-file-ext-badge.ext-wmv,
.download-file-ext-badge.ext-mkv { background: #6a1b9a; }
.file-ext-badge.ext-mp3,
.file-ext-badge.ext-wav,
.file-ext-badge.ext-flac,
.download-file-ext-badge.ext-mp3,
.download-file-ext-badge.ext-wav,
.download-file-ext-badge.ext-flac { background: #00838f; }
.file-ext-badge.ext-dwg,
.file-ext-badge.ext-dxf,
.download-file-ext-badge.ext-dwg,
.download-file-ext-badge.ext-dxf { background: #455a64; }
.file-ext-badge.ext-exe,
.file-ext-badge.ext-msi,
.file-ext-badge.ext-dmg,
.download-file-ext-badge.ext-exe,
.download-file-ext-badge.ext-msi,
.download-file-ext-badge.ext-dmg { background: #37474f; }
.download-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.doc-list-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.product-related-file-icon {
  flex-shrink: 0;
  min-width: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
}
.search-summary-dl-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.search-summary-dl-badge {
  flex-shrink: 0;
}
.search-summary-dl-text {
  min-width: 0;
  flex: 1;
}
.download-row-card-body {
  min-width: 0;
}
.download-row-card-body h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.download-row-card-body p {
  margin: 0;
  font-size: 15px;
  color: #666666;
  line-height: 1.55;
}
.download-row-card-meta {
  font-size: 14px;
  color: #888888;
  white-space: nowrap;
}
.download-row-card-actions {
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .download-row-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .download-row-card-icon { grid-column: 1; }
  .download-row-card-body { grid-column: 1; }
  .download-row-card-meta { grid-column: 1; }
  .download-row-card-actions { grid-column: 1; }
}

.list-loading {
  padding: 24px;
  text-align: center;
  color: #6b7280;
}
.list-empty {
  padding: 16px;
  color: #6b7280;
  text-align: center;
}

/* 产品列表页：卡片严格「上图下文」，图片在上、文字紧挨下方 */
.product-list-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto 1fr !important;
  align-items: start !important;
}

.product-list-card__img-wrap {
  width: 100%;
  grid-column: 1;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  background-color: #f3f4f6;
}

.product-list-card__img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.25s ease;
}

.product-list-card:hover .product-list-card__img {
  transform: scale(1.05);
}

.product-list-card__body {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px 14px;
}

/* 兼容旧类名 */
.product-grid .product-card,
.product-grid--interactive .product-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.product-grid .product-image-wrapper,
.product-grid--interactive .product-image-wrapper {
  flex: 0 0 auto;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #f3f4f6;
}

.product-grid .product-info,
.product-grid--interactive .product-info {
  flex: 1 1 auto;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.product-card {
  background-color: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
}

/* 首页精选设备：图片 + 文字一体卡片 */
.home-feature-card {
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f3f4f6;
}

.product-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s ease;
  display: block;
  vertical-align: middle;
}

.product-grid .product-image,
.product-grid--interactive .product-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
}

.product-card-hover:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 12px 14px 14px;
}

.product-info h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.product-category {
  margin: 0 0 6px;
  font-size: 12px;
  color: #6b7280;
}

.product-desc {
  margin: 0 0 8px;
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
}

/* 产品列表页内卡片：标题 #333、摘要 #666，hover 细边框 + 浅阴影（对标工业站） */
.products-layout .product-card {
  border-radius: 4px;
  border-color: #e8e8e8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.products-layout .product-card-hover:hover {
  border-color: rgba(0, 102, 179, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.products-layout .product-info h3 {
  color: var(--pd-text-strong, #333333);
}
.products-layout .product-desc {
  color: var(--pd-text-body, #666666);
  font-size: 15px;
  line-height: 1.65;
}

.products-layout .btn-primary {
  background-color: var(--pd-accent, #0066b3);
  color: #ffffff;
}
.products-layout .btn-primary:hover {
  background-color: var(--pd-accent-hover, #004d88);
}

.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.link-small {
  font-size: 14px;
  color: #2563eb;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.tag {
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 999px;
  background-color: #eff6ff;
  color: #1d4ed8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 14px;
}

.btn-primary {
  background-color: #1d72f3;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1554b3;
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #1f2933;
}

.btn-secondary:hover {
  background-color: #d1d5db;
}

.btn-ghost {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  color: #374151;
}

.btn-ghost:hover {
  background-color: #f3f4f6;
}

.btn-danger {
  background-color: #dc2626;
  color: #fff;
}

.btn-danger:hover {
  background-color: #b91c1c;
}

.page-header {
  padding: 36px 0 16px;
}

.page-header h1 {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 32px;
  color: #111827;
}

.page-header p {
  margin: 0;
  color: #666666;
  font-size: 16px;
  line-height: 1.65;
}

.products-toolbar {
  margin-bottom: 10px;
}

/* 产品列表/详情区域：工业站风格色板（参考信捷类产品中心层级） */
.products-layout {
  --pd-accent: #0066b3;
  --pd-accent-hover: #004d88;
  --pd-text-strong: #333333;
  --pd-text-body: #666666;
  display: grid;
  grid-template-columns: minmax(148px, 14%) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.products-sidebar {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
}

.sidebar-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.sidebar-nav {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 16px;
}

.sidebar-nav li {
  margin-bottom: 4px;
}

.sidebar-nav a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  color: #4b5563;
}

.sidebar-nav a:hover {
  background-color: #f3f4ff;
}

.sidebar-nav a.is-active {
  background-color: var(--pd-accent, #0066b3);
  color: #ffffff;
}

/* 一类保持原字号，二类默认小字 */
.sidebar-nav > li > a {
  font-size: 16px;
}

.sidebar-nav-sub {
  list-style: none;
  padding-left: 16px;
  margin: 4px 0 0 0;
}

.sidebar-nav-sub a {
  font-size: 15px;
  transition: font-size 0.15s ease;
}

.sidebar-nav > li:hover .sidebar-nav-sub a {
  font-size: 16px;
}

.products-main {
  min-width: 0;
}

/* 分类侧栏与右侧列表顶边对齐：侧栏盒子顶与首条列表卡片/行的顶边框对齐（去掉主栏列表默认 margin-top） */
.products-layout .products-main .product-grid,
.products-layout .products-main .download-row-list,
.products-layout .products-main .news-row-list,
.products-layout .products-main .doc-list-grid {
  margin-top: 0;
}

/* =========================
 * 产品详情页布局优化
 * ======================= */

/* 顶部搜索框：在详情页中变窄一些，更精致 */
.product-detail-search {
  margin: 0 0 14px 0;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.1fr);
}

.product-detail-layout .products-main {
  background-color: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 14px 16px 18px;
}

.product-detail-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.product-detail-gallery {
  flex: 0 0 440px;
  max-width: 440px;
  position: relative;
}

.product-detail-cover {
  border-radius: 12px;
  overflow: hidden;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.product-detail-cover-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.2s ease, transform-origin 0.15s ease;
  cursor: zoom-in;
}

/* 新版主图悬停放大：镜片 + 右侧预览（仅在有 hover 的精细指针设备上由 JS 启用） */
.product-detail-cover-zoom-host {
  position: relative;
  display: block;
  line-height: 0;
}
.product-detail-gallery--zoom .product-detail-cover-img {
  cursor: crosshair;
}
.product-detail-zoom-lens {
  position: absolute;
  box-sizing: border-box;
  width: 88px;
  height: 88px;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease, visibility 0.12s ease;
  z-index: 2;
}
.product-detail-zoom-lens.is-visible {
  opacity: 1;
  visibility: visible;
}
.product-detail-zoom-panel {
  position: absolute;
  left: calc(100% + 12px);
  top: 0;
  z-index: 6;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.product-detail-zoom-panel.is-visible {
  opacity: 1;
  visibility: visible;
}
.product-detail-zoom-panel-inner {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-color: #f3f4f6;
}

/* 缩略图横排 + 左右箭头 */
.product-detail-thumbs-wrapper {
  position: relative;
  margin-top: 8px;
  padding: 0 26px;
}

.product-detail-thumbs-track {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.product-detail-thumb {
  flex: 0 0 72px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  background-color: #f3f4f6;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.product-detail-thumb:hover {
  transform: translateY(-1px);
  border-color: #2563eb;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

.product-detail-thumb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #374151;
  background-color: #f9fafb;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

.product-detail-thumb-arrow--left {
  left: 0;
}

.product-detail-thumb-arrow--right {
  right: 0;
}

.product-detail-summary {
  flex: 1;
  min-width: 0;
}

.product-detail-summary h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* 字段行：标签浓、数值浅（对标规格页「标题黑 / 参数灰」） */
.pd-label {
  font-weight: 700;
  color: #111827;
}
.pd-sep {
  font-weight: 400;
  color: #9ca3af;
}
.pd-value {
  font-weight: 400;
  color: #888888;
}

.product-detail-model {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
}

.product-detail-desc {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-line;
}

.product-detail-meta {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
}

.product-detail-video {
  margin-top: 6px;
}

.product-detail-tabs {
  margin-top: 18px;
}

.product-detail-tabs .tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.product-detail-tabs .tab-link {
  border: none;
  background: transparent;
  padding: 10px 14px 12px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 0;
  color: var(--pd-text-body, #666666);
  font-weight: 500;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.product-detail-tabs .tab-link.is-active {
  color: var(--pd-accent, #0066b3);
  border-bottom-color: var(--pd-accent, #0066b3);
  font-weight: 700;
}

.product-detail-tabs .tab-link:hover {
  color: var(--pd-text-strong, #333333);
}

.product-detail-tabs .tab-panel {
  display: none;
}

.product-detail-tabs .tab-panel.is-active {
  display: block;
}

/* 对标参考站「规格参数」区块：中文大标题 + 灰色英文副标题 */
.product-spec-section-head {
  text-align: center;
  margin: 0 0 22px;
}
.product-spec-section-title {
  margin: 0 0 6px;
  font-family: "Source Han Sans CN", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  line-height: 1.5;
}
.product-spec-section-sub {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #999999;
  line-height: 1.5;
}
.product-spec-section-head--compact {
  margin-bottom: 14px;
}
.product-spec-section-head--compact .product-spec-section-title {
  font-size: 22px;
}
.product-spec-section-head--compact .product-spec-section-sub {
  font-size: 14px;
}

.product-detail-rich {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.75;
  overflow-x: auto;
}

.products-layout .product-detail-rich,
.products-layout .product-detail-rich p {
  color: var(--pd-text-body, #666666);
}

.product-detail-rich h2,
.product-detail-rich h3,
.product-detail-rich h4 {
  color: #111827;
  font-weight: 700;
  line-height: 1.3;
  margin: 1.25em 0 0.65em;
}

.product-detail-rich h2:first-child,
.product-detail-rich h3:first-child,
.product-detail-rich h4:first-child {
  margin-top: 0;
}

.product-detail-rich p {
  margin: 0 0 12px;
  color: #6b7280;
}

.product-detail-rich a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: underline;
}

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

/* 让从 Word / WPS 粘贴过来的表格在详情区域内自适应宽度、可横向滚动 */
.product-detail-rich table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.product-detail-rich table td,
.product-detail-rich table th {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  word-break: break-word;
  vertical-align: top;
}

.product-detail-rich table th {
  font-weight: 700;
  color: #111827;
  background: #fafafa;
}

.product-detail-rich table td {
  font-weight: 400;
  color: #6b7280;
  font-size: 14px;
}

/* 型号规格专用表（buildProductDetailHtml 输出的 .spec-table） */
.product-detail-rich table.spec-table th {
  background: transparent;
  width: 38%;
  max-width: 200px;
}

.product-detail-rich table.spec-table td {
  background: #fff;
}

/* 「型号规格」Tab 内：参数名 20px 黑 / 数值 14px #888（对齐参考页栅格文案层级） */
.product-detail-spec-rich table.spec-table th {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  line-height: 1.75;
}
.product-detail-spec-rich table.spec-table td {
  font-size: 14px;
  font-weight: 400;
  color: #888888;
  line-height: 1.75;
}

/* 内嵌富文本工具栏（产品/资讯/服务编辑页） */
.rich-editor-wrap .rt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 12px;
}
.rich-editor-wrap .rt-toolbar button,
.rich-editor-wrap .rt-toolbar select,
.rich-editor-wrap .rt-toolbar label {
  font-size: 12px;
}
.rich-editor-wrap .rt-toolbar select {
  min-width: 90px;
  padding: 4px 8px;
}
.rich-editor-wrap .rich-editor {
  min-height: 200px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 8px;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
  overflow: auto;
}

.product-related-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-related-item {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  background-color: #ffffff;
}

.product-related-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.product-related-type {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: #eff6ff;
  color: #1d4ed8;
}

.product-related-title {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.product-related-meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.product-related-actions {
  font-size: 12px;
}

@media (max-width: 768px) {
  .product-detail-top {
    flex-direction: column;
  }

  .product-detail-gallery {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .product-detail-search {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.3fr) auto;
  gap: 10px;
  align-items: flex-end;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.field-group label {
  color: #6b7280;
}

.field-group input,
.field-group select,
.field-group textarea {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 6px 8px;
  font-size: 13px;
  font-family: inherit;
}

.field-group textarea {
  resize: vertical;
}

.field-group-actions {
  display: flex;
  flex-direction: row;
  gap: 6px;
  justify-content: flex-end;
}

.form-note.ok { color: #059669; }
.form-note.err { color: #dc2626; }

.form-note {
  margin: 4px 0 0;
  font-size: 11px;
  color: #9ca3af;
}

/* 保修查询说明字号与「出厂编号」标签一致 */
.warranty-query-wrap > .form-note,
.warranty-query-wrap .warranty-query-tip {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.warranty-result {
  margin-top: 12px;
}
.warranty-result.err .form-note {
  color: #dc2626;
  font-size: 14px;
}
.warranty-result.ok .warranty-result-table {
  font-size: 14px;
}

.home-search {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 520px;
}

.home-search input[type='search'],
.home-search input[type='text'] {
  flex: 1 1 200px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  padding: 7px 14px;
  font-size: 13px;
  font-family: inherit;
  min-width: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
}

.lang-switch a {
  padding: 2px 6px;
  border-radius: 4px;
  color: inherit;
}

.lang-switch a:hover {
  color: #111827;
}

.lang-switch a.active {
  font-weight: 600;
  background-color: #1d72f3;
  color: #ffffff;
}

.header-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid #ea580c;
  background: #ea580c;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-login-btn:hover {
  background: #c2410c;
  border-color: #c2410c;
  color: #fff !important;
}

.contact-float {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 40;
}

.contact-float-inner {
  background-color: #ffffff;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-float-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-float-label {
  font-size: 13px;
  color: #666666;
}

.contact-float-phone {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.contact-float-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-float-og-icon {
  font-size: 14px;
  opacity: 0.85;
  text-decoration: none;
  line-height: 1;
}

@media (max-width: 768px) {
  .contact-float {
    left: 0;
    right: 0;
    bottom: 0;
  }

  .contact-float-inner {
    border-radius: 0;
    border-left: none;
    border-right: none;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .about-layout,
  .contact-layout,
  .search-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .products-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .products-sidebar {
    order: -1;
  }

  .site-header {
    position: sticky;
  }

  .search-form {
    align-items: stretch;
  }

  .field-group-actions {
    justify-content: stretch;
  }

  .home-search {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-slide img {
    height: 260px;
  }

  .hero-banner-overlay {
    align-items: flex-end;
    padding-bottom: 18px;
  }

  .hero-banner-text h1 {
    font-size: 24px;
  }

  .home-section-two-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat-card--primary {
    grid-column: span 1;
  }
}

/* 简单产品/资讯详情页、下载列表 */
.product-detail { display: grid; gap: 24px; }
.product-detail-img img { width: 100%; max-height: 400px; object-fit: contain; background: #f3f4f6; border-radius: 8px; }
.product-detail-body h1 { margin: 0 0 8px; font-size: 28px; }
.product-model { color: #666666; margin: 0 0 12px; font-size: 15px; }
.product-summary, .product-summary-en { margin: 0 0 8px; line-height: 1.6; }
.news-detail-img { margin-bottom: 16px; }
.news-detail-img img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  background: #f3f4f6;
  border-radius: 8px;
}
.news-detail-content { line-height: 1.75; font-size: 16px; }
.news-detail-meta { color: #666666; font-size: 15px; margin: 0 0 12px; }
.download-items { list-style: none; padding: 0; margin: 0; }
.download-items li { padding: 12px 0; border-bottom: 1px solid #e5e7eb; }
.download-items a { font-weight: 600; color: #2563eb; }
.download-items .file-size { color: #888888; font-size: 14px; margin-left: 8px; }
.download-items p { margin: 4px 0 0; font-size: 15px; color: #666666; line-height: 1.55; }

/* ========== 分类页/详情页：左侧栏目 + 右侧列表 ========== */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(148px, 14%) minmax(0, 1fr);
  gap: 28px;
  padding: 28px 16px 48px;
  align-items: start;
}
.list-sidebar {
  position: sticky;
  top: 70px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px 12px;
  border: 1px solid #e5e7eb;
}
.sidebar-empty { margin: 0; font-size: 15px; color: #666666; }
.sidebar-nav { margin: 0; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-item { margin: 0 0 4px; }
.sidebar-item a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 15px;
  color: #374151;
}
.sidebar-item a:hover { background: #e5e7eb; color: #111827; }
.sidebar-item a.active { background: #1d72f3; color: #fff; }
.sidebar-sub { list-style: none; padding: 0 0 0 12px; margin: 4px 0 0; }
.sidebar-sub li { margin: 2px 0; }
.sidebar-sub a { font-size: 14px; }
.list-main { min-width: 0; }
.list-page-title { margin: 0 0 16px; font-size: 26px; font-weight: 700; }
.list-search-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.list-search-input {
  flex: 1;
  min-width: 0;
  padding: 9px 16px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 15px;
}
.list-search-btn { flex-shrink: 0; }
.list-empty { color: #666666; font-size: 15px; margin: 16px 0 0; }

/* 资讯列表网格 */
.news-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.news-list-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.news-list-card-link { text-decoration: none; color: inherit; display: block; }
.news-list-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f3f4f6;
}
.news-list-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.news-list-card-body { padding: 14px 16px; }
.news-list-card-date { font-size: 14px; color: #888888; display: block; margin-bottom: 4px; }
.news-list-card-body h3 { margin: 0 0 6px; font-size: 17px; }
.news-list-card-body p { margin: 0; font-size: 15px; color: #666666; line-height: 1.55; }

/* 下载列表 */
.doc-list-grid { display: flex; flex-direction: column; gap: 12px; }
.doc-list-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 12px 14px;
}
.doc-list-card-link { text-decoration: none; color: inherit; display: flex; align-items: flex-start; gap: 12px; }
.doc-list-card-type {
  flex-shrink: 0;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}
.doc-list-card-body { min-width: 0; }
.doc-list-card-body h3 { margin: 0 0 4px; font-size: 17px; }
.doc-list-card-body p { margin: 0; font-size: 15px; color: #666666; line-height: 1.55; }

/* ========== 产品详情页：图廊 + 信息 + 视频 + 分页 ========== */
.product-detail-page.layout-with-sidebar { align-items: start; }
.product-detail-main { display: flex; flex-direction: column; gap: 28px; }
.product-detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.product-detail-info {}
.product-detail-name { margin: 0 0 8px; font-size: 26px; font-weight: 700; }
.product-detail-model { margin: 0 0 10px; font-size: 16px; line-height: 1.55; color: #666666; }
.product-detail-desc { margin: 0 0 12px; font-size: 16px; line-height: 1.75; color: #666666; white-space: pre-wrap; }
.product-detail-date { margin: 0; font-size: 13px; color: #6b7280; }
.product-detail-video { margin-top: 8px; }
.product-detail-video-title { margin: 0 0 12px; font-size: 16px; }
.product-detail-video-inner {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  max-width: 720px;
}
.product-detail-video-inner iframe,
.product-detail-video-inner video { width: 100%; height: 100%; display: block; }
.product-detail-video-fallback { margin: 0; font-size: 14px; }
.product-detail-video-fallback a { color: var(--pd-accent, #0066b3); }
.product-detail-tabs {}
.tab-empty { margin: 0; color: #6b7280; font-size: 14px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th,
.spec-table td { padding: 12px 14px; text-align: left; border: 1px solid #e5e7eb; vertical-align: top; }
.spec-table th {
  font-weight: 700;
  color: #000000;
  background: transparent;
  font-size: 20px;
  line-height: 1.75;
  width: 38%;
  max-width: 220px;
}
.spec-table td { font-weight: 400; color: #888888; font-size: 14px; line-height: 1.75; }
.product-detail-content { line-height: 1.7; }
.product-detail-content p { margin: 0 0 10px; }
@media (max-width: 900px) {
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .list-sidebar { position: static; }
  .product-detail-top { grid-template-columns: 1fr; }
}

/* ========== 产品详情页（复原排版）：page-header、products-layout、tabs、相关列表 ========== */
.page-header {
  padding: 20px 0 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.page-header .container { padding: 0 16px; }
.page-header .section-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 600;
}
.page-header h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: #333333;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.page-header p { margin: 0; font-size: 13px; color: #666666; line-height: 1.55; }

.products-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px 0 48px;
}
.product-detail-layout.products-layout { padding: 20px 0 48px; }
.products-sidebar {
  position: sticky;
  top: 70px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px 14px;
  border: 1px solid #e5e7eb;
}
.products-sidebar .sidebar-title { margin: 0 0 12px; font-size: 17px; font-weight: 700; color: #111827; }
.products-sidebar .sidebar-nav { list-style: none; padding: 0; margin: 0; font-size: 16px; }
.products-sidebar .sidebar-nav > li { margin: 0 0 4px; }
.products-sidebar .sidebar-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 16px;
  color: #374151;
}
.products-sidebar .sidebar-nav a:hover { background: #e5e7eb; color: #111827; }
.products-sidebar .sidebar-nav a.is-active { background: var(--pd-accent, #0066b3); color: #fff; }
.products-sidebar .sidebar-nav-sub { list-style: none; padding: 0 0 0 12px; margin: 6px 0 0; }
.products-sidebar .sidebar-nav-sub li { margin: 2px 0; }
.products-sidebar .sidebar-nav-sub a { font-size: 15px; }

.search-form.product-detail-search {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: flex-end;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}
.search-form .field-group { display: flex; flex-direction: column; gap: 4px; }
.search-form .field-group label { font-size: 13px; font-weight: 600; color: #374151; }
.search-form .field-group input,
.search-form .field-group select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  min-width: 180px;
}
.search-form .field-group-actions { display: flex; gap: 10px; align-items: center; }

.products-main.product-detail-main { min-width: 0; }
.products-main .product-detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}
.products-main .product-detail-cover {
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  margin-bottom: 12px;
}
.products-main .product-detail-cover-img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  display: block;
}
.products-main.product-detail-main .product-detail-gallery--zoom .product-detail-cover-img {
  cursor: crosshair;
}
.products-main .product-detail-thumbs-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.products-main .product-detail-thumb-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.products-main .product-detail-thumb-arrow:hover { background: #f3f4f6; }
.products-main .product-detail-thumbs-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  flex: 1;
  min-width: 0;
}
.products-main .product-detail-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  object-fit: contain;
  object-position: center;
  background-color: #f3f4f6;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
}
.products-main .product-detail-thumb.is-active { border-color: var(--pd-accent, #0066b3); }
.products-main .product-detail-summary h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
  color: #333333;
  letter-spacing: -0.02em;
}
.products-main .product-detail-summary .product-detail-model { margin: 0 0 10px; font-size: 15px; }
.products-main .product-detail-summary .product-detail-desc { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: #666666; }
.products-main .product-detail-summary .product-detail-meta { margin: 0; font-size: 13px; }

/* 标签页与富文本规格表：与全局 .product-detail-tabs / .product-detail-rich 一致，不在此重复覆盖颜色 */
.products-main .product-detail-tabs .tabs-body { }
.products-main .product-detail-tabs .tab-panel { display: none; }
.products-main .product-detail-tabs .tab-panel.is-active { display: block; }

.product-related-list { list-style: none; padding: 0; margin: 0; }
.product-related-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}
.product-related-item:last-child { border-bottom: none; }
.product-related-main { min-width: 0; flex: 1; }
.product-related-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.product-related-type {
  flex-shrink: 0;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}
.product-related-title { font-weight: 700; font-size: 15px; color: #111827; }
.product-related-meta { font-size: 13px; color: #6b7280; margin-bottom: 6px; }
.product-related-actions { }

@media (max-width: 900px) {
  .products-layout { grid-template-columns: 1fr; }
  .products-sidebar { position: static; }
  .products-main .product-detail-top { grid-template-columns: 1fr; }
  .search-form.product-detail-search { flex-direction: column; align-items: stretch; }
}

.list-toolbar-hint {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 12px;
  line-height: 1.5;
}

.list-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
}

.search-hit {
  background: linear-gradient(180deg, transparent 60%, #fde047 60%);
  padding: 0 2px;
}

.search-summary-layout {
  display: grid;
  grid-template-columns: minmax(148px, 14%) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.search-summary-sidebar-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.search-summary-sidebar-line {
  height: 2px;
  width: 40px;
  background: #ea580c;
  margin-bottom: 16px;
}

.search-summary-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-summary-cats li {
  margin-bottom: 8px;
}

.search-summary-cats a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 15px;
  color: #374151;
}

.search-summary-cats a:hover {
  background: #f3f4f6;
}

.search-summary-cats a.is-active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.search-summary-hint {
  font-size: 16px;
  color: #666666;
  line-height: 1.65;
  margin: 0 0 24px;
}

.search-summary-section {
  margin-bottom: 36px;
  scroll-margin-top: 88px;
}

.search-summary-section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #111827;
}

.search-summary-count {
  font-weight: 600;
  color: #ea580c;
}

.search-summary-empty {
  margin: 0;
  font-size: 15px;
  color: #888888;
}

.search-summary-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 15px;
  color: #2563eb;
  font-weight: 600;
}

.search-summary-more:hover {
  text-decoration: underline;
}

.search-summary-dl-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-summary-dl-item {
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}

.search-summary-dl-item:last-child {
  border-bottom: none;
}

.search-summary-dl-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 14px;
  color: #888888;
}

.search-summary-dl-type {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
}

.search-summary-dl-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.search-summary-dl-item h3 a {
  color: #111827;
}

.search-summary-dl-item h3 a:hover {
  color: #2563eb;
}

.search-summary-dl-item p {
  margin: 0;
  font-size: 15px;
  color: #666666;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .search-summary-layout {
    grid-template-columns: 1fr;
  }
}

