/* ==========================================================================
   雾蒙蒙电脑专营 —— 视觉系统 v2（深色高端版）
   ---------------------------------------------------------------------------
   设计参考：ROG / AMD 官网那种"近黑底 + 单色辉光 + 斜切几何 + 大留白"，
   但按老板的要求走【克制专业】路线——辉光只做点缀，不大面积铺。

   改配色只改下面 :root 里的变量。
   想整体换成 ROG 那种绯红，把 <html> 标签改成 <html data-theme="crimson"> 即可。

   背景是纯 CSS/SVG 生成的（径向辉光 + 网格 + 斜切光带 + 噪点），
   不用任何图片，所以加载快、也没有版权问题。
   门店照片、商品图这些真实图片由老板自己放进 images/ 文件夹。
   ========================================================================== */

/* ==========================================================================
   1. 设计变量
   ========================================================================== */
:root {
  /* ---- 强调色：默认电光蓝（跟原来的"深灰+蓝"一脉相承，但质感拉满）---- */
  --accent: #2E6BFF;
  --accent-2: #63A0FF;
  --accent-deep: #1B4FD8;
  --accent-ink: #FFFFFF;

  /* ---- 强调色的半透明变体 ----
     用 color-mix 从 --accent 实时算出来，所以换主题（比如改成绯红）时，
     按钮底色、描边、悬停光晕这些会一起跟着变，不用逐个改。
     前面那行 rgba 是给不支持 color-mix 的老浏览器兜底。 */
  --a06: rgba(46, 107, 255, .06);
  --a06: color-mix(in srgb, var(--accent) 6%, transparent);
  --a08: rgba(46, 107, 255, .08);
  --a08: color-mix(in srgb, var(--accent) 8%, transparent);
  --a10: rgba(46, 107, 255, .1);
  --a10: color-mix(in srgb, var(--accent) 10%, transparent);
  --a12: rgba(46, 107, 255, .12);
  --a12: color-mix(in srgb, var(--accent) 12%, transparent);
  --a13: rgba(46, 107, 255, .13);
  --a13: color-mix(in srgb, var(--accent) 13%, transparent);
  --a14: rgba(46, 107, 255, .14);
  --a14: color-mix(in srgb, var(--accent) 14%, transparent);
  --a15: rgba(46, 107, 255, .15);
  --a15: color-mix(in srgb, var(--accent) 15%, transparent);
  --a16: rgba(46, 107, 255, .16);
  --a16: color-mix(in srgb, var(--accent) 16%, transparent);
  --a20: rgba(46, 107, 255, .2);
  --a20: color-mix(in srgb, var(--accent) 20%, transparent);
  --a24: rgba(46, 107, 255, .24);
  --a24: color-mix(in srgb, var(--accent) 24%, transparent);
  --a26: rgba(46, 107, 255, .26);
  --a26: color-mix(in srgb, var(--accent) 26%, transparent);
  --a28: rgba(46, 107, 255, .28);
  --a28: color-mix(in srgb, var(--accent) 28%, transparent);
  --a30: rgba(46, 107, 255, .3);
  --a30: color-mix(in srgb, var(--accent) 30%, transparent);
  --a34: rgba(46, 107, 255, .34);
  --a34: color-mix(in srgb, var(--accent) 34%, transparent);
  --a36: rgba(46, 107, 255, .36);
  --a36: color-mix(in srgb, var(--accent) 36%, transparent);
  --a40: rgba(46, 107, 255, .4);
  --a40: color-mix(in srgb, var(--accent) 40%, transparent);
  --a90: rgba(46, 107, 255, .9);
  --a90: color-mix(in srgb, var(--accent) 90%, transparent);
  --a92: rgba(46, 107, 255, .92);
  --a92: color-mix(in srgb, var(--accent) 92%, transparent);

  /* ---- 下面这几个由上面的变体派生，同样自动跟随主题 ---- */
  --glow: var(--a34);        /* 按钮/价格的光晕 */
  --glow-soft: var(--a15);   /* 卡片悬停的柔光 */
  --wash: var(--a14);        /* 背景的径向色晕 */
  --grid: rgba(130, 165, 255, .05);   /* 网格线 */
  --grid: color-mix(in srgb, var(--accent-2) 7%, transparent);
  --streak: rgba(120, 165, 255, .3);  /* 斜切光带 */
  --streak: color-mix(in srgb, var(--accent-2) 40%, transparent);

  /* ---- 中性色：近黑分层 ---- */
  --bg: #0A0C11;          /* 页面底色 */
  --bg-deep: #07080C;     /* 最深（导航、页脚） */
  --surface: #12161F;     /* 卡片面 */
  --surface-2: #181D29;   /* 次级面（悬停、内嵌块） */
  --surface-3: #212836;   /* 三级面（标签、输入框） */
  --line: rgba(255, 255, 255, .075);      /* 发丝边框 */
  --line-2: rgba(255, 255, 255, .14);     /* 强调边框 */

  /* ---- 文字 ---- */
  --text: #EDF1F8;
  --text-2: #9AA5B8;
  --text-3: #69738A;
  --text-4: #4A5266;

  /* ---- 功能色 ---- */
  --hot: #FF4D4F;         /* 警示红（已售罄角标、删除按钮等） */
  --hot-soft: rgba(255, 77, 79, .14);
  --ok: #22C55E;
  --ok-soft: rgba(34, 197, 94, .13);
  --warn: #F5A524;
  --warn-soft: rgba(245, 165, 36, .14);

  /* ---- 价格色 ----
     单独拎出来，是为了让主题能换：蓝色主题下价格用红色（跟蓝色对比最强）；
     绯红主题下如果还用红，价格就跟品牌色糊在一起了，所以那边改成琥珀色。 */
  --price: var(--hot);
  --p02: rgba(255, 77, 79, .02);
  --p02: color-mix(in srgb, var(--price) 2%, transparent);
  --p10: rgba(255, 77, 79, .1);
  --p10: color-mix(in srgb, var(--price) 10%, transparent);
  --p22: rgba(255, 77, 79, .22);
  --p22: color-mix(in srgb, var(--price) 22%, transparent);
  --p35: rgba(255, 77, 79, .35);
  --p35: color-mix(in srgb, var(--price) 35%, transparent);

  /* ---- 尺寸 ---- */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 64px;
  --maxw: 1240px;

  /* ---- 字体 ---- */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
               "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
               "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono",
               Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---- 绯红主题（ROG 那种）----
   用法：把任意页面顶部的 <html lang="zh-CN"> 改成
        <html lang="zh-CN" data-theme="crimson">
   只需要覆盖这 3 个颜色 —— 光晕、描边、背景色晕、网格、光带
   全都会跟着自动变，因为上面那些都是从 --accent 派生的。 ---- */
html[data-theme="crimson"] {
  --accent: #FF2D55;
  --accent-2: #FF6E88;
  --accent-deep: #D81B42;

  /* 品牌色已经是红的了，价格再用红就糊成一片 —— 换成琥珀金，
     跟品牌红拉开层级，价格照样一眼跳出来。 */
  --price: #FFB020;
}

/* ==========================================================================
   2. 基础重置
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- 背景层 1：径向辉光 + 纵向渐变 ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 84% -12%, var(--wash), transparent 62%),
    radial-gradient(820px 620px at 4% 2%, rgba(255, 255, 255, .028), transparent 64%),
    radial-gradient(900px 900px at 50% 108%, var(--glow-soft), transparent 68%),
    linear-gradient(178deg, #0C0F16 0%, var(--bg) 46%, var(--bg-deep) 100%);
}

/* ---------- 背景层 2：网格 + 噪点（只在页面上半部分显现） ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 68px 68px, 68px 68px;
  -webkit-mask-image: radial-gradient(1200px 780px at 50% -4%, #000 0%, transparent 76%);
  mask-image: radial-gradient(1200px 780px at 50% -4%, #000 0%, transparent 76%);
}

img { display: block; max-width: 100%; border: 0; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
.hero__tag svg { width: 13px; height: 13px; }
.to-top svg, .lightbox__close svg, .lightbox__nav svg { width: 19px; height: 19px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; outline: none; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--accent); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #262E3D; border-radius: 6px; border: 2px solid var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: #354055; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 等宽数字：价格、编号、规格对齐用 */
.num, .price__num, .stat__value, .detail-bar__price .price__num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ==========================================================================
   3. 通用区块 / 标题
   ========================================================================== */
.section { padding: 52px 0; position: relative; }
.section--gray { background: transparent; }

/* 区块之间的分隔：一根从中间向两边淡出的发丝线 */
.section--line::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100%, var(--maxw)); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.section-head { margin-bottom: 26px; }

