/* ============================================================
   瑞恒茶器 · 前台主题 E：杂志编辑式（Editorial）
   --ed-----------------------------------------------------------
   与 mall.css 完全独立的设计系统，class 前缀 ed-
   结构特征（与旧版无任何关系）：
     · 刊头式首屏（竖排刊名 + 出血大图 + 超大标题压边）
     · 关键词跑马灯
     · 真实双栏正文 + 首字下沉（刊首语）
     · 横向滚动产品带
     · 分类 = 编号目录（行式索引，非卡片网格）
     · 非对称专题跨版
     · 详情页 = 全出血图 + 文章式正文 + 数据栏 + 吸底购买条
   ============================================================ */

:root {
  --ed-paper: #ffffff;
  --ed-paper-2: #f4f3f0;
  --ed-paper-3: #ebe9e4;
  --ed-ink: #0a0a0a;
  --ed-ink-2: #3a3a3a;
  --ed-muted: #8d8d8d;
  --ed-rule: #dedede;
  --ed-rule-ink: #0a0a0a;
  --ed-accent: #d8402f;
  --ed-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --ed-sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ed-ease: cubic-bezier(.19, 1, .22, 1);
}

/* ---------- 版式原子 ---------- */
.ed-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.ed-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }

.ed-meta {
  font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--ed-muted); line-height: 1.6;
}
.ed-meta-ink { color: var(--ed-ink); }
.ed-num { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .2em; color: var(--ed-accent); }

.ed-display {
  font-size: clamp(46px, 10.5vw, 152px); line-height: .9; font-weight: 900;
  letter-spacing: -.03em; color: var(--ed-ink);
}
.ed-h2 {
  font-size: clamp(28px, 4.2vw, 56px); line-height: 1.06; font-weight: 800;
  letter-spacing: -.01em; color: var(--ed-ink);
}
.ed-h3 { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.25; font-weight: 700; color: var(--ed-ink); }

.ed-rule { height: 1px; background: var(--ed-rule); border: 0; }
.ed-rule-ink { height: 2px; background: var(--ed-rule-ink); border: 0; }

.ed-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 34px;
  font-family: var(--ed-sans); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--ed-ink); color: var(--ed-ink); background: transparent;
  transition: all .4s var(--ed-ease);
}
.ed-btn:hover { background: var(--ed-ink); color: #fff; }
.ed-btn-solid { background: var(--ed-ink); color: #fff; }
.ed-btn-solid:hover { background: var(--ed-accent); border-color: var(--ed-accent); }
.ed-btn-accent { background: var(--ed-accent); border-color: var(--ed-accent); color: #fff; }
.ed-btn-accent:hover { background: var(--ed-ink); border-color: var(--ed-ink); }
.ed-btn-block { width: 100%; justify-content: center; }

/* ---------- 固定页头占位：非封面 / 非详情首图的页面自动留白 ---------- */
body.ed-body main > :first-child:not(.ed-cover):not(.ed-pdp-hero) { padding-top: 132px; }

/* ---------- 页头 ---------- */
.ed-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  mix-blend-mode: difference; color: #fff;
}
.ed-head-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.ed-logo { display: flex; align-items: baseline; gap: 12px; color: inherit; }
.ed-logo b { font-size: 19px; letter-spacing: .22em; font-weight: 700; }
.ed-logo span { font-family: var(--ed-sans); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.ed-head-right { display: flex; align-items: center; gap: 34px; }
.ed-menu-btn {
  display: inline-flex; align-items: center; gap: 12px; color: inherit;
  font-family: var(--ed-sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
}
.ed-menu-btn i { display: block; width: 26px; height: 1px; background: currentColor; position: relative; }
.ed-menu-btn i::before, .ed-menu-btn i::after {
  content: ""; position: absolute; left: 0; width: 26px; height: 1px; background: currentColor;
}
.ed-menu-btn i::before { top: -7px; }
.ed-menu-btn i::after { top: 7px; }
.ed-cart-link { position: relative; color: inherit; font-family: var(--ed-sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.ed-cart-link svg { display: block; width: 22px; height: 22px; }
.ed-cart-count {
  position: absolute; top: -8px; right: -12px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--ed-accent); color: #fff; font-family: var(--ed-sans); font-size: 10px;
  line-height: 16px; text-align: center;
}
/* 首屏为深色大图时白字，滚动后仍靠 mix-blend-mode 自适应 */

/* ---------- 全屏遮罩菜单 ---------- */
.ed-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--ed-ink); color: #fff;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ed-ease);
  overflow-y: auto;
}
.ed-menu.on { clip-path: inset(0 0 0 0); }
.ed-menu-inner { min-height: 100%; display: flex; flex-direction: column; padding: 36px 48px 48px; }
.ed-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8vh; }
.ed-menu-close {
  color: #fff; font-family: var(--ed-sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.ed-menu-close i { display: block; width: 18px; height: 18px; position: relative; }
.ed-menu-close i::before, .ed-menu-close i::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 18px; height: 1px; background: #fff;
}
.ed-menu-close i::before { transform: rotate(45deg); }
.ed-menu-close i::after { transform: rotate(-45deg); }
.ed-menu-list { list-style: none; flex: 1; }
.ed-menu-list li { border-top: 1px solid rgba(255, 255, 255, .16); }
.ed-menu-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.ed-menu-list a {
  display: flex; align-items: baseline; gap: 26px; padding: 20px 0; color: #fff;
  transition: all .5s var(--ed-ease);
}
.ed-menu-list a:hover { padding-left: 18px; color: var(--ed-accent); }
.ed-menu-list .no { font-family: var(--ed-sans); font-size: 11px; letter-spacing: .2em; color: rgba(255, 255, 255, .45); }
.ed-menu-list .zh { font-size: clamp(30px, 5.4vw, 62px); font-weight: 800; line-height: 1.1; letter-spacing: .02em; }
.ed-menu-list .en { font-family: var(--ed-sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .4); margin-left: auto; }
.ed-menu-foot {
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  margin-top: 7vh; font-family: var(--ed-sans); font-size: 11px; letter-spacing: .16em; color: rgba(255, 255, 255, .55);
}
.ed-menu-foot b { display: block; color: #fff; font-weight: 400; margin-top: 6px; letter-spacing: .1em; }

/* ============================================================
   刊头式首屏
   ============================================================ */
.ed-cover { position: relative; min-height: 100vh; background: var(--ed-ink); overflow: hidden; display: flex; flex-direction: column; }
.ed-cover-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ed-cover-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .05) 38%, rgba(0, 0, 0, .72) 100%);
}
.ed-cover-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; padding: 108px 0 34px; }

