:root {
  /* 主色：暖玫瑰（母婴风格的柔和暖调，替代原冷青绿） */
  --brand: #e0647a;
  --brand-dark: #c74b64;
  --brand-soft: #fdeef1;
  /* 辅色：暖杏橙 */
  --accent: #f5a35c;
  --accent-dark: #dc8a41;
  /* 正文：暖深棕灰（替代原冷蓝黑） */
  --ink: #3c2f35;
  --ink-2: #6b5a61;
  --ink-3: #7f6e74;   /* V2.13.40 · B3：原 #9c8b92 对白底约 3.1:1，低于 WCAG AA 4.5:1；加深后约 4.8:1 */
  --line: #f1e3e6;
  --bg: #ffffff;
  --bg-soft: #fdf8f6;
  /* 产品图片区：冰淇淋奶油色（Pantone 11-4302 TPG Cannoli Cream） */
  --ice: #f2f0e3;
  --ice-deep: #e9e3cd;
  /* 后台侧栏用色：暖深棕（V2.6 起页脚改用 --gold，此色只留给后台侧栏） */
  --footer-bg: #412f38;
  /* 选中/激活色：深黄（V2.6 全站统一 —— 导航、分类、开关、单选、缩略图、焦点环） */
  --gold: #dda51f;
  --gold-dark: #c98d16;      /* 选中态的 hover / 描边档 */
  --gold-ink: #8a6410;       /* 深黄当文字色时（浅底上仍可读） */
  --gold-soft: #fdf4dc;      /* 极浅黄底 */
  /* 奶油黄：联系信息卡底色 + 页脚底色 + 选中态底色（V2.7） */
  --cream: #fcefc9;
  --cream-dark: #f2dfa8;     /* 奶油黄的加深档：hover / 选中描边 */
  /* 暖底（深黄/奶油）上的文字色 */
  --on-warm: rgba(60, 47, 53, .78);
  --on-warm-2: rgba(60, 47, 53, .64);
  --on-warm-line: rgba(60, 47, 53, .18);
  /* 产品副标题：沿用 V2.4 的 --brand-dark 原值（用户指定保留） */
  --tagline: #0a4c55;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(60, 47, 53, .06), 0 4px 12px rgba(60, 47, 53, .05);
  --shadow-md: 0 4px 12px rgba(60, 47, 53, .08), 0 16px 40px rgba(60, 47, 53, .08);
  --max: 1200px;
}

* { box-sizing: border-box; }

/* 全局防溢出：任何屏幕宽度下都不出现横向滚动、内容丢失 */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
table { max-width: 100%; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 3.2vw, 24px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 12px 24px; min-height: 68px; padding: 10px 0; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; color: var(--ink); min-width: 0; max-width: 50%; }
/* 图形 logo：透明 PNG，页眉与页脚共用同一文件（省一次请求） */
/* V2.8：公司 logo 统一加 0.3mm 金色细边框（页顶与页脚一致）；
   box-sizing: content-box 让边框和内衬向外扩，不压缩 logo 本身的显示尺寸 */
.logo__img {
  height: clamp(32px, 2.3vw, 44px); width: auto; flex: none; display: block;
  box-sizing: content-box;
  border: 0.3mm solid var(--gold); border-radius: 6px; padding: 3px;
}
.logo__txt { min-width: 0; }
/* 公司名：占位不超过页眉宽度一半（需求 1），字号随屏宽收敛 */
.logo__name { display: block; font-size: clamp(16px, 2.1vw, 30px); line-height: 1.14; letter-spacing: -.02em; }
.logo__mark {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px;
  letter-spacing: -.5px;
}
.logo__sub { display: block; font-size: clamp(10px, .85vw, 12px); font-weight: 500; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }

/* 滚动后页眉收窄：大号公司名只在页面顶部出现，滚动时不占用屏幕 */
.header .logo__img, .header .logo__name, .header .logo__sub { transition: font-size .18s ease, height .18s ease; }
.header.is-compact .logo__img { height: 34px; }
.header.is-compact .logo__name { font-size: 19px; }
.header.is-compact .logo__sub { display: none; }

/* 锚点跳转时给吸顶页眉留出空间，标题不会被挡住 */
section[id], div[id] { scroll-margin-top: 96px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
/* 当前页面 / 当前所在区块：背景加深，一眼看出选中状态（需求 13） */
.nav a.is-current,
.nav a.is-active-section,
.nav a[aria-current="page"],
.nav a[aria-current="true"] {
  background: var(--cream); color: var(--ink); font-weight: 600;
}
.nav a.is-current:hover,
.nav a.is-active-section:hover { background: var(--cream-dark); color: var(--ink); }

/* ---------- 导航：产品分类下拉（V2.13.40） ----------
 * 鼠标悬停 / 键盘聚焦到「产品中心」时，在其正下方弹出单列下拉，列出全部产品分类。
 * 规则默认隐藏，桌面端用 :hover 展开（无 JS 依赖）；触屏没有 hover，改由 JS 加 .is-open。
 * 注意所有选择器都带 .nav 前缀——裸类名选择器打不过上面的 .nav a（它是 class+element）。 */
.nav .nav__item--drop { position: relative; }
.nav .nav__item--drop > a { display: inline-flex; align-items: center; gap: 5px; }
.nav .nav__caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .5;
}
.nav .nav__item--drop.is-open .nav__caret { transform: rotate(180deg); }

