/* ============================================================================
   宇鑫精密 · 产品全分类页「选型目录」
   themes/yuxin/css/yx-catalog.css

   设计语汇：连接器选型手册 / 工程图纸（datasheet），不是电商货架。
   ---------------------------------------------------------------------------
   与宇熙模板（aizu_2019 仿大商创）的区隔点，逐条对照：
     宇熙  深蓝渐变横幅 + 大标题 + slogan  →  本版  深墨图纸页眉 + 48px 网格底纹
     宇熙  20px 圆角胶囊品类条             →  本版  方角下划线排版标签条（sheet tabs）
     宇熙  12 行堆叠筛选面板（实测 504px）  →  本版  <details> 参数抽屉，自带宽高控制
     宇熙  4 列小卡 + 青色大投影            →  本版  3 列料号卡 + 1px 描边 + 3px 位移
     宇熙  排序选中 = 实心青块              →  本版  排序选中 = 深墨字 + 2px 青下划线
     宇熙  CTA 条 hover 变青                →  本版  CTA 条 hover 变深墨
     宇熙  热门推荐 = 4 张白卡              →  本版  热门型号 = 单行索引条（图 + 名 + 询价）
   ---------------------------------------------------------------------------
   作用域：所有规则挂 body.yx-cat-page，特异性压过 style.css / enterprise.css
           的 .gl-item / .goods-list 等旧规则（旧文件不删不改）。
           令牌前缀 --yx- 为自有命名，不依赖 design.css / yx-chrome.css 的加载顺序。
   兼容钩子（勿删，被 js/page/category-view.js 与 more_goods.lbi 依赖）：
     .yx-grid-holder / [ectype="items"] / [ectype="floor-loading"] / .gl-item
   ========================================================================== */

.yx-cat-page {
    --yx-ink: #0F172A;
    --yx-ink-2: #1E293B;
    --yx-ink-3: #334155;
    --yx-mute: #64748B;
    --yx-mute-2: #94A3B8;
    --yx-line: #E2E8F0;
    --yx-line-2: #CBD5E1;
    --yx-paper: #F8FAFC;
    --yx-cy: #0891B2;
    --yx-cy-b: #22D3EE;
    --yx-cy-d: #0E7490;
    --yx-cy-w: #ECFEFF;
    --yx-mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono",
               Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------------------------------------------------------------- 基础容器 */
.yx-cat-page .yx-wrap {
    width: 85%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ============================================ 一、标题带（图纸页眉） */
.yx-cat-page .yx-cat-head {
    position: relative;
    overflow: hidden;
    background: var(--yx-ink);
    color: #fff;
}

/* 48px 工程网格：与首页深色区同一套底纹，向下渐隐 */
.yx-cat-page .yx-cat-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, .11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .11) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: -1px -1px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 62%, transparent 100%);
}

/* 左上角定位十字：图纸对位标记 */
.yx-cat-page .yx-cat-head::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 22px;
    width: 13px;
    height: 13px;
    background:
        linear-gradient(var(--yx-cy-b), var(--yx-cy-b)) center / 13px 1px no-repeat,
        linear-gradient(var(--yx-cy-b), var(--yx-cy-b)) center / 1px 13px no-repeat;
    opacity: .55;
    pointer-events: none;
}

/* 底边：1px 浅分隔 + 左侧 96px 青色标尺段 */
.yx-cat-page .yx-cat-head::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: 0;
    width: 96px;
    height: 2px;
    background: var(--yx-cy);
    pointer-events: none;
}

.yx-cat-page .yx-cat-head-in {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-top: 34px;
    padding-bottom: 26px;
}

.yx-cat-page .yx-cat-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
    font: 600 10px / 1 var(--yx-mono);
    letter-spacing: 3.2px;
    color: var(--yx-cy-b);
    text-transform: uppercase;
}

.yx-cat-page .yx-cat-eyebrow::after {
    content: "";
    width: 38px;
    height: 1px;
    background: linear-gradient(90deg, var(--yx-cy-b), transparent);
}

/* h1 左侧压一根 3px 青色规尺 */
.yx-cat-page .yx-cat-h1 {
    position: relative;
    margin: 0;
    padding-left: 17px;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: .6px;
    color: #fff;
}

.yx-cat-page .yx-cat-h1::before {
    content: "";
    position: absolute;
    left: 0;
    top: .17em;
    bottom: .17em;
    width: 3px;
    background: var(--yx-cy-b);
}

/* 面包屑：等宽小字，1px 方块分隔 */
.yx-cat-page .yx-crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
    font: 500 11.5px / 1 var(--yx-mono);
    letter-spacing: .6px;
    color: var(--yx-mute);
    flex: 0 0 auto;
}

.yx-cat-page .yx-crumb a {
    color: var(--yx-mute);
    text-decoration: none;
    transition: color .2s;
}

.yx-cat-page .yx-crumb a:hover {
    color: var(--yx-cy-b);
}

.yx-cat-page .yx-crumb-sep {
    display: inline-block;
    width: 3px;
    height: 3px;
    background: #475569;
}

.yx-cat-page .yx-crumb-cur {
    color: #E2E8F0;
}

.yx-cat-page .yx-cat-intro {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0 0 26px;
    max-width: 860px;
    color: var(--yx-mute-2);
    font-size: 13.5px;
    line-height: 1.9;
}

