/* ============================================================
   FORWA 主题（复刻 forwasealing.com 视觉体系）
   ============================================================ */
:root {
  --fw-primary: #f56d33;      /* 主色：橙 */
  --fw-primary-dark: #e05a25;
  --fw-blue: #2f73c6;         /* 品牌蓝 */
  --fw-red: #e03e2d;          /* 强调红 */
  --fw-dark: #282828;         /* 深色文字 */
  --fw-gray: #666;
  --fw-gray-2: #7d8289;
  --fw-border: #e5e5e5;
  --fw-bg: #f7f7f7;
  --fw-max: 1200px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: "Barlow", -apple-system, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: var(--fw-dark); background: #fff; line-height: 1.6; }
a { color: var(--fw-blue); text-decoration: none; }
.wrap { max-width: var(--fw-max); margin: 0 auto; padding: 0 18px; }

.site-header { background: #1f2533; color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 18px; padding: 12px 18px; flex-wrap: wrap; }
.site-header .logo { color: #fff; font-weight: 700; font-size: 18px; }
.site-header .logo img { height: 34px; vertical-align: middle; }
.site-header .nav { display: flex; gap: 16px; flex: 1; flex-wrap: wrap; }
.site-header .nav a { color: #cbd5e1; }
.site-header .nav a:hover { color: #fff; }
.lang-switch a { color: #cbd5e1; padding: 2px 6px; border: 1px solid #3a4256; border-radius: 4px; font-size: 12px; }
.lang-switch a.on { color: #fff; border-color: #fff; }

main.wrap { padding: 26px 18px 40px; min-height: 50vh; }
.hero { padding: 30px 0; text-align: center; }
.hero h1 { font-size: 30px; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { border: 1px solid #e7e9ee; border-radius: 10px; overflow: hidden; color: #1f2430; }
.card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.card h3 { margin: 10px; font-size: 15px; }
.card .price { margin: 0 10px 10px; color: #e11d48; font-weight: 600; }
.gallery.grid img { height: 160px; object-fit: cover; border-radius: 8px; }

.news { list-style: none; padding: 0; }
.news li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eef1f5; }
.news li span { color: #9aa3b2; font-size: 13px; }

.more { display: inline-block; margin-top: 10px; color: #2563eb; }
h2 { margin: 26px 0 12px; font-size: 20px; }

.page .content, .product .content, .article .content { margin-top: 14px; }
.product .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 10px; margin: 14px 0; }
.product .gallery img, .article .cover { max-width: 100%; border-radius: 8px; }
.article .excerpt { color: #6b7280; }
.price { color: #e11d48; font-weight: 700; font-size: 18px; }

.site-footer { background: #f3f5f9; border-top: 1px solid #e7e9ee; padding: 18px 0; margin-top: 30px; color: #6b7280; font-size: 13px; }
.site-footer p { margin: 4px 0; }

/* ===== 示例自定义主题(theme/example) 用到的类 ===== */
.hero { background: linear-gradient(135deg,#2563eb,#1e3a8a); color:#fff; border-radius: 12px; margin: 18px 0; }
.hero .sub { opacity: .85; margin: 6px 0 0; }
.band { margin: 10px 0 26px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; }
.gallery-grid img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.product-grid .card { display: block; border: 1px solid #e7e9ee; border-radius: 10px; overflow: hidden; color: #1f2430; }
.product-grid .card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.product-grid .card h3 { margin: 10px; font-size: 15px; }
.product-grid .card .price { margin: 0 10px 10px; color: #e11d48; font-weight: 600; }

/* ===== 询价篮 / 下单 / 询价 / 留言 ===== */
.cart-count { display: none; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 5px;
  background: #e11d48; color: #fff; border-radius: 9px; font-size: 12px; line-height: 18px; text-align: center; }

.btn { display: inline-block; padding: 9px 18px; border: 1px solid #2563eb; border-radius: 6px;
  background: #2563eb; color: #fff; cursor: pointer; font-size: 14px; }
.btn:hover { opacity: .9; }
.btn.ghost { background: #fff; color: #2563eb; }
.btn.primary { background: #e11d48; border-color: #e11d48; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.card .btn { margin: 0 10px 12px; }

.tbl { width: 100%; border-collapse: collapse; margin: 14px 0; }
.tbl th, .tbl td { border: 1px solid #e7e9ee; padding: 8px 10px; text-align: left; font-size: 14px; }
.tbl th { background: #f7f8fb; }
.tbl img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; vertical-align: middle; }
.tar { text-align: right; }
.cart-total { font-weight: 700; color: #e11d48; }
.cart-tbl td input[type=number] { width: 72px; padding: 5px 6px; }
.c-prod small { display: block; color: #9aa3b2; font-size: 12px; }
.empty { color: #9aa3b2; padding: 18px 0; }

.cart-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 26px; }
.step-tip { color: #6b7280; }
.tip-line { margin-top: 20px; }

.checkout-form, .page-form { max-width: 560px; }
.f-row { margin-bottom: 12px; }
.f-row label { display: block; margin-bottom: 5px; font-size: 14px; color: #374151; }
.f-row .req { color: #e11d48; }
.f-row input, .f-row textarea { width: 100%; padding: 8px 10px; border: 1px solid #d6dae2; border-radius: 6px; font-size: 14px; }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: #2563eb; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-ok { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 8px; padding: 16px 18px; margin: 16px 0; }
.form-ok.error { background: #fef2f2; border-color: #fecaca; }
.form-ok h3 { margin: 0 0 6px; color: #047857; }
.form-ok.error h3 { color: #b91c1c; }
.form-ok .order-no { font-size: 16px; }
.form-err { color: #b91c1c; font-size: 14px; }

.buy-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.buy-box .qty span { margin-right: 6px; font-size: 14px; }
.buy-box .qty input { width: 80px; padding: 7px 8px; border: 1px solid #d6dae2; border-radius: 6px; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.contact-info p { margin: 0 0 8px; font-size: 14px; }
.lookup-form { max-width: 460px; margin-top: 34px; padding-top: 18px; border-top: 1px solid #eef1f5; }
.lookup-form input { width: 220px; padding: 8px 10px; border: 1px solid #d6dae2; border-radius: 6px; margin-right: 8px; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 13px; background: #f1f5f9; color: #475569; }
.badge.st-processing { background: #dbeafe; color: #1d4ed8; }
.badge.st-shipped { background: #ede9fe; color: #6d28d9; }
.badge.st-completed { background: #dcfce7; color: #15803d; }
.badge.st-cancelled { background: #fee2e2; color: #b91c1c; }

.site-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%);
  background: rgba(17,24,39,.92); color: #fff; padding: 10px 20px; border-radius: 20px;
  font-size: 14px; z-index: 999; }

/* ===== 产品列表：分类筛选 + 图文/列表切换 ===== */
.prod-layout { display: flex; gap: 24px; align-items: flex-start; }
.prod-side { width: 200px; flex: 0 0 200px; position: sticky; top: 14px; }
.side-title { font-size: 15px; margin: 0 0 10px; color: #374151; }
.cat-filter { list-style: none; margin: 0; padding: 0; border: 1px solid #e7e9ee; border-radius: 10px; overflow: hidden; }
.cat-filter li a { display: block; padding: 10px 14px; color: #374151; border-bottom: 1px solid #eef1f5; }
.cat-filter li:last-child a { border-bottom: none; }
.cat-filter li a:hover { background: #f7f8fb; }
.cat-filter li.on a { background: #eef2ff; color: #1d4ed8; font-weight: 600; }

/* 分类树（与后台「产品目录」树一致） */
.cat-tree { list-style: none; margin: 6px 0 0; padding: 0 0 0 0; }
.cat-tree .cat-tree { padding-left: 14px; border-left: 1px dashed #e3e6ec; margin-left: 6px; }
.cat-node > a { display: block; padding: 7px 10px; color: #374151; font-size: 14px; border-radius: 7px; }
.cat-node.has-child > a { font-weight: 600; }
.cat-node > a:hover { background: #f7f8fb; color: #1d4ed8; }
.cat-node.on > a { background: #eef2ff; color: #1d4ed8; font-weight: 600; }

.prod-main { flex: 1; min-width: 0; }
.view-toggle { display: flex; gap: 8px; margin-bottom: 14px; }
.view-toggle a { padding: 6px 14px; border: 1px solid #d6dae2; border-radius: 6px; color: #475569; font-size: 14px; }
.view-toggle a.on { border-color: #2563eb; color: #2563eb; background: #eff6ff; }

.list-view { list-style: none; margin: 0; padding: 0; }
.list-view li { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid #e7e9ee; border-radius: 10px; margin-bottom: 12px; }
.lv-thumb { flex: 0 0 120px; }
.lv-thumb img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; display: block; }
.lv-body { flex: 1; min-width: 0; }
.lv-name { font-size: 16px; color: #1f2430; font-weight: 600; }
.lv-name:hover { color: #2563eb; }
.lv-desc { color: #6b7280; font-size: 13px; margin: 6px 0; }

.badge.sticky { background: #fef3c7; color: #b45309; margin-left: 6px; }

/* ===== 解决方案 ===== */
.sol-list { display: flex; flex-direction: column; gap: 18px; }
.sol-card { display: flex; gap: 18px; border: 1px solid #e7e9ee; border-radius: 12px; padding: 16px; }
.sol-thumb { flex: 0 0 200px; }
.sol-thumb img { width: 200px; height: 140px; object-fit: cover; border-radius: 8px; }
.sol-body { flex: 1; }
.sol-body h2 { margin: 0 0 8px; font-size: 19px; }
.sol-body h2 a { color: #1f2430; }
.sol-body h2 a:hover { color: #2563eb; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid #e7e9ee; border-radius: 10px; padding: 14px 16px; }
.faq-q { margin: 0 0 8px; font-size: 16px; color: #1f2430; }
.faq-a { color: #4b5563; }

/* ===== 下载 ===== */
.dl-list { list-style: none; margin: 0; padding: 0; }
.dl-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #e7e9ee; border-radius: 10px; margin-bottom: 10px; }
.dl-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.dl-body { flex: 1; }
.dl-name { font-size: 15px; color: #1f2430; }

/* ===== 产品参数 / 相关 / 热销 ===== */
.attrs, .rel-block { margin-top: 26px; }
.attr-table { width: 100%; border-collapse: collapse; max-width: 720px; }
.attr-table th, .attr-table td { border: 1px solid #e7e9ee; padding: 9px 12px; text-align: left; font-size: 14px; vertical-align: top; }
.attr-table th { background: #f7f8fb; width: 180px; color: #374151; font-weight: 600; }

/* ===== 关于我们 / 质量认证 ===== */
.factory { margin-top: 18px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 12px; }
.cert { margin: 0; border: 1px solid #e7e9ee; border-radius: 10px; overflow: hidden; background: #fff; }
.cert img { width: 100%; height: 160px; object-fit: contain; background: #f7f8fb; display: block; }
.cert figcaption { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.cert-sum { color: #6b7280; font-size: 13px; }

/* ============================================================
   FORWA 版式：顶部条 / 头部 / Banner / 版块 / 页脚
   ============================================================ */

/* --- 顶部联系条 --- */
.fw-topbar { background: #232323; color: #cfcfcf; font-size: 13px; }
.fw-topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 38px; flex-wrap: wrap; }
.fw-topbar a { color: #cfcfcf; }
.fw-topbar a:hover { color: var(--fw-primary); }
.fw-topbar .tb-right { display: flex; gap: 16px; flex-wrap: wrap; }
.fw-topbar .tb-right span { white-space: nowrap; }

/* --- 主头部 --- */
.site-header { background: #fff; border-bottom: 1px solid var(--fw-border); color: var(--fw-dark); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; padding: 16px 18px; flex-wrap: wrap; }
.site-header .logo { color: var(--fw-dark); font-weight: 800; font-size: 24px; letter-spacing: .5px; text-transform: uppercase; }
.site-header .logo img { height: 42px; vertical-align: middle; }
.site-header .nav { display: flex; gap: 22px; flex: 1; flex-wrap: wrap; }
.site-header .nav a {
  color: var(--fw-dark); font-size: 15px; font-weight: 600; text-transform: uppercase;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-header .nav a:hover { color: var(--fw-primary); border-bottom-color: var(--fw-primary); }
.site-header .nav a.cart-link { color: var(--fw-primary); }
.lang-switch { display: flex; gap: 5px; flex-wrap: wrap; max-width: 260px; max-height: 30px; overflow: hidden; }
.lang-switch a { color: var(--fw-gray); padding: 3px 7px; border: 1px solid var(--fw-border); border-radius: 3px; font-size: 12px; background: #fff; }
.lang-switch a.on { color: #fff; background: var(--fw-primary); border-color: var(--fw-primary); }
.hd-inquiry { background: var(--fw-primary); color: #fff; padding: 10px 20px; border-radius: 3px; font-weight: 600; text-transform: uppercase; font-size: 14px; white-space: nowrap; }
.hd-inquiry:hover { background: var(--fw-primary-dark); color: #fff; }

/* --- Banner (全屏自适应) --- */
.fw-banner {
  position: relative; color: #fff; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, #2f73c6 0%, #1f4f8f 55%, #f56d33 130%);
}
.fw-banner .wrap { padding: 96px 18px; text-align: center; max-width: 960px; margin: 0 auto; }
.fw-banner h1 { margin: 0 0 14px; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.18; font-weight: 800; max-width: 820px; }
.fw-banner p { margin: 0 0 26px; font-size: clamp(15px, 2vw, 18px); opacity: .92; max-width: 640px; }
.fw-banner .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fw-banner .btn-w { background: #fff; color: var(--fw-dark); padding: 12px 28px; border-radius: 3px; font-weight: 700; text-transform: uppercase; }
.fw-banner .btn-o { background: var(--fw-primary); color: #fff; padding: 12px 28px; border-radius: 3px; font-weight: 700; text-transform: uppercase; }
.fw-banner .btn-o:hover, .fw-banner .btn-w:hover { opacity: .9; }

/* --- 版块标题（居中 + 橙色下划线） --- */
.sec { padding: 52px 0; }
.sec.alt { background: var(--fw-bg); }
.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head h2 { margin: 0 0 10px; font-size: 30px; font-weight: 800; color: var(--fw-dark); text-transform: uppercase; }
.sec-head p { margin: 0 auto; color: var(--fw-gray); max-width: 640px; font-size: 15px; }
.sec-head::after { content: ''; display: block; width: 64px; height: 3px; background: var(--fw-primary); margin: 16px auto 0; }

/* --- 产品网格（FORWA 卡片） --- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.pcard {
  background: #fff; border: 1px solid var(--fw-border); border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.1); }
.pcard .ph { position: relative; display: block; background: #fafafa; }
.pcard .ph img { width: 100%; height: 200px; object-fit: cover; display: block; }
.pcard .ph .noimg { display: flex; align-items: center; justify-content: center; height: 200px; color: #bbb; font-size: 13px; background: #fafafa; }
.pcard .pb { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.pcard h3 a { color: var(--fw-dark); }
.pcard h3 a:hover { color: var(--fw-primary); }
.pcard .pd { color: var(--fw-gray); font-size: 13px; margin: 0 0 12px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .pm { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard .more { color: var(--fw-primary); font-size: 13px; font-weight: 700; text-transform: uppercase; margin: 0; }
.badge.sticky { background: var(--fw-primary); color: #fff; margin-left: 6px; border-radius: 2px; }
.badge.hot { background: var(--fw-red); color: #fff; margin-left: 6px; border-radius: 2px; }

/* --- 关于工厂（左文右图） --- */
.fw-about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.fw-about .ab-img img { width: 100%; border-radius: 4px; display: block; }
.fw-about h2 { margin: 0 0 14px; font-size: 28px; font-weight: 800; }
.fw-about p { color: #444; margin: 0 0 16px; }
.fw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 18px; margin-top: 24px; }
.fw-stat b { display: block; font-size: 28px; color: var(--fw-primary); font-weight: 800; }
.fw-stat span { font-size: 13px; color: var(--fw-gray); }

/* --- 新闻列表 --- */
.fw-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.ncard { border: 1px solid var(--fw-border); border-radius: 4px; overflow: hidden; background: #fff; }
.ncard img { width: 100%; height: 180px; object-fit: cover; display: block; }
.ncard .nb { padding: 16px; }
.ncard h3 { margin: 0 0 8px; font-size: 16px; }
.ncard h3 a { color: var(--fw-dark); }
.ncard h3 a:hover { color: var(--fw-primary); }
.ncard .nd { color: var(--fw-gray); font-size: 13px; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .nm { color: #999; font-size: 12px; }

/* --- 面包屑 --- */
.crumb { padding: 14px 0; font-size: 13px; color: var(--fw-gray); border-bottom: 1px solid var(--fw-border); margin-bottom: 22px; }
.crumb a { color: var(--fw-gray); }
.crumb a:hover { color: var(--fw-primary); }
.crumb span { margin: 0 6px; color: #bbb; }

/* --- 页脚（多列深色） --- */
.site-footer { background: #232323; color: #b7b7b7; padding: 44px 0 0; margin-top: 0; font-size: 14px; }
.site-footer .fw-fcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; text-transform: uppercase; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b7b7b7; }
.site-footer a:hover { color: var(--fw-primary); }
.site-footer p { margin: 0 0 8px; }
.fw-fbottom { border-top: 1px solid #333; margin-top: 30px; padding: 16px 0; font-size: 13px; color: #888; text-align: center; }

/* --- 详情页属性表（FORWA 两列） --- */
.attr-table th { background: var(--fw-bg); width: 200px; }
.attr-table tr:nth-child(even) td { background: #fcfcfc; }

/* --- 通用按钮 --- */
.btn { border-radius: 3px; background: var(--fw-primary); border-color: var(--fw-primary); font-weight: 600; text-transform: uppercase; }
.btn:hover { background: var(--fw-primary-dark); border-color: var(--fw-primary-dark); }
.btn.ghost { background: #fff; color: var(--fw-primary); }
.btn.primary { background: var(--fw-primary); border-color: var(--fw-primary); }

/* --- 后台增强 --- */
.head-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-primary { display: inline-block; background: var(--fw-blue); color: #fff; padding: 8px 16px; border-radius: 4px; font-size: 14px; }
.btn-primary:hover { opacity: .9; color: #fff; }
.lang-picker { display: flex; align-items: center; gap: 10px; }
.hint { color: #888; font-size: 13px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal-box { background: #fff; border-radius: 8px; padding: 22px; width: 92%; max-width: 820px; max-height: 88vh; overflow: auto; }
.modal-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 14px; }
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-head .close { border: none; background: none; font-size: 26px; cursor: pointer; line-height: 1; color: #888; }
.modal-actions { margin-top: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lang-box { max-width: 900px; }
.lang-tools { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.lang-tools input { padding: 7px 10px; border: 1px solid #ddd; border-radius: 4px; min-width: 220px; }
.lang-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 8px; max-height: 52vh; overflow: auto; border: 1px solid #eee; padding: 12px; border-radius: 6px; }
.lang-item { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.lang-item .code { color: #999; font-size: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; }
.stat-card { background: var(--fw-bg); border: 1px solid var(--fw-border); border-radius: 6px; padding: 16px; }
.stat-card b { display: block; font-size: 24px; color: var(--fw-blue); }
.stat-card span { font-size: 13px; color: #666; }
.stat-card.small b { font-size: 14px; color: var(--fw-dark); word-break: break-all; }
.filter-bar { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 16px; }
.filter-bar label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #444; }
.filter-bar select, .filter-bar input { padding: 7px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 18px; }
.pager button { padding: 7px 16px; border: 1px solid #ddd; background: #fff; border-radius: 4px; cursor: pointer; }
table.kv { width: 100%; border-collapse: collapse; font-size: 13px; }
table.kv th { text-align: left; width: 150px; vertical-align: top; padding: 8px 10px; background: #f7f7f7; border: 1px solid #eee; color: #444; }
table.kv td { padding: 8px 10px; border: 1px solid #eee; }
table.kv pre { margin: 0; white-space: pre-wrap; word-break: break-all; font-family: inherit; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.row-actions button { padding: 4px 8px; font-size: 12px; border: 1px solid #ddd; background: #fff; border-radius: 3px; cursor: pointer; }
.lang-cell { font-size: 12px; color: #666; max-width: 220px; }

@media (max-width: 720px) {
  .prod-layout { flex-direction: column; }
  .prod-side { width: 100%; flex: none; position: static; }
  .sol-card { flex-direction: column; }
  .sol-thumb, .sol-thumb img { width: 100%; height: auto; }
  .lv-thumb, .lv-thumb img { width: 90px; height: 70px; flex-basis: 90px; }
  .fw-about { grid-template-columns: 1fr; gap: 24px; }
  .fw-banner .wrap { padding: 46px 18px; }
  .fw-banner h1 { font-size: 27px; }
  .sec-head h2 { font-size: 23px; }
  .site-header .nav { gap: 14px; }
}

/* ============================================================
   多级导航 / 语言弹窗 / Quote 弹窗 / 详情页工具条 / 新页面版式
   ============================================================ */

/* ---- Header 布局 ---- */
.site-header .hd-inner { display: flex; align-items: center; gap: 20px; padding: 10px 18px; }
.site-header .nav { flex: 1; min-width: 0; }
.nav-lvl1, .nav-sub { list-style: none; margin: 0; padding: 0; }
.nav-lvl1 { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-item > .nav-lk {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 12px; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .3px; white-space: nowrap;
}
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .8; }
.caret.right { border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 5px solid currentColor; margin-left: 6px; }

/* 二级下拉 */
.nav-sub {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 220px; background: #fff; color: #333;
  box-shadow: 0 10px 28px rgba(0,0,0,.16); border-radius: 4px; padding: 6px 0;
}
.nav-item:hover > .nav-sub { display: block; }
.nav-sub .nav-lk { display: flex; justify-content: space-between; padding: 9px 16px; font-size: 13px; font-weight: 500; text-transform: none; color: #333; }
.nav-sub .nav-lk:hover { background: rgba(0,0,0,.05); }
/* 三级：右侧展开 */
.nav-sub .nav-sub { top: 0; left: 100%; display: none; }
.nav-sub .nav-item:hover > .nav-sub { display: block; }

/* ---- 右侧工具 ---- */
.hd-tools { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: inherit; padding: 7px 10px; border-radius: 3px; cursor: pointer; font-size: 13px;
}
.lang-btn:hover { background: rgba(255,255,255,.22); }
.lang-cur { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-quote {
  background: var(--fw-primary, #f56d33); color: #fff; border: 0; padding: 9px 18px;
  font-weight: 700; font-size: 13px; text-transform: uppercase; border-radius: 3px; cursor: pointer;
}
.btn-quote:hover { background: var(--fw-primary-dark, #e05a25); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; }

/* ---- 语言弹窗 ---- */
.lang-panel { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lang-panel[hidden] { display: none; }
.lp-box { background: #fff; border-radius: 6px; width: min(720px, 100%); max-height: 80vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.lp-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #eee; font-size: 16px; }
.lp-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #888; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 18px 20px; }
.lp-item { display: flex; flex-direction: column; padding: 10px 12px; border: 1px solid #e6e6e6; border-radius: 4px; color: #333; }
.lp-item:hover { border-color: var(--fw-primary, #f56d33); background: #fff8f5; }
.lp-item.on { border-color: var(--fw-primary, #f56d33); background: var(--fw-primary, #f56d33); color: #fff; }
.lp-native { font-weight: 600; font-size: 14px; }
.lp-code { font-size: 11px; color: #999; margin-top: 2px; }
.lp-zh { font-size: 11px; color: #aaa; }
.lp-item.on .lp-code, .lp-item.on .lp-zh { color: #fff; opacity: .85; }
.lp-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid #eee; }
.lp-more { font-weight: 700; color: var(--fw-primary, #f56d33); }
.lp-count { font-size: 12px; color: #999; }

/* ---- 语言索引页 ---- */
.lang-page { padding: 30px 0 50px; }
.lp-sub, .blog-sub, .dl-sub, .faq-sub { color: #888; font-size: 14px; margin: 6px 0 22px; }
.lp-search { margin-bottom: 20px; }
.lp-search input { width: 100%; max-width: 420px; padding: 11px 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.lp-group { margin-bottom: 22px; }
.lp-letter { font-size: 15px; color: var(--fw-primary, #f56d33); border-bottom: 1px solid #eee; padding-bottom: 6px; }
.lp-grid.big { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); padding: 12px 0; }
.lp-empty { color: #999; }

/* ---- Quote 弹窗 ---- */
.quote-modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 210; display: flex; align-items: center; justify-content: center; padding: 18px; }
.quote-modal[hidden] { display: none; }
.qm-box { background: #fff; width: min(560px, 100%); border-radius: 6px; max-height: 88vh; overflow: auto; }
.qm-head { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: var(--fw-dark, #282828); color: #fff; }
.qm-close { background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }
.qm-form { padding: 18px 20px 20px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qm-row { margin-bottom: 12px; }
.qm-row label { display: block; font-size: 12px; font-weight: 600; color: #666; margin-bottom: 5px; }
.qm-row input, .qm-row select, .qm-row textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #ddd; border-radius: 3px; font-size: 14px; font-family: inherit;
}
.qm-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qm-2 > div > label { display: block; font-size: 12px; font-weight: 600; color: #666; margin-bottom: 5px; }
.qm-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.qm-tip { font-size: 13px; color: var(--fw-primary, #f56d33); }

/* 浮动询价按钮 */
.quote-float { position: fixed; right: 18px; bottom: 22px; z-index: 120; }
.qf-btn {
  display: inline-flex; align-items: center; gap: 7px; background: var(--fw-primary, #f56d33); color: #fff;
  border: 0; padding: 12px 18px; border-radius: 30px; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.qf-ico { font-size: 15px; }

/* ---- 右侧悬浮客服栏 ---- */
.fw-side {
  position: fixed; right: 0; top: 46%; transform: translateY(-50%);
  z-index: 1150; display: flex; flex-direction: column; gap: 8px;
}
.fw-side-i {
  position: relative; width: 46px; height: 46px; border-radius: 10px 0 0 10px;
  background: var(--c, #2f73c6); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 9px rgba(0,0,0,.20); cursor: pointer; text-decoration: none;
  transition: transform .15s ease;
}
.fw-side-i:hover { transform: translateX(-4px); }
.fs-ico { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.fs-ico svg { width: 23px; height: 23px; fill: #fff; }
.fw-side-i .fs-ico svg circle { fill: #fff; }
.fw-side-i .fs-ico svg text { fill: #fff; }
.fs-pop {
  display: none; position: absolute; right: 56px; top: 50%; transform: translateY(-50%);
  background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.22);
  width: 168px; text-align: center;
}
.fs-pop-card img { width: 148px; height: 148px; object-fit: contain; border-radius: 6px; background: #f7f7f7; }
.fs-pop-card p { margin: 8px 0 0; font-size: 13px; color: #333; line-height: 1.4; }
.fw-side-i[data-pop]:hover .fs-pop,
.fw-side-i.open .fs-pop { display: block; }
@media (max-width: 480px) {
  .fw-side { gap: 6px; top: 42%; }
  .fw-side-i { width: 40px; height: 40px; }
  .fs-ico svg { width: 20px; height: 20px; }
  .fs-pop { right: 48px; width: 134px; }
  .fs-pop-card img { width: 116px; height: 116px; }
}

/* ---- 详情页工具条 ---- */
.dp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dp-head h1 { margin: 0 0 6px; font-size: 26px; }
.dp-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.dp-btn {
  display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #ddd;
  padding: 7px 12px; border-radius: 3px; font-size: 13px; cursor: pointer; color: #444;
}
.dp-btn:hover { border-color: var(--fw-primary, #f56d33); color: var(--fw-primary, #f56d33); }
.dp-btn.fav.on { border-color: var(--fw-primary, #f56d33); color: var(--fw-primary, #f56d33); background: #fff6f2; }
.dp-btn.dl { background: var(--fw-blue, #2f73c6); border-color: var(--fw-blue, #2f73c6); color: #fff; }
.dp-files { margin-top: 26px; padding: 16px 18px; background: #fafafa; border: 1px solid #eee; border-radius: 4px; }
.dp-files h3 { margin: 0 0 10px; font-size: 15px; }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li { padding: 6px 0; border-bottom: 1px dashed #e5e5e5; }
.file-list a { color: #333; }
.file-list a:hover { color: var(--fw-primary, #f56d33); }
.fl-ico { color: var(--fw-blue, #2f73c6); margin-right: 8px; }

/* 分享浮层 */
.share-box { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 220; display: flex; align-items: center; justify-content: center; }
.share-box[hidden] { display: none; }
.sb-in { background: #fff; padding: 16px; border-radius: 6px; display: flex; flex-direction: column; gap: 8px; min-width: 240px; }
.sb { padding: 10px 14px; border-radius: 3px; text-align: center; color: #fff; font-weight: 600; border: 0; cursor: pointer; font-size: 14px; }
.sb.fb { background: #1877f2; } .sb.tw { background: #111; } .sb.in { background: #0077b5; } .sb.wa { background: #25d366; }
.sb.cp { background: #f1f1f1; color: #333; }

/* ---- Blog ---- */
.blog-head { padding: 26px 0 6px; }
.blog-head h1 { margin: 0; font-size: 32px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 18px; }
.blog-card { border: 1px solid #eee; border-radius: 5px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.bc-cover { display: block; height: 170px; background: #f3f3f3; overflow: hidden; }
.bc-cover img { width: 100%; height: 100%; object-fit: cover; }
.bc-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: #bbb; font-size: 22px; font-weight: 700; }
.bc-body { padding: 14px 16px 16px; }
.bc-date { font-size: 12px; color: #999; }
.bc-title { margin: 6px 0 8px; font-size: 17px; line-height: 1.4; }
.bc-excerpt { color: #666; font-size: 13px; margin: 0 0 12px; }
.bc-foot { display: flex; justify-content: space-between; align-items: center; }
.bc-share { background: none; border: 0; color: var(--fw-primary, #f56d33); cursor: pointer; font-size: 13px; }

/* ---- Downloads ---- */
.dl-head h1 { margin: 0; font-size: 30px; }
.dl-group { margin-bottom: 26px; }
.dl-gtitle { font-size: 17px; color: var(--fw-dark, #282828); border-left: 4px solid var(--fw-primary, #f56d33); padding-left: 10px; margin: 0 0 12px; }
.dl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #eee; }
.dl-item { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #eee; }
.dl-item:hover { background: #fafafa; }
.dl-ico { color: var(--fw-blue, #2f73c6); font-size: 16px; }
.dl-name { flex: 1; font-size: 14px; }
.dl-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--fw-blue, #2f73c6); color: var(--fw-blue, #2f73c6); padding: 6px 12px; border-radius: 3px; font-size: 13px; }
.dl-btn:hover { background: var(--fw-blue, #2f73c6); color: #fff; }
.dl-cta, .faq-cta { margin-top: 26px; padding: 20px; background: #fafafa; text-align: center; border-radius: 4px; }

/* ---- FAQ 手风琴 ---- */
.faq-head h1 { margin: 0; font-size: 30px; }
.faq-group { margin-bottom: 24px; }
.faq-gtitle { font-size: 17px; border-left: 4px solid var(--fw-primary, #f56d33); padding-left: 10px; margin: 0 0 10px; }
.faq-item { border: 1px solid #eee; border-radius: 4px; margin-bottom: 8px; background: #fff; }
.faq-q { cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.fq-ico { width: 10px; height: 10px; border-right: 2px solid #999; border-bottom: 2px solid #999; transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] .fq-ico { transform: rotate(-135deg); }
.faq-a { padding: 0 16px 16px; color: #555; font-size: 14px; }

/* ---- 响应式 ---- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-header .nav { display: none; width: 100%; order: 3; }
  .site-header .nav.open { display: block; }
  .nav-lvl1 { flex-direction: column; align-items: stretch; }
  .nav-item > .nav-lk { width: 100%; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-sub { position: static; display: none; box-shadow: none; background: rgba(0,0,0,.04); color: inherit; min-width: 0; }
  .nav-item.open > .nav-sub { display: block; }
  .nav-sub .nav-lk { color: inherit; }
  .nav-sub .nav-sub { position: static; padding-left: 12px; }
  .qm-2 { grid-template-columns: 1fr; }
  .dp-head h1 { font-size: 22px; }
}
/* ============================================================
   导航重做 / 产品列表 List 视图 / 详情页工具条
   ------------------------------------------------------------
   说明：早期版本在 `.site-header .nav a` 上加了 border-bottom 作为
   hover 线，后来多级菜单又用 ::after 画了一条 —— 两条叠加就是“双层横线”。
   这里统一改用 ::after 单一指示线，并用更高优先级的选择器覆盖旧规则。
   ============================================================ */

/* ---------- Header 骨架 ---------- */
.site-header .hd-inner { display: flex; align-items: center; gap: 26px; padding: 0 18px; min-height: 68px; }
.site-header .logo { flex: 0 0 auto; margin-right: 4px; }
.site-header .nav { flex: 1; min-width: 0; display: flex; justify-content: flex-end; }

/* ---------- 一级菜单 ---------- */
.site-header .nav > ul.nav-lvl1 { display: flex; align-items: center; justify-content: flex-end; gap: 0; flex-wrap: wrap; }
.site-header .nav .nav-item { position: relative; }

.site-header .nav a.nav-lk {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 24px 14px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .3px;
  text-transform: uppercase; white-space: nowrap;
  color: var(--nav-fg, #33383f);
  border-bottom: 0;                       /* 取消旧的双线来源 */
  transition: color .18s ease;
}
.site-header .nav a.nav-lk::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 16px;
  height: 2px; background: var(--fw-primary, #f56d33);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .22s ease;
  opacity: .95;
}
.site-header .nav .nav-item:hover > a.nav-lk,
.site-header .nav a.nav-lk.current { color: var(--fw-primary, #f56d33); }
.site-header .nav .nav-item:hover > a.nav-lk::after,
.site-header .nav a.nav-lk.current::after { transform: scaleX(1); }

/* 下拉箭头：hover 翻转 */
.site-header .nav .caret { transition: transform .2s ease; }
.site-header .nav .nav-item:hover > a.nav-lk .caret { transform: rotate(180deg); }

/* ---------- 二级 / 三级下拉 ---------- */
.site-header .nav ul.nav-sub {
  display: block;
  position: absolute; top: 100%; left: 0; z-index: 80;
  min-width: 236px; margin: 0; padding: 6px 0;
  background: #fff; color: #33383f;
  border-top: 0;                          /* 去掉二级菜单顶部的横线 */
  border-radius: 0 0 6px 6px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .16);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.site-header .nav .nav-item:hover > ul.nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.site-header .nav ul.nav-sub li.nav-item + li.nav-item { border-top: 1px solid #f2f4f7; }
.site-header .nav ul.nav-sub a.nav-lk {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 18px; margin: 0;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0;
  text-transform: none; white-space: normal; color: #454b54;
}
.site-header .nav ul.nav-sub a.nav-lk::after { display: none; }   /* 子菜单不画横线，改整行高亮 */
.site-header .nav ul.nav-sub a.nav-lk:hover {
  background: var(--sub-hover, #f4f8ff);
  color: var(--fw-primary, #f56d33);
}
.site-header .nav ul.nav-sub ul.nav-sub { top: -2px; left: 100%; }

/* ---------- 右侧工具 ---------- */
.site-header .hd-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.site-header .lang-btn { white-space: nowrap; }
.site-header .btn-quote { white-space: nowrap; padding: 9px 18px; }

/* ---------- 移动端折叠 ---------- */
@media (max-width: 900px) {
  .site-header .hd-inner { flex-wrap: wrap; padding: 10px 14px; }
  .site-header .nav { display: none; width: 100%; order: 3; justify-content: flex-start; }
  .site-header .nav.open { display: block; }
  .site-header .nav > ul.nav-lvl1 { flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .site-header .nav a.nav-lk { width: 100%; justify-content: space-between; padding: 12px 6px; }
  .site-header .nav a.nav-lk::after { left: 6px; right: auto; width: 22px; bottom: 6px; }
  .site-header .nav ul.nav-sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: 0; border-left: 2px solid var(--fw-border, #e3e8ef);
    min-width: 0; padding: 0 0 0 10px; display: none;
  }
  .site-header .nav .nav-item.open > ul.nav-sub { display: block; }
  .site-header .nav ul.nav-sub ul.nav-sub { position: static; padding-left: 10px; }
  .site-header .nav ul.nav-sub li.nav-item + li.nav-item { border-top: 0; }
}

/* ============================================================
   产品列表：List 视图
   ============================================================ */
.view-toggle { display: flex; align-items: center; gap: 6px; margin: 0 0 16px; padding: 4px; background: #f4f6f9; border: 1px solid #e7eaf0; border-radius: 8px; width: fit-content; }
.view-toggle a { padding: 6px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .4px; }
.view-toggle a.on { background: var(--fw-primary, #f56d33); color: #fff; }

ul.list-view { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
ul.list-view > li {
  display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 20px;
  padding: 14px; background: #fff; border: 1px solid #e9edf3; border-radius: 10px;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
ul.list-view > li:hover { border-color: var(--fw-primary, #f56d33); box-shadow: 0 10px 26px rgba(15, 23, 42, .1); transform: translateY(-2px); }
.list-view .lv-thumb { position: relative; display: block; width: 200px; height: 150px; border-radius: 8px; overflow: hidden; background: #f4f6f9; }
.list-view .lv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.list-view > li:hover .lv-thumb img { transform: scale(1.05); }
.list-view .lv-thumb:empty::after,
.list-view .lv-noimg {
  content: ''; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: #b9c0cc; font-size: 13px; background: #f4f6f9;
}
.list-view .lv-name { display: block; font-size: 17px; font-weight: 700; color: var(--fw-dark, #282828); margin-bottom: 6px; }
.list-view .lv-name:hover { color: var(--fw-primary, #f56d33); }
.list-view .lv-desc { color: #6b7280; font-size: 13.5px; line-height: 1.6; margin: 0 0 8px; }
.list-view .lv-body .price { margin: 0; color: var(--fw-primary, #f56d33); font-size: 18px; font-weight: 700; }
.list-view .lv-acts { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.list-view .lv-acts .btn, .list-view .lv-acts .more { white-space: nowrap; }
@media (max-width: 720px) {
  ul.list-view > li { grid-template-columns: 110px 1fr; }
  .list-view .lv-thumb { width: 110px; height: 92px; }
  .list-view .lv-acts { grid-column: 1 / -1; flex-direction: row; }
}

/* ============================================================
   详情页：面包屑 + 工具条 + 下载列表
   ============================================================ */
.dp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.dp-head h1 { margin: 0; font-size: 26px; line-height: 1.3; }
.dp-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dp-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1px solid #dfe3ea; border-radius: 6px;
  background: #fff; color: #59606b; font-size: 13px; cursor: pointer;
  transition: all .18s ease;
}
.dp-btn:hover { border-color: var(--fw-primary, #f56d33); color: var(--fw-primary, #f56d33); }
.dp-btn.fav .fav-ico { font-size: 15px; }
.dp-btn.dl { text-decoration: none; font-weight: 600; }
.dp-files ul.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dp-files ul.file-list a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border: 1px solid #e9edf3; border-radius: 8px; background: #fafbfc; color: #454b54; font-size: 14px;
}
.dp-files ul.file-list a:hover { border-color: var(--fw-primary, #f56d33); color: var(--fw-primary, #f56d33); background: #fff; }
.dp-files .fl-ico { font-size: 16px; color: var(--fw-primary, #f56d33); }
.share-pop {
  position: absolute; z-index: 90; margin-top: 6px; min-width: 190px;
  background: #fff; border: 1px solid #e3e8ef; border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .16); padding: 6px;
}
.share-pop a, .share-pop button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border: 0; background: none; text-align: left;
  font-size: 13.5px; color: #454b54; cursor: pointer; border-radius: 6px;
}
.share-pop a:hover, .share-pop button:hover { background: #f4f8ff; color: var(--fw-primary, #f56d33); }

/* ---- 详情页无图占位 ---- */
.gallery.noimg-ph {
  display: flex; align-items: center; justify-content: center;
  min-height: 220px; background: #f4f6f9; border-radius: 10px;
  color: #b9c0cc; font-size: 14px; margin-bottom: 14px;
}
.list-view .lv-cat { display: inline-block; font-size: 12px; color: var(--fw-primary, #f56d33); border: 1px solid currentColor; border-radius: 3px; padding: 1px 8px; margin-bottom: 6px; }

/* ============================================================
   产品详情：变体选择 + 标签浏览
   ============================================================ */
.variants { margin: 20px 0 8px; border: 1px solid #e9edf3; border-radius: 10px; padding: 16px 18px; background: #fff; }
.variants h3 { margin: 0 0 14px; font-size: 16px; color: var(--fw-dark, #282828); }
.vrows { display: flex; flex-direction: column; gap: 14px; }
.vrow { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.vlab { flex: 0 0 96px; font-size: 14px; font-weight: 600; color: #454b54; padding-top: 7px; }
.vopts { display: flex; gap: 8px; flex-wrap: wrap; }
.vopt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid #d6dae2; border-radius: 6px;
  background: #fff; color: #454b54; font-size: 14px; cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease; line-height: 1;
}
.vopt:hover { border-color: var(--fw-primary, #f56d33); color: var(--fw-primary, #f56d33); }
.vopt.on { border-color: var(--fw-primary, #f56d33); background: var(--fw-primary, #f56d33); color: #fff; }
.vopt[disabled] { opacity: .4; cursor: not-allowed; }
/* 带图变体（色卡样式） */
.vopt.hasimg { padding: 5px 12px 5px 5px; gap: 8px; }
.vopt.hasimg img { width: 34px; height: 34px; object-fit: cover; border-radius: 4px; border: 1px solid #e9edf3; background: #f5f6f8; display: block; }
.vopt.hasimg.on img { border-color: rgba(255, 255, 255, .7); }
.vinfo { margin: 12px 0 0; font-size: 13px; color: #6b7280; min-height: 18px; }
.vinfo:empty { display: none; }

.prod-tags { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pt-label { font-size: 13px; color: #6b7280; }
.ptag {
  display: inline-block; padding: 4px 12px; border: 1px solid #e3e8ef; border-radius: 20px;
  font-size: 13px; color: #454b54; background: #f7f8fb; transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.ptag:hover { border-color: var(--fw-primary, #f56d33); color: var(--fw-primary, #f56d33); background: #fff6f2; }

@media (max-width: 600px) {
  .vlab { flex-basis: 100%; padding-top: 0; }
}

/* 首页轮播 */
/* --- Carousel (全屏自适应) --- */
.fw-carousel { position: relative; overflow: hidden; background: #0c0f14; height: 100vh; min-height: 460px; }
.fw-ca-track { height: 100%; }
.fw-ca-slide { display: none; cursor: pointer; height: 100%; }
.fw-ca-slide.on { display: block; }
.fw-ca-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fw-ca-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 42px 24px 22px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; }
.fw-ca-cap span { font-size: 22px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.fw-ca-dots { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; z-index: 5; }
.fw-ca-dot { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); margin: 0 5px; cursor: pointer; transition: .2s; }
.fw-ca-dot.on { background: #fff; transform: scale(1.15); }
/* hero 叠层：站点标题 + 副标题 + CTA，浮于轮播之上 */
.fw-hero-overlay { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 24px; pointer-events: none; }
.fw-hero-overlay > * { pointer-events: auto; }
.fw-hero-overlay h1 { margin: 0 0 14px; font-size: clamp(28px, 5vw, 56px); line-height: 1.15; font-weight: 800; text-shadow: 0 2px 18px rgba(0,0,0,.55); max-width: 900px; }
.fw-hero-overlay .bn-sub { margin: 0 0 26px; font-size: clamp(15px, 2vw, 19px); opacity: .95; max-width: 640px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.fw-hero-overlay .bn-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fw-hero-overlay .btn-o { background: var(--fw-primary); color: #fff; padding: 12px 28px; border-radius: 3px; font-weight: 700; text-transform: uppercase; }
.fw-hero-overlay .btn-w { background: #fff; color: var(--fw-dark); padding: 12px 28px; border-radius: 3px; font-weight: 700; text-transform: uppercase; }
.fw-hero-overlay .btn-o:hover, .fw-hero-overlay .btn-w:hover { opacity: .92; }
.fw-hero-overlay .btn.primary { background: var(--fw-primary); color: #fff; padding: 12px 28px; border-radius: 3px; font-weight: 700; }
.fw-hero-overlay .btn.ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.7); padding: 12px 28px; border-radius: 3px; font-weight: 700; }
@media (max-width: 700px) {
  .fw-carousel { min-height: 380px; }
  .fw-banner { min-height: 70vh; }
  .fw-ca-cap span { font-size: 17px; }
}