.section-head__title {
  font-size: 22px; font-weight: 800; color: var(--text);
  letter-spacing: -.02em; line-height: 1.3;
  display: flex; align-items: center; gap: 11px;
}

/* 标题前的斜切色条 —— 这是整套设计的"签名"元素 */
.section-head__title::before {
  content: '';
  width: 4px; height: 21px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 1px;
  transform: skewX(-14deg);
  box-shadow: 0 0 14px var(--glow);
}

.section-head__desc { margin-top: 7px; color: var(--text-3); font-size: 13px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

.link-more {
  color: var(--accent-2); font-size: 13px; font-weight: 600;
  white-space: nowrap; transition: color .18s, transform .18s;
  display: inline-flex; align-items: center; gap: 4px;
}
.link-more:hover { color: var(--accent); transform: translateX(3px); }

/* ==========================================================================
   4. 按钮
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
  transition: background .18s, border-color .18s, box-shadow .18s, transform .12s, color .18s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 22px -6px var(--glow);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 10px 30px -6px var(--glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, .05); color: var(--text);
  border-color: var(--line-2); backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }

.btn--outline {
  background: var(--surface); color: var(--text); border-color: var(--line-2);
}
.btn--outline:hover { background: var(--surface-2); border-color: var(--accent); color: var(--accent-2); }

.btn--wechat {
  background: linear-gradient(180deg, #22C55E, #16A34A); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 6px 22px -6px rgba(34, 197, 94, .4);
}
.btn--wechat:hover { background: linear-gradient(180deg, #2BD46A, #18B352); }

.btn--red { background: var(--hot); color: #fff; }
.btn--red:hover { background: #E13D3F; }

.btn--block { width: 100%; }
.btn--sm { padding: 8px 15px; font-size: 13px; }
.btn--lg { padding: 14px 28px; font-size: 15px; }

/* ==========================================================================
   5. 顶部导航
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(8, 10, 14, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
/* 导航底部一条极细的强调线 */
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .5;
}

