.ps-catalog-filter { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) auto; align-items: start; gap: 12px; width: 100%; margin: 0; }
body:not(.home) #masthead .elementor-element-bdd2369,
body:not(.home) #masthead .elementor-element-fa9e24e { display: none !important; }
body.woocommerce.archive:not(.home) #main,
body.woocommerce.search-results:not(.home) #main { padding-top: 32px; }
body.woocommerce.archive:not(.home) #main .ps-catalog-filter,
body.woocommerce.search-results:not(.home) #main .ps-catalog-filter { margin-bottom: 20px; }
body.woocommerce.archive:not(.home) #main .content-products-list,
body.woocommerce.search-results:not(.home) #main .content-products-list { padding-top: 20px; }
.ps-catalog-filter *, .ps-catalog-filter *::before, .ps-catalog-filter *::after { box-sizing: border-box; }
.ps-catalog-field { min-width: 0; }
.ps-catalog-field select { width: 100%; max-width: 100%; min-width: 0; height: 56px; padding: 0 32px 0 14px; border: 1px solid #d6dbe2; border-radius: 10px; background-color: #fff; color: #151b24; font: inherit; font-size: 14px; line-height: normal; text-overflow: ellipsis; }
.ps-catalog-field select:disabled { color: #78818d; background-color: #f3f5f7; opacity: 1; cursor: not-allowed; }
.ps-catalog-filter .chosen-container { max-width: 100%; height: 56px !important; min-height: 56px; font: inherit; font-size: 14px; }
.ps-catalog-filter .chosen-container-single .chosen-single { height: 56px !important; min-height: 56px; padding: 0 36px 0 14px; border: 1px solid #d6dbe2; border-radius: 10px; background: #fff; box-shadow: none; color: #151b24; line-height: 54px !important; }
.ps-catalog-filter .chosen-container-single .chosen-single span { line-height: 54px !important; }
.ps-catalog-filter .chosen-container-single .chosen-single div { width: 28px; display: flex; align-items: center; }
.ps-catalog-filter .chosen-container-single .chosen-single div b { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #87909c; background: none !important; }
.ps-catalog-filter .chosen-disabled { opacity: 1 !important; }
.ps-catalog-filter .chosen-disabled .chosen-single { color: #78818d; background: #f3f5f7; cursor: not-allowed; }
.ps-catalog-filter .chosen-drop { border: 1px solid #d6dbe2; border-radius: 0 0 8px 8px; box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.ps-catalog-filter .chosen-results li { color: #151b24; }
.ps-catalog-filter .chosen-results li.highlighted { background: #1a66a7; color: #fff; }
.ps-catalog-filter .chosen-container .chosen-results { max-height: 280px; }
.ps-catalog-filter .ps-catalog-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 150px; height: 56px; min-height: 48px; margin: 0; padding: 0 24px; border: 0; border-radius: 0 30px 30px 0; background: #1a66a7; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.ps-catalog-submit svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.ps-catalog-submit:hover { background: #125286; }
.ps-catalog-filter select:focus-visible,.ps-catalog-submit:focus-visible,.ps-catalog-reset:focus-visible { outline: 3px solid #78b4ec; outline-offset: 3px; }
.ps-catalog-reset { grid-column: 1 / -1; justify-self: end; padding: 2px 0; color: #1a66a7; font-size: 12px; font-weight: 500; text-decoration: underline; }
.ps-catalog-reset[hidden] { display: none !important; }
.ps-fd-panel .ps-catalog-reset { display: block; margin-top: 12px; text-align: center; }
/* The shared form provides reset; legacy WOOF chips do not track paired models. */
.woof_products_top_panel, .woof_products_top_panel_content { display: none !important; }
.ps-fd-field select:disabled { background-color: #f3f5f7; color: #78818d; opacity: 1; }
@media (max-width: 1100px) and (min-width: 768px) {
  .ps-catalog-filter { gap: 8px; }
  .ps-catalog-filter .ps-catalog-submit { width: 116px; padding: 0 12px; }
  .ps-catalog-field select, .ps-catalog-filter .chosen-container { font-size: 12px; }
}
@media (max-width: 767px) {
  body.woocommerce.archive:not(.home) #main,
  body.woocommerce.search-results:not(.home) #main { padding-top: 20px; }
  body.woocommerce.archive:not(.home) #main .content-products-list,
  body.woocommerce.search-results:not(.home) #main .content-products-list { padding-top: 16px; }
  body:not(.home) form.ps-catalog-filter { display: none !important; }
  .ps-catalog-filter { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .ps-catalog-field select { height: 48px; font-size: 16px; border-radius: 7px; }
  .ps-catalog-filter .ps-catalog-submit { width: 100%; height: 48px; border-radius: 7px; }
  .ps-catalog-reset { justify-self: center; }
}
