/* ========================================
   productlist.css — 产品列表页样式（优化版）
   保持 HTML div 结构不变，仅优化视觉样式
   ======================================== */

:root {
    --primary: #1765d8;
    --primary-dark: #0f3d82;
    --primary-light: #eaf3ff;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #6b768d;
    --text-label: #4a5568;
    --border-light: rgba(23, 101, 216, 0.10);
    --shadow-card: 0 4px 24px rgba(17, 73, 135, 0.06);
    --shadow-hover: 0 12px 32px rgba(17, 73, 135, 0.12);
}

/* ========================================
   全局重置（覆盖旧样式）
   ======================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
caption, i, a,
main, header, menu, nav, article, section, aside, footer, video, canvas, textarea {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    list-style: none;
    color: #333;
    font-size: initial;
    font-style: normal;
    line-height: inherit;
    font-weight: normal;
    vertical-align: baseline;
    text-decoration: none;
    background: transparent;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    resize: none;
}

main, header, nav, article, section, aside, footer, video, canvas,
i, img {
    display: block;
}

button, a {
    cursor: pointer;
}

.clear {
    clear: both;
}

body, html {
    min-width: auto;
    background: url(/images/background.jpg), linear-gradient(180deg, #f5f9ff 0%, #eef4fb 100%);
}

input, button {
    outline: none;
}

/* ========================================
   外层容器
   ======================================== */

#cpzs {
    padding: 0 0 20px;
}

/* ========================================
   面包屑导航
   ======================================== */

.cpzs_title {
    margin: 16px 0 !important;
}

.cpzs_title h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: auto;
    padding: 12px 0;
    text-indent: 0;
    line-height: 1.6;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: normal;
    margin: auto;
    background: none;
    background-image: none !important;
    background-size: auto !important;
    background-position: 0 0 !important;
    border-bottom: 1px solid rgba(23, 101, 216, 0.08);
}

.cpzs_title h3 img {
    display: none;
}

.cpzs_title a {
    color: var(--text-gray);
    font-size: 14px;
    transition: color 0.2s ease;
}

.cpzs_title a:hover {
    color: var(--primary);
}

.cpzs_title h3 a:last-of-type {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ========================================
   产品列表容器
   ======================================== */

.cpzs_cont {
    margin-top: 20px;
}

.cpzs_cont ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-left: 0;
}

/* ========================================
   单个产品卡片 — li
   ======================================== */

.cpzs_cont li {
    width: 100%;
    float: none !important;
    display: flex;
    gap: 20px;
    padding: 20px;
    margin: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: visible;
}

.cpzs_cont li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(23, 101, 216, 0.18);
    background: var(--bg-white);
    -webkit-box-shadow: 0 12px 32px rgba(17, 73, 135, 0.12);
    -moz-box-shadow: 0 12px 32px rgba(17, 73, 135, 0.12);
}

/* ========================================
   产品图片 — 左侧
   ======================================== */

