/* Coastal Doors & Windows — presentation fixes applied by the static build.
   Loaded after the site stylesheets so it can correct their cascade. */

/* The shared form rule gives every select width:100%, which lets the material
   filter swallow the toolbar and collapses the search field to ~32px. */
.catalog-toolbar select {
  width: auto;
  flex: 0 0 auto;
}
.catalog-toolbar label {
  flex: 1 1 320px;
  min-width: 240px;
}
.catalog-toolbar .result-count {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .catalog-toolbar label {
    flex-basis: 100%;
    min-width: 0;
  }
  .catalog-toolbar select {
    width: 100%;
    flex: 1 1 100%;
  }
}

/* Keep the open mobile menu above the hero artwork on every page. */
.mobile-nav {
  max-height: calc(100vh - 83px);
  overflow-y: auto;
}