.ed-cover-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; color: rgba(255, 255, 255, .8); }
.ed-cover-top .ed-meta { color: rgba(255, 255, 255, .75); }

.ed-cover-main { flex: 1; display: flex; align-items: flex-end; gap: 40px; }
.ed-masthead {
  writing-mode: vertical-rl; text-orientation: upright;
  font-size: clamp(30px, 3.6vw, 52px); font-weight: 900; letter-spacing: .22em;
  color: #fff; align-self: flex-end; padding-bottom: 6px;
}
.ed-cover-title { flex: 1; }
.ed-cover-title h1 {
  font-size: clamp(52px, 11vw, 168px); line-height: .88; font-weight: 900; letter-spacing: -.03em;
  color: #fff; margin-bottom: 22px;
}
.ed-cover-sub {
  display: flex; align-items: center; gap: 18px; color: rgba(255, 255, 255, .85);
  font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .16em;
}
.ed-cover-sub::before { content: ""; width: 54px; height: 1px; background: rgba(255, 255, 255, .8); flex: none; }

.ed-cover-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 22px; margin-top: 40px;
  color: rgba(255, 255, 255, .8); flex-wrap: wrap;
}
.ed-cover-foot .ed-meta { color: rgba(255, 255, 255, .7); }
.ed-cover-dots { display: flex; gap: 8px; }
.ed-cover-dots button { width: 34px; height: 2px; background: rgba(255, 255, 255, .3); }
.ed-cover-dots button.on { background: #fff; }
.ed-scroll-hint { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ed-sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; }
.ed-scroll-hint i { display: block; width: 1px; height: 26px; background: rgba(255, 255, 255, .6); animation: edDrop 1.8s infinite; }
@keyframes edDrop { 0% { transform: scaleY(.2); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(.2); transform-origin: bottom; } }

/* ---------- 关键词跑马灯 ---------- */
.ed-ticker { background: var(--ed-ink); color: #fff; overflow: hidden; padding: 16px 0; }
.ed-ticker-track { display: flex; gap: 46px; white-space: nowrap; animation: edMarquee 34s linear infinite; }
.ed-ticker-track span { font-size: 14px; letter-spacing: .3em; color: rgba(255, 255, 255, .78); display: inline-flex; align-items: center; gap: 46px; }
.ed-ticker-track span::after { content: "✦"; color: var(--ed-accent); font-size: 11px; }
@keyframes edMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   刊首语（双栏正文 + 首字下沉）
   ============================================================ */
.ed-note { padding: 110px 0 92px; }
.ed-note-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 46px; }
.ed-note-body { column-count: 2; column-gap: 64px; }
.ed-note-body p { font-size: 15.5px; line-height: 2.15; color: var(--ed-ink-2); margin-bottom: 20px; }
.ed-note-body p:first-child::first-letter {
  float: left; font-size: 74px; line-height: .82; font-weight: 900; color: var(--ed-ink);
  margin: 6px 14px 0 0;
}
.ed-note-aside {
  border-left: 2px solid var(--ed-accent); padding-left: 22px; margin-top: 34px;
  font-size: 14px; line-height: 2; color: var(--ed-ink);
}
.ed-note-aside i { display: block; margin-top: 12px; font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .2em; color: var(--ed-muted); text-transform: uppercase; font-style: normal; }

/* ============================================================
   横向滚动产品带
   ============================================================ */
.ed-rail-sec { padding: 0 0 110px; }
.ed-rail-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding-bottom: 20px; margin-bottom: 34px; border-bottom: 2px solid var(--ed-ink);
}
.ed-rail-nav { display: flex; gap: 10px; }
.ed-rail-nav button {
  width: 44px; height: 44px; border: 1px solid var(--ed-rule); color: var(--ed-ink);
  font-size: 16px; transition: all .3s var(--ed-ease);
}
.ed-rail-nav button:hover { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }
.ed-rail {
  display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-width: none;
}
.ed-rail::-webkit-scrollbar { display: none; }
.ed-rail-item { flex: 0 0 clamp(230px, 24vw, 340px); scroll-snap-align: start; }
.ed-rail-item .pic { position: relative; background: var(--ed-ink); overflow: hidden; }
.ed-rail-item .pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s var(--ed-ease); }
.ed-rail-item:hover .pic img { transform: scale(1.05); }
.ed-rail-item .no {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .2em; color: rgba(255, 255, 255, .85);
}
.ed-rail-item .add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: 46px; background: rgba(255, 255, 255, .95); color: var(--ed-ink);
  font-family: var(--ed-sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transform: translateY(100%); transition: all .45s var(--ed-ease);
}
.ed-rail-item:hover .add { opacity: 1; transform: translateY(0); }
.ed-rail-item .add:hover { background: var(--ed-accent); color: #fff; }
.ed-rail-item h3 { font-size: 17px; font-weight: 700; color: var(--ed-ink); margin: 16px 0 6px; letter-spacing: .02em; }
.ed-rail-item .spec { font-size: 12.5px; color: var(--ed-muted); margin-bottom: 10px; }
.ed-rail-item .price { font-size: 15px; color: var(--ed-ink); letter-spacing: .04em; }

/* ============================================================
   分类 = 编号目录
   ============================================================ */
.ed-index-sec { padding: 0 0 116px; }
.ed-index-head { margin-bottom: 40px; }
.ed-index-list { border-top: 2px solid var(--ed-ink); }
.ed-index-row {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 120px; gap: 26px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--ed-rule); transition: all .5s var(--ed-ease);
}
.ed-index-row:hover { background: var(--ed-paper-2); padding-left: 20px; }
.ed-index-row .no { font-family: var(--ed-sans); font-size: 11px; letter-spacing: .2em; color: var(--ed-accent); }
.ed-index-row .zh { font-size: clamp(24px, 3vw, 42px); font-weight: 800; color: var(--ed-ink); letter-spacing: .02em; line-height: 1.15; }
.ed-index-row .en { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--ed-muted); }
.ed-index-row .cnt { text-align: right; font-family: var(--ed-sans); font-size: 12px; letter-spacing: .16em; color: var(--ed-muted); }
.ed-index-row .cnt::after { content: " 款"; }