/* ======================================== 二、品系索引条（sheet tabs） */
.yx-cat-page .yx-cat-idxbar {
    position: sticky;
    top: 66px;                        /* 让开固定头部实测高度 */
    z-index: 80;
    background: var(--yx-ink);
    border-top: 1px solid rgba(148, 163, 184, .14);
    border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.yx-cat-page .yx-cat-idxwrap {
    display: flex;
    align-items: stretch;
    gap: 0;
}

/* 左侧固定铅标：SERIES + 品系数 */
.yx-cat-page .yx-cat-idxlead {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-right: 20px;
    margin-right: 4px;
    border-right: 1px solid rgba(148, 163, 184, .16);
    font: 700 9.5px / 1 var(--yx-mono);
    letter-spacing: 2.6px;
    color: #475569;
}

.yx-cat-page .yx-cat-idxlead i {
    font-style: normal;
    font-size: 10px;
    letter-spacing: .8px;
    color: var(--yx-cy-b);
}

.yx-cat-page .yx-cat-tabs-in {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.yx-cat-page .yx-cat-tabs-in::-webkit-scrollbar {
    display: none;
}

/* 标签本体：去掉胶囊底色，只留文字与下划线 */
.yx-cat-page .yx-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    padding: 15px 16px 13px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--yx-mute-2);
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    text-decoration: none;
    transition: color .2s, border-color .2s, background .2s;
}

.yx-cat-page .yx-chip:hover {
    color: #fff;
    background: rgba(148, 163, 184, .07);
    border-bottom-color: rgba(34, 211, 238, .45);
}

.yx-cat-page .yx-chip.on {
    color: #fff;
    background: none;
    border-bottom-color: var(--yx-cy-b);
}

.yx-cat-page .yx-chip-num {
    font: 600 10px / 1 var(--yx-mono);
    font-style: normal;
    letter-spacing: .4px;
    color: #475569;
    transition: color .2s;
}

.yx-cat-page .yx-chip:hover .yx-chip-num,
.yx-cat-page .yx-chip.on .yx-chip-num {
    color: var(--yx-cy-b);
}

/* ============================================ 三、主体区 */
.yx-cat-page .yx-cat-main {
    padding-top: 24px;
    padding-bottom: 68px;
}

/* 左栏常驻选型台 + 右栏料号卡矩阵。
   选型台 sticky 跟随：产品越往下滚，参数越要够得着 —— 否则用户每改一次
   条件就要把页面拉回顶部重新输，选型流程会中断。
   top 值 = 主站吸顶导航高 67px + 12px 呼吸。 */
/* 前置修复：全站 enterprise.css 给 .ent-body 写了 overflow-x:hidden，这会把
   body 变成滚动容器，Chrome 下 position:sticky 会完全失效（实测侧栏随页面滚走）。
   必须同时显式写 overflow-y:visible —— 否则 overflow-x 是 clip 时，规范会把
   overflow-y:visible 计算成 auto，再把 overflow-x 反向压回 hidden，白改。
   旧浏览器不支持 clip 时会退回 hidden，侧栏降级为普通跟随，不影响功能。 */
body.yx-cat-page {
    overflow-x: clip;
    overflow-y: visible;
}

/* Safari 16 以下不认 overflow-x:clip，整条声明被丢弃后会退回 .ent-body 的
   hidden，body 重新变成滚动容器、侧栏彻底不吸顶。这里改走 visible，
   横向裁切交给 enterprise.css 已有的 html{overflow-x:hidden} 兜底。 */
@supports not (overflow-x: clip) {
    body.yx-cat-page {
        overflow-x: visible;
        overflow-y: visible;
    }
}

