/* =========================================
   产品页专属样式 (还原设计图)
   ========================================= */

/* 页面主容器 */
.ChanpinMainCon {
    width: 100%;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* --- 产品板块容器 (原 product-section 改为 product-content) --- */
.product-content {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center;
    margin-bottom: 120px; /* 板块间距 */
    position: relative;
    min-height: 500px;
}

/* 偶数项：反转布局 (图左文右) */
.product-section:nth-child(even)  .product-content{
    flex-direction: row-reverse;
}

/* --- 左侧：蓝色文字卡片 --- */
.product-text-box {
    width: 40%; /* 宽度占比 */
    min-width: 450px; /* 最小宽度 */
    background-color: #003B8E; /* 截图中的深蓝色 */
    color: #fff;
    padding: 60px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 600px;
    /* 关键：层级高于图片，且相对定位 */
    position: relative;
    z-index: 10; 
    box-shadow: 0 10px 30px rgba(0, 59, 142, 0.3); /* 蓝色投影 */
}

/* 标题 */
.product-title {
    font-family: "Alibaba PuHuiTi 3.0", "Microsoft YaHei", sans-serif;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-icon {
    font-size: 28px;
    opacity: 0.8;
}

/* 装饰线 (带圆点) */
.title-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    margin-bottom: 30px;
}

.title-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: -2px;
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
}

/* 描述文本 */
.product-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    opacity: 0.95;
}

/* 列表内容 (具体包括...) */
.product-list {
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 2;
    opacity: 0.9;
}
.product-list p {
    margin: 0;
}

/* 按钮样式 */
.btn-more {
    display: inline-block;
    width: fit-content;
    padding: 10px 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.btn-more:hover {
    background: #fff;
    color: #003B8E;
    border-color: #fff;
}

/* 底部箭头装饰 (>>>>>>) */
.arrow-decoration {
    background: url('../images/home/jiantou.png') no-repeat;
    background-size: 100% 100%;
    height: 36px;
    width: 183px;
    /* 不准压缩宽高 */
    min-width: 183px;
    min-height: 36px;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: visible;
    transform: none !important;
    transition: none !important;
}

/* --- 右侧：图片区域 --- */
.product-img-box {
    width: 65%; /* 图片更宽 */
    /* 关键：负边距实现重叠，向左偏移钻到文字下方 */
    margin-left: -80px; 
    position: relative;
    z-index: 1; /* 层级低于文字 */
    max-height: 400px;
}

/* 偶数项图片位置修正 */
.product-section:nth-child(even) .product-img-box {
    margin-left: 0;
    margin-right: -80px; /* 反向重叠 */
}

/* 图片外框 (白边效果) */
.img-frame {
    background: #92bdff;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: 100%;
    height: auto;
    box-sizing: border-box;
    /* 保持图片比例 */
    aspect-ratio: 16/9; 
}

.img-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 顶部大标题 */
.page-main-title {
    text-align: center;
    margin: 60px 0 80px 0;
}
.page-main-title h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.page-main-title .line {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #003B8E, #E60012);
    margin: 0 auto;
}

/* =========================================
   响应式适配 (手机端)
   ========================================= */
@media screen and (max-width: 1000px) {
    .ChanpinMainCon {
        padding: 0 20px;
        margin: 30px auto;
    }

    /* 手机端改为垂直排列，图片在上，文字在下 (或者反过来，取决于需求) */
    /* 这里设置为：文字在下，图片在上，因为图片通常是视觉重心 */
    .product-content,
    .product-content:nth-child(even) {
        flex-direction: column-reverse; 
        margin-bottom: 30px;
        height: auto;
    }

    /* 文字卡片适配 */
    .product-text-box {
        width: 100%;
        min-width: auto;
        margin-top: -40px; /* 向上盖住一部分图片 */
        padding: 40px 25px;
    }

    /* 图片区域适配 */
    .product-img-box, 
    .product-content:nth-child(even) .product-img-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .img-frame {
        aspect-ratio: auto;
        height: 300px;
    }
    .product-title{
        font-size: 26px;
    }
}