.nav .navdrop {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 236px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px;
  box-shadow: var(--shadow-md);
}
.nav .nav__item--drop.is-open .navdrop { display: block; }
@media (hover: hover) {
  .nav .nav__item--drop:hover .navdrop,
  .nav .nav__item--drop:focus-within .navdrop { display: block; }
}
.nav .navdrop__all {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px; border-radius: 8px; background: var(--bg-soft);
  color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.3;
}
.nav .navdrop__all:hover { background: var(--cream); }
.nav .navdrop__arrow { color: var(--ink-3); font-weight: 400; }
.nav .navdrop__sep { height: 1px; background: var(--line); margin: 7px 4px; }
.nav .navdrop__list { display: flex; flex-direction: column; }
.nav .navdrop__item {
  padding: 8px 11px; border-radius: 8px; color: var(--ink-2); font-size: 13.5px;
  line-height: 1.35; white-space: nowrap;
}
.nav .navdrop__item:hover { background: var(--bg-soft); color: var(--ink); }
.nav .navdrop__item.is-active { background: var(--cream); color: var(--ink); font-weight: 600; }
/* 展开后在鼠标与面板之间留一条桥，指针斜向移动时不会被顶部标题挡住导致收起 */
.nav .navdrop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
/* 语言切换：EN / 中文 两个选项，当前项用统一的深黄选中色
   （原先这里写的是 .lang button，但模板输出的是 <a>，规则一直没生效） */
.lang button,
.lang a {
  border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600;
  padding: 5px 13px; border-radius: 999px; color: var(--ink-3); text-decoration: none; line-height: 1.25;
}
.lang a:hover { color: var(--ink); }
.lang button.is-active,
.lang a.is-on { background: var(--cream); color: var(--ink); }
.lang a.is-on:hover { color: var(--ink); }

.burger { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--brand-soft), #fff 70%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 0 64px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand-dark);
  background: var(--bg); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: 17px; color: var(--ink-2); max-width: 52ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(224, 100, 122, .28); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--ink-2); }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points svg { flex: none; }