.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(140deg, var(--accent-2), var(--accent-deep));
  display: grid; place-items: center;
  font-weight: 800; font-size: 16px; color: #fff; letter-spacing: -.5px;
  box-shadow: 0 0 22px -4px var(--glow), 0 1px 0 rgba(255, 255, 255, .25) inset;
}
/* 用图片当门店头像：盖掉渐变底，加一圈细边让它在深色导航上立得住 */
.logo__mark--img {
  background: var(--surface-2);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 0 20px -6px var(--glow);
}
.logo__mark--img img { width: 100%; height: 100%; object-fit: cover; }
.logo__text {
  color: var(--text); font-size: 16px; font-weight: 800;
  letter-spacing: .02em; white-space: nowrap; line-height: 1.15;
}
.logo__sub {
  display: block; font-size: 10px; font-weight: 500; color: var(--text-3);
  letter-spacing: .16em; margin-top: 1px;
}

.nav__links { display: none; align-items: center; gap: 2px; }
.nav__link {
  position: relative; padding: 9px 14px; border-radius: 8px;
  color: var(--text-2); font-size: 14px; white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav__link.is-active { color: var(--text); font-weight: 600; }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 1px;
  height: 2px; background: var(--accent); border-radius: 2px;
  box-shadow: 0 0 12px var(--glow);
}

.nav__phone {
  display: none; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 22px;
  background: var(--a12);
  border: 1px solid var(--a34);
  color: var(--accent-2); font-weight: 700; font-size: 13px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background .18s, border-color .18s, color .18s;
}
.nav__phone svg { width: 14px; height: 14px; }
.nav__phone:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.nav__toggle {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 9px; color: var(--text);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
}
.nav__toggle:hover { background: rgba(255, 255, 255, .09); }
.nav__toggle svg { width: 20px; height: 20px; }

.nav__drawer {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 890;
  background: rgba(10, 12, 17, .97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 6px 0 18px;
  transform: translateY(-10px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav__drawer.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.nav__drawer a {
  display: block; padding: 14px 20px; color: var(--text-2);
  font-size: 15px; border-bottom: 1px solid var(--line);
}
.nav__drawer a.is-active { color: var(--text); background: var(--glow-soft); font-weight: 600; }
.nav__drawer .drawer-phone {
  margin: 16px 20px 0; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff; font-weight: 700; border: 0;
  box-shadow: 0 8px 26px -8px var(--glow);
}

/* ==========================================================================
   6. 首屏
   ========================================================================== */
.hero { position: relative; background: transparent; overflow: hidden; }

/* 斜切光带 —— 呼应 ROG 主视觉里那道光 */
.hero::before {
  content: '';
  position: absolute; top: -30%; right: 6%;
  width: 2px; height: 170%;
  background: linear-gradient(180deg, transparent 0%, var(--streak) 30%, transparent 60%);
  transform: rotate(19deg);
  filter: blur(.4px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; top: -30%; right: 6%;
  width: 190px; height: 170%;
  background: linear-gradient(180deg, transparent 0%, var(--glow-soft) 30%, transparent 60%);
  transform: rotate(19deg);
  pointer-events: none;
}

.hero__track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.hero__slide {
  flex: 0 0 100%; position: relative;
  min-height: 340px; display: flex; align-items: center;
  padding: 46px 0;
}
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(760px 520px at 22% 45%, rgba(10, 12, 17, .92), transparent 70%),
    linear-gradient(96deg, rgba(10, 12, 17, .97) 0%, rgba(10, 12, 17, .82) 44%, rgba(10, 12, 17, .38) 100%);
}

/* 背景是真实图片时，左边要压得更死。
   原因：宣传图上往往带大字（比如 ROG 那张的 JOIN THE REPUBLIC），
   不压住就会跟左边的标题抢注意力，看着像出错了。
   右边留得亮一些，让图本身能透出来。 */
.hero__bg.is-photo::after {
  background: linear-gradient(100deg,
    rgba(10, 12, 17, .97) 0%,
    rgba(10, 12, 17, .92) 34%,
    rgba(10, 12, 17, .72) 56%,
    rgba(10, 12, 17, .36) 78%,
    rgba(10, 12, 17, .10) 100%);
}

.hero__inner { position: relative; z-index: 2; max-width: 660px; }

.hero__tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; margin-bottom: 18px; border-radius: 20px;
  background: var(--a01);
  border: 1px solid var(--a03);
  color: var(--accent-2);
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
}

.hero__title {
  font-size: 30px; font-weight: 800; color: #fff;
  line-height: 1.18; letter-spacing: -.03em; margin-bottom: 16px;
}
.hero__title em, .hero__title span {
  font-style: normal;
  background: linear-gradient(92deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero__desc {
  color: var(--text-2); font-size: 14px; line-height: 1.8;
  margin-bottom: 26px; max-width: 540px;
}
.hero__actions { display: flex; gap: 11px; flex-wrap: wrap; }

/* 首屏底部的数据条（实体门店/在售机器/质保月数），往首屏上压一点形成叠层 */
.hero-stats {
  position: relative; z-index: 6;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: -24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 26px 64px -26px rgba(0, 0, 0, .92), 0 0 0 1px var(--glow-soft);
}
.hero-stats::before {
  content: ''; position: absolute; top: 0; left: 22%; right: 22%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.hero-stats__item {
  padding: 16px 12px; text-align: center;
  border-right: 1px solid var(--line);
}
.hero-stats__item:last-child { border-right: 0; }
.hero-stats__num {
  font-size: 22px; font-weight: 800; color: var(--text);
  letter-spacing: -.03em; line-height: 1.2;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.hero-stats__num small { font-size: 12px; color: var(--accent-2); margin-left: 3px; font-weight: 700; font-family: var(--font-sans); }
.hero-stats__label { font-size: 11.5px; color: var(--text-3); margin-top: 4px; letter-spacing: .06em; }

.hero__dots { position: absolute; left: 50%; bottom: 40px; z-index: 5; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .24); transition: all .25s; }
.hero__dot.is-active { width: 24px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 12px var(--glow); }

.hero__arrow {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  display: none; place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-2);
  color: var(--text); backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s;
}
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }

/* ==========================================================================
   7. 核心优势
   ========================================================================== */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.adv {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 16px; text-align: center;
  overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
/* 顶部一道极细的强调线，悬停时亮起 */
.adv::before {
  content: ''; position: absolute; top: 0; left: 22%; right: 22%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .28s;
}
.adv:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .8), 0 0 0 1px var(--glow-soft);
}
.adv:hover::before { opacity: 1; }

.adv__icon {
  width: 46px; height: 46px; margin: 0 auto 13px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--a02), var(--a06));
  border: 1px solid var(--a26);
  color: var(--accent-2);
}
.adv__icon svg { width: 22px; height: 22px; }
.adv__title { font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.adv__desc { font-size: 12.5px; color: var(--text-3); line-height: 1.6; }

/* ==========================================================================
   8. 商品卡片
   ========================================================================== */
.goods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }

