/* ==========================================================================
   EDITORIAL · 杂志编辑风主题（21 站共用，靠 body 上的变体类切换结构）
   变体：
     导航  .ed-h1 / .ed-h2 / .ed-h3
     首屏  .ed-hero1 / .ed-hero2 / .ed-hero3
     商品  .ed-list1 / .ed-list2 / .ed-list3
     资讯  .ed-news1 / .ed-news2 / .ed-news3
   配色由每个站自己的 :root 变量提供
   ========================================================================== */

*{box-sizing:border-box}
body.ed-body{
  margin:0;background:var(--ed-bg);color:var(--ed-ink);
  font-family:var(--ed-font);
  -webkit-font-smoothing:antialiased;
  font-size:16px;line-height:1.7;
}
.ed-body a{color:inherit;text-decoration:none}
.ed-body img{max-width:100%;display:block}
/* 旧主题 style.css 有一条元素级 `h1,h2,...,h6{color:#242424}`。元素级规则赢过继承，
   会把 .ed-hero1（深色底）里本该继承的白字压成深灰。用 .ed-body 提高特异性让标题回到继承。 */
.ed-body h1,.ed-body h2,.ed-body h3,.ed-body h4,.ed-body h5,.ed-body h6{color:inherit}
.ed-wrap{max-width:1280px;margin:0 auto;padding:0 34px}
.ed-hr{height:1px;background:var(--ed-line);border:0;margin:0}

/* ---------------- 大字排版基础 ---------------- */
.ed-display{
  font-family:var(--ed-font-display);
  font-weight:900;line-height:1.06;letter-spacing:-.02em;
}
.ed-kicker{
  /* 字距原为 .22em，那是给全大写英文调的；这些小标签现在都是中文，收窄一些更好读 */
  font-size:12px;font-weight:800;letter-spacing:.14em;
  color:var(--ed-accent);
}
.ed-meta{font-size:12.5px;color:var(--ed-muted);letter-spacing:.02em}
.ed-btn{
  display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 32px;
  background:var(--ed-accent);color:var(--ed-accent-ink);border:0;cursor:pointer;
  font-size:14px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  transition:opacity .18s,transform .18s;
}
.ed-btn:hover{opacity:.86;transform:translateY(-2px)}
.ed-btn-o{background:transparent;color:var(--ed-ink);border:1.5px solid var(--ed-ink)}
.ed-btn-o:hover{background:var(--ed-ink);color:var(--ed-bg)}
/* 上面的 `.ed-body a{color:inherit}`（0,1,1）会盖掉 `.ed-btn`（0,1,0）的文字色，
   于是 <a class="ed-btn"> 会继承父级颜色 —— 深色主题下就是「黑底黑字」，按钮上的字看不见。
   这里用 (0,2,1) 的选择器把按钮文字色补回来。 */
.ed-body a.ed-btn{color:var(--ed-accent-ink)}
.ed-body a.ed-btn-o{color:var(--ed-ink)}
.ed-body a.ed-btn-o:hover{color:var(--ed-bg)}

/* ==========================================================================
   导航 · 同一套 DOM，靠 order/grid 呈现三种排列
   DOM: .ed-head > .ed-wrap > .ed-head-in > (.ed-logo, .ed-nav, .ed-head-act)
   ========================================================================== */
/* 头部：所有变体都别写死 height。公司名「赋予康健(重庆)科技有限公司」很长，
   再加 6 项导航 + 搜索框 + 3 个操作链接，1600px 下本来就放不下一行；
   写死高度会让换行后的第二行被裁掉，操作链接还会被 flex 压成竖排单字。
   统一用 min-height + 允许换行 + 禁止 logo/操作区收缩。 */
.ed-head{position:relative;z-index:90}
.ed-head-in{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.ed-logo{display:flex;align-items:center;gap:11px;flex:0 0 auto}
.ed-logo img{width:40px;height:40px;object-fit:contain}
.ed-logo b{font-family:var(--ed-font-display);font-size:21px;font-weight:900;display:block;line-height:1.15;white-space:nowrap}
.ed-logo span{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--ed-muted);white-space:nowrap}
.ed-nav{display:flex;gap:30px;flex-wrap:wrap}
.ed-nav a{font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;padding:8px 0;border-bottom:2px solid transparent;white-space:nowrap}
.ed-nav a:hover,.ed-nav a.is-on{border-bottom-color:var(--ed-accent);color:var(--ed-accent)}
.ed-head-act{display:flex;gap:12px;align-items:center;margin-left:auto;flex:0 0 auto}
.ed-head-act a{font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.ed-head-act a:hover{color:var(--ed-accent)}

/* 变体 1：LOGO 居中一行，导航另起一行 */
.ed-h1 .ed-head{padding:26px 0 0;border-bottom:1px solid var(--ed-line);background:var(--ed-bg)}
.ed-h1 .ed-head-in{flex-wrap:wrap;justify-content:center;gap:0}
.ed-h1 .ed-logo{order:1;flex:0 0 100%;justify-content:center;padding-bottom:18px}
.ed-h1 .ed-logo b{font-size:25px}
.ed-h1 .ed-nav{order:2;flex:0 0 100%;justify-content:center;gap:40px;padding-bottom:16px}
.ed-h1 .ed-head-act{order:0;position:absolute;right:0;top:0;margin:0}

/* 变体 2：左 LOGO，右导航，粘性顶栏 */
.ed-h2 .ed-head{background:var(--ed-bg);border-bottom:1px solid var(--ed-line);position:sticky;top:0}
.ed-h2 .ed-head-in{min-height:78px;padding:10px 0;gap:12px 26px}
.ed-h2 .ed-nav{margin-left:auto;gap:22px}

/* 变体 3：深色三段式（导航 | LOGO | 操作） */
.ed-h3 .ed-head{background:var(--ed-ink);color:var(--ed-bg);position:sticky;top:0}
/* h3 原来是 grid 三列（导航 | LOGO | 操作），导航被压在最左那列 ~470px 里。
   导航加到 8 项后只能挤成三行，最后一行被顶到深色条底部裁掉 —— 就是「变形」的来源。
   改成：第一行 LOGO 左 + 操作右，第二行导航独占整行居中，配一条细分割线。 */
.ed-h3 .ed-head-in{display:flex;flex-wrap:wrap;align-items:center;min-height:84px;
  gap:10px 20px;padding:12px 0}
.ed-h3 .ed-logo{order:1}
.ed-h3 .ed-logo span{color:rgba(255,255,255,.5)}
.ed-h3 .ed-head-act{order:2;margin-left:auto}
.ed-h3 .ed-nav{order:3;flex:0 0 100%;justify-content:center;gap:14px 24px;
  border-top:1px solid rgba(255,255,255,.16);margin-top:6px;padding-top:12px}
.ed-h3 .ed-nav a{font-size:12.5px;opacity:.82}
.ed-h3 .ed-nav a:hover,.ed-h3 .ed-nav a.is-on{opacity:1}

.ed-search{display:flex;align-items:center;gap:8px;border:1.5px solid var(--ed-line);padding:0 12px;height:42px;background:transparent}
.ed-search input{border:0;outline:0;background:transparent;color:inherit;font-size:13.5px;width:160px;font-family:inherit}
.ed-h3 .ed-search{border-color:rgba(255,255,255,.3)}
.ed-h3 .ed-search input{color:#fff}
.ed-h3 .ed-search input::placeholder{color:rgba(255,255,255,.5)}

/* ==========================================================================
   首屏 · 变体 1：全幅大图 + 底部大字叠压
   ========================================================================== */
/* 区块级规则一律带上元素名（section./div.）：这些类名同时可能出现在 <body> 上，
   裸写 .ed-hero1{display:flex} 会把 body 变成 flex 容器，导致整站塌成横排窄条。 */
section.ed-hero1{position:relative;overflow:hidden;min-height:600px;display:flex;align-items:flex-end;color:#fff}
.ed-hero1 .edx-bg{position:absolute;inset:0;background:linear-gradient(140deg,#0b0b12,#1d1d33 55%,#2b1a4d);}
.ed-hero1 .edx-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.82) 8%,rgba(0,0,0,.25) 60%,transparent)}
.ed-hero1 .edx-in{position:relative;padding:70px 0 64px}
.ed-hero1 h1{font-size:clamp(40px,6.2vw,86px);margin:18px 0 20px;max-width:16em}
.ed-hero1 p{max-width:44em;color:rgba(255,255,255,.78);font-size:17px;margin:0 0 32px}
.ed-hero1 .edx-acts{display:flex;gap:14px;flex-wrap:wrap}

/* 变体 2：左右分栏（左大字 / 右图） */
section.ed-hero2{display:grid;grid-template-columns:1.05fr .95fr;gap:0;border-bottom:1px solid var(--ed-line)}
.ed-hero2 .edx-txt{padding:88px 60px 88px 0;display:flex;flex-direction:column;justify-content:center}
.ed-hero2 h1{font-size:clamp(38px,5.2vw,72px);margin:20px 0 22px}
.ed-hero2 p{color:var(--ed-muted);font-size:16.5px;max-width:34em;margin:0 0 34px}
.ed-hero2 .edx-pic{position:relative;min-height:470px;background:linear-gradient(150deg,var(--ed-ink),var(--ed-accent))}
.ed-hero2 .edx-pic::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 30%,rgba(255,255,255,.22),transparent 62%)}
.ed-hero2 .edx-acts{display:flex;gap:14px;flex-wrap:wrap}

/* 变体 3：全宽大字标题 + 下方通栏图带 */
section.ed-hero3{padding:76px 0 0;border-bottom:1px solid var(--ed-line)}
.ed-hero3 .edx-top{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:end;padding-bottom:34px}
.ed-hero3 h1{font-size:clamp(42px,7vw,104px);margin:16px 0 0;text-transform:none}
.ed-hero3 .edx-side{max-width:30em;color:var(--ed-muted);font-size:15.5px;padding-bottom:10px}
.ed-hero3 .edx-band{height:330px;background:
   linear-gradient(120deg,var(--ed-accent),transparent 48%),
   linear-gradient(300deg,var(--ed-ink),transparent 55%),
   var(--ed-surface);
  position:relative;overflow:hidden}
