/* 产品中心整体容器 */
.product-container {
    width: 1350px;
    margin: 0 auto;
    padding: 20px 0;
}
  
/* Banner 区域样式 - 背景图固定宽度 1920px，突破容器限制 */
.product-banner {
    width: 1920px;
    height: 320px;
    background: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/c14178fab89f49bea88f623daf87bea3_mergeImage.png) center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.product-banner-content {
    width: 1350px;
    max-width: 1350px;
    margin: 0 auto;
    padding-left: 239px;
    box-sizing: border-box;
}

.product-title {
    font-size: 36px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
}
.product-en-title {
    font-size: 28px;
    color: #fff;
    font-weight: 500;
}

/* 产品分类模块 */
.product-category-list {
    display: flex;
    justify-content: center; /* 整体居中 */
    margin-bottom: 50px;
    padding: 0 30px; /* 左右预留空白 */
    gap: 30px; /* 按钮之间添加30px间距 */
}

.category-item {
    width: 32%;
    height: 150px;
    border: 3px solid #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #f5f5f5;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    position: relative;
    box-sizing: border-box;
    justify-content: center;
}

/* 关键修复：创建内部容器确保图标和文字整体居中 */
.category-item-inner {
    display: flex;
    align-items: center;
    /* 使用固定宽度避免文字容器过度拉伸 */
    width: 180px;
    justify-content: center;
}

.category-item img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    flex-shrink: 0;
}

.category-text {
    flex: none;
    max-width: 150px;
}

