/* ============================================================
   卷纸管机 · 前台样式（工业风）
   配色：深藏蓝 + 工业橙 + 钢灰
   ============================================================ */

:root {
  /* —— 主题基准（后台「站点设置 → 主题风格」可修改）—— */
  --brand: #122a45;   /* 主色基准 */
  --accent: #f97316;  /* 强调色基准 */
  /* —— 组件级配色（后台可单独覆盖；site_head 注入最终值）—— */
  --dark-bg: var(--brand);        /* 深色区背景 */
  --nav-bg: var(--dark-bg);       /* 导航栏背景 */
  --footer-bg: var(--dark-bg);    /* 页脚背景 */
  --title-color: var(--brand);    /* 标题文字 */
  --btn-bg: var(--accent);        /* 按钮背景 */
  --highlight-bg: var(--accent);  /* 高亮 / 选中背景 */
  --link-color: var(--accent);    /* 链接颜色 */

  /* 先写【回退默认值】（不支持color-mix时就用这组） */
  --navy-900: var(--dark-bg);
  --navy-800: var(--title-color);
  --navy-700: var(--dark-bg);
  --blue-600: var(--dark-bg);
  --orange-500: var(--btn-bg);
  --orange-600: var(--btn-bg);

  --ink: #1f2937;
  --muted: #64748b;
  --bg: #f6f8fa;
  --line: #e5e9f0;
  --white: #ffffff;

  --shadow-sm: 0 1px 3px rgba(12, 30, 51, .08);
  --shadow-md: 0 8px 24px rgba(12, 30, 51, .10);
  --shadow-lg: 0 16px 40px rgba(12, 30, 51, .16);

  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* 浏览器支持color-mix的时候，再覆盖成混合色彩 */
@supports (color: color-mix(in srgb, red 50%, blue)) {
  :root {
    --navy-900: color-mix(in srgb, var(--dark-bg) 78%, #000);
    --navy-700: color-mix(in srgb, var(--dark-bg) 94%, #fff);
    --blue-600: color-mix(in srgb, var(--dark-bg) 86%, #fff);
    --orange-600: color-mix(in srgb, var(--btn-bg) 92%, #000);

    --shadow-sm: 0 1px 3px color-mix(in srgb, var(--brand) 8%, transparent);
    --shadow-md: 0 8px 24px color-mix(in srgb, var(--brand) 10%, transparent);
    --shadow-lg: 0 16px 40px color-mix(in srgb, var(--brand) 16%, transparent);
  }
}


* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--container, 1140px), 92%);
  margin: 0 auto;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: calc(var(--radius, 12px) * .62);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  line-height: 1.4;
}
.btn-lg { padding: 13px 30px; font-size: 16px; border-radius: calc(var(--radius, 12px) * .74); }
.btn-primary {
  background: var(--btn-bg);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, .35);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn-outline {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 30, 51, .92);
  background: color-mix(in srgb, var(--nav-bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h, 66px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: calc(var(--logo-size, 34px) * .88);
  height: calc(var(--logo-size, 34px) * .88);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
}
.brand-mark-img {
  width: var(--logo-size, 34px);
  height: var(--logo-size, 34px);
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}
.brand-mark-img::after { display: none; }
.brand-name {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
}

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  color: rgba(255, 255, 255, .82);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: var(--nav-fs, 15px);
  transition: all .2s ease;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav a.active { color: #fff; background: rgba(249, 115, 22, .22); }
.site-nav a.active { color: #fff; background: color-mix(in srgb, var(--highlight-bg) 22%, transparent); }

/* 导航栏搜索框 */
.nav-search {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.nav-search input {
  width: 168px;
  height: 34px;
  padding: 0 10px 0 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-right: 0;
  border-radius: 7px 0 0 7px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color .2s ease;
}
.nav-search input::placeholder { color: rgba(255, 255, 255, .5); }
.nav-search input:focus { border-color: var(--btn-bg); }
.nav-search button {
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--btn-bg);
  border-left: 0;
  border-radius: 0 7px 7px 0;
  background: var(--btn-bg);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: opacity .2s ease;
}
.nav-search button:hover { opacity: .88; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

/* 中英语言切换（后台「页面开关」可关闭） */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  font-size: 13px;
  white-space: nowrap;
}
.lang-switch a {
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  letter-spacing: .5px;
  padding: 3px 7px;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a.active {
  color: #fff;
  background: var(--highlight-bg);
}
.lang-sep { color: rgba(255, 255, 255, .5); }
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 首屏 Hero ---------------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(44, 110, 171, .35), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(249, 115, 22, .18), transparent 40%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--dark-bg) 35%, transparent), transparent 45%),
    radial-gradient(circle at 15% 85%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 40%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: var(--hero-pad, 108px 0 128px);
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--orange-500);
  font-weight: 600;
  border: 1px solid rgba(249, 115, 22, .4);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 22px;
  background: rgba(249, 115, 22, .08);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.hero h1 {
  font-size: min(var(--hero-title, 52px), 8.5vw);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, .75);
  font-size: 17px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------------- 区块 ---------------- */
.section { padding: var(--sec-gap, 76px) 0; }

/* 区块标题对齐（后台「首页布局」可调，左对齐时标题与副标题同步） */
body.title-left .section-head { text-align: left; }
body.title-left .section-head p { margin-top: 10px; }
/* 首屏内容对齐（后台「首页布局」可调） */
body.hero-left .hero-inner { text-align: left; }
body.hero-left .hero-actions { justify-content: flex-start; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 {
  font-size: min(var(--sec-title, 30px), 6.5vw);
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: 1px;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 46px; height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: var(--highlight-bg);
}
.section-head p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* ---------------- 产品卡片网格 ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols, 3), 1fr);
  gap: var(--grid-gap, 26px);
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-media {
  aspect-ratio: var(--thumb-ratio, 4 / 3);
  background: var(--bg);
  overflow: hidden;
  display: block;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.card:hover .card-media img { transform: scale(1.06); }
.card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #b6c2d1;
  background:
    radial-gradient(circle at 50% 45%, #edf1f6, var(--bg));
}
.card-placeholder svg { width: 46px; height: 46px; }
.card-placeholder em { font-style: normal; font-size: 13px; color: #9aa8bb; }

.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
/* 设备标签徽章（前台卡片 + 详情页共用） */
.card-tags, .detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-800);
  background: rgba(18, 42, 69, .06);
  border: 1px solid rgba(18, 42, 69, .14);
  line-height: 1.5;
}
body.glass .tag-badge {
  background: rgba(255, 255, 255, .55);
  border-color: rgba(255, 255, 255, .85);
  color: var(--navy-800);
}
.detail-tags { margin-top: 14px; margin-bottom: 0; }

/* 前台标签筛选栏（产品区上方，可折叠；选中标签时自动展开） */
.tag-filter {
  margin: 4px 0 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .6);
  overflow: hidden;
}
.tag-filter summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.tag-filter summary::-webkit-details-marker { display: none; }
.tag-filter summary::after {
  content: '▾';
  font-size: 12px;
  color: var(--muted);
  margin-left: 2px;
  transition: transform .2s ease;
}
.tag-filter[open] summary::after { transform: rotate(180deg); }
.tag-filter-label { font-size: 14px; font-weight: 700; color: var(--navy-800); }
.tag-filter-current {
  font-size: 13px;
  font-weight: 600;
  color: var(--link-color);
}
.tag-filter-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 12px 16px 16px;
  border-top: 1px dashed var(--line);
}
.tag-filter-group { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag-filter-root {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-800);
  opacity: .75;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  background: rgba(18, 42, 69, .05);
  border: 1px solid rgba(18, 42, 69, .14);
  cursor: pointer;
  transition: all .18s ease;
  line-height: 1.5;
}
.tag-chip:hover { border-color: var(--link-color); color: var(--link-color); }
  .tag-chip.active {
  background: var(--highlight-bg);
  border-color: var(--highlight-bg);
  color: #fff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, .25);
}
body.glass .tag-filter {
  background: rgba(255, 255, 255, .5);
  border-color: rgba(255, 255, 255, .8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.glass .tag-chip { background: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .7); }
body.glass .tag-chip.active { background: var(--highlight-bg); border-color: var(--highlight-bg); color: #fff; }

.card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card-title a { color: var(--navy-800); transition: color .2s ease; }
.card-title a:hover { color: var(--orange-600); }
.card-desc {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.card-link {
  color: var(--link-color);
  font-weight: 600;
  font-size: 14px;
  transition: gap .2s ease, color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link:hover { color: color-mix(in srgb, var(--link-color) 92%, #000); gap: 8px; }

/* ---------------- 联系我们 ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: block;
}
a.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(249, 115, 22, .45);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(249, 115, 22, .1);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--orange-500);
  font-size: 24px;
  margin-bottom: 14px;
}
.contact-label { display: block; font-size: 13px; color: var(--muted); }
.contact-value { display: block; font-size: 16px; font-weight: 700; color: var(--navy-800); margin-top: 4px; word-break: break-all; }

/* ---------------- 空状态 ---------------- */
.empty-state {
  text-align: center;
  padding: 64px 20px;
  background: var(--white);
  border: 1px dashed #cdd6e2;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.empty-state strong { font-size: 19px; color: var(--navy-800); }
.empty-state span { color: var(--muted); font-size: 14px; }
.empty-state a { color: var(--orange-600); text-decoration: underline; }
.empty-state-lg { padding: 90px 20px; }
.empty-state .btn { margin-top: 12px; }

/* ---------------- 页脚 ---------------- */
  .site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, .78); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: var(--footer-pad, 56px 0 40px);
}
.footer-grid-single { grid-template-columns: 1fr; }
.footer-brand { font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 10px; letter-spacing: 1px; }
.footer-about p { font-size: 14px; color: rgba(255, 255, 255, .6); max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-list li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 14px; }
.footer-icon { color: var(--orange-500); flex: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-muted { font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-icp {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  transition: color .2s ease;
}
.footer-icp:hover { color: #fff; text-decoration: underline; }
.footer-beian {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
}
.footer-beian .footer-icp { font-size: 12px; }
.beian-badge {
  height: 20px;
  width: auto;  display: inline-block;
  vertical-align: middle;
  opacity: .85;
}

/* ---------------- 独立「关于我们」页 ---------------- */
.page-hero {
  position: relative;
  padding: 64px 0 72px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--dark-bg) 40%, transparent), transparent 46%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--dark-bg) 82%, #000) 0%,
      var(--dark-bg) 58%,
      color-mix(in srgb, var(--dark-bg) 94%, #fff) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero.has-img {
  background-size: cover;
  background-position: center;
}
.page-hero.has-img::before {
  background-image: none;
}
.page-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 5px;
  font-weight: 700;
  color: var(--link-color);
  border: 1px solid color-mix(in srgb, var(--link-color) 45%, transparent);
  border-radius: 40px;
  padding: 5px 16px;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--link-color) 10%, transparent);
}
.page-hero h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}
.page-hero-sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: 15px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.8;
}
.breadcrumb {
  position: absolute;
  top: 0; left: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  z-index: 2;
}
.breadcrumb a { color: rgba(255, 255, 255, .75); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--link-color); }
.breadcrumb-sep { margin: 0 6px; color: rgba(255, 255, 255, .35); }
.about-body-lg {
  font-size: 16px;
  line-height: 2;
  color: #334155;
  margin-bottom: 6px;
}
.about-cta {
  margin-top: 52px;
  padding: 44px 36px;
  border-radius: calc(var(--about-radius, 12px) * 1.2);
  text-align: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55));
  box-shadow: var(--shadow-md);
}
.about-cta h2 { font-size: 24px; font-weight: 800; color: var(--navy-800); margin-bottom: 10px; }
.about-cta p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.about-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
body.glass .about-cta {
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid color-mix(in srgb, var(--btn-bg) 55%, transparent);
  color: var(--btn-bg);
}
.btn-outline:hover { background: var(--btn-bg); border-color: var(--btn-bg); color: #fff; }

/* 关于页主图与自定义模块 */
.about-page-figure {
  margin-bottom: 34px;
  border-radius: calc(var(--about-radius, 12px) * 1.2);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.about-page-figure img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.about-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 46px;
}
.about-module {
  display: flex;
  flex-direction: column;
  border-radius: var(--about-radius, 12px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-module:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about-module-figure img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.about-module-body { padding: 20px 22px 24px; }
.about-module-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid color-mix(in srgb, var(--highlight-bg) 30%, transparent);
  display: inline-block;
}
.about-module-body div {
  font-size: 14px;
  line-height: 1.9;
  color: #475569;
}
body.glass .about-module {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 产品分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #1f2937);
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
}
.page-btn:hover:not(.disabled):not(.active) {
  border-color: var(--link-color);
  color: var(--link-color);
}
  .page-btn.active {
  background: var(--highlight-bg);
  border-color: var(--highlight-bg);
  color: #fff;
  font-weight: 600;
}
.page-btn.disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ============================================================
   顶部公告栏（后台「页面开关」可开关、可编辑文字）
   ============================================================ */
.announce-bar {
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 78%, var(--accent)));
  color: #fff;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  padding: 7px 16px;
  letter-spacing: .5px;
  overflow: hidden;
  white-space: nowrap;
}
.announce-track {
  display: inline-block;
  will-change: transform;
  white-space: nowrap;
}
.announce-item { padding-right: 0; }
@keyframes announce-scroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
  .announce-bar { overflow: visible; }
}