.ed-hero3 .edx-band::after{content:"";position:absolute;inset:0;
  background-image:linear-gradient(rgba(0,0,0,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.06) 1px,transparent 1px);
  background-size:64px 64px}
.ed-hero3 .edx-acts{display:flex;gap:14px;margin-top:26px;flex-wrap:wrap}

/* ==========================================================================
   栏目标题
   ========================================================================== */
.ed-sec{padding:64px 0;border-bottom:1px solid var(--ed-line)}
.ed-sec-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:38px}
.ed-sec-hd h2{font-family:var(--ed-font-display);font-size:clamp(26px,3.4vw,42px);font-weight:900;margin:8px 0 0;letter-spacing:-.02em}
.ed-sec-hd .edx-more{font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ed-accent);white-space:nowrap}

/* ==========================================================================
   商品列表 · 变体 1：大图 + 文字交替行
   ========================================================================== */
.ed-list1 .edx-row{display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:center;padding:34px 0;border-bottom:1px solid var(--ed-line)}
.ed-list1 .edx-row:nth-child(even) .edx-pic{order:2}
.ed-list1 .edx-row:nth-child(even) .edx-info{order:1}
.ed-list1 .edx-pic{position:relative;overflow:hidden;aspect-ratio:16/10;background:var(--ed-surface)}
.ed-list1 .edx-pic img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.ed-list1 .edx-row:hover .edx-pic img{transform:scale(1.05)}
.ed-list1 .edx-no{font-family:var(--ed-font-display);font-size:13px;font-weight:900;letter-spacing:.2em;color:var(--ed-accent)}
.ed-list1 h3{font-family:var(--ed-font-display);font-size:clamp(21px,2.4vw,30px);font-weight:800;line-height:1.3;margin:14px 0 12px}
.ed-list1 .edx-desc{color:var(--ed-muted);font-size:14.8px;line-height:1.8;margin:0 0 20px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ed-list1 .edx-foot{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.ed-list1 .edx-price{font-family:var(--ed-font-display);font-size:26px;font-weight:900}
.ed-list1 .edx-price s{font-size:14px;color:var(--ed-muted);margin-left:8px;font-weight:400}

/* 变体 2：两列大图卡 */
div.ed-list2{display:grid;grid-template-columns:1fr 1fr;gap:40px 34px}
.ed-list2 .edx-card{display:block;border-bottom:1px solid var(--ed-line);padding-bottom:26px}
.ed-list2 .edx-pic{position:relative;overflow:hidden;aspect-ratio:4/3;background:var(--ed-surface);margin-bottom:20px}
.ed-list2 .edx-pic img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.ed-list2 .edx-card:hover .edx-pic img{transform:scale(1.04)}
.ed-list2 .edx-cat{font-size:11.5px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--ed-accent)}
.ed-list2 h3{font-family:var(--ed-font-display);font-size:clamp(19px,2vw,26px);font-weight:800;line-height:1.32;margin:10px 0 12px}
.ed-list2 .edx-desc{color:var(--ed-muted);font-size:14px;line-height:1.75;margin:0 0 16px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ed-list2 .edx-foot{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ed-list2 .edx-price{font-family:var(--ed-font-display);font-size:22px;font-weight:900}

/* 变体 3：三列编号式 */
div.ed-list3{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.ed-list3 .edx-cell{border-top:2px solid var(--ed-ink);padding-top:18px;display:flex;flex-direction:column}
.ed-list3 .edx-no{font-family:var(--ed-font-display);font-size:34px;font-weight:900;line-height:1;color:var(--ed-accent);margin-bottom:14px}
.ed-list3 .edx-pic{overflow:hidden;aspect-ratio:3/2;background:var(--ed-surface);margin-bottom:16px}
.ed-list3 .edx-pic img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.ed-list3 .edx-cell:hover .edx-pic img{transform:scale(1.05)}
.ed-list3 h3{font-family:var(--ed-font-display);font-size:18px;font-weight:800;line-height:1.4;margin:0 0 10px;flex:1}
.ed-list3 .edx-price{font-family:var(--ed-font-display);font-size:19px;font-weight:900;margin-top:8px}
.ed-list3 .edx-cat{font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--ed-muted);margin-bottom:8px}

/* ==========================================================================
   资讯 · 变体 1：头条 + 两列网格
   ========================================================================== */
.ed-news1 .edx-lead{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;padding-bottom:44px;border-bottom:1px solid var(--ed-line);margin-bottom:40px}
.ed-news1 .edx-lead .edx-pic{overflow:hidden;aspect-ratio:16/10;background:var(--ed-surface)}
.ed-news1 .edx-lead .edx-pic img{width:100%;height:100%;object-fit:cover}
.ed-news1 .edx-lead h3{font-family:var(--ed-font-display);font-size:clamp(24px,3vw,40px);font-weight:900;line-height:1.24;margin:16px 0 16px}
.ed-news1 .edx-lead p{color:var(--ed-muted);font-size:15px;line-height:1.85;margin:0}
.ed-news1 .edx-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px}
.ed-news1 .edx-item{border-top:1px solid var(--ed-line);padding-top:18px}
.ed-news1 .edx-item h4{font-family:var(--ed-font-display);font-size:19px;font-weight:800;line-height:1.4;margin:0 0 10px}
.ed-news1 .edx-item p{color:var(--ed-muted);font-size:13.8px;line-height:1.75;margin:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* 变体 2：四列杂志网格 */
div.ed-news2{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.ed-news2 .edx-cell{display:flex;flex-direction:column}
.ed-news2 .edx-pic{overflow:hidden;aspect-ratio:1/1;background:var(--ed-surface);margin-bottom:16px}
.ed-news2 .edx-pic img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.ed-news2 .edx-cell:hover .edx-pic img{transform:scale(1.06)}
.ed-news2 h4{font-family:var(--ed-font-display);font-size:17px;font-weight:800;line-height:1.42;margin:0 0 10px;flex:1}
.ed-news2 .edx-cat{font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--ed-accent);margin-bottom:8px}

/* 变体 3：纵向时间轴列表 */
div.ed-news3{border-top:2px solid var(--ed-ink)}
.ed-news3 .edx-row{display:grid;grid-template-columns:130px 1fr auto;gap:26px;align-items:baseline;padding:24px 0;border-bottom:1px solid var(--ed-line);transition:background .18s}
.ed-news3 .edx-row:hover{background:var(--ed-surface)}
.ed-news3 .edx-date{font-family:var(--ed-font-display);font-size:13px;font-weight:900;letter-spacing:.1em;color:var(--ed-accent)}
.ed-news3 h4{font-family:var(--ed-font-display);font-size:20px;font-weight:800;line-height:1.4;margin:0}
.ed-news3 .edx-cat{font-size:11.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ed-muted);white-space:nowrap}

/* ==========================================================================
   分类卡 / 页脚 / 分页 / 空态
   ========================================================================== */
.ed-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:2px solid var(--ed-ink)}
.ed-cat{padding:34px 30px 30px;border-right:1px solid var(--ed-line);transition:background .2s;display:flex;flex-direction:column;min-height:230px}
.ed-cat:last-child{border-right:0}
.ed-cat:hover{background:var(--ed-surface)}
.ed-cat .edx-no{font-family:var(--ed-font-display);font-size:12px;font-weight:900;letter-spacing:.2em;color:var(--ed-accent)}
.ed-cat h3{font-family:var(--ed-font-display);font-size:clamp(19px,2.1vw,26px);font-weight:900;line-height:1.3;margin:14px 0 12px;flex:1}
.ed-cat .edx-go{font-size:12.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--ed-accent)}

.ed-foot{background:var(--ed-ink);color:var(--ed-bg);padding:60px 0 26px;margin-top:0}
.ed-foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px}
.ed-foot h4{font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;opacity:.6;margin:0 0 18px}
.ed-foot ul{list-style:none;padding:0;margin:0}
.ed-foot li{line-height:2.15;font-size:13.5px;opacity:.82}
.ed-foot a:hover{color:var(--ed-accent);opacity:1}
.ed-foot-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.ed-foot-brand img{width:40px;height:40px;object-fit:contain}
.ed-foot-brand b{font-family:var(--ed-font-display);font-size:18px;font-weight:900}
.ed-foot p{font-size:13.5px;line-height:1.9;opacity:.72;margin:0 0 14px}
.ed-foot-bt{margin-top:34px;padding-top:20px;border-top:1px solid rgba(255,255,255,.14);
  display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:12.5px;opacity:.6}

.ed-page{display:flex;gap:8px;justify-content:center;padding:44px 0}
.ed-page a,.ed-page span{min-width:42px;height:42px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;
  border:1.5px solid var(--ed-line);font-size:13.5px;font-weight:700}
.ed-page a:hover{border-color:var(--ed-accent);color:var(--ed-accent)}
.ed-page .is-on{background:var(--ed-ink);color:var(--ed-bg);border-color:var(--ed-ink)}
.ed-empty{text-align:center;padding:80px 20px;color:var(--ed-muted)}
.ed-crumb{font-size:12.5px;color:var(--ed-muted);padding:26px 0;letter-spacing:.04em}
.ed-crumb b{color:var(--ed-ink)}
.ed-crumb i{margin:0 8px;font-style:normal;opacity:.5}
.ed-filter{display:flex;gap:22px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--ed-line);border-bottom:1px solid var(--ed-line);margin-bottom:44px}
.ed-filter a{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ed-muted)}
.ed-filter a:hover,.ed-filter a.is-on{color:var(--ed-accent)}

/* ==========================================================================
   登录 / 注册 · 杂志封面式
   ========================================================================== */
.ed-auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}
body.ed-auth-body{margin:0;background:var(--ed-bg);color:var(--ed-ink);font-family:var(--ed-font)}
/* 登录/注册页是独立页面（body 是 ed-auth-body 不是 ed-body），吃不到上面的 `.ed-body a` 重置，
   不写这条链接会是浏览器默认的蓝色下划线。 */
