/* ============================================================
   陕西中恒钛航 — 现货供应页 · 主体区域样式（重构版 v8）
   ------------------------------------------------------------
   适用：/xianhuo/ 主体区（页头 / banner / 页尾 不在本文件范围内）
   配色：深空蓝 #0A2540 + 钛橙 #E67E22 + 钛银灰 #8B9DC3
   编码：UTF-8

   ★ 设计目标：贴合钛材行业现货采购的实际决策路径
     ① 先看「有多少货、什么时候的价」→ 概览条
     ② 再按「型材 / 状态」缩小范围　　→ 筛选栏
     ③ 然后逐行比对「规格-数量-标准-用途」→ 库存表（可滚动、表头吸顶）
     ④ 看到合适的 → 直接询价 / 查 MTC
   ★ 表格在移动端自动转卡片，不做横向滚动（钛材规格文字长，滚动体验差）
   ============================================================ */

/* ---------- 主体容器 ---------- */
.xh-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
    box-sizing: border-box;
}

/* =========== ① 现货概览条 =========== */
.xh-stat {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 4px 0 26px;
}
.xh-stat .s {
    background: #fff;
    border: 1px solid #E6E9EE;
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(10, 37, 64, .04);
    transition: all .3s ease;
}
.xh-stat .s:hover {
    border-color: #E67E22;
    box-shadow: 0 6px 20px rgba(230, 126, 34, .10);
}
.xh-stat .s b {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #0A2540;
    line-height: 1.2;
    letter-spacing: .5px;
}
.xh-stat .s b i {
    font-style: normal;
    font-size: 13px;
    color: #8B9DC3;
    font-weight: 400;
    margin-left: 2px;
}
.xh-stat .s.hi b { color: #E67E22; }
.xh-stat .s span {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: #8B9DC3;
    letter-spacing: 1px;
}
/* 更新时间戳 */
.xh-upd {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #6B7480;
}
.xh-upd i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #27AE60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, .16);
    flex-shrink: 0;
}
.xh-upd b { color: #0A2540; font-weight: 600; }

/* =========== ② 筛选栏 =========== */
.xh-filter {
    background: #fff;
    border: 1px solid #E6E9EE;
    border-radius: 10px;
    padding: 16px 20px 14px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(10, 37, 64, .04);
}
.xh-frow {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px dashed #EDF0F4;
}
.xh-frow:last-of-type { border-bottom: none; }
.xh-flb {
    flex: 0 0 62px;
    font-size: 13.5px;
    font-weight: 700;
    color: #0A2540;
    line-height: 30px;
    white-space: nowrap;
}
.xh-tags {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
.xh-tag {
    height: 30px;
    padding: 0 14px;
    border: 1px solid #E1E6EC;
    border-radius: 15px;
    background: #FAFBFC;
    color: #4A5563;
    font-size: 13.5px;
    font-family: "Microsoft YaHei";
    cursor: pointer;
    white-space: nowrap;
    transition: all .22s ease;
}
.xh-tag:hover { border-color: #E67E22; color: #E67E22; background: #FFF7EF; }
.xh-tag.on {
    background: #E67E22;
    border-color: #E67E22;
    color: #fff;
    font-weight: 600;
}
.xh-tag.off { opacity: .38; cursor: not-allowed; }
.xh-tag.off:hover { border-color: #E1E6EC; color: #4A5563; background: #FAFBFC; }
.xh-tag b {
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
    opacity: .75;
}
/* 关键词输入 */
.xh-kw {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}
.xh-kw input {
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #E1E6EC;
    border-radius: 16px;
    font-size: 13.5px;
    font-family: "Microsoft YaHei";
    color: #16222A;
    outline: none;
    transition: border-color .22s;
}
.xh-kw input:focus { border-color: #E67E22; }
.xh-kw button {
    height: 32px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    background: #0A2540;
    color: #fff;
    font-size: 13.5px;
    font-family: "Microsoft YaHei";
    cursor: pointer;
    white-space: nowrap;
    transition: background .22s;
}
.xh-kw button:hover { background: #E67E22; }

/* =========== ③ 库存表 =========== */
.xh-tblbox {
    background: #fff;
    border: 1px solid #E6E9EE;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(10, 37, 64, .04);
    overflow: hidden;
    margin-bottom: 20px;
}
/* 表头工具条 */
.xh-tbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 12px 18px;
    border-bottom: 1px solid #EDF0F4;
    font-size: 13.5px;
    color: #6B7480;
}
.xh-tbar .cnt b {
    color: #E67E22;
    font-size: 16px;
    font-weight: 700;
    padding: 0 2px;
}
.xh-tbar .r { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.xh-tbar .hint { font-size: 12.5px; color: #8B9DC3; }
/* 滚动容器 */
.xh-scroll {
    max-height: 560px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.xh-scroll::-webkit-scrollbar { width: 8px; }
.xh-scroll::-webkit-scrollbar-thumb { background: #CBD2DC; border-radius: 4px; }
.xh-scroll::-webkit-scrollbar-thumb:hover { background: #8B9DC3; }

table.xh-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
table.xh-tbl thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #0A2540;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 11px 12px;
    text-align: left;
    white-space: nowrap;
}
table.xh-tbl tbody td {
    padding: 11px 12px;
    border-bottom: 1px solid #F0F4F8;
    color: #3A4756;
    line-height: 1.6;
    vertical-align: top;
}
table.xh-tbl tbody tr:hover td { background: #FAFBFC; }
table.xh-tbl tbody tr:last-child td { border-bottom: none; }
/* 分组行（钛板 / 钛棒 / …） */
table.xh-tbl tr.xh-grp td {
    background: #F0F4F8;
    color: #0A2540;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    padding: 8px 12px;
    border-bottom: 1px solid #E6E9EE;
}
table.xh-tbl tr.xh-grp td i {
    font-style: normal;
    color: #E67E22;
    margin-right: 6px;
}
/* 牌号单元格 */
td.xh-g {
    font-weight: 700;
    color: #0A2540;
    white-space: nowrap;
}
td.xh-g a { color: #0A2540; text-decoration: none; }
td.xh-g a:hover { color: #E67E22; }
td.xh-g em {
    display: block;
    font-style: normal;
    font-weight: 400;
    font-size: 11.5px;
    color: #8B9DC3;
    margin-top: 2px;
    white-space: normal;
}
/* 规格 */
td.xh-spec { min-width: 180px; }
/* 数量 */
td.xh-qty {
    white-space: nowrap;
    font-weight: 600;
    color: #16222A;
}
td.xh-qty i { font-style: normal; font-size: 11.5px; color: #8B9DC3; font-weight: 400; }
/* 状态徽标 */
.xh-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.xh-badge.M { background: #E67E22; color: #fff; }              /* 现货 */
.xh-badge.R { background: #EAF0F6; color: #5A6472; }           /* 期货/可排产 */
.xh-badge.Y { background: #fff; color: #0A2540; border: 1px solid #CBD2DC; } /* 来图定制 */
/* 用途/备注小字 */
td.xh-use, td.xh-note { font-size: 12.5px; color: #6B7480; }
/* 空态 */
.xh-empty {
    padding: 50px 20px;
    text-align: center;
    color: #8B9DC3;
    font-size: 14px;
    line-height: 1.9;
}
.xh-empty b { display: block; color: #0A2540; font-size: 16px; margin-bottom: 6px; }

/* =========== ④ 品类图卡（图文并茂） =========== */
.xh-cats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.xh-cat {
    background: #fff;
    border: 1px solid #E6E9EE;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(10, 37, 64, .04);
    transition: all .3s ease;
}
.xh-cat:hover {
    border-color: #E67E22;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(230, 126, 34, .12);
}
.xh-cat .im {
    height: 130px;
    overflow: hidden;
    background: #F0F4F8;
}
.xh-cat .im img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.xh-cat:hover .im img { transform: scale(1.06); }
.xh-cat .tx {
    padding: 12px 14px 14px;
    text-align: center;
}
.xh-cat .tx h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #0A2540;
    letter-spacing: 1px;
}
.xh-cat .tx p {
    margin: 0 0 8px;
    font-size: 12px;
    color: #6B7480;
    line-height: 1.6;
    min-height: 38px;
}
.xh-cat .tx b {
    display: block;
    font-size: 13px;
    color: #E67E22;
    font-weight: 600;
}

/* =========== ⑤ 服务说明 + CTA =========== */
.xh-svc {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.xh-svc .i {
    background: #FAFBFC;
    border: 1px solid #EDF0F4;
    border-radius: 8px;
    padding: 16px 14px;
    text-align: center;
}
.xh-svc .i b {
    display: block;
    font-size: 14.5px;
    color: #0A2540;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: .5px;
}
.xh-svc .i span {
    font-size: 12.5px;
    color: #6B7480;
    line-height: 1.7;
}
.xh-cta {
    background: linear-gradient(135deg, #0A2540 0%, #16375c 100%);
    border-radius: 10px;
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}
.xh-cta .l { color: #fff; }
.xh-cta .l b { display: block; font-size: 19px; letter-spacing: 1px; margin-bottom: 5px; }
.xh-cta .l span { font-size: 13px; color: rgba(255, 255, 255, .72); line-height: 1.7; }
.xh-cta .r { display: flex; gap: 10px; flex-wrap: wrap; }
.xh-cta .r a {
    display: inline-block;
    padding: 11px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all .25s ease;
}
.xh-cta .r a.p1 { background: #E67E22; color: #fff; }
.xh-cta .r a.p1:hover { background: #d35400; transform: translateY(-2px); }
.xh-cta .r a.p2 {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .38);
}
.xh-cta .r a.p2:hover { border-color: #E67E22; color: #E67E22; }
.xh-note {
    font-size: 12.5px;
    color: #8B9DC3;
    line-height: 1.9;
    padding: 14px 18px;
    background: #FAFBFC;
    border-radius: 8px;
    border-left: 3px solid #E67E22;
}
.xh-note b { color: #0A2540; }

/* ============================================================
   响应式
   ============================================================ */
@media screen and (max-width: 1200px) {
    .xh-stat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xh-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xh-svc  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 1024px) {
    .xh-wrap { padding: 0 16px 32px; }
    .xh-scroll { max-height: 460px; }
    .xh-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 768px) {
    .xh-stat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .xh-stat .s { padding: 14px 10px; }
    .xh-stat .s b { font-size: 21px; }
    .xh-frow { flex-direction: column; gap: 8px; padding: 10px 0; }
    .xh-flb { flex-basis: auto; line-height: 1.4; }
    .xh-tags { max-height: 92px; overflow-y: auto; }
    .xh-kw input { width: 100%; }
    .xh-svc { grid-template-columns: 1fr; }
    .xh-cats { grid-template-columns: 1fr; }
    .xh-cta { padding: 20px 18px; }
    .xh-cta .r { width: 100%; }
    .xh-cta .r a { flex: 1; text-align: center; padding: 11px 12px; }

    /* ★ 移动端：表格转卡片（钛材规格文字长，横向滚动体验差） */
    .xh-scroll { max-height: none; overflow: visible; }
    table.xh-tbl thead { display: none; }
    table.xh-tbl, table.xh-tbl tbody, table.xh-tbl tr, table.xh-tbl td { display: block; width: 100%; }
    table.xh-tbl tbody tr {
        border: 1px solid #E6E9EE;
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 4px 0;
        background: #fff;
    }
    table.xh-tbl tbody tr.xh-grp {
        border: none;
        background: #F0F4F8;
        border-radius: 6px;
        padding: 6px 0;
        margin-bottom: 8px;
    }
    table.xh-tbl tbody td {
        border-bottom: none;
        padding: 5px 14px;
        display: flex;
        gap: 10px;
        font-size: 13px;
    }
    /* 用 data-l 生成行内标签 */
    table.xh-tbl tbody td::before {
        content: attr(data-l);
        flex: 0 0 62px;
        color: #8B9DC3;
        font-size: 12px;
        line-height: 1.7;
    }
    table.xh-tbl tr.xh-grp td::before { content: none; }
    td.xh-g { padding-top: 10px; font-size: 15px; }
    td.xh-spec, td.xh-use, td.xh-note, td.xh-qty { padding-bottom: 2px; }
    td.xh-qty { padding-bottom: 10px; }
}
@media screen and (max-width: 480px) {
    .xh-stat .s b { font-size: 19px; }
    .xh-tbar { font-size: 12.5px; padding: 10px 12px; }
    .xh-tbar .r { width: 100%; margin-left: 0; }
}

/* ============================================================
   ★ v18 新增：即时筛选配套样式（快捷标签行 / 提示 / 查询中遮罩）
   ============================================================ */
.xh-quick {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    border-top: 1px dashed #e3e8ef;
}
.xh-quick .xh-flb { flex: 0 0 auto; margin-top: 5px; }
.xh-quick .xh-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.xh-quick a.xh-tag { display: inline-flex; align-items: center; text-decoration: none; }

.xh-tip {
    padding: 7px 16px 2px;
    font-size: 12.5px;
    color: #8B9DC3;
    line-height: 1.6;
}

/* 查询中提示（选择即提交时显示，避免"点了没反应"的错觉） */
.xh-loading {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3000;
    display: none;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    background: rgba(10, 37, 64, .92);
    color: #fff;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(10, 37, 64, .3);
}
.xh-loading.show { display: flex; }
.xh-loading span {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #E67E22;
    border-radius: 50%;
    animation: xhspin .7s linear infinite;
}
@keyframes xhspin { to { transform: rotate(360deg); } }

@media screen and (max-width: 768px) {
    .xh-quick { flex-direction: column; gap: 7px; }
    .xh-quick .xh-flb { margin-top: 0; }
    .xh-tag { height: 28px; padding: 0 12px; font-size: 12.5px; }
}


/* ============================================================
   ★ v19 精修补丁：表格专业化 / 斑马纹 / 平铺填充
   ------------------------------------------------------------
   追加在本文件末尾，靠加载顺序覆盖前面的同类规则
   目标：像专业 B2B 材料库一样——对比明确、行距紧凑、信息密度高
   ============================================================ */

/* ========== ① 概览统计卡：更稳的排版 ========== */
.xh-stat { gap: 12px; margin: 4px 0 22px; }
.xh-stat .s {
    padding: 16px 12px 14px;
    border-radius: 8px;
    border: 1px solid #E4E8EF;
    box-shadow: 0 1px 3px rgba(10, 37, 64, .05);
}
.xh-stat .s:hover { transform: translateY(-2px); }
.xh-stat .s b { font-size: 28px; letter-spacing: 0; }
.xh-stat .s span { font-size: 12.5px; color: #6B7A99; margin-top: 4px; }
.xh-stat .s.hi { background: linear-gradient(180deg, #FFF9F3 0%, #fff 100%); border-color: #F5D9BC; }
.xh-stat .s.hi b { color: #E67E22; }

/* ========== ② 筛选区：更整齐 ========== */
.xh-filter {
    background: #fff;
    border: 1px solid #E4E8EF;
    border-radius: 8px;
    padding: 14px 16px 12px;
    margin-bottom: 18px;
}
.xh-frow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}
.xh-flb {
    font-size: 13px;
    color: #0A2540;
    font-weight: 600;
    letter-spacing: .3px;
}
.xh-fsel select {
    height: 36px;
    padding: 0 30px 0 12px;
    border: 1px solid #D8DEE8;
    border-radius: 6px;
    background: #fff;
    color: #33415C;
    font-size: 13.5px;
    cursor: pointer;
    min-width: 148px;
}
.xh-fsel select:hover { border-color: #E67E22; }
.xh-fsel select:focus { outline: none; border-color: #E67E22; box-shadow: 0 0 0 3px rgba(230,126,34,.12); }
.xh-fbtns { margin-left: auto; display: flex; gap: 8px; }
.xh-fbtns .b1 {
    height: 36px; padding: 0 20px; border: 0; border-radius: 6px;
    background: #E67E22; color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.xh-fbtns .b1:hover { background: #d35400; }
.xh-fbtns .b2 {
    height: 36px; padding: 0 18px; border: 1px solid #D8DEE8; border-radius: 6px;
    background: #fff; color: #6B7A99; font-size: 13.5px; cursor: pointer;
}
.xh-fbtns .b2:hover { border-color: #0A2540; color: #0A2540; }
.xh-tip { padding: 6px 0 0; font-size: 12px; color: #93A2BD; }

/* 快捷标签行 */
.xh-quick { padding: 9px 0; border-top: 1px dashed #E9EDF3; }
.xh-quick:first-of-type { border-top: 1px dashed #E9EDF3; }
.xh-tags { gap: 6px; }
.xh-tag {
    height: 29px; padding: 0 13px; border-radius: 5px;
    border: 1px solid #DFE4EC; background: #fff; color: #4A5563; font-size: 13px;
}
.xh-tag:hover { background: #FFF7EF; border-color: #E67E22; color: #E67E22; }
.xh-tag.on { background: #0A2540; border-color: #0A2540; color: #fff; font-weight: 600; }
.xh-tag.on:hover { background: #0A2540; color: #fff; }

/* ========== ③ 库存表：专业数据表格 ========== */
.xh-tblbox {
    background: #fff;
    border: 1px solid #E4E8EF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(10, 37, 64, .05);
}
.xh-tbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 16px; background: #FAFBFC; border-bottom: 1px solid #E9EDF3;
}
.xh-tbar .cnt { font-size: 13.5px; color: #33415C; }
.xh-tbar .cnt b { color: #E67E22; font-size: 15px; }
.xh-tbar .hint { font-size: 12px; color: #93A2BD; }

/* 表格本体：平铺填满 */
.xh-scroll { max-height: 620px; overflow-y: auto; }
.xh-tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 13.5px;
}
.xh-tbl caption {
    caption-side: top; text-align: left;
    padding: 10px 16px; font-size: 12.5px; color: #93A2BD;
    background: #fff; border-bottom: 1px solid #F0F3F7;
}

/* 列宽：按信息重要性平铺分配 */
.xh-tbl thead th:nth-child(1) { width: 9%; }    /* 牌号 */
.xh-tbl thead th:nth-child(2) { width: 8%; }    /* 形态 */
.xh-tbl thead th:nth-child(3) { width: 17%; }   /* 规格 */
.xh-tbl thead th:nth-child(4) { width: 30%; }   /* 材质 */
.xh-tbl thead th:nth-child(5) { width: 9%; }    /* 状态 */
.xh-tbl thead th:nth-child(6) { width: 9%; }    /* 更新 */
.xh-tbl thead th:nth-child(7) { width: 18%; }   /* 产品/操作 */

/* 表头：深蓝、吸顶 */
.xh-tbl thead th {
    position: sticky; top: 0; z-index: 3;
    background: #0A2540;
    color: #fff;
    font-size: 13px; font-weight: 600; letter-spacing: .5px;
    padding: 11px 12px;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, .10);
    border-bottom: 0;
}
.xh-tbl thead th:last-child { border-right: 0; }
.xh-scroll { box-shadow: inset 0 0 0 rgba(0,0,0,0); }

/* 单元格 */
.xh-tbl tbody td {
    padding: 11px 12px;
    color: #33415C;
    border-bottom: 1px solid #EFF2F6;
    border-right: 1px solid #F4F6F9;
    vertical-align: middle;
    line-height: 1.55;
    word-break: break-word;
}
.xh-tbl tbody td:last-child { border-right: 0; }

/* ★ 隔行白灰相间 */
.xh-tbl tbody tr:nth-child(odd)  { background: #ffffff; }
.xh-tbl tbody tr:nth-child(even) { background: #F7F9FB; }
.xh-tbl tbody tr:hover { background: #FFF6EC !important; }

/* 牌号列：突出 */
.xh-tbl tbody td.g b {
    font-size: 15px; font-weight: 700; color: #0A2540;
    letter-spacing: .3px;
}
.xh-tbl tbody tr:hover td.g b { color: #E67E22; }

/* 形态列：小胶囊 */
.xh-tbl tbody td:nth-child(2) { color: #4A5563; font-weight: 600; }

/* 材质列：次要信息，紧凑小字 */
.xh-tbl tbody td:nth-child(4) {
    font-size: 12.5px; color: #6B7A99; line-height: 1.5;
}

/* 空值弱化 */
.xh-tbl tbody td.na { color: #C3CAD6; }

/* 状态徽标 */
.xh-tbl tbody td .xh-on {
    display: inline-block; padding: 3px 9px; border-radius: 4px;
    background: #E67E22; color: #fff; font-size: 12px; font-weight: 600;
    letter-spacing: .3px; white-space: nowrap;
}
.xh-tbl tbody td .xh-off {
    display: inline-block; padding: 3px 9px; border-radius: 4px;
    background: #fff; border: 1px solid #D8DEE8; color: #6B7A99;
    font-size: 12px; white-space: nowrap;
}

/* 最后一列：产品名 + 操作 */
.xh-tbl tbody td.op { }
.xh-tbl tbody td.op .t {
    display: block; color: #0A2540; font-weight: 600; text-decoration: none;
    font-size: 13.5px; line-height: 1.4; margin-bottom: 6px;
}
.xh-tbl tbody td.op .t:hover { color: #E67E22; text-decoration: underline; }
.xh-tbl tbody td.op .btns { display: flex; gap: 6px; }
.xh-tbl tbody td.op .bq,
.xh-tbl tbody td.op .bd {
    display: inline-block; height: 26px; line-height: 24px; padding: 0 11px;
    border-radius: 4px; font-size: 12px; text-decoration: none; white-space: nowrap;
}
.xh-tbl tbody td.op .bq { background: #E67E22; color: #fff; border: 1px solid #E67E22; }
.xh-tbl tbody td.op .bq:hover { background: #d35400; border-color: #d35400; }
.xh-tbl tbody td.op .bd { background: #fff; color: #4A5563; border: 1px solid #D8DEE8; }
.xh-tbl tbody td.op .bd:hover { border-color: #0A2540; color: #0A2540; }

/* 空状态 */
.xh-empty {
    padding: 46px 20px; text-align: center; background: #fff;
    color: #6B7A99; font-size: 14px; line-height: 1.9;
}
.xh-empty b { display: block; font-size: 16px; color: #0A2540; margin-bottom: 6px; }

/* ========== ④ 分页 ========== */
.xh-pager {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    margin-top: 16px; padding: 0 4px;
}
.xh-pager a, .xh-pager .cur {
    min-width: 34px; height: 34px; line-height: 32px; text-align: center;
    border-radius: 5px; font-size: 13.5px; text-decoration: none;
}
.xh-pager a { border: 1px solid #D8DEE8; color: #4A5563; background: #fff; }
.xh-pager a:hover { border-color: #E67E22; color: #E67E22; }
.xh-pager .cur { background: #0A2540; border: 1px solid #0A2540; color: #fff; font-weight: 600; }
.xh-pager .tot { margin-left: 8px; font-size: 12.5px; color: #93A2BD; }

/* ========== ⑤ 服务承诺 + CTA ========== */
.xh-svc {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px; margin-top: 24px;
}
.xh-svc .i {
    background: #fff; border: 1px solid #E4E8EF; border-radius: 8px;
    padding: 16px 14px;
}
.xh-svc .i b {
    display: block; font-size: 14.5px; color: #0A2540; margin-bottom: 5px;
}
.xh-svc .i span { font-size: 12.5px; color: #6B7A99; line-height: 1.6; }
.xh-svc .i:hover { border-color: #E67E22; }

.xh-cta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; margin-top: 18px; padding: 22px 26px; border-radius: 8px;
    background: linear-gradient(120deg, #0A2540 0%, #143A5E 100%);
}
.xh-cta .l b { display: block; color: #fff; font-size: 17px; margin-bottom: 5px; }
.xh-cta .l span { color: #A8BEDB; font-size: 13px; }
.xh-cta .r { display: flex; gap: 10px; flex-shrink: 0; }
.xh-cta .p1 {
    padding: 11px 24px; border-radius: 6px; background: #E67E22; color: #fff;
    font-size: 14px; font-weight: 600; text-decoration: none;
}
.xh-cta .p1:hover { background: #d35400; }
.xh-cta .p2 {
    padding: 11px 22px; border-radius: 6px; border: 1px solid rgba(255,255,255,.35);
    color: #fff; font-size: 14px; text-decoration: none;
}
.xh-cta .p2:hover { background: rgba(255,255,255,.10); border-color: #fff; }

.xh-note {
    margin-top: 16px; padding: 14px 16px; border-radius: 6px;
    background: #F7F9FB; border-left: 3px solid #C9D3E4;
    font-size: 12.5px; color: #6B7A99; line-height: 1.8;
}
.xh-note b { color: #33415C; }

/* 标题 */
.xh-head h1 { font-size: 26px; color: #0A2540; letter-spacing: .5px; }
.xh-head .note { font-size: 13.5px; color: #6B7A99; line-height: 1.85; margin-top: 8px; max-width: 980px; }
.xh-upd {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 14px; padding: 7px 14px; border-radius: 5px;
    background: #FFF9F3; border: 1px solid #F5D9BC;
    font-size: 12.5px; color: #8A6A4A;
}
.xh-upd b { color: #E67E22; font-weight: 700; }

/* ========== ⑥ 响应式 ========== */
@media screen and (max-width: 1100px) {
    .xh-stat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xh-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xh-fbtns { margin-left: 0; }
}

@media screen and (max-width: 768px) {
    .xh-wrap { padding: 0 14px 30px; }
    .xh-head h1 { font-size: 20px; }
    .xh-head .note { font-size: 12.5px; }
    .xh-stat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .xh-stat .s { padding: 13px 10px; }
    .xh-stat .s b { font-size: 22px; }

    .xh-filter { padding: 12px; }
    .xh-fsel select { min-width: 0; width: 100%; }
    .xh-frow { flex-direction: column; align-items: stretch; gap: 8px; }
    .xh-frow > span { display: block; }
    .xh-fbtns { justify-content: flex-start; }

    /* 表格 → 卡片（钛材规格文字长，横向滚动体验差） */
    .xh-scroll { max-height: none; overflow: visible; }
    .xh-tbl, .xh-tbl tbody, .xh-tbl tr, .xh-tbl td { display: block; width: 100%; }
    .xh-tbl thead { display: none; }
    .xh-tbl caption { display: block; }
    .xh-tbl tbody tr {
        margin: 0 0 10px; padding: 12px; border: 1px solid #E4E8EF;
        border-radius: 8px; background: #fff !important;
    }
    .xh-tbl tbody tr:nth-child(even) { background: #fff !important; }
    .xh-tbl tbody td {
        padding: 5px 0; border: 0; display: flex; gap: 10px; font-size: 13px;
        width: auto; max-width: 100%; box-sizing: border-box;
    }
    .xh-tbl tbody td::before {
        content: attr(data-l);
        flex: 0 0 68px; color: #93A2BD; font-size: 12px;
    }
    .xh-tbl tbody td.g { border-bottom: 1px solid #F0F3F7; padding-bottom: 8px; margin-bottom: 4px; }
    .xh-tbl tbody td.g::before { display: none; }
    .xh-tbl tbody td.g b { font-size: 16px; }
    .xh-tbl tbody td.op { display: block; padding-top: 8px; }

    .xh-cta { flex-direction: column; align-items: flex-start; padding: 18px; }
    .xh-svc { grid-template-columns: 1fr; }
}

/* 打印 */
@media print {
    .xh-scroll { max-height: none; overflow: visible; }
    .xh-tbl thead th { position: static; }
}

/* ============================================================
   ★ v21 页头卡片（与「产品中心 .chub-hero」同款排版）
   ------------------------------------------------------------
   H1 + 英文副题 + 大段说明水平展开（两端对齐）+ 统计条一体化
   ============================================================ */
.xh-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: 0 0 18px;
}
.xh-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.xh-hero-tt { min-width: 0; flex: 1 1 auto; }
.xh-hero h1,
.xh-hero .xh-hero-tt h1 {
    font-size: 25px;
    font-weight: 700;
    color: #0A2540;
    letter-spacing: 2px;
    line-height: 1.35;
    margin: 0 0 4px;
}
.xh-sub {
    font-size: 12.5px;
    color: #8B9DC3;
    letter-spacing: 1px;
    font-family: Arial, sans-serif;
    margin: 0 0 0;
}
/* 大段说明：水平铺开、两端对齐 */
.xh-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: 14px 0 16px;
    text-align: justify;
    text-justify: inter-ideograph;
}
.xh-lead b, .xh-lead strong { color: #0A2540; font-weight: 700; }

/* 数据更新徽标（右上角） */
.xh-upd {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 6px;
    background: #FFF9F3;
    border: 1px solid #F5D9BC;
    font-size: 12.5px;
    color: #8A6A4A;
    line-height: 1.5;
}
.xh-upd i {
    width: 6px; height: 6px; border-radius: 50%;
    background: #E67E22; flex: 0 0 auto;
}
.xh-upd b { color: #E67E22; font-weight: 700; }
.xh-upd em { font-style: normal; color: #B09A80; }

/* 统计条：放进 hero 内，改横向排布 */
.xh-hero .xh-stat {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid #F0F4F8;
}
.xh-hero .xh-stat .s {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    text-align: left;
}
.xh-hero .xh-stat .s b {
    display: inline-block;
    font-size: 22px;
    color: #0A2540;
    margin-right: 4px;
}
.xh-hero .xh-stat .s.hi b { color: #E67E22; }
.xh-hero .xh-stat .s span { font-size: 13px; color: #6B7480; }
.xh-hero .xh-stat .s b i { font-size: 12px; color: #8B9DC3; font-weight: 400; }

/* 兼容旧结构（若某处仍是 .xh-head 独立块） */
.xh-head { margin: 0 0 14px; }
.xh-head h1 { font-size: 25px; font-weight: 700; color: #0A2540; letter-spacing: 2px; line-height: 1.35; margin: 0 0 4px; }
.xh-head .note {
    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: 12px 0 0; text-align: justify; text-justify: inter-ideograph;
}

@media screen and (max-width: 768px) {
    .xh-hero { padding: 16px 16px 14px; border-radius: 10px; }
    .xh-hero h1, .xh-hero .xh-hero-tt h1 { font-size: 19px; letter-spacing: 1px; }
    .xh-lead { font-size: 13px; line-height: 1.8; padding: 10px 12px; }
    .xh-hero-top { gap: 10px; }
    .xh-upd { font-size: 12px; padding: 6px 11px; }
    .xh-hero .xh-stat { gap: 16px 22px; }
    .xh-hero .xh-stat .s b { font-size: 19px; }
}