.goods {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface), #0F131B);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.goods:hover {
  transform: translateY(-4px);
  border-color: var(--a04);
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, .9), 0 0 0 1px var(--glow-soft), 0 0 34px -14px var(--glow);
}

.goods__media {
  position: relative; display: block;
  aspect-ratio: 4 / 3; overflow: hidden;
  background:
    radial-gradient(320px 220px at 50% 40%, rgba(255, 255, 255, .045), transparent 72%),
    var(--bg-deep);
}
.goods__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.3, 0, .2, 1); }
.goods:hover .goods__media img { transform: scale(1.055); }
/* 图片下缘压暗，让卡片上下自然过渡 */
.goods__media::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 44%;
  background: linear-gradient(180deg, transparent, rgba(15, 19, 27, .85));
  pointer-events: none;
}

.goods__badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }

.badge {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 700; line-height: 1.5;
  letter-spacing: .02em; backdrop-filter: blur(6px);
}
.badge--hot { background: rgba(255, 77, 79, .92); color: #fff; }
.badge--new { background: var(--a92); color: #fff; }
.badge--cond { background: rgba(245, 165, 36, .16); color: #FFC868; border: 1px solid rgba(245, 165, 36, .34); }
.badge--sold { background: rgba(255, 255, 255, .12); color: var(--text-2); border: 1px solid var(--line-2); }

.goods.is-sold .goods__media img { filter: grayscale(1) brightness(.6); }
.goods.is-sold .goods__media::before {
  content: '已售出'; position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .18em;
}

.goods__body { padding: 12px 13px 14px; display: flex; flex-direction: column; flex: 1; }

.goods__title {
  font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.5;
  letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em;
  transition: color .18s;
}
.goods:hover .goods__title { color: #fff; }

.goods__config {
  margin-top: 7px; font-size: 11.5px; color: var(--text-3); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 3.1em;
}

.goods__foot {
  margin-top: auto; padding-top: 11px;
  border-top: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}

.price { color: var(--price); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.price__cur { font-size: 12px; margin-right: 1px; }
.price__num { font-size: 21px; font-family: var(--font-mono); font-weight: 700; letter-spacing: -.03em; }
.price__old { display: block; font-size: 11px; color: var(--text-4); text-decoration: line-through; font-weight: 400; font-family: var(--font-mono); }

.goods__ask {
  flex-shrink: 0; padding: 7px 13px; border-radius: 7px;
  background: var(--a14);
  border: 1px solid var(--a34);
  color: var(--accent-2); font-size: 12px; font-weight: 700;
  transition: background .18s, color .18s, box-shadow .18s, border-color .18s;
}
.goods__ask:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 0 20px -4px var(--glow);
}
.goods__ask.is-disabled {
  background: var(--surface-3); border-color: transparent;
  color: var(--text-4); cursor: not-allowed;
}

/* ==========================================================================
   9. 页面头 / 面包屑
   ========================================================================== */
.page-hero {
  position: relative; padding: 40px 0 34px; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 88% at 12% -34%, var(--wash), transparent 72%);
}
.page-hero__title {
  position: relative;
  font-size: 26px; font-weight: 800; color: var(--text);
  letter-spacing: -.025em; line-height: 1.25;
}
.page-hero__desc { position: relative; color: var(--text-3); font-size: 13.5px; margin-top: 8px; }

.crumb { font-size: 12px; color: var(--text-3); margin-bottom: 16px; padding-top: 4px; }
.crumb a { transition: color .18s; }
.crumb a:hover { color: var(--accent-2); }
.crumb span { margin: 0 6px; color: var(--text-4); }

/* ==========================================================================
   10. 筛选栏
   ========================================================================== */
.filter {
  background: linear-gradient(180deg, var(--surface), #0F131B);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 4px 16px 14px;
  margin: -20px 0 20px; position: relative; z-index: 10;
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, .85);
}

.filter__row { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.filter__row:last-child { border-bottom: 0; }
.filter__label {
  flex-shrink: 0; width: 58px; padding-top: 5px;
  font-size: 12px; color: var(--text-3); font-weight: 600;
  letter-spacing: .06em;
}
.filter__opts { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }

.chip {
  padding: 5px 13px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text-2); font-size: 12.5px;
  transition: all .16s;
}
.chip:hover { border-color: var(--a04); color: var(--accent-2); background: var(--a08); }
.chip.is-active {
  background: var(--a16);
  border-color: var(--accent);
  color: var(--accent-2); font-weight: 700;
  box-shadow: 0 0 18px -6px var(--glow);
}

.filter__price { display: flex; align-items: center; gap: 7px; }
.filter__price input {
  width: 80px; padding: 6px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: 12.5px; color: var(--text);
  font-family: var(--font-mono);
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.filter__price input::placeholder { color: var(--text-4); font-family: var(--font-sans); }
.filter__price input:focus { border-color: var(--accent); background: var(--surface-3); box-shadow: 0 0 0 3px var(--glow-soft); }
.filter__price span { color: var(--text-4); font-size: 12px; }

/* ---------- 下拉筛选项（按品类动态生成，见 js/products.js 的 FILTER_PLAN） ---------- */
.filter__sels {
  display: grid;
  /* 自适应列数：窄屏 2 列，宽屏能排几个排几个，不会出现"最后一个孤零零占一行" */
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.filter__sels:empty { display: none; }

.fsel { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fsel__label {
  font-size: 11.5px; color: var(--text-3);
  letter-spacing: .06em; font-weight: 600;
}
.fsel select {
  width: 100%;
  padding: 9px 34px 9px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--surface-3);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  text-overflow: ellipsis;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA5B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 14px;
  transition: border-color .18s, background-color .18s, box-shadow .18s, color .18s;
}
.fsel select:hover { border-color: var(--line-2); }
.fsel select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow-soft); }
/* 选了值的下拉高亮一下 —— 一眼看出哪几个条件正在生效 */
.fsel select.is-set {
  border-color: var(--accent);
  background-color: var(--a12);
  color: var(--accent-2);
  font-weight: 600;
}
.fsel option { color: var(--text); background: var(--surface-2); font-weight: 400; }

.filter__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-top: 13px; margin-top: 2px; border-top: 1px solid var(--line);
}
.filter__count { font-size: 12.5px; color: var(--text-3); }
.filter__count b { color: var(--accent-2); font-size: 16px; margin: 0 3px; font-family: var(--font-mono); }

.sort { display: flex; gap: 6px; }
.sort button {
  padding: 6px 13px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text-2); font-size: 12.5px; transition: all .16s;
}
.sort button:hover { border-color: var(--a04); color: var(--accent-2); }
.sort button.is-active {
  background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700;
  box-shadow: 0 0 18px -6px var(--glow);
}

.filter__toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 0; font-size: 14px; font-weight: 700; color: var(--text);
}
.filter__toggle svg { width: 16px; height: 16px; transition: transform .25s; color: var(--text-3); }
.filter__toggle.is-open svg { transform: rotate(180deg); }
.filter__body { display: none; }
.filter__body.is-open { display: block; }