.category-name {
    font-size: 20px;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-desc {
    font-size: 16px;
    color: #999;
    margin-top: 8px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 编号样式：20%透明度，右下角定位 */
.category-num {
    font-size: 40px;
    color: #666;
    font-weight: 500;
    opacity: 0.2;
    position: absolute;
    bottom: 12px;
    right: 12px;
}

/* 产品分类项悬停状态 */
.category-item:hover {
    border-color: #0066cc;
    background-color: #e6f2ff; /* 改为淡蓝色背景 */
}

.category-item:hover .category-name,
.category-item:hover .category-desc,
.category-item:hover .category-num {
    color: #0066cc;
}

/* 产品分类项激活状态 */
.category-item.active {
    border-color: #0066cc;
    background-color: #e6f2ff;
}

.category-item.active .category-name,
.category-item.active .category-desc,
.category-item.active .category-num {
    color: #0066cc;
}


/* 产品系列通用样式 - 核心：六边形边框+蓝色文字+精准对齐 */
.product-series {
    margin: 50px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}
.series-title {
    font-size: 30px;
    color: #000;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}
.series-desc {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}
.series-content {
    display: flex;
    gap: 30px;
    align-items: flex-start; /* 顶部对齐 */
}

/* 六边形特性框容器 - 统一间距 */
.series-features {
    width: 120px;
    display: flex;
    flex-direction: column;
    gap: 75px; /* 三个特性项间距 */
    align-items: center;
}
/* 四个特性项的系列（至畅/至昂/撬装）单独调整间距 */
.series-features.four-items {
    gap: 40px;
}

/* 六边形内文字 */
.hex-text-top, .hex-text-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #0b60aa;         /* 文字颜色与 many.png 背景图颜色一致 */
    font-size: 18px;
    font-weight: bold;
    z-index: 2;
    text-align: center;
    white-space: nowrap;
}

.hex-text-top {
    top: 28%; /* 上文字位置 - 调整至垂直居中偏上 */
}

.hex-text-bottom {
    bottom: 28%; /* 下文字位置 - 调整至垂直居中偏下 */
}

/* 适配精准文字样式 - 保留但不再使用 */
.text_jingzhun {
    display: none; /* 隐藏，使用新的 split 文字方案 */
}

/* 产品系列文字内容 - 精准对齐 */
.series-text {
    flex: 1;
    font-size: 16px;
    color: #333;
    line-height: 24px;
    display: flex;
    flex-direction: column;
    gap: 85px; /* 三个特性项对应文字间距 */
}
/* 四个特性项的文字间距 */
.series-text.four-items {
    gap: 45px;
}
.series-text p {
    margin: 0; /* 清除默认间距 */
}

/* 你提到的文本样式 - 完整保留 */
.text_16 {
  width: 333px;
  height: 72px;
  overflow-wrap: break-word;
  color: rgba(0, 0, 0, 0.85);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: left;
  line-height: 24px;
}

/* 产品系列图片样式 */
.series-img {
    width: 262px;
    height: 534px;
    object-fit: cover;
}

/* 通用文本样式补充（兼容设计图） */
.text_common {
    overflow-wrap: break-word;
    color: rgba(0, 0, 0, 0.85);
    font-size: 16px;
    font-family: PingFangSC-Regular;
    font-weight: normal;
    text-align: left;
    line-height: 24px;
}

.product-content {
    margin-top: 20px;
}

.hidden {
    display: none;
}

/* 介绍段落样式 */
.series-description {
    text-align: center; /* 文字居中 */
    margin: 0 auto;     /* 容器居中 */
    max-width: 800px;   /* 设置最大宽度 */
    padding: 0 20px;    /* 左右留出一些空间 */
}

.series-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* 添加介绍段落和功能特点模块之间的间距 */
.description-spacing {
    height: 30px; /* 设置间距高度 */
}

/* ========== 核心：功能模块整体样式 ========== */
.features-section {
    width: 100%;
    max-width: 1350px; /* 页面宽度 1350 */
    height: 500px;     /* 模块高度调整为 500 */
    margin: 0 auto;    /* 整体居中 */
    padding: 0 20px;
    box-sizing: border-box;
}

.features-container {
    width: 100%;
    height: 100%;
    display: flex;          /* 左右布局 */
    align-items: center;    /* 垂直居中 */
    justify-content: space-between;
    gap: 40px;              /* 左右区间距 */
}

/* ========== 左侧功能点区域 ========== */
.features-left {
    flex: 1; /* 占一半宽度 */
    display: flex;
    align-items: center;    /* 子元素横向居中（修复 text-align 无效问题） */
    flex-direction: column;
    gap: 60px; /* 三个功能点垂直间距 */
}

/* 单个功能项（图标+文字） */
.feature-item {
    display: flex;          /* 图标和文字横向排列 */
    align-items: center;    /* 垂直居中 */
    gap: 30px;              /* 图标与文字间距调整为30px */
    height: auto;           /* 取消固定高度限制 */
    margin: 0 auto;         /* 水平居中对齐 */
    max-width: 700px;       /* 限制最大宽度 */
}

/* ========== 六边形图标样式（核心修复） ========== */
.feature-hexagon {
    width: 87px;            /* 六边形宽度（短边） */
    height: 100px;          /* 六边形高度（长边） */
    position: relative;
    flex-shrink: 0;         /* 防止压缩 */
    background: url('../images/many.png') no-repeat center center; /* 使用背景图片 */
    background-size: contain; /* 背景图片适应容器 */
}


/* 适配精准文字样式 */
.text_jingzhun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #007bff;        
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;      /* 行高 */
    z-index: 2;             /* 确保在背景之上 */
    text-align: center;     /* 文字居中 */
    width: 100%;            /* 占满容器宽度 */
}

/* ========== 功能点文字样式 ========== */
.feature-text {
    margin-left: 0;         /* 取消多余间距，用feature-item的gap控制 */
    max-width: 500px;       /* 合理控制文字宽度，避免过长 */    
}

.feature-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* ========== 右侧产品图片区域 ========== */
.features-right {
    flex: 1; /* 占一半宽度 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px; /* 图片最大宽度 */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 500px; /* 容器高度 600px 的 90% */
}

.product-image {
    width: auto;
    height: 90%; /* 占据容器高度的 90% */
    max-height: 500px; /* 最大高度不超过 540px */
    display: block;
    object-fit: contain;
}

/* 图片底部渐变横幅 */
.image-banner {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    padding: 15px 0;
    background: linear-gradient(to right, #6abcff, #0066cc);
    text-align: center;
}

.banner-text {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

/* ========== 兼容你原有其他样式 ========== */
.series-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.series-features.four-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.series-text.four-items p {
    margin: 0 0 15px 0;
}

/* ========== 移动端适配样式 ========== */

/* 平板和手机端（768px 以下） */
@media screen and (max-width: 768px) {
    /* 产品中心整体容器 */
    .product-container {
        width: 100%;
        max-width: 100%;
        padding: 15px 10px;
        box-sizing: border-box;
    }
    
    /* Banner 区域适配 */
    .product-banner {
        height: auto;
        min-height: 200px;
        padding: 40px 20px;
        margin-bottom: 30px;
        background-position: center 30%;
    }
    
    .product-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .product-en-title {
        font-size: 18px;
    }
    
    /* 产品分类模块 - 改为单列布局 */
    .product-category-list {
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .category-item {
        width: 100%;
        height: 100px;
        border-width: 2px;
        padding: 0 15px;
    }
    
    .category-item-inner {
        width: 100%;
        justify-content: flex-start;
    }
    
    .category-item img {
        width: 60px;
        height: 60px;
        margin-right: 12px;
    }
    
    .category-name {
        font-size: 18px;
    }
    
    .category-desc {
        font-size: 14px;
    }
    
    .category-num {
        font-size: 30px;
        bottom: 8px;
        right: 8px;
    }
    
    /* 系列介绍段落 */
    .series-description {
        max-width: 100%;
        padding: 0 15px;
        margin-bottom: 20px;
    }
    
    .series-description p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 功能特点模块适配 */
    .features-section {
        height: auto;
        padding: 20px 15px;
        max-width: 100%;
    }
    
    .features-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .features-left {
        width: 100%;
        gap: 30px;
    }
    
    .feature-item {
        flex-direction: row;
        max-width: 100%;
        gap: 15px;
        width: 100%;
    }
    
    .feature-hexagon {
        width: 60px;
        height: 70px;
        flex-shrink: 0;
    }
    
    .hex-text-top, .hex-text-bottom {
        font-size: 14px;
    }
    
    .hex-text-top {
        top: 30%;
    }
    
    .hex-text-bottom {
        bottom: 30%;
    }
    
    .feature-text {
        flex: 1;
        max-width: calc(100% - 75px);
    }
    
    .feature-text p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 右侧产品图片 */
    .features-right {
        width: 100%;
    }
    
    .product-image-wrapper {
        max-width: 100%;
        height: auto;
        max-height: 400px;
    }
    
    .product-image {
        height: auto;
        max-height: 350px;
        width: 100%;
    }
    
    .image-banner {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        max-width: 100%;
        padding: 10px 0;
        margin-top: 10px;
    }
    
    .banner-text {
        font-size: 16px;
    }
    
    /* 分隔线样式调整 */
    .box_9 {
        padding: 0 15px !important;
        margin: 15px 0 !important;
    }
    
    .line-left, .line-right {
        flex: 0 0 60px;
        margin: 0 10px;
    }
    
    .text_10 {
        font-size: 20px !important;
    }
    
    /* 通栏背景适配 */
    .full-bg-blue {
        width: 100% !important;
        margin: 0 !important;
        padding: 30px 0 !important;
        box-sizing: border-box;
    }
    
    /* 空状态提示适配 */
    .empty-state {
        padding: 40px 20px !important;
    }
    
    .empty-state img {
        max-width: 150px !important;
    }
    
    .empty-state p {
        font-size: 14px !important;
    }
}

/* 小屏手机（480px 以下）进一步优化 */
@media screen and (max-width: 480px) {
    /* Banner 区域进一步调整 */
    .product-banner {
        padding: 30px 15px;
        min-height: 160px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-en-title {
        font-size: 16px;
    }
    
    /* 分类按钮进一步缩小 */
    .category-item {
        height: 90px;
        padding: 0 12px;
    }
    
    .category-item img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }
    
    .category-name {
        font-size: 16px;
    }
    
    .category-desc {
        font-size: 13px;
    }
    
    /* 六边形图标缩小 */
    .feature-hexagon {
        width: 50px;
        height: 60px;
    }
    
    .hex-text-top, .hex-text-bottom {
        font-size: 12px;
    }
    
    .hex-text-top {
        top: 28%;
    }
    
    .hex-text-bottom {
        bottom: 28%;
    }
    
    /* 文字进一步调整 */
    .feature-text p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .series-description p {
        font-size: 13px;
    }
    
    /* 标题字号调整 */
    .text_10 {
        font-size: 18px !important;
    }
    
    /* 产品图片进一步缩小 */
    .product-image-wrapper {
        max-height: 300px;
    }
    
    .product-image {
        max-height: 260px;
    }
    
    .banner-text {
        font-size: 14px;
    }
}
