/* ================================================
   COMPARISON PAGE STYLES
   ================================================ */

.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 2px solid var(--clr-border);
    margin-bottom: 2rem;
}

.compare-header h1 {
    font-size: 2rem;
    color: var(--clr-text);
}

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-state h2 {
    color: var(--clr-text);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.empty-state p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table th {
    background: linear-gradient(135deg, var(--clr-primary), #06b6d4);
    padding: 1.25rem;
    text-align: right;
    font-weight: 700;
    color: white;
}

.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--clr-border);
    text-align: right;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: rgba(14, 165, 233, 0.05);
}

.spec-name {
    font-weight: 600;
    color: var(--clr-text);
    background: var(--clr-bg);
    min-width: 150px;
}

.product-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
}

.product-store {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
}

.product-image {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
}

.price-highlight {
    color: var(--clr-success);
    font-weight: 700;
    font-size: 1.1rem;
}

.score-highlight {
    color: var(--clr-accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.comparison-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.comparison-actions .btn {
    min-width: 150px;
}

.remove-btn {
    background: var(--clr-danger);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
}

.remove-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */

@media (max-width: 1024px) {
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }
    
    .product-image {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .compare-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .compare-header h1 {
        font-size: 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .spec-name {
        min-width: 100px;
    }
    
    .product-image {
        max-width: 100px;
    }
    
    .comparison-actions {
        flex-direction: column;
    }
    
    .comparison-actions .btn {
        width: 100%;
        min-width: unset;
    }
}