/* ============================================================
   动画效果（后台「动画效果」面板可开关、可调速度）
   ============================================================ */
/* —— 滚动入场：JS 就绪且开关开启时先隐藏，进入视口后淡入上移 —— */
body.anim-js-ready.anim-reveal .reveal:not(.in) {
  opacity: 0;
  transform: translateY(18px);
}
body.anim-reveal .reveal {
  transition: opacity var(--reveal-dur) ease, transform var(--reveal-dur) ease;
}
body.anim-reveal .reveal.in {
  opacity: 1;
  transform: none;
}

/* —— 首屏光斑浮动：两团柔和光斑缓慢漂移 —— */
body.anim-glow .hero::before,
body.anim-glow .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
body.anim-glow .hero::before {
  width: 520px; height: 520px;
  left: -120px; top: -140px;
  background: radial-gradient(circle, rgba(60, 140, 220, .32), transparent 70%);
  animation: glow-drift var(--glow-dur) ease-in-out infinite alternate;
}
body.anim-glow .hero::after {
  width: 420px; height: 420px;
  right: -100px; bottom: -120px;
  background: radial-gradient(circle, rgba(249, 115, 22, .22), transparent 70%);
  animation: glow-drift2 var(--glow-dur) ease-in-out infinite alternate;
}
@keyframes glow-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.12); }
}
@keyframes glow-drift2 {
  0%   { transform: translate(0, 0) scale(1.05); }
  100% { transform: translate(-50px, -30px) scale(.95); }
}

