/* =====================================================================
   pro-detail.css — 产品详情页 & 产品中心(/chanpin)总览(重设计)
   设计语言对齐 xinrui-extra: 主色 #4b75fd / 深色 #0b1a33
   ===================================================================== */

/* ---------- 产品详情: 头部面板(主图 + 信息) ---------- */
.pro-head {
    display: -webkit-flex;
    display: flex;
    gap: 1.8rem;
    -webkit-align-items: stretch;
    align-items: stretch;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 0.8rem;
    box-shadow: 0 6px 18px rgba(11, 26, 51, 0.05);
}
.pro-page .pro-pics, .sol-page .pro-pics, .case-page .pro-pics {
    -webkit-flex: 0 0 50%;
    flex: 0 0 50%;
    min-width: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.pro-main {
    -webkit-flex: none;
    flex: none;
    height: 25rem;
    background: linear-gradient(180deg, #fbfcfe, #f2f5fa);
    border: 1px solid #eef1f6;
    border-radius: 0.6rem;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    overflow: hidden;
}
.pro-main img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    display: block;
    border-radius: 0.4rem;
    cursor: zoom-in;
}
.pro-page .pro-main img {
    cursor: default;
}
.pro-nopic {
    padding: 3rem 1rem;
    text-align: center;
    color: #98a3b0;
    font-size: 0.78rem;
    line-height: 1.8;
}
.pro-nopic span { font-size: 0.62rem; }
.pro-thumbs {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}
.pro-thumb {
    width: 4.2rem;
    height: 4.2rem;
    padding: 0.25rem;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.pro-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0.25rem;
}
.pro-thumb:hover,
.pro-thumb.active {
    border-color: #4b75fd;
    box-shadow: 0 4px 10px rgba(75, 117, 253, 0.18);
}

/* 右侧信息 */
.pro-page .pro-info, .sol-page .pro-info, .case-page .pro-info {
    -webkit-flex: 1;
    flex: 1;
    min-width: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 0.5rem 0.2rem 0.4rem 0.2rem;
}
.pro-page .pro-line, .sol-page .pro-line, .case-page .pro-line {
    -webkit-align-self: flex-start;
    align-self: flex-start;
    display: inline-block;
    padding: 0.18rem 0.75rem;
    border-radius: 999px;
    background: rgba(75, 117, 253, 0.08);
    border: 1px solid rgba(75, 117, 253, 0.28);
    color: #4b75fd;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.pro-page .pro-info h1, .sol-page .pro-info h1, .case-page .pro-info h1 {
    margin: 1.15rem 0 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b1a33;
    line-height: 1.6;
}
.pro-page .pro-desc, .sol-page .pro-desc, .case-page .pro-desc {
    margin: 1.15rem 0 0;
    font-size: 0.8rem;
    line-height: 2.05;
    color: #435062;
    text-align: justify;
}
.pro-desc-divider {
    margin-top: 1.35rem;
    border-top: 1px dashed #dbe4f5;
}
.pro-actions {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.45rem;
    flex-wrap: wrap;
}
.pro-tel,
.pro-ask {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.66rem 1.3rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pro-tel {
    background: linear-gradient(135deg, #3d63e8, #6f96ff);
    color: #fff !important;
}
.pro-ask {
    background: #fff;
    border: 1px solid rgba(75, 117, 253, 0.4);
    color: #4b75fd !important;
}
.pro-tel:hover,
.pro-ask:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(75, 117, 253, 0.25);
}
/* 信息区底部留白弹性撑开, 使两栏视觉等高 */
.pro-info .pro-actions {
    margin-top: auto;
    padding-top: 1.3rem;
}

/* ---------- 产品内容(介绍/特点/规格) ---------- */
.pro-content {
    margin-top: 2rem;
}
.pro-content h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0b1a33;
    letter-spacing: 1px;
    padding-left: 0.7rem;
    border-left: 4px solid #4b75fd;
    margin: 2rem 0 0.9rem;
}
.pro-content h3:first-child {
    margin-top: 0.4rem;
}
.pro-content p {
    margin: 0 0 0.8rem;
    font-size: 0.74rem;
    line-height: 1.95;
    color: #435062;
    text-align: justify;
}
/* 特点列表: 主题蓝圆点 */
.pro-content .pro-feats {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pro-content .pro-feats li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    line-height: 1.8;
    color: #435062;
}
.pro-content .pro-feats li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4b75fd, #1bf7ff);
}
/* 规格表: 左侧字段列 */
.pro-spec-wrap {
    overflow-x: auto;
    border-radius: 0.5rem;
}
.pro-content .pro-spec {
    width: 100%;
    min-width: 30rem;
    border-collapse: collapse;
    margin: 0.4rem 0 0;
    font-size: 0.7rem;
    background: #fff;
    border: 1px solid #e8ecf2;
}
.pro-content .pro-spec th,
.pro-content .pro-spec td {
    padding: 0.62rem 0.9rem;
    border: 1px solid #e8ecf2;
    line-height: 1.7;
    vertical-align: top;
    text-align: left;
}
.pro-content .pro-spec th {
    width: 9.5rem;
    background: #f4f6f9;
    color: #0b1a33;
    font-weight: 600;
    white-space: nowrap;
}
.pro-content .pro-spec tr:nth-child(even) td {
    background: #fbfcfe;
}

