.page-hero {
    position: relative;
    padding: 80px 0 70px;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 280px;
    display: flex;
    align-items: center;
}
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.8) 0%, rgba(26,82,118,0.6) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}
.page-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.page-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    margin: 0 auto;
}
.page-breadcrumb {
    padding: 12px 0;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}
.page-breadcrumb .container {
    font-size: 0.85rem;
    color: var(--gray-500);
}
.page-breadcrumb .container a {
    color: var(--primary);
}
.page-breadcrumb .container a:hover {
    text-decoration: underline;
}
.page-breadcrumb .container .sep {
    color: var(--gray-300);
    margin: 0 8px;
}
.product-detail-section {
    background: var(--white);
    padding: 40px 0 60px;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.product-main-image {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    position: relative;
}
.product-main-image img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    display: block;
    padding: 20px;
}
.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-thumbnails .thumb-item {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
    flex-shrink: 0;
}
.product-thumbnails .thumb-item:hover {
    border-color: var(--primary-light);
}
.product-thumbnails .thumb-item.active {
    border-color: var(--primary);
}
.product-thumbnails .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-note {
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.6;
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: 4px;
    border-left: 3px solid var(--secondary);
    margin-top: 8px;
}
.product-note a {
    color: var(--primary);
}
.product-note a:hover {
    text-decoration: underline;
}
.product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.product-badge {
    display: inline-block;
    background: rgba(46, 204, 113, 0.12);
    color: var(--accent);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    align-self: flex-start;
}
.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.25;
}
.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    background: var(--gray-100);
    padding: 16px 20px;
    border-radius: 8px;
}
.product-specs .spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.product-specs .spec-label {
    font-size: 0.7rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.product-specs .spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
}
.product-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}
.product-description p {
    margin: 0;
}
.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-features ul li {
    padding: 6px 0;
    font-size: 0.92rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}
.product-features ul li:last-child {
    border-bottom: none;
}
.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.product-actions .btn {
    padding: 14px 36px;
    font-size: 1rem;
    min-width: 160px;
    justify-content: center;
    flex: 1;
}
.product-actions .btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}
.product-actions .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.product-actions .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.2);
}
.product-tabs {
    border-top: 1px solid var(--gray-200);
    padding-top: 40px;
    margin-top: 10px;
}
.tabs-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.tabs-nav .tab-btn {
    padding: 12px 28px;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 4px 4px 0 0;
}
.tabs-nav .tab-btn:hover {
    color: var(--primary);
}
.tabs-nav .tab-btn.active {
    color: var(--primary);
    background: var(--primary-light);
}
.tabs-nav .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}
.tab-content-inner {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
}
.tab-content-inner h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 20px 0 12px;
}
.tab-content-inner h3:first-child {
    margin-top: 0;
}
.tab-content-inner h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 16px 0 8px;
}
.tab-content-inner ul {
    padding-left: 20px;
    margin: 8px 0 16px;
}
.tab-content-inner ul li {
    margin-bottom: 6px;
}
.tab-content-inner p {
    margin-bottom: 12px;
}
.tab-content-inner img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 16px 0;
}

/* ============================================
   表格容器 - 完美响应式
   ============================================ */
.tab-content-inner .table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0 24px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    position: relative;
}
.tab-content-inner .table-wrap::-webkit-scrollbar {
    height: 6px;
}
.tab-content-inner .table-wrap::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 0 0 8px 8px;
}
.tab-content-inner .table-wrap::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}
.tab-content-inner .table-wrap::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}
.tab-content-inner .table-wrap table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 0.92rem;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}
.tab-content-inner .table-wrap table thead th {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    border: none;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}
.tab-content-inner .table-wrap table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
    vertical-align: middle;
    white-space: nowrap;
}
.tab-content-inner .table-wrap table tbody tr:last-child td {
    border-bottom: none;
}
.tab-content-inner .table-wrap table tbody tr {
    transition: background 0.2s ease;
}
.tab-content-inner .table-wrap table tbody tr:hover {
    background: var(--primary-light);
}
.tab-content-inner .table-wrap table tbody tr:nth-child(even) {
    background: var(--gray-100);
}
.tab-content-inner .table-wrap table tbody tr:nth-child(even):hover {
    background: var(--primary-light);
}
.tab-content-inner .table-wrap table tbody td:first-child {
    font-weight: 600;
    color: var(--gray-800);
}
.tab-content-inner .table-wrap table tbody td .tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}
.tab-content-inner .table-wrap table tbody td .tag-cummins {
    background: #d4e6f1;
    color: #1a5276;
}
.tab-content-inner .table-wrap table tbody td .tag-perkins {
    background: #fdebd0;
    color: #e67e22;
}
.tab-content-inner .table-wrap table tbody td .tag-mitsubishi {
    background: #e8daef;
    color: #6c3483;
}
.tab-content-inner .table-wrap table tbody td .tag-denso {
    background: #d5f5e3;
    color: #1e8449;
}
.tab-content-inner .table-wrap .scroll-hint {
    display: none;
    text-align: right;
    padding: 6px 12px 8px;
    font-size: 0.7rem;
    color: var(--gray-400);
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 8px 8px;
}
.tab-content-inner .table-wrap .scroll-hint .icon {
    display: inline-block;
    animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* ============================================
   规格表格 - 完整边框修复
   ============================================ */
.spec-table {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    margin: 16px 0 24px;
}
.spec-table .spec-row {
    display: contents;
}
.spec-table .spec-key {
    background: var(--gray-100);
    padding: 12px 18px;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
}
.spec-table .spec-value {
    background: var(--white);
    padding: 12px 18px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-200);
}
.spec-table .spec-row:last-child .spec-key,
.spec-table .spec-row:last-child .spec-value {
    border-bottom: none;
}
.spec-table .spec-row .spec-key:last-child,
.spec-table .spec-row .spec-value:last-child {
    border-right: none;
}

