.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;
  border: 1px solid #d3dad9;
  border-radius: 13px;
  background:
    linear-gradient(90deg, #edf1f1 25%, #e2ebea 50%, #edf1f1 75%) 16px 16px / calc(100% - 32px) calc(100% - 32px) no-repeat,
    #f5f3f9;
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.empty-state {
  min-height: 180px;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  padding: 18px;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

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

.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: 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;
  }
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}
