/* ==========================================================================
   家电行业官网样板 01 · 朗适家电 ·【版式骨架 D：目录 / 分销型】
   与其他样板的区别（是换骨架，不是换配色）：
     · 没有大图首屏：最上面是「搜索 + 客服电话 + 批量询价」的紧凑工具条
     · 导航下面多一条可横向滑动的「产品分类」条，当前项高亮
     · 主体是「左筛选栏 + 右密集产品网格」，网格 3 列 × 2 行，紧凑小卡片
     · 中段是真正的参数对比 <table>，窄屏时在容器内横向滚动
     · 服务条目是一行 4 条无边框细条目（分隔线隔开，不用卡片）
     · 结尾只留一条细询价横条；页脚四栏 + 一行版权
   配色沿用：白 / 浅灰 / 深蓝墨 / 科技蓝 / 青
   零依赖、零构建、无外部 CDN、无脚本
   ========================================================================== */

:root {
  --white:      #FFFFFF;
  --ink:        #0F1B2A;
  --ink-soft:   #5B6875;
  --ink-faint:  #8A97A5;
  --mist:       #F4F6F8;
  --mist-deep:  #EDF1F5;
  --blue:       #1E6FD9;
  --blue-deep:  #175BB5;
  --blue-tint:  #E8F1FD;
  --teal:       #22B8CF;
  --line:       #E3E8EE;
  --line-strong:#CFD8E3;

  --radius:     6px;
  --radius-sm:  3px;
  --container:  1200px;
  --gutter:     22px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 122px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0 0 10px; font-weight: 600; line-height: 1.32; letter-spacing: 0.01em; }
h1 { font-size: clamp(1.45rem, 3.2vw, 2.05rem); }
h2 { font-size: clamp(1.2rem, 2.6vw, 1.6rem); }
h3 { font-size: 0.9375rem; }
p  { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
dt, dd { margin: 0; }
input, button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--blue);
}