/* —— 产品卡片悬浮幅度（后台可调：无 / 轻 / 标准 / 强）—— */
body.anim-card-none .card:hover { transform: none; }
body.anim-card-light .card:hover { transform: translateY(-3px); }
body.anim-card-strong .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(15, 41, 80, .18);
}

/* ============================================================
   液态玻璃效果（后台「站点设置 → 网站外观」可开关）
   ============================================================ */
body.glass .card,
body.glass .about-card,
body.glass .contact-card,
body.glass .inquiry,
body.glass .detail {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .62) 42%, rgba(255, 255, 255, .38) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow:
    0 10px 28px rgba(15, 41, 80, .14),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(255, 255, 255, .30);
}
body.glass .card { border: 1px solid rgba(255, 255, 255, .88); }
body.glass .card:hover {
  border-color: var(--highlight-bg);
  box-shadow:
    0 16px 36px rgba(15, 41, 80, .18),
    inset 0 1px 0 rgba(255, 255, 255, .95);
}
body.glass .inquiry input,
body.glass .inquiry textarea {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(255, 255, 255, .85);
}
body.glass .inquiry input:focus,
body.glass .inquiry textarea:focus {
  background: rgba(255, 255, 255, .92);
  border-color: var(--highlight-bg);
}

/* ============ 在线询盘悬浮球 ============ */
.q-float { position: fixed; right: 26px; bottom: 96px; z-index: 999; }
.q-float-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  border: none; cursor: pointer;
  border-radius: 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--btn-bg), color-mix(in srgb, var(--btn-bg) 78%, #000));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--btn-bg) 38%, transparent);
  font-size: 14.5px; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .3s ease;
}
.q-float-btn svg { width: 19px; height: 19px; }
.q-float-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 32px color-mix(in srgb, var(--btn-bg) 46%, transparent); }
.q-float-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 40px;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--btn-bg) 55%, transparent);
  animation: q-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes q-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--btn-bg) 55%, transparent); }
  70%  { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.q-mask {
  position: fixed; inset: 0;
  background: rgba(9, 20, 36, .45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.q-panel {
  position: fixed;
  right: 26px; bottom: 96px;
  width: 372px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  background: #fff; color: var(--navy-800);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(8, 20, 38, .28);
  padding: 20px 22px 22px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  z-index: 1001;
}
.q-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.q-panel-head h3 { font-size: 17px; font-weight: 800; margin: 0; }
.q-close {
  width: 30px; height: 30px; border-radius: 50%;
  border: none; cursor: pointer;
  background: #f1f5f9; color: #475569;
  font-size: 18px; line-height: 1;
  transition: background .2s ease, color .2s ease;
}
.q-close:hover { background: #e2e8f0; color: #0f172a; }
.q-panel .inquiry-sub { margin: 0 0 12px; font-size: 13px; }
.q-float.open .q-mask { opacity: 1; visibility: visible; }
.q-float.open .q-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
body.glass .q-panel {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
@media (max-width: 560px) {
  .q-float-btn span { display: none; }
  .q-float-btn { padding: 14px; border-radius: 50%; }
  .q-float { bottom: 84px; }
  .q-panel { right: 16px; bottom: 84px; left: 16px; width: auto; }
}

/* 返回顶部 */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 40;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--orange-500); }

/* ---------------- 详情页 ---------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 26px 0 6px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--orange-600); }
.breadcrumb .sep { color: #b6c2d1; }
.breadcrumb span:last-child { color: var(--ink); font-weight: 500; }

.detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  padding: 30px 0 20px;
  align-items: start;
}
.detail-media {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.detail-media img { width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.detail-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 120px 0;
  color: #b6c2d1;
  background: var(--bg);
}
.detail-placeholder svg { width: 64px; height: 64px; }
.detail-placeholder em { font-style: normal; font-size: 14px; color: #9aa8bb; }

.detail-info h1 { font-size: 30px; font-weight: 800; color: var(--navy-800); margin-bottom: 12px; line-height: 1.3; }
.detail-desc { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-actions .btn-primary {
  box-shadow: none;
  border: 1.5px solid var(--orange-500);
  background: var(--orange-500);
}
.detail-actions .btn-outline {
  border-color: var(--line);
  color: var(--navy-800);
  background: var(--white);
}
.detail-actions .btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); background: #f2f7fb; }

.detail-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  margin: 26px 0;
  box-shadow: var(--shadow-sm);
}
.detail-block h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-block h2::before {
  content: "";
  width: 4px; height: 18px;
  border-radius: 4px;
  background: var(--orange-500);
}

.table-wrap { overflow-x: auto; }
.param-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.param-table th, .param-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.param-table tr:last-child th, .param-table tr:last-child td { border-bottom: 0; }
.param-table th {
  width: 220px;
  color: var(--navy-800);
  font-weight: 600;
  background: #f2f5f9;
}
.param-table td { color: var(--ink); }

.prose { font-size: 15px; color: #374151; line-height: 1.9; }
.prose p { margin: 0 0 10px; }
.prose br + br { display: block; content: ""; margin-bottom: 8px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h, 66px); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--navy-900);
    padding: 10px 6%;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none;
  }
  .site-nav.open { display: flex; }
  
  /* ========== 主导航二级下拉菜单 【新增缺失部分】 ========== */
.site-nav li {
  position: relative;
}
/* 下拉容器 */
.site-nav .submenu {
  position: absolute;
  top: 100%;
  left:0;
  min-width: 180px;
  background: var(--navy-900);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding:8px 0;
  z-index:100;
  opacity:0;
  visibility:hidden;
  transform: translateY(6px);
  transition: 0.22s ease;
}
/* hover显示下拉 */
.site-nav li.has-sub:hover > .submenu {
  opacity:1;
  visibility:visible;
  transform: translateY(0);
}
/* 下拉内部链接 */
.site-nav .submenu a {
  display:block;
  padding:10px 18px;
  border-radius:0;
}
.site-nav .submenu a:hover{
  background: color‑mix(in srgb, var(--highlight-bg) 22%, transparent);
}

/* -------- 移动端下的二级下拉适配 -------- */
@media (max-width:640px){
  .site-nav li {
    position: static;
  }
  .site-nav .submenu {
    position: static;
    box-shadow:none;
    background: color‑mix(in srgb, var(--navy-900) 85%, #000);
    border-radius:8px;
    margin:4px 10px;
    transform:none;
  }
}

  
  .site-nav a { padding: 12px 14px; border-radius: 8px; }
  .nav-search { margin: 8px 0 2px; }
  .nav-search input { flex: 1; width: auto; }

  .hero-inner { padding: 72px 0 88px; }
  .section { padding: 56px 0; }
  .grid { grid-template-columns: 1fr; }
  .detail-block { padding: 22px 20px; }
  .param-table th { width: 130px; }
}

/* ---------------- 关于我们 ---------------- */
.about-wrap {
  max-width: var(--about-w, 980px);
  margin: 0 auto;
}
.about-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--about-radius, 12px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-card-bar {
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}
.about-inner {
  padding: var(--about-pad, 34px 44px 30px);
  text-align: center;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 40px;
  color: var(--orange-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  margin-bottom: 12px;
}
.about-badge svg { width: 13px; height: 13px; }
.about-inner h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: 1px;
}
.about-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.about-divider {
  display: block;
  width: 44px;
  height: 3px;
  margin: 14px auto 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, transparent));
}
.about-body {
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: var(--navy-700);
  text-align: justify;
}
/* 关于我们左对齐（后台「元素尺寸与位置 → 关于我们对齐」可调） */
body.about-left .about-inner { text-align: left; }
body.about-left .about-divider { margin-left: 0; }
body.about-left .about-body { margin-left: 0; text-align: left; }
.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.about-point {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--about-radius-sm, 8px);
  background: #fbfcfe;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.about-point:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.about-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: var(--about-radius-xs, 5px);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--orange-500);
}
.about-point-icon svg { width: 18px; height: 18px; }
.about-point strong {
  display: block;
  font-size: 13.5px;
  color: var(--navy-800);
  margin-bottom: 2px;
}
.about-point > div > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .about-inner { padding: 26px 18px 24px; }
  .about-points { grid-template-columns: 1fr; gap: 12px; }
  .about-point { padding: 11px 13px; }
  /* 小屏上超大圆角收一点，避免边缘发空 */
  .about-card { border-radius: min(var(--about-radius, 12px), 22px); }
}