/* ============================================================
   非对称专题跨版
   ============================================================ */
.ed-feature { padding: 0 0 116px; }
.ed-feature-spread { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; align-items: end; }
.ed-feature-media { grid-column: 1 / 8; position: relative; background: var(--ed-ink); }
.ed-feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ed-feature-media .cap {
  position: absolute; left: -1px; bottom: -1px; background: var(--ed-paper); color: var(--ed-ink);
  font-family: var(--ed-sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 10px 16px;
}
.ed-feature-copy { grid-column: 9 / 13; padding-bottom: 8px; }
.ed-feature-copy .ed-h3 { margin: 18px 0 20px; }
.ed-feature-copy p { font-size: 14.5px; line-height: 2.1; color: var(--ed-ink-2); margin-bottom: 18px; }
.ed-feature-copy .ed-btn { margin-top: 14px; }

/* 像素级数据条 */
.ed-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ed-ink); margin-top: 96px; }
.ed-stat { padding: 26px 24px 30px 0; border-right: 1px solid var(--ed-rule); }
.ed-stat:last-child { border-right: 0; }
.ed-stat b { display: block; font-size: clamp(26px, 3vw, 40px); font-weight: 900; color: var(--ed-ink); letter-spacing: -.02em; }
.ed-stat span { display: block; margin-top: 8px; font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ed-muted); }

/* ============================================================
   页脚（刊物版权页）
   ============================================================ */
.ed-foot { background: var(--ed-ink); color: #fff; padding: 86px 0 34px; }
.ed-foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 46px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.ed-foot-brand b { display: block; font-size: 26px; font-weight: 900; letter-spacing: .2em; margin-bottom: 14px; }
.ed-foot-brand p { font-size: 13px; line-height: 2; color: rgba(255, 255, 255, .6); max-width: 320px; }
.ed-foot h4 { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 20px; }
.ed-foot a, .ed-foot .li { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .78); padding: 6px 0; }
.ed-foot a:hover { color: var(--ed-accent); }
.ed-foot-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 26px; font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255, 255, 255, .45);
}
.ed-foot-bottom a { display: inline; color: rgba(255, 255, 255, .45); }

/* ============================================================
   详情页
   ============================================================ */
.ed-pdp-hero { position: relative; min-height: 86vh; background: var(--ed-ink); overflow: hidden; display: flex; align-items: flex-end; }
.ed-pdp-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ed-pdp-hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .12) 34%, rgba(0, 0, 0, .62) 68%, rgba(0, 0, 0, .88) 100%); }
.ed-pdp-hero .inner { position: relative; z-index: 2; width: 100%; padding: 130px 0 44px; color: #fff; }
.ed-pdp-crumb { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .66); margin-bottom: 26px; }
.ed-pdp-crumb a { color: inherit; }
.ed-pdp-crumb a:hover { color: #fff; }
.ed-pdp-crumb span { margin: 0 10px; opacity: .5; }
.ed-pdp-name { font-size: clamp(38px, 7.4vw, 108px); line-height: .92; font-weight: 900; letter-spacing: -.03em; margin-bottom: 26px; color: #fff; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.ed-pdp-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 22px; flex-wrap: wrap; }
.ed-pdp-price { font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.01em; }
.ed-pdp-price del { font-size: 15px; color: rgba(255, 255, 255, .55); margin-left: 12px; font-weight: 400; }
.ed-pdp-tags { display: flex; gap: 22px; flex-wrap: wrap; }
.ed-pdp-tags .ed-meta { color: rgba(255, 255, 255, .75); }

.ed-pdp-body { padding: 96px 0 0; }
.ed-pdp-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; align-items: start; }
.ed-pdp-left { grid-column: 1 / 8; }
.ed-pdp-right { grid-column: 9 / 13; position: sticky; top: 120px; }

.ed-pdp-lead { font-size: clamp(19px, 2vw, 26px); line-height: 1.7; font-weight: 600; color: var(--ed-ink); margin-bottom: 34px; }
.ed-pdp-article { font-size: 15.5px; line-height: 2.2; color: var(--ed-ink-2); }
.ed-pdp-article p { margin-bottom: 20px; }
.ed-pdp-article .desc-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--ed-ink); margin: 34px 0; }

.ed-pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 52px 0 0; }
.ed-pdp-gallery .g-item { background: var(--ed-ink); overflow: hidden; }
.ed-pdp-gallery .g-item:first-child { grid-column: 1 / -1; }
.ed-pdp-gallery .g-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1s var(--ed-ease); }
.ed-pdp-gallery .g-item:hover img { transform: scale(1.04); }