/* 按钮（小圆角、细边框，不用重阴影） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }

/* ============================ 样板提示条 ============================ */
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding: 9px 20px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  text-align: center;
}
.demo-tag {
  padding: 2px 10px;
  border: 1px solid rgba(34, 184, 207, 0.75);
  border-radius: 999px;
  color: #7FD3E8;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* ============================ 顶部工具条 ============================ */
.util-bar {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.util-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-block: 10px;
}
.util-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 240px;
  max-width: 420px;
  min-height: 40px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  transition: border-color 0.2s var(--ease);
}
.util-search:focus-within { border-color: var(--blue); }
.util-search-icon { flex: none; width: 16px; height: 16px; }
.util-search input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 0.875rem;
  -webkit-appearance: none;
  appearance: none;
}
.util-search input::placeholder { color: #93A0AE; }
.util-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.util-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-left: auto;
}
.util-tel {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.util-tel b {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.util-tel:hover b { color: var(--blue); }

/* ============================ 导航 + 分类条 ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; color: var(--blue); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 1rem; font-weight: 600; letter-spacing: 0.06em; white-space: nowrap; }
.brand-text small { font-size: 0.625rem; letter-spacing: 0.14em; color: var(--ink-soft); white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 22px; }
.nav-list a {
  position: relative;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.22s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after { transform: scaleX(1); }

/* 汉堡开关：用 :target 而非 checkbox —— 点菜单项后 URL 片段一变，菜单就自动收起，
   不会像 checkbox 那样一直盖在内容上（手机端点「产品目录」看不到内容就是这个原因） */
.nav-toggle-label { display: none; }
.nav-close, .nav-backdrop { display: none; }


/* 产品分类条：横向可滑 */
.cat-strip {
  background: var(--mist);
  border-top: 1px solid var(--line);
}
.cat-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 9px;
}
.cat-label {
  flex: none;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.cat-scroll {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 auto;
  min-width: 0;
  padding-block: 1px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-radio {
  position: absolute; width: 1px; height: 1px; margin: 0; padding: 0;
  opacity: 0; pointer-events: none; clip-path: inset(50%);
}
.cat-chip {
  flex: none;
  padding: 5px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.cat-chip:hover { border-color: var(--blue); color: var(--blue-deep); }

#cat-all:checked   ~ .cat-chip[for="cat-all"],
#cat-wash:checked  ~ .cat-chip[for="cat-wash"],
#cat-air:checked   ~ .cat-chip[for="cat-air"],
#cat-kitchen:checked ~ .cat-chip[for="cat-kitchen"],
#cat-small:checked ~ .cat-chip[for="cat-small"] {
  background: var(--blue-tint);
  border-color: var(--blue);
  color: var(--blue-deep);
  font-weight: 600;
}
#cat-all:focus-visible   ~ .cat-chip[for="cat-all"],
#cat-wash:focus-visible  ~ .cat-chip[for="cat-wash"],
#cat-air:focus-visible   ~ .cat-chip[for="cat-air"],
#cat-kitchen:focus-visible ~ .cat-chip[for="cat-kitchen"],
#cat-small:focus-visible ~ .cat-chip[for="cat-small"] {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ============================ 目录页头（不是大图首屏） ============================ */
.page-head {
  background: linear-gradient(180deg, var(--white) 0%, var(--mist) 100%);
  border-bottom: 1px solid var(--line);
}
.page-head-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 30px;
  padding-block: clamp(18px, 2.4vw, 30px);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.crumb a { border-bottom: 1px solid transparent; }
.crumb a:hover { color: var(--blue); border-bottom-color: currentColor; }
.crumb span { color: var(--line-strong); }
.page-head h1 { margin-bottom: 8px; }
.page-lead { max-width: 46em; margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }
.head-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
}
.head-facts div { padding-left: 12px; border-left: 2px solid var(--line-strong); }
.head-facts dt { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-soft); }
.head-facts dd { font-size: 1rem; font-weight: 600; }

/* ============================ 主体两栏：筛选 + 网格 ============================ */
.catalog { padding: clamp(22px, 3vw, 36px) 0 clamp(38px, 5vw, 60px); }
.catalog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

/* 左栏：筛选 */
.filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.filters-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.filters-summary::-webkit-details-marker { display: none; }
.filters-summary::after {
  content: "＋";
  margin-left: auto;
  color: var(--blue);
  font-size: 0.875rem;
  line-height: 1;
}
.filters[open] .filters-summary::after { content: "－"; }
.filters-hint { font-size: 0.75rem; font-weight: 400; color: var(--ink-soft); }

.filters-body { border-top: 1px solid var(--line); }
.filters-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 8px;
}
.filters-title { margin: 0; font-size: 0.875rem; letter-spacing: 0.1em; }
.filters-reset {
  font-size: 0.8125rem;
  color: var(--blue);
  border-bottom: 1px solid transparent;
}
.filters-reset:hover { border-bottom-color: currentColor; }

