.catalog-search-results {
  display: grid;
  gap: 16px;
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}

.results-head strong {
  color: var(--text-primary);
}

.results-head span {
  color: var(--text-secondary);
}

.results-skeletons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.skeleton-card {
  min-height: 340px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg, 13px);
  background: var(--bg-secondary);
}

.results-empty-state {
  min-height: 180px;
  display: grid;
  place-content: center;
}

.results-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.results-load-more {
  display: flex;
  justify-content: center;
}

.results-load-more button {
  min-height: 42px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 0 16px;
  cursor: pointer;
  font-weight: var(--font-weight-bold, 700);
}

.results-pager button {
  min-height: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  padding: 0 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.results-pager button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary-color) 28%, white);
  outline-offset: 2px;
}

.results-pager button:hover:not(:disabled) {
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .results-pager {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .results-pager span {
    text-align: center;
  }
}
