/* Keep the view selector and search aligned and leave room for shopper actions. */
@media (min-width:1250px) {
  body.storefront:not(.storefront-all-categories-directory) .site-header {
    grid-template-columns:minmax(160px,1fr) minmax(0,2fr) max-content;
  }
  body.storefront .storefront-header-tools {
    grid-template-columns:auto minmax(0,1fr);
    grid-template-rows:1fr;
    align-items:center;
  }
  body.storefront .storefront-header-tools .storefront-view-options {
    grid-column:1;grid-row:1!important;align-self:center;
  }
  body.storefront .storefront-header-tools .storefront-store-links-leading {
    display:none!important;
  }
  body.storefront .storefront-header-tools .store-search {
    grid-column:2;grid-row:1!important;align-self:center;max-width:520px;
  }
  body.storefront .storefront-header-tools #directorySearchForm {
    grid-column:2;grid-row:1!important;align-self:center;min-width:0;width:100%;max-width:520px;
  }
}
@media (min-width:1701px) {
  body.storefront.storefront-all-categories-directory .site-header {
    grid-template-columns:minmax(160px,1fr) minmax(0,2fr) max-content;
  }
}
@media (min-width:1250px) and (max-width:1500px) {
  body.storefront:not(.storefront-all-categories-directory) .site-header {
    grid-template-columns:minmax(120px,200px) minmax(0,1fr) max-content;
  }
  body.storefront:not(.storefront-all-categories-directory) .site-header>.brand {
    min-width:0;max-width:100%;overflow:hidden;
  }
  body.storefront:not(.storefront-all-categories-directory) .site-header>.brand img {
    max-width:100%!important;
  }
}
@media (min-width:601px) and (max-width:1249px) {
  body.storefront.storefront-all-categories-directory .storefront-header-tools #directorySearchForm {
    max-width:520px;
  }
}