.filter__active { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 11px; }
.filter__active:empty { display: none; }
.tag-x {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 5px;
  background: var(--a13);
  border: 1px solid var(--a28);
  color: var(--accent-2); font-size: 12px;
}
.tag-x button { color: var(--accent-2); font-size: 14px; line-height: 1; opacity: .65; }
.tag-x button:hover { opacity: 1; }

/* ==========================================================================
   11. 商品详情
   ========================================================================== */
.detail-top { display: grid; grid-template-columns: 1fr; gap: 22px; }

.gallery__main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(420px 300px at 50% 42%, rgba(255, 255, 255, .05), transparent 72%),
    var(--bg-deep);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3; cursor: zoom-in;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main .gallery__zoom {
  position: absolute; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 16px;
  background: rgba(10, 12, 17, .7); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  color: var(--text-2); font-size: 11.5px; pointer-events: none;
}
.gallery__thumbs { display: flex; gap: 9px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb {
  flex: 0 0 68px; height: 68px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .18s, box-shadow .18s; cursor: pointer;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--accent); box-shadow: 0 0 16px -4px var(--glow); }

.detail-info {
  position: relative;
  background: linear-gradient(180deg, var(--surface), #0F131B);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
}
.detail-info__title {
  font-size: 20px; font-weight: 800; color: var(--text);
  line-height: 1.4; letter-spacing: -.02em;
}
.detail-info__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }

.tagline { padding: 4px 10px; border-radius: 5px; font-size: 12px; font-weight: 600; }
.tagline--cond { background: var(--warn-soft); color: #FFC868; border: 1px solid rgba(245, 165, 36, .3); }
.tagline--stock { background: var(--ok-soft); color: #4ADE80; border: 1px solid rgba(34, 197, 94, .3); }
.tagline--sold { background: var(--surface-3); color: var(--text-3); }
.tagline--cat { background: var(--a12); color: var(--accent-2); border: 1px solid var(--a28); }

.detail-price {
  position: relative; margin: 17px 0; padding: 17px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--p10), var(--p02));
  border: 1px solid var(--p22);
  overflow: hidden;
}
.detail-price::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--price), transparent);
}
.detail-price__now { color: var(--price); display: flex; align-items: baseline; gap: 3px; }
.detail-price__now .price__cur { font-size: 16px; font-weight: 700; }
.detail-price__now .price__num {
  font-size: 36px; font-weight: 800;
  font-family: var(--font-mono); letter-spacing: -.035em;
  text-shadow: 0 0 30px var(--p35);
}
.detail-price__old { color: var(--text-4); font-size: 13px; text-decoration: line-through; margin-left: 10px; font-family: var(--font-mono); }
.detail-price__note { margin-top: 8px; font-size: 12.5px; color: var(--text-3); }