.yx-cat-page .yx-cat-lay {
    display: grid;
    grid-template-columns: 208px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.yx-cat-page .yx-cat-side {
    position: sticky;
    top: 79px;
    max-height: calc(100vh - 91px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

/* 侧栏内滚动条：细、无箭头、静止时隐去轨道，不抢参数区的视线 */
.yx-cat-page .yx-cat-side::-webkit-scrollbar {
    width: 5px;
}

.yx-cat-page .yx-cat-side::-webkit-scrollbar-track {
    background: transparent;
}

.yx-cat-page .yx-cat-side::-webkit-scrollbar-thumb {
    background: var(--yx-line-2);
    border-radius: 3px;
}

.yx-cat-page .yx-cat-side:hover::-webkit-scrollbar-thumb {
    background: var(--yx-mute-2);
}

.yx-cat-page .yx-cat-res {
    min-width: 0;
}

/* 品系索引条自身也吸顶（top:66px、高 47px），选型台必须让到它下面，
   否则滚动后两者会叠在一起（实测重叠 34px）。
   125px = 索引条底 113px + 12px 呼吸；无索引条的页面仍用 79px。 */
body.yx-cat-page:has(.yx-cat-idxbar) .yx-cat-side {
    top: 125px;
    max-height: calc(100vh - 137px);
}

/* ================================== 四、参数选型台（左栏） */
.yx-cat-page .yx-sel {
    margin-bottom: 0;
    background: #fff;
    border: 1px solid var(--yx-line);
    border-radius: 2px;
}

/* 台头：左侧命中数 + 右侧重置。
   208px 侧栏扣掉 32px 内边距只剩 174px，装不下「SPEC SELECTOR | 696 ITEMS |
   清除筛选」三段——实测 eye 被挤成两行、重置按钮被压成 35×54 的竖排
   （四个汉字一字一行）。英文站文案长度不可控（Clear all / RESET ALL…），
   所以宽屏侧栏只留信息密度最高的两段，eyebrow 让位给 ≤1024 的通栏布局。 */
.yx-cat-page .yx-sel-h {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--yx-paper);
    border-bottom: 1px solid var(--yx-line);
}

/* eyebrow 只在通栏宽度出现；侧栏里让位给命中数与重置，
   aria-label 已挂在 aside 上，语义不丢 */
.yx-cat-page .yx-sel-eye {
    display: none;
    flex: 0 0 auto;
    font: 700 9.5px / 1 var(--yx-mono);
    letter-spacing: 2.6px;
    white-space: nowrap;
    color: var(--yx-cy-d);
}

.yx-cat-page .yx-sel-eye::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 9px;
    margin-left: 13px;
    vertical-align: -1px;
    background: var(--yx-line-2);
}

/* 命中数：筛选前后对比的唯一反馈，放在台头最显眼的位置 */
.yx-cat-page .yx-sel-hit {
    display: inline-flex;
    align-items: baseline;
    flex: 0 0 auto;
    gap: 3px;
    font: 700 14px / 1 var(--yx-mono);
    color: var(--yx-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* 色条顶替被隐藏的 eyebrow，保住台头左侧的视觉锚点 */
.yx-cat-page .yx-sel-hit::before {
    content: "";
    align-self: center;
    width: 3px;
    height: 12px;
    margin-right: 2px;
    background: var(--yx-cy);
}

.yx-cat-page .yx-sel-hit i {
    font: 600 8.5px / 1 var(--yx-mono);
    font-style: normal;
    letter-spacing: 1.2px;
    color: var(--yx-mute-2);
}

/* 参数搜索：11 个组、最多 44 个取值，输入比滚动快一个数量级 */
.yx-cat-page .yx-sel-qw {
    position: relative;
    padding: 9px 12px;
    background: #fff;
    border-bottom: 1px solid var(--yx-line);
}

.yx-cat-page .yx-sel-q {
    width: 100%;
    height: 29px;
    padding: 0 26px 0 26px;
    font: 400 11.5px / 1 var(--yx-mono);
    color: var(--yx-ink);
    background: var(--yx-paper)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4.2-4.2'/%3E%3C/svg%3E")
        no-repeat 8px center;
    border: 1px solid var(--yx-line-2);
    border-radius: 2px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .18s, background-color .18s;
}

.yx-cat-page .yx-sel-q::placeholder {
    color: var(--yx-mute-2);
}

.yx-cat-page .yx-sel-q::-webkit-search-cancel-button {
    display: none;
}

.yx-cat-page .yx-sel-q:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--yx-cy);
}

/* 无结果时的提示，由 JS 写入 */
.yx-cat-page .yx-sel-qn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font: 600 9.5px / 1 var(--yx-mono);
    color: var(--yx-mute-2);
}

.yx-cat-page .yx-sel-qn[hidden] {
    display: none;
}

/* 重置按钮：任何语言下都必须横排。white-space:nowrap 是底线——一旦被压窄，
   汉字会一字一行竖排（实测挤成 35×54）。超长文案靠 ellipsis 截断，
   完整文字由 title 兜底，不再撑破台头。 */
.yx-cat-page .yx-sel-reset {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: auto;
    padding: 6px 10px;
    font: 600 10px / 1 var(--yx-mono);
    letter-spacing: 1.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--yx-mute);
    background: #fff;
    border: 1px solid var(--yx-line-2);
    border-radius: 2px;
    text-decoration: none;
    transition: color .2s, background .2s, border-color .2s;
}

.yx-cat-page .yx-sel-reset:hover {
    color: #fff;
    background: var(--yx-ink);
    border-color: var(--yx-ink);
}

/* 已选条件：可逐条点掉 */
.yx-cat-page .yx-sel-on {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--yx-line);
}

.yx-cat-page .yx-tg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 3px 0 9px;
    font-size: 11.5px;
    color: var(--yx-ink-3);
    background: var(--yx-paper);
    border: 1px solid var(--yx-line-2);
    border-radius: 2px;
}

.yx-cat-page .yx-tg b {
    font-weight: 400;
    color: var(--yx-mute);
    font-size: 10.5px;
}

.yx-cat-page .yx-tg em {
    font-style: normal;
    font-weight: 600;
    color: var(--yx-cy-d);
}

.yx-cat-page .yx-tg a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    font-size: 14px;
    line-height: 1;
    color: var(--yx-mute-2);
    text-decoration: none;
    transition: color .15s, background .15s;
}

.yx-cat-page .yx-tg a:hover {
    color: #fff;
    background: var(--yx-ink);
}

/* ---- 参数组：<details>，零 JS。单栏纵向排列，窄侧栏里两栏会把参数名挤断 ---- */
.yx-cat-page .yx-sel-b {
    counter-reset: yxsg;
}

