/* =========================================================
   产品选型页（/cate/74.html）  ALINX 风格产品网格
   2026-12-01 新增，类名统一 pdx- 前缀，避免与全站样式冲突
   ========================================================= */

.pdx {
    padding-bottom: 70px;
    font-family: 'HarmonyOS_Sans_SC_Regular', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    color: #1a1a1a;
}

.pdx * {
    box-sizing: border-box;
}

/* ---------- 页头 ---------- */
.pdx-hero {
    text-align: center;
    padding: 46px 0 30px;
}

.pdx-hero h1 {
    font-family: 'HarmonyOS_Sans_SC_Medium', 'PingFang SC', Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
    color: #1a1a1a;
}

.pdx-hero-sub {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.8;
    color: #8a8a8a;
}

.pdx-search {
    position: relative;
    width: 640px;
    max-width: 100%;
    margin: 26px auto 0;
}

.pdx-search input {
    width: 100%;
    height: 54px;
    padding: 0 60px 0 26px;
    border: 1px solid #e6e6e6;
    border-radius: 27px;
    background: #fff;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: all .25s;
}

.pdx-search input::placeholder {
    color: #b8b8b8;
}

.pdx-search input:focus {
    border-color: #ee8400;
    box-shadow: 0 0 0 4px rgba(238, 132, 0, .08);
}

.pdx-search button {
    position: absolute;
    right: 7px;
    top: 7px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #ee8400;
    cursor: pointer;
    transition: background .2s;
}

.pdx-search button::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 10px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.pdx-search button::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 23px;
    width: 6px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 1px;
}

.pdx-search button:hover {
    background: #e77817;
}

/* ---------- 筛选区 ---------- */
.pdx-filter {
    margin-top: 34px;
    padding: 4px 30px;
    background: #fafafa;
    border: 1px solid #f1f1f1;
    border-radius: 14px;
}

.pdx-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px dashed #ececec;
}

.pdx-row:last-child {
    border-bottom: 0;
}

.pdx-label {
    flex: 0 0 86px;
    font-size: 14px;
    line-height: 32px;
    color: #9a9a9a;
}

.pdx-opts {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 9px 10px;
}

.pdx-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border: 1px solid #ececec;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: #4a4a4a;
    transition: all .2s;
    white-space: nowrap;
}

.pdx-chip i {
    font-style: normal;
    font-size: 12px;
    color: #bdbdbd;
}

.pdx-chip:hover {
    border-color: #ee8400;
    color: #ee8400;
}

.pdx-chip:hover i {
    color: #ee8400;
}

.pdx-chip.on {
    background: #ee8400;
    border-color: #ee8400;
    color: #fff;
}

.pdx-chip.on i {
    color: rgba(255, 255, 255, .8);
}

/* 芯片系列折叠 */
.pdx-opts.pdx-collapsed .pdx-extra {
    display: none;
}

.pdx-morebtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
    color: #ee8400;
    cursor: pointer;
    user-select: none;
}

.pdx-morebtn em {
    font-style: normal;
    font-size: 11px;
    line-height: 1;
    transition: transform .2s;
}

.pdx-morebtn.open em {
    transform: rotate(180deg);
}