.hero__art {
  position: relative; border-radius: 20px; background: #fff; padding: 22px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.hero__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero__tile {
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; text-align: center; background: var(--bg-soft);
  transition: transform .2s ease, border-color .2s ease;
}
.hero__tile:hover { transform: translateY(-3px); border-color: var(--brand); }
.hero__tile svg { width: 54px; height: 54px; margin: 0 auto 8px; }
.hero__tile span { font-size: 12.5px; color: var(--ink-2); font-weight: 600; display: block; }
.hero__badge {
  position: absolute; right: -14px; bottom: -18px; background: var(--accent); color: #fff; border-radius: 14px;
  padding: 12px 18px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-md); line-height: 1.35;
}
.hero__badge small { display: block; font-weight: 500; font-size: 11.5px; opacity: .92; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 12px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 28px; color: var(--brand); letter-spacing: -.02em; }
.stat span { font-size: 13.5px; color: var(--ink-3); }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section__tag { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.section__head h2 { font-size: clamp(24px, 3vw, 34px); }
.section__head p { color: var(--ink-2); font-size: 16px; margin-bottom: 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: start; }
/* V2.10：每段首行缩进 2 字符（About / Factory 等正文段落，与产品详情一致） */
.about__body p { color: var(--ink-2); font-size: 16px; text-indent: 2em; }
.about__sig { display: flex; gap: 14px; align-items: center; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.about__sig b { display: block; font-size: 15px; }
.about__sig span { font-size: 13px; color: var(--ink-3); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: 16px;
}
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.cap h4 { font-size: 15px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.cap h4 svg { flex: none; }
.cap p { font-size: 13.5px; color: var(--ink-3); margin: 0; }

/* ---------- Products ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px;
  font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all .15s ease;
}
.filters a {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px;
  font-weight: 500; color: var(--ink-2); text-decoration: none; transition: all .15s ease;
}
.filters button:hover, .filters a:hover { border-color: var(--gold-dark); color: var(--gold-ink); }
.filters button.is-active, .filters a.is-active { background: var(--cream); border-color: var(--cream-dark); color: var(--ink); }
.filters a.is-active:hover { color: var(--ink); }
/* 首页分类行尾的「进入产品页」链接：不带按钮外观 */
.filters .filters__more { border: 0; background: none; padding: 8px 4px; color: var(--brand); font-weight: 600; }
.filters .filters__more:hover { background: none; color: var(--brand-dark); text-decoration: underline; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media {
  height: 190px; display: grid; place-items: center; background: var(--ice);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.card__media svg { width: 96px; height: 96px; }
/* V2.13.11：产品缩略图等比例完整显示（contain），不再生硬裁切原图；
 * 不足部分由卡片底色（--ice）补白。如需统一视觉，建议上传 3:2 横图。
 * V2.13.47：容器是 grid + place-items:center，图片作为「居中」的网格项时，
 * height:100% 会被浏览器当成 auto（实测图片盒 365×274 溢出 190px 的格子），
 * 于是按原始比例铺满宽度、底部被 overflow:hidden 切掉——等于又裁了一次。
 * 显式 stretch 让图片盒正好等于格子大小，contain 才真正生效。 */
.card__media img {
  width: 100%; height: 100%; object-fit: contain;
  justify-self: stretch; align-self: stretch; min-width: 0; min-height: 0;
}
/* V2.13.9：品类页卡片「设置图片」入口（仅编辑权限用户渲染，悬浮显示；触屏常显） */
/* V2.13.10：「设置图片」入口常驻可见（该元素仅对登录管理员渲染，访客无此节点，
 * 故无需悬浮触发——V2.13.9 的 hover 显隐太隐蔽，用户找不到）。 */
.card__setimg {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 4px 12px; font-size: 12px; font-weight: 600; line-height: 1.6;
  color: #fff; background: rgba(17, 24, 39, .72); border-radius: 999px;
  transition: background .15s ease;
}
.card__setimg:hover { background: var(--brand); color: #fff; }
/* 无图产品：入口常驻在占位图正中央（190px 图片区高度的中点），品牌色更醒目 */
.card__setimg--center {
  top: 95px; left: 50%; right: auto; transform: translate(-50%, -50%);
  padding: 7px 18px; font-size: 13px;
  background: var(--brand);
  box-shadow: 0 2px 10px rgba(17, 24, 39, .28);
}
.card__setimg--center:hover { background: #c9506a; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 17.5px; margin-bottom: 6px; }
/* 产品预览标题：黑色（全局 a 的品牌色会覆盖，这里显式指定） */
.card__body h3, .card__body h3 a { color: #111; }
.card__body h3 a:hover { color: #111; text-decoration: underline; }
.card__tagline { font-size: 13px; color: var(--accent-dark); font-weight: 600; margin-bottom: 10px; }
.card__desc { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pill { font-size: 12px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); border-radius: 6px; padding: 3px 9px; }
.card__foot { margin-top: auto; display: flex; gap: 10px; }

/* ---------- 产品列表分页（V2.13.27：圆形箭头 + 大号页码） ----------
 * 旧版 .pagination 无任何样式：prev/next 是浏览器默认小字符，访客
 * 几乎意识不到还有下一页。现改为品牌色圆形按钮组：当前页实底白字、
 * 其它页白底描边、悬停描边变品牌色并轻微上浮；箭头加粗加描边。 */
.pagination {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  /* V2.13.30：网格→翻页间距 56px→28px（用户要求缩小 50%） */
  gap: 15px; margin: 28px 0 0;
}
.pagination .page-numbers {
  position: relative;
  min-width: 46px; height: 46px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink-2);
  font-size: 17px; font-weight: 600; line-height: 1;
  text-decoration: none; box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, color .15s ease, background .15s ease,
              transform .15s ease, box-shadow .15s ease;
}
.pagination .page-numbers:hover {
  border-color: var(--brand); color: var(--brand);
  transform: translateY(-2px); box-shadow: 0 6px 16px rgba(224, 100, 122, .22);
}
.pagination .page-numbers.current {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 4px 14px rgba(224, 100, 122, .35);
}
.pagination .page-numbers:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
/* 省略号：不装成按钮 */
.pagination .page-numbers.dots { border: 0; background: none; box-shadow: none; cursor: default; }
.pagination .page-numbers.dots:hover { transform: none; color: var(--ink-3); }
/* 上一页 / 下一页：品牌色描边圆形箭头（参考款：圆圈内粗体箭头） */
.pagination .prev.page-numbers,
.pagination .next.page-numbers { padding: 0; border-color: var(--brand); color: var(--brand); }
.pagination .prev.page-numbers:hover,
.pagination .next.page-numbers:hover { background: var(--brand); color: #fff; }
.pagination .pg-arrow { width: 20px; height: 20px; display: block; }
/* 屏幕阅读器专用文案（视觉隐藏）——箭头 SVG 对读屏软件不可见 */
.pagination .pg-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.card__foot .btn { flex: 1; }

/* ---------- 浮动 WhatsApp 按钮（V2.13.29；设置项 whatsapp_float） ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 22px; z-index: 900;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(18, 140, 60, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 10px 24px rgba(18, 140, 60, .42); }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wa-float__tip {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.wa-float:hover .wa-float__tip { opacity: 1; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why__num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .08em; }
.why h4 { font-size: 16px; margin: 6px 0 6px; }
.why p { font-size: 14px; color: var(--ink-3); margin: 0; }

/* ---------- FAQ ---------- */
/* V2.13.12 修复：模板是 <details>/<summary> 原生手风琴，但样式还是旧按钮方案的
 * display:none + .is-open —— 而 is-open 从未被 JS 加上 → 答案永远隐藏。
 * 现改为跟随原生 [open] 属性，零 JS 依赖，点击 summary 即展开。 */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  font-size: 16px; font-weight: 600; color: var(--ink);
  padding: 18px 56px 18px 22px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { padding: 16px 22px 20px; color: var(--ink-2); font-size: 15px; border-top: 1px solid var(--line); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
/* V2.10：去掉 align-items:start，两栏默认 stretch 拉伸 → 联系卡与左侧询盘表单等高 */
.contact__grid { display: grid; grid-template-columns: 1fr .85fr; gap: 44px; align-items: stretch; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 14.5px;
  background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(221, 165, 31, .22);
}
.field textarea { min-height: 118px; resize: vertical; }
.form__note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.form__msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.form__msg.is-ok { display: block; background: #e9f7ef; border: 1px solid #bfe5cf; color: #1c7a45; }

.info-card { background: var(--cream); color: var(--ink); border-radius: 18px; padding: 30px; }
.info-card h3 { font-size: 19px; margin-bottom: 6px; }
.info-card > p { color: var(--on-warm); font-size: 14px; margin-bottom: 22px; }
.info { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--on-warm-line); }
.info:first-of-type { border-top: 0; }
.info__icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(60, 47, 53, .09); display: grid; place-items: center; flex: none; }
.info__label { font-size: 12px; color: var(--on-warm-2); letter-spacing: .04em; text-transform: uppercase; }
.info__val { font-size: 15px; font-weight: 600; word-break: break-word; }
.info-card a { color: var(--ink); }
.info-card a:hover { color: var(--brand-dark); }

/* ---------- Footer ---------- */
/* V2.8：页脚整体降 1cm 高度、字号减一号（14px→13px） */
.footer { background: var(--cream); color: var(--on-warm); padding: 44px 0 16px; font-size: 13px; }
.footer__grid { display: grid; grid-template-columns: 1.05fr 1.7fr .9fr 1.6fr; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--on-warm-line); }
.footer h4 { color: var(--ink); font-size: 14px; margin-bottom: 11px; }
.footer li { margin-bottom: 7px; }
/* 页脚：底色深黄，文字统一用暖深色（白字在黄底上不可读） */
.footer a { color: var(--on-warm); }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .logo { color: var(--ink); margin-bottom: 11px; gap: 14px; }
.footer .logo { max-width: 100%; }
/* 页脚底色改为奶油黄后，logo 直接放在页脚底色上（不再加底衬，按要求「抠除底色」） */
.footer .logo__img { height: 48px; background: transparent; }
.footer .logo__name { font-size: 18px; }
.footer .logo__sub { color: var(--on-warm-2); }

/* Company 列右移，使这一区块在 Products 与 Contact 之间居中（需求 6） */
.footer__grid > div:nth-child(3) { padding-left: clamp(10px, 2.2vw, 38px); }

/* 页脚联系信息：标签 + 值两列，标签列比正文宽 1/4，地址可对齐换行 */
.cinfo { display: grid; grid-template-columns: 4.2em 1fr; gap: 8px 10px; }
.cinfo dt { color: var(--on-warm); font-weight: 600; }   /* 颜色与右侧信息一致（V2.3 要求），靠字重区分 */
.cinfo dd { margin: 0; word-break: break-word; }
.footer .cinfo a { color: var(--on-warm); }

/* 页脚产品分类列表（两列，避免 9 个类别把页脚拉太长） */
.footer__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  justify-content: space-between; padding-top: 14px; font-size: 12px; color: var(--on-warm-2);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.footer__links a, .footer__links .linklike { color: var(--on-warm-2); }
.footer__links a:hover, .footer__links .linklike:hover { color: var(--ink); text-decoration: underline; }
.linklike {
  border: 0; background: none; padding: 0; font: inherit; cursor: pointer;
  color: inherit; text-decoration: none;
}
.footer__social { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 9px; }
/* V2.8 社交图标：各平台官方标准图形 + 官方品牌色，联系卡与页脚两处尺寸一致 */
.footer .social__btn { color: #fff; }
.footer .social__btn:hover { color: #fff; }

/* ---------- Social icon buttons（V2.11.1：`.social` 容器类随联系卡区块删除，只剩页脚使用） ---------- */
/* V2.9：社交按钮统一为正圆（与页脚一致），联系卡与页脚两处完全相同 */
.social__btn {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(60, 47, 53, .10);
  transition: transform .16s ease, background .16s ease, color .16s ease, opacity .16s ease;
}
/* 官方品牌色（V2.8）：Facebook 蓝 / Instagram 官方渐变 / TikTok 黑 / WhatsApp 绿 / LinkedIn 蓝 */
.social__btn--facebook,
.social__btn--facebook:hover { background: #1877f2; color: #fff; }
.social__btn--instagram,
.social__btn--instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%,
              #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
}
.social__btn--tiktok,
.social__btn--tiktok:hover { background: #000; color: #fff; }
.social__btn--whatsapp,
.social__btn--whatsapp:hover { background: #25d366; color: #fff; }
.social__btn--linkedin,
.social__btn--linkedin:hover { background: #0a66c2; color: #fff; }
.social__btn:hover { transform: translateY(-2px); color: #fff; opacity: .88; }
/* 页脚容器锁住白色字形 */
.footer__social .social__btn,
.footer__social .social__btn:hover { color: #fff; }

/* ---------- Factory photo gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.gallery__main, .gallery__thumb {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gallery__main:hover, .gallery__thumb:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.gallery__main { position: relative; display: flex; flex-direction: column; }
.gallery__main .gallery__media { flex: 1; min-height: 300px; }
.gallery__media { display: grid; place-items: center; background: var(--ice); overflow: hidden; }
/* V2.13.11：详情页主图同样等比例完整显示，不裁切产品
 * V2.13.47：同 .card__media——grid 居中项必须显式 stretch，否则 height:100% 失效、
 * 图片溢出被容器切掉底部（工厂图集里最明显）。 */
.gallery__media img {
  width: 100%; height: 100%; object-fit: contain;
  justify-self: stretch; align-self: stretch; min-width: 0; min-height: 0;
}
.gallery__media svg { width: 100%; height: 100%; }
.gallery__main figcaption, .gallery__thumb figcaption { padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.gallery__main figcaption b { font-size: 15.5px; }
.gallery__thumb figcaption b { font-size: 13.5px; }
.gallery__main figcaption span, .gallery__thumb figcaption span { font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.gallery__zoom {
  position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--brand-dark); display: grid; place-items: center;
  font-size: 18px; font-weight: 700; line-height: 1; box-shadow: var(--shadow-sm);
}
.gallery__side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery__side .gallery__thumb:last-child:nth-child(odd) { grid-column: span 2; }
.gallery__side .gallery__thumb { display: flex; flex-direction: column; }
.gallery__side .gallery__thumb .gallery__media { height: 118px; flex: none; }
.gallery__side .gallery__thumb:last-child:nth-child(odd) .gallery__media { height: 132px; }
.gallery__hint { grid-column: 1 / -1; margin: 2px 0 0; font-size: 12.5px; color: var(--ink-3); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: none; }
.lightbox.is-open { display: block; }
.lightbox__mask { position: absolute; inset: 0; background: rgba(13, 32, 39, .78); backdrop-filter: blur(3px); }
.lightbox__inner {
  position: relative; margin: 0; width: min(1000px, 92vw); max-height: 88vh; overflow: auto;
  margin: 6vh auto 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
}
.lightbox__media { display: grid; place-items: center; background: var(--bg-soft); }
.lightbox__media img { width: 100%; }
.lightbox__media svg { width: 100%; max-height: 70vh; }
.lightbox__inner figcaption { padding: 16px 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.lightbox__inner figcaption b { font-size: 17px; }
.lightbox__inner figcaption span { font-size: 14px; color: var(--ink-3); }
.lightbox__close {
  position: absolute; right: 12px; top: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; line-height: 1;
  color: var(--ink-2);
}
.lightbox__close:hover { background: var(--bg-soft); color: var(--ink); }

/* ---------- CTA band ---------- */
.band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; padding: 46px 0; }
.band__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.band h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 4px; }
.band p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; }
.band .btn--accent { background: #fff; color: var(--brand-dark); }
.band .btn--accent:hover { background: var(--accent); color: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__mask { position: absolute; inset: 0; background: rgba(13, 32, 39, .55); backdrop-filter: blur(2px); }
.modal__panel {
  position: relative; width: min(880px, 94vw); max-height: 88vh; overflow: auto; margin: 5vh auto; background: #fff;
  border-radius: 18px; box-shadow: var(--shadow-md);
}
.modal__top { display: grid; grid-template-columns: 320px 1fr; }
.modal__media { background: var(--ice); display: grid; place-items: center; padding: 30px; min-height: 260px; }
.modal__media svg { width: 150px; height: 150px; }
.modal__media img { width: 100%; border-radius: 12px; }
.modal__info { padding: 28px 30px; }
.modal__close {
  position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink-2);
}
.modal__close:hover { background: var(--bg-soft); color: var(--ink); }
.modal h3 { font-size: 22px; }
.modal__tagline { color: var(--accent-dark); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.specs { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.specs th, .specs td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.specs th { width: 40%; color: var(--ink-3); font-weight: 500; background: var(--bg-soft); }
.modal__feats li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-bottom: 7px; }
.modal__feats svg { flex: none; margin-top: 4px; }
.modal__h4 { font-size: 15px; margin-top: 18px; }

/* 详情页底部三个行动按钮 */
.modal__actions {
  border-top: 1px solid var(--line); padding: 18px 30px; display: flex; flex-wrap: wrap; gap: 10px;
  background: var(--bg-soft); position: sticky; bottom: 0;
}
.modal__actions .btn { flex: 1 1 auto; min-width: 150px; padding: 11px 16px; font-size: 14px; }
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .28); }
.btn--wa:hover { background: #1eb455; color: #fff; }
.btn--wa svg { flex: none; }

/* 详情弹窗里的报价 / 样品表单 */
.modal__view { display: block; }
.mform { padding: 28px 30px 32px; }
.mform h3 { font-size: 21px; margin-bottom: 14px; }
.mform__back {
  border: 0; background: none; padding: 0; margin-bottom: 16px; font: inherit; font-size: 13.5px;
  font-weight: 600; color: var(--brand); cursor: pointer;
}
.mform__back:hover { color: var(--brand-dark); text-decoration: underline; }
.mform__prod {
  display: flex; align-items: center; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; font-weight: 600; font-size: 15px;
}
.mform__prod svg { width: 44px; height: 44px; flex: none; }
.mform__lead { color: var(--ink-2); font-size: 14px; margin-bottom: 20px; }
.mform .form__msg { margin-top: 14px; }
.form__msg.is-err { display: block; background: #fdf1f0; border: 1px solid #f0cdc9; color: #b3261e; }
.radios { display: grid; grid-template-columns: 1fr; gap: 8px; }
.radio {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 12px; font-size: 13.5px; cursor: pointer; background: #fff;
}
.radio:hover { border-color: var(--gold-dark); }
.radio input { accent-color: var(--gold); flex: none; order: -1; width: 16px; height: 16px; }
.radio input:checked + span { font-weight: 600; color: var(--ink); }
.mform .field textarea { min-height: 78px; }

/* ---------- 询价 / 样品表单：默认完全隐藏，点按钮才生成输入界面（需求 7） ---------- */
.form-drawer {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-top: 20px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.form-drawer[hidden] { display: none; }
.form-drawer__head {
  display: flex; align-items: center; gap: 12px; padding: 14px 22px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
  font-weight: 600; font-size: 15.5px; color: var(--ink);
}
.form-drawer__close {
  margin-left: auto; border: 0; background: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--ink-3); padding: 0 2px;
}
.form-drawer__close:hover { color: var(--ink); }
.form-drawer .form { padding: 22px; }
.form-drawer .form .mform__prod { margin-top: 0; }
/* 表单里的产品型号：与产品名区分开，避免混淆（需求 4） */
.mform__model { font-style: normal; font-weight: 600; color: var(--accent-dark); margin-left: 2px; }

/* 产品卡片：只有一个按钮时占满整行 */
.card__foot .btn:only-child { flex: 1 1 100%; }

/* V2.13.49：这里原本还有一份「胶囊版」.wa-float（border-radius:999px + padding
 * 12px 20px + .wa-float__icon/.wa-float__label），与上面对浮动按钮的圆形定义
 * 直接冲突：主题模板只输出 .wa-float__tip + 30px 的 SVG，没有 __icon/__label，
 * 导致按钮变成了「54px 的圆盒里塞 20px 内边距」——图标被挤、hover 位移也不对。
 * 已删除重复定义，浮动按钮以 V2.13.29 的圆形版为准。 */

/* ---------- Cookie consent banner (GDPR) ---------- */
.cookie { position: fixed; inset: auto 0 0 0; z-index: 130; display: none; padding: 0 20px 20px; }
.cookie.is-open { display: block; animation: cookieIn .28s ease; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cookie__box {
  max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 26px; box-shadow: 0 12px 40px rgba(13, 32, 39, .22);
}
.cookie__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cookie__icon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; background: var(--brand-soft); border-radius: 9px; }
.cookie__head h3 { margin: 0; font-size: 17px; }
.cookie__text { font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; }

.cookie__cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.ccat {
  display: flex; gap: 11px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; background: var(--bg-soft);
}
.ccat--always { background: var(--bg-soft); }
.ccat__switch { position: relative; flex: none; cursor: pointer; margin-top: 1px; }
.ccat__switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.ccat__track {
  display: block; width: 38px; height: 22px; border-radius: 999px; background: #eadde1;
  transition: background .18s ease; position: relative;
}
.ccat__dot {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .22); transition: transform .18s ease;
}
.ccat__switch input:checked + .ccat__track { background: var(--gold); }
.ccat__switch input:checked + .ccat__track .ccat__dot { transform: translateX(16px); }
.ccat__switch input:focus-visible + .ccat__track { box-shadow: 0 0 0 3px rgba(221, 165, 31, .35); }
.ccat__switch input:disabled + .ccat__track { background: var(--gold-dark); opacity: .55; cursor: default; }
.ccat__body b { display: block; font-size: 13.5px; }
.ccat__body span { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; margin-top: 3px; }
.ccat__always { display: inline-block; font-size: 11px; font-style: normal; font-weight: 600; color: var(--gold-ink); margin-top: 2px; }

.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie__foot {
  display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3);
}
.cookie__foot a { font-weight: 600; }

/* ---------- Privacy policy page ---------- */
.legal { padding: 56px 0 80px; }
.legal__head { max-width: 760px; margin-bottom: 30px; }
.legal__meta {
  display: inline-flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 10px;
  font-size: 13px; color: var(--ink-3);
}
.legal__body { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
/* V2.11：独立页（About / Factory 等）正文所有段落首行缩进 2 字符
   （V2.10 用 > p 只缩进了首段，正式站正文里有嵌套容器的段落没生效） */
.legal__body p { text-indent: 2em; }
.legal__sections section { margin-bottom: 30px; scroll-margin-top: 84px; }
.legal__sections h2 { font-size: 19px; margin-bottom: 10px; }
.legal__sections p { font-size: 15px; color: var(--ink-2); }
.legal__toc {
  position: sticky; top: 88px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.legal__toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal__toc li { margin-bottom: 8px; font-size: 13.5px; }
.legal__toc a { color: var(--ink-2); display: block; line-height: 1.45; }
.legal__toc a:hover { color: var(--brand); }
.legal__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  margin-bottom: 16px; font-size: 13.5px; color: var(--ink-2);
}
.legal__card b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 5px; }

/* ---------- Admin ---------- */
.admin { display: grid; grid-template-columns: 210px 1fr; min-height: 100vh; }
.admin__side { background: #412f38; color: rgba(255, 255, 255, .72); padding: 22px 0; }
.admin__side h1 { color: #fff; font-size: 16px; padding: 0 20px 18px; margin: 0; }
.admin__side button {
  display: block; width: 100%; text-align: left; border: 0; background: transparent; color: inherit; font: inherit; font-size: 14px;
  padding: 11px 20px; cursor: pointer; border-left: 3px solid transparent;
}
.admin__side button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin__side button.is-active { background: rgba(255, 255, 255, .1); color: #fff; border-left-color: var(--accent); }
.admin__side .side-note { padding: 18px 20px; font-size: 12px; color: rgba(255, 255, 255, .45); border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 14px; }
.admin__main { background: var(--bg-soft); padding: 28px 32px 60px; overflow: hidden; }
.admin__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.admin__bar h2 { margin: 0; font-size: 21px; margin-right: auto; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.panel h3 { font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.panel h3 .spacer { margin-left: auto; }
.bi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bi { margin-bottom: 0; }
.bi label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.bi input, .bi textarea, .bi select {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font: inherit; font-size: 14px; background: #fff;
}
.bi input:focus, .bi textarea:focus { outline: none; border-color: var(--gold); }
.bi textarea { min-height: 78px; resize: vertical; }
.row { display: flex; gap: 8px; align-items: center; }
.mini { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 11px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.mini:hover { border-color: var(--brand); color: var(--brand); }
.mini--danger { color: #b3261e; border-color: #f0cdc9; }
.mini--danger:hover { color: #b3261e; border-color: #b3261e; background: #fdf1f0; }
.prod-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: var(--bg-soft); }
.prod-item__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.prod-item__head b { font-size: 14.5px; }
.prod-item__head .spacer { margin-left: auto; }
.toast {
  position: fixed; right: 22px; bottom: 22px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-size: 14px; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 200;
}
.toast.is-show { opacity: 1; }
.hint { font-size: 13px; color: var(--ink-3); background: #fff8ec; border: 1px solid #f6e2c4; border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }

/* ---------- 工厂实景（Factory，后台可换中英文字与图片） ---------- */
.factory { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; }
.factory figure { margin: 0; display: flex; flex-direction: column; }
/* 工厂实景为场景图，cover 裁切是有意为之（V2.13.11 保留） */
.factory img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; background: var(--bg-soft); }
.factory__main img { min-height: 320px; }
.factory__side { display: grid; grid-template-columns: 1fr; grid-auto-rows: minmax(0, 1fr); gap: 18px; }
.factory__side--grid { grid-template-columns: 1fr 1fr; }
.factory__side img { min-height: 150px; }
.factory figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.factory__empty {
  border: 1px dashed var(--line); border-radius: 14px; padding: 34px 20px; text-align: center;
  color: var(--ink-3); font-size: 13.5px; background: var(--bg-soft);
}

/* ---------- 通用内容页（About / FAQ / Contact 独立页） ---------- */
.page-content { padding: 44px 0 70px; }
.page-content__head { max-width: 860px; margin: 0 0 8px; }   /* 左对齐，与正文起始位置一致 */
.page-content__head h1 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 10px; }

/* 产品列表页（/products/ 与分类页）：标题与页眉拉开距离（需求 3） */
/* V2.13.27：同时补底部间距——原规则只有 padding-top，产品网格/翻页紧贴
   页脚奶油色块；现底部留 88px，翻页与页脚之间呼吸感充足。 */
/* V2.13.30：网格→翻页 56px→28px；V2.13.31：翻页→页脚 88px→44px（均缩小 50%）；
   翻页圆钮尺寸（46px）与页脚自身内边距不变。 */
.products-archive { padding: 40px 0 44px; }

/* V2.13.45：产品列表页/分类页的标题块解除 720px 限宽。
   .section__head 的 max-width 是为「首页那种居中短标题」定的，但产品页标题
   往往是「11大产品线，20余款产品满足您不同市场定位的产品需求」这种长句，
   720px 下会折出「产品需求」这样的孤立尾行。这里让它与正文同宽（= 容器内宽），
   一行排完；分类页标题本来就短，视觉无变化。 */
.products-archive .section__head { max-width: none; }

/* V2.13.40：/products/ 变成真实页面后，编辑器里写的正文显示在产品列表上方。
   只在「正文非空」时才输出这个容器，所以平时看不到任何变化。 */
.page-products__intro { padding: 36px 0 4px; max-width: 860px; }
.page-products__intro > *:first-child { margin-top: 0; }
.page-products__intro h2 { font-size: 22px; margin: 0 0 10px; }
.page-products__intro p { color: var(--ink-2); line-height: 1.75; margin: 0 0 12px; }
.page-products__intro ul { margin: 0 0 12px 20px; color: var(--ink-2); }

/* 独立页（About / Factory / FAQ / Contact）：标题与正文统一左对齐（需求 2） */
.section--page .faq { margin-left: 0; margin-right: 0; }
.section--page .about__body,
.section--page .about__body p { text-align: left; }

/* ---------- 产品详情页 ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); margin: 22px 0 4px; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

.product-detail { padding: 6px 0 46px; }
.product-detail__top { max-width: 900px; margin: 0 auto 32px; }
.product-detail__info h1 { font-size: clamp(22px, 2.7vw, 34px); margin-bottom: 10px; }
.product-detail__tagline { font-size: 16px; font-weight: 600; color: var(--tagline); margin-bottom: 12px; }
.product-detail__desc { color: var(--ink-2); margin-bottom: 14px; }
.product-detail__ph { display: grid; place-items: center; background: var(--ice); }
.product-detail__ph svg { width: 100%; height: auto; display: block; }

/* 主图 + 缩略图轮播（第 1 张为主图；只有一张时不渲染缩略图） */
.pgallery { max-width: 900px; margin: 0 auto; }
/* V2.13.48：主图区去掉边框线、底色改白（原来 --ice 浅绿，产品图是透明 PNG，
 * 底色直接透出来就成了一整块浅绿色板），让图与页面白色融为一体。
 * 只改「看得见的部分」，border-radius + overflow 保留：产品图本身留白时
 * 圆角仍然生效，不会出现直角边。 */
.pgallery__main {
  margin: 0; border-radius: var(--radius);
  overflow: hidden; background: var(--bg);
}
/* V2.13.46：主图改用等比不裁切尺寸后，竖图会很高——同时限制宽度与最大高度，
 * 让图片按自身比例缩到框内（width:auto + margin:auto 居中），
 * 不拉伸、不留内部空白、更不裁切，整台产品始终完整可见。 */
.pgallery__main img {
  display: block; margin: 0 auto; width: auto; max-width: 100%; height: auto;
  max-height: min(720px, 72vh);
}
.pgallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pgallery__thumb {
  width: 84px; height: 84px; padding: 0; border: 2px solid var(--line); border-radius: 10px;
  overflow: hidden; background: #fff; cursor: pointer; transition: border-color .15s ease, transform .15s ease;
}
/* V2.13.11：详情页小缩略图等比例完整显示 */
.pgallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pgallery__thumb:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.pgallery__thumb.is-active { border-color: var(--gold-dark); }

.product-detail__body { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-bottom: 10px; }
.product-detail__body h2 { font-size: 20px; margin: 0 0 12px; }
/* V2.9.1：详细说明段落首行缩进 2 字符（中英文版本都生效） */
.product-detail__content p { color: var(--ink-2); text-indent: 2em; }

/* Key features：黑色圆点做行首符号；绝对定位保证「换行时不再重复符号」 */
.features { list-style: none; padding: 0; margin: 0 0 26px; }
.features li { position: relative; padding-left: 22px; margin-bottom: 12px; color: var(--ink-2); line-height: 1.6; }
.features li::before {
  content: ""; position: absolute; left: 4px; top: .58em;
  width: 8px; height: 8px; border-radius: 50%; background: #111;
}

/* 详情页询盘区：按钮组 + 折叠表单 */
#product-inquiry .product-detail__actions { margin-top: 4px; }
.product-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner, .about__grid, .contact__grid, .factory, .product-detail__body { grid-template-columns: 1fr; gap: 34px; }
  .factory { gap: 18px; }
  .factory__main img { min-height: 240px; }
  .logo { max-width: 58%; }
  .logo__name { font-size: clamp(16px, 1.9vw, 21px); }
  .logo__img { height: 34px; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .hero__inner { padding: 52px 0 44px; }
  .hero__art { max-width: 520px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .pagination { margin-top: 24px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .modal__top { grid-template-columns: 1fr; }
  .modal__actions .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main .gallery__media { min-height: 240px; }
  .cookie__cats { grid-template-columns: 1fr; }
  .legal__body { grid-template-columns: 1fr; gap: 28px; }
  .legal__toc { position: static; order: -1; }
  .admin { grid-template-columns: 1fr; }
  .admin__side { padding: 14px 0; }
  .admin__side button { display: inline-block; width: auto; }
  .admin__main { padding: 20px; }
}
@media (max-width: 700px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 10px 20px 16px; box-shadow: var(--shadow-sm);
  }
  /* 手机菜单里：分类下拉改成就地展开（不是浮层），否则会溢出屏幕 */
  .nav .nav__item--drop { width: 100%; }
  .nav .nav__item--drop > a { justify-content: space-between; width: 100%; }
  .nav .navdrop { position: static; min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 4px 0 0 12px; }
  .nav .navdrop::before { display: none; }
  .nav .navdrop__item { white-space: normal; }
  .logo { max-width: 62%; }
  .logo__name { font-size: 13.5px; line-height: 1.25; }
  .logo__img { height: 26px; }
  .logo { gap: 8px; }
  .header__inner { gap: 8px 12px; }
  .logo__sub { display: none; }
  .footer .logo__name { font-size: 17px; }
  .footer .logo__img { height: 44px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__cats { grid-template-columns: 1fr 1fr; }
  .cinfo { grid-template-columns: 5.6em 1fr; gap: 6px 10px; }
  .factory__side { grid-template-columns: 1fr; grid-template-rows: none; }
  .factory__side img { min-height: 180px; }
  .burger { display: block; order: 3; }
  .lang { order: 2; }
  .header__inner { position: relative; }
  .products { grid-template-columns: 1fr; }
  /* V2.13.27：移动端分页与页脚间距同步收紧 */
  .products-archive { padding-bottom: 32px; }
  .pagination { gap: 12px; margin-top: 22px; }
  .pagination .page-numbers { min-width: 42px; height: 42px; font-size: 16px; }
  .pagination .pg-arrow { width: 18px; height: 18px; }
  .wa-float { width: 48px; height: 48px; right: 14px; bottom: 16px; }
  .caps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .stat b { font-size: 23px; }
  .bi-grid { grid-template-columns: 1fr; }
  .radios { grid-template-columns: 1fr; }
  .mform { padding: 22px 20px 26px; }
  .modal__actions { padding: 14px 20px; }
  .gallery__side { grid-template-columns: 1fr 1fr; }
  .cookie { padding: 0 10px 10px; }
  .cookie__box { padding: 18px 18px 20px; border-radius: 14px; }
  .cookie__actions { justify-content: stretch; }
  .cookie__actions .btn { flex: 1 1 100%; }
  .wa-float { right: 14px; bottom: 14px; }
  .wa-float__tip { display: none; }
}

/* ---------- 表单引导语（V2.13.49 补齐） ----------
 * template-parts/inquiry-form.php 用的是 .form__lead，而样式表里只有 .mform__lead，
 * 于是询盘/报价/样品三种表单上方那句话一直是裸 <p>（无缩进、无颜色层级）。 */
.form__lead { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }

/* ---------- 资讯 / 搜索结果列表（V2.13.49 补齐） ----------
 * index.php 一直在用 .posts / .post-item / .post-item__media / .post-item__body /
 * .post-item__meta，但样式表里一条对应规则都没有 —— 博客列表、搜索结果、归档页
 * 呈现为"标题 + 正文"的裸排版，与产品卡片的视觉语言完全不搭。
 * 这里补一套与 .card 同源的样式：白底、细边框、圆角、左图右文。 */
.posts { display: grid; gap: 22px; margin-top: 6px; }
.post-item {
  display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm);
}
.post-item__media { display: block; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.post-item__media img { display: block; width: 100%; height: 190px; object-fit: cover; }
.post-item__body h2 { font-size: 20px; margin: 0 0 8px; line-height: 1.35; }
.post-item__body h2 a { color: var(--ink); }
.post-item__body h2 a:hover { color: var(--brand-dark); }
.post-item__body p { color: var(--ink-2); font-size: 14.5px; }
.post-item__body .btn { margin-top: 6px; }
.post-item__meta { color: var(--ink-3); font-size: 13px; margin: 0 0 8px; }

@media (max-width: 860px) {
  .post-item { grid-template-columns: 1fr; gap: 16px; }
  .post-item__media img { height: auto; max-height: 240px; }
}
