/* 注意事项 - 横向卡片布局 */
.product-detail-downlist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}

/* 覆盖原有的纵向样式，改为横向布局 */
.product-detail-downlist .product-detail-item {
    flex-direction: row;
    align-items: center;
    padding: 24px 30px;
    background: #fff;
    gap: 24px;
    border: 1px solid #f0f0f0;
}

.product-detail-downlist .product-detail-item:hover {
    background: #f5f5f5;
    border-bottom: 5px solid #004e8c;
}

.product-detail-downlist .product-detail-item::before {
    display: none;
}

/* 图片样式 */
.product-detail-downlist .product-detail-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.product-detail-downlist .product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 内容区域 */
.product-detail-downlist .product-detail-content {
    flex: 1;
    gap: 12px;
}

.product-detail-downlist .product-detail-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.product-detail-downlist .product-detail-item:hover .product-detail-title {
    color: #004e8c;
}

.product-detail-downlist .product-detail-divider {
    width: 36px;
    height: 2px;
    background: #004e8c;
}

.product-detail-downlist .product-detail-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    /* 超出两行显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 圆形按钮样式 */
.product-detail-downlist .product-detail-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #004e8c;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 0;
    transition: all 0.3s ease;
}

.product-detail-downlist .product-detail-btn i {
    width: 20px;
    height: 20px;
    background: url(../images/new1rh.png) no-repeat center center;
    background-size: contain;
}
.product-detail-downlist .product-detail-item .product-detail-btn{
    opacity: 0;
}
.product-detail-downlist .product-detail-item:hover .product-detail-btn {
    background: #003a73;
    opacity: 1;
    /* transform: scale(1.1); */
    /* box-shadow: 0 4px 12px rgba(0, 78, 140, 0.3); */
}

/* 响应式 - 1024px以下改为单列 */
@media screen and (max-width: 1024px) {
    .product-detail-downlist {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    
    .product-detail-downlist .product-detail-item {
        padding: 20px 24px;
        gap: 20px;
    }
    
    .product-detail-downlist .product-detail-image {
        width: 100px;
        height: 100px;
    }
    
    .product-detail-downlist .product-detail-title {
        font-size: 16px;
    }
    
    .product-detail-downlist .product-detail-desc {
        font-size: 13px;
    }
    
    .product-detail-downlist .product-detail-btn {
        width: 46px;
        height: 46px;
    }
}

/* 移动端 */
@media screen and (max-width: 768px) {
    .product-detail-downlist .product-detail-item {
        padding: 16px 20px;
        gap: 16px;
    }
    
    .product-detail-downlist .product-detail-image {
        width: 80px;
        height: 80px;
    }
    .product-detail-downlist .product-detail-content {
    flex: 1;
    gap: 3px;
}
    .product-detail-downlist .product-detail-title {
        font-size: 15px;
        
    }
    
    .product-detail-downlist .product-detail-desc {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .product-detail-downlist .product-detail-btn {
        width: 40px;
        height: 40px;
        display: none;
    }
    
    .product-detail-downlist .product-detail-btn i {
        width: 16px;
        height: 16px;
    }
}


/* 下载列表容器 */
.downlist-container {
    margin-top: 30px;
    margin-bottom: 60px;
}

/* 产品卡片 */
.downlist-card {
    margin-bottom: 30px;
}

/* 产品展示区 */
.downlist-product {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
    align-items: center;
    align-content: center;
    background: #f8f8f8;
}

/* 产品图片 */
.downlist-product-image {
    flex-shrink: 0;
}

.downlist-product-image img {
    width: 280px;
    height: 280px;
    object-fit: contain;
}

/* 产品信息 */
.downlist-product-info {
    flex: 1;
}

.downlist-product-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin: 0 0 30px 0;
    padding-bottom: 30px;
    border-bottom: 1px solid #004e8c;
}

.downlist-product-meta {
    margin-bottom: 25px;
}

.downlist-meta-label {
    font-size: 16px;
    color: #666;
}

.downlist-product-specs {
    display: flex;
    gap: 30px;
    font-size: 16px;
    color: #666;
}

/* 下载区域 */
.downlist-download-section {
}
.icon-down {
    background: url(../images/down2.png) no-repeat center center;
    background-size: cover; 
    width: 34px;
    height: 34px;
    display: inline-block;
    margin-left: 10px;
}
.icon-down2 {
    background: url(../images/down3.png) no-repeat center center;
    background-size: cover; 
    width: 25px;
    height: 25px;
    display: inline-block;
    margin-right: 3px;
}
/* 下载标题 */
.downlist-download-header {
    display: flex;
    align-items: center;
    padding: 10px 30px;
    background-color: #1E4B93;
    color: #fff;
    width: fit-content;
}

.downlist-download-icon svg {
    display: block;
}

.downlist-download-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.downlist-download-title:hover {
    color: #fff;
}

/* 文件列表 */
.downlist-files {
    display: flex;
    flex-direction: column;
    border: 1px solid #e6e6e6;
    padding:10px 32px;
}

/* 文件项 */
.downlist-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
}

.downlist-file-item:last-child {
    border-bottom: none;
}

.downlist-file-name {
    font-size: 16px;
    color: #333;
}
.downlist-file-name:hover {
    color: #004e8c;
}

/* 下载按钮 */
.downlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 34px;
    border-radius:30px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.downlist-btn svg {
    display: block;
}

/* 主要按钮（蓝色） */
.downlist-btn-primary {
    background-color: #1E4B93;
    color: #fff;
}

.downlist-btn-primary:hover {
    background-color: #163a73;
    color: #fff;
}

/* 次要按钮（灰色） */
.downlist-btn-secondary {
    background-color: #B8B8B8;
    color: #fff;
}

.downlist-btn-secondary:hover {
    background-color: #004e8c;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .downlist-product {
        flex-direction: column;
        gap: 20px;
        padding: 20px 20px 40px 20px;
    }

    .downlist-product-image img {
        width: 250px;
        height: 250px;
    }

    .downlist-product-title {
        font-size: 16px;
        margin: 0 0 12px 0;
        padding-bottom: 12px;
    }

    .downlist-product-specs {
        flex-direction: column;
        gap: 10px;
    }

    .downlist-file-item {
        gap: 15px;
    }

    .downlist-btn {
        justify-content: center;
    }
    .downlist-files {
        display: flex;
        flex-direction: column;
        border: 1px solid #e6e6e6;
        padding:4px 12px;
    }
    .downlist-file-item {
        padding: 6px 0;
    }    
    .downlist-btn {
        gap: 8px;
        padding: 4px 10px;
        border-radius: 30px;
        font-size: 12px;
        width: 110px;
        flex: 0 0 110px;
    }
    .icon-down2 {
        margin-right: 0;
        width: 20px;
        height: 20px;
    }

    .downlist-download-header {
        padding: 4px 20px;
    }

.downlist-product-meta {
    margin-bottom: 15px;
}

    .downlist-file-name {
        font-size: 14px;
        color: #333;
    }
    .product-list-section {
        padding-bottom: 40px;
    }
}
