:root {
  /* 主色取自赛猎克 logo 的深青绿，保证和 logo 放在一起不跳色 */
  --brand: #1b5a52;
  --brand-dark: #0f3d37;
  --accent: #0e9a9a;
  --ink: #14212e;
  --muted: #6b7a8c;
  --line: #e3e9f0;
  --bg: #f6f8fb;
  --white: #fff;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--white); font-size: 14px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 12px; }
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.wrap:after { content: ""; display: block; clear: both; }

/* ---------- 通用按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 6px; border: 1px solid transparent; font-size: 14px; cursor: pointer; white-space: nowrap; transition: .15s ease; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0b8585; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--brand); }
.btn-outline:hover { border-color: var(--brand); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-ghost { border-color: var(--line); color: var(--brand); padding: 7px 16px; }
.btn-block { width: 100%; }
.flash { margin: 14px auto 0; padding: 10px 14px; border-radius: 6px; background: #eef7f4; border: 1px solid #cbe9e2; color: #0b6b60; }
.flash.err { background: #fdf0ef; border-color: #f4d0cc; color: #a83b2c; }
.eyebrow { font-size: 12px; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
.section { padding: 72px 0; }
.section-soft { background: var(--bg); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.section-head h2 { font-size: 28px; }
.link-more { color: var(--brand); font-size: 13px; }
.link-more:hover { color: var(--accent); }
.empty { padding: 48px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- 前台头部 ---------- */
.topbar { background: var(--brand-dark); color: #b9d0e4; font-size: 12px; }
.topbar .wrap { display: flex; justify-content: space-between; padding: 7px 0; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 22px; height: 90px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--brand-dark); }
.logo span { white-space: nowrap; }  /* 品牌名一行排完，窄屏下也不能折行 */
/* 品牌文字两行：上行 SLK.cn（域名口径小写）、下行 赛猎克，右上角注册商标 ® */
.logo-text { display: flex; flex-direction: row; align-items: baseline; gap: 8px; line-height: 1.1; }
.logo-text b { font-size: 16px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.logo-text em { font-style: normal; font-size: 19px; font-weight: 700; color: var(--brand-dark); letter-spacing: .02em; }
.logo-text sup { font-size: 9px; margin-left: 2px; vertical-align: top; position: relative; top: 4px; font-weight: 400; }
.logo small { display: block; font-size: 10px; letter-spacing: .18em; color: var(--accent); font-weight: 400; }
.logo-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 700; }
/* header 右侧的后台入口伪装成小 logo：高度取原品牌图的一半（68 -> 34）；footer / 后台侧栏各自覆盖回 60px */
.logo-img { height: 34px; width: auto; display: block; }
.sidebar .logo-img { height: 60px; }
.footer-logo .logo-img { height: 60px; }
.nav { display: flex; gap: 14px; font-size: 14px; flex-shrink: 0; }  /* 多一项「新闻资讯」，间距收紧一点避免换行 */
.nav a { color: #3a4a5b; white-space: nowrap; }
.nav a:hover { color: var(--accent); }
/* 全站搜索：照抄 LGC Standards 头部胶囊 —— 纯 #eee 底、无边框、42 高、21 圆角、
   13px 加粗灰字、左侧 20 / 右侧留 59 给放大镜，聚焦不变色（LGC 无 focus 花哨效果）。
   nav 不再 flex:1，把剩余宽度让给搜索框；保底 340、基准 380、大屏上限 600。 */
.header-search { position: relative; flex: 1 1 380px; min-width: 300px; max-width: 600px; }
.header-search__input { display: block; width: 100%; height: 42px; box-sizing: border-box; -webkit-appearance: none; appearance: none; border: none; outline: none; border-radius: 21px; background: #eee; color: #7d7d7d; font-size: 13px; font-weight: 700; padding: 12px 59px 12px 20px; }
.header-search__input::placeholder { color: #7d7d7d; opacity: 1; }
.header-search__input:focus { background: #eee; }
.header-search__submit { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; padding: 0; display: flex; align-items: center; justify-content: center; border: none; background: transparent; color: #7d7d7d; cursor: pointer; }
.logo-mini { display: flex; align-items: center; }

/* ---------- 首页 hero ---------- */
.hero { background: var(--brand-dark); color: #fff; overflow: hidden; position: relative; }
.hero:after { content: ""; position: absolute; right: -120px; top: -160px; width: 620px; height: 620px; border-radius: 50%; background: rgba(14,154,154,.16); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding: 90px 0 96px; position: relative; z-index: 1; }
.hero .eyebrow { color: #6fd6d6; }
.hero h1 { font-size: 52px; line-height: 1.2; letter-spacing: .02em; }
.hero h1 em { font-style: normal; color: #6fd6d6; }
.hero-text > p { color: #c4d6e7; max-width: 560px; font-size: 15px; margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 14px; }
.hero-actions .btn-outline { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.hero-panel { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 28px; backdrop-filter: blur(4px); }
.panel-title { font-size: 13px; color: #9fc4dd; margin-bottom: 20px; }
.panel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; }
.panel-stats strong { display: block; font-size: 30px; color: #fff; line-height: 1.2; }
.panel-stats span { font-size: 12px; color: #a9c2d8; }
.panel-note { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; color: #8fb2cd; }

/* ---------- 首页各区块 ---------- */
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.two-col h2 { font-size: 30px; margin-bottom: 16px; }
.two-col p { color: #4a5b6c; font-size: 15px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag-row span { padding: 6px 14px; background: #eaf4f4; color: #0b6b6b; border-radius: 20px; font-size: 13px; }
/* 品牌介绍页（/brand/slk.html）：品牌墙照片，插在介绍段落与「主要产品线」之间；140px 放大 1.5 倍到 210px，手机端仍限宽不溢出 */
.intro-photo { max-width: min(210px, 100%); margin: 6px auto 22px; }
.intro-photo img { width: 100%; display: block; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(11,79,138,.10); }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brand-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; transition: .15s ease; }
.brand-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11,79,138,.08); }
.brand-icon { width: 40px; height: 40px; border-radius: 8px; background: #e8f1f8; color: var(--brand); display: grid; place-items: center; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
/* 品牌 logo 展示区：所有 logo 强制装进同一个 190x56 的框（树哥要求大小统一），
   img 等比缩放、不裁切、左对齐居中，宽 logo 和方块 logo 视觉高度一致协调 */
.brand-logo { height: 56px; width: 190px; display: flex; align-items: center; margin-bottom: 12px; }
.brand-logo img { max-height: 56px; max-width: 190px; width: auto; height: auto; object-fit: contain; display: block; }
.brand-card strong { font-size: 15px; }
.brand-card small { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.service-no { color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.service-card h3 { font-size: 16px; margin: 10px 0 8px; }
.service-card p { color: var(--muted); font-size: 13px; margin: 0; }
.cta { background: var(--brand); color: #fff; padding: 46px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { font-size: 26px; }
.cta p { color: #bcd6ea; margin: 8px 0 0; }
.cta-actions { display: flex; gap: 12px; }
.site-footer { background: #10263b; color: #a9bdd0; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { color: #fff; margin-bottom: 14px; }
.footer-logo small { color: #6fd6d6; }
/* 页脚 logo 现在整体是品牌页链接：抵消 .footer-grid a 的列表样式，保持原视觉不变 */
.footer-logo a { display: flex; align-items: center; margin: 0; font-size: inherit; color: inherit; }
.footer-logo a:hover { color: inherit; }
/* 后台入口：藏在页脚版权行里，低调到几乎看不出，知道的人鼠标扫过去才发现 */
.footer-bottom .admin-entry { margin-left: 12px; opacity: .45; font-size: 11px; }
.footer-bottom .admin-entry:hover { opacity: 1; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-grid a { display: block; margin-bottom: 8px; font-size: 13px; }
.footer-grid a:hover { color: #6fd6d6; }
.footer-grid p { font-size: 13px; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; display: flex; justify-content: space-between; font-size: 12px; color: #7e97ad; }

/* ---------- 产品列表 / 详情 ---------- */
.page-head { background: var(--bg); border-bottom: 1px solid var(--line); padding: 42px 0 34px; }
.page-head h1 { font-size: 32px; }
.page-head p { color: var(--muted); margin: 8px 0 0; }
.catalog-layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; padding: 34px 0 70px; align-items: start; }
.filters { position: sticky; top: 90px; }
.search-box { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; margin-bottom: 22px; }
.search-box input { flex: 1; min-width: 0; border: 0; padding: 9px 10px; font-size: 13px; outline: none; }
.search-box button { border: 0; background: var(--brand); color: #fff; padding: 0 14px; cursor: pointer; font-size: 13px; }
.filter-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.filter-group h4 { font-size: 13px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.filter-group a { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 5px; font-size: 13px; color: #4a5b6c; }
.filter-group a small { color: #9aa9b8; }
.filter-group a:hover { background: var(--bg); }
.filter-group a.active { background: #e9f4f4; color: #0b6b6b; font-weight: 600; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.catalog-bar strong { color: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .15s ease; display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11,79,138,.09); }
/* TopSeller 主推标注：卡片角标 + 详情页标题徽章，手机端也不遮挡产品名 */
.product-thumb { height: 150px; background: #eef3f8; display: grid; place-items: center; overflow: hidden; position: relative; }
.card-topseller { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 3px 9px; border-radius: 4px; background: #c0392b; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .5px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.badge-topseller { display: inline-block; margin: 0 0 6px; padding: 4px 11px; border-radius: 4px; background: #c0392b; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .3px; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-thumb span { font-size: 42px; font-weight: 700; color: #b9cfe0; }
.product-body { padding: 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-brand { font-size: 11px; color: var(--accent); }
.product-name { font-size: 13px; line-height: 1.5; height: 39px; overflow: hidden; }
.product-spec { font-size: 12px; color: var(--muted); height: 20px; overflow: hidden; }
.product-price { color: #c0392b; font-weight: 600; font-size: 16px; margin-top: auto; padding-top: 6px; }
.product-price small { color: var(--muted); font-weight: 400; font-size: 11px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 34px; padding: 7px 10px; text-align: center; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; background: #fff; }
.pager a:hover { border-color: var(--brand); }
.pager .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.breadcrumb { padding: 22px 0; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--accent); }
.detail-layout { display: grid; grid-template-columns: 420px 1fr; gap: 44px; padding-bottom: 60px; }
.detail-thumb { height: 380px; background: #eef3f8; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-thumb span { font-size: 90px; font-weight: 700; color: #b9cfe0; }
.detail-info h1 { font-size: 26px; margin: 8px 0; }
.detail-sku { color: var(--muted); font-size: 13px; }
.detail-price { margin: 22px 0; padding: 18px; background: var(--bg); border-radius: 8px; }
.detail-price strong { font-size: 28px; color: #c0392b; }
.detail-price strong.price-ask { font-size: 22px; color: var(--brand); }
.detail-price small { color: var(--muted); margin-left: 8px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table th, .spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 100px; color: var(--muted); font-weight: 400; background: #fafbfd; }
.detail-actions { display: flex; gap: 12px; margin: 24px 0 12px; }
.detail-note { font-size: 12px; color: var(--muted); }
.detail-desc { max-width: 900px; color: #4a5b6c; font-size: 15px; margin-top: 14px; }
.empty-page { text-align: center; padding: 100px 0; }
.empty-page h1 { font-size: 68px; color: var(--brand); }
.empty-page p { color: var(--muted); margin-bottom: 22px; }

/* ---------- 后台 ---------- */
.admin { background: #f3f6f9; }
.sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 220px; background: #0f3d37; color: #c3d2e0; display: flex; flex-direction: column; padding: 20px 14px; }
.sidebar .logo { color: #fff; font-size: 15px; padding: 4px 8px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar .logo-mark { width: 30px; height: 30px; font-size: 16px; }
.sidebar-label { font-size: 11px; letter-spacing: .12em; color: #6f8ba3; padding: 22px 10px 8px; }
.side-nav a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 14px; margin-bottom: 3px; }
.side-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side-nav a.active { background: var(--accent); color: #fff; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }
.sidebar-bottom a { display: block; padding: 7px 12px; font-size: 13px; }
.sidebar-bottom a:hover { color: #fff; }
.admin-main { margin-left: 220px; min-height: 100vh; }
.admin-top { height: 64px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.admin-top strong { font-size: 16px; }
.admin-top span { color: var(--muted); font-size: 12px; margin-left: 10px; }
.admin-user { font-size: 13px; color: var(--muted); }
.admin-user b { color: var(--ink); }
.admin-content { padding: 24px 28px 50px; }
.admin-content .flash { margin: 0 0 16px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat-card span { display: block; color: var(--muted); font-size: 12px; }
.stat-card strong { display: block; font-size: 24px; margin-top: 6px; color: var(--brand-dark); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.panel h3 { font-size: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.panel-head p { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.panel-head-right { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; }
.result-panel { border-color: #b9e2d9; background: #fbfefd; }
.result-numbers { display: flex; gap: 40px; margin: 18px 0; }
.result-numbers strong { font-size: 28px; color: var(--brand); display: block; }
.result-numbers span { font-size: 12px; color: var(--muted); }
.skip-list { background: #fff8f6; border: 1px solid #f3d8d2; border-radius: 6px; padding: 12px; font-size: 13px; color: #9b4637; max-height: 180px; overflow: auto; }
.result-actions { display: flex; gap: 10px; margin-top: 18px; }
.drop-zone { border: 2px dashed #cbd9e6; border-radius: var(--radius); padding: 34px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fafcfe; }
.drop-zone:hover { border-color: var(--accent); }
.drop-icon { width: 46px; height: 46px; border-radius: 50%; background: #e8f4f4; color: var(--accent); font-size: 26px; display: grid; place-items: center; }
.drop-zone strong { font-size: 15px; }
.drop-zone span { font-size: 12px; color: var(--muted); }
.drop-zone input { margin-top: 12px; font-size: 13px; max-width: 320px; }
.upload-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.upload-actions span { font-size: 12px; color: var(--muted); }
.admin-search { display: flex; gap: 8px; }
.admin-search input { width: 280px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; outline: none; font-size: 13px; }
.admin-search input:focus { border-color: var(--accent); }
.admin-search .btn { padding: 9px 18px; }
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { background: #f7f9fc; color: #5a6b7d; font-weight: 500; text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid #eef2f6; }
.admin-table tr:hover td { background: #fafcfe; }
.admin-table .mono { font-family: Consolas, Monaco, monospace; font-size: 12px; color: #4a5b6c; }
.admin-table .cell-name { min-width: 220px; }
.admin-table .cell-name a:hover { color: var(--accent); }
.admin-table .cell-ellipsis { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-table .muted { color: var(--muted); }
.table-empty { text-align: center; color: var(--muted); padding: 40px; }
.field-table td { color: #4a5b6c; }
.field-table th:first-child { width: 190px; }
.hint { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 10px; background: #eef2f6; color: #6b7a8c; font-size: 12px; }
.tag-red { background: #fdf0ef; color: #b04a38; }
.tag-green { background: #e9f6ee; color: #1a7f4b; }
.tag-gray { background: #eef2f6; color: #8a98a7; }
.link-btn { border: 0; background: none; color: var(--brand); cursor: pointer; font-size: 13px; padding: 0; }
.link-btn:hover { color: var(--accent); }
.admin-pager { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.admin-pager a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--brand); }
.login-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #0f3d37, #0e9a9a); }
.login-card { width: 380px; background: #fff; border-radius: 14px; padding: 34px; box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.login-card h1 { font-size: 22px; margin: 22px 0 6px; }
.login-card > p { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.login-card label { display: block; font-size: 13px; color: #4a5b6c; margin-bottom: 16px; }
.login-card input { width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; outline: none; font-size: 14px; }
.login-card input:focus { border-color: var(--accent); }
.login-foot { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }

@media (max-width: 1000px) {
  .hero-inner, .two-col, .detail-layout, .catalog-layout { grid-template-columns: 1fr; gap: 28px; }
  .product-grid, .brand-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  /* 小屏下导航隐藏，搜索框接管导航的空间；basis 归零让它严格取剩余宽度，
     否则输入框固有宽度会参与分配，文字 logo 横排变宽后整体会溢出视口 */
  .header-search { flex: 1 1 0; min-width: 0; max-width: none; }
  .sidebar { width: 170px; }
  .admin-main { margin-left: 170px; }
  .detail-thumb { height: 260px; }
}
@media (max-width: 640px) {
  .product-grid, .brand-grid, .service-grid, .stat-row, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .sidebar { position: static; width: auto; height: auto; }
  .admin-main { margin-left: 0; }
  /* 手机端 header：与原来隐藏「管理后台」按钮保持一致，伪装入口也收起，给搜索框腾位 */
  .logo-mini { display: none; }
  .header-inner { gap: 12px; height: 76px; }
  .logo { gap: 8px; }
  .logo-img { height: 28px; }
  .logo-text b { font-size: 14px; }
  .logo-text em { font-size: 17px; }
}

/* ---------- 订单中心（照 yrmart orderCenter 的形态） ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs a { padding: 9px 15px; font-size: 13px; color: #5a6b7d; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--brand); }
.tabs a.active { color: var(--brand); border-bottom-color: var(--accent); font-weight: 600; }
.tabs a small { display: inline-block; min-width: 18px; margin-left: 5px; padding: 0 5px; border-radius: 9px; background: #eef2f6; color: #6b7a8c; font-size: 11px; text-align: center; }
.tabs a.active small { background: var(--brand); color: #fff; }
.order-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.order-filter label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
.order-filter input, .order-filter select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; outline: none; background: #fff; }
.order-filter input:focus, .order-filter select:focus { border-color: var(--accent); }
.order-filter .btn { padding: 9px 16px; }
.admin-table .amount { color: #b8402f; font-weight: 600; white-space: nowrap; }
.tag-amber { background: #fff4e2; color: #a56a12; }
.detail-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
.detail-cols > div > .panel:last-child { margin-bottom: 0; }
.info-list { display: grid; grid-template-columns: 110px 1fr; gap: 0; margin: 0; font-size: 13px; }
.info-list dt { color: var(--muted); padding: 9px 0; border-bottom: 1px solid #eef2f6; }
.info-list dd { margin: 0; padding: 9px 0; border-bottom: 1px solid #eef2f6; }
.amount-sum { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 22px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: #4a5b6c; }
.amount-sum b { color: var(--ink); }
.amount-sum .amount-total { font-size: 15px; }
.amount-sum .amount-total b { color: #b8402f; font-size: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-grid label, .form-stack label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
.form-grid input, .form-grid select, .form-stack textarea, .item-table input, .item-table select {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 13px; outline: none; background: #fff; font-family: inherit; color: var(--ink);
}
.form-grid input:focus, .form-grid select:focus, .form-stack textarea:focus,
.item-table input:focus, .item-table select:focus { border-color: var(--accent); }
.form-stack textarea { resize: vertical; }
.item-table td { padding: 8px 10px; }
.item-table select { max-width: 190px; }
.log-box { margin: 0; padding: 12px; background: #f7f9fc; border: 1px solid var(--line); border-radius: 6px;
  font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 1.8; color: #4a5b6c;
  white-space: pre-wrap; word-break: break-all; }
@media (max-width: 1100px) {
  .detail-cols { grid-template-columns: 1fr; }
  .order-filter .btn[style] { margin-left: 0 !important; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .tabs a { padding: 8px 10px; }
}

/* ---------- 前台询价表单 + 询价单后台 ---------- */
.muted { color: var(--muted); }
.inquiry-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.inquiry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inquiry-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #4a5b6c; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 14px; font-family: inherit; color: var(--ink); outline: none; background: #fff;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--accent); }
.inquiry-form textarea { resize: vertical; }
.inquiry-msg { margin-top: 16px; }
.inquiry-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
/* 蜜罐字段：移出屏幕而不是 display:none，机器人照样会填 */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.inquiry-actions form { margin: 0; }
@media (max-width: 900px) {
  .inquiry-grid { grid-template-columns: 1fr 1fr; }
  .inquiry-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .inquiry-grid { grid-template-columns: 1fr; } }

/* ---- 多规格产品页：品牌区(LGC 式) + 规格价格表 + 共享参数区 ---- */
.detail-thumb-col { display: flex; flex-direction: column; gap: 14px; }
.brand-badge {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.brand-badge img { max-height: 44px; max-width: 130px; object-fit: contain; }
.brand-badge span { font-size: 16px; font-weight: 600; color: var(--brand); letter-spacing: .5px; }
/* DKM 品类副标（活性化合物 / 天然产物）：挂在品牌名下的小字，窄屏也不挤压 logo */
.brand-badge span small { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .2px; line-height: 1.4; }

.spec-price-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.spec-price-table th, .spec-price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-price-table th { background: #fafbfd; color: var(--muted); font-weight: 500; font-size: 13px; }
.spec-price-table tbody tr:hover { background: #f6fbfa; }
.sp-price { color: #c0392b; font-weight: 600; white-space: nowrap; }
.sp-mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: #4a5b6c; }
.btn-sm { padding: 5px 12px; font-size: 12px; }

.param-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin-top: 6px; }
.param-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eef2f6; font-size: 14px; }
.param-item span { color: var(--muted); min-width: 88px; flex-shrink: 0; }
.param-item b { font-weight: 500; color: var(--ink); word-break: break-all; }

.inquiry-form select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 14px; font-family: inherit; color: var(--ink); outline: none; background: #fff;
}
.inquiry-form select:focus { border-color: var(--accent); }

/* ---- 产品页整改：右侧「规格 / 货号 / 目录价 / 货期」实操表（Selleck 式左图右表） ---- */
.thumb-caption { font-size: 12px; color: var(--muted); text-align: center; min-height: 16px; }
.buy-box { margin: 18px 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.buy-head { padding: 14px 18px; background: #f4f8fb; border-bottom: 1px solid var(--line); }
.buy-lowest { font-size: 13px; color: var(--muted); }
.buy-lowest b { font-size: 26px; color: #c0392b; font-weight: 700; letter-spacing: -.5px; }
.buy-lowest.price-ask { font-size: 20px; color: var(--brand); font-weight: 600; }
.buy-box .detail-note { display: block; padding: 12px 18px; margin: 0; border-top: 1px solid var(--line); font-size: 12px; background: #fcfdfe; }
/* 右列比整页窄，表格字号和内边距收一点，避免 5 列挤出横向滚动条 */
.buy-box .spec-price-table { font-size: 13px; }
.buy-box .spec-price-table th, .buy-box .spec-price-table td { padding: 10px 12px; }
.buy-box .spec-price-table th { font-size: 12px; }
.lead-in { color: #1f8a5b; font-weight: 600; white-space: nowrap; }

/* 备案号链接：继承页脚灰蓝色，hover 才提亮，避免默认蓝色破坏深色页脚 */
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #e3eef7; text-decoration: underline; }

@media (max-width: 900px) { .param-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .param-grid { grid-template-columns: 1fr; } }

/* 运营账户管理：顶部添加表单与行内操作（沿用 admin-table 风格） */
.account-add { display: flex; flex-wrap: wrap; gap: 10px; }
.account-add input, .account-add select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; outline: none; font-size: 13px; }
.account-add input:focus, .account-add select:focus { border-color: var(--accent); }
.account-add input { width: 220px; }
.account-add select { width: 140px; }
.account-add .btn { padding: 9px 18px; }
.account-ops { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.account-ops form { display: flex; align-items: center; gap: 6px; }
.account-ops input[type=password] { width: 110px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; outline: none; }
.account-ops input[type=password]:focus { border-color: var(--accent); }
/* 产品别名 / 说明：目录号·CAS 行下方的一行小字，过长截断（完整内容在页面参数区） */
.detail-alias { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- 新闻资讯（列表 / 详情 / 后台编辑） ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 18px 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { color: var(--accent); }

.news-layout, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; padding-top: 34px; padding-bottom: 70px; align-items: start; }
.news-main, .article-main { min-width: 0; }
.news-tabs { margin-bottom: 18px; }
.news-filter-note { background: #eef7f6; border: 1px solid #cbe9e2; border-radius: 6px; padding: 9px 14px; font-size: 13px; color: #0b6b60; margin-bottom: 16px; }
.news-filter-note a { margin-left: 10px; color: var(--accent); }

.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.news-date { border-right: 1px solid var(--line); text-align: center; padding-right: 14px; }
.news-date b { display: block; font-size: 30px; line-height: 1.1; color: var(--brand); font-weight: 700; }
.news-date span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.news-item-tags { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.news-cat, .news-brand, .article-original { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 3px; background: #eef4f7; color: var(--brand); }
.news-brand { background: #f2f0fb; color: #5a55a8; }
.article-original { background: #e9f6ee; color: #1a7f4b; }
.news-item h2 { font-size: 19px; line-height: 1.45; margin: 0 0 8px; }
.news-item h2 a:hover { color: var(--accent); }
.news-item p { color: var(--muted); font-size: 13px; margin: 0 0 12px; line-height: 1.7; }
.news-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 12px; color: #93a1b0; }
.news-meta .link-more { margin-left: auto; }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.side-card h3 { font-size: 15px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-card > a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; color: #4a5b6c; border-bottom: 1px dashed #eef2f6; }
.side-card > a:last-child { border-bottom: 0; }
.side-card > a:hover, .side-card > a.active { color: var(--accent); font-weight: 600; }
.side-card > a span { color: #93a1b0; font-size: 12px; font-weight: 400; }
.side-news span { display: block; line-height: 1.5; }
.side-news small { display: block; color: #93a1b0; font-size: 11px; margin-top: 4px; }
.side-tip { color: var(--muted); font-size: 12px; margin: 0; }
.side-cta p { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.side-cta .btn + .btn { margin-top: 10px; }

/* 文章正文统一排版：后台只写干净的 HTML，不用管样式 */
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 22px; }
.article-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.article-head h1 { font-size: 30px; line-height: 1.4; margin: 0 0 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; color: #93a1b0; }
.article-lead { background: var(--bg); border-left: 3px solid var(--accent); padding: 16px 20px; color: #4a5b6c; font-size: 15px; line-height: 1.8; margin-bottom: 26px; border-radius: 0 6px 6px 0; }
.article-body { font-size: 15px; line-height: 1.9; color: #263441; min-height: 120px; }
.article-body h2 { font-size: 22px; margin: 34px 0 14px; padding-left: 12px; border-left: 4px solid var(--brand); }
.article-body h3 { font-size: 18px; margin: 26px 0 12px; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 18px; }
.article-body li { margin-bottom: 7px; }
.article-body blockquote { margin: 20px 0; padding: 12px 18px; background: var(--bg); border-left: 3px solid var(--brand); color: #4a5b6c; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article-body th { background: #f7f9fc; }
.article-body img { max-width: 100%; height: auto; border-radius: 6px; }
/* 视频型资讯：宽度跟随正文，手机端不溢出 */
.article-body video { display: block; max-width: 100%; height: auto; margin: 18px 0; border-radius: 6px; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body strong { color: var(--ink); }
/* 转载资讯在正文末尾标明原文出处，和正文区分开 */
.article-source { margin: 24px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.article-source a { color: var(--accent); }
.article-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.article-pn a { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.article-pn a:hover { border-color: var(--brand); }
.article-pn a.next { text-align: right; }
.article-pn small { color: var(--muted); font-size: 11px; }
.article-back { margin-top: 26px; }

/* 后台资讯编辑 */
.news-form .panel { margin-bottom: 18px; }
.news-form .panel > h3 { margin-bottom: 16px; }
.news-form label { margin-bottom: 12px; }
.news-form .form-grid { margin-top: 4px; }
.form-tip { color: var(--muted); font-size: 12px; background: var(--bg); padding: 10px 14px; border-radius: 6px; margin: 0 0 14px; }
.code-area { font-family: Consolas, Monaco, monospace; font-size: 13px; line-height: 1.6; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.top-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #9aa8b6; cursor: pointer; }
.top-btn:hover { border-color: var(--accent); color: var(--accent); }
.top-btn.active { border-color: #e6b45c; background: #fff4e2; color: #a56a12; }
.top-btn svg { width: 13px; height: 13px; fill: currentColor; }
.cell-name .tag { margin-left: 8px; vertical-align: middle; }
.news-top-tag { display: inline-block; padding: 2px 8px; border-radius: 3px; background: #fdeceb; color: #b8402f; font-size: 11px; font-weight: 600; }
.news-item.is-top { background: #fffaf3; box-shadow: inset 3px 0 0 #e0a44a; padding-left: 12px; padding-right: 12px; }
.link-btn.danger { color: #b8402f; }
.link-btn.danger:hover { color: #8f2d20; }

@media (max-width: 900px) {
  .news-layout, .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .news-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .side-card { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .news-item { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 20px 0; }
  .news-date b { font-size: 23px; }
  .news-item h2 { font-size: 17px; }
  .news-meta { gap: 10px; }
  .news-meta .link-more { margin-left: 0; width: 100%; }
  .article-head h1 { font-size: 24px; }
  .article-body { font-size: 14px; }
  .article-pn, .news-side { grid-template-columns: 1fr; }
  .news-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .news-tabs a { white-space: nowrap; }
}

/* ---------- 代理品牌介绍页（参照艾美捷 /brand/xxx.shtml） ---------- */
.brand-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; padding-bottom: 70px; align-items: start; }
.brand-main { min-width: 0; }
.brand-hero { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.brand-hero-logo { background: #fff; border: 1px solid var(--line); border-radius: 8px; height: 130px; display: grid; place-items: center; padding: 14px; }
.brand-hero-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-hero-logo span { font-size: 54px; font-weight: 700; color: var(--brand); }
.brand-hero h1 { font-size: 34px; margin: 0 0 8px; }
.brand-tagline { color: var(--accent); font-size: 16px; margin: 0 0 16px; }
.brand-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.brand-hero-meta b { color: var(--brand); font-size: 16px; }
.brand-hero-meta a { color: var(--accent); text-decoration: underline; }
.brand-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-section { margin-top: 38px; }
.brand-section > h2, .brand-section .section-head h2 { font-size: 22px; }
.brand-section > h2 { padding-left: 12px; border-left: 4px solid var(--brand); margin-bottom: 18px; }
.brand-section .section-head { margin-bottom: 16px; }
.brand-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.brand-cats a { display: flex; flex-direction: column; gap: 5px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.brand-cats a:hover { border-color: var(--brand); background: #f7fbfa; }
.brand-cats strong { font-size: 14px; color: var(--ink); }
.brand-cats span { font-size: 12px; color: var(--accent); }
.brand-news-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) 90px; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.brand-news-item:hover .brand-news-title { color: var(--accent); }
.brand-news-date { font-size: 12px; color: var(--muted); }
.brand-news-title { font-size: 14px; line-height: 1.5; }
.brand-news-title small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.brand-product-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.brand-product-table th { background: #f7f9fc; color: #5a6b7d; font-weight: 500; text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.brand-product-table td { padding: 11px 12px; border-bottom: 1px solid #eef2f6; }
.brand-product-table .cell-name a:hover { color: var(--accent); }
.brand-product-table .mono { font-family: Consolas, Monaco, monospace; font-size: 12px; color: #4a5b6c; white-space: nowrap; }
.brand-product-table .price { color: #b8402f; white-space: nowrap; }
.tag-topseller { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 3px; background: #fdeceb; color: #b8402f; font-size: 11px; }
.brand-disclaimer { margin-top: 28px; padding: 14px 18px; background: var(--bg); border-radius: 6px; color: var(--muted); font-size: 12px; }
.brand-side-tagline { color: var(--accent); font-size: 13px; margin: 0 0 14px; }
.brand-side-stats { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.brand-side-stats b { color: var(--brand); font-size: 15px; }
.brand-side-link { display: block; font-size: 13px; color: var(--accent); margin-bottom: 14px; }

@media (max-width: 900px) {
  .brand-layout { grid-template-columns: 1fr; gap: 24px; }
  .brand-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .brand-side .side-card { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .brand-hero { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .brand-hero-logo { height: 100px; }
  .brand-hero h1 { font-size: 27px; }
  .brand-news-item { grid-template-columns: 1fr; gap: 5px; }
  .brand-news-item .link-more { text-align: left; }
  .brand-side, .brand-cats { grid-template-columns: 1fr; }
}

/* ---- 品牌中心 /brands.html（艾美捷式 A-Z 索引 + 品牌卡片） ---- */
.section-head-links { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brands-head { padding-bottom: 26px; }
.brands-head p { max-width: 820px; }
.brands-head strong { color: var(--brand); }
/* 品牌介绍正文末尾的资料来源说明，弱化处理不与正文抢视线 */
.article-body .brand-source-note { font-size: 12px; color: var(--muted); }
.article-body .brand-source-note em { font-style: normal; }
.brands-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; padding: 30px 0 60px; }
.brand-alpha { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.brand-alpha a, .brand-alpha span { min-width: 32px; padding: 5px 8px; text-align: center; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; background: #fff; }
.brand-alpha a:hover { border-color: var(--brand); color: var(--brand); }
.brand-alpha .active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.brand-alpha .alpha-all { min-width: 48px; }
.brand-alpha .disabled { color: #c3ccd6; background: #fafbfc; cursor: default; }
.brand-field-tabs { margin-bottom: 18px; }
.brands-filter-note { padding: 10px 14px; margin-bottom: 18px; border: 1px solid #d8ebe8; border-radius: 6px; background: #f0f7f6; font-size: 13px; color: #3a5b57; }
.brands-filter-note strong { color: var(--brand); }
.brands-filter-note a { float: right; color: var(--accent); }
.brand-center-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bcc { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .15s ease; min-width: 0; }
.bcc:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(11,79,138,.07); }
.bcc-logo { flex: 0 0 148px; height: 84px; display: grid; place-items: center; padding: 8px; border: 1px solid #eef2f6; border-radius: 8px; background: #fff; min-width: 0; }
/* img 是 grid item 时 min-width:auto 会按图片原始宽度撑破容器（溢出重灾区），必须显式归零 */
.bcc-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; min-width: 0; }
.bcc-initial { font-size: 34px; font-weight: 700; color: var(--brand); }
.bcc-body { min-width: 0; flex: 1; }
.bcc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.bcc-head h2 { font-size: 17px; }
.bcc-head h2 a:hover { color: var(--accent); }
.bcc-letter { flex-shrink: 0; padding: 0 7px; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; color: var(--muted); }
.bcc-en { margin-top: 2px; font-size: 12px; color: var(--muted); letter-spacing: .03em; }
.bcc-tagline { margin: 8px 0 10px; font-size: 13px; color: var(--brand); }
.bcc-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.bcc-stats b { color: var(--ink); font-size: 14px; }
.bcc-field { padding: 1px 9px; border-radius: 10px; background: #eef7f6; color: var(--brand); }
.bcc-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.bcc-links a { color: var(--brand); }
.bcc-links a:hover { color: var(--accent); }
.bcc-links .link-more { font-weight: 600; }
.brands-note { margin-top: 32px; padding: 20px 22px; border-radius: 8px; background: var(--bg); }
.brands-note h2 { font-size: 18px; margin-bottom: 8px; }
.brands-note p { margin: 0; font-size: 13px; color: var(--muted); }
.brands-side .side-cta p { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  /* minmax(0,1fr) 而非 1fr：窄屏下 grid item 默认 min-width:auto，
     会被不换行的字母索引条撑破导致整页横向溢出 */
  .brands-layout { grid-template-columns: minmax(0, 1fr); }
  .brands-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .brands-side .side-card { margin-bottom: 0; }
  .brand-center-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .brand-alpha { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .brand-alpha a, .brand-alpha span { flex: 0 0 auto; }
  .brand-field-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .brand-field-tabs a { white-space: nowrap; }
  .bcc { flex-direction: column; gap: 12px; padding: 16px; }
  /* logo 容器按图片比例自适应，别拉满整卡宽度（DKM 这类宽扁 logo 会显得巨大） */
  .bcc-logo { flex: none; width: auto; max-width: 100%; height: 76px; padding: 0 18px; }
  .brands-side { grid-template-columns: 1fr; }
  .brands-head h1 { font-size: 26px; }
  .section-head-links { gap: 12px; }
}

/* ---------- 中优先级整改：列表页采购指引 / 首页 lead+FAQ / 产品卡真实字段 ---------- */
/* H2 改成客户问句后变长，允许 section-head 在窄屏换行，避免把右侧链接挤出去 */
.section-head { flex-wrap: wrap; gap: 12px; }

/* 产品中心：目录小标题 + 采购四步 + 价格说明 */
.catalog-h2 { font-size: 18px; margin: 0 0 14px; }
.guide-lead { color: var(--muted); max-width: 900px; margin: 0 0 28px; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.guide-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step-no { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.guide-step h3 { font-size: 15px; margin: 8px 0 6px; }
.guide-step p { color: var(--muted); font-size: 13px; margin: 0; }
.guide-h2 { font-size: 22px; margin: 0 0 14px; }
.price-note-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; max-width: 900px; }
.price-note-box p { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.price-note-box p:last-child { margin-bottom: 0; }
.price-note-box strong { color: var(--ink); }

/* 首页：H2 下的首段直接给定义 + 数字 + 适用边界，便于被引用 */
.section-lead { color: var(--muted); font-size: 14px; max-width: 900px; margin: -10px 0 24px; }
.lead { font-size: 15px; color: #33475c; }
.lead strong { color: var(--ink); }

/* 首页 FAQ：可见内容与 FAQPage Schema 共用同一份数据 */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.faq-item h3 { font-size: 15px; margin: 0 0 8px; color: var(--brand); }
.faq-item p { color: var(--muted); font-size: 13px; margin: 0; }

/* 首页产品卡：真实的规格数 / 目录号 / CAS / 包装，替换「规格详见详情」占位 */
.product-meta { font-size: 12px; color: var(--accent); height: 20px; overflow: hidden; }

@media (max-width: 1000px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .guide-grid, .faq-grid { grid-template-columns: 1fr; }
}

/* ---------- 关于赛猎克（/about.html）----------
   只服务这一个页面，全部用 .about-* 前缀，不影响首页/产品/资讯的既有样式 */
.about-hero .hero-inner { padding: 84px 0 88px; }
.about-hero h1 { font-size: clamp(36px, 4.2vw, 52px); }
.about-hero sup { font-size: 10px; vertical-align: top; position: relative; top: 2px; font-weight: 400; }
.about-hero-sub { font-size: 16px; letter-spacing: .14em; color: #8fd0c8; margin-top: 14px; }
.about-hero .hero-text > p { margin: 20px 0 26px; }
.about-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; color: #9fc4dd; }
.about-meta span { display: inline-flex; align-items: center; gap: 8px; }
.about-meta i { width: 4px; height: 4px; border-radius: 50%; background: #6fd6d6; flex: 0 0 4px; }
.about-figure { padding: 18px; }
.about-figure svg { width: 100%; height: auto; max-height: 380px; display: block; }

/* 名字即方法论：四张释义卡 + 方法链 */
.about-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: var(--radius); padding: 26px 22px 28px; transition: transform .2s ease, box-shadow .2s ease; }
.about-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(20,33,46,.08); }
.about-card .no { font-size: 11px; letter-spacing: .16em; color: #9aa9b8; }
.about-card .zi { font-size: 40px; font-weight: 600; line-height: 1.2; margin: 12px 0 0; color: var(--brand-dark); }
.about-card .zi.sm { font-size: 27px; letter-spacing: .02em; }
.about-card .latin { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.about-card .tag { font-size: 15px; font-weight: 600; margin: 18px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.about-card p { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 0; }
.about-chain { margin-top: 24px; background: var(--brand-dark); color: #cfe3e7; border-radius: var(--radius); padding: 18px 26px; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.about-chain b { color: #6fd6d6; font-weight: 600; }
.about-chain .arrow { color: #5e8791; }
.about-chain .note { margin-left: auto; font-size: 12px; color: #8fb2cd; }

/* 我们是谁：深色底 + 中英双栏 */
.about-who { background: var(--brand-dark); color: #fff; }
.about-who .two-col { gap: 56px; align-items: start; }
.about-who h2 { color: #fff; }
.about-who .eyebrow { color: #6fd6d6; }
.about-quote { border-left: 2px solid #6fd6d6; padding-left: 26px; }
.about-quote p { color: #dce9ed; font-size: 16px; line-height: 2.05; }
.about-quote .short { color: #9fc3c9; font-size: 14px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; margin-top: 22px; }
.about-side { margin-top: 28px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.about-side .k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #6fd6d6; display: block; margin-bottom: 12px; }
.about-side p { font-size: 12px; line-height: 1.95; color: #a9c7cf; margin: 0; }

/* 我们如何工作：四条原则 */
.about-pri { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.about-pri .item { padding: 28px 24px 6px 0; border-right: 1px solid var(--line); }
.about-pri .item:last-child { border-right: 0; }
.about-pri .item:not(:first-child) { padding-left: 24px; }
.about-pri .n { font-size: 12px; letter-spacing: .14em; color: var(--accent); font-weight: 600; }
.about-pri h3 { font-size: 17px; margin: 12px 0 10px; }
.about-pri p { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 0; }
.about-note { margin-top: 30px; font-size: 12px; color: var(--muted); border-left: 2px solid var(--line); padding-left: 14px; }
.about-note a { color: var(--brand); }
.about-note a:hover { color: var(--accent); }

/* 收尾：品牌主张 + 站内入口 */
.about-closing { text-align: center; border-top: 1px solid var(--line); }
.about-closing .big { font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; letter-spacing: .1em; margin: 18px 0 10px; }
.about-closing .big em { font-style: normal; color: var(--accent); }
.about-closing .slogan-en { font-size: 13px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.about-closing .line { margin-top: 26px; font-size: 14px; color: var(--muted); }
.about-closing .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.about-disclaimer { margin-top: 30px; font-size: 12px; color: #93a2b1; }
/* 首页「关于我们」区块指向独立介绍页的内链 */
.about-more { margin-top: 18px; }

@media (max-width: 900px) {
  .about-hero .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 60px 0; }
  .about-figure { max-width: 420px; }
  .about-cards, .about-pri { grid-template-columns: repeat(2, 1fr); }
  .about-pri .item { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .about-pri .item:not(:first-child) { padding-left: 0; }
  .about-who .two-col { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .about-cards, .about-pri { grid-template-columns: 1fr; }
  .about-chain .note { margin-left: 0; width: 100%; }
  .about-closing .actions { flex-direction: column; align-items: center; }
  .about-quote { padding-left: 16px; }
}

/* ---------- 窄屏快捷导航 ----------
   PC 端 .nav 在 1000px 以下被隐藏，此前手机端只能在页脚最底部找到「关于我们」。
   在 header 下方补一条与 PC 栏目完全一致的导航条，全部平铺可见、一点直达；
   默认隐藏，只在窄屏出现，因此桌面版布局与已验证的样式不受影响。 */
.mobile-nav { display: none; }
@media (max-width: 1000px) {
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav a {
    display: block;
    text-align: center;
    padding: 9px 4px;
    font-size: 13px;
    white-space: nowrap;
    color: var(--brand);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .mobile-nav a:active { background: #e0f3f2; border-color: var(--accent); color: var(--accent); }
}
@media (max-width: 360px) {
  .mobile-nav { padding: 10px 14px; gap: 6px; }
  .mobile-nav a { font-size: 12px; padding: 8px 2px; }
}

/* ---------- header 图形 logo（与资料库 about 页同款）----------
   瞄准镜图标 + 上行「SLK.cn 赛猎克®」+ 下行 SCIENCE LINKER 小字。
   旧 .logo-text 横排规则保留不删（无页面再用时是死代码，删了反而动历史）。 */
.logo-reticle { width: 36px; height: 36px; color: var(--accent); flex-shrink: 0; }
.logo-brand { display: flex; flex-direction: column; justify-content: center; gap: 3px; white-space: nowrap; line-height: 1.1; }
.logo-brand b { font-size: 19px; font-weight: 700; color: var(--brand-dark); letter-spacing: .02em; }
.logo-brand small { font-size: 10px; letter-spacing: .18em; color: #5b7484; font-weight: 400; }
@media (max-width: 1000px) {
  .logo-brand b { font-size: 16px; }
  .logo-reticle { width: 30px; height: 30px; }
}

/* SLK.cn 比品牌名小一号（16 / 19），恢复改版前的大小层次；赛猎克与 ® 不变。 */
.logo-brand b .logo-domain { font-size: 16px; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 1000px) {
  .logo-brand b .logo-domain { font-size: 14px; }
}

/* ---------- 页脚公众号二维码（替换原品牌 logo 位）----------
   二维码放页脚第一列顶部原 logo 的位置（树哥指示替换 logo、缩小尺寸、比例协调）。
   上一版「第五列 + grid 列覆盖」方案废弃：无断点限制的列覆盖曾凭源码顺序
   盖掉 640px 断点的单列规则，把手机页脚挤爆（已踩坑）；且两处放码重复。 */
.footer-qr { margin: 0 0 14px; }
.footer-qr img { width: 96px; height: auto; border-radius: 4px; display: block; }

/* ---------- 产品页 / 资讯文章页末尾统一联系方式块（2026-12-02 树哥定稿）----------
   模板层各渲染一块，全站新老内容自动生效；数据库正文不改动，保持清洗后的原样。
   纯追加规则，不覆盖任何已有样式；断点只收紧字号，不动布局。 */
.site-contact-box { margin: 28px 0 8px; padding: 18px 22px; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 8px; }
.site-contact-box h3 { font-size: 17px; margin: 0 0 10px; color: var(--brand-dark); }
.site-contact-box p { margin: 5px 0; font-size: 14px; line-height: 1.8; color: var(--ink); }
.site-contact-box b { color: var(--brand-dark); font-weight: 600; }
/* 急单提示紧跟 400 电话：用暖橙色和左侧粗边突出，但不盖过联系方式块的整体层级。 */
.site-contact-box .urgent-order { margin: 8px 0; padding: 7px 10px; background: #fff4ed; border-left: 3px solid #e85d3f; border-radius: 4px; color: #9c2f19; font-weight: 600; }
.site-contact-box .urgent-order b { color: #9c2f19; font-weight: 700; }
/* 产品页外层用 .wrap 对齐内容宽度，这里只补上下留白（.wrap 本身无 padding） */
.site-contact-box-wrap { padding-top: 26px; padding-bottom: 34px; }
@media (max-width: 640px) {
  .site-contact-box { padding: 14px 16px; margin: 22px 0 6px; }
  .site-contact-box h3 { font-size: 16px; }
  .site-contact-box p { font-size: 13px; }
}

/* 联系方式块右侧挂二维码：客户看完电话就能直接扫码，不用再去别处找 */
.site-contact-box.has-qrs { display: flex; align-items: center; gap: 24px; }
.site-contact-box.has-qrs .contact-info { flex: 1 1 auto; min-width: 0; }
.site-contact-box.has-qrs .contact-info > :first-child { margin-top: 0; }
.contact-qrs { display: flex; gap: 14px; flex: 0 0 auto; }
.contact-qrs figure { margin: 0; width: 100px; text-align: center; }
.contact-qrs img { display: block; width: 100px; height: 100px; border-radius: 6px; background: #fff; }
.contact-qrs figcaption { margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--muted); }
@media (max-width: 640px) {
  /* 手机屏窄，两个码挤在文字右边会把字压成一行两字，改为上下排 */
  .site-contact-box.has-qrs { flex-direction: column; align-items: stretch; gap: 12px; }
  .contact-qrs { justify-content: center; gap: 18px; }
  .contact-qrs figure { width: 108px; }
  .contact-qrs img { width: 108px; height: 108px; }
  .contact-qrs figcaption { font-size: 11px; }
}

/* 产品说明夹在规格表和参数表之间：白底 + 收紧留白，否则两块浅灰底连成一片，
   客户分不清哪里是说明、哪里是参数 */
.section.section-desc { padding: 48px 0 40px; }
.section-desc .section-head { margin-bottom: 8px; }
.section-desc .detail-desc { margin-top: 0; }
@media (max-width: 640px) { .section.section-desc { padding: 34px 0 28px; } }

/* 窄屏单列时 1fr 的 min-width 是 auto，规格表把列撑到 361px 导致整页横向滚动 6px、
   正文右侧被裁；minmax(0,1fr) 让列严格服从容器宽度，表格自己横向滚动 */
@media (max-width: 1000px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-layout > * { min-width: 0; }
}

/* 无产品图时不再只显示首字母：渐变占位卡把目录号做水印、产品名做主体。
   只给 .ph-thumb 加样式，有图的产品仍走原来的 <img> 分支 */
.ph-thumb { background: linear-gradient(135deg, #f6fbfa 0%, #e3f2ef 52%, #c3e2dc 100%); position: relative; }
.ph-thumb::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
/* 图片区右上角复用页面 header 的瞄准镜 SVG（双圈 + 四向刻度 + 圆心）。
   用 data URI 不新增图片请求，也不用改 4 处模板；只替换装饰，不参与排版、不挡点击 */
.ph-thumb::after { content: ""; position: absolute; right: -46px; top: -54px; width: 168px; height: 168px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Ccircle cx='16' cy='16' r='13' opacity='.45' stroke='%230F8B7E' stroke-width='1.2'/%3E%3Ccircle cx='16' cy='16' r='7.5' stroke='%230F8B7E' stroke-width='1.2'/%3E%3Ccircle cx='16' cy='16' r='2.6' fill='%2317B3A3'/%3E%3Cpath d='M16 1.5v5M16 25.5v5M1.5 16h5M25.5 16h5' stroke='%2317B3A3' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .12; pointer-events: none; }
/* 列表/首页卡片只有 150px 高：靶标等比缩小、再淡一档，免得压过产品名 */
.product-thumb.ph-thumb::after { width: 120px; height: 120px; right: -32px; top: -38px; opacity: .10; }
.ph-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.ph-sku { align-self: flex-start; padding: 4px 10px; border-radius: 4px; background: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .6px; color: var(--brand); }
.ph-name { font-size: 24px; font-weight: 600; line-height: 1.35; color: var(--brand-dark); overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.ph-meta { font-size: 12px; color: #4a7d75; }
.ph-watermark { position: absolute; right: -6px; bottom: -18px; font-weight: 800; letter-spacing: .04em; line-height: 1; color: rgba(15,61,55,.08); white-space: nowrap; pointer-events: none; }
/* 详情页 420×380 与卡片 ~280×150 各一套尺寸；后面的选择器要压过旧的
   .detail-thumb span / .product-thumb span（那两条是给首字母占位写的） */
.detail-thumb.ph-thumb { display: block; padding: 34px 30px; }
.detail-thumb .ph-watermark { font-size: 64px; right: 20px; bottom: 14px; color: rgba(15,61,55,.09); }
.detail-thumb .ph-sku { font-size: 12px; color: var(--brand); }
.detail-thumb .ph-meta { font-size: 12px; color: #4a7d75; }
.product-thumb.ph-thumb { display: block; padding: 16px 14px; }
/* 卡片只有 150px 高，大水印会被裁一半又压到下方品牌文字；目录号标签已经够了 */
.product-thumb .ph-watermark { display: none; }
.product-thumb .ph-sku { font-size: 10px; padding: 3px 7px; color: var(--brand); }
.product-thumb .ph-content { gap: 8px; }
.product-thumb .ph-name { font-size: 13px; line-height: 1.4; -webkit-line-clamp: 3; }
@media (max-width: 640px) {
  .detail-thumb.ph-thumb { padding: 24px 20px; }
  .detail-thumb .ph-name { font-size: 19px; }
  .detail-thumb .ph-watermark { font-size: 64px; }
}

/* 一键复制产品信息：紧跟标题下的目录号行，做成轻量文字按钮，不抢「在线询价」的视觉 */
.copy-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 10px 0 2px; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
  color: var(--brand); font-size: 12.5px; font-weight: 500; line-height: 1.4;
  cursor: pointer; transition: border-color .18s, color .18s, background .18s; }
.copy-btn:hover { border-color: var(--brand); background: #f6fbfa; }
.copy-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.copy-btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.copy-btn.is-done { color: var(--accent); border-color: var(--accent); background: #f0faf8; }
.copy-hint { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .copy-hint { display: none; } }

/* ---------- 2027 年度代表色主题：PANTONE 14-4812 Aqua Splash（水漾碧蓝）----------
   原色 #85ced1 很浅，白字压上去只有 1.79:1，不能整站平铺。按品牌规范分层落地：
   原色只用在非文本形状（按钮底、光晕、边框、选中态），文字与链接用同色系深一档，
   深色区由 #0f3d37 提亮到 #1e6169，解决「颜色太深」。
   本段纯追加，上面旧规则一行未改，整体回滚只需删掉本段。
   产品图占位卡 .ph-thumb / .ph-* 及靶标 SVG 不在此列，保持原样。 */
:root {
  --brand: #246e76;
  --brand-dark: #1e6169;
  --accent: #23737b;
  --aqua: #85ced1;
  --aqua-soft: #e4f5f6;
  --ink: #17343b;
  --muted: #5c7a82;
  --line: #d8ecee;
  --bg: #f2fafa;
}
/* 年度色做按钮/选中态时改用深墨字，白字会看不清 */
.btn-primary { background: var(--aqua); color: var(--ink); }
.btn-primary:hover { background: #6fc0c4; }
.side-nav a.active { background: var(--aqua); color: var(--ink); }
/* 页脚原是独立深蓝 #10263b，侧栏与登录渐变也要跟上，深色区才统一 */
.site-footer { background: var(--brand-dark); }
.sidebar { background: var(--brand-dark); }
.login-body { background: linear-gradient(135deg, var(--brand-dark), #3e9aa1); }
.hero:after { background: rgba(133,206,209,.22); }
/* 深底上的浅字由偏蓝改为偏青，跟年度色同一色相 */
.topbar { color: #cbe7e8; }
.hero .eyebrow, .hero h1 em, .footer-logo small, .footer-grid a:hover,
.about-hero-sub, .about-who .eyebrow, .about-side .k, .about-chain b { color: #a8e3e5; }
.about-meta i { background: #a8e3e5; }
.about-quote { border-left-color: #a8e3e5; }
.hero-text > p, .panel-title, .panel-stats span, .panel-note, .cta p,
.about-meta, .about-quote p, .about-quote .short, .about-side p,
.about-chain, .about-chain .note, .about-chain .arrow,
.site-footer, .footer-bottom, .sidebar, .sidebar-label { color: #cbe7e8; }
/* 浅色块与淡边框统一成水漾碧蓝的淡色调 */
.flash, .news-filter-note { background: #eaf8f8; border-color: #c6e9ea; color: #1c6a70; }
.tag-row span, .filter-group a.active, .brand-icon, .drop-icon,
.news-cat, .bcc-field, .mobile-nav a:active { background: var(--aqua-soft); color: #1c6a70; }
.brands-filter-note { background: #eff9f9; border-color: #c6e9ea; color: #2a5f64; }
.buy-head, .brand-cats a:hover, .copy-btn:hover, .copy-btn.is-done,
.spec-price-table tbody tr:hover, .buy-box .detail-note { background: #eff9f9; }
.result-panel { border-color: #bfe4e5; background: #f6fcfc; }
.article-lead { border-left-color: var(--aqua); }
.about-card { border-top-color: var(--aqua); }

/* hero 右上角原是一块实心浅色圆斑，与品牌图形无关；换成页头 logo 同款双圈靶标，让主视觉呼应瞄准镜。
   只覆盖装饰背景，旧规则一行未改；产品图占位卡的靶标是另一套，不在此改动 */
.hero:after {
  top: -60px;
  right: -40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none'%3E%3Ccircle cx='50' cy='50' r='48' stroke='%2385CED1' stroke-opacity='.45' stroke-width='.35'/%3E%3Ccircle cx='50' cy='50' r='29' stroke='%2385CED1' stroke-opacity='.58' stroke-width='.35'/%3E%3Ccircle cx='50' cy='50' r='2.4' fill='%2385CED1' fill-opacity='.45'/%3E%3Cpath d='M50 1v6M50 93v6M1 50h6M93 50h6' stroke='%2385CED1' stroke-opacity='.5' stroke-width='.35'/%3E%3C/svg%3E") center / contain no-repeat,
              radial-gradient(circle at center, rgba(133,206,209,.08) 0 62%, transparent 74%);
}
/* 关于页右栏本身已有靶点示意图，压淡避免「靶中靶」抢内容；手机端环线会穿过标题，整体再淡一档 */
.about-hero:after { opacity: .55; }
@media (max-width: 640px) { .hero:after { opacity: .4; } }

/* 树哥觉得靶标环线还偏显眼，整体再压淡一档。只加 opacity 覆盖，上面的图形与旧规则都不动 */
.hero:after { opacity: .7; }
.about-hero:after { opacity: .4; }
@media (max-width: 640px) { .hero:after, .about-hero:after { opacity: .28; } }

/* 参考关联站 yrmart.com：深色区由暗墨青 #1e6169 提亮为亮青绿 #00787c
   （取 yrmart 主色 #009195 略深一档，12-15px 小字仍有 ≥4.5:1 对比），水漾碧蓝 #85ced1 继续做浅色点缀。
   --brand-dark 同时也是页头 logo / 产品名 / 联系方式标题的文字色，不能直接改变量，
   所以只覆盖「以深色为底」的选择器；深色区文字另提亮到近白，避免亮底压住原来的浅青字 */
:root { --brand-deep: #00787c; }
.topbar, .hero, .site-footer, .sidebar, .cta, .about-who, .about-chain { background: var(--brand-deep); }
.login-body { background: linear-gradient(135deg, var(--brand-deep), #3e9aa1); }
.topbar, .hero-text > p, .panel-title, .panel-stats span, .panel-note, .cta p, .about-meta, .about-quote p, .about-quote .short, .about-side p, .about-chain, .about-chain .note, .about-chain .arrow, .site-footer, .footer-bottom, .sidebar, .sidebar-label { color: #e4f5f6; }
.hero .eyebrow, .hero h1 em, .footer-logo small, .footer-grid a:hover, .about-hero-sub, .about-who .eyebrow, .about-side .k, .about-chain b { color: #d8f2f3; }

/* 产品页「最新品牌资讯」（2026-12-02）：复用品牌页的资讯行样式，第三列改成品牌名。
   本品牌资讯不足时该区块会混入全站最新，标出来源才不会张冠李戴；纯追加，旧规则不动 */
.brand-news-list { border-top: 1px solid var(--line); }
.brand-news-brand { justify-self: end; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .brand-news-brand { justify-self: start; } }
/* 后台产品列表品牌筛选（2026-12-02）：与 .admin-search input 同款描边，选中即自动提交；纯追加 */
.admin-search .brand-select { width: 150px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; outline: none; font-size: 13px; background: #fff; cursor: pointer; }
.admin-search .brand-select:focus { border-color: var(--accent); }

/* 品牌页热推/主推标记放大（2026-12-02）：产品卡 .card-topseller 被 .product-thumb span
   的 42px 字号意外放大成醒目大红块，品牌中心原来只有 11px 浅粉小标签，观感差太远。
   只追加覆盖，旧规则一行不动；表格里的「主推」单独放大一档，避免撑破行高。 */
.brand-center-grid .bcc { position: relative; }
.brand-center-grid .bcc .tag-topseller { position: absolute; bottom: 20px; left: 20px; z-index: 2; margin: 0; padding: 7px 16px; border-radius: 6px; background: #c0392b; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: 2px; line-height: 1.2; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.brand-product-table .tag-topseller { padding: 3px 10px; border-radius: 4px; background: #c0392b; color: #fff; font-size: 13px; font-weight: 600; }
/* 手机端卡片竖排，左下角是文字区；角标退回品牌名后面，仍用红底白字，避免压住链接 */
@media (max-width: 640px) { .brand-center-grid .bcc .tag-topseller { position: static; display: inline-block; margin-left: 8px; font-size: 16px; padding: 4px 12px; letter-spacing: 1px; vertical-align: middle; } }
/* 产品卡「主推」缩小并移到图片区左下空白（2026-12-02）：
   .product-thumb span 的 42px 字号把它撑成大红块，遮住目录号与产品名；
   用更高特异性压回去，约缩到 1/3；首页最新上架、产品中心、详情页同品牌主推产品三处共用此 class。
   纯追加覆盖，旧规则一行不动。 */
.product-thumb .card-topseller { top: auto; bottom: 10px; left: 10px; padding: 3px 8px; border-radius: 3px; background: #c0392b; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .5px; line-height: 1.2; box-shadow: 0 1px 4px rgba(0,0,0,.12); }

/* 产品详情页板块间距收紧（2026-12-03）：规格区到「产品说明」之间约 150px 空白，
   来自 .detail-layout 的 60px 底留白 + .section-desc 的 48px 顶留白；各 section
   上下各 72px 也偏松。.detail-layout 只在产品页出现，用兄弟选择器锁定范围，
   纯追加覆盖，旧规则一行不动。 */
.detail-layout { padding-bottom: 8px; }
.detail-layout ~ .section { padding: 44px 0; }
.detail-layout ~ .section.section-desc { padding: 16px 0 20px; }
.detail-layout ~ .site-contact-box-wrap { padding-top: 14px; padding-bottom: 18px; }

/* 关于页英文介绍放大（2026-12-03）：只覆盖该区域，保持双栏与移动端原有布局 */
.about-side .k { font-size: 18px; }
.about-side p { font-size: 18px; line-height: 1.85; }

/* 关于页左侧科研网络动画（2026-12-03）：替代空白，不使用地图版图 */
.about-network { margin-top: 30px; max-width: 520px; }
.about-network svg { display: block; width: 100%; height: auto; overflow: visible; }
.net-orbit { transform-origin: 260px 200px; animation: netOrbit 26s linear infinite; }
.net-links path { stroke-dasharray: 7 9; animation: netFlow 5s linear infinite; }
.net-node { transform-box: fill-box; transform-origin: center; animation: netPulse 3s ease-in-out infinite; }
.net-node.n2, .net-node.n6 { animation-delay: -.8s; }
.net-node.n3, .net-node.n7 { animation-delay: -1.6s; }
.net-node.n4, .net-node.n8 { animation-delay: -2.4s; }
.net-node.n5, .net-node.n9 { animation-delay: -1.2s; }
.net-core { animation: netCore 2.4s ease-in-out infinite; }
.net-satellite { transform-origin: 260px 200px; animation: netOrbit 14s linear infinite; }
@keyframes netOrbit { to { transform: rotate(360deg); } }
@keyframes netFlow { to { stroke-dashoffset: -64; } }
@keyframes netPulse { 0%, 100% { opacity: .55; transform: scale(.86); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes netCore { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@media (max-width: 1000px) { .about-network { max-width: 480px; margin-top: 22px; } }
@media (prefers-reduced-motion: reduce) { .about-network * { animation: none !important; } }

/* 关于页收尾区品牌 Logo（2026-12-03）：替换原标题中的间隔圆点 */
.about-closing .big .about-closing-logo { display: inline-block; width: 1.25em; height: auto; margin: 0 .12em; vertical-align: -.18em; }

/* 树哥要求收尾 Logo 放大一倍（2026-12-03）：宽度从 1.25em 调整为 2.5em */
.about-closing .big .about-closing-logo { width: 2.5em; }

/* 树哥要求 Logo 顺时针旋转 90 度（2026-12-03）：仅影响关于页收尾区 */
.about-closing .big .about-closing-logo { transform: rotate(90deg); }

/* 关于页收尾标题手机端优化（2026-12-03）：避免「价值」两字落单，PC 保持原样 */
@media (max-width: 640px) {
  .about-closing .big { font-size: 26px; letter-spacing: .04em; white-space: nowrap; }
  .about-closing .big .about-closing-logo { width: 2em; margin: 0 .08em; vertical-align: -.12em; }
}

/* 页脚微信搜一搜横图（2026-12-03）：替代原方形公众号码，品牌文字上移并合为一行 */
.footer-qr { margin: 0 0 14px; }
.footer-qr-title { margin-bottom: 8px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.footer-qr img { display: block; width: 100%; max-width: 280px; height: auto; border-radius: 8px; }

/* 科研网络动画精致版（2026-12-03）：渐变轨道、弧形虚线、节点光晕与中心波纹 */
.about-network svg { overflow: visible; }
.net-orbit { transform-origin: 260px 200px; animation: netOrbit 34s linear infinite; }
.net-orbit-b { animation-duration: 46s; animation-direction: reverse; }
.net-links path { stroke-dasharray: 5 10; animation: netFlow 7s linear infinite; }
.net-links path:nth-child(2n) { animation-delay: -2.4s; }
.net-links path:nth-child(3n) { animation-delay: -4.2s; }
.net-halo, .net-dot { transform-box: fill-box; transform-origin: center; animation: netPulse 4.2s ease-in-out infinite; }
.net-halo.h3, .net-halo.h5, .net-halo.h7, .net-halo.h9, .net-dot.d3, .net-dot.d5, .net-dot.d7, .net-dot.d9 { animation-delay: -1.4s; }
.net-halo.h4, .net-halo.h8, .net-dot.d4, .net-dot.d8 { animation-delay: -2.8s; }
.net-ripples circle { transform-box: fill-box; transform-origin: center; animation: netRipple 4.8s ease-out infinite; }
.net-ripples circle:last-child { animation-delay: -2.4s; }
.net-core { animation: netCore 2.8s ease-in-out infinite; }
.net-satellite { transform-origin: 260px 200px; animation: netOrbit 18s linear infinite; }
@keyframes netPulse { 0%, 100% { opacity: .5; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes netRipple { 0% { opacity: .48; transform: scale(.72); } 80%, 100% { opacity: 0; transform: scale(2.15); } }
@media (prefers-reduced-motion: reduce) { .about-network * { animation: none !important; } }

/* 首页关于我们：用真实产品分类补齐左侧空白，点击直接进入对应筛选页（2026-12-03） */
.home-about-nav { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.home-about-nav-title { margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.home-about-nav-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-about-nav-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--brand); font-size: 14px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.home-about-nav-grid a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,79,138,.08); }
.home-about-nav-grid i { color: var(--accent); font-style: normal; }
.home-about-all { display: inline-block; margin-top: 16px; color: var(--brand); font-size: 14px; font-weight: 600; text-decoration: none; }
@media (max-width: 640px) { .home-about-nav { margin-top: 24px; } .home-about-nav-grid a { padding: 12px; font-size: 13px; } }
