/* Collection cover cards: keep a predictable 3:2 frame so 1800x1200 / 1536x1024 covers fill edge-to-edge. */
.brand-category-card,
.brand-category-card.has-cover {
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Keep the label readable without changing the image geometry. */
.brand-category-card.has-cover {
  background-color: #111516;
}

@media (max-width: 900px) {
  .brand-category-card,
  .brand-category-card.has-cover {
    min-height: 0 !important;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 560px) {
  .brand-category-card,
  .brand-category-card.has-cover {
    min-height: 0 !important;
    aspect-ratio: 3 / 2;
  }
}
