﻿
/* product-detail.css - 产品详情页专用样式 */

/* 基础重置 */
.lzkj-product-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
}

.lzkj-product-container {
    background-color: #f5f7fa;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* 主布局 */
.lzkj-product-container {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    gap: 25px;
}

/* 左侧导航栏 (25%宽度) */
.lzkj-sidebar {
    width: 22%;
    min-width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.lzkj-nav-header {
    border-bottom: 2px solid #555;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.lzkj-nav-title {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.lzkj-nav-subtitle {
    color: #666;
    font-size: 15px;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* 批量操作按钮 */
.lzkj-bulk-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.lzkj-bulk-btn {
    flex: 1;
    padding: 8px 12px;
    background: #f5f7fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    text-align: center;
    transition: all 0.3s ease;
}

.lzkj-bulk-btn:hover {
    background: #e8f4fd;
    border-color: #2196f3;
    color: #2196f3;
    transform: translateY(-2px);
}

/* 导航组折叠功能 */
.lzkj-nav-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.lzkj-nav-group-header:hover {
    background: #e8f4fd;
    border-color: #fd6802;
    transform: translateX(3px);
}

.lzkj-group-title {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.lzkj-group-toggle {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.lzkj-nav-group-header:hover .lzkj-group-toggle {
    border-color: #fd6802;
    color: #fd6802;
}

.lzkj-nav-submenu {
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    padding-left: 16px;
}

.lzkj-submenu-expanded {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 15px;
}

/* 导航组折叠时的图标旋转 */
.lzkj-nav-group-header[aria-expanded="true"] .lzkj-group-toggle {
    transform: rotate(180deg);
}

/* 产品导航菜单 */
.lzkj-product-nav {
    margin-bottom: 30px;
}

.lzkj-nav-group {
    margin-bottom: 25px;
}

.lzkj-nav-item {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    color: #555;
    text-decoration: none;
    border-left: 3px solid #e0e0e0;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border-radius: 0 6px 6px 0;
}

.lzkj-nav-item:hover {
    background: #f0f7ff;
    border-left-color: #2196f3;
    color: #1a3a8f;
    transform: translateX(5px);
}

.lzkj-nav-item-active {
    background: linear-gradient(135deg, #1a3a8f 0%, #2c5cc5 100%);
    color: white !important;
    border-left-color: #fd6802;
    box-shadow: 0 4px 12px rgba(26, 58, 143, 0.2);
}

.lzkj-nav-item-active:hover {
    background: linear-gradient(135deg, #2c5cc5 0%, #1a3a8f 100%);
}

.lzkj-item-text {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.lzkj-item-desc {
    font-size: 12px;
    color: #888;
    opacity: 0.8;
}

.lzkj-nav-item-active .lzkj-item-desc {
    color: rgba(255, 255, 255, 0.9) !important;
}



/* 右侧内容区 (75%宽度) */
.lzkj-main-content {
    width: 75%;
    min-width: 0;
}

/* 通用的内容区块样式 */
.lzkj-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.lzkj-section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eaeaea;
    font-weight: 600;
}

.lzkj-section-subtitle {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

/* 产品展示区 - 左右结构 */
.lzkj-product-hero {
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

.lzkj-hero-image {
    flex: 1;
    min-width: 0;
}

/* 产品图片容器（已移除放大功能） */
.lzkj-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #e0e0e0;
    background: white;
    transition: transform 0.3s ease;
}

.lzkj-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.lzkj-main-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: contain;
}

/* 产品核心介绍 */
.lzkj-hero-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.lzkj-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.lzkj-product-model {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.lzkj-product-tag {
    padding: 6px 15px;
    background: #e8f4fd;
    color: #333;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* 产品特性列表 */
.lzkj-product-description h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px dashed #ddd;
}

.lzkj-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lzkj-feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: #444;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.lzkj-feature-list li:last-child {
    border-bottom: none;
}

.lzkj-feature-list li:before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    font-size: 16px;
    position: absolute;
    left: 12px;
    top: 12px;
    background: #e8f5e9;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 产品概述 */
.lzkj-overview-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.lzkj-overview-content p {
    margin-bottom: 15px;
}

.lzkj-application-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.lzkj-app-tag {
    padding: 8px 18px;
    background: #e8f4fd;
    color: #fd6802;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #bbdefb;
    transition: all 0.2s ease;
}

.lzkj-app-tag:hover {
    background: #fd6802;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.2);
}

/* 产品系列选项卡 */
.lzkj-series-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.lzkj-series-tab {
    padding: 12px 24px;
    background: #f5f7fa;
    border: 1px solid #ddd;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-size: 15px;
    color: #555;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    bottom: -1px;
}

.lzkj-series-tab:hover {
    background: #e8f4fd;
    border-color: #2196f3;
}

.lzkj-tab-active {
    background: #fff;
    border-color: #ddd #ddd #fff #ddd;
    border-bottom-color: #fff;
    color: #1a3a8f;
    font-weight: 600;
    box-shadow: 0 2px 3px rgba(0,0,0,0.05);
}

/* 系列内容 */
.lzkj-series-content {
    display: none;
}

.lzkj-content-active {
    display: block;
    animation: lzkj-fadeIn 0.4s ease;
}

@keyframes lzkj-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lzkj-series-intro {
    margin-bottom: 25px;
}

.lzkj-series-intro h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.lzkj-series-intro p {
    color: #666;
    line-height: 1.6;
}

/* 参数表格 */
.lzkj-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.lzkj-params-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    font-size: 14px;
}

.lzkj-params-table thead {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.lzkj-params-table th {
    padding: 14px 12px;
    text-align: center;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
    border: 1px solid #dee2e6;
}

.lzkj-params-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #dee2e6;
    color: #555;
}

.lzkj-params-table tbody tr:nth-child(even) {
    background-color: #fdfdfd;
}

.lzkj-params-table tbody tr:hover {
    background-color: #f1f8ff;
}

/* 资料下载区 */
.lzkj-download-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.lzkj-filter-btn {
    padding: 8px 18px;
    background: #f5f7fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
}

.lzkj-filter-btn:hover {
    background: #e8f4fd;
    border-color: #2196f3;
}

.lzkj-filter-active {
    background: #2196f3;
    border-color: #2196f3;
    color: white;
}

.lzkj-download-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 15px;
}

@media (max-width: 768px) {
    .lzkj-download-list {
        grid-template-columns: 1fr;
    }
}

.lzkj-download-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background: #fdfdfd;
    transition: all 0.2s;
}

.lzkj-download-item:hover {
    background: #f8fbff;
    border-color: #cce7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.lzkj-file-icon {
    font-size: 32px;
    color: #2196f3;
    width: 40px;
    text-align: center;
}

.lzkj-file-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lzkj-file-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 16px;
}

.lzkj-file-meta {
    font-size: 13px;
    color: #888;
}

.lzkj-download-link {
    padding: 10px 24px;
    background: #2196f3;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.2s;
    white-space: nowrap;
    text-align: center;
}

.lzkj-download-link:hover {
    background: #0d8bf2;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .lzkj-product-container {
        flex-direction: column;
    }
    
    .lzkj-sidebar {
        width: 100%;
        position: static;
    }
    
    .lzkj-main-content {
        width: 100%;
    }
    
    .lzkj-product-hero {
        flex-direction: column;
        gap: 30px;
    }
    
    .lzkj-nav-group-header {
        padding: 10px 14px;
    }
    
    .lzkj-group-title {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .lzkj-product-container {
        padding: 15px;
        gap: 20px;
    }
    
    .lzkj-series-tabs {
        justify-content: center;
    }
    
    .lzkj-series-tab {
        padding: 10px 15px;
        font-size: 14px;
        flex: 1;
        min-width: 120px;
    }
    
    .lzkj-download-filters {
        justify-content: center;
    }
}