@charset "UTF-8";
/* ==========================================================================
   REDCATT 雷凯仕 企业官网 - 全站样式
   主题：红色 / 简约 / 环保可持续 | 字体：微软雅黑
   布局：全宽自适应（fluid），不限制 1440 宽度
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --red: #e60012;
  --red-dark: #b3000e;
  --red-deep: #8c000b;
  --red-soft: #fff2f3;
  --red-line: rgba(230, 0, 18, .14);

  --ink: #1a1a1a;
  --ink-2: #333333;
  --gray: #666666;
  --gray-2: #999999;
  --line: #e8e8e8;
  --line-soft: #f1f1f1;

  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-dark: #17171a;

  --nav-h: 100px;
  --nav-h-min: 75px;

  --fluid: clamp(20px, 4.6vw, 80px);
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .05);
  --shadow: 0 8px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .13);
  --shadow-red: 0 12px 34px rgba(230, 0, 18, .22);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: .38s var(--ease);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  /* 长英文串（如 Subwoofer/10inch/Ferrite/…）在窄屏可断行，防横向溢出 */
  overflow-wrap: break-word;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--red); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }

::selection { background: var(--red); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f2f2f2; }
::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ---------- 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: 100%;
  padding-inline: var(--fluid);
  margin-inline: auto;
}

.wrap-narrow { max-width: 1180px; }

.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--bg-dark); color: #d9d9dd; }
.section-soft { background: var(--bg-soft); }

.grid { display: grid; gap: 28px; }

/* ---------- 标题 ---------- */
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }

.sec-eye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 16px;
}
.sec-eye::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.sec-head.center .sec-eye::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.sec-title {
  font-size: clamp(26px, 3.1vw, 44px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.5px;
}
.section-dark .sec-title { color: #fff; }

.sec-sub {
  margin-top: 18px;
  color: var(--gray);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.9;
  max-width: 1140px;
}
.sec-head.center .sec-sub { margin-inline: auto; }
.section-dark .sec-sub { color: #9d9da6; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 34px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all .32s var(--ease);
  white-space: nowrap;
  letter-spacing: .4px;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-red); }

.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--red); border-color: #fff; }

.btn-line { border-color: var(--red); color: var(--red); }
.btn-line:hover { background: var(--red); color: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); color: #fff; }

.btn .arrow { transition: transform .32s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(0, 0, 0, .46), rgba(0, 0, 0, 0));
  transition: transform .45s var(--ease), background .35s var(--ease),
              height .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}

/* 下拉 / 选中：白底收缩 75px */
.header.is-solid,
.header.is-pinned {
  height: var(--nav-h-min);
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(0, 0, 0, .06);
}
/* 向上滚动隐藏 */
.header.is-hidden { transform: translateY(-100%); }

/* 悬停展开白底（下拉菜单打开时） */
.header.is-hover {
  height: var(--nav-h-min);
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(0, 0, 0, .06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 40px);
}

/* Logo */
.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
}
/* Logo：双图切换（透明底 → 白字版；白底 → 深字版） */
.logo img.pic {
  width: 242px;
  height: 71px;
  object-fit: contain;
  display: block;
}
.logo img.pic-dark { display: none; }
.header.is-solid .logo img.pic-light,
.header.is-hover .logo img.pic-light,
.header.is-pinned .logo img.pic-light { display: none; }
.header.is-solid .logo img.pic-dark,
.header.is-hover .logo img.pic-dark,
.header.is-pinned .logo img.pic-dark { display: block; }

.logo-fallback {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 2px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header.is-solid .logo-fallback,
.header.is-hover .logo-fallback { color: var(--ink); }
.logo-fallback .dot { width: 12px; height: 12px; background: var(--red); border-radius: 50%; }

/* 主导航 */
.nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: clamp(2px, .5vw, 8px); }

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--nav-h);
  padding: 0 clamp(10px, 1.15vw, 20px);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  color: #fff;
  position: relative;
  transition: color .3s var(--ease), height .35s var(--ease);
  white-space: nowrap;
}
.header.is-solid .nav-link,
.header.is-hover .nav-link { color: var(--ink-2); height: var(--nav-h-min); }

.nav-link .caret {
  width: 9px; height: 9px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease);
  opacity: .75;
}
.nav-item:hover .nav-link .caret { transform: rotate(225deg) translateY(-1px); }

/* 悬停：红色底 / 白字 */
.nav-link::after {
  content: "";
  position: absolute;
  inset: auto 12% 0 12%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}
.header.is-solid .nav-link:hover,
.header.is-solid .nav-item.active > .nav-link,
.header.is-hover .nav-link:hover,
.header.is-hover .nav-item.active > .nav-link {
  color: #fff;
  background: var(--red);
}
.header.is-solid .nav-item:hover > .nav-link,
.header.is-solid .nav-item.active > .nav-link,
.header.is-hover .nav-item:hover > .nav-link { background: var(--red); color: #fff; }

/* 深色底（透明导航）状态下 hover 也变白字 + 红底 */
.header:not(.is-solid):not(.is-hover) .nav-link:hover {
  color: #fff;
  background: var(--red);
}
.header:not(.is-solid):not(.is-hover) .nav-item.active > .nav-link {
  color: #fff;
  background: var(--red);
}
.header:not(.is-solid):not(.is-hover) .nav-item.active > .nav-link::after {
  transform: scaleX(1);
}
.nav-item.active > .nav-link::after { transform: scaleX(1); }

/* ---------- 产品中心：图片 + 文字 二级分类下拉 ---------- */
.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h-min);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .1);
  padding: 34px 0 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 890;
}
.nav-item.mega-parent:hover .mega,
.nav-item.mega-parent.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}
.mega-card {
  display: block;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  transition: all .3s var(--ease);
}
.mega-card:hover { border-color: var(--red); } /* 悬停仅边框变红：不加阴影、不上浮 */
.mega-thumb {
  aspect-ratio: 3 / 2; /* 高度为原来的三分之二（原 1/1） */
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14px;
}
.mega-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
/* 实拍图：铺满裁切，去掉线稿用的浅底与内边距 */
.mega-thumb:has(> img.ph) { padding: 0; background: #f1f1f3; }
.mega-thumb img.ph { object-fit: cover; }
.mega-card:hover .mega-thumb img { transform: scale(1.07); }
.mega-name {
  display: block; /* span 行内元素 text-align 不生效，改块级使标题居中 */
  padding: 12px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.5;
  border-top: 1px solid var(--line-soft);
  transition: all .3s var(--ease);
}
.mega-name small { display: block; font-weight: 400; font-size: 11px; color: var(--gray-2); margin-top: 2px; }

.mega-foot {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
}
.mega-foot .tip { color: var(--gray); font-size: 14px; }
.mega-foot .links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.mega-foot .links a { font-size: 14px; color: var(--gray); }
.mega-foot .links a:hover { color: var(--red); }

/* ---------- 普通二级下拉 ---------- */
.dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 12px);
  min-width: 210px;
  background: #fff;
  border-top: 3px solid var(--red);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all .3s var(--ease);
  z-index: 895;
}
.nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 11px 24px;
  font-size: 14.5px;
  color: var(--ink-2);
  position: relative;
  transition: all .25s var(--ease);
}
.dropdown a::before {
  content: "";
  position: absolute;
  left: 12px; top: 50%;
  width: 0; height: 1.5px;
  background: #fff;
  transform: translateY(-50%);
  transition: width .25s var(--ease);
}
.dropdown a:hover { background: var(--red); color: #fff; padding-left: 34px; }

/* ---------- 右侧工具区 ---------- */
.header-tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(6px, .8vw, 14px);
  color: #fff;
}
.header.is-solid .header-tools,
.header.is-hover .header-tools { color: var(--ink-2); }

