@charset "utf-8";
/* ========== 全局字体优化 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body {
    margin-right: auto;
    margin-left: auto;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #f4f5f7;
    color: #1e293b;
    line-height: 1.6;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 40px;
}
.product-detail {
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.product-header {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}
.product-detail-img {
    flex: 1 1 400px;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    border-radius: 14px;
    overflow: hidden;
    /* 无虚线边框 */
    border: none;
}
.product-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-detail-info {
    flex: 1 1 400px;
}
.product-detail-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 0.03em;
}
.product-detail-info .tag {
    display: inline-block;
    background: #e6f7f5;
    color: #0d9488;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}
.product-detail-info .quick-specs {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}
.product-detail-info .quick-specs li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    color: #1e293b;
    font-size: 0.95rem;
}
.product-detail-info .quick-specs li span:first-child {
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.product-detail-info .quick-specs li span:last-child {
    font-weight: 600;
    letter-spacing: 0.01em;
}
/* 详细内容区 */
.detail-section {
    margin-top: 30px;
}
.detail-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0d9488;
    display: inline-block;
    letter-spacing: 0.03em;
}
.detail-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.detail-section p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.85;
    letter-spacing: 0.015em;
}
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 12px;
}
.spec-item {
    background: #f8faf9;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #1e293b;
    letter-spacing: 0.015em;
}
.spec-item strong {
    display: block;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.btn-back {
    display: inline-block;
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 24px;
    border: 1px solid #0d9488;
    border-radius: 30px;
    transition: all 0.3s;
    margin-top: 20px;
    letter-spacing: 0.02em;
}
.btn-back:hover {
    background: #0d9488;
    color: #fff;
}
footer {
    text-align: center;
    padding: 28px 0;
    border-top: 1px solid #e0e4e8;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 40px;
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
    }
}
/* ========== 高级对比表格 ========== */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 12px;
}
.compare-table th {
    background: #f4f5f7;
    padding: 14px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
}
.compare-table th:first-child {
    border-radius: 12px 0 0 12px;
}
.compare-table th:last-child {
    border-radius: 0 12px 12px 0;
}
.compare-table td {
    background: #ffffff;
    padding: 14px 20px;
    font-size: 0.9rem;
    color: #1e293b;
    border: 1px solid #e0e4e8;
    border-left: none;
    border-right: none;
    transition: all 0.2s ease;
    letter-spacing: 0.015em;
}
.compare-table td:first-child {
    border-left: 1px solid #e0e4e8;
    border-radius: 12px 0 0 12px;
    font-weight: 600;
    color: #0f172a;
    background: #fafbfc;
    letter-spacing: 0.03em;
}
.compare-table td:last-child {
    border-right: 1px solid #e0e4e8;
    border-radius: 0 12px 12px 0;
}
.compare-table tbody tr:hover td {
    background: #f8faf9;
    border-color: #cbd5e1;
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}