/* Visible sorting options for category and sale product listings. */
#product-category .sort-by-wrapper[hidden],
#product-special .sort-by-wrapper[hidden] { display: none !important; }
#product-category .pcr-sort-panel,
#product-special .pcr-sort-panel {
  clear: both;
  margin: 12px 0 18px;
  padding: 14px;
  border: 1px solid #dce7d8;
  border-radius: 7px;
  background: #f6f9f4;
  text-align: start;
}
#product-category .pcr-sort-panel__title,
#product-special .pcr-sort-panel__title {
  margin: 0 0 9px;
  color: #344333;
  font-size: 14px;
  font-weight: 600;
}
#product-category .pcr-sort-panel__options,
#product-special .pcr-sort-panel__options { display: flex; flex-wrap: wrap; gap: 7px; }
#product-category .pcr-sort-panel__option,
#product-special .pcr-sort-panel__option {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #d3dfcf;
  border-radius: 5px;
  background: #fff;
  color: #354333;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}
#product-category .pcr-sort-panel__option:hover,
#product-special .pcr-sort-panel__option:hover { border-color: #579c1f; background: #edf6e9; color: #285d0b; }
#product-category .pcr-sort-panel__option.is-active,
#product-special .pcr-sort-panel__option.is-active { border-color: #448c0c; background: #448c0c; color: #fff; font-weight: 700; }
#product-category .pcr-sort-panel__option:focus-visible,
#product-special .pcr-sort-panel__option:focus-visible { outline: 2px solid #579c1f; outline-offset: 2px; }
html[data-theme="dark"] #product-category .pcr-sort-panel,
html[data-theme="dark"] #product-special .pcr-sort-panel { background: #223223; border-color: #3b5538; }
html[data-theme="dark"] #product-category .pcr-sort-panel__title,
html[data-theme="dark"] #product-special .pcr-sort-panel__title { color: #d6e1d1; }
html[data-theme="dark"] #product-category .pcr-sort-panel__option,
html[data-theme="dark"] #product-special .pcr-sort-panel__option { background: #283b29; border-color: #4a6047; color: #e4eee0; }
html[data-theme="dark"] #product-category .pcr-sort-panel__option:hover,
html[data-theme="dark"] #product-special .pcr-sort-panel__option:hover { background: #314a2d; border-color: #88c75b; }
html[data-theme="dark"] #product-category .pcr-sort-panel__option.is-active,
html[data-theme="dark"] #product-special .pcr-sort-panel__option.is-active { background: #448c0c; border-color: #66bd1d; color: #fff; }
@media (max-width: 767px) {
  #product-category .pcr-sort-panel, #product-special .pcr-sort-panel { padding: 12px; }
  #product-category .pcr-sort-panel__option, #product-special .pcr-sort-panel__option { min-height: 44px; }
}
