/* 前台站点样式：仅作用于 body.site，不影响后台控制台 */
body.site{--navy:#0b2545;--navy2:#13315c;--orange:#ff6b2c;--ink:#17212b;--muted:#65758a;--line:#e5ebf2;--bg:#f7f9fc;background:#fff;color:var(--ink);font:15px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;overflow-x:clip}
body.site a{color:inherit}
body.site main{padding:0;min-height:auto}
body.site .wrap{max-width:1160px}

/* ---------- header ---------- */
body.site header.top{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}
/* 页头三段：Logo 靠左、主菜单在剩余空间居中、语言/搜索/询价靠右。
   原先的 1fr / auto / 1fr 三段式 grid 能让菜单相对整页精确居中，但右列 1fr
   会被「长语言名 + 长询价文案」（Deutsch / Español、Angebot anfordern）压到小于
   工具组自然宽，工具组向左溢出与菜单末项叠字，询价按钮还被挤成两行。
   由于 .wrap 最大只有 1160px，宽窗口也躲不开，故改成 flex：工具组按自然宽
   优先不被压缩，菜单在 Logo 与工具组之间居中，Logo 右侧留白同时收窄。
   flex 方向跟随 direction，阿语 RTL 自动镜像，无需另写方向规则。 */
body.site header.top .wrap{height:68px;max-width:1160px;display:flex;align-items:center;justify-content:space-between;gap:12px}
body.site .s-logo{display:flex;align-items:center;gap:11px;justify-self:start;font-size:16px;font-weight:700;letter-spacing:-.2px;color:var(--navy);white-space:nowrap}
body.site .s-logo .mark{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,var(--accent,#ff8a4c),var(--orange,#ff6b2c));display:grid;place-items:center;color:#fff;font-size:17px;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.14)}
body.site .s-logo .sub{display:block;font-size:10px;font-weight:500;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);line-height:1.2}
/* 后台上传的站点 Logo：替代「首字方块」，限制尺寸避免撑破页头导航；页脚深色底给一层白底衬。 */
body.site .s-logo img.s-logo__img{display:block;width:auto;max-width:170px;max-height:44px;object-fit:contain;flex:0 0 auto}
@media(max-width:900px){body.site .s-logo img.s-logo__img{max-width:120px;max-height:36px}}
body.site nav.top{display:flex;align-items:center;gap:4px;justify-content:center;min-width:0;flex:1 1 auto}
/* 右侧工具组（语言 / 搜索 / 询价）：贴右列末端，与主菜单分开。
   这里必须是透明底：页头 header.top 本身已是 rgba(255,255,255,.96)，
   工具组再叠一层会合成接近纯白，滚动时与页头其余区域（透出内容略灰）
   形成一块明显的白色矩形。防叠字改由结构保证：工具组 min-width:max-content
   不被压缩 + 菜单紧凑档，预算有余量，不再需要白底遮挡。
   不设 z-index，避免创建层叠上下文后把语言/搜索下拉压到菜单浮层之下。 */
body.site .s-nav-tools{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:max-content;flex:0 0 auto;justify-self:end;position:relative;background:transparent}
body.site nav.top a{margin:0;padding:8px 13px;border-radius:7px;font-size:13.5px;font-weight:500;color:#3d4c5e}
body.site nav.top a:hover,body.site nav.top a.active{color:var(--navy);background:#f1f5fa;text-decoration:none}
/* 页头控件统一 40px 高 / 9px 圆角：语言、搜索、询价、汉堡共用同一尺度，
   避免原来 27 → 34 → 41px 逐层递增的阶梯感；line-height:1 保证垂直真正居中。 */
body.site .s-nav-cta{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;font-size:13.5px;line-height:1;margin-left:10px;white-space:nowrap;background:var(--orange);color:#fff!important;font-weight:600;border-radius:9px;box-shadow:0 4px 12px rgba(255,107,44,.22)}
/* 抽屉里的 CTA 在 nav.top 内，会被 `body.site nav.top a:hover` 刷成 #f1f5fa 灰白底，
   而 color:#fff!important 仍生效 → 白字配灰白底看不见。补更高特异性的规则，
   让所有位置的询价按钮 hover 都保持与 PC 一致的橙底白字。 */
body.site .s-nav-cta:hover,
body.site nav.top .s-nav-cta:hover{background:var(--orange-dark,#ec5a1b);color:#fff;text-decoration:none}
/* 窄屏专用元素：宽屏一律隐藏，桌面三段式页头与升级前逐字一致。
   汉堡另需 html.s-js 才显示——没有 JS 时点不动，不如不出现。 */
body.site .s-menu-btn,
body.site .s-navsub-toggle,
body.site .s-mobile-extra{display:none}
/* 子栏目箭头：桌面沿用 ▾ 文本，窄屏由展开按钮的 chevron 取代 */
body.site .s-nav-caret{white-space:pre}
/* language switcher — CSS-only dropdown (no native <select>) */
/* 容器改 inline-flex：inline-block 包 inline 级按钮会多出约 4px 基线间隙，
   让 40px 按钮在工具组里视觉上偏上；下拉层是 absolute，不参与 flex 布局。 */
body.site .s-lang-dd{position:relative;display:inline-flex;align-items:center;margin-left:6px}
body.site .s-lang-toggle{position:absolute;opacity:0;width:0;height:0;pointer-events:none}
/* 工具组改透明底后，语言按钮需自带白底：否则它会透出页头的半透明灰，
   与搜索图标 / 汉堡 / 询价这些纯白控件出现色差。 */
body.site .s-lang-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;margin:0;padding:0 12px;font-size:12px;letter-spacing:.3px;color:var(--muted);border:1px solid var(--line);border-radius:9px;background:#fff;cursor:pointer;user-select:none;white-space:nowrap;line-height:1}
body.site .s-lang-btn:hover{color:var(--navy);background:#f1f5fa}
body.site .s-lang-ico{flex:none;opacity:.7}
body.site .s-lang-btn:hover .s-lang-ico{opacity:1}
body.site .s-lang-chev{flex:none;transition:transform .15s ease}
body.site .s-lang-dd:hover .s-lang-chev,
body.site .s-lang-toggle:checked ~ .s-lang-btn .s-lang-chev{transform:rotate(180deg)}
body.site .s-lang-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:128px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 10px 28px rgba(13,37,69,.14);padding:6px;display:none;z-index:30}
body.site .s-lang-dd:hover .s-lang-menu,
body.site .s-lang-toggle:checked ~ .s-lang-menu{display:block}
body.site .s-lang-item{display:flex;align-items:center;gap:8px;padding:8px 10px;font-size:13px;color:var(--ink);border-radius:6px;text-decoration:none;white-space:nowrap}
body.site .s-lang-item:hover{background:#f1f5fa;color:var(--navy);text-decoration:none}
body.site .s-lang-item.active{color:var(--navy);background:#f3f7fc;font-weight:600}

/* ---------- hero ---------- */
body.site .s-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,var(--navy,#0b2545) 0%,var(--navy2,#13315c) 62%,var(--navy-3,var(--navy2,#13315c)) 100%);color:var(--hero-ink,#fff);padding:76px 0 0}
body.site .s-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(90deg,#000,transparent 78%)}
body.site .s-hero .wrap{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;padding-bottom:76px}
body.site .s-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 13px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.08);font-size:12px;letter-spacing:.4px;color:#d8e7f8}
body.site .s-badge i{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 4px rgba(74,222,128,.2)}
body.site .s-hero h1{font-size:46px;line-height:1.15;letter-spacing:-1.2px;font-weight:750;margin:20px 0 16px;color:#fff}
body.site .s-hero h1 em{font-style:normal;color:var(--hero-em,#ffb287)}
body.site .s-hero p.lead{font-size:17px;line-height:1.75;color:var(--hero-lead,#c5d8ee);max-width:520px;margin:0 0 28px}
body.site .s-actions{display:flex;gap:12px;flex-wrap:wrap}
body.site .s-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 22px;border-radius:9px;font-size:14px;font-weight:650;cursor:pointer;border:1px solid transparent;line-height:1.3}
body.site .s-btn:hover{text-decoration:none;transform:translateY(-1px)}
body.site .s-btn.primary{background:var(--orange);color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.18)}
body.site .s-btn.primary:hover{background:#ee5a1c}
/* 描边按钮：默认按浅色背景设计（深色字 + 主色边框），首页各展示模块的「查看更多」都用它。
   深色区块（hero/色带/页头）里若复用，下面单独覆盖回白字白边。 */
body.site .s-btn.outline{border-color:var(--orange);color:var(--navy);background:transparent}
body.site .s-btn.outline:hover{background:var(--orange);color:#fff;border-color:var(--orange)}
body.site .s-hero .s-btn.outline,body.site .s-band .s-btn.outline,body.site .s-pagehead .s-btn.outline{border-color:rgba(255,255,255,.5);color:var(--hero-ink,#fff);background:rgba(255,255,255,.06)}
body.site .s-hero .s-btn.outline:hover,body.site .s-band .s-btn.outline:hover,body.site .s-pagehead .s-btn.outline:hover{background:rgba(255,255,255,.16);color:var(--hero-ink,#fff)}
body.site .s-btn.dark{background:var(--navy);color:#fff}
body.site .s-btn.small{padding:9px 16px;font-size:13px}
body.site .s-hero-card{position:relative;border-radius:16px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);padding:22px;box-shadow:0 24px 60px rgba(0,0,0,.22)}
body.site .s-hero-card .s-float{display:flex;gap:12px;align-items:center;background:#fff;border-radius:11px;padding:11px 14px;margin-top:12px;color:var(--ink);font-size:13px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
body.site .s-hero-card .s-float b{color:var(--orange);font-size:16px}
body.site .s-hero-card .s-float .ic{width:30px;height:30px;border-radius:8px;background:var(--soft,#fff1e9);display:grid;place-items:center;color:var(--orange)}
body.site .s-stats{position:relative;border-top:1px solid rgba(255,255,255,.14)}
body.site .s-stats .wrap{display:grid;grid-template-columns:repeat(4,1fr);padding:22px 0 26px}
body.site .s-stats .item{border-right:1px solid rgba(255,255,255,.14);padding-left:26px}
body.site .s-stats .item:first-child{padding-left:0}
body.site .s-stats .item:last-child{border-right:0}
body.site .s-stats b{display:block;font-size:26px;font-weight:750;color:#fff;letter-spacing:-.5px}
body.site .s-stats span{font-size:12px;color:#a9c2dd;letter-spacing:.3px}

/* ---------- sections ---------- */
body.site .s-section{padding:72px 0}
body.site .s-section.soft{background:var(--bg)}
body.site .s-head{max-width:660px;margin:0 0 34px}
body.site .s-eyebrow{display:block;font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--orange);margin-bottom:10px}
body.site .s-head h2{font-size:32px;line-height:1.25;letter-spacing:-.7px;margin:0 0 12px;color:var(--navy);font-weight:720}
body.site .s-head p{font-size:15.5px;color:var(--muted);margin:0}
body.site .s-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
body.site .s-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;transition:.2s;display:flex;flex-direction:column}
body.site .s-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(11,37,69,.1);border-color:#cddcf0}
body.site .s-thumb{height:170px;display:grid;place-items:center;position:relative;overflow:hidden}
body.site .s-thumb.t0{background:linear-gradient(135deg,#dbeafe,#93c5fd)}
body.site .s-thumb.t1{background:linear-gradient(135deg,#dcfce7,#86efac)}
body.site .s-thumb.t2{background:linear-gradient(135deg,#fef3c7,#fcd34d)}
body.site .s-thumb.t3{background:linear-gradient(135deg,#e0e7ff,#a5b4fc)}
body.site .s-thumb:before{content:"";position:absolute;width:230px;height:230px;border:1px solid rgba(255,255,255,.5);border-radius:50%;top:-90px;right:-70px}
body.site .s-thumb svg{width:96px;height:96px;color:rgba(11,37,69,.62);position:relative;filter:drop-shadow(0 6px 10px rgba(11,37,69,.14))}
body.site .s-thumb .sku{position:absolute;left:12px;top:12px;background:rgba(255,255,255,.9);color:var(--navy);font-size:11px;font-weight:700;letter-spacing:.6px;padding:4px 9px;border-radius:6px}
body.site .s-card .body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1}
body.site .s-card h3{font-size:17px;margin:0 0 8px;color:var(--navy);font-weight:680;line-height:1.35}
body.site .s-card h3 a:hover{color:var(--orange);text-decoration:none}
body.site .s-card p{font-size:13.5px;color:var(--muted);margin:0 0 16px;flex:1}
body.site .s-card .price{font-size:19px;font-weight:750;color:var(--orange);margin:0 0 14px}
body.site .s-card .price small{font-size:12px;color:var(--muted);font-weight:500}
body.site .s-card .s-btn{width:100%}
body.site .s-feature{background:#fff;border:1px solid var(--line);border-radius:13px;padding:26px 24px}
body.site .s-feature .ic{width:44px;height:44px;border-radius:11px;background:var(--soft,#fff1e9);color:var(--orange);display:grid;place-items:center;margin-bottom:16px}
body.site .s-feature .ic svg{width:23px;height:23px}
body.site .s-feature h3{font-size:16px;margin:0 0 8px;color:var(--navy)}
body.site .s-feature p{font-size:13.5px;color:var(--muted);margin:0}
body.site .s-band{background:var(--navy);color:var(--hero-ink,#fff);padding:44px 0}
body.site .s-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
body.site .s-band h2{font-size:24px;margin:0 0 6px;color:#fff}
body.site .s-band p{margin:0;color:#b7cce4;font-size:14px}
body.site .s-certs{display:flex;gap:12px;flex-wrap:wrap}
body.site .s-certs span{padding:8px 15px;border:1px solid rgba(255,255,255,.26);border-radius:8px;font-size:12.5px;letter-spacing:.4px;color:#e5eef9}

/* ---------- inner pages ---------- */
body.site .s-pagehead{background:linear-gradient(120deg,var(--navy,#0b2545),var(--navy2,#13315c));color:var(--hero-ink,#fff);padding:46px 0 42px}
body.site .s-pagehead h1{font-size:34px;margin:0 0 8px;color:var(--hero-ink,#fff);letter-spacing:-.6px}
body.site .s-pagehead p{margin:0;color:var(--hero-lead,#c1d5ec);font-size:15px}
body.site .s-crumb{font-size:12.5px;color:#9fbcda;margin-bottom:12px}
body.site .s-crumb a{color:#c8dcf0}
body.site .s-inner{padding:52px 0 76px}
body.site .s-prose{max-width:760px;font-size:15.5px;color:#41536a}
body.site .s-prose h3{color:var(--navy);font-size:19px;margin:28px 0 8px}
body.site .s-prose p{margin:0 0 14px}
body.site .s-cols2{display:grid;grid-template-columns:1.35fr .65fr;gap:38px;align-items:start}
body.site .s-search{display:flex;gap:10px;margin:0 0 26px;max-width:520px}
body.site .s-search input{flex:1;max-width:none}
body.site .s-detail{display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:start}
body.site .s-detail .s-thumb{height:340px;border-radius:14px}
body.site .s-detail .s-thumb svg{width:170px;height:170px}
body.site .s-detail h1{font-size:30px;color:var(--navy);margin:0 0 10px;letter-spacing:-.5px}
body.site .s-spec{width:100%;border-collapse:collapse;font-size:14px;margin:20px 0}
body.site .s-spec th,body.site .s-spec td{border-bottom:1px solid var(--line);padding:10px 12px;text-align:left}
body.site .s-spec th{width:38%;background:var(--bg);color:var(--muted);font-weight:600}
body.site .s-spec tr:hover td{background:#fff}

/* ---------- forms ---------- */
body.site .s-formbox{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;box-shadow:0 12px 32px rgba(11,37,69,.06)}
body.site .s-formbox h3{font-size:20px;color:var(--navy);margin:0 0 4px}
body.site .s-formbox .hint{font-size:13px;color:var(--muted);margin:0 0 18px}
body.site .s-frow{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
body.site .s-field{margin-bottom:14px}
body.site .s-field label{display:block;font-size:12.5px;font-weight:650;color:#3b4c60;margin:0 0 6px}
body.site .s-field label .req{color:var(--orange)}
body.site .s-field input,body.site .s-field textarea,body.site .s-field select{width:100%;max-width:none;padding:10px 12px;border:1px solid #dbe3ed;border-radius:8px;font:inherit;font-size:14px;background:#fff;color:var(--ink)}
body.site .s-field input:focus,body.site .s-field textarea:focus{border-color:var(--orange);outline:none;box-shadow:0 0 0 3px rgba(255,107,44,.12)}
body.site .s-field textarea{min-height:104px;resize:vertical}
body.site .s-formbox .s-btn{width:100%;margin-top:6px}
body.site .s-note{font-size:12px;color:var(--muted);margin:12px 0 0;text-align:center}
body.site .s-contact-list{list-style:none;padding:0;margin:0}
body.site .s-contact-list li{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}
body.site .s-contact-list .ic{width:34px;height:34px;flex:none;border-radius:9px;background:var(--soft,#fff1e9);color:var(--orange);display:grid;place-items:center}
body.site .s-contact-list .ic svg{width:17px;height:17px}
body.site .s-contact-list b{display:block;font-size:11.5px;color:var(--muted);font-weight:600;letter-spacing:.4px;text-transform:uppercase}
body.site .s-contact-list span{color:var(--navy);font-weight:550}
body.site .s-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;counter-reset:st}
body.site .s-step{position:relative;padding:22px 18px;background:#fff;border:1px solid var(--line);border-radius:12px}
body.site .s-step:before{counter-increment:st;content:"0" counter(st);display:block;font-size:22px;font-weight:750;color:var(--orange);margin-bottom:10px}
body.site .s-step b{display:block;color:var(--navy);font-size:14px;margin-bottom:5px}
body.site .s-step span{font-size:12.5px;color:var(--muted)}
body.site .s-ok{max-width:620px;margin:0 auto;text-align:center;padding:80px 0 100px}
body.site .s-ok .circle{width:76px;height:76px;border-radius:50%;background:#e6f7ee;color:#0f9d58;display:grid;place-items:center;margin:0 auto 22px}
body.site .s-ok .circle svg{width:38px;height:38px}
body.site .s-ok h1{font-size:30px;color:var(--navy);margin:0 0 10px}
body.site .s-ok p{color:var(--muted);font-size:15px;margin:0 0 26px}

/* ---------- footer ---------- */
body.site footer{background:var(--navy,#081c36);color:var(--footer-muted,#9fb6d1);border-top:1px solid rgba(255,255,255,.08);padding:52px 0 0}
body.site footer .wrap{max-width:1160px;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px;padding-bottom:38px}
body.site footer h4{color:var(--footer-ink,#fff);font-size:14px;margin:0 0 16px;letter-spacing:.3px}
body.site footer p,body.site footer a{font-size:13.5px;color:var(--footer-muted,#9fb6d1);line-height:1.9}
body.site footer a:hover{color:var(--footer-ink,#fff);text-decoration:none}
body.site footer ul{list-style:none;padding:0;margin:0}
body.site footer .s-logo{color:var(--footer-ink,#fff);margin-bottom:14px}
body.site footer .s-logo .sub{color:var(--footer-muted,#7f9abb)}
body.site footer .s-logo img.s-logo__img{max-width:180px;max-height:40px;padding:4px 6px;background:#fff;border-radius:6px}
body.site footer .bottom{border-top:1px solid rgba(255,255,255,.08);padding:16px 0;font-size:12px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.site main .alert{max-width:1160px;margin:18px auto 0}

body.site .s-btn svg{width:16px;height:16px}
body.site .s-hero-card>div:first-child svg{width:100%;height:100%}
body.site .s-float .ic svg{width:17px;height:17px}

/* 桌面紧凑档：.wrap 内容宽上限只有 1112px（max-width:1160 - 左右 padding），
   德语/西语菜单比英文长得多，默认 padding 下会超过「Logo 与工具组之间」的剩余空间。
   >900px 一律生效收掉约 60px；<900px 由抽屉样式接管，那里菜单是整行大字号。 */
@media(min-width:901px){
  body.site nav.top{gap:2px}
  body.site nav.top a{padding:8px 9px;font-size:13px}
  body.site .s-nav-cta--desk{padding:0 14px;font-size:13px}
  body.site .s-lang-btn{padding:0 10px}
}
/* ===== 窄屏导航（<900px）：汉堡 + 全宽下拉面板 + 子栏目手风琴 =====
   1. 页头只留 Logo / 搜索 / 汉堡；语言与询价移到抽屉底部。
   2. 无 JS（html 无 .s-js）时菜单另起一行常显，保证永远有导航入口。
   3. 有 JS 时收起为 absolute 面板，由 .is-menu-open 控制开合。
   4. 子栏目由 hover 浮层改成点击展开，缩进表达层级，无限级递归天然支持。
   5. 方向相关属性一律用 inline-start / inline-end，阿语 RTL 自动镜像。 */
@media(max-width:900px){
  body.site header.top .wrap{flex-wrap:wrap;justify-content:space-between;gap:12px}
  body.site .s-nav-tools{flex:0 0 auto}
  body.site .s-lang-dd--desk,body.site .s-nav-cta--desk{display:none}

  /* 无 JS 兜底：菜单常显，独占一行竖排在页头下方 */
  body.site nav.top{
    order:3;flex:0 0 100%;display:flex;flex-direction:column;align-items:stretch;gap:0;
    border-top:1px solid var(--line);padding:4px 0 10px;min-width:0;
  }
  body.site .s-mobile-extra{display:block;margin-top:8px}

  /* 有 JS：收起为全宽下拉面板 */
  html.s-js body.site nav.top{
    position:absolute;top:100%;left:0;right:0;order:0;flex:none;display:none;
    max-height:calc(100vh - 68px);overflow-y:auto;background:#fff;
    border-top:1px solid var(--line);border-bottom:1px solid var(--line);
    padding:6px 24px 14px;box-shadow:0 12px 28px rgba(13,37,69,.12);z-index:45;
  }
  html.s-js body.site header.top.is-menu-open nav.top{display:flex}
  html.s-js body.site .s-menu-btn{
    display:inline-flex;align-items:center;justify-content:center;
    width:40px;height:40px;margin-inline-start:4px;padding:0;
    border:1px solid var(--line);border-radius:9px;background:#fff;
    color:var(--navy);cursor:pointer;flex:0 0 auto;
  }
  body.site .s-menu-btn:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
  body.site .s-menu-bar{transform-origin:center;transition:transform .2s ease,opacity .2s ease}
  body.site header.top.is-menu-open .s-menu-bar--1{transform:translateY(5px) rotate(45deg)}
  body.site header.top.is-menu-open .s-menu-bar--2{opacity:0}
  body.site header.top.is-menu-open .s-menu-bar--3{transform:translateY(-5px) rotate(-45deg)}

  /* 菜单项：整行、大字号、分隔线；active 用品牌橙 */
  body.site nav.top > a,
  body.site nav.top > .s-navitem > a{
    display:block;width:100%;margin:0;padding:12px 4px;font-size:15px;
    border-radius:0;border-bottom:1px solid var(--line);white-space:normal;
  }
  body.site nav.top > a:hover,body.site nav.top > a.active,
  body.site nav.top > .s-navitem > a.active{background:transparent;color:var(--orange);text-decoration:none}
  body.site nav.top .s-navitem{position:relative;display:block;width:100%}
  body.site nav.top .s-nav-caret{display:none}

  /* 展开按钮覆盖父链接右侧热区，点箭头即展开、点名称仍进栏目页 */
  body.site nav.top .s-navsub-toggle{
    display:inline-flex;align-items:center;justify-content:center;
    position:absolute;inset-inline-end:0;top:0;width:46px;height:46px;
    border:0;background:transparent;color:var(--muted);cursor:pointer;padding:0;
  }
  body.site nav.top .s-navsub-toggle:focus-visible{outline:2px solid var(--orange);outline-offset:-4px}
  body.site nav.top .s-navsub-toggle:after{
    content:"";display:block;width:8px;height:8px;margin-top:-4px;
    border-right:2px solid currentColor;border-bottom:2px solid currentColor;
    transform:rotate(45deg);transition:transform .2s ease;
  }
  body.site nav.top .s-navitem.is-open > .s-navsub-toggle:after{transform:rotate(-135deg);margin-top:4px}

  /* 覆盖桌面的 hover 浮层规则（原规则无 nav.top 限定，这里用更高特异性） */
  body.site nav.top .s-navsub,
  body.site nav.top .s-navsub .s-navsub{
    display:none;position:static;left:auto;right:auto;top:auto;
    min-width:0;width:100%;margin:0;padding-inline-start:16px;padding-bottom:6px;
    border:0;border-radius:0;box-shadow:none;background:transparent;
  }
  body.site nav.top .s-navitem:hover > .s-navsub,
  body.site nav.top .s-navitem:focus-within > .s-navsub{display:none}
  body.site nav.top .s-navitem.is-open > .s-navsub{display:block}
  body.site nav.top .s-navsub .s-navitem-link,
  body.site nav.top .s-navsub .s-navitem > a{
    display:block;width:100%;padding:10px 4px;font-size:14px;
    border-bottom:1px solid var(--line);white-space:normal;
  }

  /* 抽屉底部：语言平铺 + 整宽询价按钮 */
  body.site .s-mobile-langs{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0}
  body.site .s-mobile-lang{
    display:inline-block;padding:7px 13px;font-size:12px;
    border:1px solid var(--line);border-radius:20px;color:var(--muted);text-decoration:none;
  }
  body.site .s-mobile-lang.active{border-color:var(--orange);color:var(--orange);background:#fff5f0}
  body.site nav.top .s-nav-cta.s-mobile-cta{
    display:block;height:auto;line-height:1.5;margin:6px 0 2px;padding:12px 18px;text-align:center;border-radius:9px;
  }
  /* 无 JS：按钮点不动，子栏目直接平铺展开，三级内容也不会丢失 */
  html:not(.s-js) body.site nav.top .s-navsub,
  html:not(.s-js) body.site nav.top .s-navsub .s-navsub{display:block}
  html:not(.s-js) body.site nav.top .s-navsub-toggle{display:none}
}
@media(max-width:900px){
  body.site .s-hero .wrap{grid-template-columns:1fr;padding-bottom:52px}
  body.site .s-hero-card{display:none}
  body.site .s-hero h1{font-size:36px}
  body.site .s-grid{grid-template-columns:repeat(2,1fr)}
  body.site .s-steps{grid-template-columns:repeat(2,1fr)}
  body.site .s-cols2,body.site .s-detail{grid-template-columns:1fr}
  body.site footer .wrap{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  body.site header.top .wrap{height:60px}
  body.site .s-hero{padding-top:48px}
  body.site .s-hero h1{font-size:29px}
  body.site .s-stats .wrap{grid-template-columns:repeat(2,1fr);gap:16px}
  body.site .s-stats .item{padding-left:14px;border-right:0}
  body.site .s-section{padding:48px 0}
  body.site .s-head h2{font-size:26px}
  body.site .s-grid,body.site .s-steps,body.site .s-frow,body.site footer .wrap{grid-template-columns:1fr}
  body.site .s-pagehead h1{font-size:27px}
}

/* ---- v1.8 真实产品图：有图时覆盖 SVG 占位样式 ---- */
body.site .s-thumb.has-image{background:var(--soft);display:block}
body.site .s-thumb.has-image:before{display:none}
body.site .s-thumb.has-image img{width:100%;height:100%;object-fit:cover;display:block;position:relative}
body.site .s-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}
body.site .s-gallery a{display:block;border-radius:8px;overflow:hidden;border:1px solid var(--line)}
body.site .s-gallery img{width:100%;height:78px;object-fit:cover;display:block;transition:transform .2s}
body.site .s-gallery a:hover img{transform:scale(1.05)}
@media(max-width:760px){body.site .s-gallery{grid-template-columns:repeat(3,1fr)}}

/* ---- v1.9 CMS 内核：五种渲染器共用一套前台样式 ---- */
body.site .s-navitem{position:relative;display:inline-block}
body.site .s-navitem>a{white-space:nowrap}
body.site .s-navsub{display:none;position:absolute;left:0;top:100%;min-width:200px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 34px rgba(11,37,69,.16);padding:6px;z-index:40}
body.site .s-navitem:hover .s-navsub,body.site .s-navitem:focus-within .s-navsub{display:block}
body.site .s-navsub .s-navitem{display:block;width:100%}
body.site .s-navsub .s-navsub{left:100%;top:-6px}
body.site .s-navitem-link{display:block;padding:7px 10px;color:var(--navy);text-decoration:none;font-size:13px;white-space:nowrap}
body.site .s-navitem-link:hover,body.site .s-navitem-link.active{color:var(--orange);font-weight:600}
body.site .cms-children{display:flex;flex-wrap:wrap;gap:8px;padding:18px 0 0}
body.site .cms-chip{display:inline-block;padding:7px 15px;border:1px solid var(--line);border-radius:22px;color:var(--navy);text-decoration:none;font-size:13px;background:#fff}
body.site .cms-chip:hover{border-color:var(--orange);color:var(--orange)}
body.site .cms-page{max-width:820px;font-size:16px;line-height:1.85;color:#2c3a4b}
body.site .cms-page h3,body.site .cms-page h4{color:var(--navy);margin:24px 0 8px}
body.site .cms-page img{max-width:100%;height:auto;border-radius:var(--radius)}
body.site .cms-page-cover{width:100%;max-height:420px;object-fit:cover;margin-bottom:22px}
body.site .cms-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}
body.site .cms-gallery img{width:100%;height:150px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
/* 相册：淘宝式主图 + 缩略图切换（多图时启用；单图仍是 cms-entry-cover 大图） */
body.site .cgal{margin:0 0 24px;min-width:0;max-width:100%}
body.site .cgal-stage{position:relative;width:100%;max-width:100%;height:460px;background:var(--soft,#f7f9fc);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;align-items:center;justify-content:center}
body.site .cgal-main{display:block;width:100%;height:100%;object-fit:contain}
body.site .cgal-count{position:absolute;right:12px;bottom:12px;background:rgba(11,37,69,.72);color:#fff;font-size:12px;line-height:1;padding:6px 11px;border-radius:20px;letter-spacing:.3px}
body.site .cgal-count b{font-weight:700}
body.site .cgal-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:var(--navy);font-size:26px;line-height:1;cursor:pointer;box-shadow:0 2px 10px rgba(11,37,69,.16);display:grid;place-items:center;opacity:0;transition:opacity .15s}
body.site .cgal-stage:hover .cgal-arrow{opacity:1}
body.site .cgal-arrow:hover{background:var(--orange);color:#fff}
body.site .cgal-arrow--prev{left:12px}
body.site .cgal-arrow--next{right:12px}
/* 缩略图条：单行横向滚动（窄屏也不换行，左右滑动查看）；隐藏滚动条但保留触摸/触控板滑动 */
body.site .cgal-thumbs{display:flex;flex-wrap:nowrap;gap:10px;margin-top:9px;padding:3px 2px;max-width:100%;box-sizing:border-box;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scrollbar-width:none}
body.site .cgal-thumbs::-webkit-scrollbar{display:none}
body.site .cgal-thumb{flex:0 0 auto;scroll-snap-align:start;width:76px;height:76px;padding:0;border:2px solid var(--line);border-radius:8px;background:#fff;overflow:hidden;cursor:pointer;transition:border-color .15s,transform .15s}
body.site .cgal-thumb:hover{border-color:var(--navy);transform:translateY(-1px)}
body.site .cgal-thumb.is-active{border-color:var(--orange);box-shadow:0 0 0 2px rgba(255,107,44,.2)}
body.site .cgal-thumb img{display:block;width:100%;height:100%;object-fit:cover}
/* 点击主图放大的全屏遮罩 */
body.site .cgal-lightbox{position:fixed;inset:0;z-index:2000;background:rgba(8,20,38,.92);display:flex;align-items:center;justify-content:center;padding:40px}
body.site .cgal-lb-img{max-width:100%;max-height:100%;object-fit:contain;border-radius:4px}
body.site .cgal-lb-close,.cgal-lb-nav{position:absolute;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;cursor:pointer;display:grid;place-items:center}
body.site .cgal-lb-close:hover,.cgal-lb-nav:hover{background:var(--orange)}
body.site .cgal-lb-close{top:20px;right:24px;width:42px;height:42px;font-size:26px;line-height:1}
body.site .cgal-lb-nav{top:50%;transform:translateY(-50%);width:48px;height:48px;font-size:30px;line-height:1}
body.site .cgal-lb-prev{left:24px}
body.site .cgal-lb-next{right:24px}
@media(max-width:600px){
  body.site .cgal-stage{height:auto;aspect-ratio:1/1}
  body.site .cgal-arrow{opacity:1}
  body.site .cgal-thumb{width:60px;height:60px}
}
body.site .cms-inquiry{max-width:640px;margin:40px auto 0}
/* FAQ：折叠 / 平铺同一套 DOM，只换容器类 */
body.site .cms-faq{max-width:820px;margin:0 auto}
body.site .cms-faq-item{border:1px solid var(--line);border-radius:var(--radius);margin-bottom:10px;background:#fff;overflow:hidden}
body.site .cms-faq-item summary{padding:15px 18px;cursor:pointer;font-weight:600;color:var(--navy);list-style:none}
body.site .cms-faq-item summary::-webkit-details-marker{display:none}
body.site .cms-faq-item summary:before{content:"+";display:inline-block;width:22px;color:var(--orange);font-weight:700}
body.site .cms-faq-item[open] summary:before{content:"−"}
body.site .cms-faq-item[open] summary{color:var(--orange)}
body.site .cms-faq-body{padding:0 18px 16px 40px;color:#4a5866;line-height:1.8}
body.site .cms-faq.plain .cms-faq-item summary:before{content:"Q ·";width:auto;margin-right:8px}
body.site .cms-faq.plain .cms-faq-item summary{cursor:default}
/* 文章列表 / 卡片 */
body.site .cms-articles.list{max-width:860px;margin:0 auto}
body.site .cms-article{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}
/* 列按类名固定分配，不再依赖「图片节点是否存在」的 DOM 顺序 */
body.site .cms-article .cms-article-img{grid-column:1}
body.site .cms-article .cms-article-body{grid-column:2}
/* 无封面时若仍留 210px 空列，文字块会被压成窄条：整行改为单列 */
body.site .cms-article.no-cover{grid-template-columns:minmax(0,1fr)}
body.site .cms-article.no-cover .cms-article-body{grid-column:1}
body.site .cms-article-img{display:block;height:140px;border-radius:8px;overflow:hidden;background:var(--soft)}
body.site .cms-article-img img{width:100%;height:100%;object-fit:cover}
body.site .cms-article h2{margin:0 0 6px;font-size:21px}
body.site .cms-article h2 a{color:var(--navy);text-decoration:none}
body.site .cms-article h2 a:hover{color:var(--orange)}
body.site .cms-article time{font-size:12px;color:var(--muted)}
body.site .cms-article p{color:#4a5866;margin:8px 0}
body.site .cms-more{color:var(--orange);font-size:13px;font-weight:600;text-decoration:none}
body.site .cms-articles.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
body.site .cms-articles.cards .cms-article{display:block;border:1px solid var(--line);border-radius:var(--radius);padding:0;overflow:hidden}
body.site .cms-articles.cards .cms-article-img{height:170px;border-radius:0}
body.site .cms-articles.cards .cms-article>div{padding:16px}
/* 图片网格 / 瀑布 */
body.site .cms-images.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
body.site .cms-images.masonry{columns:3;column-gap:14px}
body.site .cms-image{display:block;position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);margin-bottom:14px;background:var(--soft);text-decoration:none}
body.site .cms-images.grid .cms-image{margin-bottom:0}
body.site .cms-image img{width:100%;height:230px;object-fit:cover;display:block;transition:transform .25s}
body.site .cms-image:hover img{transform:scale(1.04)}
body.site .cms-image-empty{display:grid;place-items:center;height:230px;color:var(--muted)}
body.site .cms-image-empty svg{width:56px;height:56px}
body.site .cms-image-cap{position:absolute;left:0;right:0;bottom:0;padding:24px 14px 12px;background:linear-gradient(transparent,rgba(6,20,38,.82));color:#fff;display:flex;flex-direction:column}
body.site .cms-image-cap small{opacity:.8}
/* 产品列表形态（网格复用 .s-grid） */
body.site .cms-product-list{display:flex;flex-direction:column;gap:12px}
body.site .cms-prod-row{display:grid;grid-template-columns:150px 1fr 170px;gap:18px;align-items:center;border:1px solid var(--line);border-radius:var(--radius);padding:12px;background:#fff}
body.site .cms-prod-thumb .s-thumb{height:110px}
body.site .cms-prod-row h2{font-size:19px;margin:0 0 6px}
body.site .cms-prod-row h2 a{color:var(--navy);text-decoration:none}
body.site .cms-prod-row p{color:var(--muted);margin:0 0 6px}
body.site .cms-prod-side{text-align:right}
body.site .cms-prod-side b{display:block;color:var(--orange);margin-bottom:8px}
/* 详情页 */
body.site .cms-entry{display:grid;grid-template-columns:1fr 360px;gap:28px;align-items:start}
body.site .cms-entry-main{font-size:15.5px;line-height:1.85;color:#2c3a4b;min-width:0;max-width:100%}
body.site .cms-entry-cover{width:100%;max-height:460px;object-fit:cover;border-radius:var(--radius);margin-bottom:18px}
body.site .cms-body h3,body.site .cms-body h4{color:var(--navy);margin:22px 0 8px}
body.site .cms-body img{max-width:100%;height:auto;border-radius:8px}
/* 正文段落：AI / 手工粘贴的纯文本都会被规范成 <p>，这里保证段间留白、列表与加粗可读 */
body.site .cms-body p,body.site .cms-page p{margin:0 0 16px}
body.site .cms-body ul,body.site .cms-body ol,body.site .cms-page ul,body.site .cms-page ol{margin:0 0 16px;padding-left:22px}
body.site .cms-body li,body.site .cms-page li{margin:0 0 6px}
body.site .cms-body strong,body.site .cms-page strong{color:var(--navy)}
body.site .cms-spec{border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-bottom:20px;background:var(--soft)}
body.site .cms-spec table{width:100%;border-collapse:collapse;font-size:14px}
body.site .cms-spec th{text-align:left;color:var(--muted);font-weight:500;width:150px;padding:5px 0}
body.site .cms-spec td{padding:5px 0}
body.site .cms-price{font-size:24px;font-weight:700;color:var(--orange);margin-bottom:10px}
body.site .cms-price small{font-size:13px;color:var(--muted);font-weight:400}
body.site .cms-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:22px}
body.site .cms-meta div{border-left:3px solid var(--orange);padding:6px 12px;background:var(--soft)}
body.site .cms-meta b{display:block;font-size:12px;color:var(--muted)}
body.site .cms-entry-side{position:sticky;top:20px}
body.site .cms-relations{margin-top:8px}
body.site .cms-rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:14px}
body.site .cms-rel-card{display:block;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;transition:.15s;color:inherit;text-decoration:none}
body.site .cms-rel-card:hover{border-color:var(--orange);box-shadow:0 6px 18px rgba(20,40,80,.08);transform:translateY(-2px)}
body.site .cms-rel-thumb{aspect-ratio:16/10;background:var(--soft)}
body.site .cms-rel-thumb img{width:100%;height:100%;object-fit:cover;display:block}
body.site .cms-rel-name{font-size:15px;font-weight:650;color:var(--navy);padding:10px 12px 2px}
body.site .cms-rel-card p{margin:0;padding:0 12px 12px;font-size:12.5px;color:var(--muted)}
body.site .cms-faq{margin-top:14px;border-top:1px solid var(--line)}
body.site .cms-faq-item{border-bottom:1px solid var(--line)}
body.site .cms-faq-item summary{cursor:pointer;padding:13px 4px;font-weight:600;color:var(--navy);list-style:none}
body.site .cms-faq-item summary::-webkit-details-marker{display:none}
body.site .cms-faq-item summary::before{content:"+";display:inline-block;width:18px;color:var(--orange);font-weight:700}
body.site .cms-faq-item[open] summary::before{content:"\2212"}
body.site .cms-faq-body{padding:0 4px 14px;color:#2c3a4b;font-size:14.5px;line-height:1.8}
@media(max-width:900px){
  body.site .cms-entry{grid-template-columns:1fr}
  body.site .cms-images.grid,body.site .cms-articles.cards{grid-template-columns:repeat(2,1fr)}
  body.site .cms-images.masonry{columns:2}
  body.site .cms-prod-row{grid-template-columns:110px 1fr}
  body.site .cms-prod-side{grid-column:1/-1;text-align:left}
}
@media(max-width:600px){
  body.site .cms-article{grid-template-columns:1fr}
  /* 窄屏统一单列：有封面时图片在上、文字在下，无封面时文字直接占第一行 */
  body.site .cms-article .cms-article-img,
  body.site .cms-article .cms-article-body{grid-column:1}
  body.site .cms-article-img{height:180px}
  body.site .cms-images.grid,body.site .cms-articles.cards{grid-template-columns:1fr}
  body.site .cms-images.masonry{columns:1}
  body.site .cms-gallery{grid-template-columns:repeat(2,1fr)}
}

/* ---- v2.0 首页槽位：复用 .s-card / .s-grid，只补少量新布局 ---- */
body.site .s-stats--alone{background:linear-gradient(120deg,var(--navy),var(--navy2));margin:0}
body.site .s-hero-illust{height:190px;display:grid;place-items:center;color:rgba(255,255,255,.92)}
body.site .s-hero-illust>div{width:150px;height:150px}
body.site .s-hero-photo{height:190px;overflow:hidden}
body.site .s-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}
body.site .s-more{margin-top:26px}
body.site .s-section--tight{padding:48px 0}
body.site .s-head.center{text-align:center}
body.site .s-chips{display:flex;flex-wrap:wrap;gap:10px}
body.site .s-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--navy);text-decoration:none;font-size:13.5px}
body.site .s-chip:hover{border-color:var(--orange);color:var(--orange)}
body.site .s-chip svg{width:14px;height:14px}
body.site .s-case-img{display:block;height:170px;overflow:hidden;background:var(--soft)}
body.site .s-case-img img{width:100%;height:100%;object-fit:cover}
body.site .s-case-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted);margin-bottom:12px}
body.site .s-case-meta span{background:var(--soft);padding:3px 9px;border-radius:6px}
body.site .s-news{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
body.site .s-news-item{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
body.site .s-news-img{display:block;height:150px;background:var(--soft)}
body.site .s-news-img img{width:100%;height:100%;object-fit:cover}
body.site .s-news-item>div{padding:16px}
body.site .s-news-item time{font-size:12px;color:var(--muted)}
body.site .s-news-item h3{font-size:16px;margin:6px 0;color:var(--navy)}
body.site .s-news-item h3 a{color:inherit;text-decoration:none}
body.site .s-news-item p{font-size:13px;color:var(--muted);margin:0}
body.site .s-faqmini{max-width:820px;margin:0 auto}
body.site .s-faqmini-item{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-bottom:10px;overflow:hidden}
body.site .s-faqmini-item summary{padding:14px 18px;cursor:pointer;color:var(--navy);font-weight:600;list-style:none}
body.site .s-faqmini-item summary::-webkit-details-marker{display:none}
body.site .s-faqmini-item summary::before{content:"+";display:inline-block;width:20px;color:var(--orange)}
body.site .s-faqmini-item[open] summary::before{content:"\2212"}
body.site .s-faqmini-item>div{padding:0 18px 16px 38px;color:#4a5866;line-height:1.8;font-size:14px}
body.site .s-aboutmini{display:grid;grid-template-columns:.7fr 1.3fr;gap:38px;align-items:start}
body.site .s-aboutmini-body{font-size:15.5px;line-height:1.9;color:#2c3a4b}
body.site .s-gal{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
body.site .s-gal img{width:100%;height:170px;object-fit:cover;border-radius:var(--radius);border:1px solid var(--line);display:block}
body.site .s-certs--center{justify-content:center}
@media(max-width:900px){
  body.site .s-news{grid-template-columns:repeat(2,1fr)}
  body.site .s-gal{grid-template-columns:repeat(3,1fr)}
  body.site .s-aboutmini{grid-template-columns:1fr;gap:18px}
}
@media(max-width:600px){
  body.site .s-news,body.site .s-gal{grid-template-columns:1fr}
  body.site .s-hero-photo,body.site .s-hero-illust{height:150px}
}

/* ---- 栏目驱动的首页区块：四套通用模板，复用 s-section / s-grid / s-news / s-gal ---- */
body.site .hb-section .s-head h2{font-size:32px;line-height:1.25;letter-spacing:-.7px;margin:0 0 12px;color:var(--navy);font-weight:720}
body.site .hb-section .s-head p{font-size:15.5px;color:var(--muted);margin:0}
body.site .hb-split-wrap{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
body.site .hb-split-media{height:340px;border-radius:var(--radius);overflow:hidden;background:var(--soft);border:1px solid var(--line)}
body.site .hb-split-media img{width:100%;height:100%;object-fit:cover;display:block}
body.site .hb-flip .hb-split-media{order:2}
body.site .hb-split-body h2{font-size:32px;line-height:1.3;letter-spacing:-.6px;margin:0 0 16px;color:var(--navy);font-weight:720}
body.site .hb-lead{font-size:15.5px;line-height:1.9;color:#2c3a4b;margin:0}
body.site .hb-split-body .s-more{margin-top:22px}
body.site .hb-ph{height:100%;min-height:340px;display:grid;place-items:center;background:linear-gradient(135deg,#e8eef7,#c9d9ee);color:rgba(11,37,69,.55);font-size:17px;font-weight:600;letter-spacing:1px;padding:24px;text-align:center}
body.site .hb-ph--card{min-height:170px;height:170px;font-size:14px}
body.site .hb-card-img{display:block;height:170px;overflow:hidden;background:var(--soft)}
body.site .hb-card-img img{width:100%;height:100%;object-fit:cover;display:block}
body.site .s-card h3 a{color:inherit;text-decoration:none}
body.site .s-card h3 a:hover{color:var(--orange)}
body.site .hb-gal-item{display:block;overflow:hidden;border-radius:var(--radius);border:1px solid var(--line)}
body.site .hb-section .s-gal a img{transition:transform .25s}
body.site .hb-section .s-gal a:hover img{transform:scale(1.05)}
@media(max-width:900px){
  body.site .hb-split-wrap{grid-template-columns:1fr;gap:24px}
  body.site .hb-split-media{height:240px}
  body.site .hb-split-media .hb-ph{min-height:240px}
  body.site .hb-flip .hb-split-media{order:0}
  body.site .hb-split-body h2{font-size:26px}
}
@media(max-width:600px){
  body.site .hb-split-media{height:200px}
  body.site .hb-split-media .hb-ph{min-height:200px}
}

/* ================= 通用分页条（前台栏目页，app/views/_pager.php） ================= */
body.site .pager{display:flex;align-items:center;justify-content:center;gap:16px;padding:28px 0 8px;font-size:13px;color:var(--muted);flex-wrap:wrap}
body.site .pager__info{order:2;width:100%;text-align:center}
body.site .pager__info b{color:var(--navy)}
body.site .pager__pages{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
body.site .pager__pages a,body.site .pager__pages span.is-active,body.site .pager__pages span.is-disabled{min-width:34px;height:34px;padding:0 11px;border-radius:8px;font-size:13px;font-weight:700;color:var(--navy);border:1px solid var(--line);background:#fff;display:inline-grid;place-items:center;text-decoration:none;white-space:nowrap}
body.site .pager__pages a:hover{border-color:var(--orange);color:var(--orange)}
body.site .pager__pages span.is-active{background:var(--orange);border-color:var(--orange);color:#fff}
body.site .pager__pages span.is-disabled{opacity:.5;background:#f8fafc;color:var(--muted)}
body.site .pager__pages .pager__dots{min-width:20px;height:34px;display:inline-grid;place-items:center;color:var(--muted)}
@media(max-width:600px){body.site .pager{gap:10px;padding:20px 0 4px}body.site .pager__pages a,body.site .pager__pages span.is-active,body.site .pager__pages span.is-disabled{min-width:30px;height:30px;padding:0 8px;font-size:12px}}

/* ===== 导航全站搜索：一个图标，点开浮层，绝不挤压导航宽度 ===== */
body.site .s-search-dd{position:relative;display:inline-flex;align-items:center;margin-left:6px}
body.site .s-search-toggle{position:absolute;opacity:0;width:0;height:0;pointer-events:none}
/* 与窄屏汉堡同为 40×40 / 9px 圆角，移动端两个图标按钮不再一大一小。
   margin:0 抵掉 app.css 对 label 的 12px 0 5px，图标尺寸也与汉堡对齐。 */
body.site .s-search-btn{display:inline-grid;place-items:center;width:40px;height:40px;margin:0;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#fff;cursor:pointer;transition:color .15s,border-color .15s,background .15s}
body.site .s-search-btn svg{width:20px;height:20px}
body.site .s-search-btn:hover,body.site .s-search-toggle:checked ~ .s-search-btn{color:var(--orange);border-color:var(--orange);background:#fff7f3}
body.site .s-search-pop{display:none;position:absolute;top:calc(100% + 12px);right:0;width:340px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 44px rgba(11,37,69,.18);z-index:50}
body.site .s-search-toggle:checked ~ .s-search-pop{display:block}
body.site .s-search-form{display:flex;align-items:center;gap:8px}
body.site .s-search-form input{flex:1;min-width:0;height:38px;padding:0 12px;border:1px solid var(--line);border-radius:8px;font-size:13px;color:var(--ink);background:#fff}
body.site .s-search-form input:focus{outline:none;border-color:var(--orange)}
/* 提交按钮不再吃 .s-btn 的 12px 上下内边距（原来 44px，比输入框 38px 高一截）：
   统一 38px 高、8px 圆角；hover 不上移、阴影收敛，顶底边始终与输入框对齐。 */
body.site .s-search-form .s-btn{flex:0 0 auto;height:38px;padding:0 22px;font-size:14px;line-height:1;border-radius:8px;box-shadow:0 4px 10px rgba(255,107,44,.2)}
body.site .s-search-form .s-btn:hover{transform:none}
/* 搜索浮层下方的说明文案已按需求移除（原 .s-search-hint），弹层只留输入框与按钮。 */

/* ===== 全站搜索结果：有封面走两列，无封面整行单列 ===== */
body.site .s-result-count{margin:0 0 18px;font-size:14px;color:var(--muted)}
body.site .s-result-count b{color:var(--navy)}
body.site .s-results{display:flex;flex-direction:column}
body.site .s-result{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;padding:18px 0;border-bottom:1px solid var(--line);color:inherit;text-decoration:none;align-items:start}
body.site .s-result:hover{text-decoration:none;background:#fbfdff}
body.site .s-result.no-cover{grid-template-columns:minmax(0,1fr)}
body.site .s-result-img{display:block;width:180px;height:120px;border-radius:10px;overflow:hidden;background:var(--soft)}
body.site .s-result-img img{width:100%;height:100%;object-fit:cover;display:block}
body.site .s-result-body{display:block;min-width:0}
body.site .s-result-type{display:inline-block;margin-bottom:6px;font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--orange)}
body.site .s-result-body h2{margin:0 0 6px;font-size:18px;line-height:1.4;color:var(--navy)}
body.site .s-result:hover .s-result-body h2{color:var(--orange)}
body.site .s-result-body p{margin:0 0 6px;font-size:13.5px;color:var(--muted)}
body.site .s-result-body time{font-size:11.5px;color:#9aa8b8}
@media(max-width:620px){
  body.site .s-search-dd{margin-left:4px}
  body.site .s-search-pop{position:fixed;top:66px;left:14px;right:14px;width:auto}
  body.site .s-result{grid-template-columns:92px minmax(0,1fr);gap:12px;padding:14px 0}
  body.site .s-result-img{width:92px;height:78px}
  body.site .s-result-body h2{font-size:15.5px}
  body.site .s-result.no-cover{grid-template-columns:minmax(0,1fr)}
}

/* 首页轮播：默认图与内容帧共用版式，文字 HTML 叠加（切语言跟着变），图片各语言共用 */
body.site .s-banner{position:relative;overflow:hidden;background:var(--navy,#0b2545)}
/* 电脑端高度可由租户在「站点设置 → 首页轮播图」里填纯数字 px 覆盖：视图只在设置有效时
   给 section 写 --banner-h，这里 var 带 420px 兜底，老站不填值完全走原样。
   下面 @media(max-width:620px) 的 300px 是写死的，故意不读变量：自定义只管电脑端。 */
body.site .s-banner-track{position:relative;height:var(--banner-h,420px)}
body.site .s-banner-slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;pointer-events:none}
body.site .s-banner-slide.is-active{opacity:1;pointer-events:auto}
body.site .s-banner-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* 兜底帧：没有任何轮播图时，前台按当前租户 / 语言实时绘一张 SVG 欢迎页。
   SVG 只画背景（渐变、光晕、点阵、同心圆、弧线），文案见下面 HTML 叠加层；
   不落盘生成静态文件，改站名 / 加语言刷新即生效；上传第一张图后整帧自动不出现。 */
body.site .s-banner-default{position:absolute;inset:0;overflow:hidden;background:linear-gradient(120deg,var(--navy,#0b2545) 0%,var(--navy2,#13315c) 55%,var(--navy-3,var(--navy2,#13315c)) 100%)}
body.site .s-banner-welcome-svg{position:absolute;inset:0;display:block;width:100%;height:100%}
body.site .s-welcome{position:relative;max-width:820px}
body.site .s-welcome__eyebrow{display:inline-block;margin-bottom:18px;padding:5px 13px;border:1px solid rgba(255,255,255,.38);border-radius:100px;font-size:11px;letter-spacing:2px;text-transform:uppercase;line-height:1.4;color:rgba(255,255,255,.9);background:rgba(255,255,255,.08)}
body.site .s-welcome__title{margin:0 0 16px;font-size:clamp(28px,3.6vw,46px);line-height:1.24;font-weight:700;letter-spacing:-.5px;color:#fff;text-shadow:0 2px 22px rgba(0,0,0,.32);overflow-wrap:anywhere}
body.site .s-welcome__name{color:var(--hero-em,#ffd39b)}
/* 前缀带 .s-banner-cap 提高特异性，压过通用的 .s-banner-cap p 的 margin / 字号。 */
body.site .s-banner-cap p.s-welcome__sub{margin:0;font-size:16px;line-height:1.7;color:rgba(255,255,255,.82)}
body.site .s-banner-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,18,36,.80),rgba(4,18,36,.15) 72%)}
body.site .s-banner-cap{position:absolute;inset:0;display:flex;align-items:center}
body.site .s-banner-cap .wrap{color:#fff;max-width:760px}
body.site .s-banner-cap h2{margin:0 0 14px;font-size:38px;line-height:1.25;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.35)}
body.site .s-banner-cap p{margin:0 0 20px;font-size:16px;line-height:1.7;color:rgba(255,255,255,.9)}
body.site .s-banner-go{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--navy,#0b2545);font-size:21px;text-decoration:none;box-shadow:0 6px 20px rgba(0,0,0,.18)}
body.site .s-banner-go:hover{background:var(--orange,#ff6b2c);color:#fff}
body.site .s-banner-dots{position:absolute;bottom:18px;left:0;right:0;display:flex;gap:8px;justify-content:center;z-index:3}
body.site .s-banner-dots button{width:9px;height:9px;border:0;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer;padding:0;transition:width .2s ease}
body.site .s-banner-dots button.is-active{background:#fff;width:22px;border-radius:5px}
body.site .s-banner-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.85);color:var(--navy,#0b2545);font-size:22px;line-height:1;cursor:pointer}
body.site .s-banner-arrow.prev{left:16px}
body.site .s-banner-arrow.next{right:16px}
@media(max-width:620px){
  body.site .s-banner-track{height:300px}
  body.site .s-banner-cap h2{font-size:24px}
  body.site .s-banner-cap p{font-size:14px}
  body.site .s-welcome__eyebrow{margin-bottom:12px;padding:4px 10px;font-size:10px;letter-spacing:1.5px}
  body.site .s-welcome__title{font-size:clamp(20px,6vw,26px);margin-bottom:10px}
  body.site .s-banner-cap p.s-welcome__sub{font-size:13px}
  body.site .s-banner-arrow{display:none}
  body.site .s-banner-shade{background:linear-gradient(90deg,rgba(4,18,36,.85),rgba(4,18,36,.35))}
}

/* ===== RTL：阿拉伯语整站镜像 =====
   仅在 <html dir="rtl"> 时生效，LTR 语言的样式一行都不改。
   语言清单里给 ar 打了 rtl 标记，layout.php 据此输出 dir。 */
html[dir="rtl"] body.site{direction:rtl;text-align:right}
html[dir="rtl"] body.site .s-nav-cta{margin-left:0;margin-right:10px}
html[dir="rtl"] body.site .s-lang-dd,
html[dir="rtl"] body.site .s-search-dd{margin-left:0;margin-right:6px}
html[dir="rtl"] body.site .s-lang-menu,
html[dir="rtl"] body.site .s-search-pop{right:auto;left:0}
html[dir="rtl"] body.site .s-navsub{left:auto;right:0}
html[dir="rtl"] body.site .s-navsub .s-navsub{left:auto;right:100%}
html[dir="rtl"] body.site .s-stats .item{border-right:0;border-left:1px solid rgba(255,255,255,.14);padding-left:0;padding-right:26px}
html[dir="rtl"] body.site .s-stats .item:first-child{padding-right:0}
html[dir="rtl"] body.site .s-stats .item:last-child{border-left:0}
html[dir="rtl"] body.site .s-thumb:before{right:auto;left:-70px}
html[dir="rtl"] body.site .s-thumb .sku{left:auto;right:12px}
html[dir="rtl"] body.site .s-spec th,
html[dir="rtl"] body.site .s-spec td,
html[dir="rtl"] body.site .cms-spec th,
html[dir="rtl"] body.site .cms-prod-side{text-align:right}
html[dir="rtl"] body.site .cms-body ul,
html[dir="rtl"] body.site .cms-body ol,
html[dir="rtl"] body.site .cms-page ul,
html[dir="rtl"] body.site .cms-page ol{padding-left:0;padding-right:22px}
html[dir="rtl"] body.site .cms-meta div{border-left:0;border-right:3px solid var(--orange)}
html[dir="rtl"] body.site .cms-faq.plain .cms-faq-item summary:before{margin-right:0;margin-left:8px}
html[dir="rtl"] body.site .s-banner-shade{background:linear-gradient(270deg,rgba(4,18,36,.80),rgba(4,18,36,.15) 72%)}
html[dir="rtl"] body.site .s-banner-cap{text-align:right}
html[dir="rtl"] body.site .s-banner-arrow.prev{left:auto;right:16px}
html[dir="rtl"] body.site .s-banner-arrow.next{right:auto;left:16px}
html[dir="rtl"] body.site .s-search-form input{text-align:right}
/* AI 客服挂件一并镜像（挂件 CSS 独立文件，这里按 dir 覆盖） */
html[dir="rtl"] #kb-chat-bubble,
html[dir="rtl"] #kb-chat-panel{right:auto;left:20px}
html[dir="rtl"] .kbc-bubble-badge{right:auto;left:-7px}
html[dir="rtl"] #kb-chat-panel,
html[dir="rtl"] .kbc-body,
html[dir="rtl"] .kbc-foot{direction:rtl;text-align:right}
html[dir="rtl"] .kbc-msg.me{margin-left:0;margin-right:auto}
html[dir="rtl"] .kbc-lead-toggle{text-align:right}
@media(max-width:620px){
  html[dir="rtl"] body.site .s-banner-shade{background:linear-gradient(270deg,rgba(4,18,36,.85),rgba(4,18,36,.35))}
  html[dir="rtl"] body.site .s-search-dd{margin-left:0;margin-right:4px}
}
