/* Keep each responsive toolbar row aligned with the product grid. */
body:not(.storefront-supplies) #screen-home .homeToolbar,
body:not(.storefront-supplies) #screen-catalog #simpleCatalogControls {
  grid-template-areas: "tabs" "tools";
  grid-template-columns: minmax(0, 1fr);
  gap: 12px 16px;
  align-items: center;
}
body:not(.storefront-supplies) #screen-home .homeToolbar > .homeTools,
body:not(.storefront-supplies) #screen-catalog #simpleCatalogControls > .homeTools {
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-self: stretch;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 12px;
}
body:not(.storefront-supplies) #screen-home .homeSortControl,
body:not(.storefront-supplies) #screen-catalog .catalogSortControl {
  min-width: 0;
}
body:not(.storefront-supplies) #screen-home .homeToolbarSearchContainer .input,
body:not(.storefront-supplies) #screen-catalog .catalogSearchContainer .input {
  min-width: 0;
  width: 100%;
}
body:not(.storefront-supplies) #screen-catalog #simpleCatalogControls > .homeTools:has(> .homeSearchInline[hidden]) {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1200px) {
  body:not(.storefront-supplies) #screen-home .homeToolbar,
  body:not(.storefront-supplies) #screen-catalog #simpleCatalogControls {
    grid-template-areas: "tabs tools";
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}
@media (min-width: 768px) {
  body:not(.storefront-supplies) #screen-home .subNav .homeFilterBtn,
  body:not(.storefront-supplies) #screen-catalog #simpleCatalogControls .subNav .homeFilterBtn {
    font-size: 14px;
    padding-inline: 12px;
  }
}
@media (max-width: 480px) {
  body:not(.storefront-supplies) #screen-home .homeToolbar > .homeTools,
  body:not(.storefront-supplies) #screen-catalog #simpleCatalogControls > .homeTools {
    grid-template-columns: minmax(0, 1fr);
  }
}
