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

/* 面包屑 */
.breadcrumb-wrap {
    padding-top: 96px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    padding: 16px 24px;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .sep {
    color: #b0bec5;
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 600;
}

/* 产品详情主体 */
.product-detail {
    background: var(--white);
    padding: 48px 0 80px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 64px;
}

.detail-img {
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.detail-img img {
    max-width: 100%;
    max-height: 440px;
    object-fit: contain;
}

.detail-info {
    padding-right: 8px;
}

.detail-category {
    display: inline-block;
    background: rgba(21, 101, 192, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.detail-name {
    font-size: 30px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 12px;
}

.detail-tagline {
    font-size: 16px;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 16px;
}

.detail-brief {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.8;
}

.detail-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
    background: rgba(21, 101, 192, 0.08);
    transform: translateY(-2px);
}

/* 详情各区块 */
.detail-section {
    margin-bottom: 48px;
}

.detail-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.detail-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

/* 技术参数表格 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.spec-table tbody tr:nth-child(odd) {
    background: var(--bg-alt);
}

.spec-table tbody tr:hover {
    background: rgba(21, 101, 192, 0.05);
}

.spec-key {
    width: 220px;
    padding: 13px 20px;
    font-weight: 600;
    color: var(--text);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.spec-value {
    padding: 13px 20px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    line-height: 1.7;
}

/* 特点/软件列表 */
.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-list li {
    padding: 14px 18px 14px 40px;
    background: var(--bg-alt);
    border-radius: 8px;
    color: var(--text);
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--primary);
    font-weight: 700;
}

/* 售后 */
.aftersale-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    background: var(--bg-alt);
    padding: 20px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

/* 返回按钮 */
.detail-back {
    text-align: center;
    margin-top: 16px;
}

/* 响应式 */
@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .detail-name {
        font-size: 24px;
    }

    .spec-key {
        width: 140px;
        padding: 11px 14px;
    }

    .spec-value {
        padding: 11px 14px;
    }
}
