/*
Theme Name: Sheshi Search Component Audit Corrections
Version: 0.31.9
Description: Closes responsive search navigation, context separator, legacy status filter and mobile empty-state defects found in the rendered component audit.
*/

body.search.sheshi-shell .sheshi-results-context-detail::before,
body.search.sheshi-shell .sheshi-results-context-item + .sheshi-results-context-item::before {
  margin-inline: 6px;
  content: "·";
}

body.search.sheshi-shell .sheshi-results-context-item {
  display: inline-flex;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  body.search.sheshi-shell .sheshi-results-context-detail {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 3px 12px;
    margin-top: 3px;
  }

  body.search.sheshi-shell .sheshi-results-context-detail::before,
  body.search.sheshi-shell .sheshi-results-context-item + .sheshi-results-context-item::before {
    margin-inline: 0;
    content: "";
  }
}

@media (max-width: 620px) {
  body.search.sheshi-shell .sheshi-active-filters {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }

  body.search.sheshi-shell .sheshi-empty-category-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.search.sheshi-shell .sheshi-empty-category-grid > a {
    min-height: 56px !important;
    grid-template-columns: 32px minmax(0, 1fr) max-content !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
  }

  body.search.sheshi-shell .sheshi-empty-category-grid .sheshi-category-icon {
    width: 32px !important;
    height: 32px !important;
  }
}
