:root {
    --primary: #c41e24;
    --primary-dark: #a0181e;
    --secondary: #2c3e50;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --success: #27ae60;
    --warning: #f39c12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
}

.tagline {
    color: var(--text-light);
    font-size: 14px;
    margin-left: 10px;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    padding: 8px 16px;
    border-radius: 4px;
    background: var(--bg-light);
    transition: background 0.2s;
}

.cart-link:hover {
    background: var(--border);
}

.cart-count {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Navigation */
.main-nav {
    background: var(--secondary);
}

.main-nav .container {
    display: flex;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    transition: background 0.2s;
    font-size: 14px;
}

.nav-item:hover,
.nav-item.active {
    background: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.search-box {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-box button {
    padding: 14px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* Categories */
.categories {
    padding: 40px 0;
    background: var(--bg-white);
}

.categories h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    display: block;
    padding: 25px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
    text-align: center;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(196, 30, 36, 0.1);
    transform: translateY(-2px);
}

.category-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.category-code {
    color: var(--text-light);
    font-size: 13px;
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Featured Products */
.featured {
    padding: 40px 0;
}

.featured h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-image {
    height: 180px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 4px;
}

.product-name {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.product-model {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 12px;
    color: var(--text-light);
}

.price-value {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
}

/* Category Page */
.category-page {
    padding: 20px 0;
}

.breadcrumb {
    padding: 15px 0;
    color: var(--text-light);
    font-size: 14px;
}

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

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

.category-layout {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.filter-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.filter-sidebar h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.filter-checkbox {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    cursor: pointer;
}

.filter-checkbox input {
    margin-right: 8px;
}

.diameter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.diameter-tag {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-white);
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.diameter-tag:hover,
.diameter-tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.product-list-area {
    flex: 1;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.list-header h2 {
    font-size: 20px;
}

.result-count {
    color: var(--text-light);
    font-size: 14px;
}

.product-table th {
    background: var(--secondary);
    color: white;
    padding: 10px 10px;
    font-weight: 500;
    font-size: 13px;
    text-align: left;
}

.product-table thead tr:first-child th:first-child {
    border-radius: 8px 0 0 0;
}

.product-table thead tr:first-child th:last-child {
    border-radius: 0 8px 0 0;
}

.product-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    vertical-align: middle;
    line-height: 1.5;
}

.product-table tbody tr:hover {
    background: var(--bg-light);
}

.product-table td.price {
    color: var(--primary);
    font-weight: 600;
}

.product-table-container {
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow-x: auto;
}

.product-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}

.product-table th:nth-child(1),
.product-table td:nth-child(1) {
    width: 220px;
}

.product-table th:nth-child(2),
.product-table td:nth-child(2) {
    width: 180px;
}

.product-table th:nth-child(3),
.product-table td:nth-child(3) {
    width: 120px;
}

.product-table th:nth-child(4),
.product-table td:nth-child(4) {
    width: 100px;
}

.product-list-header-row {
    display: flex;
    background: var(--secondary);
    color: white;
    padding: 12px 10px;
    font-weight: 500;
    font-size: 13px;
    border-radius: 8px 8px 0 0;
}

.product-list-row {
    display: flex;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    align-items: center;
}

.product-list-row:hover {
    background: var(--bg-light);
}

.product-list-cell {
    padding: 0 5px;
    flex-shrink: 0;
}

/* SKU Thumb in list - inline for product code cell */
.list-sku-thumb-inline {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-white);
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.list-sku-thumb-inline:hover {
    border-color: var(--primary);
}

.list-sku-placeholder-inline {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 10px;
    vertical-align: middle;
    margin-right: 6px;
    background: var(--bg-light);
}

.list-sku-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-white);
    display: block;
}

.list-sku-thumb:hover {
    border-color: var(--primary);
}

.list-sku-placeholder {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 12px;
    background: var(--bg-light);
}

.product-list-cell:first-child {
    padding-left: 0;
}

.product-list-cell:last-child {
    padding-right: 0;
}

.product-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.product-link:hover {
    text-decoration: underline;
}

.price {
    color: var(--primary);
    font-weight: 500;
}

.btn-add-cart {
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.page-btn {
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Product Detail */
.product-detail-page {
    padding: 20px 0;
}

.product-detail-layout {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.product-gallery {
    width: 400px;
    flex-shrink: 0;
}

.main-image {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-info {
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.product-info-panel {
    flex: 1;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.product-info-panel h1 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-type {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-model {
    font-size: 14px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.product-specs h3,
.price-table h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

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

.product-specs th,
.product-specs td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.product-specs th {
    width: 120px;
    color: var(--text-light);
    font-weight: 500;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.price-table th,
.price-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid var(--border);
}

.price-table th {
    background: var(--secondary);
    color: white;
}

.price-highlight {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.quantity-selector,
.price-tier-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-selector label,
.price-tier-selector label {
    font-weight: 500;
    width: 80px;
}

.quantity-selector input {
    width: 100px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
}

.price-tier-selector select {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-remove {
    padding: 6px 12px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-remove:hover {
    background: var(--primary);
    color: white;
}

/* Cart */
.cart-page {
    padding: 20px 0;
}

.cart-page h2 {
    margin-bottom: 20px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.empty-cart p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    font-size: 14px;
}

.cart-table th {
    background: var(--secondary);
    color: white;
    padding: 15px;
    text-align: left;
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.cart-table tr:last-child td {
    border-bottom: none;
}

.cart-total-row {
    background: var(--bg-light);
    font-size: 16px;
}

.total-price {
    color: var(--primary);
    font-size: 20px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* Order */
.order-page {
    padding: 20px 0;
}

.order-page h2 {
    margin-bottom: 20px;
}

.order-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-summary,
.customer-form,
.payment-section {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.order-summary h3,
.customer-form h3,
.payment-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.order-total {
    text-align: right;
    padding: 15px 0;
    font-size: 18px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.payment-options {
    display: flex;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover,
.payment-option input:checked + span {
    border-color: var(--primary);
}

.payment-option input:checked {
    accent-color: var(--primary);
}

.order-success {
    text-align: center;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.order-success h2 {
    color: var(--success);
    font-size: 28px;
    margin-bottom: 20px;
}

.payment-qr {
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.payment-qr h3 {
    margin-bottom: 15px;
}

.order-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
}

/* Footer */
.main-footer {
    background: var(--secondary);
    color: white;
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
}

.main-footer p {
    margin-bottom: 8px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .category-layout {
        flex-direction: column;
    }
    
    .filter-sidebar {
        width: 100%;
        position: static;
    }
    
    .product-detail-layout {
        flex-direction: column;
    }
    
    .product-gallery {
        width: 100%;
    }
    
    .product-table {
        font-size: 12px;
    }
    
    .product-table th,
    .product-table td {
        padding: 8px 6px;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav .container {
        flex-wrap: wrap;
    }
    
    .nav-item {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Product Detail Images */
.product-detail-images {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-detail-images h2 {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.detail-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.detail-image-grid img {
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.detail-image-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.detail-long-image {
    text-align: center;
}

.detail-long-image img {
    max-width: 100%;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* ========== 公司简介页样式 ========== */
.company-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 80px 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.banner-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.banner-subtitle {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 500px;
}

.banner-logo {
    flex-shrink: 0;
}

.banner-logo img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.company-section {
    padding: 60px 0;
}

.company-section:nth-child(even) {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* 公司概况 - 单列布局 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 28px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

/* 时间轴 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 20px 40px;
    width: 50%;
    margin-bottom: 20px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 40px;
    padding-left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary);
    top: 24px;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-year {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 业务领域 */
.business-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.business-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.business-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.business-card h3 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.business-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 生产实力 */
.factory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.factory-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.equipment-list {
    list-style: none;
    padding: 0;
}

.equipment-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.6;
}

.equipment-list li:last-child {
    border-bottom: none;
}

.factory-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* 核心数据 */
.data-section {
    background: var(--secondary);
    color: white;
    padding: 60px 0;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.data-card {
    padding: 20px;
}

.data-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.data-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 成员企业 */
.subsidiaries-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.subsidiary-item {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary);
}

.subsidiary-item h3 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.subsidiary-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 企业文化 */
.culture-section {
    background: var(--bg-light);
}

.culture-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.culture-quote blockquote {
    font-size: 22px;
    font-style: italic;
    color: var(--secondary);
    line-height: 1.8;
    padding: 30px;
    border-left: 4px solid var(--primary);
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.culture-future h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 600;
}

.culture-future p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 联系信息 */
.contact-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.contact-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 16px;
    color: var(--secondary);
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 1024px) {
    .about-grid,
    .factory-content {
        grid-template-columns: 1fr;
    }
    .business-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .subsidiaries-list {
        grid-template-columns: 1fr;
    }
    .data-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    .timeline-item .timeline-dot {
        left: 12px !important;
    }
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .banner-text h1 {
        font-size: 32px;
    }
}

/* ========== 工厂展示样式 ========== */
.factory-block {
    margin-bottom: 50px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.factory-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.factory-header h3 {
    font-size: 22px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 6px;
}

.factory-header p {
    font-size: 14px;
    color: var(--text-light);
}

.factory-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.factory-gallery img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.factory-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.factory-equipment {
    margin: 16px 0 20px;
}

.equipment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eq-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .factory-gallery {
        grid-template-columns: 1fr;
    }
    .factory-block {
        padding: 20px;
    }
}

/* ========== 首页三大生产基地横幅 ========== */
.factories-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
    color: white;
    padding: 50px 0;
}

.factories-header {
    text-align: center;
    margin-bottom: 30px;
}

.factories-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.factories-header p {
    font-size: 16px;
    opacity: 0.8;
}

.factories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.factory-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
}

.factory-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.factory-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

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

.factory-desc {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.5;
    margin-bottom: 6px;
}

.factory-focus {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.factories-cta {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .factories-grid {
        grid-template-columns: 1fr;
    }
    .factories-header h2 {
        font-size: 22px;
    }
}


/* Product list layout fix 20260720 */

.category-layout { align-items: flex-start; }
.product-list-area { flex: 1 1 auto; min-width: 0; }
.product-table { width: 100% !important; min-width: 0 !important; table-layout: fixed; }
.product-table th:nth-child(1), .product-table td:nth-child(1) { width: 260px; }
.product-table th:nth-child(2), .product-table td:nth-child(2) { width: 180px; }
.product-table th:nth-child(3), .product-table td:nth-child(3) { width: 120px; }
.product-table th:nth-child(4), .product-table td:nth-child(4) { width: 110px; }
.product-table td { overflow-wrap: anywhere; word-break: break-word; }
.product-table img.list-sku-thumb-inline,
.list-sku-thumb-inline { width: 44px !important; height: 44px !important; max-width: 44px !important; max-height: 44px !important; object-fit: contain !important; }
.list-sku-placeholder-inline { width: 44px !important; height: 44px !important; line-height: 44px !important; }


/* BAA quick filter bar 20260720 */

.quick-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.qf-title { color: var(--primary); font-weight: 600; font-size: 14px; margin-right: 2px; }
.qf-item { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: 14px; }
.qf-item select { min-width: 110px; padding: 7px 8px; border: 1px solid var(--border); border-radius: 4px; background: #fff; color: var(--text); font-size: 13px; }
.qf-btn { padding: 7px 16px; background: var(--primary); color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 13px; }
.qf-btn:hover { background: var(--primary-dark); }
.qf-reset { color: var(--text-light); font-size: 13px; text-decoration: none; }
.qf-reset:hover { color: var(--primary); }
@media (max-width: 768px) { .quick-filter-bar { gap: 10px; } .qf-item select { min-width: 92px; } }


/* Mobile usability and compact pagination 20260720 */

.page-ellipsis { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; color: var(--text-light); }
@media (max-width: 768px) {
  .header-top .container { flex-direction: row; flex-wrap: wrap; }
  .logo img { height: 36px; }
  .main-nav .container { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .nav-item { white-space: nowrap; padding: 8px 10px; }
  .container { padding: 0 10px; }
  .breadcrumb { font-size: 12px; overflow-x: auto; white-space: nowrap; }
  .quick-filter-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; }
  .qf-title { grid-column: 1 / -1; }
  .qf-item { width: 100%; justify-content: space-between; font-size: 13px; }
  .qf-item select { flex: 1; min-width: 0; }
  .qf-btn, .qf-reset { width: 100%; text-align: center; }
  .product-list-area { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .product-table { min-width: 720px !important; }
  .product-list-header h3 { font-size: 16px; }
  .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .page-btn { min-width: 34px; height: 34px; padding: 0 10px; }
  .product-detail-layout { gap: 20px; }
  .product-gallery .main-image img { max-height: 320px; object-fit: contain; }
  .order-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-footer p { margin-bottom: 4px; font-size: 12px; }
}

/* Mobile table fit screen width 20260721 */
@media (max-width: 768px) {
    .product-list-area { overflow-x: visible !important; padding: 0 6px; }
    .product-table {
        min-width: 0 !important;
        width: 100% !important;
        table-layout: fixed !important;
        font-size: 12px;
    }
    .product-table th, .product-table td {
        padding: 6px 4px !important;
        word-break: break-all;
        white-space: normal !important;
    }
    .product-table th:nth-child(1), .product-table td:nth-child(1) { width: 52%; }
    .product-table th:nth-child(2), .product-table td:nth-child(2) { width: 22%; }
    .product-table th:nth-child(3), .product-table td:nth-child(3) { width: 26%; }
    .product-table .list-sku-thumb-inline, .product-table .list-sku-placeholder-inline {
        width: 30px !important; height: 30px !important;
        font-size: 9px; line-height: 30px;
    }
    .product-table .product-link { display: block; font-size: 12px; }
    .product-table .btn-add-cart {
        padding: 5px 6px !important;
        font-size: 11px !important;
        white-space: normal !important;
        width: 100%;
    }
    .product-table .price { font-size: 12px; }
}