/* 电气参数折叠容器：由 JS 在首屏后创建并迁入（无 JS 时 11 组平铺，功能不丢） */
.yx-cat-page .yx-sel-elec {
    counter-increment: yxsg;
    border-bottom: 1px solid var(--yx-line);
}

.yx-cat-page .yx-sel-elec:last-child {
    border-bottom: 0;
}

.yx-cat-page .yx-sel-elec > summary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    background: var(--yx-paper);
    transition: background .15s;
}

.yx-cat-page .yx-sel-elec > summary::-webkit-details-marker {
    display: none;
}

.yx-cat-page .yx-sel-elec > summary::before {
    content: counter(yxsg, decimal-leading-zero);
    flex: 0 0 16px;
    font: 600 9px / 1 var(--yx-mono);
    color: var(--yx-line-2);
}

.yx-cat-page .yx-sel-elec[open] > summary::before {
    color: var(--yx-cy);
}

.yx-cat-page .yx-sel-elec > summary:hover {
    background: var(--yx-cy-w);
}

.yx-cat-page .yx-sel-elec-nm {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--yx-ink);
}

.yx-cat-page .yx-sel-elec-ct {
    flex: 0 0 auto;
    padding: 2px 5px;
    font: 600 9px / 1 var(--yx-mono);
    color: var(--yx-mute);
    background: #fff;
    border: 1px solid var(--yx-line);
    border-radius: 2px;
    font-variant-numeric: tabular-nums;
}

/* 箭头在 flex 里不参与 grid 定位，清零 grid 专用偏移 */
.yx-cat-page .yx-sel-elec > summary .yx-sg-ar {
    flex: 0 0 auto;
    margin: 0;
}

.yx-cat-page .yx-sel-elec[open] > summary .yx-sg-ar {
    transform: rotate(-135deg);
    border-color: var(--yx-cy);
}

/* 折叠容器内的组不再重复编号，避免计数错乱 */
.yx-cat-page .yx-sel-elec .yx-sg {
    counter-increment: none;
    border-bottom: 0;
    border-top: 1px solid var(--yx-line);
}

.yx-cat-page .yx-sel-elec .yx-sg-h::before {
    content: "—";
    color: var(--yx-line-2);
}

.yx-cat-page .yx-sg {
    counter-increment: yxsg;
    break-inside: avoid;
    page-break-inside: avoid;
    border-bottom: 1px solid var(--yx-line);
}

.yx-cat-page .yx-sg:last-child {
    border-bottom: 0;
}

.yx-cat-page .yx-sg-h {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto 7px;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background .15s;
}

.yx-cat-page .yx-sg-h::-webkit-details-marker {
    display: none;
}

.yx-cat-page .yx-sg-h::marker {
    content: "";
}

.yx-cat-page .yx-sg-h:hover {
    background: var(--yx-paper);
}

/* 组序号：01 02 03 …（CSS 计数器，模板零负担） */
.yx-cat-page .yx-sg-h::before {
    content: counter(yxsg, decimal-leading-zero);
    grid-column: 1;
    grid-row: 1;
    font: 600 9px / 1 var(--yx-mono);
    letter-spacing: .4px;
    color: var(--yx-line-2);
    transition: color .2s;
}

.yx-cat-page .yx-sg[open] .yx-sg-h::before {
    color: var(--yx-cy);
}

.yx-cat-page .yx-sg-nm {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--yx-ink);
}

/* 已选值：独占第二行。空值由模板留空 + :empty 隐藏，收起态就只剩一行标题 */
.yx-cat-page .yx-sg-cur {
    grid-column: 2 / 4;
    grid-row: 2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 400 10.5px / 1.45 var(--yx-mono);
    color: var(--yx-cy-d);
}

.yx-cat-page .yx-sg-cur:empty {
    display: none;
}

.yx-cat-page .yx-sg-ct {
    grid-column: 3;
    grid-row: 1;
    padding: 2px 5px;
    font: 600 9px / 1 var(--yx-mono);
    color: var(--yx-mute);
    background: var(--yx-paper);
    border: 1px solid var(--yx-line);
    border-radius: 2px;
    font-variant-numeric: tabular-nums;
}

.yx-cat-page .yx-sg-ar {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 1.5px solid var(--yx-mute-2);
    border-bottom: 1.5px solid var(--yx-mute-2);
    transform: rotate(45deg);
    transition: transform .22s, border-color .2s;
}

.yx-cat-page .yx-sg[open] .yx-sg-ar {
    margin-top: 3px;
    transform: rotate(-135deg);
    border-color: var(--yx-cy);
}

/* 展开区：纵向缩进对齐参数名首字，而不是对齐序号 */
.yx-cat-page .yx-sg-b {
    padding: 0 11px 11px 34px;
}

.yx-cat-page .yx-sg-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 260px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.yx-cat-page .yx-sg-opts::-webkit-scrollbar {
    width: 4px;
}

.yx-cat-page .yx-sg-opts::-webkit-scrollbar-thumb {
    background: var(--yx-line-2);
    border-radius: 2px;
}

/* 取值芯片：方角 2px，等宽字体（连接器料号是数字串，mono 立刻有工程味） */
.yx-cat-page .yx-opt {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 8px;
    font: 400 11px / 1 var(--yx-mono);
    letter-spacing: .2px;
    color: var(--yx-ink-3);
    background: #fff;
    border: 1px solid var(--yx-line);
    border-radius: 2px;
    text-decoration: none;
    transition: color .16s, background .16s, border-color .16s;
}

