/**
 * Universal Shop — brand pages styles (Stage F3 §3/§4).
 *
 * Brand header (single brand page) + brand tile (brands list page). Product
 * list toolbar/cards/pagination/empty-state come from catalog.css.
 */

/* ---- Brand header (single brand page) ----------------------------------- */

.us-brand-image img {
  max-width: 100%;
  border-radius: var(--us-radius);
  margin-bottom: 1rem;
}

.us-brand-title {
  margin-bottom: 0.75rem;
}

.us-brand-description {
  margin-bottom: 1.5rem;
}

/* ---- Brand tile (brands list page) --------------------------------------- */

.us-brands-grid {
  margin-bottom: 1.5rem;
}

.us-brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--us-radius);
  transition: box-shadow 0.15s ease-in-out;
}

.us-brand-tile:hover {
  box-shadow: 0 0 0 2px var(--us-accent);
}

.us-brand-tile-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--us-radius);
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.05);
}

.us-brand-tile-image--placeholder {
  background-image: none;
}

.us-brand-tile-title {
  font-weight: 600;
}