.search-box {
  display: flex;
  align-items: center;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 40px;
  overflow: hidden;
  transition: all .3s var(--ease);
  background: rgba(255, 255, 255, .08);
}
.header.is-solid .search-box,
.header.is-hover .search-box { border-color: var(--line); background: #fafafa; }

.search-box input {
  width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  height: 100%;
  padding: 0;
  color: inherit;
  font-size: 14px;
  transition: width .35s var(--ease), padding .35s var(--ease);
}
.search-box.open input { width: clamp(120px, 13vw, 200px); padding: 0 4px 0 16px; }
.search-box button {
  width: 44px; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: inherit;
  flex: 0 0 auto;
}
.search-box button svg { width: 17px; height: 17px; }

/* 语言切换 */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 12px;
  font-size: 14px; color: inherit;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 40px;
  transition: all .3s var(--ease);
}
.header.is-solid .lang-btn,
.header.is-hover .lang-btn { border-color: var(--line); }
.lang-btn:hover { border-color: var(--red); color: var(--red); }
.lang-btn svg { width: 12px; height: 12px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: #fff; min-width: 140px;
  box-shadow: var(--shadow); border-top: 3px solid var(--red);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .28s var(--ease);
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: block; padding: 10px 18px; font-size: 14px; color: var(--ink-2); }
.lang-menu a:hover { background: var(--red); color: #fff; }

/* ---------- 汉堡 & 移动端抽屉 ---------- */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}
.header.is-solid .burger,
.header.is-hover .burger { border-color: var(--line); color: var(--ink); }
.burger span {
  width: 20px; height: 2.4px; background: currentColor; display: block;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
body.drawer-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.drawer-open .burger span:nth-child(2) { opacity: 0; }
body.drawer-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 抽屉：从右侧滑出，占页面 1/3 宽 */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: auto;
  width: 33.3333vw;
  min-width: 300px;
  max-width: 480px;
  z-index: 950;
  background: #fff;
  transform: translateX(100%);
  transition: transform .42s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 40px;
  box-shadow: -8px 0 34px rgba(0, 0, 0, .14);
}
body.drawer-open .drawer { transform: translateX(0); }

/* 遮罩 */
.drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(12, 12, 14, .48);
  opacity: 0;
  visibility: hidden;
  transition: opacity .38s var(--ease), visibility .38s;
}
body.drawer-open .drawer-mask { opacity: 1; visibility: visible; }

.drawer-top {
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding-inline: 18px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #fff; z-index: 3;
}
.drawer-top .brand { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: 1px; }
.drawer-top .brand img { height: 30px; width: auto; display: block; }
.drawer-close { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--ink); border-radius: 4px; }
.drawer-close:hover { background: var(--bg-soft); color: var(--red); }
.drawer-close svg { width: 19px; height: 19px; }

.dr-item { border-bottom: 1px solid var(--line-soft); }
.dr-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.dr-head .caret {
  width: 9px; height: 9px;
  border-right: 1.8px solid var(--gray); border-bottom: 1.8px solid var(--gray);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.dr-item.open .dr-head { color: var(--red); }
.dr-item.open .dr-head .caret { transform: rotate(-135deg); border-color: var(--red); }
.dr-item.active > .dr-head { color: var(--red); font-weight: 700; box-shadow: inset 3px 0 0 var(--red); }

.dr-sub {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
  background: #fafafa;
}
.dr-item.open .dr-sub { max-height: 1200px; }
.dr-sub a { display: block; padding: 11px 26px; font-size: 14px; color: var(--gray); border-bottom: 1px dashed var(--line); }
.dr-sub a:hover { color: var(--red); }
.dr-sub .dr-sub-pics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px 18px; }
.dr-sub .dr-sub-pics a { padding: 0; border: 0; text-align: center; font-size: 12px; }
.dr-sub .dr-sub-pics img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px; }
.dr-sub .dr-sub-pics img.ph { object-fit: cover; padding: 0; background: #f1f1f3; }

.drawer-foot { padding: 22px 18px; }
.drawer-foot .row { display: flex; gap: 10px; margin-bottom: 16px; }
.drawer-foot .row .btn { height: 44px; padding: 0 14px; font-size: 13.5px; }
.drawer-foot .foot-contact .li { font-size: 13px; }
/* 手机号后的「(微信同号)」备注：非斜体、弱化字重与颜色。
   注：<em> 浏览器默认 italic，此处显式归正；若日后调换标签/作用域，勿删 font-style:normal */
.drawer-foot .foot-contact .li .tel-note,
.drawer-foot .foot-contact .tel-note { font-style: normal; font-size: 12px; font-weight: 400; color: var(--gray-2); margin-left: 2px; }

/* ==========================================================================
   英雄轮播
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #111;
}
.hero-track {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: transform, opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide .media {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-slide .media img,
.hero-slide .media video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.hero-slide .media img { animation: kenburns 8s var(--ease) both; }
@keyframes kenburns {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero-slide .veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .34) 45%, rgba(0, 0, 0, .12) 100%);
}

/* 文案：左下角对齐，整体缩小 */
.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: clamp(96px, 13vh, 168px);
  z-index: 4;
  pointer-events: none;
}
.hero-caption .inner { max-width: 620px; pointer-events: auto; margin-inline: 0; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 14px;
  background: var(--red); padding: 5px 12px; border-radius: 2px;
}
.hero-title {
  color: #fff;
  font-size: clamp(21px, 2.35vw, 34px);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -.2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .55), 0 6px 28px rgba(0, 0, 0, .45);
}
.hero-desc {
  color: rgba(255, 255, 255, .92);
  font-size: clamp(12.5px, .95vw, 15px);
  line-height: 1.8;
  margin-top: 14px;
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6), 0 3px 16px rgba(0, 0, 0, .45);
}
.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { height: 44px; padding: 0 26px; font-size: 14px; }

/* 箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 58px; height: 58px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .16);
  backdrop-filter: blur(4px);
  transition: all .3s var(--ease);
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow.prev { left: clamp(14px, 2.6vw, 44px); }
.hero-arrow.next { right: clamp(14px, 2.6vw, 44px); }

/* 圆点：右侧竖排小圆点（右下角，高度下 1/3 处） */
.hero-dots {
  position: absolute;
  right: clamp(10px, 1.2vw, 20px);
  top: 66.7%; transform: translateY(-50%);
  z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, .65);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  transition: all .35s var(--ease);
}
.hero-dots button.on { background: var(--red); transform: scale(1.3); }
.hero-dots button:hover { background: rgba(255, 255, 255, .8); }
.hero-dots button.on:hover { background: var(--red); }

/* 进度条 */
.hero-progress {
  position: absolute; left: 0; bottom: 0; height: 3px;
  background: var(--red); z-index: 7; width: 0;
}

