/* ─────────────────────────────────────────────────────────────────────
   OJAS — bestseller-grid
   Plain even 4-up product grid. The cards themselves are the shared
   .product-card component (common.css) — this file only lays out the
   grid + section head + empty state. Responsive at 1440/768/375.
   ───────────────────────────────────────────────────────────────────── */

.av-bsg__head {
  text-align: center;
  margin-bottom: 44px;
}
.av-bsg__head .eyebrow { display: block; margin-bottom: 14px; }
.av-bsg__head h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 42px;
}

.av-bsg__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.av-bsg__viewall {
  text-align: center;
  margin-top: 40px;
}

.av-bsg__empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 40px 0;
}

@media (max-width: 900px) {
  .av-bsg__grid { grid-template-columns: 1fr 1fr; }
  .av-bsg__head h2 { font-size: 28px; }
}
@media (max-width: 480px) {
  .av-bsg__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* Theme blocks (blocks/*.liquid). Every rule is opt-in: an untouched block matches none of them. */
.qm-contents { display: contents; }
.av-block-group { display: flex; flex-direction: column; gap: var(--av-group-gap, 12px); align-items: var(--av-group-align, stretch); }
.av-block-group--row { flex-direction: row; flex-wrap: wrap; justify-content: var(--av-group-justify, flex-start); align-items: var(--av-group-align, center); }
.av-block-text p, .av-block-text li { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
