.bulk-card .bulk-photo-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  aspect-ratio: 3 / 2;
  background: #fdfcf9;
  border-bottom: 1px solid var(--line);
}
.bulk-card .bulk-photo-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bulk-photo {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  margin: 0;
}
.bulk-photo-gallery .bulk-photo {
  grid-template-rows: minmax(0, 1fr) 3.4em;
  font-size: .85rem;
}
.bulk-photo-gallery .bulk-photo + .bulk-photo {
  border-inline-start: 1px solid var(--line);
}
.bulk-photo-tile {
  position: relative;
  min-height: 0;
}
.bulk-card .bulk-photo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.bulk-photo figcaption {
  padding: .25rem .25rem 0;
  text-align: center;
  line-height: 1.15;
  align-self: center;
}
.bulk-photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: .5rem;
  background: var(--sand);
  color: var(--ink-soft);
  font-size: .85rem;
  text-align: center;
}
.bulk-card .bulk-photo-tile [hidden] {
  display: none;
}