.ed-pdp-spec { border-top: 2px solid var(--ed-ink); }
.ed-pdp-spec-row { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--ed-rule); }
.ed-pdp-spec-row dt { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ed-muted); padding-top: 4px; }
.ed-pdp-spec-row dd { font-size: 14.5px; color: var(--ed-ink); line-height: 1.75; }
.ed-pdp-buy { margin-top: 28px; }
.ed-pdp-qty { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--ed-ink); height: 52px; padding: 0 6px; margin-bottom: 12px; }
.ed-pdp-qty button { width: 44px; height: 40px; font-size: 17px; color: var(--ed-ink); }
.ed-pdp-qty input {
  flex: 1; text-align: center; border: 0; background: transparent; outline: none;
  font-family: var(--ed-sans); font-size: 14px; -moz-appearance: textfield;
}
.ed-pdp-qty input::-webkit-outer-spin-button, .ed-pdp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ed-pdp-stock { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ed-muted); margin-top: 14px; }
.ed-pdp-stock.out { color: var(--ed-accent); }
.ed-pdp-cert { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ed-rule); font-size: 13px; color: var(--ed-ink-2); }
.ed-pdp-cert .ed-meta { display: block; margin-bottom: 8px; }

/* 吸底购买条 */
.ed-buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--ed-ink);
  transform: translateY(100%); transition: transform .5s var(--ed-ease);
}
.ed-buybar.on { transform: translateY(0); }
.ed-buybar-inner { display: flex; align-items: center; gap: 26px; height: 74px; }
.ed-buybar .nm { flex: 1; min-width: 0; }
.ed-buybar .nm b { display: block; font-size: 15px; font-weight: 700; color: var(--ed-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-buybar .nm span { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ed-muted); }
.ed-buybar .pr { font-size: 21px; font-weight: 700; color: var(--ed-ink); white-space: nowrap; }
.ed-buybar .ed-btn { height: 46px; padding: 0 26px; }

/* 下一件 */
.ed-next { border-top: 2px solid var(--ed-ink); margin-top: 110px; }
.ed-next a { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 40px 0; }
.ed-next .lb { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ed-muted); margin-bottom: 14px; }
.ed-next .nm { font-size: clamp(26px, 4vw, 52px); font-weight: 900; color: var(--ed-ink); letter-spacing: -.02em; line-height: 1.1; }
.ed-next img { width: 132px; height: 132px; object-fit: cover; background: var(--ed-ink); }
.ed-next a:hover .nm { color: var(--ed-accent); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .ed-wrap { padding: 0 30px; }
  .ed-note-body { column-count: 1; }
  .ed-feature-media { grid-column: 1 / 13; }
  .ed-feature-copy { grid-column: 1 / 13; padding-top: 34px; }
  .ed-pdp-left { grid-column: 1 / 13; }
  .ed-pdp-right { grid-column: 1 / 13; position: static; margin-top: 44px; }
  .ed-foot-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .ed-wrap { padding: 0 18px; }
  body.ed-body main > :first-child:not(.ed-cover):not(.ed-pdp-hero) { padding-top: 96px; }
  .ed-head-inner { height: 64px; }
  .ed-logo b { font-size: 16px; }
  .ed-logo span { display: none; }
  .ed-head-right { gap: 20px; }
  .ed-menu-btn span { display: none; }
  .ed-menu-inner { padding: 24px 18px 30px; }
  .ed-menu-list .en { display: none; }
  .ed-menu-list a { padding: 16px 0; gap: 16px; }

  .ed-cover { min-height: 88vh; }
  .ed-cover-inner { padding: 84px 0 24px; }
  .ed-cover-main { flex-direction: column; align-items: flex-start; gap: 22px; }
  .ed-masthead { writing-mode: horizontal-tb; font-size: 20px; letter-spacing: .3em; padding: 0; }
  .ed-cover-title h1 { font-size: clamp(40px, 15vw, 68px); }
  .ed-cover-foot { margin-top: 26px; }
  .ed-scroll-hint { display: none; }

  .ed-note { padding: 66px 0 56px; }
  .ed-note-body p:first-child::first-letter { font-size: 54px; }

  .ed-rail-sec, .ed-index-sec, .ed-feature { padding-bottom: 66px; }
  .ed-rail-item { flex: 0 0 68vw; }
  .ed-rail-nav { display: none; }
  .ed-index-row { grid-template-columns: 42px 1fr auto; gap: 14px; padding: 18px 0; }
  .ed-index-row .en { display: none; }
  .ed-index-row .cnt { grid-column: 2 / 4; text-align: left; }
  .ed-stats { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .ed-stat { border-right: 0; border-bottom: 1px solid var(--ed-rule); padding: 20px 0; }

  .ed-pdp-hero { min-height: 74vh; }
  .ed-pdp-hero .inner { padding: 100px 0 26px; }
  .ed-pdp-meta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ed-pdp-body { padding-top: 56px; }
  .ed-pdp-gallery { grid-template-columns: 1fr; }
  .ed-pdp-gallery .g-item:first-child { grid-column: auto; }
  .ed-buybar-inner { height: 64px; gap: 14px; }
  .ed-buybar .nm { display: none; }
  .ed-buybar .pr { font-size: 18px; }
  .ed-buybar .ed-btn { flex: 1; padding: 0 14px; }
  .ed-next a { grid-template-columns: 1fr; }
  .ed-next img { width: 100%; height: 180px; }

  .ed-foot { padding: 56px 0 24px; }
  .ed-foot-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 38px; }
}

/* ============================================================
   内页组件
   ============================================================ */

/* ---------- 内页刊头 ---------- */
.ed-page { padding: 150px 0 0; }
.ed-page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  padding-bottom: 26px; border-bottom: 2px solid var(--ed-ink); flex-wrap: wrap;
}
.ed-page-title { font-size: clamp(34px, 5.6vw, 74px); line-height: .95; font-weight: 900; letter-spacing: -.02em; color: var(--ed-ink); }
.ed-page-title em {
  display: block; font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ed-muted); font-style: normal; margin-top: 14px;
}
.ed-crumbs {
  font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ed-muted); margin-bottom: 22px;
}
.ed-crumbs a { color: inherit; }
.ed-crumbs a:hover { color: var(--ed-ink); }
.ed-crumbs span { margin: 0 9px; opacity: .5; }
.ed-page-body { padding: 70px 0 0; }

