/* =============================================================
   吮指熊宠物食品 · 官方网站样式表
   Design System v1.0
   ============================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色 */
  --brand: #E8943A;
  --brand-dark: #6B4423;
  --brand-light: #F5E6D3;
  --brand-tint: #FFF8F0;
  --accent: #1f6b4f;
  --accent-light: #e6f2ec;
  --gold: #c99a2e;

  /* 中性色 */
  --ink: #1a1815;
  --ink-2: #3d3a35;
  --ink-3: #6b665e;
  --ink-4: #9a948b;
  --line: #eae5dd;
  --line-2: #f3efe9;
  --bg: #ffffff;
  --bg-soft: #fdfaf6;
  --bg-warm: #f8f3ec;

  /* 排版 */
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "SF Pro Display", "DIN Alternate", "Bahnschrift", var(--font);

  /* 圆角与阴影 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;
  --sh-1: 0 1px 2px rgba(26, 24, 21, .05), 0 2px 8px rgba(26, 24, 21, .04);
  --sh-2: 0 4px 14px rgba(26, 24, 21, .07), 0 12px 32px rgba(26, 24, 21, .05);
  --sh-3: 0 10px 30px rgba(26, 24, 21, .09), 0 30px 60px rgba(26, 24, 21, .07);
  --sh-brand: 0 8px 24px rgba(107, 68, 35, .28);

  /* 布局 */
  --max: 1200px;
  --gut: 24px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

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;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }

img, svg { max-width: 100%; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid rgba(232, 148, 58, .45);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 跳过导航（无障碍） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.container-narrow { max-width: 880px; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.bg-soft { background: var(--bg-soft); }
.bg-warm { background: var(--bg-warm); }
.bg-ink { background: #17150f; color: #d9d3c8; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 章节标题 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 18px;
}
.eyebrow.alt { color: var(--accent); background: var(--accent-light); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p {
  font-size: 1.05rem;
  color: var(--ink-3);
  margin-bottom: 0;
}

.lead { font-size: 1.12rem; color: var(--ink-3); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: var(--r-full);
  font-size: .98rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 12px 30px rgba(232, 148, 58, .34); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-line { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-line:hover { background: var(--brand); color: #fff; }

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(26, 24, 21, .05); }

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-size: 1.12rem; font-weight: 800; letter-spacing: .02em; }
.brand-en { font-size: .62rem; letter-spacing: .22em; color: var(--ink-4); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a {
  display: block;
  padding: 9px 15px;
  border-radius: var(--r-full);
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: var(--bg-warm); color: var(--ink); }
.nav-links a.active { color: var(--brand); font-weight: 700; background: var(--brand-tint); }
/* 桌面/平板：隐藏移动端专用「关注和购买」项（避免与右侧 nav-cta 按钮重复），移动端汉堡菜单中再显示 */
.nav-links li.mobile-cta { display: none; }

/* 产品下拉子分类（hover / 键盘 focus 展开） */
.has-sub { position: relative; }
.has-sub > a { display: flex; align-items: center; gap: 5px; }
.has-sub .caret { width: 13px; height: 13px; flex: none; transition: transform .22s var(--ease); }
.has-sub:hover > a .caret,
.has-sub:focus-within > a .caret { transform: rotate(180deg); }
/* 防止鼠标移出链接与子菜单之间的 8px 间隙时菜单收起 */
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 200;
}
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.sub-group { padding: 4px; }
.sub-group + .sub-group { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 8px; }
.sub-group-title {
  display: block;
  padding: 2px 12px 6px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.sub-group > ul { list-style: none; margin: 0; padding: 0; }
.submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-md);
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
}
.submenu a:hover { background: var(--brand-tint); color: var(--brand); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. 页面通用头部 ---------- */
.page-hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  background: linear-gradient(165deg, var(--brand-tint) 0%, #fff 72%);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(232, 148, 58, .16), transparent 68%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { max-width: 660px; }

.breadcrumb { font-size: .86rem; color: var(--ink-4); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- 7. 卡片 ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--brand-light); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-3); font-size: .95rem; margin-bottom: 0; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.green { background: var(--accent-light); color: var(--accent); }

.tag {
  display: inline-block;
  font-size: .76rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--r-full);
  background: var(--bg-warm);
  color: var(--ink-3);
  letter-spacing: .02em;
}
.tag.brand { background: var(--brand-light); color: var(--brand-dark); }
.tag.green { background: var(--accent-light); color: var(--accent); }

/* ---------- 8. 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 20px 12px; }
.stat-num {
  font-family: var(--font-num);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat-num small { font-size: .42em; font-weight: 700; margin-left: 3px; }
.stat-label { font-size: .9rem; color: var(--ink-3); margin-top: 6px; }
.bg-ink .stat-num { color: #f0a06a; }
.bg-ink .stat-label { color: #a9a297; }

/* ---------- 9. 页脚 ---------- */
.site-footer { background: #17150f; color: #a9a297; padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: #cdc6ba; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .brand-cn { color: #fff; }
.footer-brand .brand-en { color: #7d766c; }
.footer-brand p { margin-top: 16px; max-width: 300px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.65; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #6d665c; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .84rem;
  color: #7d766c;
}
.footer-bottom a { color: #7d766c; }

/* ---------- 10. 滚动进场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

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

/* ---------- 11. 首页 Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1000px 520px at 82% 6%, rgba(232, 148, 58, .13), transparent 62%),
    radial-gradient(760px 460px at 6% 92%, rgba(31, 107, 79, .10), transparent 60%),
    linear-gradient(180deg, #fffaf5, #ffffff 62%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 52px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl {
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .07em;
  height: .28em;
  background: rgba(232, 148, 58, .16);
  border-radius: 3px;
  z-index: -1;
}
.hero-lead { font-size: 1.12rem; color: var(--ink-3); max-width: 520px; margin-bottom: 30px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: var(--r-full);
  box-shadow: var(--sh-1);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--accent); }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .bag-svg { width: min(100%, 400px); filter: drop-shadow(0 26px 44px rgba(26, 24, 21, .17)); }
.hero-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 16px;
  box-shadow: var(--sh-2);
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float small { display: block; font-size: .74rem; font-weight: 500; color: var(--ink-4); }
.hero-float.f1 { top: 8%; left: -2%; }
.hero-float.f2 { bottom: 16%; right: -2%; animation-delay: 1.4s; }
.hero-float .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-light); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 信任条 */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 0; }
.trust-item { display: flex; gap: 13px; align-items: center; }
.trust-item svg { width: 28px; height: 28px; color: var(--brand); flex: none; }
.trust-item strong { display: block; font-size: .96rem; color: var(--ink); }
.trust-item span { font-size: .82rem; color: var(--ink-4); }

/* ---------- 12. 特性网格 ---------- */
.feature { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); height: 100%; }
.feature-num {
  font-family: var(--font-num);
  font-size: .8rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.feature h3 { font-size: 1.08rem; }
.feature p { font-size: .92rem; color: var(--ink-3); margin: 0; }

/* ---------- 13. 产品页 ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: linear-gradient(165deg, var(--brand-tint), #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  text-align: center;
}
.product-gallery .stage { min-height: 380px; display: grid; place-items: center; }
.product-gallery .bag-svg { width: min(100%, 330px); filter: drop-shadow(0 22px 36px rgba(26, 24, 21, .16)); }
.gallery-thumbs { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.thumb {
  width: 74px;
  height: 74px;
  border-radius: var(--r-md);
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
  padding: 6px;
  display: grid;
  place-items: center;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.thumb:hover { transform: translateY(-2px); }
.thumb[aria-pressed="true"] { border-color: var(--brand); }
.thumb svg { width: 100%; height: 100%; }

.price-row { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 20px; }
.price {
  font-family: var(--font-num);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -.02em;
}
.price small { font-size: .42em; font-weight: 700; }
.price-old { color: var(--ink-4); text-decoration: line-through; font-size: 1.05rem; }

.spec-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.spec-opt {
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  cursor: pointer;
  background: #fff;
  text-align: left;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  font-family: inherit;
}
.spec-opt:hover { border-color: var(--brand-light); }
.spec-opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); }
.spec-opt strong { display: block; font-size: 1.15rem; color: var(--ink); }
.spec-opt span { font-size: .84rem; color: var(--ink-4); }

.spec-list { list-style: none; padding: 0; margin: 0 0 26px; }
.spec-list li {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
  align-items: flex-start;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 4px; }

.data-table { font-size: .94rem; }
.data-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 12px;
  font-size: 1.02rem;
}
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--bg-warm); color: var(--ink); font-weight: 700; font-size: .88rem; letter-spacing: .03em; }
.data-table tbody tr:hover { background: var(--bg-soft); }
.data-table td.num { font-family: var(--font-num); font-weight: 600; color: var(--ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }

/* ---------- 14. 工厂页 ---------- */
.factory-model {
  position: relative;
  background: linear-gradient(170deg, #f6f1e8, #fffdfa);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(16px, 3vw, 30px);
  overflow: hidden;
}
.factory-stage { position: relative; }
.factory-stage svg { width: 100%; height: auto; }

.zone { cursor: pointer; transition: opacity .25s var(--ease); }
.zone .zone-body { transition: transform .25s var(--ease), filter .25s var(--ease); transform-box: fill-box; transform-origin: center; }
.zone:hover .zone-body { filter: brightness(1.06); transform: translateY(-5px); }
.zone.active .zone-body { filter: brightness(1.1) drop-shadow(0 0 12px rgba(232, 148, 58, .55)); transform: translateY(-7px); }
.zone-label { font-size: 12.5px; font-weight: 700; fill: #2b2721; pointer-events: none; }
.zone-tagno { font-size: 10.5px; font-weight: 800; fill: #fff; pointer-events: none; }
.factory-model.dim .zone:not(.active) { opacity: .48; }

.zone-detail {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  min-height: 190px;
  box-shadow: var(--sh-1);
}
.zone-detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.zone-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 1.05rem;
  flex: none;
}
.zone-detail h3 { margin: 0; }
.zone-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.zone-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.zone-spec { background: var(--bg-soft); border-radius: var(--r-md); padding: 13px 16px; }
.zone-spec span { display: block; font-size: .78rem; color: var(--ink-4); }
.zone-spec strong { font-size: .98rem; color: var(--ink); font-family: var(--font-num); }

.zone-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.zone-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-full);
  padding: 8px 15px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.zone-chip i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-warm);
  color: var(--ink-3);
  font-style: normal;
  font-size: .7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-family: var(--font-num);
}
.zone-chip:hover { border-color: var(--brand); color: var(--brand); }
.zone-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.zone-chip[aria-pressed="true"] i { background: rgba(255, 255, 255, .25); color: #fff; }

/* 生产流程时间线 */
.flow { position: relative; }
.flow::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  opacity: .28;
}
.flow-step { position: relative; padding-left: 74px; padding-bottom: 30px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-light);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-family: var(--font-num);
  font-weight: 800;
  box-shadow: var(--sh-1);
}
.flow-step h3 { font-size: 1.08rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow-step p { color: var(--ink-3); font-size: .95rem; margin-bottom: 8px; }
.flow-params { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-param {
  font-size: .78rem;
  font-family: var(--font-num);
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-warm);
  border-radius: var(--r-sm);
  padding: 4px 10px;
}

/* ---------- 15. 新闻页 ---------- */
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-full);
  padding: 9px 20px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.news-feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  margin-bottom: 44px;
}
.news-feature-media {
  background: linear-gradient(150deg, var(--brand), #f0a06a);
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 30px;
}
.news-feature-media svg { width: min(100%, 300px); }
.news-feature-body { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.news-feature-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }

.news-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.news-item:first-of-type { border-top: 1px solid var(--line); }
.news-date {
  font-family: var(--font-num);
  color: var(--ink-4);
  line-height: 1.2;
}
.news-date b { display: block; font-size: 2rem; color: var(--ink); font-weight: 800; }
.news-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--brand); }
.news-item p { color: var(--ink-3); font-size: .94rem; margin-bottom: 10px; }
.news-item .tag { margin-right: 6px; }
.news-item.hide { display: none; }

/* ---------- 16. 联系页 ---------- */
.contact-hero {
  background: linear-gradient(150deg, #17150f 0%, #2c2519 55%, #3d3020 100%);
  color: #d9d3c8;
  padding: clamp(60px, 9vw, 118px) 0 clamp(140px, 14vw, 190px);
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 88% 12%, rgba(232, 148, 58, .34), transparent 62%),
    radial-gradient(520px 320px at 8% 88%, rgba(31, 107, 79, .3), transparent 60%);
}
.contact-hero .container { position: relative; z-index: 1; }
.contact-hero h1 { color: #fff; max-width: 15ch; }
.contact-hero .lead { color: #bdb6aa; max-width: 560px; }
.contact-hero .eyebrow { background: rgba(255, 255, 255, .1); color: #f0a06a; }

.contact-cards { margin-top: -110px; position: relative; z-index: 5; }
.contact-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--sh-2);
  border: 1px solid var(--line-2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.contact-card .card-icon { margin-bottom: 16px; }
.contact-card h3 { font-size: 1.06rem; margin-bottom: 4px; }
.contact-card .val {
  font-family: var(--font-num);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
  display: block;
  margin-bottom: 4px;
  word-break: break-all;
}
.contact-card small { color: var(--ink-4); font-size: .84rem; }

.contact-main { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: start; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--sh-1);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .89rem; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-size: .96rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(232, 148, 58, .1);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--ink-4); margin-top: 14px; }
.form-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--accent-light);
  color: var(--accent);
  font-size: .92rem;
  font-weight: 600;
}
.form-msg.show { display: block; }