/* ---------------- 在线询盘 ---------------- */
.inquiry {
  max-width: 680px;
  margin: 48px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 34px;
  box-shadow: 0 8px 24px rgba(15, 41, 80, .06);
}
.inquiry h3 { font-size: 20px; font-weight: 800; color: var(--navy-800); }
.inquiry-sub { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }
.inquiry-form { display: flex; flex-direction: column; gap: 14px; }
.inquiry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-row-full { grid-template-columns: 1fr; }
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy-800);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .15);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}
.inquiry-actions { display: flex; justify-content: flex-end; }
.form-tip {
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14px;
  margin-bottom: 14px;
}
.form-tip-ok   { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-tip-err  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
@media (max-width: 640px) {
  .inquiry-row { grid-template-columns: 1fr; }
  .inquiry { padding: 24px 20px; }
}


/* ============ 自定义页面（pages.php） ============ */
.page-body-section {
  padding: 46px 0 30px;
  min-height: 320px;
}
.page-body-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 34px 38px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #333;
  box-shadow: 0 6px 24px rgba(8, 20, 38, .05);
}
.page-body-card p { margin: 0 0 14px; }
.page-body-card p:last-child { margin-bottom: 0; }
.page-body-empty {
  color: #8a8f99;
  text-align: center;
  padding: 36px 0;
}
.page-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.page-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--dark-bg) 12%, transparent);
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 27, 41, .05);
}
.page-gallery-item img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.page-body-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 30px 0 46px;
  flex-wrap: wrap;
}
.page-body-cta .btn { min-width: 150px; }
@media (max-width: 600px) {
  .page-body-card { padding: 24px 20px; }
}