.product-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-top: 1px solid var(--gray-200);
    padding-top: 30px;
    margin-top: 40px;
}
.product-navigation .nav-prev {
    text-align: left;
}
.product-navigation .nav-next {
    text-align: right;
}
.product-navigation .nav-label {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.product-navigation .nav-link {
    font-size: 0.92rem;
    color: var(--primary);
    transition: var(--transition);
}
.product-navigation .nav-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.product-navigation .nav-link.disabled {
    color: var(--gray-400);
    cursor: default;
}
.product-navigation .nav-link.disabled:hover {
    color: var(--gray-400);
    text-decoration: none;
}
.related-products {
    border-top: 1px solid var(--gray-200);
    padding-top: 40px;
    margin-top: 10px;
}
.related-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.related-item {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}
.related-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    text-decoration: none;
}
.related-item .related-image {
    height: 140px;
    overflow: hidden;
    background: var(--gray-100);
}
.related-item .related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.related-item:hover .related-image img {
    transform: scale(1.05);
}
.related-item .related-name {
    padding: 10px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-700);
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.page-cta {
    background: var(--gradient-accent);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
}
.page-cta h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 12px;
}
.page-cta p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 520px;
    margin: 0 auto 24px;
}
@media (max-width: 992px) {
    .page-hero { padding: 60px 0 50px; min-height: 240px; }
    .page-hero h1 { font-size: 2rem; }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-main-image img {
        height: 350px;
    }
    .product-title {
        font-size: 1.6rem;
    }
    .product-specs {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .related-item .related-image {
        height: 120px;
    }
    .product-navigation {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .product-navigation .nav-next {
        text-align: left;
    }
}
@media (max-width: 768px) {
    .page-hero { padding: 50px 0 40px; min-height: 200px; }
    .page-hero h1 { font-size: 1.6rem; }
    .page-hero p { font-size: 0.95rem; }
    .product-main-image img {
        height: 280px;
        padding: 14px;
    }
    .product-thumbnails .thumb-item {
        width: 56px;
        height: 56px;
    }
    .product-title {
        font-size: 1.3rem;
    }
    .product-specs {
        grid-template-columns: 1fr 1fr;
        padding: 14px 16px;
    }
    .product-actions {
        flex-direction: column;
    }
    .product-actions .btn {
        flex: 1;
        width: 100%;
        min-width: 0;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .product-note {
        font-size: 0.78rem;
        padding: 10px 14px;
    }
    .tabs-nav .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        flex: 1;
        text-align: center;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .related-item .related-image {
        height: 140px;
    }
    .tab-content-inner .table-wrap table {
        font-size: 0.82rem;
        min-width: 580px;
    }
    .tab-content-inner .table-wrap table thead th,
    .tab-content-inner .table-wrap table tbody td {
        padding: 8px 12px;
    }
    .tab-content-inner .table-wrap .scroll-hint {
        display: block;
    }
    .spec-table .spec-key,
    .spec-table .spec-value {
        padding: 10px 14px;
        font-size: 0.88rem;
    }
    .page-cta { padding: 36px 0; }
    .page-cta h2 { font-size: 1.5rem; }
    .page-cta p { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .page-hero { padding: 40px 0 30px; min-height: 170px; }
    .page-hero h1 { font-size: 1.3rem; }
    .product-main-image img {
        height: 220px;
        padding: 10px;
    }
    .product-thumbnails .thumb-item {
        width: 48px;
        height: 48px;
    }
    .product-thumbnails .thumb-item img {
        padding: 4px;
    }
    .product-specs {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .product-actions .btn {
        font-size: 0.85rem;
        padding: 12px 16px;
    }
    .product-note {
        font-size: 0.72rem;
        padding: 8px 12px;
    }
    .tabs-nav .tab-btn {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .related-item .related-image {
        height: 120px;
    }
    .related-item .related-name {
        font-size: 0.7rem;
        padding: 6px 8px;
    }
    .spec-table {
        grid-template-columns: 1fr;
    }
    .spec-table .spec-key {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    .spec-table .spec-value {
        border-bottom: 1px solid var(--gray-200);
    }
    .spec-table .spec-row:last-child .spec-key,
    .spec-table .spec-row:last-child .spec-value {
        border-bottom: none;
    }
    .spec-table .spec-key,
    .spec-table .spec-value {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .tab-content-inner .table-wrap table {
        font-size: 0.72rem;
        min-width: 480px;
    }
    .tab-content-inner .table-wrap table thead th,
    .tab-content-inner .table-wrap table tbody td {
        padding: 6px 10px;
    }
    .tab-content-inner .table-wrap .scroll-hint {
        font-size: 0.6rem;
        padding: 4px 10px 6px;
    }
}