/* ==========================================================================
   厦门宏拉数字科技有限公司 · 官网样式
   - 纯静态、无外部依赖（无 CDN / 无外部字体），保证内网与弱网可用
   - 结构：变量 → 基础 → 通用组件 → 各区块 → 响应式
   ========================================================================== */

:root {
  --brand: #1257f0;
  --brand-dark: #0b3bb0;
  --brand-soft: #eaf0ff;
  --accent: #00c8b4;
  --ink: #0a1a2f;
  --ink-2: #1d3350;
  --muted: #5c6d84;
  --line: #e4eaf3;
  --bg: #ffffff;
  --bg-alt: #f6f9fd;
  --dark: #0b1f38;
  --dark-2: #102a48;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(13, 38, 76, .06);
  --shadow: 0 14px 40px rgba(13, 38, 76, .10);
  --shadow-lg: 0 26px 70px rgba(9, 30, 62, .16);
  --header-h: 74px;
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.28; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #2f7bff 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(18, 87, 240, .28);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 32px rgba(18, 87, 240, .36); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); }
.btn-block { width: 100%; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(13, 38, 76, .07);
}
.header-inner { display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--ink); }
.brand:hover { color: var(--ink); }
/* 品牌标沿用宏拉官网同一枚 logo（HHZ + 宏拉科技股份 + HONGLA TECHNOLOGY GROUP） */
.brand-logo { display: block; height: 32px; width: auto; }
/* 极窄屏（≤430）只留 HHZ 徽标，避免顶栏被 logo 挤爆 */
.brand-mark-mobile { display: none; height: 24px; width: auto; }
.brand-name {
  font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--ink);
  white-space: nowrap; padding-left: 12px; border-left: 1px solid var(--line);
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 13px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a.is-active { color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* 后台管理入口：右上角，视觉上区别于普通导航 */
.btn-admin {
  padding: 10px 18px; font-size: 14px;
  background: var(--dark); color: #fff;
  box-shadow: 0 8px 20px rgba(11, 31, 56, .22);
}
.btn-admin:hover { color: #fff; background: #123152; box-shadow: 0 12px 26px rgba(11, 31, 56, .3); }
.btn-admin svg { color: var(--accent); }
/* 窄屏只留短标签，避免把"进入后台管理"挤成图标看不出来是干什么的 */
.admin-label-short { display: none; }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 88px;
  background:
    radial-gradient(1000px 520px at 82% 8%, rgba(18, 87, 240, .16), transparent 62%),
    radial-gradient(760px 420px at 6% 92%, rgba(0, 200, 180, .14), transparent 60%),
    linear-gradient(160deg, #071731 0%, #0b2140 46%, #0a1c33 100%);
  color: #dce7f7;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(760px 460px at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 460px at 50% 40%, #000 30%, transparent 78%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  color: #7fd7ff; text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 200, 180, .18);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(30px, 4.1vw, 52px); font-weight: 700;
  color: #fff; letter-spacing: -.02em; margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #6fd0ff 0%, #45f0d8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 16.5px; color: #b9cbe4; max-width: 56ch; margin-bottom: 30px; }
.hero .lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .13);
}
.hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.hero-facts b { color: #fff; font-size: 15px; font-weight: 600; }
.hero-facts span { font-size: 12.5px; color: #8ba4c4; }

/* 首屏右侧：网关 + 终端节点示意 */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%;
  margin-left: auto;
  display: grid; place-items: center;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(18, 87, 240, .30), transparent 68%);
  filter: blur(6px);
}
.hub {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px 26px; border-radius: 22px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
}
.hub img { border-radius: 0; max-width: 100%; height: auto; }
/* 说明：这里曾是 border-radius:14px（给方形小徽标写的）。换成通栏字标后，
   14px 圆角已经超过图高的一半，会把左右两端的字切掉（现场就是"logo 显示不全"）。*/
.hub span { font-size: 12.5px; color: #cfe0f5; letter-spacing: .06em; }

.pulse {
  position: absolute; border-radius: 50%; border: 1px solid rgba(111, 208, 255, .35);
  inset: 0;
  animation: pulse 5.6s ease-out infinite;
}
.pulse-1 { animation-delay: 0s; }
.pulse-2 { animation-delay: 1.8s; }
.pulse-3 { animation-delay: 3.6s; }
@keyframes pulse {
  0% { transform: scale(.42); opacity: 0; }
  22% { opacity: .85; }
  100% { transform: scale(1); opacity: 0; }
}

.node {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 12.5px; color: #d7e6fa;
  background: rgba(12, 32, 58, .82);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
  animation: float 6s ease-in-out infinite;
}
.node i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.node-tl { top: 4%;  left: 2%;   animation-delay: .2s; }
.node-tr { top: 12%; right: 0;   animation-delay: 1.1s; }
.node-ml { top: 44%; left: -4%;  animation-delay: .7s; }
.node-br { bottom: 16%; right: 2%; animation-delay: 1.6s; }
.node-bl { bottom: 6%; left: 6%; animation-delay: 2.1s; }
.node-bm { bottom: 34%; right: -2%; animation-delay: 2.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-tag {
  display: inline-block; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 5px 12px; border-radius: 999px;
}
.section-head h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; margin-bottom: 16px; }
.section-desc { color: var(--muted); font-size: 16px; margin: 0; }
.section-head.light h2 { color: #fff; }
.section-head.light .section-desc { color: #a8bcd8; }
.section-head.light .section-tag { color: #7fd7ff; background: rgba(127, 215, 255, .12); }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; gap: 22px; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0ff; }

.biz-icon {
  width: 46px; height: 46px; margin-bottom: 18px;
  display: grid; place-items: center;
  border-radius: 12px; color: var(--brand);
  background: linear-gradient(140deg, #eef4ff, #e4f7f4);
  border: 1px solid #dbe8ff;
}
.biz-icon svg { width: 23px; height: 23px; }
.biz-card h3 { font-size: 18px; margin-bottom: 10px; }
.biz-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }

.ticks { display: flex; flex-direction: column; gap: 7px; }
.ticks li {
  position: relative; padding-left: 20px;
  font-size: 13.5px; color: var(--ink-2);
}
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent); transform: rotate(45deg); opacity: .9;
}

/* ---------- 产品卡片 ---------- */
.product-card { position: relative; padding-top: 30px; }
.product-tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
  color: var(--brand); background: var(--brand-soft);
  padding: 3px 10px; border-radius: 999px;
}
.product-card h3 { font-size: 19px; }
.product-card h3 span { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.product-card > p { font-size: 14.5px; color: var(--muted); }
.product-meta { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; }
.product-meta > div { display: grid; grid-template-columns: 62px 1fr; gap: 10px; font-size: 13.5px; }
.product-meta dt { color: #8a99ad; }
.product-meta dd { margin: 0; color: var(--ink-2); }

/* 可点击的产品卡片（目前只有电子价签：整卡进入详情页）
   display:block 让 <a> 撑满网格单元；颜色规则重置掉全局 a { color: var(--brand) }，
   否则标题和正文会整段变蓝。 */
.product-link { display: flex; flex-direction: column; color: inherit; }
.product-link:hover { color: inherit; }
.product-link h3 { transition: color .2s ease; }
.product-link:hover h3 { color: var(--brand); }
.product-link .product-meta { margin-bottom: 0; }
.product-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--brand);
}
.product-more svg { transition: transform .2s ease; }
.product-link:hover .product-more svg { transform: translateX(4px); }
.product-link:focus-visible { outline: 3px solid rgba(18, 87, 240, .35); outline-offset: 2px; }

.also-strip {
  margin-top: 32px; padding: 22px 26px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  background: #fff; border: 1px dashed #c8d8f2; border-radius: var(--radius);
}
.also-strip > span { font-size: 14px; color: var(--muted); }
.also-strip ul { display: flex; flex-wrap: wrap; gap: 8px; }
.also-strip li {
  font-size: 13px; color: var(--ink-2);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px;
}

/* ---------- 解决方案 ---------- */
.solutions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.solution {
  position: relative; overflow: hidden;
  padding: 32px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0ff; }
.solution-num {
  position: absolute; right: 22px; top: 10px;
  font-size: 60px; font-weight: 800; line-height: 1;
  color: #eef3fb; letter-spacing: -.04em; user-select: none;
}
.solution h3 { position: relative; font-size: 20px; margin-bottom: 10px; }
.solution p { position: relative; font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.solution .ticks { position: relative; }

/* ---------- 技术平台（深色） ---------- */
.section-dark {
  background:
    radial-gradient(900px 460px at 88% 0%, rgba(18, 87, 240, .26), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(0, 200, 180, .16), transparent 60%),
    linear-gradient(180deg, #081a30, #0b2140);
  color: #d5e2f3;
}
.arch {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border-radius: 20px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .1);
}
.arch-layer {
  display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}
.arch-label {
  font-size: 14px; font-weight: 600; color: #fff;
  padding-left: 10px; border-left: 3px solid var(--accent);
}
.arch-items { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-items span {
  font-size: 12.5px; color: #c3d6ef;
  background: rgba(18, 87, 240, .22);
  border: 1px solid rgba(111, 160, 255, .28);
  padding: 4px 11px; border-radius: 999px;
}
.arch-bottom {
  margin-top: 4px; padding: 12px;
  text-align: center; font-size: 12.5px; letter-spacing: .05em;
  color: #8fa9c9; border-radius: 10px;
  background: repeating-linear-gradient(90deg, rgba(0, 200, 180, .12) 0 10px, transparent 10px 20px);
  border: 1px dashed rgba(0, 200, 180, .35);
}

.advantage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.advantage { padding: 22px 20px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.advantage h3 { font-size: 15.5px; color: #fff; margin-bottom: 8px; }
.advantage p { font-size: 13.5px; color: #a6bcd8; margin: 0; }

/* ---------- 关于我们 ---------- */
.about-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 54px; align-items: start; }
.about-copy h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; }
.about-copy p { color: var(--muted); }
.about-points { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.about-points li { display: flex; flex-direction: column; }
.about-points b { font-size: 15px; color: var(--brand); }
.about-points span { font-size: 13px; color: var(--muted); }

.about-card {
  padding: 30px 26px; border-radius: var(--radius);
  background: linear-gradient(170deg, #f8fbff, #eef4fd);
  border: 1px solid #dde8f8; box-shadow: var(--shadow-sm);
}
.about-card h3 { font-size: 16px; margin-bottom: 16px; }
.info-list { display: flex; flex-direction: column; gap: 13px; }
.info-list > div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; font-size: 13.5px; }
.info-list dt { color: #8a99ad; }
.info-list dd { margin: 0; color: var(--ink-2); }

/* ---------- 联系 / CTA ---------- */
.section-cta {
  background:
    radial-gradient(760px 400px at 12% 0%, rgba(18, 87, 240, .34), transparent 60%),
    radial-gradient(620px 360px at 96% 100%, rgba(0, 200, 180, .22), transparent 60%),
    linear-gradient(150deg, #071731, #0c2342);
  color: #cfdff2;
}
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 48px; align-items: center; }
.cta-copy h2 { color: #fff; font-size: clamp(23px, 2.5vw, 32px); margin-bottom: 14px; }
.cta-copy > p { color: #a6bcd8; max-width: 52ch; }
.section-tag.light { color: #7fd7ff; background: rgba(127, 215, 255, .12); }

.contact-list { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-list b { display: block; font-size: 12.5px; color: #8ba4c4; font-weight: 500; }
.contact-list a, .contact-list span { font-size: 15px; color: #e6eefb; }
.contact-list a:hover { color: #7fd7ff; }

.cta-panel {
  padding: 30px 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}
.cta-panel h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.cta-panel p { font-size: 13.5px; color: #a6bcd8; }
.cta-note { font-size: 12px !important; color: #7e97b8 !important; margin: 14px 0 0 !important; }

/* ---------- 页脚 ---------- */
.site-footer { background: #061326; color: #8ba4c4; padding: 46px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .footer-logo { display: block; height: 34px; width: auto; }
.footer-brand strong { display: block; color: #e8f0fb; font-size: 15px; }
.footer-brand span { font-size: 12.5px; color: #7e97b8; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nav a { font-size: 13.5px; color: #9fb5d1; }
.footer-nav a:hover { color: #fff; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12.5px; color: #6d86a6;
}

/* ---------- 进入视口动效 ----------
   隐藏态挂在 .js-reveal（由 site.js 加到 <html>）下：脚本没生效时内容照常可见，
   这是"动效可以没有、内容不能没有"的降级底线。 */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .pulse, .node, .eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
/* 顶栏 logo 变宽后，1280 以下只留 logo，把公司全称收起来，保证导航不换行 */
@media (max-width: 1280px) {
  .brand-name { display: none; }
  .brand-logo { height: 32px; }
}

@media (max-width: 1080px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { gap: 36px; }
  .about-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 20px; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(13, 38, 76, .12);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 15px; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: flex; }
  .admin-label { display: none; }
  .admin-label-short { display: inline; }
  .btn-admin { padding: 9px 14px; font-size: 13.5px; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 8px auto 0; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .cols-3, .solutions { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 38px; }
  .arch-layer { grid-template-columns: 1fr; gap: 10px; }
  .arch-label { padding-left: 0; border-left: 0; border-left: 3px solid var(--accent); padding-left: 10px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .cols-4 { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .brand-name { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-logo { height: 26px; }
  .footer-brand .footer-logo { height: 28px; }
  .arch { padding: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* 手机小屏：顶栏用徽标，省出导航与后台入口的空间 */
@media (max-width: 430px) {
  .brand-logo { display: none; }
  .brand-mark-mobile { display: block; }
  .header-inner { gap: 12px; }
}

/* ==========================================================================
   产品详情页（esl/index.html）
   只给详情页用，独立在后面追加，不改上面任何一条既有规则。
   ========================================================================== */

/* 面包屑：详情页里替代首页的锚点导航位置。
   注意：面包屑位于深色首屏（.hero）上，颜色必须用浅色 ——
   原先 .breadcrumb b 用了浅色主题的 var(--ink-2)（深蓝），在深色背景上几乎看不见。 */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #a8bcd8; }
.breadcrumb a { color: #a8bcd8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #6d86a6; }
.breadcrumb b { color: #e6eefb; font-weight: 600; }

/* 详情页首屏：比首页首屏矮一些 */
.detail-hero { padding: calc(var(--header-h) + 84px) 0 104px; }
.detail-hero .eyebrow { margin-bottom: 18px; }
.detail-hero h1 { font-size: clamp(28px, 3.6vw, 44px); }
.detail-hero .lead { max-width: 58ch; }

/* 首屏右侧：一块墨水屏价签的等比还原（296×128 横版，画面版式同现场模版） */
.tag-stage {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 4 / 3; width: 100%; max-width: 460px; margin-left: auto;
}
.tag-stage::before {
  content: ""; position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(18, 87, 240, .34), transparent 68%);
  filter: blur(8px);
}
.tag-device {
  position: relative; z-index: 2; width: 100%;
  aspect-ratio: 296 / 128;
  padding: 14px; border-radius: 14px;
  background: linear-gradient(160deg, #f4f6f8, #dfe4ea);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45), inset 0 1px 0 #fff;
}
.tag-screen {
  width: 100%; height: 100%;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px;
  padding: 12px; border-radius: 6px;
  background: #eef0ee; color: #101010;
  box-shadow: inset 0 0 0 1px #cfd3d0;
  font-variant-numeric: tabular-nums;
}
/* （原首屏价签示意的 .ts-* 样式已移除：电子价签与仓储标签首屏各自改用 .esl-tag-* / .wms-tag-*） */
/* 网关连到价签：一条示意信号 */
.tag-signal {
  position: absolute; z-index: 1; left: 6%; top: 8%;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  font-size: 12px; color: #d7e6fa;
  background: rgba(12, 32, 58, .85); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}
.tag-signal i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* 规格表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 168px; color: #6f7f94; font-weight: 500; background: #fafcff; }
.spec-table td { color: var(--ink-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }

/* 尺寸选择 */
.size-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.size-card {
  padding: 20px 18px; border-radius: var(--radius-sm); text-align: center;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}
.size-card:hover { transform: translateY(-3px); border-color: #cfe0ff; }
.size-swatch {
  margin: 0 auto 14px; background: #eef0ee; border: 2px solid #2a3442; border-radius: 3px;
  box-shadow: 0 6px 16px rgba(13, 38, 76, .12);
}
.size-card b { display: block; font-size: 16px; color: var(--ink); }
.size-card span { font-size: 12.5px; color: var(--muted); }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.flow-step {
  position: relative; padding: 24px 20px; height: 100%; box-sizing: border-box;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.flow-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-block; margin-bottom: 10px;
  font-size: 22px; font-weight: 800; line-height: 1; color: var(--brand);
}
.flow-step h3 { font-size: 15.5px; margin-bottom: 6px; }
.flow-step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* 卖点 */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value {
  padding: 26px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.value .biz-icon { margin-bottom: 14px; }
.value h3 { font-size: 17px; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--muted); margin: 0; }

/* 常见问题 */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink); font-size: 15px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* 相关产品 */
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related {
  padding: 22px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: inherit; transition: transform .2s ease, border-color .2s ease;
}
.related:hover { color: inherit; transform: translateY(-3px); border-color: #cfe0ff; }
.related h3 { font-size: 16px; margin-bottom: 6px; }
.related p { font-size: 13.5px; color: var(--muted); margin: 0; }

@media (max-width: 1024px) {
  .detail-hero { padding-top: calc(var(--header-h) + 52px); padding-bottom: 72px; }
  .tag-stage { max-width: 400px; margin: 12px auto 0; }
  .size-grid, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid, .related-grid { grid-template-columns: 1fr; }
  .breadcrumb { display: none; }
}

@media (max-width: 560px) {
  .size-grid, .flow { grid-template-columns: 1fr; }
  .spec-table th { width: 104px; padding: 11px 12px; }
  .spec-table td { padding: 11px 12px; }
  .tag-device { padding: 9px; border-radius: 10px; }
  .tag-screen { padding: 8px; gap: 6px; }
  .tag-signal { font-size: 10.5px; padding: 5px 10px; }
}

/* ==========================================================================
   电子价签详情页 · 交互演示 + 5 年续航区块
   原则：屏幕区域只用纯黑纯白（真实墨水屏是 1bit），灰度只用在设备外壳与背景上，
   这样演示出来的版式与屏上效果一致，不会让人误以为墨水屏能显示彩色/渐变。
   ========================================================================== */

.esl-demo { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 36px; align-items: start; }

/* ---------- 设备外壳 + 屏幕 ---------- */
.esl-screen-side { position: sticky; top: calc(var(--header-h) + 20px); }
.esl-device {
  padding: 16px 16px 0; border-radius: 16px;
  background: linear-gradient(160deg, #f7f8fa, #dfe3e9);
  border: 1px solid #cfd6df;
  box-shadow: 0 20px 46px rgba(13, 38, 76, .16), inset 0 1px 0 #fff;
}
.esl-canvas-area { display: grid; place-items: center; min-height: 200px; }
.esl-stage { width: 100%; display: flex; align-items: center; justify-content: center; }
/* 缩放后的画布不再占用原尺寸布局空间：外层 .esl-fit 只占缩放后的实际大小，
   否则 640px 宽的 7.5″ 画布会把设备外壳撑出去（transform 不改变布局尺寸）。 */
.esl-fit { position: relative; flex-shrink: 0; }
/* 默认尺寸写进 CSS：脚本没跑（被禁用/报错）时屏幕仍按 2.9″ 正常显示，不会塌成一小块。
   脚本启动后会覆盖 width/height 与 data-size。 */
.esl-canvas {
  position: absolute; left: 50%; top: 50%; transform-origin: center center; background: #fff;
  width: 296px; height: 128px; transform: translate(-50%, -50%);
  /* 屏上字号一律用容器查询单位（cqw/cqh）随屏幕尺寸伸缩。
     之前是固定 em：2.13″（212×104）比 2.9″ 小一半，但字号一样大，
     于是促销价"16.90"在右缘被切、"扫码溯源"整行被压没。 */
  container-type: size;
  container-name: esl-screen;
}
.esl-fit { width: 296px; height: 128px; }
.esl-stage { height: 128px; }
.esl-screen {
  width: 100%; height: 100%; overflow: hidden;
  background: #fff; color: #000;
  border: 2px solid #1b1b1b; border-radius: 2px;
  font-variant-numeric: tabular-nums;
}
.esl-device-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 14px; padding: 10px 2px; border-top: 1px solid #cfd6df;
  font-size: 12.5px; color: #56616f;
}
.esl-status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 10px; border-radius: 999px;
  background: #eef1f5; color: #46505c; font-weight: 600;
}
.esl-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9aa6b5; }
.esl-status[data-kind="sending"]::before { background: #f0a12b; animation: blink 1s ease-in-out infinite; }
.esl-status[data-kind="done"]::before { background: #12a36b; }
.esl-status[data-kind="scheduled"]::before { background: var(--brand); }
.esl-clock { font-variant-numeric: tabular-nums; color: #46505c; font-weight: 600; }
.esl-clock::before { content: "⏱ "; opacity: .6; }

/* 下发时屏幕闪一下，表示"刷新" */
.is-pushing .esl-screen { animation: eslFlash .5s ease-in-out 2; }
@keyframes eslFlash { 0%, 100% { filter: none; } 50% { filter: invert(1); } }

/* 屏幕尺寸按钮 */
.esl-sizes { margin-top: 18px; }
.esl-sizes-label { display: block; font-size: 12.5px; color: #6f7f94; margin-bottom: 8px; }
.esl-size-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.esl-chip {
  padding: 7px 16px; border-radius: 999px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; font-family: inherit;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  transition: all .16s ease;
}
.esl-chip:hover { border-color: #b9cdf2; color: var(--brand); }
.esl-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 屏上版式（纯黑白） ----------
   四套版式共用一套结构语言：头部 / 分隔线 / 主体 / 页脚，黑块只用来承载重点数字。
   字号体系：.scr 上用 cqh 定一个基准字号（随屏幕高度缩放），内部一律写 em，
   这样 2.13″～7.5″ 各尺寸下比例一致，不会出现"小屏字太大溢出、大屏字太小发空"。
   旧内核兜底：先写 13px，再写 cqh（不认 cqh 的浏览器整条失效，退回 13px）。 */
.scr {
  width: 100%; height: 100%;
  padding: 5% 5.5%;
  display: flex; flex-direction: column;
  font-size: 13px;
  font-size: 9.4cqh;
  line-height: 1.22;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
}
/* 大屏（4.2″/7.5″）比例更方，内边距按宽算会偏大，单独收一点 */
.esl-canvas[data-size="420"] .scr,
.esl-canvas[data-size="750"] .scr { padding: 4.2% 4.6%; }
/* 4.2″/7.5″ 的画布比 2.9″ 更"方"（宽只多 35~115%，高却多 135~200%），
   单位这类长串按高度缩放会偏大，单独收一档 */
.esl-canvas[data-size="420"] .scr-unit,
.esl-canvas[data-size="750"] .scr-unit { font-size: .55em; }

/* 通用零件 */
.scr-rule { height: 1px; background: #101010; flex-shrink: 0; }
.scr-body { display: flex; flex: 1; min-height: 0; gap: .6em; }
.scr-l { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .28em; }
.scr-r {
  flex: 0 0 37%; min-width: 0; border-radius: .5em;
  background: #101010; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .1em; padding: .5em .35em; text-align: center;
}
.scr-name {
  font-size: 1.15em; font-weight: 700; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.scr-cap { font-size: .8em; line-height: 1.2; color: #3a3a3a; }
.scr-cap2 { font-size: .78em; line-height: 1.2; }
.scr-unit { font-size: .62em; font-weight: 600; color: #3a3a3a; }
.scr-unit2 { font-size: .6em; font-weight: 600; color: #d8d8d8; }
.scr-banner {
  margin-top: .4em; padding: .28em .4em; flex-shrink: 0;
  background: #101010; color: #fff; border-radius: .3em;
  font-size: .85em; font-weight: 700; text-align: center;
  letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* --- 促销价版 --- */
/* 「原价」单独一行，价格与单位第二行：一行塞不下"原价 20.00 元/500g"，
   拆两行后 4.2″/7.5″ 也不会把单位挤出画面 */
.scr-promo .scr-l { gap: .2em; }
.scr-price-row {
  display: flex; align-items: baseline; gap: .22em; min-width: 0;
  white-space: nowrap; overflow: hidden;
}
/* 单位是最后才让位的：先缩字号，实在放不下再省略，绝不让价格被挤 */
.scr-price-row > * { flex-shrink: 0; }
.scr-price-row .scr-unit { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.scr-price {
  font-size: 1.7em; font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
}
.scr-big {
  font-size: 2em; font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
  white-space: nowrap;
}
.scr-badge {
  padding: 0 .5em; border-radius: 999px; background: #fff; color: #101010;
  font-size: .66em; font-weight: 700; line-height: 1.7; white-space: nowrap;
}

/* --- 大字号版：上规则 → 超大价格 → 下规则，上下都留信息（不留空洞） --- */
.scr-bigprice { justify-content: space-between; }
.scr-bigprice .scr-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: .5em;
  flex-shrink: 0; min-width: 0;
}
.scr-bigprice .scr-name { font-size: 1.05em; }
.scr-tag {
  flex-shrink: 0; padding: 0 .45em; border-radius: .2em;
  background: #101010; color: #fff; font-size: .62em; font-weight: 700; line-height: 1.7;
  white-space: nowrap;
}
/* 中间区：垂直+水平居中放价格；价格与单位用内层行做基线对齐 */
.scr-bigprice .scr-mid {
  display: flex; align-items: center; justify-content: center;
  flex: 1; min-height: 0; overflow: hidden;
}
.scr-mid-line { display: flex; align-items: baseline; gap: .22em; min-width: 0; }
.scr-xl {
  font-size: 2.9em; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  white-space: nowrap;
}
.scr-bigprice .scr-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: .5em;
  flex-shrink: 0; font-size: .72em; color: #3a3a3a; white-space: nowrap; overflow: hidden;
}

/* --- 产地认证版：左键值行 + 右黑块单价 + 底部标语条 --- */
.scr-cert .scr-l { gap: .24em; }
.scr-cert .scr-name { margin-bottom: .1em; }
.scr-kv {
  display: flex; align-items: baseline; gap: .45em; min-width: 0;
  font-size: .72em; line-height: 1.25; white-space: nowrap;
}
.scr-kv > span { flex-shrink: 0; color: #6a6a6a; }
.scr-kv > b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }

/* --- 品牌说明版：品牌区 + 规则线 + 商品与价格 --- */
/* 品牌说明版：品牌区 → 规则 → 商品与卖点 → 规则 → 价格，三段铺满不留空洞 */
.scr-info { justify-content: flex-start; gap: .3em; }
.scr-info .scr-rule { margin: .1em 0; }
.scr-info-mid {
  flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center;
  gap: .16em; overflow: hidden;
}
.scr-info-sub {
  font-size: .66em; color: #4a4a4a; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.scr-orig { font-size: .72em; color: #3a3a3a; white-space: nowrap; overflow: hidden; }
.scr-brand { display: flex; align-items: center; gap: .5em; min-width: 0; }
.scr-logo {
  flex-shrink: 0; padding: .1em .38em; border-radius: .16em;
  background: #101010; color: #fff;
  font-size: 1.05em; font-weight: 800; letter-spacing: -.01em; line-height: 1.5;
}
.scr-brand-txt { min-width: 0; display: flex; flex-direction: column; gap: .05em; }
.scr-brand-name { font-size: .95em; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.scr-tagline {
  font-size: .64em; color: #4a4a4a; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.scr-foot-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: .5em;
  min-width: 0;
}
.scr-foot-row .scr-name { font-size: .92em; min-width: 0; flex-shrink: 1; }
.scr-price-sm {
  flex-shrink: 0; font-size: 1.5em; font-weight: 800; white-space: nowrap;
  letter-spacing: -.02em;
}
.scr-price-sm small { font-size: .5em; font-weight: 600; margin-left: .1em; }

/* --- 2.13″（212×104）空间最紧：再收一档，保证不溢出 --- */
.esl-canvas[data-size="213"] .scr { padding: 4.2% 4.6%; gap: 0; }
.esl-canvas[data-size="213"] .scr-name { font-size: 1.05em; }
.esl-canvas[data-size="213"] .scr-price { font-size: 1.55em; }
.esl-canvas[data-size="213"] .scr-big { font-size: 1.8em; }
.esl-canvas[data-size="213"] .scr-xl { font-size: 2.5em; }
.esl-canvas[data-size="213"] .scr-banner { font-size: .78em; }
.esl-canvas[data-size="213"] .scr-kv { font-size: .66em; }
.esl-canvas[data-size="213"] .scr-tagline { font-size: .6em; }
.esl-canvas[data-size="213"] .scr-info-sub { font-size: .6em; }

/* ---------- 右侧操作面板 ---------- */
.esl-panel { display: flex; flex-direction: column; gap: 20px; }
.esl-block {
  padding: 20px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.esl-block-title { font-size: 15px; margin-bottom: 6px; }
.esl-block-desc { font-size: 13px; color: var(--muted); margin: 0 0 14px; }

.esl-style-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.esl-style {
  display: flex; flex-direction: column; gap: 3px; text-align: left; cursor: pointer;
  padding: 10px; border-radius: 12px; font-family: inherit;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: all .16s ease;
}
.esl-style:hover { border-color: #b9cdf2; }
.esl-style[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(18, 87, 240, .16); background: #fbfdff; }
.esl-style b { font-size: 13.5px; }
.esl-style small { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
/* 缩略图：用真实版式的"骨架"示意（黑白块 = 屏上的文字/色块），让人一眼认出是哪种版式。
   兼容性说明（360 浏览器 / QQ 浏览器兼容模式等旧内核实测踩过坑）：
   - 不用 <b>/<i> 当装饰块（它们的默认样式在旧内核里会被继承成粗体/斜体，甚至不渲染）
   - 不用 CSS 变量、不用 calc、不用 gap 描述缩略图内部布局
   - 子元素统一用 span + position:absolute + 固定 px 偏移，这样老内核也能画出来
   - 高度用固定 px（不用百分比），避免父级高度在旧内核里算不出来 */
.esl-style-thumb {
  display: block; height: 46px; margin-bottom: 6px;
  border-radius: 4px; background: #fff; border: 1.5px solid #1b1b1b; overflow: hidden;
  position: relative;
}
.esl-style-thumb .th { display: block; position: relative; width: 100%; height: 46px; }
.esl-style-thumb .th > span {
  position: absolute; display: block; background: #111; font-size: 0; line-height: 0;
}

/* 促销价版：左半原价、右半黑块（用百分比，卡片变窄也不会溢出） */
.th-promo .t-l1 { left: 7%; top: 24%; width: 46%; height: 5px; }
.th-promo .t-l2 { left: 7%; top: 46%; width: 26%; height: 3px; background: #8c8c8c; }
.th-promo .t-l3 { left: 7%; top: 61%; width: 38%; height: 9px; }
.th-promo .t-p1 { right: 0; top: 0; width: 42%; height: 100%; background: #111; }
.th-promo .t-p2 { right: 9%; top: 42%; width: 22%; height: 8px; background: #fff; }

/* 大字号版：上一条名称、中间超大价格 */
.th-price .t-t { left: 30%; top: 22%; width: 40%; height: 4px; }
.th-price .t-n { left: 22%; top: 45%; width: 56%; height: 15px; }

/* 产地认证版：标题 + 右上标签 + 分隔线 + 底部一行 */
.th-cert .t-t { left: 7%; top: 17%; width: 40%; height: 5px; }
.th-cert .t-badge { right: 7%; top: 15%; width: 24%; height: 12px; background: #111; }
.th-cert .t-r { left: 7%; right: 7%; top: 50%; width: auto; height: 1px; background: #b0b0b0; }
.th-cert .t-r2 { left: 7%; bottom: 17%; width: 66%; height: 3px; background: #8c8c8c; }

/* 品牌说明版：方形 logo + 标语 + 底部一行 */
.th-info .t-logo { left: 7%; top: 17%; width: 20%; height: 14px; background: #111; }
.th-info .t-t { left: 32%; top: 25%; width: 34%; height: 5px; }
.th-info .t-r { left: 7%; right: 7%; bottom: 22%; width: auto; height: 1px; background: #b0b0b0; }

.esl-good-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.esl-chip-plain { font-weight: 500; }

.esl-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.esl-mode-btn {
  cursor: pointer; text-align: left; font-family: inherit;
  padding: 11px 14px; border-radius: 10px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); transition: all .16s ease;
}
.esl-mode-btn:hover { border-color: #b9cdf2; }
.esl-mode-btn[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.esl-mode-btn b { display: block; font-size: 14px; }
.esl-mode-btn small { font-size: 12px; color: var(--muted); }

.esl-modebox { display: none; }
.esl-modebox[data-on="1"] { display: block; }
.esl-modebox .btn-block { font-family: inherit; }
.esl-modebox .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.esl-timeline { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.esl-tl-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.esl-tl-row b {
  font-variant-numeric: tabular-nums; padding: 2px 9px; border-radius: 6px;
  background: var(--bg-alt); border: 1px solid var(--line); font-size: 12.5px;
}
.esl-fire { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.btn-ghost-dark {
  font-family: inherit; font-size: 13px; padding: 9px 14px;
  color: var(--brand); background: #fff; border: 1px solid #c8d8f2;
}
.btn-ghost-dark:hover { background: var(--brand-soft); }
.btn-ghost-dark:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.esl-linkbtn {
  font-family: inherit; font-size: 13px; cursor: pointer; padding: 0;
  background: none; border: 0; color: var(--muted); text-decoration: underline;
}
.esl-linkbtn:hover { color: var(--brand); }
.esl-linkbtn:disabled { opacity: .4; cursor: not-allowed; }

/* 提示语：说明"点哪里、会发生什么"。其中的 <b> 是按钮名，需要和正文区分开，
   否则读者仍不知道该点哪个按钮。 */
.esl-hint { font-size: 12px; color: #8a99ad; margin: 10px 0 0; line-height: 1.75; }
.esl-hint b {
  color: var(--brand); font-weight: 600;
  background: var(--brand-soft); padding: 1px 6px; border-radius: 5px; white-space: nowrap;
}

.esl-stores { display: flex; flex-direction: column; gap: 6px; }
.esl-stores label {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 9px 12px; border-radius: 10px; font-size: 13.5px;
  background: #fff; border: 1px solid var(--line);
}
.esl-stores label:hover { border-color: #b9cdf2; }
.esl-stores input { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; flex-shrink: 0; }
.esl-store-name { flex: 1; color: var(--ink); }
.esl-store-tags { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.esl-sum { margin: 12px 0 0; font-size: 12.5px; color: var(--brand); font-weight: 600; }

.esl-task {
  padding: 14px 18px; border-radius: 12px;
  background: var(--bg-alt); border: 1px dashed #c8d8f2;
  font-size: 13px; color: var(--ink-2);
}
.esl-task[data-on="1"] { background: #f2f6ff; border-style: solid; border-color: #b9cdf2; }
.task-line + .task-line { margin-top: 4px; }
.task-meta { font-size: 12.5px; color: var(--muted); }
.task-empty { color: #8a99ad; }

.esl-log-wrap { font-size: 12.5px; }
.esl-log-title { display: block; color: #8a99ad; margin-bottom: 6px; }
.esl-log { display: flex; flex-direction: column; gap: 4px; }
.esl-log li {
  padding-left: 14px; position: relative; color: var(--muted); line-height: 1.5;
  animation: eslFade .35s ease;
}
.esl-log li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
@keyframes eslFade { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

/* ---------- 5 年续航区块 ---------- */
/* 5 年续航区块：6 张同宽卡片排成 3 列 × 2 行，正好铺满，不留空格。
   （之前是"1 张大卡跨两行 + 3 张卡"，2×2 里永远空一格 —— 现场截图那一格空白。
     现在统一 6 张等宽卡，加一张同尺寸卡片也不会再出现空位。） */
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.life-card {
  padding: 24px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.life-card .biz-icon { margin-bottom: 12px; }
.life-card p:last-child { margin-bottom: 0; }
/* 第一张（5 年续航）保留强调底色与大字，但尺寸和其它卡一致 */
.life-main {
  background:
    radial-gradient(420px 240px at 90% 0%, rgba(18, 87, 240, .10), transparent 65%),
    linear-gradient(170deg, #f8fbff, #eef4fd);
  border-color: #dde8f8;
}
.life-big {
  font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: var(--brand); margin-bottom: 4px;
}
.life-big span { font-size: 24px; margin-left: 4px; }
.life-main .ticks { margin-top: auto; padding-top: 10px; }

@media (max-width: 1080px) {
  .esl-demo { grid-template-columns: 1fr; gap: 28px; }
  .esl-screen-side { position: static; }
  /* 平板两列：6 张卡两两成对，正好 3 行，不留空格 */
  .life-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .esl-style-list { grid-template-columns: 1fr; }
  .esl-mode { grid-template-columns: 1fr; }
  .esl-fire .btn { flex: 1 1 100%; }
  .life-grid { grid-template-columns: 1fr; }
  .life-big { font-size: 48px; }
}

/* ==========================================================================
   360 浏览器 / 旧内核兼容兜底
   360 有两种模式：极速模式（内核可能停在很老的 Chromium，不支持 flex gap /
   aspect-ratio / 容器查询 cqw）和兼容模式（IE 内核，基本不渲染这套布局）。
   这里用"能支持就支持、不支持也不散架"的写法兜底，主样式在前，兜底只补间距。
   注意：用 @supports not 检测，支持的浏览器不会受影响。
   ========================================================================== */

/* 不支持 flex gap 的老内核：用 margin 补出同样的间距 */
@supports not (gap: 1px) {
  .esl-panel > * + * { margin-top: 20px; }
  .esl-style-list > * { margin: 0 10px 10px 0; }
  .esl-good-btns > * + * { margin-left: 8px; }
  .esl-size-btns > * + * { margin-left: 8px; }
  .esl-stores > * + * { margin-top: 6px; }
  .esl-log > * + * { margin-top: 4px; }
  .esl-fire > * + * { margin-left: 8px; }
  .esl-mode > * + * { margin-left: 8px; }
  .esl-timeline > * + * { margin-top: 6px; }
  .life-grid > * { margin: 0 10px 10px 0; }
  .value-grid > * { margin: 0 10px 10px 0; }
  .card-grid > * { margin: 0 11px 11px 0; }
}

/* 不支持 aspect-ratio 的老内核：给价签舞台一个固定高度，避免塌陷 */
@supports not (aspect-ratio: 1 / 1) {
  .tag-stage { height: 340px; }
  .tag-device { max-height: 200px; }
  .esl-canvas-area { min-height: 200px; }
}

/* 不支持容器查询（cqw/cqh）的老内核：.scr 的 font-size 会退回兜底的 13px，
   内部全是 em，所以整体等比缩小一档即可，不用逐个元素改字号 */
@supports not (font-size: 1cqh) {
  .scr { font-size: 12px; }
  .scr-big { font-size: 1.8em; }
  .scr-xl { font-size: 2.6em; }
}

/* ==========================================================================
   IE 内核兜底（360/QQ/搜狗的"兼容模式"）
   本站在 <head> 里用 <meta name="renderer" content="webkit"> 强制极速内核，
   正常情况下 IE 分支不会被执行。但双核浏览器偶尔仍会按网址库切到 IE，
   那时 Grid / flex-gap / 容器查询全部不支持，页面会散架。
   这里给 IE（含 IE11）单独一套"可读优先"的简化版：
   把多列网格退化成单列块，去掉定位与动画，保证文字和价格仍然看得清。
   注意：@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)
   只有 IE10/11 会命中，现代浏览器完全不受影响。
   ========================================================================== */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  /* --- 通用：网格退化为块级流，卡片纵向排列 --- */
  .esl-demo,
  .life-grid,
  .value-grid,
  .related-grid,
  .card-grid,
  .solutions,
  .flow,
  .size-grid,
  .hero-inner,
  .about-inner,
  .cta-inner {
    display: block;
  }
  .esl-demo > *,
  .life-grid > *,
  .value-grid > *,
  .related-grid > *,
  .card-grid > *,
  .solutions > *,
  .flow > *,
  .size-grid > * {
    margin-bottom: 16px;
  }

  /* --- 演示区：左右分栏改为上下堆叠 --- */
  .esl-screen-side { position: static; }
  .esl-panel { display: block; }
  .esl-block { margin-bottom: 16px; }

  /* --- 屏幕区域：给死尺寸，避免 aspect-ratio / 容器查询缺失导致塌陷 --- */
  .tag-stage { display: block; height: 260px; }
  .tag-device { width: 92%; margin: 0 auto; }
  .esl-canvas-area { height: 150px; }
  .esl-stage { height: 128px; }
  .esl-fit { display: block; width: 296px; height: 128px; margin: 0 auto; }
  .esl-canvas {
    position: static; width: 296px; height: 128px; transform: none;
    margin: 0 auto;
  }

  /* --- 屏幕内部版式：IE 不支持 cqh，用固定基准字号 + em 内部比例 --- */
  .scr { display: block; font-size: 12px; }
  .scr-body { display: block; }
  .scr-l, .scr-r { display: block; width: 100%; }
  .scr-r { margin-top: 6px; padding: 6px; }
  .scr-rule { margin: 4px 0; }
  .scr-cap-row, .scr-kv, .scr-foot-row, .scr-top, .scr-bottom { display: block; }
  .scr-kv > span { display: inline-block; width: 34%; }
  .scr-kv > b { display: inline-block; }
  .scr-mid { display: block; text-align: center; }
  .scr-banner { white-space: normal; }

  /* --- 缩略图：IE 不支持自定义属性没关系，但需要 border-box --- */
  .esl-style-thumb,
  .esl-style-thumb .th { height: 46px; }
  .esl-style-thumb .th > span { display: block; }

  /* --- 交互控件：flex 退化为行内块 --- */
  .esl-style-list { display: block; }
  .esl-style-list { display: block; }
  .esl-style { display: block; width: 48%; float: left; margin: 0 2px 10px 0; box-sizing: border-box; }
  .esl-style-list:after,
  .esl-mode:after,
  .esl-demo:after,
  .life-grid:after { content: ""; display: block; clear: both; }
  .esl-size-btns,
  .esl-good-btns,
  .esl-fire { display: block; }
  .esl-chip, .btn { display: inline-block; margin: 0 8px 8px 0; }
  .esl-mode { display: block; }
  .esl-mode-btn { display: block; width: 48%; float: left; margin: 0 2px 10px 0; box-sizing: border-box; }
  .esl-stores label { display: block; }
  .esl-status { display: inline-block; }
  .esl-device-foot { display: block; }

  /* --- 5 年区块：去掉背景渐变与阴影（IE 下渲染很慢） --- */
  .life-main, .section-dark, .section-cta { background: #f2f6fc; }
  .life-big { font-size: 40px; }
  .hero-visual { display: none; }
  .pulse, .node, .tag-signal { display: none; }
}

/* ---------- 合作流程 / 成交保障 ---------- */
.assure-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px; margin-top: 20px; align-items: stretch;
}
.assure {
  padding: 22px 20px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.assure-icon {
  width: 40px; height: 40px; margin-bottom: 12px;
  display: grid; place-items: center; border-radius: 10px;
  color: var(--brand); background: linear-gradient(140deg, #eef4ff, #e4f7f4);
  border: 1px solid #dbe8ff;
}
.assure-icon svg { width: 21px; height: 21px; }
.assure h3 { font-size: 15.5px; margin-bottom: 6px; }
.assure p { font-size: 13.5px; color: var(--muted); margin: 0; }

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

/* ---------- 安装部署（三步 + 四保障） ---------- */
.install-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; align-items: stretch; margin-bottom: 20px;
}
.install-step {
  position: relative; padding: 28px 24px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.install-num {
  position: absolute; top: 18px; right: 22px;
  font-size: 40px; font-weight: 800; line-height: 1;
  color: #eef3fb; letter-spacing: -.04em; user-select: none;
}
.install-step h3 { font-size: 17px; margin-bottom: 8px; }
.install-step p { font-size: 14px; color: var(--muted); margin: 0; }

@media (max-width: 1080px) {
  .install-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   仓储标签详情页 · 找货演示
   左边是货位标签（会亮灯），右边是后台操作面板。
   亮灯只用黑白 + 一圈光晕表示，不引入真实灯具颜色，避免看起来像彩色墨水屏。
   ========================================================================== */
.wms-demo { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 30px; align-items: start; }

/* ---------- 左：货位标签 ---------- */
.wms-bins-side {
  /* 右侧面板有 4 个操作块、比左边长；这里保持普通流式布局，
     不 sticky（sticky 时滚动到下半段会在左侧留出一大片空白）。 */
  padding: 20px; border-radius: var(--radius);
  background: linear-gradient(170deg, #f8fbff, #eef4fd);
  border: 1px solid #dde8f8; box-shadow: var(--shadow-sm);
}
.wms-bins-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wms-panel-title { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.wms-status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #46505c; background: #e6ecf5;
}
.wms-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9aa6b5; }
.wms-status[data-kind="done"]::before { background: #12a36b; }
.wms-status[data-kind="on"]::before { background: #f0a12b; animation: blink 1s ease-in-out infinite; }

.wms-bins { display: flex; flex-direction: column; gap: 14px; }
.wms-bin {
  position: relative; padding: 14px; border-radius: 14px;
  background: #e8edf4; border: 1px solid #d3dbe6;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
/* 亮灯：外圈光晕 + 顶部指示灯点亮，表示这块屏正在提示位置 */
.wms-bin.is-lit {
  background: #fff4d9;
  border-color: #f0a12b;
  box-shadow: 0 0 0 4px rgba(240, 161, 43, .25), 0 10px 26px rgba(240, 161, 43, .3);
  animation: wmsGlow 1.4s ease-in-out infinite;
}
@keyframes wmsGlow { 0%, 100% { box-shadow: 0 0 0 4px rgba(240, 161, 43, .22), 0 10px 26px rgba(240, 161, 43, .24); } 50% { box-shadow: 0 0 0 8px rgba(240, 161, 43, .12), 0 12px 30px rgba(240, 161, 43, .34); } }
.wms-bin-light {
  position: absolute; top: 8px; right: 10px; width: 8px; height: 8px; border-radius: 50%;
  background: #c3ccd8;
}
.wms-bin.is-lit .wms-bin-light { background: #f0a12b; box-shadow: 0 0 10px #f0a12b; }

/* 货位上的墨水屏：纯黑白（与真实 1bit 屏一致） */
.wms-bin-screen {
  background: #fff; color: #000; border: 2px solid #1b1b1b; border-radius: 3px;
  padding: 10px 12px; font-variant-numeric: tabular-nums;
}
.wms-scr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.wms-scr-name { font-size: 14.5px; font-weight: 700; }
.wms-scr-code { font-size: 11.5px; color: #444; white-space: nowrap; }
.wms-scr-row { display: flex; gap: 8px; }
.wms-scr-cell { flex: 1; min-width: 0; padding: 6px 8px; border: 1px solid #1b1b1b; border-radius: 3px; }
.wms-scr-cell-dark { background: #111; color: #fff; border-color: #111; flex: 0 0 34%; text-align: center; }
.wms-scr-cap { display: block; font-size: 10.5px; line-height: 1.3; }
.wms-scr-val { display: block; font-size: 22px; font-weight: 800; line-height: 1.15; }
.wms-scr-val small { font-size: .5em; font-weight: 600; margin-left: 2px; }
.wms-scr-foot { margin-top: 8px; padding-top: 6px; border-top: 1px dashed #1b1b1b; font-size: 10.5px; }
.wms-bin-timer {
  position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%);
  padding: 1px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; color: #7a4b00; background: #ffe9b8;
  border: 1px solid #f0c46b; white-space: nowrap;
}
.wms-bins-summary { margin: 16px 0 6px; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.wms-hint { margin: 0; font-size: 11.5px; color: #8a99ad; line-height: 1.7; }

/* ---------- 右：后台面板 ---------- */
.wms-panel { display: flex; flex-direction: column; gap: 16px; }
.wms-block { padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.wms-block-title { font-size: 14.5px; margin-bottom: 5px; }
.wms-block-desc { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.wms-search { display: flex; gap: 8px; margin-bottom: 10px; }
.wms-search input {
  flex: 1; min-width: 0; padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--line); font-size: 13.5px; font-family: inherit;
}
.wms-search input:focus { outline: none; border-color: #b9cdf2; box-shadow: 0 0 0 2px rgba(18, 87, 240, .12); }
.wms-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.wms-chip {
  padding: 4px 11px; border-radius: 999px; cursor: pointer; font-family: inherit;
  font-size: 12px; color: var(--ink-2); background: var(--bg-alt); border: 1px solid var(--line);
}
.wms-chip:hover { border-color: #b9cdf2; color: var(--brand); }
.wms-results { display: flex; flex-direction: column; gap: 7px; }
.wms-result {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 9px 12px; border-radius: 9px; cursor: pointer; text-align: left; font-family: inherit;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.wms-result:hover { border-color: #b9cdf2; }
.wms-result.is-active { border-color: var(--brand); background: var(--brand-soft); }
.wms-result-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wms-result-main b { font-size: 13.5px; }
.wms-result-main small { font-size: 11.5px; color: var(--muted); }
.wms-result-qty { font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wms-result-qty small { font-size: 10.5px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.wms-empty { margin: 0; font-size: 12.5px; color: #8a99ad; }
.wms-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wms-actions .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.wms-log-wrap { font-size: 12px; }
.wms-log-title { display: block; color: #8a99ad; margin-bottom: 6px; }
.wms-log { display: flex; flex-direction: column; gap: 4px; }
.wms-log li { position: relative; padding-left: 14px; color: var(--muted); line-height: 1.55; animation: eslFade .35s ease; }
.wms-log li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

@media (max-width: 1080px) {
  .wms-demo { grid-template-columns: 1fr; gap: 24px; }
  .wms-bins-side { position: static; }
}
@media (max-width: 560px) {
  .wms-search { flex-wrap: wrap; }
  .wms-search .btn { flex: 1 1 100%; }
  .wms-scr-val { font-size: 19px; }
}

/* ---------- 仓储标签首屏示意：按真实仓储标签版式排（名称+料号 / 库存+待领取 / 规格+货位） ---------- */
.wms-tag {
  display: flex; flex-direction: column; gap: 6px;
  /* 内容比电子价签多（料号/规格/货位），内边距收一点，避免底部一行贴边溢出 */
  padding: 11px 13px; background: #fff; overflow: hidden;
}
.wms-tag-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding-bottom: 6px; border-bottom: 1px solid #d8dde4;
}
.wms-tag-name { font-size: clamp(15px, 2vw, 21px); font-weight: 700; color: #101010; }
.wms-tag-code {
  font-size: clamp(12px, 1.5vw, 16px); font-weight: 700; color: #101010;
  letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.wms-tag-body { display: flex; gap: 8px; }
.wms-tag-cell {
  flex: 1; min-width: 0; padding: 6px 10px;
  border: 1.5px solid #1b1b1b; border-radius: 4px;
}
.wms-tag-cell-dark { flex: 0 0 34%; background: #111; color: #fff; border-color: #111; text-align: center; }
.wms-tag-cap { display: block; font-size: clamp(11px, 1.3vw, 14px); line-height: 1.3; }
.wms-tag-val { display: block; font-size: clamp(22px, 3vw, 33px); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wms-tag-val small { font-size: .45em; font-weight: 600; margin-left: 2px; }
/* 货位要看得清：字号与料号对齐、加粗、右侧对齐 */
.wms-tag-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 6px; border-top: 1px dashed #1b1b1b;
  font-size: clamp(10.5px, 1.2vw, 12.5px); color: #3a3a3a;
}
.wms-tag-bin {
  font-weight: 800; color: #101010; font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: .02em; white-space: nowrap;
}

/* ---------- 找货演示：屏幕尺寸与画面版式 ---------- */
.wms-control { margin-bottom: 10px; }
.wms-control-label { display: block; font-size: 12px; color: #6f7f94; margin-bottom: 6px; }
.wms-chips .wms-chip[aria-pressed="true"] {
  background: var(--brand); border-color: var(--brand); color: #fff;
}

/* 不同屏幕尺寸：改变屏幕的宽高比与内边距，模拟真实不同尺寸的屏 */
.wms-bin.is-size-213 .wms-bin-screen { padding: 7px 9px; }
.wms-bin.is-size-213 .wms-scr-name { font-size: 12.5px; }
.wms-bin.is-size-213 .wms-scr-val { font-size: 18px; }
.wms-bin.is-size-213 .wms-scr-code { font-size: 10.5px; }
.wms-bin.is-size-290 .wms-bin-screen { padding: 10px 12px; }
.wms-bin.is-size-420 .wms-bin-screen { padding: 13px 16px; }
.wms-bin.is-size-420 .wms-scr-name { font-size: 16px; }
.wms-bin.is-size-420 .wms-scr-val { font-size: 26px; }
.wms-bin.is-size-750 .wms-bin-screen { padding: 16px 20px; }
.wms-bin.is-size-750 .wms-scr-name { font-size: 18px; }
.wms-bin.is-size-750 .wms-scr-val { font-size: 32px; }
.wms-bin.is-size-750 .wms-scr-code { font-size: 13px; }

/* 版式一：大字号 —— 库存数字放到最大，但名称/货位/待领取/料号都保留，
   否则工人走过来只知道数字、不知道这是哪件东西放在哪个货位 */
.wms-scr-big { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.wms-scr-big-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding-bottom: 5px; border-bottom: 1px solid #1b1b1b;
}
.wms-scr-big-head .wms-scr-name { font-size: 15px; font-weight: 700; }
/* 「库存」作为小标题放在数字上方，读起来是「库存 1,080 个」而不是「1,080个 库存」 */
.wms-scr-big-main { display: flex; flex-direction: column; justify-content: center; gap: 2px; flex: 1; }
.wms-scr-huge { font-size: 42px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.wms-scr-huge small { font-size: .38em; font-weight: 600; margin-left: 2px; }
.wms-scr-big-cap { font-size: 12.5px; font-weight: 600; color: #3a3a3a; line-height: 1.2; }
.wms-scr-big-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 5px; border-top: 1px dashed #1b1b1b; font-size: 12px;
}
.wms-scr-big-pending { font-weight: 600; color: #3a3a3a; }
.wms-scr-big-pending b { font-size: 14px; font-weight: 800; color: #101010; margin-left: 2px; }
.wms-scr-big-code { font-weight: 700; color: #101010; letter-spacing: .02em; }
/* 货位在右上角，要够醒目 */
.wms-scr-bin-big {
  font-size: 13px; font-weight: 800; color: #101010;
  letter-spacing: .02em; white-space: nowrap;
}

/* 版式二：全信息（2×2 网格，适合大屏） */
.wms-scr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.wms-scr-grid > div { padding: 5px 8px; border: 1px solid #1b1b1b; border-radius: 3px; min-width: 0; }
.wms-scr-grid .wms-scr-cell-dark { background: #111; color: #fff; border-color: #111; text-align: center; }
.wms-scr-val-sm { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 货位在标准版底部要醒目（原来字号偏小） */
.wms-scr-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #3a3a3a; }
.wms-scr-bin { font-size: 13.5px; font-weight: 800; color: #101010; letter-spacing: .02em; white-space: nowrap; }

@media (max-width: 560px) {
  .wms-scr-huge { font-size: 30px; }
  .wms-scr-grid { grid-template-columns: 1fr; }
  .wms-scr-big-head .wms-scr-name { font-size: 13px; }
}

/* ---------- 电子价签首屏示意：按真实「富士苹果」模版结构排 ----------
   真实模版分三区：上区左右分区（左：名称/原价，右：黑色促销块），下区整行黑条标语。
   图上把模版里真实存在的变量都放上去：名称、分组、折扣率、原价、促销价、单位、标语。 */
.esl-tag {
  display: flex; flex-direction: column; gap: 0;
  padding: 0; overflow: hidden;
  background: #fff; color: #000;
}
.esl-tag-body { display: flex; flex: 1; }

/* 左区：名称 / 分组·规格 / 分隔线 / 原价 + 单位 */
.esl-tag-left {
  flex: 1; min-width: 0; padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: center;
}
.esl-tag-name { font-size: clamp(15px, 2vw, 21px); font-weight: 700; line-height: 1.2; }
.esl-tag-sub {
  margin-top: 3px; font-size: clamp(10px, 1.2vw, 12.5px); color: #3a3a3a;
  letter-spacing: .02em;
}
.esl-tag-line { display: block; height: 1px; background: #1b1b1b; margin: 7px 0 6px; }
.esl-tag-cap { font-size: clamp(10px, 1.2vw, 12.5px); color: #3a3a3a; }
.esl-tag-price {
  font-size: clamp(22px, 3vw, 33px); font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.esl-tag-price small {
  font-size: .34em; font-weight: 600; margin-left: 3px; letter-spacing: 0;
}

/* 右区：黑色促销块（对应真实模版的黑色圆角块） */
.esl-tag-promo {
  flex: 0 0 40%; margin: 10px; border-radius: 8px;
  background: #101010; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; padding: 8px 10px; text-align: center;
}
.esl-tag-promo-cap { font-size: clamp(10px, 1.2vw, 12.5px); }
.esl-tag-promo-val {
  font-size: clamp(22px, 3.1vw, 34px); font-weight: 800; line-height: 1.05;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.esl-tag-discount {
  margin-top: 2px; padding: 0 7px; border-radius: 999px;
  font-size: clamp(9.5px, 1.1vw, 11.5px); font-weight: 700;
  background: #fff; color: #101010;
}

/* 下区：整行填充的黑条标语 */
.esl-tag-banner {
  padding: 6px 10px; background: #101010; color: #fff;
  font-size: clamp(11px, 1.3vw, 14px); font-weight: 700;
  text-align: center; letter-spacing: .04em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 560px) {
  .esl-tag-left { padding: 9px 10px; }
  .esl-tag-promo { flex: 0 0 42%; margin: 8px; }
  .esl-tag-banner { letter-spacing: .02em; }
}