/* 底部快捷条 */
.hero-strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  background: rgba(23, 23, 26, .82);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-strip .wrap { display: flex; flex-wrap: wrap; }
.hero-strip a {
  flex: 1 1 200px;
  padding: 22px clamp(10px, 1.4vw, 24px);
  border-right: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  transition: all .3s var(--ease);
  text-align: center;
}
.hero-strip a:last-child { border-right: 0; }
.hero-strip a:hover { background: var(--red); color: #fff; }
.hero-strip h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.hero-strip p { font-size: 13px; color: rgba(255, 255, 255, .62); margin: 0; }
.hero-strip a:hover p { color: rgba(255, 255, 255, .9); }

/* ==========================================================================
   产品分类
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 22px;
}
.cat-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .35s var(--ease);
  padding-bottom: 0;
}
.cat-card:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.cat-pic {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #fafafa, #f1f1f3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 10%;
}
.cat-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); mix-blend-mode: multiply; }
/* 实拍图卡片：铺满裁切、不做正片叠底（深灰底 JPG 用 multiply 会染黑卡片） */
.cat-pic:has(> img.ph) { padding: 0; }
.cat-pic img.ph { object-fit: cover; mix-blend-mode: normal; }
.cat-card:hover .cat-pic img { transform: scale(1.08); }
.cat-info { padding: 20px 22px 24px; border-top: 1px solid var(--line-soft); }
.cat-info h3 {
  font-size: 17px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.cat-info h3 span { font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .06em; }
.cat-info p { font-size: 13.5px; color: var(--gray); margin-top: 8px; line-height: 1.7; }
.cat-more {
  margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--red);
  display: inline-flex; align-items: center; gap: 6px;
}
.cat-more svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.cat-card:hover .cat-more svg { transform: translateX(4px); }

/* ==========================================================================
   关于我们
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: center;
}
.about-media { position: relative; }
.about-media .pic-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: #eee;
}
.about-media .pic-main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .pic-sub {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 42%;
  border-radius: var(--r);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  background: #eee;
}
.about-media .pic-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  left: -3%; top: 8%;
  background: var(--red);
  color: #fff;
  padding: 18px 20px;
  border-radius: var(--r);
  box-shadow: var(--shadow-red);
  text-align: center;
  min-width: 128px;
}
.about-badge b { display: block; font-size: 32px; line-height: 1; font-weight: 800; }
.about-badge small { font-size: 12.5px; opacity: .92; letter-spacing: .06em; }

.about-text > p {
  color: var(--gray);
  font-size: 15.5px;
  line-height: 2.05;
  margin-bottom: 20px;
}
.about-text > p:last-of-type { margin-bottom: 0; }
.about-points { margin-top: 30px; display: grid; gap: 14px; }
.about-points li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: var(--ink-2);
}
.about-points .ico {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.about-points .ico svg { width: 14px; height: 14px; }
.about-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* 数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 78px;
}
.stat {
  background: #fff;
  padding: 34px 22px;
  text-align: center;
  transition: all .35s var(--ease);
}
.stat:hover { background: var(--red); }
.stat:hover * { color: #fff !important; }
.stat b {
  display: block;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
  letter-spacing: -1px;
}
.stat b em { font-style: normal; font-size: .5em; font-weight: 700; margin-left: 2px; }
.stat > span { font-size: 13.5px; color: var(--gray); display: block; margin-top: 8px; }

/* ==========================================================================
   世界分布地图
   ========================================================================== */
.map-section { position: relative; overflow: hidden; background: #fff; color: var(--gray); }
.map-section .sec-title { color: var(--gray); }
.map-section .sec-sub { color: var(--gray); }
.map-section .sec-eye { color: var(--gray); }
.map-stage {
  position: relative;
  background: #f7f7f8;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(10px, 1.6vw, 20px);
  overflow: hidden;
}
/* 左右结构：左 1/4 数据列 + 右 3/4 全球地图 */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(22px, 3vw, 44px);
  margin-top: 40px;
  align-items: center;
}
.map-stats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vh, 26px) clamp(20px, 2.4vw, 40px); align-content: center; }
.map-stats .item { border-top: 1px solid var(--line-soft); padding-top: 14px; }
.map-stats .item:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.map-stats b { display: block; font-size: clamp(24px, 2vw, 32px); font-weight: 800; color: var(--red); line-height: 1.15; }
.map-stats b em { font-style: normal; font-size: .45em; color: var(--red); margin-left: 4px; }
.map-stats .item > span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.map-canvas { position: relative; }
.map-canvas img { width: 100%; height: auto; display: block; opacity: .95; }
/* 无 map-canvas 包裹时（销售网络页），地图按原始尺寸居中显示 */
.map-stage > img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.map-pulse {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 0, 18, .28);
  transform: translate(-50%, -50%);
}
.map-pulse::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: pulsate 2.4s ease-out infinite;
}
@keyframes pulsate {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(2.6); opacity: 0; }
}
.map-pulse .lbl {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 12.5px;
  color: #fff;
  background: rgba(23, 23, 26, .86);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 4px 10px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.map-pulse:hover .lbl { opacity: 1; }
/* 中国东莞：五角星标记 */
.map-pulse.star {
  width: 22px; height: 22px;
  background: transparent;
  box-shadow: none;
}
.map-pulse.star svg {
  width: 100%; height: 100%;
  fill: var(--red);
  filter: drop-shadow(0 0 5px rgba(230, 0, 18, .65));
}
.map-pulse.star .lbl { left: 26px; }

/* ==========================================================================
   新闻中心 - 一排 4 条
   ========================================================================== */
.news-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .35s var(--ease);
  height: 100%;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--red-line); }
.news-pic {
  position: relative;
  aspect-ratio: 600 / 300;
  overflow: hidden;
  background: #f2f2f3;
}
.news-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.news-card:hover .news-pic img { transform: scale(1.06); }
/* 标题行：标题居左，日期居右 */
.news-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.news-head h3 { flex: 1 1 auto; }
.news-date-inline {
  flex: 0 0 auto;
  font-size: 12.5px; font-weight: 600;
  color: var(--gray-2);
  line-height: 1.55;
  margin-top: 2px;
  white-space: nowrap;
}
.news-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.news-body h3 {
  font-size: 16px; font-weight: 700; color: var(--ink);
  line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.55em * 2);
}
.news-card:hover .news-body h3 { color: var(--red); }
.news-body p {
  margin-top: 12px;
  font-size: 13.5px; color: var(--gray); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
}
.news-body .more {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px; font-weight: 700; color: var(--red);
  display: flex; align-items: center; gap: 6px;
}
.news-body .more svg { width: 14px; height: 14px; }