.ed-auth-body a{color:inherit;text-decoration:none}
.ed-auth-body img{max-width:100%}
.ed-auth-l{background:var(--ed-ink);color:var(--ed-bg);padding:56px 54px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.ed-auth-l::after{content:"";position:absolute;right:-120px;bottom:-120px;width:400px;height:400px;
  background:radial-gradient(circle,var(--ed-accent),transparent 66%);opacity:.5}
.ed-auth-l .edx-mid{position:relative;margin:auto 0}
.ed-auth-l h1{font-family:var(--ed-font-display);font-size:clamp(30px,4vw,54px);font-weight:900;line-height:1.12;margin:24px 0 20px}
.ed-auth-l p{font-size:15px;line-height:1.9;opacity:.76;max-width:32em}
.ed-auth-l ul{list-style:none;padding:0;margin:30px 0 0}
.ed-auth-l li{font-size:14px;line-height:2.2;opacity:.85}
.ed-auth-l li::before{content:"—";margin-right:12px;color:var(--ed-accent)}
.ed-auth-r{display:flex;align-items:center;justify-content:center;padding:56px 40px}
.ed-auth-box{width:100%;max-width:420px}
.ed-auth-box .edx-bk{font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ed-muted);margin-bottom:26px}
.ed-auth-box .edx-bk a:hover{color:var(--ed-accent)}
.ed-auth-box h2{font-family:var(--ed-font-display);font-size:clamp(26px,3vw,38px);font-weight:900;margin:0 0 10px}
.ed-auth-box .edx-desc{color:var(--ed-muted);font-size:14px;margin:0 0 32px;line-height:1.7}
.ed-tabs{display:flex;gap:30px;border-bottom:1px solid var(--ed-line);margin-bottom:30px}
.ed-tabs a{font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;padding:0 0 14px;color:var(--ed-muted);border-bottom:2px solid transparent}
.ed-tabs a.is-on{color:var(--ed-ink);border-bottom-color:var(--ed-accent)}
.ed-f{margin-bottom:20px}
.ed-f label{display:block;font-size:11.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ed-muted);margin-bottom:9px}
.ed-f input{width:100%;height:52px;border:1.5px solid var(--ed-line);background:transparent;color:var(--ed-ink);
  padding:0 16px;font-size:15px;outline:none;font-family:inherit;transition:border-color .18s}
.ed-f input:focus{border-color:var(--ed-accent)}
.ed-f.edx-code .edx-ip{position:relative}
.ed-f.edx-code input{padding-right:140px}
.ed-f.edx-code img{position:absolute;right:6px;top:6px;height:40px;width:126px;object-fit:cover;cursor:pointer}
.ed-sub{width:100%;height:54px;border:0;background:var(--ed-accent);color:var(--ed-accent-ink);
  font-size:14px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;margin-top:8px;
  transition:opacity .18s,transform .18s;font-family:inherit}
.ed-sub:hover{opacity:.88;transform:translateY(-2px)}
.ed-msg{padding:13px 16px;font-size:13.5px;margin-bottom:20px;border-left:4px solid}
.ed-msg.edx-err{background:rgba(200,30,30,.08);border-color:#c81e1e;color:#c81e1e}
.ed-auth-alt{margin-top:24px;font-size:13.5px;color:var(--ed-muted)}
.ed-auth-alt a{color:var(--ed-accent);font-weight:800}

/* ==========================================================================
   扩展变体 · 导航 h4~h7（h1~h3 见上）
   ========================================================================== */
/* h4 极简单行：LOGO 左、导航紧随其右，下划线由左向右展开 */
.ed-h4 .ed-head{background:var(--ed-bg);border-bottom:1px solid var(--ed-line)}
.ed-h4 .ed-head-in{min-height:76px;gap:16px 44px;padding:10px 0}
.ed-h4 .ed-nav{gap:26px}
.ed-h4 .ed-nav a{font-size:13.5px;letter-spacing:.02em;text-transform:none;border-bottom:0;position:relative}
.ed-h4 .ed-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--ed-accent);transition:right .22s}
.ed-h4 .ed-nav a:hover::after,.ed-h4 .ed-nav a.is-on::after{right:0}
.ed-h4 .ed-nav a.is-on{color:var(--ed-accent)}

/* h5 双行：上行 LOGO+操作，下行导航铺满带分隔线 */
.ed-h5 .ed-head{background:var(--ed-surface);border-bottom:2px solid var(--ed-ink)}
.ed-h5 .ed-head-in{flex-wrap:wrap;padding:16px 0 0;gap:0}
.ed-h5 .ed-logo{order:1}
.ed-h5 .ed-head-act{order:2;margin-left:auto}
.ed-h5 .ed-nav{order:3;flex:0 0 100%;gap:0;margin-top:14px;border-top:1px solid var(--ed-line)}
.ed-h5 .ed-nav a{padding:13px 22px;border-bottom:0;border-right:1px solid var(--ed-line);font-size:12.5px;letter-spacing:.06em}
.ed-h5 .ed-nav a:first-child{padding-left:0}
.ed-h5 .ed-nav a.is-on{background:var(--ed-ink);color:var(--ed-bg)}

/* h6 强调色通栏单行 */
.ed-h6 .ed-head{background:var(--ed-accent);color:var(--ed-accent-ink)}
.ed-h6 .ed-head-in{min-height:74px;padding:10px 0;gap:12px 22px}
.ed-h6 .ed-logo b{color:inherit}
.ed-h6 .ed-logo span{color:rgba(255,255,255,.62)}
.ed-h6 .ed-nav{margin:0 auto;gap:24px}
.ed-h6 .ed-nav a{text-transform:none;letter-spacing:.04em;border-bottom:0;font-size:13.5px}
.ed-h6 .ed-nav a:hover,.ed-h6 .ed-nav a.is-on{color:inherit;opacity:.72;border-bottom-color:transparent}
.ed-h6 .ed-head-act a:hover{color:inherit;opacity:.72}
.ed-h6 .ed-search{border-color:rgba(255,255,255,.45)}
.ed-h6 .ed-search input{color:#fff;width:130px}
.ed-h6 .ed-search input::placeholder{color:rgba(255,255,255,.7)}

/* h7 居中紧凑 + 竖线分隔 */
.ed-h7 .ed-head{background:var(--ed-bg);border-bottom:1px solid var(--ed-line)}
.ed-h7 .ed-head-in{min-height:88px;justify-content:center;gap:14px 32px;padding:12px 0}
.ed-h7 .ed-nav{gap:0}
.ed-h7 .ed-nav a{padding:6px 17px;border-bottom:0;border-left:1px solid var(--ed-line);text-transform:none;font-size:13.5px}
.ed-h7 .ed-nav a:first-child{border-left:0}
.ed-h7 .ed-nav a.is-on{color:var(--ed-accent)}
.ed-h7 .ed-head-act{margin-left:0}

/* ==========================================================================
   扩展变体 · 首屏 hero4~hero7（hero1~hero3 见上）
   ========================================================================== */
/* hero4 居中大字 + 底部三栏数据条 */
section.ed-hero4{padding:92px 0 0;text-align:center;border-bottom:1px solid var(--ed-line)}
.ed-hero4 .edx-hd{max-width:920px;margin:0 auto}
.ed-hero4 h1{font-size:clamp(38px,6vw,86px);margin:20px 0 22px}
.ed-hero4 p{color:var(--ed-muted);font-size:17px;max-width:40em;margin:0 auto 32px}
.ed-hero4 .edx-acts{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.ed-hero4 .edx-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--ed-line);margin-top:64px}
.ed-hero4 .edx-stat{padding:30px 18px;border-right:1px solid var(--ed-line)}
.ed-hero4 .edx-stat:last-child{border-right:0}
.ed-hero4 .edx-stat b{display:block;font-family:var(--ed-font-display);font-size:clamp(28px,3.4vw,44px);font-weight:900;color:var(--ed-accent);line-height:1.05}
.ed-hero4 .edx-stat span{font-size:12.5px;color:var(--ed-muted);letter-spacing:.05em}

/* hero5 竖排标签 + 内容 + 底部要点条 */
section.ed-hero5{padding:72px 0 0;border-bottom:1px solid var(--ed-line)}
.ed-hero5 .edx-grid{display:grid;grid-template-columns:96px 1fr;gap:38px;align-items:start}
.ed-hero5 .edx-tag{writing-mode:vertical-rl;font-size:11px;letter-spacing:.42em;text-transform:uppercase;
  color:var(--ed-muted);border-left:2px solid var(--ed-accent);padding-left:14px;height:210px}
.ed-hero5 h1{font-size:clamp(40px,6.4vw,90px);margin:0 0 24px}
.ed-hero5 p{color:var(--ed-muted);font-size:16.5px;max-width:36em;margin:0 0 30px}
.ed-hero5 .edx-acts{display:flex;gap:14px;flex-wrap:wrap}
.ed-hero5 .edx-strip{display:grid;grid-template-columns:repeat(3,1fr);margin-top:52px;border-top:2px solid var(--ed-ink)}
.ed-hero5 .edx-strip>div{padding:22px 26px 30px;border-right:1px solid var(--ed-line);font-size:13.5px;color:var(--ed-muted);line-height:1.85}
.ed-hero5 .edx-strip>div:last-child{border-right:0}
.ed-hero5 .edx-strip b{display:block;color:var(--ed-ink);font-size:15px;margin-bottom:8px;font-weight:800}

/* hero6 顶部大图压标题 + 下方两栏 */
section.ed-hero6{border-bottom:1px solid var(--ed-line)}
.ed-hero6 .edx-cover{position:relative;min-height:430px;display:flex;align-items:flex-end;
  background:linear-gradient(120deg,var(--ed-ink),var(--ed-accent))}
