.compare-page {
    padding: 2rem 0 3rem;
}

.compare-heading {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 0.5rem;
}

.compare-intro {
    color: #6c757d;
    margin-bottom: 1.5rem;
    max-width: 60ch;
}

.compare-selector-form {
    background: #f8f9fa;
    border: 1px solid #eceff1;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.compare-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.compare-selector-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.compare-submit-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
}

.compare-submit-btn:hover {
    background: #0b5ed7;
}

.compare-table-wrapper {
    overflow-x: auto;
}

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

.compare-table th,
.compare-table td {
    padding: 0.75rem 1rem;
    border: 1px solid #eceff1;
    text-align: left;
    vertical-align: top;
    font-size: 0.9rem;
}

.compare-table th[scope="row"] {
    background: #f8f9fa;
    font-weight: 600;
    white-space: nowrap;
}

.compare-row-header td {
    font-weight: 600;
}

.compare-empty-note {
    color: #6c757d;
}