.detail-actions { display: grid; gap: 10px; }
.detail-actions .btn { width: 100%; }
.detail-actions__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.detail-promise {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-top: 17px; padding-top: 17px;
  border-top: 1px solid var(--line);
}
.detail-promise div { text-align: center; font-size: 11.5px; color: var(--text-3); }
.detail-promise svg { width: 19px; height: 19px; margin: 0 auto 5px; color: var(--accent-2); display: block; }

.detail-block {
  background: linear-gradient(180deg, var(--surface), #0F131B);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px; margin-top: 20px;
}
.detail-block__title {
  font-size: 16px; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 9px; margin-bottom: 16px;
  letter-spacing: -.01em;
}
.detail-block__title::before {
  content: ''; width: 4px; height: 17px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 1px; transform: skewX(-14deg);
  box-shadow: 0 0 14px var(--glow);
}

.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:nth-child(odd) { background: rgba(255, 255, 255, .016); }
.spec-table th {
  width: 96px; padding: 12px 14px; text-align: left; vertical-align: top;
  font-size: 12.5px; font-weight: 600; color: var(--text-3);
  background: rgba(255, 255, 255, .022);
  letter-spacing: .02em;
}
.spec-table td {
  padding: 12px 14px; font-size: 13.5px; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.spec-table td strong { color: var(--accent-2); font-weight: 700; }

.detail-text { font-size: 14px; line-height: 1.9; color: var(--text-2); white-space: pre-wrap; }

.detail-imgs { display: grid; gap: 11px; margin-top: 5px; }
.detail-imgs img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  cursor: zoom-in; transition: border-color .18s;
}
.detail-imgs img:hover { border-color: var(--line-2); }

.guarantee-list { display: grid; gap: 11px; }
.guarantee-item {
  display: flex; gap: 12px; padding: 15px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.guarantee-item:hover { border-color: var(--line-2); background: var(--surface-3); }
.guarantee-item__icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--a12);
  border: 1px solid var(--a24);
  color: var(--accent-2);
}
.guarantee-item__icon svg { width: 17px; height: 17px; }
.guarantee-item__title { font-size: 13.5px; font-weight: 700; color: var(--text); }
.guarantee-item__desc { font-size: 12.5px; color: var(--text-3); margin-top: 3px; line-height: 1.65; }

/* 详情页底部固定转化条 */
.detail-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 880;
  align-items: center; gap: 10px;
  padding: 10px 13px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 12, 17, .9);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--line-2);
}
.detail-bar.is-show { display: flex; }
body.has-detail-bar .mobile-bar { display: none; }
body.has-detail-bar .to-top { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.detail-bar__price { flex-shrink: 0; }
.detail-bar .btn { flex: 1; }

/* ==========================================================================
   12. 回收服务页
   ========================================================================== */
.recycle-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

.scope-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.scope-card:hover {
  transform: translateY(-3px); border-color: var(--a04);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .85), 0 0 0 1px var(--glow-soft);
}
.scope-card__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--a02), var(--a06));
  border: 1px solid var(--a26);
  color: var(--accent-2); margin-bottom: 12px;
}
.scope-card__icon svg { width: 20px; height: 20px; }
.scope-card__title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.scope-card__desc { font-size: 12.5px; color: var(--text-3); line-height: 1.65; }

.steps { display: grid; gap: 13px; counter-reset: step; }
.step {
  position: relative; display: flex; gap: 15px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 16px; overflow: hidden;
}
.step::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.step__num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--a13);
  border: 1px solid var(--a03);
  color: var(--accent-2); font-family: var(--font-mono);
  font-size: 15px; font-weight: 700;
}
.step__title { font-size: 15px; font-weight: 700; color: var(--text); }
.step__desc { font-size: 13px; color: var(--text-3); margin-top: 5px; line-height: 1.75; }

.sell-points { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.sell-point {
  display: flex; align-items: center; gap: 10px;
  padding: 14px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--text);
  transition: border-color .2s;
}
.sell-point:hover { border-color: var(--line-2); }
.sell-point svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; }

.quote-form {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
}

.form-row { margin-bottom: 14px; }
.form-row label {
  display: block; margin-bottom: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  letter-spacing: .02em;
}
.form-row label .req { color: var(--hot); margin-left: 2px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-3);
  color: var(--text); font-size: 14px;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-4); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--accent); background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--glow-soft);
}
.form-row textarea { resize: vertical; min-height: 80px; line-height: 1.65; }
.form-row select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA5B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 15px;
  padding-right: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 11.5px; color: var(--text-3); margin-top: 5px; line-height: 1.6; }

.quote-result {
  margin-top: 15px; padding: 16px; border-radius: var(--radius);
  background: var(--bg-deep); border: 1px solid var(--line-2);
  color: var(--text-2); font-size: 13px; line-height: 1.85;
  white-space: pre-wrap; font-family: var(--font-mono);
  display: none;
}
.quote-result.is-show { display: block; }

/* ==========================================================================
   13. 关于我们页
   ========================================================================== */
.about-grid { display: grid; gap: 20px; }
.store-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  position: relative;
}
.store-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.store-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 -40px 60px -30px rgba(0, 0, 0, .7);
}

.info-list { display: grid; gap: 11px; }
.info-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--line);
  transition: border-color .2s;
}
.info-item:hover { border-color: var(--line-2); }
.info-item__icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--a12);
  border: 1px solid var(--a24);
  color: var(--accent-2);
}
.info-item__icon svg { width: 17px; height: 17px; }
.info-item__label { font-size: 11.5px; color: var(--text-3); letter-spacing: .06em; }
.info-item__value { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.55; margin-top: 2px; }