/* 新闻列表（列表页） */
.news-list { display: grid; gap: 20px; }
.news-item {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .32s var(--ease);
}
.news-item:hover { box-shadow: var(--shadow); border-color: var(--red-line); }
.news-item .pic { aspect-ratio: 4/3; overflow: hidden; background: #f4f4f5; }
.news-item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-item:hover .pic img { transform: scale(1.05); }
.news-item .txt { padding: 26px 28px 26px 0; display: flex; flex-direction: column; }
.news-item .meta { font-size: 13px; color: var(--red); font-weight: 700; margin-bottom: 10px; letter-spacing: .04em; }
.news-item h3 { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.news-item:hover h3 { color: var(--red); }
.news-item p { margin-top: 12px; font-size: 14.5px; color: var(--gray); line-height: 1.85; }
.news-item .more { margin-top: auto; padding-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--red); display: inline-flex; gap: 6px; align-items: center; }

/* ==========================================================================
   通用区块：内页横幅 / 面包屑
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: clamp(300px, 38vh, 460px);
  display: flex;
  align-items: center;
  background: #1b1b1f center/cover no-repeat;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 10, .82) 0%, rgba(8, 8, 10, .55) 55%, rgba(30, 0, 4, .5) 100%);
}
.page-hero .inner { position: relative; z-index: 2; padding-block: 46px; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
}
.page-hero .en {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-top: 10px;
  font-weight: 600;
}
.page-hero .lead {
  margin-top: 18px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(14px, 1.1vw, 17px);
  max-width: 700px;
  line-height: 1.9;
}

.crumb {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: var(--nav-h-min);
  z-index: 40;
}
.crumb .wrap { display: flex; align-items: center; gap: 10px; height: 58px; font-size: 14px; color: var(--gray-2); flex-wrap: wrap; }
.crumb a:hover { color: var(--red); }
.crumb .sep { opacity: .55; }
.crumb .cur { color: var(--red); font-weight: 600; }

/* 内页布局：栏目横条菜单在上方，内容全宽 */
.side-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}
/* 网格列允许收缩到 0：防止栏目横条/表格等不可断行内容把整列撑破视口 */
.side-layout > * { min-width: 0; }
.side-nav {
  position: sticky;
  top: calc(var(--nav-h-min) + 22px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
}
.side-nav .head {
  background: var(--red); color: #fff;
  padding: 20px 24px;
  font-size: 18px; font-weight: 700;
}
.side-nav .head small { display: block; font-size: 11px; letter-spacing: .2em; opacity: .8; font-weight: 500; text-transform: uppercase; margin-top: 2px; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px; color: var(--ink-2);
  transition: all .28s var(--ease);
}
.side-nav a:last-child { border-bottom: 0; }
.side-nav a::after {
  content: ""; width: 7px; height: 7px;
  border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor;
  transform: rotate(45deg); opacity: .35;
  transition: all .28s var(--ease);
}
.side-nav a:hover, .side-nav a.on {
  background: var(--red-soft); color: var(--red); padding-left: 30px; font-weight: 600;
}
.side-nav a.on::after { opacity: 1; }
.side-nav .group-title {
  padding: 14px 24px 8px; font-size: 12px; letter-spacing: .12em;
  color: var(--gray-2); text-transform: uppercase; background: #fafafa;
  border-bottom: 1px solid var(--line-soft);
}

.side-card {
  margin-top: 22px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-dark);
  color: #fff;
  padding: 28px 24px;
}
.side-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.side-card p { font-size: 13.5px; color: #9d9da6; line-height: 1.8; margin-bottom: 18px; }
.side-card .tel { font-size: 22px; font-weight: 800; color: var(--red); display: block; margin-bottom: 18px; letter-spacing: .5px; }

/* ==========================================================================
   产品列表（分类页）
   ========================================================================== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: 24px;
}
.prod-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .34s var(--ease);
}
.prod-card:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.prod-card .pic {
  aspect-ratio: 1/1; background: #fafafa;
  display: flex; align-items: center; justify-content: center;
  padding: 10%; overflow: hidden;
}
.prod-card .pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.prod-card:hover .pic img { transform: scale(1.07); }
.prod-card .txt { padding: 18px 20px 22px; border-top: 1px solid var(--line-soft); flex: 1 1 auto; display: flex; flex-direction: column; }
.prod-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.5; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod-card h3 .badge {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  color: #b93f3f;
  background: #fdeeee;
  border-radius: 7px;
  padding: 5px 10px;
  letter-spacing: .5px;
}
.prod-card .spec { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.prod-card .spec span {
  font-size: 11.5px; color: var(--gray);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 30px;
}
.prod-card .go {
  margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--red);
  display: inline-flex; align-items: center; gap: 6px;
}
.prod-card:hover .go svg { transform: translateX(4px); }
.prod-card .go svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }

/* 同类推荐：单行横向滑动 + 左右切换 */
.rel-strip { position: relative; }
.rel-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 240px);
  gap: 20px;
  overflow-x: auto; scroll-behavior: smooth;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.rel-track::-webkit-scrollbar { display: none; }
