/* ============================================================
   陕西中恒钛航 — 产品中心列表样式（重写版）
   适用区域：产品中心封面页 / 产品列表页
   配色体系：深空蓝 #0A2540 + 钛橙 #E67E22 + 钛银灰
   编码：UTF-8（防止注释乱码）
   布局：PC端3列卡片，平板2列，手机2列，小屏1列
   ============================================================ */
/* ---------- 页面主容器 ---------- */
.sxzh_main {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
/* ---------- 分类标题栏 ---------- */
.headAndbtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 14px;
    border-bottom: 2px solid #0A2540;
    margin-bottom: 20px;
}
.headAndbtn .cn {
    font-size: 20px;
    font-weight: 600;
    color: #0A2540;
    letter-spacing: 1px;
    position: relative;
    padding-left: 14px;
}
.headAndbtn .cn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #E67E22, #d35400);
    border-radius: 2px;
}
.headAndbtn .more {
    font-size: 13px;
    color: #8B9DC3;
    text-decoration: none;
    padding: 6px 16px;
    border: 1px solid #E6E9EE;
    border-radius: 20px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}
.headAndbtn .more:hover {
    color: #fff;
    background: #E67E22;
    border-color: #E67E22;
}
/* ---------- 产品区块间距 ---------- */
.sxzh_cp_main {
    margin: 10px 0 40px;
}
/* ---------- 产品卡片网格容器 ---------- */
.product_center_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 0;
}
/* ---------- 单个产品卡片 ---------- */
.product_center_list dl {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    border: 1px solid #E6E9EE;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    margin: 0;
    position: relative;
}
.product_center_list dl::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0A2540, #E67E22);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}
/* ==========【修改hover，同步cp‑tab.css卡片效果】========== */
.product_center_list dl:hover {
    border-color: #E67E22;
    box-shadow: 0 10px 28px rgba(230, 126, 34, 0.15);
    transform: translateY(-4px);
}
.product_center_list dl:hover::before {
    opacity: 1;
}
/* ---------- 产品图片区域 ---------- */
.product_center_list dt {
    width: 100%;
    overflow: hidden;
    background: #F0F4F8;
    position: relative;
}
.product_center_list dt img {
    width: 100%;
    display: block;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: saturate(0.92);
}
.product_center_list dl:hover dt img {
    transform: scale(1.06);
    filter: saturate(1.1);
}
/* ---------- 产品信息区域 ---------- */
.product_center_list dd {
    padding: 16px 20px 20px;
    height: auto;
}
.product_center_list dd h4 {
    height: 32px;
    font-weight: 600;
    font-size: 16px;
    color: #0A2540;
    line-height: 32px;
    margin: 0 0 10px;
    overflow: hidden;
}
.product_center_list dd h4 a {
    display: block;
    color: #0A2540;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.product_center_list dl:hover dd h4 a {
    color: #E67E22;
}
/* ---------- 产品描述（摘要） ---------- */
.product_center_list-desc {
    font-size: 13px;
    line-height: 1.8;
    color: #5A6472;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    min-height: 70px;
    max-height: 72px;
    margin: 0;
}
.product_center_list-desc a {
    color: #E67E22;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    margin-left: 4px;
    transition: color 0.3s ease;
}
.product_center_list-desc a:hover {
    color: #d35400;
    text-decoration: underline;
}
/* ---------- 清除浮动 ---------- */
.product_center_list .clear {
    clear: both;
    display: none;
}
/* ============================================================
   响应式适配
   ============================================================ */
