/* ORDER-226 목록 A: 목록 화면(제품·음식·식재료·성분, 뒤에 올 목록 갈래도 이 한 장을 쓴다) 공용 —
   style.bundle.css(홈 gzip 예산)에는 한 글자도 안 붙는다. 카드는 홈 shelf-card와 같은 부품(색면
   점수 하나 + 이름 + 부제 + 값) — 여기서는 레일이 아니라 쌓거나 격자로 편다. .shelf-card 규칙은
   home-shelves.css 와 같은 내용을 그대로 담는다(중복이지만 두 파일이 같은 화면에서 동시에 실리지
   않는다 — 화면 전용 CSS 원칙). */
.list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
}
.list-grid .shelf-card {
  width: auto;
}
@media (min-width: 600px) and (max-width: 1023px) {
  .list-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
@media (min-width: 1024px) {
  .list-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.shelf-card {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  border-radius: var(--r-sm);
  padding: var(--s3);
  color: #fff;
  text-decoration: none;
}
.shelf-card[data-score-band="80"] { background: #123f30; }
.shelf-card[data-score-band="60"] { background: #2c443a; }
.shelf-card[data-score-band="40"] { background: #57451f; }
.shelf-card[data-score-band="00"] { background: #56271f; }
.shelf-card[data-score-band="none"] { background: var(--muted-panel); }
.shelf-card-score {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.shelf-card-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shelf-card-maker {
  font-size: 11px;
  opacity: 0.8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shelf-card-value {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.94;
  margin-top: auto;
}