.cpzs_li_left {
    position: relative;
    float: none !important;
    flex: 0 0 200px;
    width: 200px;
    background: linear-gradient(160deg, #f8fbff, #eef4ff);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpzs_li_pic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 190px;
    padding: 16px;
}

.cpzs_li_pic img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

/* ========================================
   产品信息 — 右侧
   ======================================== */

.cpzs_li_right {
    float: none !important;
    flex: 1;
    width: auto;
    height: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
}

.cpzs_li_text {
    width: 100%;
    height: auto;
    font-size: 14px;
    flex: 1;
}

/* ========================================
   产品名称行
   ======================================== */

.cpzs_text_title {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    font-weight: bold;
    line-height: 1.6;
    border-bottom: 2px solid rgba(23, 101, 216, 0.10);
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    overflow: visible;
}

.cpzs_text_title img {
    float: none;
    margin-top: 0;
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
}

.cpzs_text_title span {
    font-size: 14px;
    font-weight: 600;
    float: none;
    margin-left: 0;
    color: var(--text-label);
    white-space: nowrap;
}

.cpzs_text_title_span2 {
    display: block;
    float: none;
    flex: 1;
    width: auto;
    max-height: none;
    overflow: visible;
    min-width: 0;
}

.cpzs_text_title a {
    display: block;
    width: 100%;
    height: auto;
    color: var(--text-dark) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.cpzs_text_title a:hover {
    color: var(--primary) !important;
}

/* ========================================
   产品参数行
   ======================================== */

.cpzs_text_div {
    display: flex;
    align-items: baseline;
    line-height: 1.8;
    border-bottom: 1px dashed #eef1f6;
    padding: 6px 0;
}

.cpzs_text_div span {
    display: block;
    font-size: 13px;
}

.cpzs_text_div_span1 {
    width: 72px;
    float: none;
    flex: 0 0 72px;
    color: var(--text-gray);
    font-weight: 500;
    white-space: nowrap;
}

.cpzs_text_div_span2 {
    width: auto;
    float: none;
    flex: 1;
    max-height: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-label);
    font-size: 13px;
    min-width: 0;
}

.cpzs_text_div_span_col {
    color: #0f9d58 !important;
    font-weight: 600;
}

.cpzs_text_div_span_line {
    line-height: 1.6;
    max-height: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========================================
   按钮组
   ======================================== */

.cpzs_li_btn {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    margin-left: 0 !important;
    padding-top: 10px;
    border-top: 1px solid rgba(23, 101, 216, 0.06);
}

.cpzs_li_btn a {
    width: auto;
    flex: 1;
    float: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 10px 20px;
    border-radius: 999px;
    margin: 0 !important;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

/* 点击留言按钮 — 橙色描边 */
.cpzs_li_btn_a1 {
    background: #fff !important;
    border: 1px solid #e8502e !important;
    color: #e8502e !important;
}

.cpzs_li_btn_a1:hover {
    background: #e8502e !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(232, 80, 46, 0.25);
}

/* 点击查看按钮 — 蓝色主按钮 */
.cpzs_li_btn_a2 {
    background: linear-gradient(90deg, #2569f4, #1c4fcf) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(37, 105, 244, 0.2);
}

.cpzs_li_btn_a2:hover {
    background: linear-gradient(90deg, #1848cd, #0f3aa8) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 105, 244, 0.3);
}

/* ========================================
   分页区域
   ======================================== */

.cpzs_yshu {
    width: 100%;
    max-width: 980px;
    margin: 32px auto 20px;
    padding: 20px 0;
    line-height: 2.4;
    font-size: 14px;
    text-align: center;
    color: var(--text-gray);
    border-top: 1px solid rgba(23, 101, 216, 0.08);
}

.cpzs_yshu span {
    margin: 0 5px;
    font-size: 14px;
    color: var(--text-gray);
}

.cpzs_yshu a {
    display: inline-block;
    color: var(--text-label);
    font-size: 14px;
    padding: 4px 14px;
    margin: 0 3px;
    border-radius: 8px;
    border: 1px solid rgba(23, 101, 216, 0.12);
    background: var(--bg-white);
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.8;
}

.cpzs_yshu a:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.cpzs_yshu .cpzs_yshu_hj {
    display: inline-block;
    font-size: 14px;
    color: var(--text-gray);
    margin: 0 12px;
}

.cpzs_yshu .cpzs_yshu_hj b {
    color: var(--primary);
    font-weight: 700;
    padding: 0 3px;
}

.cpzs_yshu_b {
    color: var(--primary) !important;
    font-weight: 700;
    padding: 0 3px;
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 1024px) {
    #cpzs {
        padding: 0 16px 40px;
    }

    .cpzs_cont ul {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cpzs_li_left {
        flex: 0 0 180px;
        width: 180px;
    }

    .cpzs_li_pic {
        height: 170px;
    }
}

@media (max-width: 768px) {
    .cpzs_cont li {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .cpzs_li_left {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }

    .cpzs_li_pic {
        height: 200px;
        padding: 20px;
    }

    .cpzs_li_pic img {
        max-height: 160px;
    }

    .cpzs_text_title {
        flex-wrap: wrap;
    }

    .cpzs_text_div {
        flex-wrap: wrap;
    }

    .cpzs_text_div_span1 {
        width: 64px;
        flex: 0 0 64px;
        font-size: 12px;
    }

    .cpzs_text_div_span2 {
        font-size: 12px;
    }

    .cpzs_li_btn {
        gap: 10px;
    }

    .cpzs_li_btn a {
        padding: 8px 14px;
        font-size: 13px;
    }

    .cpzs_yshu {
        margin: 24px auto 16px;
    }

    .cpzs_yshu a {
        padding: 3px 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cpzs_li_left {
        height: 180px;
    }

    .cpzs_li_pic {
        height: 180px;
    }

    .cpzs_li_btn {
        flex-direction: column;
        gap: 8px;
    }

    .cpzs_li_btn a {
        width: 100%;
        text-align: center;
    }

    .cpzs_yshu {
        font-size: 13px;
    }
}