/* 搜索命中：关键词在取值内，给一个青色底提示，不用重渲染文字 */
.yx-cat-page .yx-opt.yx-hit {
    border-color: rgba(34, 211, 238, .55);
    background: var(--yx-cy-w);
}

/* 被搜索过滤掉的取值与组：隐藏而不是移除，清空搜索即可恢复 */
.yx-cat-page .yx-opt.yx-off,
.yx-cat-page .yx-sg.yx-off {
    display: none;
}

.yx-cat-page .yx-opt:hover {
    color: var(--yx-ink);
    background: var(--yx-paper);
    border-color: var(--yx-ink-3);
}

.yx-cat-page .yx-opt.on {
    color: #fff;
    background: var(--yx-ink);
    border-color: var(--yx-ink);
}

/* 价格自定义输入 */
.yx-cat-page .yx-sg-custom {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.yx-cat-page .yx-inp {
    width: 84px;
    height: 27px;
    padding: 0 8px;
    font: 400 11.5px / 1 var(--yx-mono);
    color: var(--yx-ink);
    background: #fff;
    border: 1px solid var(--yx-line-2);
    border-radius: 2px;
    box-sizing: border-box;
}

.yx-cat-page .yx-inp:focus {
    outline: none;
    border-color: var(--yx-cy);
}

.yx-cat-page .yx-inp-sep {
    font-size: 11px;
    color: var(--yx-line-2);
}

.yx-cat-page .yx-inp-btn {
    height: 27px;
    padding: 0 13px;
    font: 600 10.5px / 1 var(--yx-mono);
    letter-spacing: .8px;
    color: #fff;
    background: var(--yx-ink);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    transition: background .2s;
}

.yx-cat-page .yx-inp-btn:hover {
    background: var(--yx-cy);
}

/* 色块取值 */
.yx-cat-page .yx-sg-opts--swatch {
    gap: 7px;
    max-height: none;
}

.yx-cat-page .yx-sw {
    display: inline-flex;
    width: 27px;
    height: 27px;
    padding: 2px;
    border: 1px solid var(--yx-line);
    border-radius: 2px;
    box-sizing: border-box;
    transition: border-color .16s;
}

.yx-cat-page .yx-sw i {
    display: block;
    width: 100%;
    height: 100%;
}

.yx-cat-page .yx-sw:hover {
    border-color: var(--yx-ink);
}

.yx-cat-page .yx-sw.on {
    border-color: var(--yx-cy);
    box-shadow: inset 0 0 0 1px var(--yx-cy);
}

/* 移动端胶囊面板停用：全端统一走 <details> 抽屉。
   DOM 保留（js/category_screening.js 需要它挂载），仅视觉隐藏。 */
.yx-cat-page .yx-sel .m-filter-dropdown {
    display: none !important;
}

/* ================================== 五、热门型号索引条 */
.yx-cat-page .hot-sales {
    margin: 0 0 24px;
}

.yx-cat-page .hot-sales .hotsale {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--yx-line);
    border-radius: 2px;
}

/* 热门型号：旧模板的 float 与青色描边要逐个清掉，否则标题会被挤成竖排 */
.yx-cat-page .hot-sales .hatsale-mt {
    display: flex;
    align-items: center;
    gap: 10px;
    float: none;
    width: auto;
    height: auto;
    padding: 9px 16px;
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    color: var(--yx-mute);
    border-bottom: 1px solid var(--yx-line);
}

.yx-cat-page .hot-sales .hatsale-mt::before {
    content: "HOT";
    padding: 3px 6px;
    font: 700 9px / 1 var(--yx-mono);
    letter-spacing: 1.6px;
    color: #fff;
    background: var(--yx-cy);
}

.yx-cat-page .hot-sales .bd {
    float: none;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
}

.yx-cat-page .hot-sales .bd ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.yx-cat-page .hot-sales .bd li {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-right: 1px solid var(--yx-line);
}

.yx-cat-page .hot-sales .bd li:last-child {
    border-right: 0;
}

.yx-cat-page .hot-sales .bd li .item {
    display: flex;
    align-items: center;
    gap: 11px;
    float: none;
    width: auto;
    padding: 12px 16px;
}

.yx-cat-page .hot-sales .p-img {
    flex: 0 0 52px;
    float: none;
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--yx-line);
    border-radius: 2px;
    background: #fff;
    overflow: hidden;
}

.yx-cat-page .hot-sales .p-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.yx-cat-page .hot-sales .p-img img {
    width: 100%;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
    object-fit: contain;
}

.yx-cat-page .hot-sales .p-info {
    flex: 1 1 auto;
    min-width: 0;
}

.yx-cat-page .hot-sales .p-name {
    margin: 0;
    padding: 0;
    height: auto;
}

.yx-cat-page .hot-sales .p-name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--yx-ink);
    text-decoration: none;
    transition: color .2s;
}

.yx-cat-page .hot-sales .bd li .item:hover .p-name a {
    color: var(--yx-cy-d);
}

.yx-cat-page .hot-sales .p-act {
    margin-top: 5px;
}

