/* ========================================================================
   公司转让站改造样式 (公司转让风格)
   保留原 fkw 页头 + banner；隐藏原中间内容与页脚；注入 4 个新板块。
   全宽色带 + 1200 居中列，跟随视口宽（配合 clone.css 的 full-bleed 修复）。
   ======================================================================== */
#fullmeasureTopForms,#webContainerTable,#fullmeasureBottomForms,#webFooterTable{display:none!important}

#tf-root{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#333;line-height:1.5}
#tf-root *{box-sizing:border-box}
#tf-root a{color:inherit;text-decoration:none}
/* scroll-margin-top：凡科原生导航 #navV2 滚动后会变 fixed，锚点跳转时给板块留出导航条高度，
   否则落点会被导航条盖住（见 site/server.cjs 里 /zr/col.jsp 的 301 锚点映射）。 */
.tf-section{width:100%;scroll-margin-top:70px}

/* 窄屏横向滚动条已在 clone.js 里从根因修掉（innerWidth → clientWidth，不再把滚动条算进可用宽度）。
   这里刻意**不再**补 html{overflow-x:hidden}：实测那样只是把最右侧 20 来 px 的内容裁掉、不让人拖到，
   而溢出的其实是**有内容的模块容器**（module585/584 等），等于用一个问题换另一个。 */
