.compare-page {
  display: grid;
  gap: 14px;
}

.compare-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.compare-head h1,
.compare-head p {
  margin: 0;
}

.compare-head p {
  color: var(--text-secondary);
}

.compare-controls {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px;
}

.compare-controls label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--text-primary);
  font-weight: 600;
}

.compare-products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compare-product-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--bg-primary);
}

.compare-product-chip a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.compare-product-chip button {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.compare-empty {
  min-height: 220px;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
}

.compare-empty h2,
.compare-empty p {
  margin: 0;
}

.compare-empty p {
  color: var(--text-secondary);
}