/* ---------- 同类产品 / 咨询条 ---------- */
.pro-related {
    margin-top: 2.6rem;
}
.pro-related .grid-list {
    margin-top: 1.2rem;
}
.pro-grid-nopic,
.grid-list .grid-nopic {
    height: 11rem;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: #f4f6f9;
    color: #98a3b0;
    font-size: 0.7rem;
}
.pro-cta {
    margin-top: 2.4rem;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.6rem 1.7rem;
    border-radius: 0.8rem;
    background: linear-gradient(120deg, #16295c, #1a4fc4 55%, #2e6fe8);
    box-shadow: 0 12px 30px rgba(20, 60, 150, 0.22);
}
.pro-cta .zh {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
}
.pro-cta .en {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
}
.pro-cta .cta-tel {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    background: #fff;
    color: #1a4fc4 !important;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pro-cta .cta-tel:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* =====================================================================
   产品中心 /chanpin 总览 — 四大产品线分组
   ===================================================================== */
.cp-lead {
    margin-top: 1.2rem;
    background: #f4f6f9;
    border-radius: 0.6rem;
    padding: 1.15rem 1.4rem;
    font-size: 0.72rem;
    line-height: 1.9;
    color: #435062;
    text-align: justify;
}
.cp-line {
    margin-top: 2.4rem;
}
.cp-line-head {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: baseline;
    align-items: baseline;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.cp-line-head .xtyq-h2 {
    margin: 0;
}
.cp-line-head .cp-count {
    font-size: 0.64rem;
    color: #98a3b0;
}
.cp-line-desc {
    margin: 0.6rem 0 0;
    font-size: 0.7rem;
    line-height: 1.8;
    color: #5a6a85;
}
.cp-line .grid-list {
    margin-top: 1.1rem;
}

/* ---------- 产品卡片图片: 白底留白 + 比例完整展示(不裁切撑满) ---------- */
.pro-list .grid-pic {
    padding: 0.6rem;
    background: #f8fafd;
    border-bottom: 1px solid #eef1f6;
}
.pro-list .grid-pic img {
    object-fit: contain;
}
.grid-list .grid-nopic {
    height: 11rem;
}
@media screen and (max-width: 768px) {
    .pro-list .grid-pic {
        padding: 0.4rem;
    }
}
@media screen and (max-width: 480px) {
    .pro-list .grid-pic {
        height: 10rem;
    }
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 992px) {
    .pro-head {
        flex-direction: column;
    }
    .pro-page .pro-pics, .sol-page .pro-pics, .case-page .pro-pics {
        -webkit-flex: 0 0 100%;
        flex: 0 0 100%;
        width: 100%;
    }
    .pro-main {
        height: 21rem;
    }
}
@media screen and (max-width: 768px) {
    .pro-head {
        gap: 1.2rem;
        padding: 0.9rem;
    }
    .pro-main {
        height: 18rem;
    }
    .pro-page .pro-info h1, .sol-page .pro-info h1, .case-page .pro-info h1 {
        font-size: 1.15rem;
    }
    .pro-page .pro-desc, .sol-page .pro-desc, .case-page .pro-desc {
        font-size: 0.72rem;
    }
    .pro-thumb {
        width: 3.6rem;
        height: 3.6rem;
    }
    .pro-actions {
        gap: 0.55rem;
    }
    .pro-tel,
    .pro-ask {
        -webkit-flex: 1;
        flex: 1;
        -webkit-justify-content: center;
        justify-content: center;
        text-align: center;
    }
    .pro-cta {
        flex-direction: column;
        text-align: center;
    }
    .pro-cta .cta-tel {
        font-size: 0.95rem;
    }
    .cp-line-desc {
        font-size: 0.68rem;
    }
}