.info-block { margin-bottom: 30px; }
.info-block h3 { font-size: 1.06rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.info-block h3 svg { width: 20px; height: 20px; color: var(--brand); }
.info-block p { color: var(--ink-3); font-size: .95rem; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .93rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list b { font-family: var(--font-num); color: var(--ink); font-weight: 600; }

.route-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.route-card ul { list-style: none; padding: 0; margin: 0; }
.route-card li { display: flex; gap: 12px; padding: 9px 0; font-size: .93rem; color: var(--ink-3); }
.route-card li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }
.route-card li b { color: var(--ink); }

/* ---------- 17. 购买页 ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
  /* 作为可点击卡片（<button>）渲染时的 reset */
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
/* 卡片内 CTA 视觉用 .btn，但整卡已可点击，去掉其自身交互反馈以免重复 */
.shop-card .btn { pointer-events: none; }
.shop-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--pf, var(--brand));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.shop-card:hover::before { opacity: 1; }
.shop-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.shop-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--pf-bg, var(--bg-warm));
  color: var(--pf, var(--brand));
  flex: none;
}
.shop-logo svg { width: 28px; height: 28px; }
.shop-logo-img { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; }
.shop-logo-fallback { display: grid; place-items: center; font-size: 1.6rem; line-height: 1; }
.shop-head h3 { margin: 0; font-size: 1.1rem; }
.shop-head span { font-size: .82rem; color: var(--ink-4); }
.shop-card > p { color: var(--ink-3); font-size: .92rem; flex: 1; }
.shop-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.shop-price {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 16px;
}
.shop-price em { font-style: normal; color: var(--brand); font-size: 1.3rem; }

