/* Product card — list item style matching SPA */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 14px var(--card-padding) 18px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-bottom: var(--space-lg);
}

.product-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.product-card:active {
  transform: translateY(-1px);
}

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

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

.card-content {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.card-category {
  font-size: 11px;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.card-score {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Score badge — colored pill matching SPA */
.score-badge {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--badge-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  text-align: center;
}

.score-badge--great { background-color: var(--color-score-green-bg); color: var(--color-score-green); }
.score-badge--caution { background-color: var(--color-caution-bg); color: var(--color-caution); }
.score-badge--avoid { background-color: var(--color-avoid-bg); color: #FFFFFF; }

/* Legacy tier names — map to 3-tier */
.score-badge--excellent { background-color: var(--color-score-green-bg); color: var(--color-score-green); }
.score-badge--good { background-color: var(--color-score-green-bg); color: var(--color-score-green); }

.tier-label {
  display: none;
}