.yx-cat-page .hot-sales .ent-btn-inquiry {
    display: inline-block;
    padding: 0 0 2px;
    font: 600 9.5px / 1 var(--yx-mono);
    letter-spacing: 1.2px;
    color: var(--yx-cy-d);
    background: none;
    border: 0;
    border-bottom: 1px solid currentColor;
    text-decoration: none;
    transition: color .2s;
}

.yx-cat-page .hot-sales .ent-btn-inquiry:hover {
    color: var(--yx-ink);
}

/* ================================== 六、排序条 */
.yx-cat-page .yx-sortbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--yx-line);
}

.yx-cat-page .yx-sortbar-l {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.yx-cat-page .yx-sortbar-tit {
    margin-right: 18px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.4px;
    color: var(--yx-line-2);
    text-transform: uppercase;
}

/* 排序项：无底色无边框，选中靠下划线 */
.yx-cat-page .yx-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
    padding: 6px 0;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--yx-mute);
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    text-decoration: none;
    transition: color .18s, border-color .18s;
}

.yx-cat-page .yx-sort:hover {
    color: var(--yx-ink);
    background: none;
    border-bottom-color: var(--yx-line-2);
}

.yx-cat-page .yx-sort.on {
    color: var(--yx-ink);
    font-weight: 700;
    background: none;
    border-bottom-color: var(--yx-cy);
}

.yx-cat-page .yx-sort-arr {
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4px solid currentColor;
    opacity: .45;
    transition: transform .2s;
}

.yx-cat-page .yx-sort.on .yx-sort-arr {
    opacity: .85;
}

.yx-cat-page .yx-sort-arr.up {
    transform: rotate(180deg);
}

/* ================================== 七、料号卡矩阵 */
.yx-cat-page .yx-cat-stage {
    position: relative;
}

/* 料号卡矩阵：侧栏占位后仍保持横向 4 列。
   1203 视口下产品区约 760px，每列 180px，图片 16:10，仍能装下 4 张卡；
   1440 视口下每列约 226px，是主力阅读宽度。 */
.yx-cat-page .yx-spec-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    counter-reset: yxcard;
}

/* 瀑布流：卡片高度跟着内容走，纵向落点由 JS 换算成行跨度。
   grid-auto-rows 取 2px 细粒度——跨度误差不超过 2px，肉眼看不出来。
   align-items:start 是关键：默认的 stretch 会把卡片拉成行高，
   既测不准高度、也失去参差感。.yx-masonry 由 JS 挂上，
   无 JS 时退回普通网格（每行等高），内容与筛选都不丢。 */
.yx-cat-page .yx-spec-grid.yx-masonry {
    grid-auto-rows: 2px;
    row-gap: 0;
    align-items: start;
}

.yx-cat-page .yx-spec-grid .gl-item {
    counter-increment: yxcard;
    display: flex;
    flex-direction: column;
    float: none;
    width: auto;
    margin: 0;
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid var(--yx-line);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color .22s, transform .22s;
}

/* 位移 + 描边加深，不再用青色投影 */
.yx-cat-page .yx-spec-grid .gl-item:hover {
    z-index: 2;
    border-color: var(--yx-ink-3);
    box-shadow: none;
    transform: translateY(-3px);
}

/* 中和 style.css 里 .gl-i-wrap 的全局卡片样式。
   保持 block 布局（不转 flex）：.p-img 的 aspect-ratio 需要块级宽度参照才稳定。
   flex:1 让内容撑满卡片高度，底部留 16px，供 ::after 的规格条沉底对齐。 */
.yx-cat-page .yx-spec-grid .gl-i-wrap,
.yx-cat-page .yx-spec-grid .gl-i-wrap:hover {
    flex: 1 1 auto;
    padding: 0 0 16px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* ---- 图片区 16:10 ---- */
.yx-cat-page .yx-spec-grid .p-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--yx-line);
}

/* 左上角料号编号：白底细边骑缝章，hover 转深墨 */
.yx-cat-page .yx-spec-grid .p-img::before {
    content: counter(yxcard, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    padding: 7px 9px;
    font: 700 9.5px / 1 var(--yx-mono);
    letter-spacing: 1.2px;
    color: var(--yx-mute-2);
    background: #fff;
    border-right: 1px solid var(--yx-line);
    border-bottom: 1px solid var(--yx-line);
    transition: color .2s, background .2s, border-color .2s;
}

.yx-cat-page .yx-spec-grid .gl-item:hover .p-img::before {
    color: #fff;
    background: var(--yx-ink);
    border-color: var(--yx-ink);
}

.yx-cat-page .yx-spec-grid .p-img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.yx-cat-page .yx-spec-grid .p-img img {
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    object-fit: contain;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}

.yx-cat-page .yx-spec-grid .gl-item:hover .p-img img {
    transform: scale(1.05);
}

/* 缩略图轮播 DOM 为兼容 more_goods.lbi 而保留，列表页不显示 */
.yx-cat-page .yx-spec-grid .sider {
    display: none !important;
}

/* ---- 文字区 ---- */
/* 瀑布流下不再锁高：卡片高度跟着内容走，名称 1 行与 3 行的卡自然错落。
   line-clamp 仍然保留，只用来挡住极端长标题把单张卡拉成两倍高。 */
.yx-cat-page .yx-spec-grid .p-name {
    margin: 0;
    padding: 16px 18px 0;
}

.yx-cat-page .yx-spec-grid .p-name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--yx-ink);
    text-decoration: none;
    transition: color .2s;
}