.buy-notice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 30px;
  background: var(--brand-tint);
  border: 1px dashed var(--brand-light);
  border-radius: var(--r-xl);
}
.buy-notice h4 { display: flex; gap: 9px; align-items: center; margin-bottom: 6px; }
.buy-notice h4 svg { width: 19px; height: 19px; color: var(--brand); }
.buy-notice p { font-size: .9rem; color: var(--ink-3); margin: 0; }

/* ---------- 18. FAQ 折叠 ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 19px 56px 19px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  position: relative;
  line-height: 1.5;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-4);
  border-bottom: 2px solid var(--ink-4);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .28s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-20%) rotate(225deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.faq-a > div { padding: 0 22px 20px; color: var(--ink-3); font-size: .95rem; }

/* ---------- 19. CTA 区块 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, #ef8a3c 52%, var(--gold) 100%);
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 58px);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--sh-brand);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .92); margin: 0; max-width: 52ch; }
.cta-band .btn-ghost { background: #fff; border-color: #fff; color: var(--brand-dark); }
.cta-band .btn-ghost:hover { color: var(--brand-dark); background: #fff8f3; }
.cta-band .btn-dark { background: rgba(0, 0, 0, .22); border-color: rgba(255, 255, 255, .4); }

/* ---------- 20. 口碑 ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  height: 100%;
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }
.quote p { font-size: .96rem; color: var(--ink-2); }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}
.quote footer b { display: block; font-size: .92rem; color: var(--ink); }
.quote footer span { font-size: .8rem; color: var(--ink-4); }

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-float.f1 { left: 2%; }
  .hero-float.f2 { right: 2%; }
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .product-gallery { position: static; }
  .contact-main { grid-template-columns: 1fr; gap: 36px; }
  .news-feature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    gap: 2px;
    box-shadow: var(--sh-2);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; border-radius: var(--r-md); }
  /* 移动端：下拉子菜单改为内联展开，随菜单一起显示 */
  .has-sub::after { display: none; }
  .has-sub > a .caret { transform: none; }
  .nav-links.open .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 2px 0 6px 12px;
    padding: 2px 0 2px 10px;
    min-width: 0;
  }
  /* 菜单未展开时，子菜单回退为隐藏态，避免顶部不可见区域误触跳转到产品页 */
  .nav-links:not(.open) .submenu {
    display: none;
  }
  .sub-group + .sub-group { border-top: 1px dashed var(--line); }
  .submenu a { white-space: normal; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .nav-links li.mobile-cta { display: block; margin-top: 10px; }
  .nav-links li.mobile-cta a {
    background: var(--brand);
    color: #fff;
    text-align: center;
    font-weight: 700;
  }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .g3, .g2 { grid-template-columns: 1fr; }
  .zone-specs { grid-template-columns: 1fr; }
  .buy-notice { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 12px; }
  .news-date { display: flex; align-items: baseline; gap: 8px; }
  .news-date b { font-size: 1.3rem; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --gut: 18px; }
  .g4, .shop-grid, .stats, .field-row, .spec-picker { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-float { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav-cta .btn { width: auto; }
  .flow-step { padding-left: 60px; }
  .flow-dot { width: 46px; height: 46px; font-size: .9rem; }
  .flow::before { left: 22px; }
}

/* ---------- 22. 打印 ---------- */
@media print {
  .site-header, .site-footer, .btn, .cta-band { display: none !important; }
  body { color: #000; }
}


/* =============================================================
   产品展示页 / 新闻详情页 补充样式
   ============================================================= */
.showcase {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 3.5vw, 44px);
  box-shadow: var(--sh-brand);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.showcase-media img { width: 100%; border-radius: 16px; display: block; }
.coming-soon { display: flex; flex-direction: column; }
.coming-soon .tag { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; } }

.article-cover {
  margin: 8px 0 30px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #E8943A, #6B4423);
  aspect-ratio: 16 / 7;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-meta {
  display: flex; align-items: center; gap: 12px;
  margin: 10px 0 6px;
  font-family: var(--font-num, sans-serif);
  color: var(--ink-4, #6d665c);
  font-size: .9rem;
}
.article-body { font-size: 1.04rem; line-height: 1.9; color: var(--ink-2, #43403a); }
.article-body p { margin: 0 0 1.1em; }
.article-body h2, .article-body h3 { margin: 1.6em 0 .6em; color: var(--ink-1, #1f1c18); }
.article-body ul, .article-body ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.article-body li { margin: .4em 0; }
.article-nav { margin-top: 34px; }
.related { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.related h3 { margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.related a {
  display: flex; gap: 10px; align-items: baseline;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-2, #43403a);
  text-decoration: none;
  transition: .2s;
}
.related a:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); }
.related .rd { font-family: var(--font-num, sans-serif); color: var(--ink-4, #6d665c); font-size: .85rem; flex: none; }

/* =============================================================
   关注我们页面 + 自适应二维码弹窗
   ============================================================= */
.follow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.follow-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: .22s var(--ease);
}
.follow-card:hover {
  border-color: var(--pc, var(--brand));
  box-shadow: var(--sh-brand);
  transform: translateY(-3px);
}
.follow-card:focus-visible { outline: 3px solid var(--pc, var(--brand)); outline-offset: 2px; }
.fc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.6rem; color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.fc-name { font-size: 1.08rem; font-weight: 800; }
.fc-desc { font-size: .9rem; color: var(--ink-4, #6d665c); line-height: 1.5; }
.fc-cta { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--pc, var(--brand)); font-size: .92rem; }
.follow-note { margin-top: 26px; font-size: .9rem; color: var(--ink-4, #6d665c); text-align: center; line-height: 1.7; }

/* 弹窗 */
.lb-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 24, 21, .55);
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), visibility .2s;
}
.lb-overlay.open { opacity: 1; visibility: visible; }
.lb-panel {
  position: relative;
  width: min(420px, 100%);
  background: #fff; border-radius: 20px;
  padding: 28px 26px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  transform: translateY(10px) scale(.98);
  transition: transform .2s var(--ease);
}
.lb-overlay.open .lb-panel { transform: none; }
.lb-close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: var(--bg-warm, #f5efe6); color: var(--ink-2);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: .2s;
}
.lb-close:hover { background: var(--brand-tint); color: var(--brand); }
.fm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fm-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; }
.fm-logo-img { width: 28px; height: 28px; object-fit: contain; border-radius: 7px; background: #fff; padding: 3px; box-sizing: border-box; }
.fm-head h3 { margin: 0; font-size: 1.2rem; }
.fm-body { text-align: center; }
.qr-box { margin: 4px auto 14px; width: 220px; max-width: 100%; }
.qr-img { width: 100%; border-radius: 14px; display: block; background: #fff; border: 1px solid var(--line); }
.qr-ph { display: grid; place-items: center; min-height: 220px; border-radius: 14px; color: #fff; text-align: center; font-weight: 700; padding: 12px; }
.qr-ph small { font-weight: 400; opacity: .85; }
.fm-hint { font-size: .92rem; color: var(--ink-2); margin: 0 0 16px; line-height: 1.6; }
.fm-actions { display: flex; flex-direction: column; gap: 10px; }
.fm-actions .btn { width: 100%; }

/* 复制提示 toast */
.follow-toast {
  position: fixed; left: 50%; bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink, #1f1c18); color: #fff;
  padding: 12px 18px; border-radius: 12px; font-size: .92rem;
  opacity: 0; pointer-events: none; z-index: 1100;
  max-width: 86vw; text-align: center;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.follow-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 官方店铺区块 */
.section-alt { background: var(--brand-tint, #FFF8F0); }
.section-head h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink-1, #1f1c18); }

/* 店铺筹备中（未填 url / qr）的卡片：弱化、不浮起 */
.follow-card.soon { opacity: .72; cursor: default; }
.follow-card.soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.follow-card.soon .fc-cta { color: var(--ink-4, #6d665c); }

/* 微信内顶部引导条 */
.wx-banner {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 14px auto 0; max-width: 920px;
  background: linear-gradient(90deg, #FFF6E9, #FFF1DD);
  border: 1px solid #F4D9A8; color: #7a5a1e;
  border-radius: 14px; padding: 12px 16px 12px 14px;
  font-size: .9rem; line-height: 1.6; position: relative;
}
.wx-banner[hidden] { display: none; }
.wx-banner-ico { flex: 0 0 auto; font-size: 1.1rem; line-height: 1.4; }
.wx-banner-txt { flex: 1; }
.wx-banner-txt b { color: #9a6b16; }
.wx-banner-x {
  position: absolute; top: 6px; right: 8px; border: none; background: transparent;
  color: #b08a3e; font-size: 1.2rem; cursor: pointer; line-height: 1; padding: 2px 6px;
}

/* 弹窗内：环境提示 + 微信「在浏览器打开」引导 */
.fm-env {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  margin: 0 auto 12px;
}
.fm-env.wx { background: #E8F7E8; color: #1A7D1A; }
.fm-env-dot { width: 8px; height: 8px; border-radius: 50%; background: #1AAD19; }
.wx-guide {
  display: flex; gap: 10px; align-items: flex-start; text-align: left;
  background: #FFF6E9; border: 1px solid #F4D9A8; border-radius: 12px;
  padding: 10px 12px; margin: 0 auto 14px; max-width: 340px;
}
.wx-guide-arrow { font-size: 1.5rem; color: #E8943A; line-height: 1; flex: 0 0 auto; }
.wx-guide-txt { font-size: .84rem; color: #7a5a1e; line-height: 1.6; }
.wx-guide-txt b { color: #9a6b16; }

/* 二维码（本地生成 / 静态图片） */
.fm-qr { margin: 4px auto 14px; width: 220px; max-width: 100%; }
/* 电脑端：弹窗只包含二维码，放大以便手机扫码 */
.lb-overlay.pc-qr .lb-panel { max-width: 360px; }
.lb-overlay.pc-qr .fm-qr { width: 300px; margin: 8px auto; }
.lb-overlay.pc-qr .fm-qr .qr-img { padding: 14px; }
.fm-qr .qr-img {
  width: 100%; border-radius: 12px; display: block; background: #fff;
  border: 1px solid var(--line); padding: 10px; box-sizing: border-box;
}
/* 二维码下方提示：截图保存并打开 App 扫码 */
.fm-qr-tip {
  font-size: .76rem; color: var(--ink-4, #6d665c); line-height: 1.5;
  margin: 8px 2px 0; text-align: center;
}
.fm-qr-tip b { color: var(--brand-dark, #6B4423); }

/* 操作按钮占满宽度 */
.fm-actions .btn-block { width: 100%; display: block; }

/* 口令（仅「复制口令」按钮，明文不展示） */
.fm-code { margin: 4px auto 8px; max-width: 340px; text-align: left; }
.fm-code-hint { font-size: .78rem; color: var(--ink-4, #6d665c); line-height: 1.6; margin: 8px 0 0; padding-bottom: 20px;}
.fm-code-hint b { color: var(--brand-dark, #6B4423); }
.fm-actions-sub { margin-top: 4px; gap: 8px; }
