/* ─── Masonry Grid ───────────────────────────────────────── */
.gallery__grid {
  columns: 5;
  column-gap: 14px;
}

.gallery__card {
  break-inside: avoid;
  margin-bottom: 14px;
  cursor: pointer;
}

.gallery__card--sold {
  opacity: 0.42;
}

.gallery__image {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity var(--ease);
}

.gallery__card:hover .gallery__image {
  opacity: 0.88;
}

.gallery__info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  gap: 8px;
}

.gallery__title {
  font-size: var(--t-sm);
  color: var(--text);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.gallery__status {
  font-size: var(--t-sm);
  color: var(--muted);
  flex-shrink: 0;
}

/* ─── Load More ──────────────────────────────────────────── */
.gallery__load-more {
  display: block;
  margin: 32px auto 0;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 20px;
  font-family: inherit;
  font-size: var(--t-sm);
  color: var(--text);
  cursor: pointer;
  text-transform: lowercase;
  transition: border-color var(--ease);
}

.gallery__load-more:hover {
  border-color: var(--text);
}

.gallery__load-more:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ─── Breakpoints ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .gallery__grid { columns: 4; }
}

@media (max-width: 860px) {
  .gallery__grid { columns: 3; }
}

@media (max-width: 680px) {
  .gallery__grid { columns: 2; }
}