/* ==========================================================================
   14. 品牌墙（本店经营品牌）
   —— 经销商展示所售品牌属于正当使用；有官方 logo 图片就把文件放进 images/
      并把 BRANDS_WALL 里对应项的 img 填上路径。
   ========================================================================== */
.brandwall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.brandwall__item {
  display: flex; align-items: center; justify-content: center;
  min-height: 74px; padding: 14px 10px;
  background: linear-gradient(180deg, var(--surface), #0F131B);
  transition: background .24s;
  position: relative;
}
.brandwall__item:hover { background: var(--surface-2); }
.brandwall__item img {
  max-height: 26px; max-width: 76%; width: auto; object-fit: contain;
  opacity: .5; filter: grayscale(1) brightness(1.7);
  transition: opacity .24s, filter .24s;
}
.brandwall__item:hover img { opacity: 1; filter: none; }
/* 没有 logo 图片时退化成文字字标 */
.brandwall__mark {
  font-size: 14px; font-weight: 700; color: var(--text-3);
  letter-spacing: .08em; transition: color .24s;
  white-space: nowrap;
}
.brandwall__item:hover .brandwall__mark { color: var(--text); }
.brandwall__sub {
  display: block; font-size: 10px; font-weight: 500;
  letter-spacing: .1em; color: var(--text-4); margin-top: 2px;
}
.brandwall__note {
  margin-top: 12px; font-size: 12px; color: var(--text-4);
  text-align: center; line-height: 1.6;
}

/* ==========================================================================
   15. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(6, 7, 10, .9));
  border-top: 1px solid var(--line);
  color: var(--text-3);
  padding: 42px 0 26px; margin-top: 16px;
}
.site-footer::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: min(100%, 520px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .6;
}
.footer-grid { display: grid; gap: 26px; }
.footer__title {
  color: var(--text); font-size: 13.5px; font-weight: 700;
  margin-bottom: 13px; letter-spacing: .02em;
}
.footer__list { display: grid; gap: 9px; font-size: 13px; }
.footer__list a { transition: color .18s; }
.footer__list a:hover { color: var(--accent-2); }
.footer__list li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.65; }
.footer__list svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--accent-2); opacity: .8; }

.qrcode { text-align: center; }
.qrcode__img {
  width: 124px; height: 124px; margin: 0 auto 10px;
  border-radius: var(--radius); background: #fff; padding: 6px;
  object-fit: contain;
  box-shadow: 0 0 30px -10px var(--glow);
}
.qrcode__text { font-size: 12px; color: var(--text-3); line-height: 1.6; }
.qrcode__wx { color: var(--accent-2); font-weight: 700; font-family: var(--font-mono); }

.footer__bottom {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center; font-size: 12px; color: var(--text-4); line-height: 1.9;
}

/* ==========================================================================
   16. 弹层 / 图片放大 / 提示
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(4, 5, 8, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  position: relative;
  width: 100%; max-width: 340px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 26px 22px; text-align: center;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .95), 0 0 0 1px var(--glow-soft);
  transform: scale(.95) translateY(8px); transition: transform .24s cubic-bezier(.2, .8, .3, 1);
}
.modal.is-open .modal__box { transform: scale(1) translateY(0); }
.modal__box::before {
  content: ''; position: absolute; top: 0; left: 24%; right: 24%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.modal__title { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 5px; letter-spacing: -.01em; }
.modal__desc { font-size: 12.5px; color: var(--text-3); margin-bottom: 18px; line-height: 1.6; }
.modal__qr {
  width: 178px; height: 178px; margin: 0 auto 16px;
  border-radius: var(--radius); background: #fff; padding: 7px;
  object-fit: contain;
  box-shadow: 0 0 34px -12px var(--glow);
}
.modal__wxid {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--surface-3); border: 1px solid var(--line);
  margin-bottom: 13px;
}
.modal__wxid b {
  font-size: 15px; color: var(--text); letter-spacing: .03em;
  font-family: var(--font-mono);
}
.modal__wxid button {
  color: var(--accent-2); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  transition: color .18s;
}
.modal__wxid button:hover { color: var(--accent); }
.modal__tip { font-size: 11.5px; color: var(--text-3); margin-bottom: 16px; line-height: 1.7; }

.lightbox {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(3, 4, 6, .95);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s;
  cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: 16px; right: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2);
  color: var(--text);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .18); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2);
  color: var(--text);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .18); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* ==========================================================================
   17. 移动端底部导航 / 回到顶部
   ========================================================================== */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 870;
  display: flex; align-items: center; justify-content: space-around;
  padding: 5px 0 calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 12, 17, .92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--line);
}
.mobile-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 0; font-size: 10.5px; color: var(--text-3);
  transition: color .18s;
}
.mobile-bar a.is-active { color: var(--accent-2); font-weight: 600; }
.mobile-bar a.is-active svg { filter: drop-shadow(0 0 8px var(--glow)); }
.mobile-bar svg { width: 20px; height: 20px; }

.to-top {
  position: fixed; right: 16px; z-index: 860;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(18, 22, 31, .9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); color: var(--text-2);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transition: all .25s;
}
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 28px -6px var(--glow); }

/* ==========================================================================
   18. 通用块：深色引导块 / 提示框
   ========================================================================== */

