/* AI Software Development: the Store (/store). Layout only; tokens come from base.css and the
   cards, chips, buttons and panels from public.css and store.css, so the store matches the site. */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop__side { position: sticky; top: 96px; display: grid; gap: 16px; }
.shop__filters { display: grid; gap: 16px; }
.shop__filters-toggle { display: none; }
.shop__side-title { font-size: 18px; }
.shop__depts { padding: 8px; display: grid; gap: 2px; }
.shop__dept {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 40px;
  padding: 8px 12px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-2);
  font: 500 15px var(--font-body); text-align: left; cursor: pointer;
}
.shop__dept:hover { background: var(--raised); color: var(--text); }
.shop__dept[aria-pressed="true"] { background: rgba(52, 200, 244, 0.12); color: var(--cyan); }
.shop__dept-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.shop__dept:focus-visible { outline: none; box-shadow: var(--focus); }
.shop__facet { padding: 14px 16px; margin: 0; }
.shop__facet legend { padding: 0 4px; font-family: var(--font-head); font-weight: 600; }
.shop__facet-list { display: grid; gap: 8px; max-height: 240px; overflow: auto; }
.shop__facet-list label { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; cursor: pointer; }
.shop__facet-list input { accent-color: var(--cyan); width: 16px; height: 16px; }
.shop__facet-list span:first-of-type { flex: 1; }

.shop__main { min-width: 0; }
.shop__bar { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px; margin: 8px 0 14px; }
.shop__search { flex: 1 1 280px; }
.shop__sort { flex: 0 0 200px; }
.shop__count { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.shop__empty { padding: 28px; display: grid; gap: 12px; margin-bottom: 18px; max-width: 760px; }
.shop__empty[hidden] { display: none; }
.shop__grid:empty { display: none; }
.shop__supplier { color: var(--muted); font-size: 13px; }
.shop__supplier a { color: var(--highlight); }
.shop__when { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }

@media (max-width: 1180px) {
  .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .shop { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .shop__side { position: static; }
  .shop__filters-toggle { display: inline-flex; justify-self: start; }
  .shop__filters[data-collapsed="true"] { display: none; }
  .shop__grid { grid-template-columns: minmax(0, 1fr); }
  .shop__sort { flex: 1 1 100%; }
  .shop__empty { padding: 20px 16px; }
}