.rel-track .prod-card { height: 100%; }
.rel-nav {
  position: absolute; top: 34%; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: all .25s var(--ease);
}
.rel-nav:hover { background: var(--red); border-color: var(--red); color: #fff; }
.rel-nav.prev { left: -14px; }
.rel-nav.next { right: -14px; }
@media (max-width: 760px) {
  .rel-track { grid-auto-columns: minmax(180px, 200px); gap: 14px; }
  .rel-nav { width: 34px; height: 34px; font-size: 18px; }
  .rel-nav.prev { left: -8px; }
  .rel-nav.next { right: -8px; }
}

/* 筛选条 */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-bottom: 26px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.filter-bar .label { font-size: 13.5px; color: var(--gray-2); margin-right: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 30px;
  font-size: 13.5px; color: var(--gray);
  transition: all .28s var(--ease);
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.on { background: var(--red); border-color: var(--red); color: #fff; }

/* ==========================================================================
   商城筛选（products.html 电子商城模式）
   ========================================================================== */
.shop-tools {
  display: grid; gap: 14px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 20px 24px;
  margin-bottom: 26px;
}
.shop-tools .fgroup { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.shop-tools .fgroup + .fgroup { border-top: 1px dashed var(--line); padding-top: 14px; }
/* 分类页筛选（位于侧栏布局的窄容器内，紧凑一点） */
.cat-tools { padding: 16px 18px; margin-bottom: 22px; gap: 10px; }
.cat-tools .fgroup { gap: 8px; }
.cat-tools .fgroup + .fgroup { padding-top: 10px; }
.cat-tools .fgroup .label { font-size: 13px; margin-right: 4px; }
.cat-tools .chip { height: 32px; padding: 0 13px; font-size: 13px; }
.shop-tools .fgroup .label {
  font-size: 13.5px; font-weight: 800; color: var(--ink);
  margin-right: 8px; flex: none;
}
.shop-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.shop-meta p { font-size: 14px; color: var(--gray-2); }
.shop-meta .num { color: var(--red); font-size: 18px; font-weight: 800; margin: 0 2px; }
.shop-reset {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 30px;
  background: #fff; font-size: 13px; color: var(--gray);
  transition: all .28s var(--ease);
}
.shop-reset svg { width: 14px; height: 14px; }
.shop-reset:hover { border-color: var(--red); color: var(--red); }
.shop-empty {
  display: none;
  padding: 80px 24px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--r);
}
.shop-empty p { font-size: 17px; font-weight: 700; color: var(--ink); }
.shop-empty .tips { margin-top: 10px; font-size: 14px; font-weight: 400; color: var(--gray-2); }
.shop-empty .btn { margin-top: 22px; }

/* 移动端筛选（yaxins 风格）：筛选按钮 + 底部抽屉面板；桌面端隐藏 */
.m-fbar, .m-mask, .sheet-foot { display: none; }
.m-fbar { align-items: center; gap: 10px; margin-bottom: 14px; }
.m-fbtn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 30px;
  background: #fff; font-size: 14px; font-weight: 600; color: var(--ink);
}
.m-fbtn svg { width: 16px; height: 16px; }
.m-fbtn .m-fn { font-style: normal; color: var(--red); }
@media (max-width: 760px) {
  body.filter-open { overflow: hidden; }
  .m-fbar { display: flex; }
  .m-fbtn:active { background: #f7f7f8; }
  .shop-meta .shop-reset { display: none; }

  .m-mask {
    display: block; position: fixed; inset: 0; z-index: 1100;
    background: rgba(15, 23, 42, .5);
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
  }
  body.filter-open .m-mask { opacity: 1; pointer-events: auto; }

  .shop-tools, .cat-tools {
    display: grid; gap: 16px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
    margin: 0; border: 0; border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .18);
    max-height: 76vh; overflow-y: auto;
    padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
    transform: translateY(105%);
    transition: transform .35s var(--ease);
  }
  body.filter-open .shop-tools, body.filter-open .cat-tools { transform: none; }

  .shop-tools .fgroup, .cat-tools .fgroup { gap: 10px; }
  .shop-tools .fgroup .label, .cat-tools .fgroup .label {
    display: block; width: 100%; margin: 0;
    font-size: 14px;
  }
  .shop-tools .fgroup + .fgroup, .cat-tools .fgroup + .fgroup {
    border-top: 1px dashed var(--line); padding-top: 14px;
  }

  .sheet-foot {
    display: flex; gap: 12px; margin-top: 6px;
    padding-top: 16px; border-top: 1px solid var(--line-soft);
  }
  .sheet-foot button {
    height: 46px; border-radius: 30px; font-size: 15px; font-weight: 700;
    cursor: pointer;
  }
  .sheet-foot .sf-reset { flex: 0 0 34%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
  .sheet-foot .sf-reset:active { background: #f5f5f6; }
  .sheet-foot .sf-done { flex: 1; border: 0; background: var(--red); color: #fff; }
  .sheet-foot .sf-done:active { background: #c40010; }
}

/* ==========================================================================
   产品详情
   ========================================================================== */
.pd-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(30px, 4vw, 66px);
  align-items: start;
}
/* 产品详情页：各段落上下内边距统一 25px（覆盖全站 .section 的 92px） */
.pd-section { padding: 25px 0; }
.pd-spec { padding: 25px 0; }
.pd-rel { padding: 25px 0; }
.pd-notes { padding: 25px 0; }
.pd-imgsec { padding: 25px 0; }
.pd-summary { padding: 25px 0; }

/* 技术参数分组式排版（参考 REDCATT 官网 Specifications） */
.spec-groups { display: flex; flex-direction: column; gap: 20px; }
.spec-group { border: 1px solid var(--line-soft); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.sg-title {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  background: var(--bg-soft); border-bottom: 1px solid var(--line-soft);
  padding: 15px 16px 11px;
  font-size: 1em; font-weight: 800; color: var(--ink);
  letter-spacing: .04em;
}
.sg-title span { font-size: 12px; font-weight: 600; color: var(--gray-2); letter-spacing: 0; }
.spec-group .spec-table { margin: 0; border-collapse: collapse; font-size: 13.5px; }
.spec-group .spec-table th, .spec-group .spec-table td {
  border: 0; border-bottom: 1px solid var(--line-soft);
  padding: 9px 16px; text-align: left;
}
.spec-group .spec-table tr:last-child th, .spec-group .spec-table tr:last-child td { border-bottom: 0; }
.spec-group .spec-table th { background: transparent; font-weight: 500; color: var(--gray); width: 62%; }
.spec-group .spec-table td { text-align: right; font-weight: 600; color: var(--ink); }
.spec-group .spec-table tr:hover th, .spec-group .spec-table tr:hover td { background: var(--red-soft); }
/* 并排两列时中文参数名过长，略缩字号 */
.pd-duo .spec-group .spec-table th, .pd-duo .spec-group .spec-table td { padding: 8px 13px; font-size: 12.5px; }
.pd-duo .sg-title { padding: 15px 13px 10px; font-size: 1em; }

/* 箱体推荐卡片 */
.box-plans { display: flex; flex-direction: column; gap: 12px; }
.box-plan {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: #fff;
  padding: 16px 18px;
  transition: all .3s var(--ease);
}
.box-plan:hover { border-color: var(--red); box-shadow: var(--shadow-red); }
.box-plan.rec { border-color: var(--red); background: var(--red-soft); }
.bp-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.bp-vol { font-size: 20px; font-weight: 800; color: var(--red); letter-spacing: -.02em; }
.bp-tune { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.bp-badge {
  margin-left: auto; font-size: 11px; font-weight: 700;
  background: var(--red); color: #fff;
  padding: 3px 10px; border-radius: 30px; letter-spacing: .04em;
}
.bp-desc { margin-top: 8px; font-size: 13.5px; color: var(--gray); line-height: 1.85; }

/* 详情页两列并排（电脑版左右，窄屏堆叠） */
.pd-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}
.pd-col { min-width: 0; }
/* 并排时表格更紧凑 */
.pd-duo .spec-table { font-size: 14px; }
.pd-duo .spec-table th, .pd-duo .spec-table td { padding: 10px 14px; }
.pd-duo .spec-table th { width: 42%; }
@media (max-width: 1024px) {
  .pd-duo { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

/* 设计说明正文 */
.notes-body { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.notes-body p { color: var(--gray); font-size: 15px; line-height: 1.95; }

/* 频率响应与阻抗 / 二维工程图 图片 */
.pd-figure {
  margin: 0 auto; max-width: 780px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 22px 22px 16px;
  text-align: center;
}
.pd-figure img { width: 100%; height: auto; display: block; border-radius: 10px; }
.pd-figure figcaption { margin-top: 12px; font-size: 12.5px; color: var(--gray-2); }

/* ==========================================================================
   详情页右栏 技术资料下载（紧凑横排卡片）
   ========================================================================== */
.dl-block { width: 100%; }
.dl-head {
  display: block; font-size: 13px; font-weight: 700; color: var(--ink-2);
  letter-spacing: .02em; margin-bottom: 12px;
}
.dl-head em {
  font-style: normal; font-weight: 600; color: var(--gray-2);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin-left: 6px;
}
.dl-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dl-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 13px 30px 12px 12px;
  transition: all .3s var(--ease);
}
.dl-card:hover {
  border-color: var(--red); box-shadow: var(--shadow-red);
  transform: translateY(-3px);
}
.dl-body { width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dl-trow { display: flex; align-items: flex-start; gap: 7px; min-width: 0; }
.dl-ico {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--red-soft); color: var(--red);
  border-radius: 6px;
  transition: all .3s var(--ease);
}
.dl-ico svg { width: 13px; height: 13px; }
.dl-card:hover .dl-ico { background: var(--red); color: #fff; }
.dl-card .dl-t { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.dl-card .dl-t .nw { white-space: nowrap; }
.dl-card .dl-en { font-size: 10.5px; color: var(--gray-2); line-height: 1.4; }
.dl-arrow {
  position: absolute; right: 12px; top: 13px;
  color: var(--gray-2);
  display: inline-flex; align-items: center;
  transition: color .3s var(--ease);
}
.dl-arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.dl-card:hover .dl-arrow { color: var(--red); }
.dl-card:hover .dl-arrow svg { transform: translateY(3px); }
.pd-gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: stretch; }
.pd-gallery .main {
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: #fafafa;
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  padding: 0 8% 8% 8%; overflow: hidden;
}
.pd-gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.pd-gallery .thumbs { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; margin-top: 10px; }
.pd-gallery .thumbs button {
  border: 1px solid var(--line-soft); border-radius: var(--r-sm);
  background: #fafafa; aspect-ratio: 1/1; padding: 6px;
  transition: border-color .25s var(--ease);
}
.pd-gallery .thumbs button.on { border-color: var(--red); }
.pd-gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pd-info h1 { font-size: clamp(24px, 2.5vw, 38px); font-weight: 800; color: var(--ink); line-height: 1.25; letter-spacing: -.5px; }
.pd-info .model { color: var(--red); font-weight: 700; font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; justify-content: flex-start; gap: 5px; }
.pd-info .model .badge {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .5px;
  color: #b93f3f;
  background: #fdeeee;
  border-radius: 7px;
  padding: 5px 10px;
}
.pd-info .desc { margin-top: 20px; color: var(--gray); font-size: 15.5px; line-height: 2; }
.pd-info .qspecs { margin-top: 22px; }
.pd-info .qs-card { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 4px 18px 2px; }
.pd-info .qs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.pd-info .qs-item { padding: 10px 0 10px; border-bottom: 1px dashed var(--line-soft); }
.pd-info .qs-item:nth-last-child(-n+3) { border-bottom: 0; }
.pd-info .qs-k { display: block; font-size: 12px; color: var(--gray-2); white-space: nowrap; }
.pd-info .qs-k span { margin-left: 5px; color: #b9b9b9; }
.pd-info .qs-v { display: block; font-size: 16px; font-weight: 800; color: var(--ink); margin-top: 2px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .pd-info .qs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-info .qs-item:nth-last-child(-n+3) { border-bottom: 1px dashed var(--line-soft); }
  .pd-info .qs-item:nth-last-child(-n+2) { border-bottom: 0; }
}
.pd-info .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.pd-info .actions .dl-block { flex: 1 1 100%; }

.prod-card .card-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 8px; }
/* 手机端卡片窄：编码放不下时换行，避免顶出卡片右缘 */
@media (max-width: 600px) { .prod-card .card-line { flex-wrap: wrap; row-gap: 2px; } }
.prod-card .card-cat { font-size: 12px; font-weight: 400; color: #a6a1b7; }
.prod-card .card-code { font-size: 12px; font-weight: 400; color: #a6a1b7; letter-spacing: .04em; white-space: nowrap; }
.prod-card .card-qs {
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px dashed var(--line-soft);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-2);
}
.prod-card .card-qs b { color: var(--ink); font-weight: 400; }
.prod-card .card-qs .cq { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 14px 18px; text-align: left; }
.spec-table th { background: var(--bg-soft); font-weight: 600; color: var(--ink-2); width: 38%; }
.spec-table tr:hover td, .spec-table tr:hover th { background: var(--red-soft); }

/* ==========================================================================
   技术能力 / 服务
   ========================================================================== */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.feat {
  padding: 38px 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: #fff;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.feat::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ease);
}
.feat:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.feat:hover::before { transform: scaleX(1); }
.feat .ico {
  width: 58px; height: 58px; border-radius: var(--r-sm);
  background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: all .35s var(--ease);
}
.feat:hover .ico { background: var(--red); color: #fff; }
.feat .ico svg { width: 27px; height: 27px; }
.feat h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.feat p { font-size: 14.5px; color: var(--gray); line-height: 1.88; }
.feat .num {
  position: absolute; right: 20px; top: 12px;
  font-size: 62px; font-weight: 800; color: var(--line-soft); line-height: 1;
  pointer-events: none;
}

/* 技术能力轮播：一行显示，左右切换 */
.tech-slider { position: relative; }
.tech-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden; /* 固定纵向：overflow-x:auto 会联动 overflow-y:auto，导致上下可小范围滚动 */
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.tech-track::-webkit-scrollbar { display: none; }
/* 滑轨内卡片仅做淡入，不做纵向位移：translateY 会在横向滚动容器内产生纵向滚动范围与底部裁切 */
.tech-track .reveal,
.tech-track .reveal.in { transform: none; }
.tech-track .feat {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
/* 产品分类滑轨：一行 4 张 */
.tech-track .cat-card {
  flex: 0 0 calc((100% - 72px) / 4);
  scroll-snap-align: start;
}
.tech-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all .3s var(--ease);
  padding: 0;
}
.tech-nav svg { width: 18px; height: 18px; }
.tech-nav:hover { background: var(--red); border-color: var(--red); color: #fff; }
.tech-nav:disabled { opacity: .32; cursor: default; box-shadow: none; }
.tech-nav:disabled:hover { background: #fff; border-color: var(--line); color: var(--ink); }
.tech-nav.prev { left: -23px; }
.tech-nav.next { right: -23px; }
.tech-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.tech-dots button {
  width: 26px; height: 4px; border-radius: 4px;
  border: 0; padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.tech-dots button.on { background: var(--red); width: 44px; }
@media (max-width: 1180px) {
  .tech-track .feat { flex-basis: calc((100% - 24px) / 2); }
  .tech-track .cat-card { flex-basis: calc((100% - 24px) / 2); }
  .tech-nav.prev { left: -10px; }
  .tech-nav.next { right: -10px; }
}
@media (max-width: 600px) {
  .tech-track { gap: 16px; }
  /* 一次滑动只翻一张：snap 停留点逐卡吸附（scroll-snap-stop 须设在 snap 子项上） */
  .tech-track .feat,
  .tech-track .cat-card { scroll-snap-stop: always; }
  .tech-track .feat { flex-basis: 100%; }
  /* 首页产品分类：手机端一屏一张（整屏宽度，横向滑轨逐张吸附） */
  .tech-track .cat-card { flex-basis: 100%; }
  .tech-nav { display: none; }
  .tech-dots { margin-top: 18px; }

  /* 产品分类区：压缩上边距，令一张分类卡刚好落在一屏内 */
  #products.section { padding-top: 38px; }
  #products .sec-head { margin-bottom: 22px; }
  #products .sec-title { font-size: 23px; }
  #products .sec-sub { font-size: 12.5px; line-height: 1.7; }
  #products .cat-info { padding: 15px 17px 18px; }
  #products .cat-info p { margin-top: 6px; line-height: 1.6; }
  #products .cat-more { margin-top: 12px; }
}

/* 数字流程 */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.flow .step { padding: 34px 26px; border-right: 1px solid var(--line); background: #fff; transition: all .35s var(--ease); }
.flow .step:last-child { border-right: 0; }
.flow .step:hover { background: var(--red); }
.flow .step:hover * { color: #fff !important; }
.flow .step .n { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: .14em; }
.flow .step h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 10px 0 8px; }
.flow .step p { font-size: 13.5px; color: var(--gray); line-height: 1.8; margin: 0; }

/* 图文交替 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4.4vw, 76px);
  align-items: center;
}
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 8/3; background: #eee; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { font-size: clamp(23px, 2.5vw, 36px); font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -.4px; }
.split-body p { margin-top: 18px; color: var(--gray); font-size: 15.5px; line-height: 2; }
.split-body ul { margin-top: 22px; display: grid; gap: 12px; }
.split-body ul li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); align-items: flex-start; }
.split-body ul li::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px;
  background: var(--red); border-radius: 50%; margin-top: 10px;
}

/* ==========================================================================
   联系 / 表单
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 4vw, 62px); align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; border: 1px solid var(--line-soft); border-radius: var(--r);
  background: #fff; transition: all .3s var(--ease);
}
.info-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.info-card .ico svg { width: 20px; height: 20px; }
.info-card h4 { font-size: 13px; color: var(--gray-2); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.info-card p { font-size: 15.5px; color: var(--ink); font-weight: 600; line-height: 1.65; word-break: break-word; }
.info-card p small { display: block; font-weight: 400; font-size: 13.5px; color: var(--gray); margin-top: 3px; }

.form {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px);
  box-shadow: var(--shadow-sm);
}
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--gray); margin-bottom: 8px; font-weight: 600; }
.field label i { color: var(--red); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 16px; font-size: 15px; outline: 0;
  background: #fcfcfc;
  transition: all .25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px var(--red-soft); }
.form .btn { width: 100%; }
.form .note { margin-top: 14px; font-size: 12.5px; color: var(--gray-2); text-align: center; }
.form-ok {
  margin-top: 16px; padding: 14px 18px; border-radius: var(--r-sm);
  background: #eafaf0; border: 1px solid #b7e6c8; color: #1a7f45; font-size: 14px; display: none;
}
.form-ok.show { display: block; }

/* 关注我们 */
.follow-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); box-shadow: var(--shadow); }
.follow-card h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.follow-card .sub { font-size: 13.5px; color: var(--gray-2); margin-top: 6px; }
.follow-qr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.follow-qr img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line-soft); background: #fff; display: block; }
.follow-qr p { text-align: center; font-size: 12.5px; color: var(--gray); margin-top: 8px; }
.follow-sns { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.follow-sns .grp { font-size: 13px; color: var(--gray-2); letter-spacing: 1px; }
.follow-sns a { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f4f4f5; color: var(--ink-2); border: 1px solid var(--line-soft); transition: all .3s var(--ease); }
.follow-sns a svg { width: 20px; height: 20px; }
.follow-sns a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }

.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); height: 400px; background: #eee; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: #111114; color: #9d9da6; padding-top: 76px; }
.footer a { color: #9d9da6; }
.footer a:hover { color: #fff; }

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 2.3fr;
  gap: clamp(24px, 2.6vw, 48px);
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.foot-brand .logo-f { display: flex; align-items: center; margin-bottom: 20px; }
.foot-brand .logo-f img { width: 190px; height: auto; }
.foot-brand p { font-size: 14px; line-height: 1.95; max-width: 380px; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.foot-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.foot-social svg { width: 17px; height: 17px; }

.foot-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.foot-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--red); }
.foot-col ul { display: grid; gap: 11px; }
.foot-col ul a { font-size: 14px; }

/* 二维码单张轮播（页脚 / 联系页通用）：一次只显示一张大码，方便扫码 */
.qr-slide { display: flex; align-items: center; gap: 10px; max-width: 300px; }
.qr-slide .qs-stage { position: relative; flex: 1; overflow: hidden; }
.qr-slide .qs-track { display: flex; align-items: flex-start; transition: transform .45s ease; will-change: transform; }
.qr-slide .qs-track.no-anim { transition: none; }
.qr-slide .item { flex: 0 0 100%; min-width: 100%; text-align: center; }
.qr-slide img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: var(--r-sm); background: #fff; object-fit: cover; padding: 4px; }
.qr-slide p { font-size: 12.5px; margin-top: 8px; }
.footer .qr-slide p { color: rgba(255, 255, 255, .72); }
.qs-btn { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(128,128,128,.4); background: transparent; color: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: border-color .2s, color .2s; }
.qs-btn svg { width: 14px; height: 14px; }
.qs-btn:hover { border-color: var(--red); color: var(--red); }
.qs-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.qs-dots i { width: 6px; height: 6px; border-radius: 4px; background: rgba(128,128,128,.35); cursor: pointer; transition: width .25s, background .25s; }
.qs-dots i.on { width: 16px; background: var(--red); }

.foot-contact { display: grid; gap: 14px; margin-top: 6px; }
.foot-contact .li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.7; }
.foot-contact .li svg { width: 16px; height: 16px; color: var(--red); flex: 0 0 auto; margin-top: 4px; }
/* 页脚电话后的「(微信同号)」：不加粗、深色底上弱化为浅灰（作用域限 .footer，避免污染抽屉内同名备注） */
.footer .foot-contact .li .tel-note { font-style: normal; font-weight: 400; font-size: 13px; color: rgba(255, 255, 255, .62); margin-left: 6px; }

.foot-bottom {
  padding: 24px 0;
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  align-items: center; justify-content: space-between;
  font-size: 13.5px;
}
.foot-bottom .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* 右侧悬浮工具条（滚动超过 400px 后出现） */
.side-tool {
  position: fixed; right: 24px; bottom: 96px; z-index: 800;
  display: grid; gap: 10px;
  opacity: 0; visibility: hidden; transform: translateX(26px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.side-tool.show { opacity: 1; visibility: visible; transform: translateX(0); }
.side-item { position: relative; }
.side-item button, .side-item a {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
  transition: all .3s var(--ease);
  cursor: pointer; padding: 0;
  font: inherit;
}
.side-item button:hover, .side-item a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.side-item svg { width: 20px; height: 20px; }

/* 悬停弹出层（出现在按钮左侧） */
.side-item .pop {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translate(10px, -50%);
  background: #fff; color: var(--ink-2);
  border: 1px solid var(--line-soft); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.side-item .pop::after {
  content: ""; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent; border-left-color: #fff;
  filter: drop-shadow(2px 0 2px rgba(0, 0, 0, .04));
}
.side-item:hover .pop, .side-item:focus-within .pop {
  opacity: 1; visibility: visible; transform: translate(0, -50%);
}
.side-item .pop b { display: block; font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: .4px; }
.side-item .pop i { display: block; font-style: normal; font-size: 12px; color: var(--gray-2); margin-top: 3px; }
.side-item .pop-qr { width: 150px; padding: 8px; }
.side-item .pop-qr img { display: block; width: 132px; height: 132px; object-fit: cover; border-radius: var(--r-sm); background: #fff; }

/* 滚动入场动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* 分页 */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 46px; }
.pager a, .pager span {
  min-width: 42px; height: 42px; padding: 0 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 14px; color: var(--gray); transition: all .25s var(--ease);
}
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .on { background: var(--red); border-color: var(--red); color: #fff; }
.pager .off { opacity: .4; pointer-events: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
/* 超大屏：适当放大留白 */
@media (min-width: 1800px) {
  :root { --fluid: 100px; }
}
@media (max-width: 1799px) and (min-width: 1500px) {
  :root { --fluid: 64px; }
}

/* 中屏：隐藏 mega 的最后两列 */
@media (max-width: 1400px) {
  .mega-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* 平板横屏 */
@media (max-width: 1180px) {
  .nav-list { gap: 0; }
  .nav-link { padding: 0 10px; font-size: 14.5px; }
  .logo img.pic { width: 200px; height: 59px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .about-media .pic-sub { right: 0; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
}

/* 平板 */
@media (max-width: 1024px) {
  .hero { height: 88vh; }
  .news-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pd-top { grid-template-columns: minmax(0, 1fr); }
  .contact-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .split.rev .split-media { order: 0; }
  .news-item { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
  .news-item .txt { padding: 20px 20px 20px 0; }
  /* 详情页单列后右栏变宽，下载卡片横排间距放宽 */
  .dl-list { gap: 14px; }
  .dl-card { padding: 16px 40px 16px 16px; }
  .dl-card .dl-t { font-size: 14px; }
}

/* 手机 + 小平板：切抽屉导航 */
@media (max-width: 900px) {
  :root { --nav-h: 68px; --nav-h-min: 64px; }

  .nav, .search-box, .lang { display: none; }
  .burger { display: flex; margin-left: auto; }
  .header-tools { margin-left: auto; }
  .header-inner { gap: 12px; }
  .header { background: #fff; height: var(--nav-h-min); box-shadow: 0 1px 0 var(--line); }
  .header .logo img.pic-light { display: none; }
  .header .logo img.pic-dark { display: block; }
  .header .header-tools { color: var(--ink-2); }
  .header .logo img.pic { width: 168px; height: 50px; }
  .logo-fallback { color: var(--ink) !important; font-size: 20px; }

  .hero { height: auto; min-height: 620px; padding-bottom: 0; }
  .hero-track { position: relative; height: 460px; }
  .hero-slide { position: absolute; }
  .hero-slide .veil { background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .7)); }
  .hero-caption { top: 0; bottom: auto; height: 460px; align-items: flex-end; padding-bottom: 28px; }
  .hero-caption .inner { max-width: 520px; margin-inline: 0; }
  .hero-title { font-size: clamp(20px, 3vw, 26px); }
  .hero-desc { font-size: 13px; max-width: 420px; }
  .hero-arrow { width: 44px; height: 44px; }
  .hero-arrow svg { width: 16px; height: 16px; }
  .hero-strip { position: relative; }
  .hero-strip .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-strip a { border-bottom: 1px solid rgba(255, 255, 255, .1); }

  .section { padding: 62px 0; }
  .section-sm { padding: 46px 0; }
  .sec-head { margin-bottom: 36px; }

  .side-layout { grid-template-columns: minmax(0, 1fr); }

  .news-item { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .news-item .pic { aspect-ratio: 16/9; }
  .news-item .txt { padding: 20px 22px 22px; }

  .crumb { position: static; }
  .crumb .wrap { height: auto; padding-block: 14px; }

  .flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .flow .step:nth-child(2n) { border-right: 0; }
  .flow .step { border-bottom: 1px solid var(--line); }

  .about-media .pic-sub { width: 38%; border-width: 4px; }
  .about-badge { padding: 14px 16px; min-width: 108px; }
  .about-badge b { font-size: 26px; }

  .foot-top { grid-template-columns: 1fr 1fr; }
  .map-grid { grid-template-columns: minmax(0, 1fr); }
  .map-stats { grid-template-columns: repeat(3, 1fr); }
  .map-stats .item:nth-child(-n+3) { border-top: 0; padding-top: 0; }
}

/* 手机 */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero { min-height: 560px; }
  .hero-track { height: 400px; }
  .hero-caption { height: 400px; padding-bottom: 18px; }
  .hero-caption .inner { max-width: 100%; margin-inline: 0; }
  /* 手机端：隐藏轮播标题与描述，caption 仅保留按钮组（桌面端不变） */
  .hero-title, .hero-desc { display: none; }
  .hero-actions { margin-top: 0; gap: 10px; }
  .hero-actions .btn { height: 40px; padding: 0 18px; font-size: 13px; }
  .btn { height: 46px; padding: 0 24px; font-size: 14px; }
  .hero-strip .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-arrow { display: none; }
  /* 圆点：手机端居中于图片高度的 1/2 处（图片 = .hero-track，高 400px） */
  .hero-dots { top: 200px; }

  /* 抽屉：手机端占页面 1/2（1/3 宽在窄屏下过挤） */
  .drawer { width: 66vw; min-width: 0; }
  .dr-head { font-size: 15px; padding: 14px 16px; }
  .dr-sub .dr-sub-pics { grid-template-columns: repeat(2, 1fr); }
  .drawer-top { height: 62px; padding-inline: 16px; }
  .drawer-top .brand { font-size: 15px; }
  .drawer-foot { padding: 20px 16px; }

  .news-row { grid-template-columns: minmax(0, 1fr); }
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 14px; }
  .prod-card h3 { font-size: 14.5px; }
  .prod-card .txt { padding: 14px 14px 16px; }

  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat { padding: 24px 14px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow .step { border-right: 0; }

  /* 技术资料下载：窄屏回退为单列竖排 */
  .dl-list { grid-template-columns: minmax(0, 1fr); }
  .dl-card { flex-direction: row; align-items: center; gap: 12px; padding: 13px 34px 13px 13px; }
  .dl-body { margin-top: 0; }
  .dl-card .dl-t { font-size: 14px; }
  .dl-card .dl-en { font-size: 11px; }

  .about-media .pic-sub { display: none; }
  .about-badge { left: 0; top: 0; }

  .form .row2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; text-align: left; }

  .side-nav .links { grid-template-columns: minmax(0, 1fr); }
  .map-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .map-stats .item:nth-child(3) { border-top: 1px solid var(--line-soft); padding-top: 14px; }
  .map-pulse .lbl { display: none; }
  .side-tool { right: 14px; bottom: 76px; gap: 8px; }
  .side-item button, .side-item a { width: 44px; height: 44px; }
  .feat { padding: 28px 22px; }
  .pd-gallery { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pd-gallery .main { order: -1; }
  .pd-gallery .thumbs { flex-direction: row; justify-content: flex-start; }
  .pd-gallery .thumbs button { flex: 1 1 0; min-width: 0; }
}

/* 超小屏 */
@media (max-width: 380px) {
  .hero-title { font-size: 18px; }
  .header .logo img.pic { width: 140px; height: 42px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
}

/* 打印 */
@media print {
  .header, .side-tool, .hero-arrow, .hero-dots { display: none !important; }
}

/* ---- 新闻列表：顶部特写 + 三列网格（参考 redcatt.cn/news） ---- */
.feat-news { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.feat-news .feat-pic { flex: 0 0 52%; align-self: flex-start; aspect-ratio: 600 / 300; overflow: hidden; }
.feat-news .feat-pic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; display: block; transition: transform .6s ease; }
.feat-news .feat-pic:hover img { transform: scale(1.06); }
.feat-news .feat-cont { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 30px 36px; }
.feat-time { display: flex; align-items: flex-end; color: #ccc; line-height: 1; }
.feat-time span { font-size: 54px; font-weight: 700; position: relative; padding: 0 8px 12px; }
.feat-time span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--red); }
.feat-time p { font-size: 13px; padding: 0 0 14px 8px; }
.feat-time p label { display: block; margin-bottom: 6px; }
.feat-name { font-size: 20px; font-weight: 700; margin: 20px 0 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.feat-name a { color: var(--ink); transition: color .3s ease; }
.feat-name a:hover { color: var(--red); }
.feat-desc { font-size: 14px; color: var(--gray-2); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feat-link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 20px; padding: 0 26px; height: 44px; background: var(--red); color: #fff; font-size: 14.5px; border-radius: 6px; transition: all .35s ease; }
.feat-link:hover { box-shadow: 0 10px 22px rgba(230, 0, 18, .35); color: #fff; }
.feat-link svg { width: 15px; height: 15px; }

.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.gn-link { position: relative; display: block; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.gn-pic { overflow: hidden; aspect-ratio: 606 / 300; }
.gn-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gn-link:hover .gn-pic img { transform: scale(1.06); }
.gn-info { position: relative; z-index: 1; background: #fff; display: flex; padding: 20px 18px 36px; transition: transform .4s ease; }
.gn-link:hover .gn-info { transform: translateY(-40px); }
.gn-time { flex: 0 0 58px; font-size: 12px; color: #999; text-align: center; white-space: nowrap; }
.gn-time span { display: block; font-size: 27px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.gn-txt { flex: 1; min-width: 0; padding-left: 16px; }
.gn-txt h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 3px 0 9px; }
.gn-txt p { font-size: 13px; line-height: 1.65; color: var(--gray-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gn-more { position: absolute; z-index: 0; left: 0; bottom: 0; width: 100%; height: 40px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.gn-more svg { width: 14px; height: 14px; }

.gn-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 38px; }
.gn-pager a, .gn-pager span { min-width: 44px; height: 44px; line-height: 42px; padding: 0 18px; border: 1px solid var(--line-soft); border-radius: 22px; background: #fff; font-size: 14.5px; color: #666; text-align: center; transition: all .35s ease; }
.gn-pager a:hover { border-color: var(--red); background: var(--red); color: #fff; }
.gn-pager .on { border-color: var(--red); background: var(--red); color: #fff; }
.gn-pager .off { color: #b9b9b9; border-color: #f0f0f0; cursor: default; }

@media (max-width: 1080px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .feat-news { flex-direction: column; }
  .feat-news .feat-pic { flex: none; aspect-ratio: auto; }
  .feat-news .feat-pic img { min-height: 0; height: 220px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- 内页栏目横条菜单（栏目图下方，参考 yinjiangfood.cn cat-menu） ---- */
.cat-menu { position: sticky; top: var(--nav-h-min); z-index: 90; margin-top: -72px; background: #fff; border-bottom: 1px solid var(--line-soft); box-shadow: 0 2px 12px rgba(0, 0, 0, .05); transition: top .35s var(--ease); }
/* 导航整体隐藏（向下滚动）时，栏目条补位贴到视口顶部 */
html.nav-hidden .cat-menu { top: 0; }
.cat-menu-inner { display: flex; align-items: center; gap: 30px; overflow-x: auto; scrollbar-width: none; }
/* 安全居中：justify-content:center 在内容溢出时会把左端推出可视区且无法滚动，改用 margin:auto */
.cat-menu-inner a:first-child { margin-left: auto; }
.cat-menu-inner a:last-child { margin-right: auto; }
.cat-menu-inner::-webkit-scrollbar { display: none; }
.cat-menu-inner a { flex-shrink: 0; padding: 8px 24px; font-size: 15px; font-weight: 500; color: var(--ink-2); border: 1px solid #d1d5dc; border-radius: 12px; position: relative; white-space: nowrap; text-align: center; line-height: 1.35; transition: color .3s ease, border-color .3s ease; }
.cat-menu-inner a .cat-cn { display: block; }
.cat-menu-inner a .cat-en { display: block; font-size: 11px; font-weight: 400; opacity: .55; letter-spacing: .03em; margin-top: 1px; }
.cat-menu-inner a:hover { color: var(--red); }
.cat-menu-inner a.active { color: var(--red); font-weight: 700; border-color: var(--red); }
@media (max-width: 900px) {
  .cat-menu-inner a { padding: 7px 16px; font-size: 14px; }
  .cat-menu-inner a .cat-en { font-size: 10px; }
  /* 手机端二级菜单横向滑动 */
  .cat-menu-inner { gap: 10px; padding-block: 8px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .cat-menu { margin-top: 0; }
}
