:root {
    --surface: #ffffff;
    --border-light: #eef2f8;
    --primary: #6c5ce7;
    --primary-dark: #5b4bc4;
    --primary-soft: #e9e6ff;
    --text-title: #0a1927;
    --text-secondary: #5b6e8c;
    --text-muted: #8a9bb0;
    --intel-badge: #eef2ff;
    --intel-color: #0066cc;
    --amd-badge: #ffece5;
    --amd-color: #d93c00;
    --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.1);
    --progress-bg: #e9edf2;
    --progress-fill: linear-gradient(90deg, #6c5ce7, #a29bfe);
}
/* 面包屑 + 返回按钮 */
.nav-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.back-btn:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}


.breadcrumb {
    color: var(--text-muted);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

@media (max-width: 760px) {
    .nav-header {
        margin-bottom: 8px;
        padding-top: 10px;
    }
    .breadcrumb {
        padding-left: 15px;
    }
    .back-btn {
        display: none;
    }

}



/* 主卡片 */
.detail-card {
    background: var(--surface);
    border-radius: 32px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 28px;
}

.cpu-hero {
    padding: 28px 32px 20px 32px;
    background: linear-gradient(135deg, #fafbff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-light);
}

.brand-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cpu-title-pic{
}
.cpu-title-pic img{
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.cpu-title h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.cpu-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
    align-items: center;
}

.socket-tag {
    background: var(--primary-soft);
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.launch-date {
    font-size: 13px;
    color: var(--text-muted);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    padding: 32px;
    border-bottom: 1px solid var(--border-light);
    background: #ffffff;
    overflow: hidden;

}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: #f9fafc;
    padding: 10px;
    border-radius: 8px;
    justify-content: center;
}

.spec-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.spec-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-title);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spec-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.performance-section {
    padding: 32px;
    border-bottom: 1px solid var(--border-light);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 760px) {
    .cpu-hero, .specs-grid, .performance-section, .price-purchase {
        padding: 20px;
    }
    .cpu-title h1 {
        font-size: 24px;
    }
    .detail-card {
        border-radius: 0;
        margin-bottom: 8px;
    }
    .specs-grid {
        max-height: calc(92.5px * 2);
        overflow: hidden;
        padding: 16px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
        gap: 12px;
    }
    .spec-value {
        font-size: 15px;
    }
    .spec-item {
        background: #f9fafc;
        padding: 10px;
        border-radius: 5px;
        gap: 4px;
    }
    
}