/* ---------- 商品列表 ---------- */
.ed-filterbar {
  position: sticky; top: 84px; z-index: 60; background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--ed-rule);
}
.ed-filterbar-inner { display: flex; align-items: center; gap: 26px; min-height: 64px; flex-wrap: wrap; }
.ed-cats { display: flex; gap: 22px; flex-wrap: wrap; flex: 1; }
.ed-cat {
  font-size: 13.5px; letter-spacing: .06em; color: var(--ed-muted);
  padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.ed-cat:hover { color: var(--ed-ink); }
.ed-cat.on { color: var(--ed-ink); border-color: var(--ed-ink); font-weight: 700; }
.ed-cat i { font-family: var(--ed-sans); font-size: 9.5px; font-style: normal; margin-left: 5px; color: var(--ed-muted); }
.ed-search { display: flex; align-items: center; border-bottom: 1px solid var(--ed-rule); }
.ed-search input { width: 180px; height: 34px; border: 0; background: transparent; outline: none; font-size: 13px; }
.ed-search input::placeholder { color: #b9b9b9; }
.ed-search button { font-family: var(--ed-sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ed-muted); }
.ed-sorts { display: flex; gap: 18px; }
.ed-sorts a {
  font-family: var(--ed-sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ed-muted); padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.ed-sorts a:hover { color: var(--ed-ink); }
.ed-sorts a.on { color: var(--ed-ink); border-color: var(--ed-ink); }

.ed-products { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ed-ink); margin-top: 56px; }
.ed-pcard { position: relative; padding: 34px 30px 38px; border-bottom: 1px solid var(--ed-rule); border-right: 1px solid var(--ed-rule); }
.ed-pcard:nth-child(3n) { border-right: 0; }
.ed-pcard .pic { position: relative; display: block; background: var(--ed-ink); overflow: hidden; }
.ed-pcard .pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s var(--ed-ease); }
.ed-pcard:hover .pic img { transform: scale(1.04); }
.ed-pcard .no {
  position: absolute; top: 12px; left: 14px; z-index: 2;
  font-family: var(--ed-sans); font-size: 10px; letter-spacing: .2em; color: rgba(255, 255, 255, .85);
}
.ed-pcard .flag {
  position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--ed-accent); color: #fff;
  font-family: var(--ed-sans); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; padding: 3px 8px;
}
.ed-pcard .flag.out { background: rgba(10, 10, 10, .72); }
.ed-pcard .add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 44px;
  background: rgba(255, 255, 255, .95); color: var(--ed-ink);
  font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transform: translateY(100%); transition: all .45s var(--ed-ease);
}
.ed-pcard:hover .add { opacity: 1; transform: translateY(0); }
.ed-pcard .add:hover { background: var(--ed-accent); color: #fff; }
.ed-pcard h3 { font-size: 17px; font-weight: 700; margin: 18px 0 6px; line-height: 1.4; }
.ed-pcard h3 a { color: var(--ed-ink); }
.ed-pcard h3 a:hover { color: var(--ed-accent); }
.ed-pcard .spec { font-size: 12.5px; color: var(--ed-muted); margin-bottom: 12px; min-height: 20px; }
.ed-pcard .price { font-size: 15px; color: var(--ed-ink); letter-spacing: .03em; }
.ed-pcard .price del { font-size: 12px; color: #b5b5b5; margin-left: 8px; }

.ed-pager { display: flex; gap: 6px; justify-content: center; margin-top: 70px; }
.ed-pager a, .ed-pager span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ed-rule); font-family: var(--ed-sans); font-size: 12px; color: var(--ed-ink);
  transition: all .3s var(--ed-ease);
}
.ed-pager a:hover { border-color: var(--ed-ink); }
.ed-pager .on { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }

/* 分页（沿用 functions.php 的 pagination() 输出，仅换皮） */
body.ed-body .pagination { display: flex; gap: 6px; justify-content: center; margin-top: 70px; }
body.ed-body .pagination a, body.ed-body .pagination span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ed-rule); font-family: var(--ed-sans); font-size: 12px; color: var(--ed-ink);
  transition: all .3s var(--ed-ease);
}
body.ed-body .pagination a:hover { border-color: var(--ed-ink); }
body.ed-body .pagination .on { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }

