/* 附加样式文件 - 与 style.css 分开管理便于更新 */

/* =========================================
   产品详情页
========================================= */
.single-product .page-hero {
    background: linear-gradient(135deg, #0f2540 0%, #1a3a5c 100%);
}

.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.product-detail-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

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

.product-specs-table th {
    background: var(--bg-section);
    font-weight: 600;
    color: var(--primary);
    width: 35%;
}

.product-specs-table tr:nth-child(even) td {
    background: #fafbfc;
}

/* =========================================
   页面通用
========================================= */
.page-template-about .about-full,
.page-template-culture .culture-full,
.page-template-contact .contact-full {
    padding: 70px 0;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-mid);
    line-height: 2;
}

.text-content h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin: 36px 0 16px;
    font-weight: 700;
}

.text-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 24px 0 12px;
}

.text-content p {
    margin-bottom: 16px;
}

.text-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.text-content ul li {
    margin-bottom: 8px;
}

/* =========================================
   产品归档
========================================= */
.archive-products {
    padding: 60px 0;
}

.archive-header {
    margin-bottom: 40px;
}

.archive-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

/* =========================================
   无障碍 - Focus
========================================= */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* =========================================
   打印样式
========================================= */
@media print {
    #site-header,
    .hero-slider,
    .stats-banner,
    #back-to-top,
    .contact-form {
        display: none !important;
    }
    body {
        font-size: 12pt;
        color: #000;
    }
}