.yx-cat-page .yx-spec-grid .gl-item:hover .p-name a {
    color: var(--yx-cy-d);
}

.yx-cat-page .yx-spec-grid .p-brief {
    margin: 9px 0 0;
    padding: 0 18px;
    color: var(--yx-mute);
    font-size: 12.5px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 参数芯片：恒定单行。允许换行会在卡片不同高度上截出「半截芯片」，
   改用右侧渐隐——用户能看出后面还有，但卡片高度保持整齐。 */
.yx-cat-page .yx-spec-grid .p-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    margin: 0;
    padding: 13px 18px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 16px), transparent);
}

.yx-cat-page .yx-spec-grid .p-tags .tag {
    flex: 0 0 auto;
    display: inline-block;
    padding: 3px 7px;
    font: 400 10px / 1.3 var(--yx-mono);
    letter-spacing: .2px;
    border-radius: 1px;
    border: 1px solid var(--yx-line) !important;
    background: var(--yx-paper) !important;
    color: var(--yx-mute) !important;
    text-decoration: none;
    transform: none !important;
    box-shadow: none !important;
    transition: border-color .16s, background .16s, color .16s;
}

.yx-cat-page .yx-spec-grid .p-tags .tag:hover {
    border-color: var(--yx-ink-3) !important;
    background: #fff !important;
    color: var(--yx-ink) !important;
}

/* ---- 底部规格条：伪元素，异步追加的卡片同样生效 ---- */
.yx-cat-page .yx-spec-grid .gl-item::after {
    content: "规格详情\00a0\00a0\2192";
    display: block;
    margin-top: auto;
    padding: 12px 18px;
    border-top: 1px solid var(--yx-line);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 1.4px;
    color: var(--yx-mute);
    background: #fff;
    transition: color .2s, background .2s, padding-left .2s, border-color .2s;
}

.yx-cat-page .yx-spec-grid .gl-item:hover::after {
    padding-left: 26px;
    color: #fff;
    background: var(--yx-ink);
    border-top-color: var(--yx-ink);
}

/* ---- 四列密度：只在宽屏生效。1203 视口下卡宽约 176px，
   沿用三列时的 15px/24px 会把产品名截到只剩 8 个字，所以整体降一档。 ---- */
@media (min-width: 1200px) {
    .yx-cat-page .yx-spec-grid .p-img img {
        padding: 14px;
    }
    .yx-cat-page .yx-spec-grid .p-img::before {
        padding: 6px 7px;
        font-size: 9px;
        letter-spacing: 1px;
    }
    .yx-cat-page .yx-spec-grid .p-name {
        padding: 13px 14px 0;
    }
    .yx-cat-page .yx-spec-grid .p-name a {
        -webkit-line-clamp: 3;
        font-size: 13px;
        line-height: 1.5;
    }
    .yx-cat-page .yx-spec-grid .p-brief {
        margin-top: 7px;
        padding: 0 14px;
        font-size: 11.5px;
        line-height: 1.65;
    }
    .yx-cat-page .yx-spec-grid .p-tags {
        gap: 4px;
        padding: 11px 14px 0;
    }
    .yx-cat-page .yx-spec-grid .p-tags .tag {
        padding: 2px 5px;
        font-size: 9.5px;
    }
    .yx-cat-page .yx-spec-grid .gl-item::after {
        padding: 10px 14px;
        font-size: 10.5px;
        letter-spacing: 1.1px;
    }
    .yx-cat-page .yx-spec-grid .gl-item:hover::after {
        padding-left: 20px;
    }
}

/* ================================== 八、空结果 */
.yx-cat-page .yx-empty {
    padding: 88px 24px 96px;
    text-align: center;
}

/* 方框 + 对角斜线：图纸里的「无此件」标记，不用圆形 */
.yx-cat-page .yx-empty-ico {
    position: relative;
    width: 54px;
    height: 54px;
    margin: 0 auto 22px;
    border: 1px solid var(--yx-line-2);
    box-sizing: border-box;
    overflow: hidden;
}

.yx-cat-page .yx-empty-ico::before {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 50%;
    height: 1px;
    background: var(--yx-line-2);
    transform: rotate(-45deg);
}

.yx-cat-page .yx-empty-tit {
    margin: 0 0 9px;
    font-size: 16px;
    font-weight: 600;
    color: var(--yx-ink);
}

.yx-cat-page .yx-empty-sub {
    margin: 0 0 24px;
    font-size: 12.5px;
    color: var(--yx-mute);
}

.yx-cat-page .yx-empty-btn {
    display: inline-block;
    padding: 11px 28px;
    font: 600 10.5px / 1 var(--yx-mono);
    letter-spacing: 1.4px;
    color: #fff;
    background: var(--yx-ink);
    border-radius: 2px;
    text-decoration: none;
    transition: background .2s;
}

.yx-cat-page .yx-empty-btn:hover {
    color: #fff;
    background: var(--yx-cy);
}

/* ================================== 九、无限加载 */
.yx-cat-page .floor-loading.goods-floor-loading {
    width: 100%;
    height: auto;
    padding: 40px 0;
    text-align: center;
}

