/* ============================================================
   陕西中恒钛航 — 品类聚合页统一样式（v10）
   适用：产品中心（一级）/ 钛合金材料等二级大类页
   配色：深空蓝 #0A2540 + 钛橙 #E67E22 + 钛银灰 #8B9DC3
   ============================================================ */
.chub { max-width: 1400px; margin: 0 auto; padding: 0 20px 40px; box-sizing: border-box; }
.chub * { box-sizing: border-box; }

/* ---------- 面包屑 ---------- */
.chub-crumb { font-size: 13px; color: #8B9DC3; padding: 14px 0 8px; line-height: 1.6; }
.chub-crumb a { color: #0A2540; text-decoration: none; }
.chub-crumb a:hover { color: #E67E22; text-decoration: underline; }
.chub-crumb span { color: #CBD2DC; margin: 0 6px; }

/* ---------- 页头：H1 + 一句话定位 ---------- */
.chub-hero {
    background: #fff;
    border: 1px solid #E6E9EE;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(10, 37, 64, .04);
    padding: 22px 26px 20px;
    margin-bottom: 20px;
}
.chub-h1 { font-size: 25px; font-weight: 700; color: #0A2540; letter-spacing: 2px; margin: 0 0 4px; line-height: 1.35; }
.chub-sub { font-size: 12.5px; color: #8B9DC3; letter-spacing: 1px; margin: 0 0 12px; font-family: Arial, sans-serif; }
.chub-lead {
    font-size: 14.5px; line-height: 1.85; color: #3A4756;
    background: #F8FAFC; border-left: 3px solid #E67E22; border-radius: 0 6px 6px 0;
    padding: 11px 14px; margin: 0 0 14px; text-align: justify;
}
.chub-lead b { color: #0A2540; }
.chub-stat { display: flex; gap: 30px; flex-wrap: wrap; }
.chub-stat .s { font-size: 13.5px; color: #6B7480; }
.chub-stat .s b { font-size: 20px; color: #E67E22; font-weight: 700; margin-right: 3px; }

/* ---------- 通用卡片 / 模块 ---------- */
.chub-sec {
    background: #fff; border: 1px solid #E6E9EE; border-radius: 12px;
    box-shadow: 0 2px 12px rgba(10, 37, 64, .04);
    overflow: hidden; margin-bottom: 20px; scroll-margin-top: 74px;
}
.chub-sec > h2 {
    font-size: 18px; font-weight: 700; color: #0A2540; letter-spacing: 1.5px;
    margin: 0; padding: 16px 22px 14px; border-bottom: 2px solid #F0F4F8;
    display: flex; align-items: center; gap: 9px;
}
.chub-sec > h2::before {
    content: ""; width: 4px; height: 18px; border-radius: 2px;
    background: linear-gradient(180deg, #E67E22, #d35400); flex-shrink: 0;
}
.chub-sec > h2 em {
    font-style: normal; font-size: 12px; font-family: Arial, sans-serif;
    color: #8B9DC3; letter-spacing: .5px; font-weight: 400;
}
.chub-sec > h2 .r { margin-left: auto; font-size: 13px; font-weight: 400; color: #8B9DC3; }
.chub-bd { padding: 18px 22px 22px; }

/* ---------- ① 材料体系卡（一级页） ---------- */
.chub-mats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.chub-mat {
    position: relative;
    border: 1px solid #E6E9EE; border-radius: 10px; padding: 16px 16px 14px;
    background: #fff; text-decoration: none; display: block;
    transition: all .28s ease; overflow: hidden;
}
.chub-mat::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #0A2540, #E67E22);
    transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.chub-mat:hover {
    border-color: #E67E22; box-shadow: 0 10px 26px rgba(230, 126, 34, .12);
    transform: translateY(-3px);
}
.chub-mat:hover::before { transform: scaleX(1); }
.chub-mat .ic {
    width: 42px; height: 42px; border-radius: 9px; margin-bottom: 10px;
    background: linear-gradient(135deg, #0A2540, #16375c);
    color: #fff; font-size: 15px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; letter-spacing: .5px;
}
.chub-mat:hover .ic { background: linear-gradient(135deg, #E67E22, #d35400); }
.chub-mat h3 { margin: 0 0 6px; font-size: 15.5px; color: #0A2540; letter-spacing: 1px; }
.chub-mat .meta { font-size: 12.5px; color: #8B9DC3; margin-bottom: 8px; }
.chub-mat .meta b { color: #E67E22; font-weight: 700; }
.chub-mat .gs { font-size: 12px; color: #6B7480; line-height: 1.7; min-height: 34px; }
.chub-mat .go {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 10px; font-size: 12.5px; color: #E67E22; font-weight: 600;
}
.chub-mat:hover .go { gap: 8px; }

/* ---------- ② 形态 chip 墙 ---------- */
.chub-forms { display: flex; flex-wrap: wrap; gap: 9px; }
.chub-form {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 15px; border: 1px solid #E1E6EC; border-radius: 18px;
    background: #FAFBFC; font-size: 13.5px; color: #3A4756;
    text-decoration: none; transition: all .22s ease;
}
.chub-form:hover { border-color: #E67E22; color: #E67E22; background: #FFF7EF; }
.chub-form i { font-style: normal; font-size: 11.5px; color: #8B9DC3; }
.chub-form:hover i { color: #E67E22; }

/* ---------- ③ 牌号墙 ---------- */
.chub-grades { display: flex; flex-wrap: wrap; gap: 8px; }
.chub-grade {
    padding: 6px 13px; border: 1px solid #E1E6EC; border-radius: 5px;
    background: #fff; font-size: 13.5px; color: #16222A; font-weight: 600;
    text-decoration: none; letter-spacing: .5px; transition: all .2s ease;
}
.chub-grade:hover { background: #0A2540; border-color: #0A2540; color: #fff; }

/* ---------- ④ 选型入口（贯穿所有层级） ---------- */
.chub-sel {
    display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
    background: linear-gradient(135deg, #0A2540 0%, #16375c 100%);
    border-radius: 10px; padding: 22px 26px;
}
.chub-sel .l b { display: block; font-size: 19px; color: #fff; letter-spacing: 1px; margin-bottom: 5px; }
.chub-sel .l span { font-size: 13px; color: rgba(255, 255, 255, .74); line-height: 1.7; }
.chub-sel .r { display: flex; gap: 10px; flex-wrap: wrap; }
.chub-sel .r a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 24px; border-radius: 22px; font-size: 14px; font-weight: 600;
    text-decoration: none; letter-spacing: .5px; transition: all .25s ease; white-space: nowrap;
}
.chub-sel .r a.p1 { background: #E67E22; color: #fff; }
.chub-sel .r a.p1:hover { background: #d35400; transform: translateY(-2px); }
.chub-sel .r a.p2 { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .38); }
.chub-sel .r a.p2:hover { border-color: #E67E22; color: #E67E22; }

/* ---------- ⑤ 参数速查表（二级页核心） ---------- */
.chub-tbl-w { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.chub-tbl { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13.5px; }
table.chub-tbl caption {
    caption-side: top; text-align: left; font-size: 12.5px; color: #8B9DC3;
    padding-bottom: 8px; letter-spacing: .5px;
}
table.chub-tbl th {
    background: #0A2540; color: #fff; font-weight: 600; font-size: 12.5px;
    letter-spacing: 1px; padding: 10px 14px; text-align: left; white-space: nowrap;
}
table.chub-tbl td { padding: 9px 14px; border-bottom: 1px solid #F0F4F8; color: #3A4756; line-height: 1.65; }
table.chub-tbl tbody tr:hover td { background: #FAFBFC; }
table.chub-tbl td b { color: #0A2540; }
table.chub-tbl td i { font-style: normal; color: #8B9DC3; font-size: 12px; }
table.chub-tbl td.el { font-weight: 700; color: #0A2540; white-space: nowrap; }
table.chub-tbl td.el a { color: #0A2540; text-decoration: none; }
table.chub-tbl td.el a:hover { color: #E67E22; }

/* ---------- ⑥ 形态分块产品（二级页） ---------- */
.chub-blk { margin-bottom: 22px; }
.chub-blk:last-child { margin-bottom: 0; }
.chub-blk > h3 {
    display: flex; align-items: center; gap: 10px;
    font-size: 15.5px; color: #0A2540; margin: 0 0 12px;
    padding-bottom: 9px; border-bottom: 1px solid #F0F4F8; letter-spacing: 1px;
}
.chub-blk > h3 em { font-style: normal; font-size: 12px; color: #8B9DC3; font-family: Arial; letter-spacing: .5px; }
.chub-blk > h3 a {
    margin-left: auto; font-size: 12.5px; color: #E67E22; font-weight: 600; text-decoration: none;
}
.chub-blk > h3 a:hover { text-decoration: underline; }
.chub-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.chub-card {
    position: relative; border: 1px solid #E6E9EE; border-radius: 10px;
    overflow: hidden; background: #fff; transition: all .28s ease;
}
.chub-card:hover { border-color: #E67E22; box-shadow: 0 8px 22px rgba(230, 126, 34, .12); transform: translateY(-3px); }
.chub-card .im { height: 148px; overflow: hidden; background: #F0F4F8; }
.chub-card .im img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.chub-card:hover .im img { transform: scale(1.06); }
.chub-card .tx { padding: 11px 13px 13px; text-align: center; }
.chub-card .tx h4 { margin: 0 0 5px; font-size: 14.5px; font-weight: 700; color: #0A2540; letter-spacing: .5px; }
.chub-card .tx p { margin: 0; font-size: 12px; color: #6B7480; line-height: 1.6; min-height: 38px; }
/* 卡片按钮（与首页一致） */
.chub-card .pacts {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 1px;
    opacity: 0; transform: translateY(6px);
    transition: opacity .26s ease, transform .26s ease; z-index: 3;
}
.chub-card:hover .pacts { opacity: 1; transform: none; }
.chub-card .pacts a, .chub-card .pacts button {
    flex: 1 1 0; height: 32px; display: flex; align-items: center; justify-content: center;
    border: 0; font-size: 12px; font-family: "Microsoft YaHei"; font-weight: 600;
    text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .22s;
}
.chub-card .pacts .pq { background: rgba(230, 126, 34, .96); color: #fff; }
.chub-card .pacts .pq:hover { background: #d35400; }
.chub-card .pacts .pd { background: rgba(10, 37, 64, .94); color: #fff; }
.chub-card .pacts .pd:hover { background: #16375c; }
@media (hover: none) { .chub-card .pacts { opacity: 1; transform: none; } }

/* ---------- ⑦ 内链矩阵（父级 / 同级 / 子级） ---------- */
.chub-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.chub-links .col h3 {
    font-size: 14px; color: #0A2540; margin: 0 0 10px;
    padding-bottom: 8px; border-bottom: 1px solid #F0F4F8; letter-spacing: 1px;
}
.chub-links .col a {
    display: block; padding: 6px 0; font-size: 13.5px; color: #4A5563;
    text-decoration: none; transition: color .22s, padding-left .22s;
}
.chub-links .col a:hover { color: #E67E22; padding-left: 5px; }
.chub-links .col a::before { content: "› "; color: #CBD2DC; }

/* ---------- ⑧ 现货速览（与首页 / 现货页同源） ---------- */
.chub-spot { border: 1px solid #E6E9EE; border-radius: 10px; overflow: hidden; }
.chub-spot .bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 11px 18px; border-bottom: 1px solid #EDF0F4; font-size: 13.5px; color: #6B7480;
}
.chub-spot .bar b { color: #E67E22; font-size: 16px; font-weight: 700; padding: 0 2px; }
.chub-spot .bar a { color: #0A2540; font-size: 13px; font-weight: 600; text-decoration: none; }
.chub-spot .bar a:hover { color: #E67E22; }
.chub-spot .w { overflow-x: auto; }
.chub-spot table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13.5px; }
.chub-spot th {
    background: #0A2540; color: #fff; font-weight: 600; font-size: 12.5px;
    letter-spacing: 1px; padding: 10px 14px; text-align: left; white-space: nowrap;
}
.chub-spot td { padding: 9px 14px; border-bottom: 1px solid #F0F4F8; color: #3A4756; line-height: 1.6; }
.chub-spot tbody tr:hover td { background: #FAFBFC; }
.chub-spot td.g { font-weight: 700; color: #0A2540; white-space: nowrap; }
.chub-spot td.q { white-space: nowrap; font-weight: 600; color: #16222A; }
.chub-spot .bd {
    display: inline-block; padding: 2px 9px; border-radius: 3px;
    font-size: 12px; font-weight: 600; white-space: nowrap;
}
.chub-spot .bd.M { background: #E67E22; color: #fff; }
.chub-spot .bd.R { background: #EAF0F6; color: #5A6472; }
/* 扫码弹层（复用首页那套，class 同名即可） */

/* ============================================================
   响应式
   ============================================================ */
@media screen and (max-width: 1200px) {
    .chub-mats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .chub-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .chub-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 1024px) {
    .chub-mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chub-sel { grid-template-columns: 1fr; }
}
@media screen and (max-width: 768px) {
    .chub { padding: 0 14px 30px; }
    .chub-hero { padding: 16px 16px 14px; }
    .chub-h1 { font-size: 21px; letter-spacing: 1px; }
    .chub-stat { gap: 14px 20px; }
    .chub-stat .s b { font-size: 17px; }
    .chub-sec > h2 { font-size: 16px; padding: 14px 16px 12px; }
    .chub-bd { padding: 14px 16px 18px; }
    .chub-mats { grid-template-columns: 1fr; gap: 10px; }
    .chub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .chub-card .im { height: 120px; }
    .chub-card .pacts { opacity: 1; transform: none; }
    .chub-links { grid-template-columns: 1fr; gap: 14px; }
    .chub-sel { padding: 18px 16px; }
    .chub-sel .r { width: 100%; }
    .chub-sel .r a { flex: 1; justify-content: center; padding: 11px 12px; }
}
