/* Minimal listing layout (CAT.8); the themes restyle it (THM.3, THM.7, spec 14).
   A static file, never inline styles: the CSP has no 'unsafe-inline' (SEC.1). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.listing-filters ul,
.filter-chips ul,
.product-grid,
.pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-depth-2 {
  padding-inline-start: 1rem;
}

.filter-depth-3 {
  padding-inline-start: 2rem;
}

.filter-chips ul,
.pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 1rem;
  margin-block: 1rem;
}

.product-card {
  border: 1px solid #ccc;
  padding: 0.75rem;
}

.product-card img {
  max-width: 100%;
  height: auto;
}

.product-card-title {
  font-size: 1rem;
}

.pagination a[aria-current="page"] {
  font-weight: bold;
}
