.motor-compare-page {
    padding: 40px 0;
    background: #f8f9fa;
}

.compare-header {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.compare-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.compare-header p {
    color: #666;
    margin-bottom: 0;
}

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

.compare-count {
    font-size: 18px;
    color: #666;
}

.compare-count strong {
    color: #dc3545;
}

.btn-clear-all {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-clear-all:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.compare-empty {
    background: #fff;
    padding: 60px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.compare-empty i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.compare-empty h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 15px;
}

.compare-empty p {
    color: #999;
    margin-bottom: 25px;
}

.compare-table-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.compare-table thead th {
    background: #f8f9fa;
    padding: 20px 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.compare-table thead th:first-child {
    width: 200px;
    background: #fff;
}

.compare-table tbody tr {
    border-bottom: 1px solid #e5e5e5;
}

.compare-table tbody tr:last-child {
    border-bottom: none;
}

.compare-table tbody th {
    background: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    color: #666;
    text-align: left;
    font-size: 14px;
}

.compare-table tbody td {
    padding: 15px;
    color: #333;
    vertical-align: top;
}

.product-compare-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block;
}

.product-compare-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.product-compare-name:hover {
    color: #dc3545;
}

.product-compare-price {
    font-size: 20px;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 15px;
}

.btn-remove-compare {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-remove-compare:hover {
    background: #5a6268;
}

.btn-view-product {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.btn-view-product:hover {
    background: #c82333;
    color: #fff;
}

.spec-value-highlight {
    background: #fff3cd;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.compare-category {
    background: #e9ecef;
    font-weight: 700;
    color: #495057;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.compare-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.compare-loading i {
    font-size: 48px;
    color: #dc3545;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sticky-compare-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .compare-header h1 {
        font-size: 24px;
    }
    
    .compare-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-clear-all {
        width: 100%;
    }
    
    .compare-table thead th {
        padding: 15px 10px;
        font-size: 13px;
    }
    
    .compare-table tbody th,
    .compare-table tbody td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .product-compare-image {
        max-width: 150px;
    }
}

