/* ===== Product Detail Pages ===== */
/* 依赖 css/style.css 中的 CSS 变量与 Header/Footer 基础样式 */

.breadcrumb {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent-primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-muted); }
.breadcrumb .current { color: var(--text-primary); font-weight: 500; }

.detail-section { padding: 64px 0; }
.detail-section-alt {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* ===== Detail Hero ===== */
.detail-hero {
    position: relative;
    padding: 64px 0 72px;
    background: radial-gradient(800px 400px at 15% 0%, rgba(0, 201, 183, 0.12), transparent 60%),
                radial-gradient(700px 400px at 90% 10%, rgba(33, 150, 243, 0.10), transparent 60%);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.detail-gallery {
    background: radial-gradient(circle at 50% 40%, rgba(0, 201, 183, 0.10), transparent 70%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.detail-gallery img {
    max-width: 100%;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

.detail-summary h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detail-model {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 201, 183, 0.1);
    border: 1px solid rgba(0, 201, 183, 0.3);
    color: var(--accent-primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.detail-desc {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 26px;
}

.detail-feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin-bottom: 30px;
}

.detail-feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-feature-list li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: 700;
    flex-shrink: 0;
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 24px rgba(0, 201, 183, 0.15);
}

/* ===== Section Head ===== */
.detail-head { text-align: center; margin-bottom: 44px; }

.detail-head .section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.detail-head h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

.detail-head p {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 640px;
    margin: 0 auto;
}

/* ===== Feature Cards ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-card);
}

.feature-card .f-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 201, 183, 0.12);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Specs Table ===== */
.specs-wrap {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

.specs-table th,
.specs-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.specs-table thead th {
    background: rgba(0, 201, 183, 0.08);
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 201, 183, 0.2);
}

.specs-table tbody tr:last-child td { border-bottom: none; }
.specs-table tbody tr { transition: var(--transition); }
.specs-table tbody tr:hover { background: rgba(10, 25, 41, 0.04); }

.specs-table td:first-child {
    width: 34%;
    color: var(--text-secondary);
    font-weight: 500;
    background: rgba(10, 25, 41, 0.025);
}

.specs-table td:last-child { color: var(--text-primary); }

/* ===== Applications ===== */
.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.app-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
}

.app-card .a-icon { font-size: 40px; margin-bottom: 14px; }
.app-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.app-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Other Products ===== */
.other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.other-card {
    display: block;
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.other-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
}

.other-card img {
    display: none;
}

.other-card h4 { font-size: 20px; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.other-card span { font-size: 16px; color: var(--accent-primary); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .detail-layout { grid-template-columns: 1fr; gap: 36px; }
    .detail-gallery { min-height: 260px; }
    .feature-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
    .other-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .detail-section { padding: 44px 0; }
    .detail-hero { padding: 44px 0 52px; }
    .detail-summary h1 { font-size: 26px; }
    .detail-feature-list { grid-template-columns: 1fr; }
    .detail-actions { flex-direction: column; }
    .detail-actions .btn, .detail-actions .btn-outline { width: 100%; }
    .feature-grid, .app-grid, .other-grid { grid-template-columns: 1fr; }
    .specs-table td, .specs-table th { padding: 12px 14px; font-size: 13px; }
}

/* ===== Case photo gallery（案例实景图集） ===== */
.case-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.case-photo-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(15, 40, 66, 0.12);
}