.filter-group { padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.filter-group h3 {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.filter-group label:hover { color: var(--ink); }
.filter-group .num { margin-left: auto; font-size: 0.75rem; color: var(--ink-faint); }
.filter-group input[type="radio"] {
  flex: none;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.filter-group input[type="radio"]:checked {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 4px var(--blue);
}
.filter-group label:has(input:checked) { color: var(--ink); font-weight: 600; }

/* 右栏：结果 + 密集网格 */
.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 13px;
}
.results-count { margin: 0; font-size: 0.875rem; color: var(--ink-soft); }
.results-count b { margin-right: 2px; color: var(--ink); font-size: 1.0625rem; }
.results-note { margin: 0; font-size: 0.75rem; color: var(--ink-faint); }

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

/* 紧凑产品卡：小圆角 + 细边框，无重阴影 */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.product-card:hover { border-color: var(--blue); }
.product-media { display: block; background: var(--mist); border-bottom: 1px solid var(--line); }
.product-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 11px 12px 12px;
}
.product-code {
  align-self: flex-start;
  margin: 0;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.product-name { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.spec-list { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-list li {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.7;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
}
.product-price { font-size: 0.8125rem; color: var(--ink); white-space: nowrap; }
.btn-ask {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--blue);
  font-size: 0.8125rem;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-ask:hover { background: var(--blue); color: #fff; }

/* ============================ 系列参数对比表 ============================ */
.compare {
  padding: clamp(36px, 5vw, 58px) 0;
  background: var(--mist);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 780px; margin-bottom: clamp(16px, 2.2vw, 26px); }
.section-head--tight { margin-bottom: 14px; }
.section-lead { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.table-scroll table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.table-scroll thead th {
  padding: 11px 14px;
  background: var(--mist-deep);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: left;
  white-space: nowrap;
}
.table-scroll tbody th,
.table-scroll tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}
.table-scroll tbody th {
  color: var(--blue-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.table-scroll tbody tr:last-child th,
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll tbody tr:hover { background: #FAFCFE; }
.eff {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: #E6F6EE;
  color: #1B7F55;
  font-size: 0.75rem;
  line-height: 1.7;
}
.table-note { margin: 10px 0 0; font-size: 0.75rem; color: var(--ink-faint); }

/* ============================ 服务条目：一行 4 条，无边框 ============================ */
.services { padding: clamp(36px, 5vw, 56px) 0; }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr); }
.service-item { padding: 14px 0; border-top: 1px solid var(--line); }
.service-item:first-child { border-top: 0; }
.service-idx {
  display: block;
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
}
.service-item h3 { margin: 0 0 4px; }
.service-item p { margin: 0; color: var(--ink-soft); font-size: 0.8125rem; line-height: 1.75; }

/* ============================ 结尾细横条 ============================ */
.inquiry {
  background: var(--blue-tint);
  border-block: 1px solid #CFE2F8;
}
.inquiry-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-block: 16px;
}
.inquiry-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0;
}
.inquiry-text b { font-size: 1rem; }
.inquiry-text span { color: var(--ink-soft); font-size: 0.875rem; }

/* ============================ 页脚：四栏 + 一行版权 ============================ */
.site-footer { padding-top: clamp(32px, 4.4vw, 50px); background: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.footer-about .brand-mark { width: 30px; height: 30px; }
.footer-name { margin: 8px 0 6px; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.04em; }
.footer-desc { max-width: 34em; color: var(--ink-soft); font-size: 0.8125rem; }
.footer-col h3 {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
}
.footer-col ul { display: grid; gap: 8px; }
.footer-col li, .footer-col li a { font-size: 0.8125rem; color: var(--ink-soft); }
.footer-col li a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  margin-top: clamp(24px, 3.2vw, 38px);
  padding-block: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.footer-bottom p { margin: 0; }

/* ============================ 响应式 ============================ */
@media (min-width: 621px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; }
}

@media (min-width: 861px) {
  .page-head-inner { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; }
  .head-facts { justify-self: end; }
  .service-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-item { padding: 2px 20px; border-top: 0; border-left: 1px solid var(--line); }
  .service-item:first-child { padding-left: 0; border-left: 0; }
}

@media (min-width: 1000px) {
  .catalog-grid { grid-template-columns: 236px minmax(0, 1fr); gap: 28px; }
  .filters { position: sticky; top: 124px; }
  .filters-summary { display: none; }
  .filters-body { border-top: 0; }
  .filters-head { padding-top: 15px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 999px) {
  /* 窄屏：筛选栏折叠到网格上方，标题由 <summary> 承担，这里只留「重置筛选」 */
  .filters-head { justify-content: flex-end; padding-top: 10px; }
  .filters-title { display: none; }

  /* 手机端点菜单项用瞬时跳转：平滑动画会被「菜单收起」打断，
     导致看起来「点了没反应、看不到内容」 */
  html { scroll-behavior: auto; }

  .nav-toggle-label {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-right: -6px;
    cursor: pointer;
  }
  .nav-toggle-bar {
    width: 22px;
    height: 1.6px;
    background: var(--ink);
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  }
  /* 菜单展开时汉堡变叉（:has() 渐进增强，不支持也不影响功能） */
  .site-header:has(#nav:target) .nav-toggle-label .nav-toggle-bar:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .site-header:has(#nav:target) .nav-toggle-label .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .site-header:has(#nav:target) .nav-toggle-label .nav-toggle-bar:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

  /* 展开时铺一层透明遮罩，点空白处即可收起 */
  body:has(#nav:target) .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 5;
  }
  /* 面板内显式的「收起菜单」，任何时候都能关掉 */
  #nav:target .nav-close {
    display: block;
    margin: 10px 0 2px;
    padding: 6px 2px;
    font-size: 0.9rem;
    color: var(--ink-soft);
    text-align: right;
  }
  #nav:target .nav-close:hover { color: var(--blue); }

  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    z-index: 30;
    display: block;
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: max-height 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  #nav:target { max-height: 70vh; overflow-y: auto; visibility: visible; z-index: 6; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0; }
  .nav-list li + li { border-top: 1px solid var(--line); }
  .nav-list a { display: block; padding: 14px 2px; font-size: 0.9375rem; }
  .nav-list a::after { display: none; }
  .site-nav .btn { width: 100%; margin: 12px 0 16px; }
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }
  .demo-bar { font-size: 0.75rem; }

  .util-search { flex: 1 1 100%; max-width: none; }
  .util-right { width: 100%; margin-left: 0; justify-content: space-between; }
  .util-right .btn { flex: 1 1 auto; }

  .cat-label { display: none; }

  .page-head h1 { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  .head-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .head-facts div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0 8px 12px;
    border-top: 1px solid var(--line);
  }
  .head-facts div:first-child { border-top: 0; }
  .head-facts dd { font-size: 0.9375rem; }

  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-foot { flex-wrap: wrap; }
  .btn-ask { width: 100%; min-height: 38px; }

  .inquiry-inner { padding-block: 14px; }
  .inquiry-actions { width: 100%; }
  .inquiry-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   内页样式（product.html · 产品详情页）· 追加于文件末尾
   新增内容只服务于内页新增的类，首页原有规则与配色未改动；
   首页已有的 .demo-bar / .util-bar / .site-header / .cat-strip / .crumb /
   .spec-list / .table-scroll / .eff / .inquiry / .site-footer 等直接复用。
   ========================================================================== */

/* ---------- 面包屑条 ---------- */
.crumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.crumb-bar .crumb { margin: 0; padding-block: 12px; flex-wrap: wrap; }
.crumb .crumb-current { color: var(--ink); font-weight: 600; }

/* ---------- 分类条：内页用链接形态，高亮沿用首页的胶囊配色 ---------- */
a.cat-chip { display: inline-block; }
.cat-chip--current {
  background: var(--blue-tint);
  border-color: var(--blue);
  color: var(--blue-deep);
  font-weight: 600;
}

/* ---------- 次要按钮（首页未使用，内页补充） ---------- */
.btn-ghost {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }

/* ---------- 首页型号卡：查看详情入口 ---------- */
.product-more {
  align-self: flex-start;
  margin-top: 2px;
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.product-more:hover { color: var(--blue-deep); border-bottom-color: currentColor; }

/* ---------- 产品首屏两栏 ---------- */
.pdp { padding: clamp(20px, 3vw, 34px) 0 clamp(30px, 4vw, 46px); }
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

/* 纯 CSS 图集：3 个 radio 控制大图与缩略图当前态（无脚本） */
.gallery { display: grid; gap: 10px; min-width: 0; }
.gallery-radio {
  position: absolute; width: 1px; height: 1px; margin: 0; padding: 0;
  opacity: 0; pointer-events: none; clip-path: inset(50%);
}
.gallery-stage {
  display: grid;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-shot {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.gallery-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.gallery-thumb {
  display: block;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.gallery-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-thumb:hover { border-color: var(--blue); }

#gal-1:checked ~ .gallery-stage .gallery-shot--1,
#gal-2:checked ~ .gallery-stage .gallery-shot--2,
#gal-3:checked ~ .gallery-stage .gallery-shot--3 { opacity: 1; visibility: visible; }

#gal-1:checked ~ .gallery-thumbs .gallery-thumb[for="gal-1"],
#gal-2:checked ~ .gallery-thumbs .gallery-thumb[for="gal-2"],
#gal-3:checked ~ .gallery-thumbs .gallery-thumb[for="gal-3"] {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue-tint);
}
#gal-1:focus-visible ~ .gallery-thumbs .gallery-thumb[for="gal-1"],
#gal-2:focus-visible ~ .gallery-thumbs .gallery-thumb[for="gal-2"],
#gal-3:focus-visible ~ .gallery-thumbs .gallery-thumb[for="gal-3"] {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* 右侧产品信息 */
.pdp-info { display: grid; gap: 12px; align-content: start; min-width: 0; }
.pdp-info .product-code { justify-self: start; }
.pdp-title { margin: 0; }
.pdp-lead { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }
.pdp-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  padding: 12px 0;
  border-block: 1px solid var(--line);
}
.pdp-price span { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--ink-soft); }
.pdp-price b {
  color: var(--blue-deep);
  font-size: clamp(1.4rem, 3.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.pdp-price small { font-size: 0.75rem; color: var(--ink-faint); }
.pdp-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pdp-actions .btn { min-height: 46px; font-size: 0.9375rem; }
.pdp-note { margin: 0; font-size: 0.75rem; color: var(--ink-faint); }

/* ---------- 核心参数表 ---------- */
.params {
  padding: clamp(32px, 4.4vw, 54px) 0;
  background: var(--mist);
  border-block: 1px solid var(--line);
}
.params .table-scroll { max-width: 900px; }
.table-scroll .params-table { min-width: 460px; }
.params-table tbody th {
  width: 40%;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.params-table tbody td { color: var(--ink); }

/* ---------- 功能亮点：编号式要点，不用卡片 ---------- */
.features { padding: clamp(32px, 4.4vw, 54px) 0; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.feature-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.feature-item:first-child { padding-top: 0; border-top: 0; }
.feature-idx {
  color: var(--blue);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.feature-text { min-width: 0; }
.feature-text h3 { margin: 0 0 4px; font-size: 1rem; }
.feature-text p { margin: 0; color: var(--ink-soft); font-size: 0.875rem; }

/* ---------- 安装与售后：紧凑条目 + 分隔线 ---------- */
.care { padding: clamp(30px, 4vw, 46px) 0 clamp(34px, 4.4vw, 54px); }
.care-list { list-style: none; margin: 0; padding: 0; max-width: 900px; display: grid; grid-template-columns: minmax(0, 1fr); }
.care-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.care-item:first-child { padding-top: 0; border-top: 0; }
.care-item h3 { margin: 0; font-size: 0.9375rem; }
.care-item p { margin: 0; color: var(--ink-soft); font-size: 0.8125rem; }

/* ---------- 相关型号：紧凑小卡 ---------- */
.related {
  padding: clamp(32px, 4.4vw, 54px) 0;
  background: var(--mist);
  border-block: 1px solid var(--line);
}
.related-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.related-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}
.related-card:hover { border-color: var(--blue); }
.related-link { display: grid; gap: 6px; min-width: 0; }
.related-link .product-code { justify-self: start; }
.related-link h3 { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.related-price { margin: 0; font-size: 0.8125rem; color: var(--ink-soft); }
.related-card .btn-ask { align-self: flex-start; margin-top: auto; }

/* ---------- 内页响应式 ---------- */
@media (min-width: 621px) {
  .pdp-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care-item { grid-template-columns: 150px minmax(0, 1fr); align-items: baseline; }
}

@media (min-width: 861px) {
  .pdp-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .crumb-bar .crumb { font-size: 0.75rem; }
  .pdp-actions .btn { width: 100%; }
  .gallery-thumbs { gap: 8px; }
  .feature-item { gap: 2px 14px; }
  .related-card .btn-ask { align-self: stretch; width: 100%; min-height: 38px; }
}

/* ==========================================================================
   内嵌在「手机仿真预览」框里查看时，隐藏常驻滚动条
   真机本身就没有常驻滚动条；这里只在窄屏（真机 / 仿真框）生效，
   桌面端直接打开样板时滚动条照旧保留，不影响可用性。
   ========================================================================== */
@media (max-width: 620px) {
  html { scrollbar-width: none; -ms-overflow-style: none; }
  html::-webkit-scrollbar { width: 0; height: 0; display: none; }
  body::-webkit-scrollbar { width: 0; height: 0; display: none; }
}