/* ---------- 共用：按钮 / 状态 / 空态 / Toast 的编辑式覆盖 ---------- */
body.ed-body .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 32px; border: 1px solid var(--ed-ink); background: transparent;
  color: var(--ed-ink); font-family: var(--ed-sans); font-size: 11.5px; letter-spacing: .22em;
  text-transform: uppercase; transition: all .4s var(--ed-ease);
}
body.ed-body .btn:hover { background: var(--ed-ink); color: #fff; }
body.ed-body .btn-wood { background: var(--ed-ink); color: #fff; }
body.ed-body .btn-wood:hover { background: var(--ed-accent); border-color: var(--ed-accent); color: #fff; }
body.ed-body .btn-seal { background: var(--ed-accent); border-color: var(--ed-accent); color: #fff; }
body.ed-body .btn-seal:hover { background: var(--ed-ink); border-color: var(--ed-ink); }
body.ed-body .btn-ghost { border-color: var(--ed-rule); }
body.ed-body .btn-lg { width: 100%; }

body.ed-body .st {
  display: inline-block; padding: 4px 12px; border: 1px solid var(--ed-rule);
  font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .18em; color: var(--ed-muted);
  background: transparent;
}
body.ed-body .st-1 { border-color: #c9b98a; color: #8a6a2a; }
body.ed-body .st-2 { border-color: #7fa3c4; color: #2f6389; }
body.ed-body .st-3 { border-color: #8fbf9f; color: #2f6b45; }
body.ed-body .st-4 { border-color: var(--ed-rule); color: #b0b0b0; }

body.ed-body .empty-box { border: 1px solid var(--ed-rule); padding: 110px 20px; text-align: center; }
body.ed-body .empty-box p { font-size: 14.5px; color: var(--ed-ink-2); }
body.ed-body .empty-en {
  font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ed-muted); margin-bottom: 18px;
}
body.ed-body .empty-box .btn { margin-top: 28px; }

body.ed-body .toast {
  position: fixed; left: 50%; bottom: 44px; transform: translate(-50%, 14px); z-index: 300;
  background: var(--ed-ink); color: #fff; padding: 14px 32px;
  font-family: var(--ed-sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transition: all .35s var(--ed-ease);
}
body.ed-body .toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 数量步进器（详情页外的复用） */
body.ed-body .qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--ed-ink); height: 42px; }
body.ed-body .qty-stepper .qty-btn { width: 34px; height: 100%; font-size: 15px; color: var(--ed-ink); }
body.ed-body .qty-stepper .qty-btn:hover { color: var(--ed-accent); }
body.ed-body .qty-stepper input {
  width: 42px; height: 100%; border: 0; text-align: center; background: transparent; outline: none;
  font-family: var(--ed-sans); font-size: 13px; -moz-appearance: textfield;
}
body.ed-body .qty-stepper input::-webkit-outer-spin-button,
body.ed-body .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- 购物车（JS 渲染，CSS 结构化为编辑式清单） ---------- */
body.ed-body .cart-table, body.ed-body .cart-table tbody, body.ed-body .cart-table tr, body.ed-body .cart-table td { display: block; }
body.ed-body .cart-table thead { display: none; }
body.ed-body .cart-table tr {
  display: grid; grid-template-columns: minmax(0, 1fr) 120px 140px 130px 64px;
  align-items: center; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--ed-rule);
}
body.ed-body .cart-table td { padding: 0; border: 0; text-align: left !important; font-size: 14px; }
body.ed-body .cart-table td:nth-child(2), body.ed-body .cart-table td:nth-child(4) {
  font-family: var(--ed-sans); text-align: right !important;
}
body.ed-body .cart-table td:nth-child(4) { font-size: 17px; color: var(--ed-ink); }
body.ed-body .c-p { display: flex; align-items: center; gap: 20px; }
body.ed-body .c-p img { width: 88px; height: 88px; object-fit: cover; background: var(--ed-ink); flex: none; }
body.ed-body .c-p b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ed-ink); margin-bottom: 5px; }
body.ed-body .c-p span { font-size: 12.5px; color: var(--ed-muted); }
body.ed-body .row-invalid { opacity: .5; }
body.ed-body .cart-remove {
  font-family: var(--ed-sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ed-muted); border-bottom: 1px solid transparent;
}
body.ed-body .cart-remove:hover { color: var(--ed-accent); border-color: var(--ed-accent); }
body.ed-body .cart-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 46px; padding-top: 30px; border-top: 2px solid var(--ed-ink); flex-wrap: wrap;
}
body.ed-body .cart-foot-total { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ed-muted); }
body.ed-body .cart-foot-total b { font-family: var(--ed-serif); font-size: 34px; font-weight: 900; color: var(--ed-ink); margin-left: 14px; letter-spacing: -.01em; }
body.ed-body .cart-foot-total b i { font-size: 16px; font-style: normal; margin-right: 2px; }

/* ---------- 表单（编辑式） ---------- */
.ed-field { margin-bottom: 28px; }
.ed-field > label {
  display: block; font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ed-muted); margin-bottom: 10px;
}
.ed-field > label i { color: var(--ed-accent); font-style: normal; }
.ed-field input[type=text], .ed-field input[type=tel], .ed-field input[type=number], .ed-field select {
  width: 100%; height: 48px; border: 0; border-bottom: 1px solid var(--ed-rule);
  background: transparent; outline: none; font-size: 15px; color: var(--ed-ink);
  transition: border-color .3s var(--ed-ease);
}
.ed-field textarea {
  width: 100%; padding: 14px 0; border: 1px solid var(--ed-rule); background: transparent;
  outline: none; font-size: 14.5px; line-height: 1.9; resize: vertical;
}
.ed-field input:focus, .ed-field textarea:focus { border-color: var(--ed-ink); }
.ed-field input::placeholder, .ed-field textarea::placeholder { color: #bcbcbc; }
.ed-form-title {
  font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ed-ink); padding-bottom: 16px; margin-bottom: 32px; border-bottom: 2px solid var(--ed-ink);
}
.ed-tip { font-size: 13px; color: var(--ed-muted); line-height: 2; margin-bottom: 26px; }

.ed-radio {
  display: block; position: relative; cursor: pointer; padding: 18px 20px 18px 52px;
  border: 1px solid var(--ed-rule); margin-bottom: 10px; transition: border-color .3s var(--ed-ease);
}
.ed-radio input { position: absolute; left: 20px; top: 23px; accent-color: var(--ed-accent); }
.ed-radio b { display: block; font-size: 15.5px; color: var(--ed-ink); margin-bottom: 3px; }
.ed-radio span { font-size: 12.5px; color: var(--ed-muted); }
.ed-radio:has(input:checked) { border-color: var(--ed-ink); }

/* ---------- 结算 / 收银台 / 联系：两栏 ---------- */
.ed-split { display: grid; grid-template-columns: 1.22fr 1fr; gap: 72px; align-items: start; }
.ed-panel { background: var(--ed-paper-2); border: 1px solid var(--ed-rule); padding: 34px 32px; }
.ed-panel.sticky { position: sticky; top: 96px; }
body.ed-body .co-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ed-rule); }
body.ed-body .co-item:last-of-type { border-bottom: 0; }
body.ed-body .co-item img { width: 64px; height: 64px; object-fit: cover; background: var(--ed-ink); }
body.ed-body .co-item b { font-size: 14px; font-weight: 700; color: var(--ed-ink); }
body.ed-body .co-item span { font-family: var(--ed-sans); font-size: 12px; color: var(--ed-muted); white-space: nowrap; }
.ed-total-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 22px; padding-top: 20px; border-top: 2px solid var(--ed-ink);
  font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ed-muted);
}
.ed-total-row b { font-family: var(--ed-serif); font-size: 30px; font-weight: 900; color: var(--ed-ink); letter-spacing: -.01em; }
.ed-total-row b em { font-size: 15px; font-style: normal; }

