/* Top picks page — matching SPA style */
.top-header {
  padding: 32px var(--screen-padding) 6px;
}

.top-header h1 {
  font: var(--text-display);
  letter-spacing: -0.5px;
}

.top-header .text-secondary {
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-secondary);
  margin-top: 4px;
  font-weight: 400;
}

/* Category pills — same pattern as search */
.top-filters {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md) var(--screen-padding);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.top-filters::-webkit-scrollbar {
  display: none;
}

/* Category section headers — emoji + ALL CAPS matching SPA */
.top-category-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 8px;
}

.top-category-icon {
  font-size: 16px;
}

.top-category-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* Results list */
.top-results {
  padding: 0 var(--screen-padding) 12px;
  padding-bottom: calc(var(--tab-bar-height) + var(--space-md));
}

/* Ranked product row — matching SPA card style */
.top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  margin-bottom: var(--card-gap);
  cursor: pointer;
  transition: transform 0.15s;
  min-height: 48px;
}

.top-row:hover {
  transform: translateY(-1px);
}

/* Rank number */
.top-rank {
  font-size: 12px;
  font-weight: 700;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.top-rank.gold { color: #C8A84B; }

.top-row:nth-child(1) .top-rank { color: #C8A84B; }
.top-row:nth-child(2) .top-rank { color: #6B7280; }
.top-row:nth-child(3) .top-rank { color: #B45309; }

/* Product image */
.top-image {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
}

.top-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-image-placeholder {
  color: var(--color-text-muted);
}

/* Product info */
.top-info {
  flex: 1;
  min-width: 0;
}

.top-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-brand {
  font-size: 10px;
  color: var(--color-text-secondary);
  margin-top: 1px;
}

/* Score + tier badge */
.top-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.top-score-number {
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

/* Empty / error states */
.top-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: 56px 24px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 12px;
}

.top-empty svg {
  opacity: 0.25;
}

/* Loading shimmer */
.top-loading .shimmer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  margin-bottom: 6px;
}