/* ---------- 视频播放（设备详情 / 自定义页面 / 关于页） ---------- */
.detail-video,
.page-video,
.about-page-video video {
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 14px;
  background: #0b1524;
  box-shadow: 0 14px 40px rgba(10, 24, 42, .18);
}
.detail-video-block { text-align: center; }
.detail-video-block h2 { text-align: left; }
.detail-video { max-height: 70vh; }
.page-video-wrap { margin: 22px 0 8px; }
.about-page-video { margin: 0 0 28px; }
@media (max-width: 600px) {
  .detail-video, .page-video, .about-page-video video { border-radius: 10px; }
}

/* ============================================================
   外观 / 动画扩展（后台「站点设置」可调，v5.47）
   ============================================================ */
/* —— 图片悬停：无 / 放大（默认，见 .card:hover）/ 上浮轻移 —— */
body.img-hover-none .card:hover .card-media img { transform: none; }
body.img-hover-lift .card:hover .card-media img { transform: translateY(-8px) scale(1.02); }

/* —— 按钮悬停：仅变色 / 上浮（默认）/ 发光扩散 —— */
body.btn-hover-none .btn-primary:hover { transform: none; }
body.btn-hover-glow .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 38%, transparent),
              0 0 0 6px color-mix(in srgb, var(--accent) 16%, transparent);
}