.ed-hero6 .edx-cover::after{content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.8) 4%,transparent 64%)}
.ed-hero6 .edx-cover .ed-wrap{position:relative;z-index:2;padding-top:60px;padding-bottom:54px}
.ed-hero6 .edx-cover .ed-kicker{color:rgba(255,255,255,.86)}
.ed-hero6 h1{color:#fff;font-size:clamp(34px,5.2vw,74px);margin:14px 0 0}
.ed-hero6 .edx-below{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;padding:44px 0 54px;align-items:start}
.ed-hero6 .edx-below p{color:var(--ed-muted);font-size:16px;margin:0}
.ed-hero6 .edx-acts{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}

/* hero7 反色分栏：左色块大字 + 右要点清单 */
section.ed-hero7{display:grid;grid-template-columns:.92fr 1.08fr;border-bottom:1px solid var(--ed-line)}
.ed-hero7 .edx-left{background:var(--ed-accent);color:var(--ed-accent-ink);padding:86px 52px;
  display:flex;flex-direction:column;justify-content:center}
.ed-hero7 .edx-left .ed-kicker{color:inherit;opacity:.78}
.ed-hero7 .edx-left h1{font-size:clamp(34px,4.6vw,64px);margin:16px 0 0}
.ed-hero7 .edx-right{padding:86px 52px;display:flex;flex-direction:column;justify-content:center}
.ed-hero7 .edx-right p{color:var(--ed-muted);font-size:16.5px;margin:0 0 24px}
.ed-hero7 .edx-list{list-style:none;padding:0;margin:0 0 30px}
.ed-hero7 .edx-list li{padding:11px 0;border-bottom:1px solid var(--ed-line);font-size:14.5px}
.ed-hero7 .edx-list li::before{content:"—";margin-right:12px;color:var(--ed-accent)}
.ed-hero7 .edx-acts{display:flex;gap:14px;flex-wrap:wrap}

/* ==========================================================================
   扩展变体 · 商品列表 list4~list7（list1~list3 见上）
   ========================================================================== */
/* list4 单列横向紧凑行 */
div.ed-list4{border-top:1px solid var(--ed-line)}
.ed-list4 .edx-line{display:grid;grid-template-columns:230px 1fr 190px;gap:30px;align-items:center;
  padding:22px 0;border-bottom:1px solid var(--ed-line)}
.ed-list4 .edx-pic{aspect-ratio:16/10;overflow:hidden;background:var(--ed-surface)}
.ed-list4 .edx-pic img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.ed-list4 .edx-line:hover .edx-pic img{transform:scale(1.05)}
.ed-list4 .edx-cat{font-size:10.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--ed-accent)}
.ed-list4 h3{font-family:var(--ed-font-display);font-size:19px;font-weight:800;line-height:1.42;margin:6px 0 6px}
.ed-list4 .edx-desc{color:var(--ed-muted);font-size:13.5px;margin:0;line-height:1.7}
.ed-list4 .edx-buy{text-align:right}
.ed-list4 .edx-price{display:block;font-family:var(--ed-font-display);font-size:22px;font-weight:900;margin-bottom:12px}

/* list5 四列紧凑网格 */
div.ed-list5{display:grid;grid-template-columns:repeat(4,1fr);gap:28px 22px}
.ed-list5 .edx-mini{display:block}
.ed-list5 .edx-pic{aspect-ratio:4/3;overflow:hidden;background:var(--ed-surface);margin-bottom:12px}
.ed-list5 .edx-pic img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.ed-list5 .edx-mini:hover .edx-pic img{transform:scale(1.06)}
.ed-list5 .edx-cat{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ed-muted)}
.ed-list5 h3{font-size:15px;font-weight:700;line-height:1.5;margin:6px 0 10px;height:45px;overflow:hidden}
.ed-list5 .edx-price{font-family:var(--ed-font-display);font-size:17px;font-weight:900}