/* ---------- 大屏 PC (>1400px) ---------- */
@media screen and (min-width: 1401px) {
    .product_center_list dt img {
        height: 260px;
    }
    .product_center_list-desc {
        -webkit-line-clamp: 3;
        min-height: 70px;
        max-height: 72px;
    }
}
/* ---------- 平板 (769px ~ 1024px)：2列 ---------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .sxzh_main {
        padding: 0 16px;
    }
    .headAndbtn .cn {
        font-size: 19px;
    }
    .product_center_list {
        gap: 16px;
    }
    .product_center_list dl {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    .product_center_list dt img {
        height: 220px;
    }
    .product_center_list dd {
        padding: 14px 16px 18px;
    }
    .product_center_list dd h4 {
        font-size: 15px;
    }
    .product_center_list-desc {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
        min-height: 46px;
        max-height: 48px;
    }
}
/* ---------- 手机 (481px ~ 768px)：2列 ---------- */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .sxzh_main {
        padding: 0 12px;
    }
    .headAndbtn {
        padding: 14px 0 10px;
        margin-bottom: 14px;
    }
    .headAndbtn .cn {
        font-size: 17px;
        letter-spacing: 1px;
        padding-left: 10px;
    }
    .headAndbtn .cn::before {
        height: 18px;
    }
    .headAndbtn .more {
        font-size: 12px;
        padding: 4px 12px;
    }
    .sxzh_cp_main {
        margin: 6px 0 28px;
    }
    .product_center_list {
        gap: 12px;
    }
    .product_center_list dl {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
        border-radius: 8px;
    }
    .product_center_list dt img {
        height: 180px;
    }
    .product_center_list dd {
        padding: 10px 12px 14px;
    }
    .product_center_list dd h4 {
        font-size: 14px;
        height: 28px;
        line-height: 28px;
        margin-bottom: 6px;
    }
    .product_center_list-desc {
        font-size: 11.5px;
        line-height: 1.6;
        -webkit-line-clamp: 2;
        min-height: 38px;
        max-height: 40px;
    }
}
/* ---------- 小屏手机 (≤480px)：1列 ---------- */
@media screen and (max-width: 480px) {
    .sxzh_main {
        padding: 0 10px;
    }
    .headAndbtn {
        padding: 12px 0 8px;
        margin-bottom: 12px;
    }
    .headAndbtn .cn {
        font-size: 16px;
        letter-spacing: 1px;
        padding-left: 10px;
    }
    .headAndbtn .cn::before {
        height: 16px;
        width: 3px;
    }
    .headAndbtn .more {
        font-size: 11px;
        padding: 3px 10px;
    }
    .sxzh_cp_main {
        margin: 4px 0 24px;
    }
    .product_center_list {
        gap: 12px;
    }
    .product_center_list dl {
        flex: 0 0 100%;
        max-width: 100%;
        border-radius: 8px;
    }
    .product_center_list dt img {
        height: auto;
        max-height: 220px;
    }
    .product_center_list dd {
        padding: 12px 14px 16px;
    }
    .product_center_list dd h4 {
        font-size: 15px;
        height: 30px;
        line-height: 30px;
        margin-bottom: 8px;
    }
    .product_center_list-desc {
        font-size: 12px;
        line-height: 1.7;
        -webkit-line-clamp: 2;
        min-height: 42px;
        max-height: 44px;
    }
}
/* ---------- 超小屏 (≤375px) ---------- */
@media screen and (max-width: 375px) {
    .headAndbtn .cn {
        font-size: 15px;
    }
    .product_center_list dd h4 {
        font-size: 14px;
    }
    .product_center_list-desc {
        font-size: 11.5px;
    }
}

/* ============================================================
   【本次追加】产品中心列表样式 · 增强补丁
   1. 触屏设备 hover 不粘滞（手机点过卡片后不再残留橙色高亮）
   2. 补充超小屏 / 横屏断点
   3. 卡片改为等高，避免标题长短不一导致错位
   4. 补 figure 图注
   编码：UTF-8
   ============================================================ */

/* ---------- 触屏设备：禁用 hover 粘滞 ---------- */
@media (hover: none) and (pointer: coarse) {
    .product_center_list dl:hover {
        transform: none;
        box-shadow: none;
        border-color: #E6E9EE;
    }
    .product_center_list dl:hover::before {
        opacity: 0;
    }
    .product_center_list dl:hover dt img {
        transform: none;
        filter: saturate(0.92);
    }
    .product_center_list dl:hover dd h4 a {
        color: #0A2540;
    }
}

/* ---------- 卡片等高（标题/摘要长度不一时不错位） ---------- */
.product_center_list dl {
    display: flex;
    flex-direction: column;
}
.product_center_list dd {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product_center_list-desc {
    flex: 1;
}

/* ---------- 图注 ---------- */
.product_center_list figure {
    margin: 0;
}
.product_center_list figcaption {
    font-size: 12px;
    color: #8B9DC3;
    text-align: center;
    margin-top: 6px;
}

/* ---------- 超小屏补充（≤375px 已存在，此处补 ≤360 与横屏） ---------- */
@media screen and (max-width: 360px) {
    .product_center_list {
        gap: 10px;
    }
    .product_center_list dt img {
        height: 160px;
    }
    .product_center_list dd {
        padding: 10px 12px 14px;
    }
    .product_center_list-desc {
        font-size: 11px;
        min-height: 36px;
        max-height: 38px;
    }
    .headAndbtn .cn {
        font-size: 14px;
    }
    .headAndbtn .more {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* ---------- 手机横屏（≤520px 高）：列表 2 列，图片压扁省纵向空间 ---------- */
@media screen and (orientation: landscape) and (max-height: 520px) {
    .sxzh_cp_main {
        margin: 4px 0 20px;
    }
    .product_center_list {
        gap: 10px;
    }
    .product_center_list dl {
        flex: 0 0 calc(50% - 5px);
        max-width: calc(50% - 5px);
    }
    .product_center_list dt img {
        height: 130px;
    }
    .product_center_list dd {
        padding: 8px 10px 12px;
    }
    .product_center_list dd h4 {
        font-size: 13px;
        height: 24px;
        line-height: 24px;
        margin-bottom: 4px;
    }
    .product_center_list-desc {
        font-size: 11px;
        -webkit-line-clamp: 2;
        min-height: 34px;
        max-height: 36px;
    }
}

/* ---------- 打印：相关产品卡片只留文字 ---------- */
@media print {
    .product_center_list dt img {
        height: auto;
        max-height: 120px;
    }
    .product_center_list dl {
        border: 1px solid #999 !important;
        page-break-inside: avoid;
    }
    .product_center_list dd h4 a {
        color: #000 !important;
    }
}