body.ed-body .pay-method {
  display: block; width: 100%; text-align: left; padding: 24px 26px; margin-bottom: 12px;
  border: 1px solid var(--ed-rule); background: transparent; transition: all .35s var(--ed-ease);
}
body.ed-body .pay-method:hover { border-color: var(--ed-ink); background: var(--ed-paper-2); }
body.ed-body .pay-method b { display: block; font-size: 17px; font-weight: 700; color: var(--ed-ink); margin-bottom: 4px; }
body.ed-body .pay-method span { font-size: 12.5px; color: var(--ed-muted); }
body.ed-body .pay-tip { font-size: 13px; color: var(--ed-muted); line-height: 2; margin-top: 8px; }
body.ed-body .pay-actions { margin: 22px 0; }
body.ed-body .pay-qr { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
body.ed-body .pay-qr-link { font-size: 12.5px; color: var(--ed-accent); word-break: break-all; border-bottom: 1px solid var(--ed-rule); }
body.ed-body .pay-polling { display: flex; align-items: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
body.ed-body .pay-polling p { width: 100%; font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ed-muted); margin-top: 10px; }
body.ed-body .pay-dot { width: 6px; height: 6px; background: var(--ed-accent); border-radius: 50%; animation: edDot 1.2s infinite; }
body.ed-body .pay-dot:nth-child(2) { animation-delay: .18s; }
body.ed-body .pay-dot:nth-child(3) { animation-delay: .36s; }
@keyframes edDot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
body.ed-body .pay-switch { margin-top: 26px; font-size: 13px; }
body.ed-body .pay-switch a { color: var(--ed-muted); border-bottom: 1px solid var(--ed-rule); padding-bottom: 2px; }
body.ed-body .pay-switch a:hover { color: var(--ed-ink); }
body.ed-body .pay-line { font-size: 13.5px; color: var(--ed-ink-2); padding: 8px 0; }
body.ed-body .pay-amount { font-size: 26px; font-weight: 900; color: var(--ed-ink); letter-spacing: -.01em; }

/* ---------- 结果页 ---------- */
.ed-result { text-align: center; padding: 40px 0 0; }
.ed-result-mark { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ed-accent); }
.ed-result-title { font-size: clamp(34px, 5.6vw, 74px); font-weight: 900; letter-spacing: -.02em; margin: 22px 0 16px; color: var(--ed-ink); }
.ed-result-sub { font-family: var(--ed-sans); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ed-muted); margin-bottom: 46px; }
.ed-result-info { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--ed-rule); border-bottom: 1px solid var(--ed-rule); padding: 26px 0; }
.ed-result-info p { font-size: 14px; color: var(--ed-ink-2); padding: 6px 0; }
.ed-result-info b { color: var(--ed-ink); }
.ed-result-note { max-width: 640px; margin: 30px auto 40px; font-size: 13.5px; color: var(--ed-muted); line-height: 2; }
.ed-result-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 查单 ---------- */
.ed-track-grid { display: grid; grid-template-columns: 380px 1fr; gap: 70px; align-items: start; }
.ed-steps { display: flex; align-items: center; margin: 46px 0 34px; }
.ed-step {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--ed-sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ed-muted); white-space: nowrap;
}
.ed-step i { width: 10px; height: 10px; border: 1px solid var(--ed-rule); border-radius: 50%; }
.ed-step.on { color: var(--ed-ink); }
.ed-step.on i { background: var(--ed-accent); border-color: var(--ed-accent); }
.ed-step-line { flex: 1; height: 1px; background: var(--ed-rule); margin: 0 12px 24px; }
.ed-step-line.on { background: var(--ed-ink); }
.ed-card { border: 1px solid var(--ed-rule); }
.ed-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--ed-rule); background: var(--ed-paper-2); }
.ed-card-head b { font-family: var(--ed-sans); font-size: 14px; letter-spacing: .14em; color: var(--ed-ink); font-weight: 600; }
.ed-card-info { padding: 22px 26px; }
.ed-card-info p { font-size: 13.5px; color: var(--ed-ink-2); padding: 4px 0; }
.ed-card-info b { color: var(--ed-ink); }
.ed-card-info .danger { color: var(--ed-accent); }
.ed-items { width: 100%; border-collapse: collapse; }
.ed-items td { padding: 14px 26px; border-top: 1px solid var(--ed-rule); font-size: 13.5px; }
.ed-items .t-img { width: 100px; padding-right: 0; }
.ed-items img { width: 62px; height: 62px; object-fit: cover; background: var(--ed-ink); }
.ed-items td:nth-child(3), .ed-items td:nth-child(4) { text-align: right; font-family: var(--ed-sans); white-space: nowrap; }
.ed-shipping { margin-top: 34px; border-top: 2px solid var(--ed-ink); padding-top: 28px; }
.ed-shipping h3 { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ed-ink); margin-bottom: 26px; }
.ed-track-none { border: 1px solid var(--ed-rule); padding: 60px 30px; text-align: center; }
.ed-track-none p { font-size: 14px; color: var(--ed-muted); padding: 5px 0; }
.ed-track-none b { color: var(--ed-ink); }

