.showroom-browse .catalog-search.catalog-chips-ready {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: .75rem 1rem;
}
.showroom-browse .catalog-chips-ready > :has(> #buyer-catalog-category) { display: none; }
.showroom-browse [data-category-chips] {
  grid-column: 1/-1;
  display: flex;
  gap: .42rem;
  padding: 4px;
  margin-inline: -4px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.showroom-browse [data-category-chips][hidden] { display: none; }
.showroom-browse [data-category-chips] button {
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid #a6b0a3;
  border-radius: 50px;
  padding: .35rem .74rem;
  background: #fffdf8;
  color: var(--showroom-dark);
  font: inherit;
  font-size: .83rem;
  font-weight: 700;
  cursor: pointer;
}
.showroom-browse [data-category-chips] button[aria-pressed="true"] {
  background: var(--showroom-dark);
  border-color: var(--showroom-dark);
  color: #fffaf0;
}
.showroom-browse .catalog-result-count { font-weight: 660; }
.showroom-browse .catalog-group > h2 {
  position: sticky;
  z-index: 2;
  inset-block-start: 0;
  display: flex;
  align-items: baseline;
  gap: .65rem;
  padding: .6rem 0 .55rem;
  background: #fffdf8;
}
.showroom-browse .catalog-group > h2 [data-group-total] {
  border-radius: 20px;
  background: #e9eee5;
  padding: .14rem .5rem;
  font-size: .79rem;
  min-width: 1.6em;
  text-align: center;
}
.showroom-browse .catalog-grid { align-items: stretch; }
.showroom-browse .catalog-card-copy { min-width: 0; }
.showroom-browse .catalog-store-link { font-size: .83rem; }

.showroom-browse [data-gallery-controls] {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 44px;
  align-items: center;
  margin-top: .35rem;
}
.showroom-browse [data-gallery-controls][hidden] { display: none; }
.showroom-browse [data-gallery-controls] button {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid #b8c1b4;
  border-radius: 50%;
  background: #fffdf8;
  color: var(--showroom-ink);
  font: 700 1.5rem/1 system-ui,sans-serif;
  cursor: pointer;
}
.showroom-browse [data-gallery-controls] button:hover { background: #eaf0e6; }
.showroom-browse [data-gallery-controls]:dir(rtl) button span { transform: scaleX(-1); }
.showroom-browse [data-gallery-count] {
  text-align: center;
  color: #4f6257;
  font-size: .83rem;
  font-variant-numeric: tabular-nums;
}
@media(max-width:620px) {
  .showroom-browse .catalog-search.catalog-chips-ready {
    grid-template-columns: minmax(0,1fr) auto;
    gap: .48rem .65rem;
  }
  .showroom-browse .catalog-chips-ready > :has(> #buyer-catalog-search) { grid-column: 1/-1; }
  .showroom-browse .catalog-group > h2 { padding-block: .44rem; }
}
