:root {
  --bg: #f6f6f6;
  --card: #ffffff;
  --text: #111;
  --muted: #666;
  --line: #e6e6e6;
  --shadow: 0 1px 0 rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--text);
}

.wrap {
  margin: 0 auto;
  padding: 10px;
}

.site-header, .site-footer {
  background: transparent;
}

.site-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  padding: 6px 0;
}

.intro {
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Crowded grid: 4 columns on mobile by default */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

/* Desktop: 3 columns (as your earlier preference) */
@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }
}

.card {
    border: 1px solid #d0d0d0;
  overflow: hidden;
}

.card--unavailable {
  opacity: .35;
  filter: grayscale(1);
}

.card__image {
  position: relative;

}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__placeholder {
  width: 100%;
  height: 100%;
}

.card__status {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
}

/* Mobile: stack title + paid price on separate lines */
.card__top {
  flex-direction: column;
  align-items: flex-start;
}

/* Desktop: keep them on one line */
@media (min-width: 900px) {
  .card__top {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}
.card__title {
        padding: 10px 2px 2px 2px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card__title {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;

  /* Mobile: allow wrapping instead of truncation */
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

/* Desktop: optional — bring back single-line truncation if you still want it there */
@media (min-width: 900px) {
  .card__title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.card__paid {
  font-size: 11px;
  white-space: nowrap;
}

.card__divider {
  height: 1px;
  background: black;
    margin: 10px 0;
}

.card__bottom {
  display: grid;
  font-size: 11px;
  gap: 4px;
  padding: 2px
}

.card__scale {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
}

.card__prices {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
}

.card__min {
  text-align: left;
}

.card__paidSmall {
  text-align: right;
}

.card__note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.2;
}
.card__notes {
    border-top: 1px solid #000000;
    margin-top: 10px;
}