/* 产品详情页面样式 */

/* 面包屑导航 */
.breadcrumb {
    background: #f8fafc;
    padding: 15px 0;
    margin-top: 70px;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
}

.breadcrumb a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #3b82f6;
}

.breadcrumb .separator {
    color: #cbd5e1;
}

.breadcrumb .current {
    color: #94a3b8;
}

/* 产品详情主体 */
.product-detail {
    padding: 50px 20px;
    background: #f8fafc;
    min-height: calc(100vh - 400px);
}

/* 产品标题区 */
.product-header {
    margin-bottom: 30px;
}

.product-header h1 {
    font-size: 32px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-subtitle {
    font-size: 14px;
    color: #64748b;
}

/* 操作指南卡片 */
.guide-card {
    background: #fff;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.guide-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.guide-header h2 {
    font-size: 36px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 400;
}

.guide-header h3 {
    font-size: 24px;
    color: #475569;
    font-weight: 400;
}

/* 产品图片 */
.product-images {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.image-placeholder {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 10px;
    min-width: 150px;
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.image-placeholder p {
    font-size: 14px;
    color: #64748b;
}

/* 指南章节 */
.guide-section {
    margin-bottom: 40px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
}

.section-number {
    background: #fff;
    color: #1e293b;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    border-radius: 3px;
}

.section-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* 警告框 */
.warning-box {
    background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    padding: 20px 25px;
    border-radius: 5px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.warning-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.warning-box p {
    color: #92400e;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* 特性列表 */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.feature-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-size: 12px;
}

/* 图表容器 */
.diagram-container {
    background: #f8fafc;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.diagram-placeholder {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border-radius: 10px;
    border: 2px dashed #cbd5e1;
    margin-bottom: 30px;
}

.diagram-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.diagram-placeholder p {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 10px;
}

.diagram-note {
    color: #94a3b8;
    font-size: 14px;
}

/* 图例 */
.diagram-legend {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #475569;
}

.legend-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.legend-icon:first-child {
    background: #3b82f6;
    border-radius: 50%;
    color: #fff;
}

.legend-icon:last-child {
    background: #1e293b;
    border-radius: 50%;
    color: #fff;
}

.legend-text {
    background: #e2e8f0;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 12px;
}

/* 注释框 */
.diagram-note-box {
    background: #e2e8f0;
    padding: 15px 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.diagram-note-box p {
    color: #475569;
    font-size: 14px;
    margin-bottom: 5px;
}

.diagram-note-box p:last-child {
    margin-bottom: 0;
}

/* 技术参数表格 */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.specs-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 15px;
    font-size: 14px;
}

.specs-table tr:nth-child(odd) td:first-child,
.specs-table tr:nth-child(odd) td:nth-child(3) {
    background: #f1f5f9;
    font-weight: 500;
    color: #1e293b;
}

.specs-table tr:nth-child(even) td:first-child,
.specs-table tr:nth-child(even) td:nth-child(3) {
    background: #fff;
    font-weight: 500;
    color: #1e293b;
}

.specs-table tr:nth-child(odd) td:nth-child(2),
.specs-table tr:nth-child(odd) td:nth-child(4) {
    background: #fff;
    color: #64748b;
}

.specs-table tr:nth-child(even) td:nth-child(2),
.specs-table tr:nth-child(even) td:nth-child(4) {
    background: #f8fafc;
    color: #64748b;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.action-buttons .btn {
    padding: 14px 35px;
    font-size: 15px;
}

/* 产品导航 */
.product-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.product-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.product-nav-link:hover {
    border-color: #1e3a8a;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
    transform: translateX(5px);
}

.nav-label {
    color: #94a3b8;
    font-size: 14px;
}

.nav-title {
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.nav-arrow {
    color: #1e3a8a;
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .guide-card {
        padding: 30px 20px;
    }

    .guide-header h2 {
        font-size: 28px;
    }

    .guide-header h3 {
        font-size: 20px;
    }

    .product-images {
        gap: 20px;
    }

    .diagram-legend {
        grid-template-columns: 1fr;
    }

    .specs-table {
        font-size: 13px;
    }

    .specs-table td {
        padding: 10px 8px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