.yx-cat-page .floor-loading .floor-loading-warp {
    display: none;
}

.yx-cat-page .yx-loading-ring {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid var(--yx-line);
    border-top-color: var(--yx-ink);
    border-radius: 50%;
    animation: yxspin .8s linear infinite;
}

@keyframes yxspin {
    to { transform: rotate(360deg); }
}

/* ================================== 十、响应式 */
/* 1200 以下侧栏仍在，但产品区只剩 700px 上下：四列会压到 135px
   （图看不清、名字断成三字一行），退回三列。 */
@media (max-width: 1199px) {
    .yx-cat-page .yx-spec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 1024px 以下放弃左栏：窄屏上侧栏与产品区并排会把两者都压到不可用，
   改为上下堆叠，选型台在上方通栏展开。 */
@media (max-width: 1024px) {
    .yx-cat-page .yx-cat-lay {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .yx-cat-page .yx-cat-side {
        position: static;
        max-height: none;
        overflow: visible;
    }
    .yx-cat-page .yx-sel-b {
        columns: 2;
        column-gap: 0;
        column-rule: 1px solid var(--yx-line);
    }
    /* 通栏宽度下允许 eyebrow 回归：700px 以上放得下三段，且有视觉价值 */
    .yx-cat-page .yx-sel-eye {
        display: inline-block;
    }
    .yx-cat-page .yx-sel .yx-sg {
        break-inside: avoid;
    }
    .yx-cat-page .yx-cat-h1 {
        font-size: 28px;
    }
    .yx-cat-page .yx-spec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    .yx-cat-page .hot-sales .bd ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .yx-cat-page .hot-sales .bd li:nth-child(2n) {
        border-right: 0;
    }
    .yx-cat-page .hot-sales .bd li:nth-child(-n + 2) {
        border-bottom: 1px solid var(--yx-line);
    }
}

@media (max-width: 768px) {
    .yx-cat-page .yx-wrap {
        padding: 0 16px;
    }
    .yx-cat-page .yx-cat-head-in {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
        padding-top: 26px;
        padding-bottom: 22px;
    }
    .yx-cat-page .yx-cat-h1 {
        font-size: 22px;
        padding-left: 13px;
    }
    .yx-cat-page .yx-cat-h1::before {
        width: 2px;
    }
    .yx-cat-page .yx-cat-eyebrow {
        margin-bottom: 9px;
        letter-spacing: 2.4px;
    }
    .yx-cat-page .yx-cat-head::before {
        left: 16px;
        top: 18px;
    }
    .yx-cat-page .yx-cat-head::after {
        left: 16px;
        width: 64px;
    }
    .yx-cat-page .yx-crumb {
        padding-bottom: 0;
        font-size: 11px;
    }

    /* 移动端主站导航为折叠菜单，取消吸顶避免与菜单层叠 */
    .yx-cat-page .yx-cat-idxbar {
        position: static;
    }
    .yx-cat-page .yx-cat-idxlead {
        padding-right: 14px;
        letter-spacing: 1.8px;
    }
    .yx-cat-page .yx-chip {
        padding: 13px 13px 11px;
        font-size: 12px;
    }

    .yx-cat-page .yx-sel-h {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 13px;
    }
    .yx-cat-page .yx-sel-eye::after {
        display: none;
    }
    /* 390px 竖屏下「SPEC SELECTOR + 696 ITEMS + 清除筛选」只差 1px 就会换行，
       收紧字距把三段压回一行，台头保持 45px 而不是 67px */
    .yx-cat-page .yx-sel-eye {
        letter-spacing: 1.6px;
    }
    .yx-cat-page .yx-sel-on {
        padding: 10px 13px;
    }
    /* 窄屏放弃两栏：一栏一栏读，避免参数名被挤到换行 */
    .yx-cat-page .yx-sel-b {
        columns: 1;
        column-rule: 0;
    }
    .yx-cat-page .yx-sg-h {
        gap: 9px;
        padding: 11px 13px;
    }
    .yx-cat-page .yx-sg-b {
        padding: 0 13px 13px 15px;
    }
    .yx-cat-page .yx-sg-opts {
        max-height: 210px;
    }

    .yx-cat-page .hot-sales .bd ul {
        grid-template-columns: 1fr;
    }
    .yx-cat-page .hot-sales .bd li {
        border-right: 0;
        border-bottom: 1px solid var(--yx-line);
    }
    .yx-cat-page .hot-sales .bd li:last-child {
        border-bottom: 0;
    }

    .yx-cat-page .yx-sortbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-bottom: 12px;
        margin-bottom: 18px;
    }
    .yx-cat-page .yx-sort {
        margin-right: 16px;
    }

    .yx-cat-page .yx-spec-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .yx-cat-page .yx-spec-grid .p-name {
        padding: 14px 15px 0;
    }
    .yx-cat-page .yx-spec-grid .p-brief,
    .yx-cat-page .yx-spec-grid .p-tags {
        padding-left: 15px;
        padding-right: 15px;
    }
    .yx-cat-page .yx-spec-grid .gl-item::after {
        padding: 11px 15px;
        letter-spacing: 1px;
    }
    .yx-cat-page .yx-spec-grid .gl-item:hover::after {
        padding-left: 21px;
    }
}