/* list6 两列横向卡片 */
div.ed-list6{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.ed-list6 .edx-hcard{display:grid;grid-template-columns:160px 1fr;gap:20px;border:1px solid var(--ed-line);
  padding:16px;background:var(--ed-bg);transition:border-color .2s,transform .2s}
.ed-list6 .edx-hcard:hover{border-color:var(--ed-accent);transform:translateY(-2px)}
.ed-list6 .edx-pic{aspect-ratio:1/1;overflow:hidden;background:var(--ed-surface)}
.ed-list6 .edx-pic img{width:100%;height:100%;object-fit:cover}
.ed-list6 h3{font-size:16px;font-weight:800;line-height:1.45;margin:4px 0 8px}
.ed-list6 .edx-desc{font-size:13px;color:var(--ed-muted);margin:0 0 12px;height:38px;overflow:hidden;line-height:1.5}
.ed-list6 .edx-price{font-family:var(--ed-font-display);font-size:18px;font-weight:900}

/* list7 三列大图叠字 */
div.ed-list7{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ed-list7 .edx-ov{position:relative;display:block;overflow:hidden;aspect-ratio:3/4;background:var(--ed-ink)}
.ed-list7 .edx-ov img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.ed-list7 .edx-ov:hover img{transform:scale(1.06)}
.ed-list7 .edx-ov::after{content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.88) 4%,rgba(0,0,0,.15) 62%,transparent)}
.ed-list7 .edx-ov-tx{position:absolute;left:22px;right:22px;bottom:22px;z-index:2;color:#fff}
.ed-list7 .edx-ov-tx h3{color:#fff;font-size:18.5px;font-weight:800;line-height:1.42;margin:0 0 10px}
.ed-list7 .edx-cat{font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;opacity:.84;margin-bottom:8px}
.ed-list7 .edx-price{color:#fff;font-family:var(--ed-font-display);font-size:18px;font-weight:900}

/* ==========================================================================
   扩展变体 · 资讯 news4~news6（news1~news3 见上）
   ========================================================================== */
/* news4 两列正文 + 右侧栏 */
div.ed-news4{display:grid;grid-template-columns:1fr 296px;gap:44px;align-items:start}
.ed-news4 .edx-main{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.ed-news4 .edx-a{display:block}
.ed-news4 .edx-pic{aspect-ratio:16/10;overflow:hidden;background:var(--ed-surface);margin-bottom:14px}
.ed-news4 .edx-pic img{width:100%;height:100%;object-fit:cover}
.ed-news4 h4{font-size:16.5px;font-weight:800;line-height:1.45;margin:0 0 8px}
.ed-news4 .edx-desc{font-size:13.5px;color:var(--ed-muted);line-height:1.7;margin:0 0 10px;height:46px;overflow:hidden}
.ed-news4 .edx-side{border-left:1px solid var(--ed-line);padding-left:26px}
.ed-news4 .edx-side h5{font-size:11.5px;letter-spacing:.18em;text-transform:uppercase;margin:0 0 16px;color:var(--ed-muted)}
.ed-news4 .edx-side a{display:block;padding:12px 0;border-bottom:1px solid var(--ed-line);font-size:14px;line-height:1.55}

/* news5 三列：顶部深色标签条 + 正文 */
div.ed-news5{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.ed-news5 .edx-b{display:block;border:1px solid var(--ed-line)}
.ed-news5 .edx-cap{background:var(--ed-ink);color:var(--ed-bg);padding:13px 18px;font-size:11px;
  letter-spacing:.16em;text-transform:uppercase}
.ed-news5 .edx-bd{padding:20px 18px 22px}
.ed-news5 h4{font-size:16.5px;font-weight:800;line-height:1.45;margin:0 0 10px}
.ed-news5 p{font-size:13.5px;color:var(--ed-muted);margin:0 0 14px;height:62px;overflow:hidden;line-height:1.55}

/* news6 时间轴 */
div.ed-news6{border-left:2px solid var(--ed-line);margin-left:8px}
.ed-news6 .edx-t{position:relative;display:block;padding:0 0 30px 30px}
.ed-news6 .edx-t::before{content:"";position:absolute;left:-9px;top:5px;width:16px;height:16px;
  background:var(--ed-bg);border:2px solid var(--ed-accent);border-radius:50%}
.ed-news6 time{font-family:var(--ed-font-display);font-size:13px;font-weight:900;color:var(--ed-accent);letter-spacing:.08em}
.ed-news6 h4{font-size:18px;font-weight:800;line-height:1.45;margin:8px 0 6px}
.ed-news6 p{font-size:13.5px;color:var(--ed-muted);margin:0}

/* ==========================================================================
   扩展变体 · 登录/注册 auth2~auth7（auth1 为默认左右分屏）
   ========================================================================== */
/* auth1 默认左右分屏（显式写出来，一是自文档化，二是让 class 覆盖率检查不留白） */
.ed-auth1{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}

/* auth2 浅底居中卡片 */
.ed-auth2{display:block;min-height:100vh;background:var(--ed-surface)}
.ed-auth2 .ed-auth-l{display:none}
.ed-auth2 .ed-auth-r{display:block;padding:64px 20px;min-height:100vh}
.ed-auth2 .ed-auth-box{max-width:470px;margin:0 auto;background:var(--ed-bg);
  border:1px solid var(--ed-line);padding:0 42px 50px;box-shadow:0 20px 54px rgba(0,0,0,.07)}
.ed-auth2 .ed-auth-box::before{content:"";display:block;height:4px;background:var(--ed-accent);margin:0 -42px 36px}
.ed-auth2 .ed-auth-box .edx-bk{padding-top:34px}

/* auth3 镜像分屏（表单在左、色块在右） */
.ed-auth3 .ed-auth-l{order:2}
.ed-auth3 .ed-auth-r{order:1}
.ed-auth3 .ed-auth-l::after{left:-120px;right:auto}

/* auth4 顶部通栏 + 居中窄表单 */
.ed-auth4{display:block;min-height:100vh;background:var(--ed-bg)}
.ed-auth4 .ed-auth-l{display:block;padding:26px 54px;min-height:0}
.ed-auth4 .ed-auth-l .edx-mid{margin:0}
.ed-auth4 .ed-auth-l h1{font-size:21px;margin:0}
.ed-auth4 .ed-auth-l .ed-kicker,.ed-auth4 .ed-auth-l p,
.ed-auth4 .ed-auth-l ul,.ed-auth4 .ed-auth-l .ed-meta{display:none}
.ed-auth4 .ed-auth-r{padding:60px 20px}
.ed-auth4 .ed-auth-box{max-width:430px;margin:0 auto;border-top:3px solid var(--ed-accent);padding-top:34px}

/* auth5 左深色块更大 + 右表单 */
.ed-auth5{grid-template-columns:1.15fr .85fr}

/* auth6 深色全屏 + 玻璃拟态卡 */
.ed-auth6{display:block;min-height:100vh;background:var(--ed-ink);color:var(--ed-bg)}
.ed-auth6 .ed-auth-l{display:none}
.ed-auth6 .ed-auth-r{min-height:100vh;padding:70px 20px;background:
  radial-gradient(circle at 18% 18%,var(--ed-accent),transparent 52%),
  radial-gradient(circle at 82% 74%,var(--ed-accent),transparent 48%),var(--ed-ink)}
.ed-auth6 .ed-auth-box{max-width:450px;margin:0 auto;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.18);padding:42px 40px 46px;backdrop-filter:blur(10px)}
.ed-auth6 .ed-auth-box h2,.ed-auth6 .ed-f label{color:#fff}
.ed-auth6 .ed-auth-box .edx-bk{color:rgba(255,255,255,.6)}
.ed-auth6 .ed-auth-box .edx-bk a:hover{color:#fff}
.ed-auth6 .edx-desc,.ed-auth6 .ed-auth-alt{color:rgba(255,255,255,.66)}
.ed-auth6 .ed-tabs a{color:rgba(255,255,255,.68)}
.ed-auth6 .ed-tabs a.is-on{color:#fff;border-bottom-color:var(--ed-accent)}
.ed-auth6 .ed-f input{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff}
.ed-auth6 .ed-f input::placeholder{color:rgba(255,255,255,.45)}

/* auth7 浅色左 + 深色右表单 */
.ed-auth7 .ed-auth-l{background:var(--ed-surface);color:var(--ed-ink)}
.ed-auth7 .ed-auth-l::after{opacity:.4}
.ed-auth7 .ed-auth-r{background:var(--ed-ink);color:var(--ed-bg)}
.ed-auth7 .ed-auth-box h2{color:#fff}
.ed-auth7 .ed-auth-box .edx-bk{color:rgba(255,255,255,.6)}
.ed-auth7 .ed-auth-box .edx-bk a:hover{color:#fff}
.ed-auth7 .edx-desc,.ed-auth7 .ed-auth-alt{color:rgba(255,255,255,.64)}
.ed-auth7 .ed-tabs a{color:rgba(255,255,255,.68)}
.ed-auth7 .ed-tabs a.is-on{color:#fff;border-bottom-color:var(--ed-accent)}
.ed-auth7 .ed-f label{color:rgba(255,255,255,.8)}
.ed-auth7 .ed-f input{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff}
.ed-auth7 .ed-f input::placeholder{color:rgba(255,255,255,.45)}

/* ---------------- 关于我们 ---------------- */
.ed-about{display:grid;grid-template-columns:1fr 320px;gap:56px;align-items:start}
.ed-about-main h2{font-family:var(--ed-font-display);font-size:clamp(20px,2.2vw,28px);font-weight:900;margin:38px 0 14px}
.ed-about-main h2:first-child{margin-top:0}
.ed-about-main p{font-size:15.5px;line-height:1.95;margin:0 0 16px}
.ed-about-main ul{list-style:none;padding:0;margin:0 0 8px}
.ed-about-main li{position:relative;padding:10px 0 10px 22px;border-bottom:1px solid var(--ed-line);
  font-size:14.5px;line-height:1.85;color:var(--ed-muted)}
.ed-about-main li b{color:var(--ed-ink);font-weight:800}
.ed-about-main li::before{content:"";position:absolute;left:0;top:20px;width:9px;height:2px;background:var(--ed-accent)}
.ed-about-side{position:sticky;top:24px}
.ed-about-card{border:1px solid var(--ed-line);padding:24px 22px;margin-bottom:20px}
.ed-about-card h4{font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;
  color:var(--ed-muted);margin:0 0 16px}
.ed-about-card p{margin:0 0 12px;font-size:14px;line-height:1.7}
.ed-about-card p:last-child{margin-bottom:0}
.ed-about-card p span{display:block;font-size:11.5px;letter-spacing:.1em;color:var(--ed-muted);margin-bottom:2px}

/* ---------------- 在线留言 ---------------- */
/* 旧模板遗留的一组工具类，现有样式表里都没有定义，整页因此没有任何间距 */
.pt-80{padding-top:62px}
.pb-80{padding-bottom:62px}
.f-800{font-weight:800}
.cod__black-color{color:var(--ed-ink)}
.shop-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:20px 0 14px}
.shop-bar h4{margin:0;font-family:var(--ed-font-display);font-size:clamp(24px,3vw,36px);font-weight:900}

.ed-contact{display:grid;grid-template-columns:1fr 340px;gap:56px;align-items:start}
.ed-contact .ed-f textarea{width:100%;min-height:160px;border:1.5px solid var(--ed-line);background:transparent;
  color:var(--ed-ink);padding:14px 16px;font-size:15px;line-height:1.75;outline:none;
  font-family:inherit;resize:vertical;transition:border-color .18s}
.ed-contact .ed-f textarea:focus{border-color:var(--ed-accent)}
.ed-note{padding:14px 18px;font-size:14px;margin-bottom:24px;border-left:4px solid}
.ed-note.ok{background:rgba(20,140,80,.08);border-color:#148c50;color:#148c50}
.ed-note.bad{background:rgba(200,30,30,.08);border-color:#c81e1e;color:#c81e1e}

/* ---------------- 解决方案 ---------------- */
.ed-sol{display:grid;grid-template-columns:repeat(3,1fr);border-top:2px solid var(--ed-ink)}
.ed-sol-item{padding:36px 32px 34px;border-right:1px solid var(--ed-line);
  border-bottom:1px solid var(--ed-line);display:flex;flex-direction:column}
.ed-sol-item:last-child{border-right:0}
.ed-sol-hd .edx-no{font-family:var(--ed-font-display);font-size:30px;font-weight:900;
  color:var(--ed-accent);line-height:1}
.ed-sol-hd h2{font-family:var(--ed-font-display);font-size:clamp(19px,2vw,25px);font-weight:900;
  margin:10px 0 6px;line-height:1.35}
.ed-sol-lead{color:var(--ed-muted);font-size:14px;line-height:1.8;margin:0 0 20px}
.ed-sol-list{list-style:none;padding:0;margin:0 0 24px;flex:1}
.ed-sol-list li{display:flex;justify-content:space-between;gap:14px;align-items:baseline;
  padding:10px 0;border-bottom:1px solid var(--ed-line);font-size:13.8px;line-height:1.6}
.ed-sol-list li a:hover{color:var(--ed-accent)}
.ed-sol-list li span{font-family:var(--ed-font-display);font-weight:800;white-space:nowrap;font-size:13.5px}
.ed-sol-item .ed-btn{align-self:flex-start;height:46px;padding:0 24px;font-size:12.5px}

.ed-flow{display:grid;grid-template-columns:repeat(4,1fr)}
.ed-flow>div{padding:28px 26px;border-right:1px solid var(--ed-line);border-top:1px solid var(--ed-line)}
.ed-flow>div:last-child{border-right:0}
.ed-flow b{display:block;font-family:var(--ed-font-display);font-size:17px;font-weight:900;margin-bottom:10px}
.ed-flow b i{font-style:normal;color:var(--ed-accent);margin-right:8px;font-size:13px}
.ed-flow p{color:var(--ed-muted);font-size:13.5px;line-height:1.8;margin:0}
/* 六格/三格版本：列尾不要右边框 */
.ed-flow--6{grid-template-columns:repeat(3,1fr)}
.ed-flow--6>div:nth-child(3n){border-right:0}

.ed-cta{margin-top:44px;padding:40px 44px;background:var(--ed-ink);color:var(--ed-bg);
  display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.ed-cta h3{font-family:var(--ed-font-display);font-size:clamp(20px,2.2vw,28px);font-weight:900;margin:0 0 6px;color:var(--ed-bg)}
.ed-cta p{margin:0;opacity:.72;font-size:14px}
.ed-body .ed-cta a.ed-btn{border:1.5px solid rgba(255,255,255,.5)}

/* ---------------- 服务中心 ----------------
   原先这两个页面还是旧主题的 ft-* 模板（ft-crumb / ft-page-hd / ft-stores），
   跟编辑风完全不是一套观感，这里整页改用 ed-* 组件，并做 3 种布局变体。 */
.edx-logo{display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--ed-surface)}
.edx-logo img{width:100%;height:100%;object-fit:contain}

/* 变体 1：卡片网格 */
.ed-stores{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.ed-store{display:block;border:1px solid var(--ed-line);padding:30px 24px;text-align:center;
  transition:border-color .2s,transform .2s}
.ed-store:hover{border-color:var(--ed-accent);transform:translateY(-3px)}
.ed-store .edx-logo{width:78px;height:78px;margin:0 auto 18px}
.ed-store b{display:block;font-family:var(--ed-font-display);font-size:17px;font-weight:900;margin-bottom:8px;line-height:1.4}
.ed-store .edx-tel{font-size:13px;color:var(--ed-muted);margin-bottom:14px}
.ed-store .edx-cnt{font-size:12.5px;font-weight:800;letter-spacing:.05em;color:var(--ed-accent)}

/* 变体 2：列表行 */
.ed-stores2{border-top:1px solid var(--ed-line)}
.ed-stores2 .edx-srow{display:grid;grid-template-columns:78px 1fr 150px 150px;gap:26px;align-items:center;
  padding:20px 0;border-bottom:1px solid var(--ed-line);transition:background .18s}
.ed-stores2 .edx-srow:hover{background:var(--ed-surface)}
.ed-stores2 .edx-logo{width:78px;height:78px}
.ed-stores2 b{display:block;font-family:var(--ed-font-display);font-size:18px;font-weight:900;margin-bottom:6px}
.ed-stores2 .edx-tel{font-size:13px;color:var(--ed-muted)}
.ed-stores2 .edx-cnt{font-size:13px;font-weight:800;color:var(--ed-accent);text-align:right}

/* 变体 3：编号卡 */
.ed-stores3{display:grid;grid-template-columns:repeat(4,1fr);border-top:2px solid var(--ed-ink)}
.ed-stores3 .edx-scard{padding:32px 26px 30px;border-right:1px solid var(--ed-line);border-bottom:1px solid var(--ed-line);
  display:flex;flex-direction:column;transition:background .2s}
.ed-stores3 .edx-scard:last-child{border-right:0}
.ed-stores3 .edx-scard:hover{background:var(--ed-surface)}
.ed-stores3 .edx-no{font-family:var(--ed-font-display);font-size:28px;font-weight:900;color:var(--ed-accent);line-height:1;margin-bottom:16px}
.ed-stores3 .edx-logo{width:66px;height:66px;margin-bottom:16px}
.ed-stores3 b{display:block;font-family:var(--ed-font-display);font-size:17px;font-weight:900;margin-bottom:8px;line-height:1.4;flex:1}
.ed-stores3 .edx-tel{font-size:13px;color:var(--ed-muted);margin-bottom:12px}
.ed-stores3 .edx-cnt{font-size:12.5px;font-weight:800;color:var(--ed-accent)}

/* 店铺详情头 */
.ed-shop-hd{display:grid;grid-template-columns:96px 1fr auto;gap:26px;align-items:center;
  border:1px solid var(--ed-line);padding:26px 28px;margin-bottom:14px}
.ed-shop-hd .edx-logo{width:96px;height:96px}
.ed-shop-hd h1{font-family:var(--ed-font-display);font-size:clamp(22px,2.4vw,32px);font-weight:900;margin:0 0 10px}
.ed-shop-hd .edx-meta{display:flex;gap:20px;flex-wrap:wrap;font-size:13.5px;color:var(--ed-muted)}
.ed-shop-hd .edx-act{display:flex;gap:12px;flex-wrap:wrap}

/* ---------------- 商品详情页 / 搜索页（仍用旧 ft-* 模板）对齐编辑风 ----------------
   这几页的 DOM 还是旧主题的 ft-* 一套，重写风险高（购物车、图集、规格选择都挂在上面的 JS），
   所以只做定向覆盖：把 fruit.css 里写死的非调色板颜色和不合编辑风的块改掉。 */
/* fruit.css 的 .ft-btn-orange 渐变把青色 #67E8F9 写死了，红/棕等主题下会跳出一颗青蓝按钮 */
.ft-btn-orange{background:var(--ed-accent);background-image:none;color:var(--ed-accent-ink);
  box-shadow:none;border:0}
.ft-btn-orange:hover{opacity:.88;transform:translateY(-1px)}
/* #DCD2FF 是写死的淡紫边框 */
.ft-btn-ghost{background:transparent;color:var(--ed-ink);border:1.5px solid var(--ed-ink);box-shadow:none}
.ft-btn-ghost:hover{background:var(--ed-ink);color:var(--ed-bg)}
/* 面包屑原来是一条通栏灰底，跟编辑风的 .ed-crumb 不是一套 */
.ft-crumb{background:transparent;border-bottom:0;padding:24px 0 0;font-size:12.5px;color:var(--ed-muted)}
.ft-crumb a:hover{color:var(--ed-accent)}
/* 容器宽度与 .ed-wrap 对齐，页面左右边距才不会跟首页差一截 */
.ft-container{max-width:1280px;padding:0 34px}
/* 写死的淡紫底（#F7F5FF）改成中性表面色 */
.gallery,.pic{background:var(--ed-surface)}
.ft-detail h1,.ft-page-hd h1{font-family:var(--ed-font-display);font-weight:900;letter-spacing:-.01em}
.ft-price,.p{color:var(--ed-accent)}
.ft-card{border-radius:0;box-shadow:none;border:1px solid var(--ed-line)}
.ft-card .pic{border-radius:0}
.gallery{border-radius:0}

/* ---------------- 付费资讯详情（info_show） ----------------
   7 套排版 .ed-art1~7 × 3 档字号 .ed-t0~2，21 个站两两不同。
   类名统一 ed-art 前缀，避开 style.css / fruit.css 里的通用类。 */
.ed-artwrap{padding:0 0 64px}
.ed-artmain{min-width:0}
.ed-art1{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px}
.ed-art4{display:grid;grid-template-columns:262px minmax(0,1fr);gap:48px}
.ed-art2{max-width:840px;margin:0 auto}
.ed-art5-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px}
.ed-art7-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px}

.ed-art-title{font-family:var(--ed-font-display);font-weight:900;line-height:1.24;margin:16px 0 18px;overflow-wrap:anywhere}
.ed-art1 .ed-art-title,.ed-art4 .ed-art-title,.ed-art5 .ed-art-title{font-size:clamp(26px,3.4vw,44px)}
.ed-art2 .ed-art-title{font-size:clamp(28px,3.8vw,48px);text-align:center}
.ed-art2 .ed-kicker{text-align:center}
.ed-art3 .ed-art-title{font-size:clamp(28px,4vw,52px)}
.ed-art6 .ed-art-title{font-size:clamp(27px,3.6vw,46px)}
.ed-art7 .ed-art-title{font-size:clamp(24px,3.1vw,40px);margin-top:6px}

/* 三档字号：正文与标题一起缩放 */
.ed-t0 .ed-art-body,.ed-t0 .ed-art-darkbody{font-size:16px;line-height:1.95}
.ed-t1 .ed-art-body,.ed-t1 .ed-art-darkbody{font-size:17.5px;line-height:2.05}
.ed-t2 .ed-art-body,.ed-t2 .ed-art-darkbody{font-size:15px;line-height:1.85}
.ed-t1 .ed-art-title{letter-spacing:-.012em}
.ed-t2 .ed-art-title{font-size:clamp(22px,2.8vw,36px)}
.ed-t2 .ed-art-body p{margin-bottom:15px}

.ed-art-meta{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;
  font-size:13px;color:var(--ed-muted);padding:0 0 20px;margin-bottom:26px;
  border-bottom:1px solid var(--ed-line)}
.ed-art-meta .edx-pub{color:var(--ed-ink);font-weight:800}
.ed-art-meta .edx-price{color:var(--ed-accent);font-weight:800}
.ed-art2 .ed-art-meta{justify-content:center;border-bottom:0;padding-bottom:6px}

.ed-art-cover{margin:0 0 26px;overflow:hidden;background:var(--ed-surface)}
.ed-art-cover img{width:100%;display:block}

.ed-art-sum{background:var(--ed-surface);border-left:3px solid var(--ed-accent);
  padding:14px 18px;font-size:14.5px;line-height:1.85;color:var(--ed-muted);margin-bottom:24px}
.ed-art-body h2,.ed-art-darkbody h2{font-size:22px;line-height:1.4;margin:34px 0 14px}
.ed-art-body h3,.ed-art-darkbody h3{font-size:18px;line-height:1.5;margin:26px 0 10px}
.ed-art-body p,.ed-art-darkbody p{margin:0 0 18px}
.ed-art-body img,.ed-art-darkbody img{max-width:100%;height:auto}

/* 付费墙 */
.ed-paywall{text-align:center;padding:38px 22px 34px;margin:8px 0 24px;
  background:var(--ed-surface);border:1px dashed var(--ed-line)}
.ed-paywall-lock{font-size:32px;line-height:1;margin-bottom:12px}
.ed-paywall-title{font-size:16px;font-weight:800;margin-bottom:10px}
.ed-paywall-price{font-family:var(--ed-font-display);font-size:34px;font-weight:900;
  color:var(--ed-accent);line-height:1.1;margin-bottom:8px}
.ed-paywall-price small{font-size:17px;font-weight:700}
.ed-paywall-hint{font-size:13px;color:var(--ed-muted);margin-bottom:18px}
.ed-paywall-btn{display:inline-block;min-width:190px;padding:13px 30px;border:0;cursor:pointer;
  background:var(--ed-accent);color:var(--ed-accent-ink);font-size:15px;font-weight:800;
  font-family:inherit;letter-spacing:.04em}
.ed-paywall-btn:hover{opacity:.9}
.ed-paywall-note{font-size:12.5px;color:var(--ed-muted);margin-top:12px}
.ed-art-darkbody .ed-paywall{background:rgba(127,127,127,.14);border-color:rgba(127,127,127,.4)}
.ed-art-darkbody .ed-paywall-btn{background:var(--ed-bg);color:var(--ed-ink)}

.ed-art-back{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}

/* 侧栏 */
.ed-artside{min-width:0}
.edx-side-box{border:1px solid var(--ed-line);padding:22px 20px;margin-bottom:20px}
.edx-side-box h4{font-family:var(--ed-font-display);font-size:15px;font-weight:900;
  letter-spacing:.06em;margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid var(--ed-line)}
.edx-side-box ul{list-style:none;margin:0;padding:0}
.edx-side-box li{border-bottom:1px dashed var(--ed-line)}
.edx-side-box li:last-child{border-bottom:0}
.edx-side-box li a{display:flex;justify-content:space-between;gap:10px;
  padding:10px 0;font-size:13.5px;line-height:1.6}
.edx-side-box li a:hover{color:var(--ed-accent)}
.edx-side-box li a.is-on{color:var(--ed-accent);font-weight:800}
.edx-side-box li em{font-style:normal;font-size:12px;color:var(--ed-muted);flex:0 0 auto}
.edx-side-cta p{font-size:13px;color:var(--ed-muted);margin:0 0 14px}
.edx-side-cta .ed-btn{display:block;text-align:center}

/* 相关推荐 */
.ed-art-relate{margin-top:52px;padding-top:8px;border-top:1px solid var(--ed-line)}
.ed-art-relgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:22px}
.edx-rel{display:block;border:1px solid var(--ed-line);padding:22px 20px;transition:border-color .2s}
.edx-rel:hover{border-color:var(--ed-accent)}
.edx-rel h4{font-family:var(--ed-font-display);font-size:15.5px;font-weight:900;
  line-height:1.45;margin:0 0 10px}
.edx-rel p{font-size:13px;color:var(--ed-muted);line-height:1.75;margin:0 0 12px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.edx-rel .ed-meta{font-size:12px}

/* V2 相关推荐两列；V3 封面压图；V5 卡片；V6 反色；V7 编号 */
.ed-art2 .ed-art-relgrid{grid-template-columns:1fr 1fr}
.ed-art3 .ed-art-relgrid{grid-template-columns:repeat(4,1fr)}

.ed-art-hero{position:relative;margin-bottom:38px}
.ed-art-hero>img{width:100%;max-height:440px;object-fit:cover;display:block}
.ed-art-heroin{position:relative;max-width:780px;margin:-84px 0 0;
  background:var(--ed-bg);padding:30px 34px 0}
.ed-art-heroin .ed-art-meta{margin-bottom:0}
.ed-art3-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px}

.ed-art-card{border:1px solid var(--ed-line)}
.edx-bartop{height:5px;background:var(--ed-accent)}
.ed-art-pad{padding:32px 34px 34px}

.ed-art-dark{background:var(--ed-ink);color:var(--ed-bg);padding:46px 44px 40px}
.ed-art-dark .ed-kicker{color:var(--ed-accent)}
.ed-art-dark .ed-art-meta{color:var(--ed-bg);opacity:.75;border-bottom-color:rgba(127,127,127,.45)}
.ed-art-dark .ed-art-meta .edx-pub{color:var(--ed-bg)}
.ed-art-dark .ed-art-meta .edx-price{color:var(--ed-accent)}
.ed-art-dark .ed-art-sum{background:rgba(127,127,127,.16);color:var(--ed-bg);opacity:.9;border-left-color:var(--ed-accent)}
.ed-art6-foot{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;margin-top:32px}
.ed-art6-foot .ed-art-back{margin-top:0}

.ed-art7-hd{display:flex;gap:22px;align-items:flex-start;margin-bottom:18px}
.ed-art7-no{font-family:var(--ed-font-display);font-size:56px;font-weight:900;line-height:.9;
  color:var(--ed-accent);flex:0 0 auto}
.ed-art7-body{border-left:2px solid var(--ed-line);padding-left:26px}
.ed-art7-body .ed-art-cover,.ed-art7-body .ed-paywall{margin-left:-26px}

/* ---------------- 商品（服务）详情 shop_detail ----------------
   7 套排版 .ed-gd1~7 × 3 档字号 .ed-gt0~2，21 个站两两不同。
   类名统一 ed-gd 前缀，避开 style.css / fruit.css 里的通用类。 */
.ed-gdwrap{padding:0 0 10px}
.ed-gd-main{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:44px;align-items:start}
.ed-gd-flip .ed-gd-gal{order:2}
.ed-gd-info{min-width:0}

.ed-gd-gal{margin:0;background:var(--ed-surface);overflow:hidden;position:relative}
.ed-gd-gal img{width:100%;display:block;aspect-ratio:16/10;object-fit:cover}
.ed-gd-galcap{position:absolute;left:0;bottom:0;background:var(--ed-accent);color:var(--ed-accent-ink);
  font-size:12px;font-weight:800;letter-spacing:.1em;padding:6px 14px}

.ed-gd-title{font-family:var(--ed-font-display);font-weight:900;line-height:1.26;margin:0 0 18px;overflow-wrap:anywhere}
.ed-gt0 .ed-gd-title{font-size:clamp(24px,2.9vw,38px)}
.ed-gt1 .ed-gd-title{font-size:clamp(27px,3.4vw,44px);letter-spacing:-.01em}
.ed-gt2 .ed-gd-title{font-size:clamp(21px,2.5vw,33px)}

.ed-gd-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 18px;
  padding:18px 0;border-top:1px solid var(--ed-line);border-bottom:1px solid var(--ed-line);margin-bottom:20px}
.ed-gd-price .edx-now{font-family:var(--ed-font-display);font-size:clamp(28px,3.2vw,42px);font-weight:900;color:var(--ed-accent);line-height:1}
.ed-gd-price .edx-now small{font-size:17px;font-weight:700}
.ed-gd-price del{font-size:15px;color:var(--ed-muted)}
.ed-gd-price .edx-sale,.ed-gd-price .edx-stock{font-size:13px;color:var(--ed-muted)}
.ed-gt1 .ed-gd-price .edx-now{font-size:clamp(31px,3.6vw,48px)}
.ed-gt2 .ed-gd-price .edx-now{font-size:clamp(25px,2.8vw,36px)}

.ed-gd-attrs{margin:0 0 22px}
.ed-gd-attrs>div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;
  padding:11px 0;border-bottom:1px dashed var(--ed-line);font-size:13.5px;line-height:1.7}
.ed-gd-attrs>div:last-child{border-bottom:0}
.ed-gd-attrs dt{color:var(--ed-muted);margin:0}
.ed-gd-attrs dd{margin:0}
.ed-gd-attrs a{color:var(--ed-accent);font-weight:800}

.ed-gd-buy{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ed-gd-qty{display:inline-flex;align-items:stretch;border:1px solid var(--ed-line)}
.ed-gd-qty button{width:40px;border:0;background:var(--ed-surface);color:var(--ed-ink);
  font-size:17px;font-weight:800;cursor:pointer;font-family:inherit}
.ed-gd-qty button:hover{background:var(--ed-accent);color:var(--ed-accent-ink)}
.ed-gd-qty input{width:62px;border:0;border-left:1px solid var(--ed-line);border-right:1px solid var(--ed-line);
  text-align:center;font-size:14.5px;font-weight:800;font-family:inherit;
  color:var(--ed-ink);background:var(--ed-bg);-moz-appearance:textfield}
.ed-gd-qty input::-webkit-outer-spin-button,.ed-gd-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* G3 通栏大图 + 三段信息 */
.ed-gd-banner .ed-gd-gal img{aspect-ratio:21/8;max-height:420px}
.ed-gd-tri{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto;
  gap:34px;align-items:start;padding:30px 0 6px}
.ed-gd-tri .edx-tri-buy{align-self:center}

/* G4 卡片式 */
.ed-gd-cards{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
.edx-card{border:1px solid var(--ed-line)}
.edx-card-img .ed-gd-gal{background:transparent}
.edx-card-pad{padding:28px 30px 30px}

/* G5 购买栏在左 */
.ed-gd-side{grid-template-columns:310px minmax(0,1fr)}
.ed-gd-aside{border:1px solid var(--ed-line);padding:26px 24px;position:sticky;top:18px}
.ed-gd-aside .ed-gd-buy{flex-direction:column;align-items:stretch}
.ed-gd-aside .ed-gd-qty{justify-content:center}
.ed-gd-aside .ed-btn{text-align:center}
.ed-gd-content .ed-gd-attrs{margin-top:26px}

/* G6 反色购买区 */
.ed-gd-dark{background:var(--ed-ink);color:var(--ed-bg);padding:38px 36px 34px}
.ed-gd-darkmain{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center}
.ed-gd-dark .ed-gd-title{color:var(--ed-bg)}
.ed-gd-dark .ed-gd-price{border-color:rgba(127,127,127,.45)}
.ed-gd-dark .ed-gd-price del,.ed-gd-dark .ed-gd-price .edx-sale,.ed-gd-dark .ed-gd-price .edx-stock{color:var(--ed-bg);opacity:.7}
.ed-gd-dark .ed-gd-qty{border-color:rgba(127,127,127,.5)}
.ed-gd-dark .ed-gd-qty button{background:rgba(127,127,127,.2);color:var(--ed-bg)}
.ed-gd-dark .ed-gd-qty input{background:transparent;color:var(--ed-bg);border-color:rgba(127,127,127,.5)}
/* 反色区里的按钮必须写成 .ed-body … a.ed-btn 这一级：
   全局的 `.ed-body a.ed-btn`（0,2,1）比 `.ed-gd-dark .ed-btn`（0,2,0）特异性高，
   只写后者的话按钮文字会被它的 --ed-accent-ink 接管，深底上就是一片看不见。 */
.ed-body .ed-gd-dark a.ed-btn{background:var(--ed-bg);color:var(--ed-ink);border-color:var(--ed-bg)}
.ed-body .ed-gd-dark a.ed-btn-o{background:transparent;color:var(--ed-bg);border-color:rgba(127,127,127,.6)}
.ed-gd-darkattrs{margin-top:28px;padding-top:22px;border-top:1px solid rgba(127,127,127,.4)}
.ed-gd-darkattrs .ed-gd-attrs>div{border-bottom-color:rgba(127,127,127,.35)}
.ed-gd-darkattrs .ed-gd-attrs dt{color:var(--ed-bg);opacity:.65}
.ed-gd-darkattrs .ed-gd-attrs dd,.ed-gd-darkattrs .ed-gd-attrs a{color:var(--ed-bg)}

/* G7 规格表 */
.ed-gd-table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:13.5px}
.ed-gd-table th,.ed-gd-table td{text-align:left;padding:12px 14px;border:1px solid var(--ed-line);line-height:1.7}
.ed-gd-table th{width:96px;background:var(--ed-surface);color:var(--ed-muted);font-weight:800}
.ed-gd-table a{color:var(--ed-accent);font-weight:800}

/* 详情正文 + 相关推荐 */
.ed-gd-body{font-size:15.5px;line-height:1.95;max-width:900px}
.ed-gt1 .ed-gd-body{font-size:17px;line-height:2.05}
.ed-gt2 .ed-gd-body{font-size:14.5px;line-height:1.85}
.ed-gd-body h2{font-size:22px;line-height:1.4;margin:32px 0 14px}
.ed-gd-body h3{font-size:18px;line-height:1.5;margin:24px 0 10px}
.ed-gd-body p{margin:0 0 18px}
.ed-gd-body img{max-width:100%;height:auto}
.ed-gd-bodsec{padding-top:46px}
.ed-gd-relgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:22px}
.edx-relpic{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--ed-surface);margin-bottom:14px}
.edx-relpic img{width:100%;height:100%;object-fit:cover;display:block}
.edx-relprice{display:block;font-family:var(--ed-font-display);font-size:16px;font-weight:900;
  color:var(--ed-accent);margin-top:8px}

/* ---------------- 响应式 ---------------- */
/* 响应式原则：拥挤时让头部「换行」，只有真正的手机宽度才隐藏导航、塌成单列。
   早先版本在 1080px 就隐藏导航并把整站塌成一列，导致 1000px 左右的桌面窗口
   （高 DPI 缩放很常见）打开像是一条窄列，观感等同样式损坏。 */
@media (max-width:1180px){
  .ed-sol{grid-template-columns:1fr}
  .ed-sol-item{border-right:0}
  .ed-flow{grid-template-columns:1fr 1fr}
  .ed-flow>div:nth-child(2n){border-right:0}
  /* 变两列后，原来按 3 列去掉的右边框要还原，改由 2n 规则接管 */
  .ed-flow--6>div:nth-child(3n){border-right:1px solid var(--ed-line)}
  .ed-flow--6>div:nth-child(2n){border-right:0}
  div.ed-news2{grid-template-columns:repeat(3,1fr)}
  div.ed-news5{grid-template-columns:1fr 1fr}
  div.ed-news4{grid-template-columns:1fr;gap:32px}
  .ed-news4 .edx-side{border-left:0;padding-left:0;border-top:1px solid var(--ed-line);padding-top:20px}
  div.ed-list5{grid-template-columns:repeat(3,1fr)}
  div.ed-list7{grid-template-columns:1fr 1fr}
  .ed-list4 .edx-line{grid-template-columns:190px 1fr 160px;gap:22px}
  section.ed-hero7{grid-template-columns:1fr 1fr}
  .ed-hero7 .edx-left,.ed-hero7 .edx-right{padding:64px 40px}
  .ed-foot-grid{grid-template-columns:1.4fr 1fr 1fr;gap:30px}
  .ed-foot-grid>div:last-child{grid-column:1/-1}
}
@media (max-width:900px){
  /* 头部：导航换到第二行居中，不隐藏 */
  .ed-h2 .ed-head-in{height:auto;flex-wrap:wrap;padding:12px 0;gap:12px}
  .ed-h2 .ed-nav{order:3;flex:0 0 100%;margin:0;justify-content:center;gap:20px}
  /* h3 基类已经是「操作区换行 + 导航独占一行」的 flex，这里只收紧间距 */
  .ed-h3 .ed-head-in{gap:8px 14px;padding:12px 0}
  .ed-h3 .ed-nav{gap:10px 18px}
  /* 内容：两列塌成单列 */
  section.ed-hero2{grid-template-columns:1fr}
  .ed-hero2 .edx-pic{min-height:300px}
  .ed-hero2 .edx-txt{padding:56px 0}
  .ed-hero3 .edx-top{grid-template-columns:1fr;align-items:start}
  .ed-list1 .edx-row{grid-template-columns:1fr;gap:22px}
  .ed-list1 .edx-row:nth-child(even) .edx-pic,.ed-list1 .edx-row:nth-child(even) .edx-info{order:0}
  div.ed-list3{grid-template-columns:1fr 1fr}
  .ed-news1 .edx-lead{grid-template-columns:1fr;gap:24px}
  div.ed-news2{grid-template-columns:1fr 1fr}
  /* 新增变体 */
  section.ed-hero4{padding:64px 0 0}
  .ed-hero4 .edx-stats{grid-template-columns:1fr 1fr;margin-top:44px}
  .ed-hero4 .edx-stat:nth-child(2){border-right:0}
  .ed-hero4 .edx-stat:nth-child(-n+2){border-bottom:1px solid var(--ed-line)}
  .ed-hero5 .edx-grid{grid-template-columns:1fr;gap:22px}
  .ed-hero5 .edx-tag{writing-mode:horizontal-tb;height:auto;border-left:0;border-top:2px solid var(--ed-accent);padding:10px 0 0}
  .ed-hero5 .edx-strip{grid-template-columns:1fr;margin-top:36px}
  .ed-hero5 .edx-strip>div{border-right:0;border-bottom:1px solid var(--ed-line);padding:18px 0}
  .ed-hero6 .edx-below{grid-template-columns:1fr;gap:24px;padding:32px 0 40px}
  .ed-hero6 .edx-acts{justify-content:flex-start}
  section.ed-hero7{grid-template-columns:1fr}
  .ed-hero7 .edx-left,.ed-hero7 .edx-right{padding:52px 34px}
  div.ed-list5{grid-template-columns:1fr 1fr}
  div.ed-list6{grid-template-columns:1fr}
  div.ed-list7{grid-template-columns:1fr 1fr}
  .ed-list4 .edx-line{grid-template-columns:1fr;gap:16px}
  .ed-list4 .edx-buy{text-align:left}
  .ed-news4 .edx-main{grid-template-columns:1fr}
  div.ed-news5{grid-template-columns:1fr}
  .ed-about{grid-template-columns:1fr;gap:30px}
  .ed-about-side{position:static}
  .ed-stores{grid-template-columns:1fr 1fr}
  .ed-stores3{grid-template-columns:1fr 1fr}
  .ed-stores3 .edx-scard:nth-child(2n){border-right:0}
  .ed-stores2 .edx-srow{grid-template-columns:78px 1fr;gap:14px}
  .ed-stores2 .edx-cnt{text-align:left}
  .ed-shop-hd{grid-template-columns:82px 1fr;gap:18px}
  .ed-shop-hd .edx-act{grid-column:1/-1}
  .ed-auth{grid-template-columns:1fr}
  .ed-auth-l{display:none}
  .ed-foot-grid{grid-template-columns:1fr 1fr;gap:28px}
  .ed-foot-grid>div:last-child{grid-column:auto}
  /* 资讯详情：两栏塌成单栏，侧栏跟到正文后面；压图版的内衬标题改为常规排布 */
  .ed-art1,.ed-art3-grid,.ed-art5-grid,.ed-art7-grid,.ed-art6-foot{grid-template-columns:1fr;gap:34px}
  .ed-art4{grid-template-columns:1fr;gap:34px}
  .ed-art4 .ed-artside{order:2}
  .ed-art-relgrid,.ed-art3 .ed-art-relgrid{grid-template-columns:1fr 1fr}
  .ed-art-heroin{margin:-46px 0 0;padding:24px 22px 0}
  .ed-art-dark{padding:34px 26px 30px}
  .ed-art7-no{font-size:42px}
  /* 商品详情：左右布局塌成单栏；G5 的粘性购买栏回到最前面 */
  .ed-gd-main,.ed-gd-cards,.ed-gd-side,.ed-gd-darkmain,.ed-gd-tri{grid-template-columns:1fr;gap:26px}
  .ed-gd-flip .ed-gd-gal{order:0}
  .ed-gd-aside{position:static;order:-1}
  .ed-gd-dark{padding:28px 22px 26px}
  .ed-gd-relgrid{grid-template-columns:1fr 1fr}
  .ed-gd-banner .ed-gd-gal img{aspect-ratio:16/9}
}
@media (max-width:640px){
  .ed-wrap{padding:0 18px}
  .ft-container{padding:0 18px}
  .ed-h1 .ed-nav,.ed-h2 .ed-nav,.ed-h3 .ed-nav,
  .ed-h4 .ed-nav,.ed-h5 .ed-nav,.ed-h6 .ed-nav,.ed-h7 .ed-nav{display:none}
  .ed-h5 .ed-head-in{padding-top:14px}
  .ed-h7 .ed-head-in{min-height:74px}
  .ed-cats{grid-template-columns:1fr}
  .ed-cat{border-right:0;border-bottom:1px solid var(--ed-line)}
  div.ed-list2{grid-template-columns:1fr}
  div.ed-list3{grid-template-columns:1fr}
  div.ed-list5{grid-template-columns:1fr}
  div.ed-list7{grid-template-columns:1fr}
  .ed-list6 .edx-hcard{grid-template-columns:1fr}
  .ed-news1 .edx-grid{grid-template-columns:1fr}
  div.ed-news2{grid-template-columns:1fr}
  .ed-news3 .edx-row{grid-template-columns:1fr;gap:8px}
  section.ed-hero1{min-height:440px}
  .ed-hero4 .edx-stats{grid-template-columns:1fr}
  .ed-hero4 .edx-stat{border-right:0;border-bottom:1px solid var(--ed-line)}
  .ed-hero6 .edx-cover{min-height:320px}
  .ed-flow{grid-template-columns:1fr}
  .ed-flow>div,.ed-flow--6>div,.ed-flow--6>div:nth-child(2n),
  .ed-flow--6>div:nth-child(3n){border-right:0}
  .ed-stores{grid-template-columns:1fr}
  .ed-stores3{grid-template-columns:1fr}
  .ed-stores3 .edx-scard,.ed-stores3 .edx-scard:nth-child(2n){border-right:0}
  .ed-shop-hd{grid-template-columns:1fr;text-align:center}
  .ed-shop-hd .edx-logo{margin:0 auto}
  .ed-shop-hd .edx-meta{justify-content:center}
  .ed-cta{padding:28px 22px}
  .ed-foot-grid{grid-template-columns:1fr}
  .ed-sec{padding:44px 0}
  .ed-art-relgrid,.ed-art2 .ed-art-relgrid,.ed-art3 .ed-art-relgrid{grid-template-columns:1fr}
  .ed-art7-hd{gap:14px}
  .ed-art7-no{font-size:34px}
  .ed-art7-body{padding-left:16px}
  .ed-art7-body .ed-art-cover,.ed-art7-body .ed-paywall{margin-left:-16px}
  .ed-art-pad{padding:22px 18px 24px}
  .ed-art-dark{padding:28px 18px 24px}
  .ed-art-heroin{margin:-28px 0 0;padding:18px 16px 0}
  .ed-paywall{padding:28px 16px 26px}
  .ed-gd-relgrid{grid-template-columns:1fr}
  .ed-gd-attrs>div{grid-template-columns:1fr;gap:2px}
  .ed-gd-table th{width:auto;display:block;border-bottom:0}
  .ed-gd-buy .ed-btn{flex:1 1 auto;text-align:center}
  .ed-gd-dark{padding:22px 16px 22px}
}

/* 头部购物车件数：模板里只写数字，括号用 CSS 补，这样 JS 直接改 textContent 就行。
   .ed-cart-n 只出现在 common_header 的购物车角标上，别处没有。 */
.ed-cart-n::before{content:"("}
.ed-cart-n::after{content:")"}

/* 注册页的协议勾选行。颜色跟 .edx-desc / .ed-auth-alt 保持一致，
   深色登录/注册变体（auth6 毛玻璃、auth7 深色右栏）单独提亮，否则会看不清。 */
.edx-agree{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin:16px 0 8px;font-size:13px;color:var(--ed-muted)}
.edx-agree input{width:15px;height:15px;margin:0;flex:none;accent-color:var(--ed-accent)}
.edx-agree label{margin:0;font-weight:400;cursor:pointer}
.edx-agree a{color:var(--ed-accent);font-weight:700}
.ed-auth6 .edx-agree,.ed-auth7 .edx-agree{color:rgba(255,255,255,.66)}
.ed-auth6 .edx-agree a,.ed-auth7 .edx-agree a{color:#fff}