/* —— 错峰入场：同一排的卡片依次延迟出现（--i 由 main.js 写入） —— */
body.anim-reveal.anim-stagger .reveal {
  transition-delay: calc(var(--i, 0) * var(--stagger, 80ms));
}

/* —— 背景纹理降级：不支持 color-mix 时仍是极淡纹理，不影响可读性 —— */
@media (prefers-reduced-motion: reduce) {
  body.anim-reveal.anim-stagger .reveal { transition-delay: 0s; }
}


/* ===== 手机端快捷栏 / Cookie 提示 / 隐私链接 / 相关产品（v5.42） ===== */
.quick-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(15, 27, 45, .96);
  box-shadow: 0 -6px 20px rgba(8, 18, 32, .22);
  padding-bottom: env(safe-area-inset-bottom);
}
.quick-bar .qb-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 9px 4px; color: #e9eef6; font-size: 12px;
  background: none; border: 0; cursor: pointer; text-decoration: none;
  font-family: inherit;
}
.quick-bar .qb-item:active { background: rgba(255, 255, 255, .08); }
.quick-bar .qb-ico { font-size: 16px; line-height: 1; }
@media (max-width: 820px) {
  .quick-bar { display: grid; }
  body.has-quickbar { padding-bottom: 58px; }
}

.footer-bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px;
}
.footer-privacy {
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
  font-size: 13px; opacity: .85;
}
.footer-privacy:hover { opacity: 1; }