/* ---------- 三层筛选：置灰项（0 款，保留展示体现产品线覆盖） ---------- */
.pdx-chip.dis {
    color: #c3c7cf;
    background: #fafbfc;
    border-color: #f0f1f4;
    cursor: not-allowed;
}
.pdx-chip.dis i { color: #c3c7cf; }
.pdx-chip.dis:hover { border-color: #f0f1f4; color: #c3c7cf; }

/* ---------- 已选路径 ---------- */
.pdx-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px dashed #ececec;
    font-size: 13px;
    color: #4a4a4a;
}
.pdx-crumb > span { color: #b0b4bd; }
.pdx-crumb a { color: #4a4a4a; }
.pdx-crumb a:hover { color: #ee8400; }
.pdx-crumb a.cur { color: #ee8400; font-weight: 600; }
.pdx-crumb em { font-style: normal; color: #cfd3da; }
.pdx-crumb .pdx-reset {
    margin-left: auto;
    height: 26px;
    line-height: 24px;
    padding: 0 12px;
    border: 1px solid #ffd9b0;
    border-radius: 13px;
    color: #ee8400;
    font-size: 12px;
}
.pdx-crumb .pdx-reset:hover { background: #fff8ee; }

/* ---------- 结果条 ---------- */
.pdx-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 28px 0 20px;
}

.pdx-bar-left {
    display: flex;
    align-items: center;
}

.pdx-reset {
    display: inline-block;
    margin-right: 16px;
    padding: 5px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    font-size: 13px;
    color: #8a8a8a;
    transition: all .2s;
}

.pdx-reset:hover {
    color: #ee8400;
    border-color: #ee8400;
}

.pdx-count {
    font-size: 14px;
    color: #777;
}

.pdx-count b {
    margin: 0 4px;
    font-size: 17px;
    color: #ee8400;
}

.pdx-order {
    height: 34px;
    padding: 0 12px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: #4a4a4a;
    outline: none;
    cursor: pointer;
}

/* ---------- 产品网格 ---------- */
.pdx-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.pdx-card {
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    transition: all .25s;
}

.pdx-card:hover {
    border-color: #f3e2cd;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .07);
    transform: translateY(-3px);
}

.pdx-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 16px;
}

.pdx-brand {
    height: 46px;
    padding: 0 20px;
    font-family: 'HarmonyOS_Sans_SC_Medium', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 46px;
    color: #cfcfcf;
}

.pdx-pic {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 196px;
    margin: 0 20px;
    border-radius: 6px;
    background: #fafafa;
    overflow: hidden;
}

.pdx-pic img {
    max-width: 86%;
    max-height: 84%;
    object-fit: contain;
    transition: transform .35s;
}

.pdx-card:hover .pdx-pic img {
    transform: scale(1.05);
}

.pdx-model {
    margin: 16px 20px 0;
    min-height: 46px;
    font-family: 'HarmonyOS_Sans_SC_Medium', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    word-break: break-word;
}

.pdx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 20px 0;
    min-height: 22px;
}

.pdx-tags em {
    font-style: normal;
    font-size: 12px;
    line-height: 20px;
    padding: 0 8px;
    border-radius: 3px;
}

.pdx-vendor {
    background: #f4f4f4;
    color: #6a6a6a;
}

.pdx-cat {
    background: #fff5eb;
    color: #ee8400;
}

.pdx-spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin: 0 20px;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f1f1;
    font-size: 13px;
}

.pdx-tags + .pdx-spec {
    margin-top: 14px;
    border-top: 1px dashed #f1f1f1;
}

.pdx-spec span {
    color: #9a9a9a;
    flex: 0 0 auto;
}

.pdx-spec b {
    max-width: 68%;
    font-weight: 500;
    line-height: 1.45;
    color: #333;
    text-align: right;
    word-break: break-word;
}

.pdx-more {
    display: block;
    margin: auto 20px 0;
    padding-top: 16px;
    font-size: 13px;
    color: #ee8400;
}

.pdx-more em {
    display: inline-block;
    margin-left: 5px;
    font-style: normal;
    transition: transform .2s;
}

.pdx-card:hover .pdx-more em {
    transform: translateX(4px);
}

.pdx-empty {
    padding: 70px 0;
    text-align: center;
    font-size: 15px;
    color: #999;
}

.pdx-empty a {
    margin-left: 6px;
    color: #ee8400;
}

/* ---------- 分页 ---------- */
.pdx-page {
    margin-top: 44px;
}

.pdx-page .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pdx-page .pagination > li {
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    line-height: normal;
    font-size: 14px;
}

.pdx-page .pagination > li > a,
.pdx-page .pagination > li > span {
    display: block;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    line-height: 38px;
    text-align: center;
    color: #555;
    background: #fff;
    transition: all .2s;
}

.pdx-page .pagination > li > a:hover {
    border-color: #ee8400;
    color: #ee8400;
}

.pdx-page .pagination > .active > span,
.pdx-page .pagination > .active > a {
    border-color: #ee8400;
    background: #ee8400;
    color: #fff;
}

.pdx-page .pagination > .disabled > span {
    color: #c8c8c8;
    border-color: #f0f0f0;
    cursor: not-allowed;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1240px) {
    .pdx-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .pdx-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .pdx-bar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .pdx-chip {
        height: 28px;
        padding: 0 10px;
        font-size: 12px;
    }

    .pdx-opts {
        gap: 7px 8px;
    }

    .pdx-morebtn {
        height: 28px;
        font-size: 12px;
    }

    .pdx-row {
        flex-direction: column;
        padding: 11px 0;
    }

    .pdx-label {
        flex: 0 0 auto;
        margin-bottom: 7px;
        line-height: 1.4;
        font-size: 13px;
    }

    .pdx-opts {
        flex: 1 1 auto;
        width: 100%;
    }

    .pdx-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .pdx-grid {
        grid-template-columns: 1fr;
    }

    .pdx-hero {
        padding: 30px 0 20px;
    }

    .pdx-hero h1 {
        font-size: 26px;
    }

    .pdx-hero-sub {
        font-size: 13px;
    }

    .pdx-search input {
        height: 46px;
        font-size: 14px;
    }

    .pdx-search button {
        top: 6px;
        width: 34px;
        height: 34px;
    }

    .pdx-search button::before {
        left: 9px;
        top: 9px;
    }

    .pdx-search button::after {
        left: 21px;
        top: 22px;
    }

    .pdx-filter {
        padding: 4px 16px;
    }

    .pdx-pic {
        height: 170px;
        margin: 0 14px;
    }

    .pdx-model,
    .pdx-tags,
    .pdx-spec,
    .pdx-more {
        margin-left: 14px;
        margin-right: 14px;
    }
}

/* ---------- 产品卡片沿用老站样式 ---------- */
.pdx .nyproboxs *, .pdx .nyproboxs { box-sizing: content-box; }