/* 物流时间线 */
body.ed-body .track-timeline .tt-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
body.ed-body .tt-nu { font-family: var(--ed-sans); font-size: 11px; letter-spacing: .12em; color: var(--ed-muted); }
body.ed-body .tt-list { position: relative; padding-left: 22px; }
body.ed-body .tt-list::before { content: ""; position: absolute; left: 3px; top: 6px; bottom: 6px; width: 1px; background: var(--ed-rule); }
body.ed-body .tt-item { position: relative; padding-bottom: 22px; }
body.ed-body .tt-item::before { content: ""; position: absolute; left: -22px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--ed-rule); }
body.ed-body .tt-item.latest::before { background: var(--ed-accent); }
body.ed-body .tt-context { font-size: 14.5px; color: var(--ed-ink-2); line-height: 1.9; }
body.ed-body .tt-item.latest .tt-context { color: var(--ed-ink); font-weight: 600; }
body.ed-body .tt-time { font-family: var(--ed-sans); font-size: 11px; letter-spacing: .08em; color: var(--ed-muted); margin-top: 5px; }
body.ed-body .tt-empty { font-size: 13.5px; color: var(--ed-muted); }

/* ---------- 文章页（品牌故事） ---------- */
.ed-article { max-width: 880px; }
.ed-article h2 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.01em; margin: 60px 0 20px; color: var(--ed-ink); }
.ed-article p { font-size: 15.5px; line-height: 2.2; color: var(--ed-ink-2); margin-bottom: 18px; }
.ed-article .lead { font-size: clamp(18px, 1.9vw, 24px); line-height: 1.75; font-weight: 600; color: var(--ed-ink); margin-bottom: 34px; }
.ed-article .drop::first-letter { float: left; font-size: 72px; line-height: .8; font-weight: 900; color: var(--ed-ink); margin: 6px 14px 0 0; }
.ed-quote { margin: 52px 0; padding: 26px 0 26px 30px; border-left: 3px solid var(--ed-accent); font-size: 19px; line-height: 2; color: var(--ed-ink); }
.ed-quote i { display: block; margin-top: 14px; font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ed-muted); font-style: normal; }
.ed-figure { margin: 52px 0; }
.ed-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ed-ink); }
.ed-figure figcaption { margin-top: 12px; font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ed-muted); }
.ed-tips { border-top: 2px solid var(--ed-ink); margin-top: 36px; }
.ed-tiprow { display: grid; grid-template-columns: 56px 170px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--ed-rule); align-items: baseline; }
.ed-tiprow .no { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .2em; color: var(--ed-accent); }
.ed-tiprow b { font-size: 17px; font-weight: 700; color: var(--ed-ink); }
.ed-tiprow p { font-size: 14px; line-height: 2; color: var(--ed-ink-2); }

/* ---------- 联系我们 ---------- */
.ed-contact-map img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ed-ink); }
.ed-contact-list { border-top: 2px solid var(--ed-ink); }
.ed-contact-row { display: grid; grid-template-columns: 118px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--ed-rule); }
.ed-contact-row dt { font-family: var(--ed-sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ed-muted); }
.ed-contact-row dd { font-size: 15px; color: var(--ed-ink); line-height: 1.9; }

/* ---------- 404 ---------- */
.ed-404 { text-align: center; padding: 60px 0 0; }
.ed-404 .code { font-size: clamp(88px, 19vw, 250px); font-weight: 900; line-height: .85; letter-spacing: -.04em; color: var(--ed-ink); }
.ed-404 p { font-size: 15px; color: var(--ed-muted); margin: 26px 0 36px; }

/* ============================================================
   内页响应式
   ============================================================ */
@media (max-width: 1080px) {
  .ed-products { grid-template-columns: repeat(2, 1fr); }
  .ed-pcard:nth-child(3n) { border-right: 1px solid var(--ed-rule); }
  .ed-pcard:nth-child(2n) { border-right: 0; }
  .ed-split, .ed-track-grid { grid-template-columns: 1fr; gap: 50px; }
  .ed-panel.sticky { position: static; }
  body.ed-body .cart-table tr { grid-template-columns: minmax(0, 1fr) 100px 130px 110px 56px; gap: 14px; }
}

@media (max-width: 760px) {
  .ed-page { padding: 106px 0 0; }
  .ed-page-body { padding: 44px 0 0; }
  .ed-page-title { font-size: clamp(30px, 10vw, 46px); }
  .ed-filterbar { top: 64px; }
  .ed-filterbar-inner { min-height: 0; padding: 12px 0; gap: 14px; }
  .ed-cats { gap: 16px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .ed-search input { width: 130px; }
  .ed-sorts { overflow-x: auto; }
  .ed-products { grid-template-columns: 1fr; margin-top: 34px; }
  .ed-pcard { padding: 24px 0 28px; border-right: 0 !important; }
  .ed-pcard .add { opacity: 1; transform: none; height: 40px; }
  .ed-pages .ed-products { border-top-width: 1px; }

  body.ed-body .cart-table tr { grid-template-columns: 1fr auto; gap: 10px 14px; padding: 20px 0; }
  body.ed-body .cart-table td:nth-child(1) { grid-column: 1 / -1; }
  body.ed-body .cart-table td:nth-child(2) { text-align: left !important; }
  body.ed-body .cart-table td:nth-child(4) { text-align: right !important; }
  body.ed-body .cart-table td:nth-child(5) { text-align: right !important; }
  body.ed-body .c-p img { width: 70px; height: 70px; }
  body.ed-body .cart-foot { flex-direction: column; align-items: stretch; }
  body.ed-body .cart-foot .btn { width: 100%; }
  body.ed-body .cart-foot-total { text-align: right; }
  body.ed-body .cart-foot-total b { font-size: 28px; }

  .ed-step { font-size: 9px; }
  .ed-step-line { margin: 0 6px 22px; }
  .ed-card-info, .ed-items td { padding-left: 18px; padding-right: 18px; }
  .ed-tiprow { grid-template-columns: 40px 1fr; gap: 12px; }
  .ed-tiprow p { grid-column: 2 / 3; }
  .ed-contact-row { grid-template-columns: 1fr; gap: 6px; }
  .ed-result-title { font-size: clamp(28px, 9vw, 44px); }
  .ed-result-actions .btn { width: 100%; }
}