/* 页面底部的行动引导块（关于我们、回收服务页用） */
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--surface-2) 0%, var(--surface) 60%, #0D1119 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 38px 24px; text-align: center;
}
/* 右上角一团辉光 + 一道斜切光带 */
.cta-box::before {
  content: ''; position: absolute; top: -60%; right: -10%;
  width: 420px; height: 200%;
  background: radial-gradient(closest-side, var(--wash), transparent 72%);
  pointer-events: none;
}
.cta-box::after {
  content: ''; position: absolute; top: -30%; right: 22%;
  width: 1px; height: 170%;
  background: linear-gradient(180deg, transparent, var(--streak), transparent);
  transform: rotate(19deg); pointer-events: none;
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box__title {
  color: var(--text); font-size: 22px; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 10px;
}
.cta-box__desc {
  color: var(--text-3); font-size: 13.5px;
  line-height: 1.8; margin-bottom: 22px;
}
.cta-box__actions { display: grid; gap: 10px; max-width: 340px; margin: 0 auto; }

/* 正文里的提示框（浅色底 + 左侧强调条） */
.note-box {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  overflow: hidden;
}
.note-box::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.note-box__title { font-weight: 700; color: var(--text); font-size: 14px; margin-bottom: 8px; }
.note-box__text { font-size: 13px; color: var(--text-2); line-height: 1.85; }

/* 高亮提示（回收范围里的批量回收那种） */
.hl-box {
  position: relative; overflow: hidden;
  padding: 18px 20px; border-radius: var(--radius);
  background: linear-gradient(100deg, var(--a01), transparent 70%);
  border: 1px solid var(--a24);
}
.hl-box::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.hl-box__title { font-weight: 800; color: var(--text); font-size: 15px; margin-bottom: 6px; }
.hl-box__text { font-size: 13.5px; color: var(--text-2); line-height: 1.8; }

/* ==========================================================================
   19. 空状态 / 提示条
   ========================================================================== */
.empty { text-align: center; padding: 64px 20px; color: var(--text-3); }
.empty svg { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--text-4); }
.empty__title { font-size: 15px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.empty__desc { font-size: 13px; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 1200;
  transform: translate(-50%, 14px);
  padding: 11px 22px; border-radius: 24px;
  background: rgba(18, 22, 31, .96);
  border: 1px solid var(--line-2);
  color: var(--text); font-size: 13.5px; white-space: nowrap;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .95), 0 0 0 1px var(--glow-soft);
  opacity: 0; visibility: hidden; transition: all .25s;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%);
  background-size: 400% 100%;
  animation: skeleton 1.3s ease-in-out infinite;
}
@keyframes skeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ==========================================================================
   19. 响应式：平板 ≥640px
   ========================================================================== */
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .section { padding: 68px 0; }

  .hero__slide { min-height: 440px; padding: 62px 0; }
  .hero__title { font-size: 40px; }
  .hero__desc { font-size: 15px; }
  .hero__arrow { display: grid; }
  .hero__inner { max-width: 700px; }
  .hero-stats__num { font-size: 26px; }

  .section-head__title { font-size: 27px; }
  .section-head__title::before { height: 25px; }

  .adv-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .adv { padding: 28px 18px; }
  .adv__title { font-size: 15.5px; }

  .goods-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .price__num { font-size: 23px; }

  .brandwall { grid-template-columns: repeat(4, 1fr); }
  .brandwall__item { min-height: 84px; }

  .recycle-scope { grid-template-columns: repeat(4, 1fr); }
  .sell-points { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; gap: 12px; }

  .page-hero { padding: 52px 0 46px; }
  .page-hero__title { font-size: 30px; }

  .detail-block { padding: 26px 24px; }
  .detail-info { padding: 26px 24px; }
  .detail-info__title { font-size: 24px; }
  .spec-table th { width: 130px; }
  .guarantee-list { grid-template-columns: repeat(2, 1fr); }
  .detail-imgs { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* ==========================================================================
   20. 响应式：桌面 ≥960px
   ========================================================================== */
@media (min-width: 960px) {
  :root { --header-h: 72px; }

  .nav__links { display: flex; }
  .nav__phone { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__drawer { display: none !important; }
  .mobile-bar { display: none; }
  .to-top { bottom: 32px; }
  .detail-bar, .detail-bar.is-show { display: none; }
  body.has-detail-bar .to-top { bottom: 32px; }

  .section { padding: 84px 0; }
  .hero__slide { min-height: 520px; padding: 76px 0; }
  .hero__title { font-size: 52px; }
  .hero__desc { font-size: 16px; max-width: 560px; }
  .hero-stats__item { padding: 20px 18px; }
  .hero-stats__num { font-size: 30px; }

  .goods-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }

  .filter__toggle { display: none; }
  .filter__body { display: block !important; }

  .detail-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 30px; align-items: start; }
  .gallery__thumb { flex: 0 0 82px; height: 82px; }
  .detail-block { margin-top: 24px; }
  .detail-imgs { grid-template-columns: repeat(3, 1fr); }

  .about-grid { grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 34px; }
  .brandwall { grid-template-columns: repeat(6, 1fr); }
}

/* ==========================================================================
   21. 无障碍与打印
   ========================================================================== */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media print {
  .site-header, .mobile-bar, .to-top, .detail-bar, .site-footer { display: none !important; }
  body, html { background: #fff; color: #111; }
  body::before, body::after { display: none; }
}

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

/* ==========================================================================
   22. 浅色兜底（万一浏览器不支持 backdrop-filter 等特性）
   ========================================================================== */
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(8, 10, 14, .98); }
  .mobile-bar, .detail-bar { background: rgba(10, 12, 17, .99); }
}