.tf-wrap{max-width:1200px;margin:0 auto;padding:0 10px}
.tf-arrow{font-size:12px;color:#bbb;margin-left:4px}

/* ---------- 转让页首屏：双图淡入轮播 ---------- */
.tf-hero,.tf-hero *{box-sizing:border-box}
.tf-hero{position:relative;isolation:isolate;min-height:445px;overflow:hidden;background:#c74600;color:#fff}
.tf-hero-slides,.tf-hero-slide,.tf-hero-shade{position:absolute;inset:0}
.tf-hero-slides{z-index:0;overflow:hidden}
.tf-hero-slide{background-position:center;background-repeat:no-repeat;background-size:cover;opacity:0;animation:tfHeroFade 12s infinite}
.tf-hero-slide:nth-child(2){animation-delay:6s}
.tf-hero-slide.is-active{opacity:1}
.tf-hero-shade{z-index:1;background:linear-gradient(90deg,rgba(8,24,54,.62),rgba(8,24,54,.14) 68%,rgba(8,24,54,.22))}
@keyframes tfHeroFade{0%,46%{opacity:1}50%,96%{opacity:0}100%{opacity:1}}
@media(prefers-reduced-motion:reduce){.tf-hero-slide{animation:none}.tf-hero-slide:not(.is-active){display:none}}
.tf-hero-inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:56px;max-width:1200px;min-height:445px;margin:0 auto;padding:42px 10px}
.tf-hero-copy{flex:1 1 auto;padding:12px 0 0 28px}
.tf-hero-kicker{margin:0 0 22px;color:#ffd4a8;font-size:16px;letter-spacing:1px}
.tf-hero h1{margin:0;color:#fff;font-size:58px;line-height:1.12;font-weight:300;letter-spacing:1px}
.tf-hero h1 strong{display:block;margin-top:12px;color:#ffd16a;font-size:34px;font-weight:600;letter-spacing:0}
.tf-hero-sub{margin:24px 0 0;color:#ffe8d2;font-size:15px}
.tf-hero-points{display:flex;align-items:center;gap:14px;margin-top:46px;color:#fff;font-size:15px}
.tf-hero-points i{width:28px;height:2px;background:#ffd16a;display:block}
.tf-hero-form{flex:0 0 300px;width:300px;padding:18px 16px 15px;background:#f6ded3;color:#3d302b;border-radius:6px;box-shadow:0 12px 28px rgba(74,22,0,.18)}
.tf-hero-form h2{margin:0 0 12px;text-align:center;font-size:22px;font-weight:500;color:#4a3028}
.tf-hero-field{display:block;margin:0 0 9px}
.tf-hero-field input,.tf-hero-field select,.tf-hero-field textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #ead4ca;border-radius:2px;background:#fff;color:#5a4b46;font:14px/1.4 "Microsoft YaHei","PingFang SC",Arial,sans-serif;outline:none;padding:0 11px}
.tf-hero-field input,.tf-hero-field select{height:42px}
.tf-hero-field textarea{min-height:52px;padding-top:10px;resize:vertical}
.tf-hero-field input:focus,.tf-hero-field select:focus,.tf-hero-field textarea:focus{border-color:#ef8c45;box-shadow:0 0 0 2px rgba(239,140,69,.15)}
.tf-hero-form button{width:100%;height:42px;border:0;border-radius:2px;background:#1685d6;color:#fff;font-size:15px;font-weight:600;cursor:pointer}
.tf-hero-form button:hover{background:#0877c7}.tf-hero-form button:disabled{opacity:.65;cursor:default}
.tf-hero-msg{min-height:17px;margin:8px 0 0;text-align:center;font-size:12px}.tf-hero-msg.ok{color:#267b45}.tf-hero-msg.err{color:#bb3e28}
.tf-hero-shape{position:absolute;z-index:1;pointer-events:none;opacity:.2;background:#e56b10}
.tf-hero-shape-a{width:780px;height:310px;right:-160px;top:-165px;border-radius:0 0 0 72%}
.tf-hero-shape-b{width:760px;height:180px;left:30%;bottom:-110px;border-radius:60% 40% 0 0;background:#a83200;opacity:.3}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){
  .tf-hero{min-height:620px}.tf-hero-inner{min-height:620px;flex-direction:column;align-items:stretch;justify-content:center;gap:24px;padding:34px 18px}
  .tf-hero-copy{padding:0;text-align:left}.tf-hero-kicker{margin-bottom:14px;font-size:13px}.tf-hero h1{font-size:40px}.tf-hero h1 strong{font-size:25px;margin-top:8px}.tf-hero-sub{margin-top:15px;font-size:13px}.tf-hero-points{margin-top:24px;gap:9px;font-size:12px}.tf-hero-points i{width:18px}
  .tf-hero-form{flex:0 0 auto;width:100%;max-width:340px;align-self:center}.tf-hero-shape-a{right:-260px}.tf-hero-shape-b{left:5%;bottom:-80px}
}

/* ---------- 板块2 业务范围 ---------- */
.tf-scope{background:#fff;padding:44px 0 50px}
.tf-scope .tf-wrap{display:flex;gap:0}
.tf-scope .tf-col{flex:1;padding:0 26px;border-right:1px solid #eee}
.tf-scope .tf-col:first-child{padding-left:0}
/* 公司转让已挪出本板块 → 只剩 2 栏，末列不该再画右边框 */
.tf-scope .tf-col:last-child{border-right:none;padding-right:0}
.tf-scope .tf-side{flex:0 0 300px;padding-left:30px;border-right:none}
.tf-ctitle{font-size:20px;font-weight:700;color:#222;margin:0 0 22px}
.tf-ctitle .tf-arrow{font-size:13px}
/* 每栏 6 小块，一行 3 个 × 两行。旧版分栏布局遗留，保留兼容。 */
.tf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 20px}

/* ---------- 导航：加了「求购表 / 挂售表」两项后宽度不够 ----------
   凡科把 #navCenter 的宽烘死成内联 style="width:680px"（5 项时的值），
   7 项会挤成换行或被裁。!important 能压过非 important 的内联样式。 */
#navCenter{width:auto!important}
#navCenterContent{overflow:visible!important}

/* ---------- 财税服务业务：整幅 18 项网格 ---------- */
.tf-biz-head{display:flex;align-items:baseline;justify-content:center;margin-bottom:32px}
.tf-biz-head h2{font-size:24px;font-weight:700;color:#222;margin:0}
.tf-biz-head em{font-style:normal;font-size:14px;color:#9aa2ad;margin-left:14px}
/* 6 列 × 3 行 = 18 项。格子宽约 180px，副标题最长 8 字（96px）放得下。 */
.tf-biz-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:30px 18px}
@media(max-width:1100px){.tf-biz-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.tf-biz-grid{grid-template-columns:repeat(2,1fr);gap:24px 12px}}
.tf-item{display:block;cursor:pointer;text-align:center}
.tf-ico{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;margin:0 auto 12px}
/* 选择器必须限定到"文字那一格"里：.tf-ico 本身是 span，写成 .tf-item span 会以
   更高特异性(0,2,0)把它刷成 display:block，压掉 .tf-ico 的 display:flex → 图标贴着左上角不居中。 */
.tf-item > div > b{display:block;font-size:16px;font-weight:600;color:#333;white-space:nowrap}
.tf-item > div > span{display:block;font-size:12px;color:#9aa2ad;margin-top:5px;white-space:nowrap}
.tf-item:hover > div > b{color:#2f7fff}

/* ---------- 公司转让：整宽横版留资带（紧跟热门推荐下方） ----------
   左：标题 + 说明 + 我要买/我要卖；右：公司名/手机号/提交 一行排开。 */
.tf-transfer{background:linear-gradient(90deg,#1e5fc4,#2f7fff);padding:30px 0 22px}
.tf-tr-inner{display:flex;align-items:center;gap:36px}
.tf-tr-left{flex:0 0 auto;min-width:250px}
.tf-tr-title{font-size:22px;font-weight:800;color:#fff;margin:0 0 8px}
.tf-tr-title .tf-arrow{font-size:13px;color:rgba(255,255,255,.55)}
.tf-tr-lead{font-size:13px;line-height:1.7;color:rgba(255,255,255,.85);margin:0}
.tf-tr-tabs{display:flex;gap:8px;margin-top:14px}
.tf-tr-tabs b{font-size:13px;font-weight:500;padding:4px 14px;border-radius:14px;cursor:pointer;
  color:#fff;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35)}
.tf-tr-tabs b.on{background:#fff;color:#2f7fff;border-color:#fff;font-weight:600}
.tf-tr-form{flex:1;display:flex;gap:12px;align-items:center;min-width:0}
.tf-tr-form input{flex:1;height:48px;min-width:0;border:none;border-radius:4px;padding:0 16px;
  font-size:14px;color:#666;outline:none;box-sizing:border-box}
.tf-tr-form button{flex:0 0 118px;height:48px;border:none;border-radius:4px;background:#ff7a18;
  color:#fff;font-size:16px;font-weight:600;cursor:pointer}
.tf-tr-form button:hover{background:#ea6a0c}
.tf-tr-form button:disabled{background:#ffb27a;cursor:default}
.tf-tr-msg{font-size:13px;text-align:right;min-height:18px;margin-top:8px;color:#fff}
.tf-tr-msg.ok{color:#b7f7c8}
.tf-tr-msg.err{color:#ffd6d6}
/* 窄屏：左右改上下堆叠，输入框仍保持一行 */
@media(max-width:1100px){
  .tf-tr-inner{flex-direction:column;align-items:stretch;gap:18px}
  .tf-tr-left{min-width:0}
}
@media(max-width:680px){
  .tf-tr-form{flex-wrap:wrap}
  .tf-tr-form input{flex:1 1 100%}
  .tf-tr-form button{flex:1 1 100%}
}

/* ---------- 板块2 第三栏：公司转让留资表单（旧版竖排，已不用，保留兼容） ---------- */
.tf-col-form{border-right:none}
/* 标题与"我要买/我要卖"同一行，标签靠右 */
.tf-form-head{display:flex;align-items:baseline;gap:16px;margin-bottom:20px}
.tf-form-head .tf-ctitle{margin:0;white-space:nowrap}
.tf-form-head .tf-tabs{margin:0 0 0 auto;border-bottom:none;gap:16px}
.tf-form-head .tf-tabs b{font-size:15px;padding-bottom:4px}
.tf-form-lead{font-size:13px;color:#9aa2ad;line-height:1.8;margin:0 0 20px}
.tf-form{display:flex;flex-direction:column;gap:14px;max-width:320px}
.tf-form input{height:48px;border:1px solid #e3e6eb;border-radius:4px;padding:0 14px;font-size:14px;color:#666;outline:none;box-sizing:border-box;width:100%}
.tf-form input:focus{border-color:#2f7fff}
.tf-form button{height:48px;border:none;border-radius:4px;background:#2f7fff;color:#fff;font-size:16px;cursor:pointer}
.tf-form button:hover{background:#1e5fc4}
.tf-form button:disabled{background:#9ab8f0;cursor:default}
.tf-form-msg{font-size:12px;line-height:1.7;min-height:18px}
.tf-form-msg.ok{color:#22c55e}
.tf-form-msg.err{color:#ff3b30}

/* ---------- 右侧悬浮转化组件 ---------- */
/* 组件挂在 <html> 下（见 transfer.js），不在 #tf-root / <body> 里 —— 两个原因：
   1) body 在窄屏会被 clone.js 加 transform:scale()，祖先有 transform 时 position:fixed
      会退化成相对该祖先定位，组件就不再钉住、跟着页面滚；
   2) 既然不在 #tf-root 内，就绕开了全局 #tf-root a{color:inherit}(1,0,1)，不必再拿 ID 提权。
   代价：组件不参与 body 的缩放，窄屏下保持原尺寸（浮动组件本就该如此）。 */
.tf-float{position:fixed;right:16px;top:50%;transform:translateY(-50%);z-index:9999;width:76px;
  border-radius:8px;box-shadow:0 4px 18px rgba(0,0,0,.14);
  font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;
  animation:tfFloatIn .38s cubic-bezier(.22,.61,.36,1) both}
/* 进场从右侧滑入。关键帧末态必须写回 translate(0,-50%)，
   否则 animation 的 transform 会覆盖掉 .tf-float 自身的 translateY(-50%) 垂直居中。 */
@keyframes tfFloatIn{
  from{opacity:0;transform:translate(18px,-50%)}
  to  {opacity:1;transform:translate(0,-50%)}
}
@media (prefers-reduced-motion:reduce){.tf-float{animation:none}}
.tf-fl-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:7px;width:100%;height:78px;border:none;background:#fff;color:#666;cursor:pointer;text-decoration:none;
  font-size:13px;font-family:inherit;padding:0;border-bottom:1px solid #f0f0f0;box-sizing:border-box}
.tf-fl-item:first-child{border-radius:8px 8px 0 0}
.tf-fl-item:last-child{border-radius:0 0 8px 8px;border-bottom:none}
.tf-fl-item:hover{filter:brightness(.96)}
.tf-float .tf-fl-tel{background:#e63946;color:#fff;border-bottom-color:#d02b38}
.tf-float .tf-fl-pub{background:#fdeaea;color:#c1272d;border-bottom-color:#f7dada}
.tf-float svg{display:block}
/* 悬停气泡：父级不能有 overflow:hidden，否则被裁掉——圆角改由首尾子元素各自承担 */
.tf-fl-tip{position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);
  background:#333;color:#fff;font-size:12px;font-style:normal;line-height:1.7;padding:8px 12px;
  border-radius:5px;white-space:nowrap;display:none;text-align:center;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.tf-fl-item:hover .tf-fl-tip{display:block}

/* 右侧买卖询价框 */
.tf-side{position:relative}
.tf-tabs{display:flex;gap:26px;border-bottom:1px solid #eee;margin-bottom:22px}
.tf-tabs b{font-size:18px;padding-bottom:12px;color:#999;cursor:pointer;position:relative}
.tf-tabs b.on{color:#2f7fff}
.tf-tabs b.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:#2f7fff;border-radius:2px}
.tf-callbox{display:flex;margin-bottom:16px;box-shadow:0 2px 12px rgba(0,0,0,.08);border-radius:4px;overflow:hidden}
.tf-callbox input{flex:1;border:none;padding:0 14px;height:48px;font-size:13px;outline:none;color:#666}
.tf-callbox button{flex:0 0 96px;border:none;background:#2f7fff;color:#fff;font-size:15px;cursor:pointer}
.tf-eval{position:relative;display:block;height:52px;line-height:52px;text-align:center;background:#2f7fff;color:#fff;font-size:17px;border-radius:4px;margin-bottom:26px}
/* 必须压过 #tf-root a{color:inherit}（特异性 1,0,1），否则 .tf-eval 作为 <a> 被刷成 #333 深灰 */
#tf-root .tf-eval{color:#fff}
/* line-height 必须显式压掉：否则继承 .tf-eval 的 52px，标签被撑成 56px 高的橙块盖住按钮 */
.tf-eval .tf-badge{position:absolute;top:-10px;right:14px;line-height:1;background:#ff7a18;color:#fff;font-size:12px;padding:5px 9px;border-radius:10px;white-space:nowrap}
.tf-eval span{margin-left:6px}
.tf-dyn-h{font-size:14px;color:#666;margin:0 0 14px}
.tf-dyn{display:flex;align-items:center;font-size:13px;color:#666}
.tf-dyn .tf-avatar{width:22px;height:22px;border-radius:50%;background:#2f7fff;color:#fff;font-size:11px;display:inline-flex;align-items:center;justify-content:center;margin-right:8px}
.tf-dyn .tf-time{margin-left:auto;color:#9aa2ad;font-size:12px}
.tf-dyn-txt{font-size:13px;color:#333;margin-top:10px}

/* ---------- 板块3 流程介绍 ---------- */
.tf-flow{background:#fff;padding:6px 0 46px}
.tf-h2{text-align:center;font-size:24px;font-weight:700;color:#222;margin:30px 0 40px}
.tf-steps{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}
.tf-step{display:flex;align-items:center;gap:10px;background:#2f6fdf;color:#fff;border-radius:24px;padding:10px 20px 10px 12px;flex:0 0 auto}
.tf-step i{width:26px;height:26px;border-radius:50%;background:#fff;color:#2f6fdf;font-style:normal;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
.tf-step b{font-size:15px;font-weight:500}
.tf-gt{color:#8fb0e8;font-size:16px;font-weight:700}
/* 蓝色热线横幅 */
.tf-cta{margin-top:34px;background:linear-gradient(90deg,#1e5fc4,#2f7fff);border-radius:6px;color:#fff;padding:40px 56px}
.tf-cta h3{font-size:34px;font-weight:800;margin:0 0 22px}
.tf-cta p{font-size:22px;margin:0;letter-spacing:1px}

/* 保留凡科 header/banner/footer：用户期望看到凡科原貌 + 乔木 4 板块在中间 */
/* 隐藏原凡科中间内容（业务介绍/优势/案例等），避免和乔木 4 板块重复 */
#fullmeasureTopForms,#webContainerTable,#fullmeasureBottomForms{display:none!important}
#tf-root{position:relative;z-index:2;padding-top:0}

/* #baked-heights 里按"原完整凡科内容"烘死的 #web 高度（3640px）已过期：
   中间内容被隐藏后实际只到 ~3354px，多出 286px 空白。改回自适应内容高度。 */
#web{height:auto!important}

/* 商品展示板块：从 API 动态加载，添加加载态 + 特价公司高亮 */
.tf-loading{padding:60px 20px;text-align:center;color:#9aa2ad;font-size:14px}
.tf-card-special{position:relative;border:2px solid #ff7a18;box-shadow:0 4px 16px rgba(255,122,24,.15)}
.tf-card-special::before{content:"限时特价";position:absolute;top:-12px;left:12px;background:linear-gradient(90deg,#ff7a18,#ff5722);color:#fff;font-size:12px;padding:3px 10px;border-radius:10px;font-weight:600;letter-spacing:.5px}
.tf-tag-special{background:linear-gradient(90deg,#ff7a18,#ff5722)!important;color:#fff!important;border:0!important}
.tf-sim-badge{display:inline-block;margin-left:8px;padding:1px 5px;border-radius:3px;background:#f1f5f9;color:#7b8492;font-size:11px;vertical-align:1px}

/* ---------- 板块3.5 特价公司独立板块（橙色主题） ---------- */
.tf-special{background:linear-gradient(135deg,#fff7ed 0%,#fef3c7 100%);padding:54px 0 60px;border-top:3px solid #ff7a18;border-bottom:1px solid #fed7aa}
.tf-sp-head{display:flex;align-items:baseline;margin-bottom:26px}
.tf-sp-head h2{font-size:28px;font-weight:800;color:#c2410c;margin:0;background:linear-gradient(90deg,#ea580c,#dc2626);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.tf-sp-head em{font-style:normal;color:#9a3412;margin-left:14px;font-size:14px;font-weight:500}
.tf-sp-head .tf-more{margin-left:auto;color:#ea580c;font-size:13px;font-weight:500}
.tf-sp-head .tf-more:hover{color:#c2410c}
.tf-sp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:900px){.tf-sp-cards{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.tf-sp-cards{grid-template-columns:1fr}}

/* ---------- 统一板块模板：标题行 + 卡片网格 ----------
   「热门推荐」和「限时特价公司」都由 transfer.js 的 sec() 生成，结构一样：
     <section class="tf-section"><div class="tf-wrap">
       <div class="tf-head"><h2>标题</h2><em>副标题</em>[<a class="tf-more">]</div>
       <div class="tf-cards" id="…">卡片</div>
     </div></section>
   这套规则**不能带 .tf-goods / .tf-special 前缀** —— 原来的 .tf-goods .tf-head 是 scoped 的，
   新模板没有那个类，会拿不到 display:flex 和 margin-bottom，标题行会塌成默认块级、
   <em> 还会变斜体、副标题贴着卡片顶边。 */
/* margin-bottom 要 ≥ 38px：特价卡的「限时特价」角标是 .tf-card-special::before、top:-12px，
   会向上探出 12px 进这块间距。24px 时角标会贴到副标题上（实测副标题底 y≈1327、角标顶 y≈1327）。 */
.tf-head{display:flex;align-items:baseline;margin-bottom:38px}
.tf-head h2{font-size:24px;font-weight:700;color:#222;margin:0}
.tf-head em{font-style:normal;font-size:14px;color:#9aa2ad;margin-left:14px}
.tf-head .tf-more{margin-left:auto;font-size:13px;color:#9aa2ad}
/* sec() 生成的板块统一上下留白。单独给 .tf-block，不动其它 .tf-section。 */
.tf-block{padding:44px 0 52px;border-top:1px solid #f0f0f0}
.tf-block:first-of-type{border-top:none}

/* ---------- 板块4 商品展示（旧版带 tf-cats 侧栏，保留兼容） ---------- */
.tf-goods{background:#f4f5f7;padding:44px 0 54px}
/* 左分类 + 右卡片两列。不能 scoped 到 .tf-goods —— 新模板用的是 sec() 的 .tf-body，
   没有 .tf-goods 这个类，scoped 的话拿不到 display:flex，侧栏会掉到卡片上面去。
   窄屏把分类栏收成横向滚动的色带，避免占掉整屏高度。 */
.tf-body{display:flex;gap:16px;align-items:stretch}
@media(max-width:900px){
  .tf-body{flex-direction:column}
  .tf-cats{flex:0 0 auto;flex-direction:row;flex-wrap:wrap;border-radius:6px}
  .tf-cat-group{flex:1 1 100%}
  .tf-cat{flex:initial;border-bottom:none;border-right:0}
  .tf-subcats{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 10px}
  .tf-subcat{border-bottom:0;border-radius:4px;background:#f7f9fc}
  .tf-cats .tf-catfoot{flex:1 1 100%;min-height:0;border-radius:0 0 6px 6px}
}
.tf-cats{flex:0 0 190px;background:#fff;border-radius:6px;display:flex;flex-direction:column;
  border:1px solid #eceef2}
/* 分类卡片收紧间距，让动态行业分类与右侧公司列表保持协调。 */
.tf-cat{padding:11px 16px;border-bottom:1px solid #f3f4f7;cursor:pointer;display:block}
.tf-cat:hover{background:#f7f9fc}
.tf-cat:hover b{color:#2f7fff}
.tf-cat b{display:block;font-size:15px;color:#333}
.tf-cat span{display:block;font-size:12px;color:#9aa2ad;margin-top:4px}
.tf-cat:last-of-type{border-bottom:0}
.tf-subcats{padding:0 10px 10px 22px}
.tf-subcat{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-bottom:1px solid #f7f8fa}
.tf-subcat b{font-size:13px;font-weight:400;color:#555}
.tf-subcat span{flex:0 0 auto;font-size:11px;color:#9aa2ad}
.tf-subcat:hover,.tf-subcat.on{background:#eef4ff}
.tf-subcat:hover b,.tf-subcat.on b{color:#2f7fff}
.tf-subcat-note{padding:5px 8px 0;color:#a4aab3;font-size:11px;line-height:1.5}
/* 选中项：左侧色条 + 浅蓝底。分类栏改成"就地筛选"后需要一个明确的当前态，
   否则鼠标滑过右侧卡片变了自己却不知道是哪一项生效。 */
.tf-cat.on{background:#eef4ff;border-left:3px solid #2f7fff;padding-left:13px}
.tf-cat.on b{color:#2f7fff}
/* 底部「查看全部推荐」：原来 padding:22px + min-height:120px，且 box-sizing 是 content-box
   → 实高 120+44 = 164px，在 10 项侧栏底部糊成一大块空蓝。（另外注意：同样的选择器别写两遍，
   特异性相同时后写的赢，前面那条覆盖会静默失效 —— 这里踩过。） */
.tf-cats .tf-catfoot{
  margin-top:auto;background:linear-gradient(160deg,#3b7bff,#2f6fdf);color:#fff;
  padding:16px 18px;font-size:14px;position:relative;
  min-height:0;box-sizing:border-box;border-radius:0 0 6px 6px;
  display:flex;align-items:center;justify-content:space-between;
}
.tf-cats .tf-catfoot-top{order:-1;flex:0 0 auto;margin:12px 12px 4px;border-radius:4px;padding:12px 16px;min-height:44px}
.tf-cats .tf-catfoot-top a{color:#fff}
.tf-cats .tf-catfoot a{display:inline-flex;align-items:center;gap:6px}
/* align-content:start prevents the grid rows from stretching to fill the taller category sidebar. */
.tf-cards{flex:1;display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:auto;
  align-content:start;gap:0;background:#fff;border-radius:6px}
.tf-card{position:relative;padding:22px 24px;border-right:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:box-shadow .2s}
/* Extend the existing company-ID link across the card, including SSR and filtered results. */
.tf-card h4 a::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit}
.tf-card h4 a:focus-visible::after{outline:2px solid #2f7fff;outline-offset:-2px}
.tf-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.08);position:relative;z-index:1}
.tf-card h4{font-size:17px;font-weight:600;color:#333;margin:0 0 10px}
.tf-card:hover h4{color:#2f7fff}
.tf-industry-tags{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:10px}
.tf-industry-tags .tf-tag{display:inline-flex;align-items:center;max-width:100%;padding:3px 6px;border:1px solid #d9e2ed;border-radius:3px;background:#f5f8fc;color:#46556a;font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.tf-industry-tags .tf-tag.on{border-color:#2f6fdf;background:#eaf2ff;color:#225fc6;font-weight:600}
.tf-card .tf-cert{font-size:13px;color:#666;margin-bottom:18px}
.tf-card .tf-meta{display:flex;gap:18px;margin-bottom:18px}
.tf-card .tf-meta div{font-size:12px}
.tf-card .tf-meta .k{color:#9aa2ad;margin-bottom:6px}
.tf-card .tf-meta .v{color:#555}
.tf-card .tf-price{font-size:13px;color:#8993a2;font-weight:400}

/* ---------- 板块5 深色页脚 ---------- */
.tf-footer{background:#1f2124;color:#8a8f96;padding:46px 0 0;font-size:13px}
.tf-footer .tf-cols{display:flex;padding-bottom:36px;border-bottom:1px solid #333}
.tf-fcol{flex:0 0 130px}
.tf-fcol h5{color:#e6e6e6;font-size:15px;font-weight:600;margin:0 0 18px}
.tf-fcol a{display:block;color:#8a8f96;margin-bottom:12px}
.tf-fcol a:hover{color:#fff}
.tf-fabout{flex:1;padding-left:40px}
.tf-fabout b{display:block;color:#e6e6e6;font-size:16px;margin-bottom:14px}
.tf-fabout p{margin:0 0 18px;line-height:1.8;max-width:360px}
.tf-social a{display:inline-flex;width:36px;height:36px;border-radius:50%;background:#3a3d42;color:#cfd2d6;align-items:center;justify-content:center;margin-right:12px;font-size:18px}
.tf-links{padding:22px 0;border-bottom:1px solid #333;line-height:2}
.tf-links .row{display:flex}
.tf-links .lbl{color:#e6e6e6;flex:0 0 auto;margin-right:8px}
.tf-links .val{flex:1}
.tf-links .val a{color:#8a8f96;margin-right:16px;white-space:nowrap}
.tf-links .val a:hover{color:#fff}
.tf-copy{background:#181a1c;padding:20px 0;color:#70747a;font-size:12px;line-height:2}
.tf-copy a{color:#70747a}
.tf-copy .badges{margin-top:14px;display:flex;gap:14px}
.tf-copy .badges img{height:38px}
.tf-copy .badge-ph{height:38px;display:inline-flex;align-items:center;padding:0 10px;background:#2a2d30;border-radius:3px;color:#9aa2ad;font-size:12px}

/* ---------- 公司转让商品筛选与横向滚动 ---------- */
#specialListings.tf-cards{display:block;background:transparent;border-radius:0}
.tf-product-filters{display:grid;gap:8px;margin:-8px 0 18px}
.tf-filter-row{display:flex;align-items:center;gap:10px;min-width:0}
.tf-filter-row>b{flex:0 0 68px;color:#7b8492;font-size:13px;font-weight:600}
.tf-filter-tags{display:flex;gap:8px;min-width:0;overflow-x:auto;white-space:nowrap;padding:2px 1px 5px}
.tf-filter-chip{flex:0 0 auto;border:1px solid #e5eaf1;border-radius:16px;background:#fff;color:#596273;padding:6px 13px;font-size:12px;cursor:pointer}
.tf-filter-chip:hover{border-color:#3478e5;color:#3478e5}
.tf-filter-chip.on{background:#3478e5;border-color:#3478e5;color:#fff}
.tf-product-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;color:#8a93a2;font-size:13px}
.tf-product-toolbar button{width:34px;height:30px;margin-left:8px;border:1px solid #dfe5ee;border-radius:6px;background:#fff;color:#526174;font-size:20px;line-height:1;cursor:pointer}
.tf-product-toolbar button:hover{border-color:#3478e5;color:#3478e5}
.tf-product-scroll{overflow-x:auto;overscroll-behavior-x:contain;scroll-behavior:smooth;padding:3px 1px 16px;scroll-snap-type:x proximity}
.tf-product-row{display:flex;align-items:stretch;gap:14px;width:max-content;min-width:100%}
.tf-product-row .tf-card{box-sizing:border-box;width:320px;min-width:320px;flex:0 0 320px;border:1px solid #eee;border-radius:10px;background:#fff;scroll-snap-align:start}
.tf-product-row .tf-loading{width:100%;min-width:400px;padding:48px 20px}
.tf-product-row .tf-more-hint{display:flex;align-items:center;justify-content:center;width:240px;min-width:240px;padding:14px;color:#8993a3}
@media(max-width:600px){
  .tf-filter-row{align-items:flex-start}
  .tf-filter-row>b{flex-basis:58px;padding-top:7px}
  .tf-product-row .tf-card{width:82vw;min-width:82vw;flex-basis:82vw;padding:20px}
}