.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; max-width: 760px; margin: 0 auto; padding: 14px 18px;
  border-radius: 12px; background: rgba(18, 32, 51, .97); color: #eaf0f7;
  box-shadow: 0 12px 32px rgba(8, 18, 32, .35); font-size: 14px;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 320px; line-height: 1.55; }
.cookie-bar a { color: #f8c266; text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar .btn { flex: 0 0 auto; }
@media (max-width: 820px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 66px; padding: 12px 14px; font-size: 13px; }
}

.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* 打印：去掉导航、悬浮件与动画，保留正文 */
@media print {
  .site-header, .site-nav, .q-float, .quick-bar, .cookie-bar, .back-top,
  .site-footer, .announce-bar, .scroll-progress, .detail-actions, .related-block {
    display: none !important;
  }
  body { background: #fff !important; color: #000 !important; padding: 0 !important; }
  .container { width: 100% !important; max-width: none !important; }
  .detail { display: block !important; }
  .detail-media img { max-width: 60% !important; height: auto !important; }
  .detail-block, .detail-info { break-inside: avoid; }
}

/* v5.50 未上架设备预览提示条 */
.preview-banner {
  margin: 18px 0 0; padding: 11px 16px; border-radius: 10px;
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
  font-size: 13.5px; line-height: 1.6;
}
@media print { .preview-banner { display: none; } }
