/* ======================================
   产品内容页独立样式（无冲突版）
   前缀统一使用 .pro- 避免覆盖系统样式
====================================== */

/* --- 全局安全 Reset（仅轻量） --- */
.pro-main img { max-width: 100%; display: block; }
.pro-main ul { list-style: none; padding: 0; margin: 0; }

/* --- 面包屑 --- */
.breadcumb-area {
    margin-top: 25px;
    margin-bottom: 35px;
}

/* --- 主区域布局 --- */
.pro-main {
    margin-top: 30px;
    margin-bottom: 60px;
}

.pro-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media(max-width: 768px){
    .pro-top { grid-template-columns: 1fr; }
}

/* --- 主图 --- */
.pro-img img {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

/* --- 产品标题/描述 --- */
.pro-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.pro-phone {
    font-size: 20px;
    color: #e40000;
    margin-bottom: 20px;
    font-weight: 600;
}

.pro-phone a { color: #e40000; }

.pro-desc {
    font-size: 17px;
    color: #555;
    line-height: 1.65;
}

/* --- 全屏详情段落 --- */
.pro-detail-full {
    margin-top: 60px;
}

.detail-block {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

@media(max-width: 768px){
    .detail-block { padding: 25px; }
}

/* --- 返回按钮 --- */
.back-btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 8px;
    background: #0072ff;
    color: #fff;
    margin-top: 20px;
}

/* ======================================
   资料下载 Download Section
====================================== */

.download-section {
    margin-top: 40px;
}

.download-title {
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: 700;
    color: #333;
}

.download-tip {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.download-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed #ddd;
}

.download-list li:last-child {
    border-bottom: none;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-icon i {
    color: #007bff;
    font-size: 18px;
}

.file-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.download-list li:hover .file-name {
    color: #ff6600;
}

/* 响应式（移动端允许换行） */
@media(max-width: 768px){
    .download-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-info { margin-bottom: 8px; }

    .file-name { white-space: normal; }
}

/* ======================================
   相关产品推荐
====================================== */
.pro-relate-section {
    background: #f9f9f9;
    padding: 60px 0;
    margin-top: 60px;
}

.relate-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 35px;
    color: #222;
}

.relate-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media(max-width: 992px){
    .relate-list { grid-template-columns: repeat(3,1fr); }
}
@media(max-width: 768px){
    .relate-list { grid-template-columns: repeat(2,1fr); }
}
@media(max-width: 480px){
    .relate-list { grid-template-columns: 1fr; }
}

.relate-item {}

.relate-link { display: block; }

.relate-img {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.relate-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .28s;
}

.relate-link:hover .relate-img img {
    transform: translateY(-6px);
}

.relate-name {
    margin-top: 10px;
    font-size: 15px;
    color: #e64a19;
    text-align: center;
    line-height: 1.4;
    overflow: hidden;
    height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 强制面包屑与主内容区产生视觉间距 */
.breadcumb-area {
    padding-bottom: 25px !important;
}

.pro-main {
    padding-top: 40px !important;
    display: block;
    position: relative;
    z-index: 1;
}


 /* =============== 移动端适配 =============== */
@media (max-width: 768px) {

    /* 1. 整体容器，防 margin 折叠贴顶 */
    .pro-main {
        padding-top: 20px !important;
        margin-top: 0 !important;
        position: relative; 
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 2. 布局从 grid → 单列 */
    .pro-top {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 15px !important;
        box-sizing: border-box;
    }

    /* 3. 图片区域 100% 宽度 + 居中 */
    .pro-img {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    .pro-img img {
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* 4. 右侧文本区域变成单列独立块 */
    .pro-info {
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box;
        margin-top: 10px !important;
    }

    .pro-title {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    /* 5. banner 防止覆盖下面内容 */
    .banner,
    .banner img {
        width: 100%;
        display: block;
        position: relative; /* 关键：避免压住 pro-main */
        z-index: 1;
    }
}

