/* Scope all rules to the catalog; keep the theme's typography and button sizing. */
.ac-catalog-filters {
  margin-block: 1.25rem !important;
  font-family: inherit;
}
.ac-catalog-filters .wp-block-details {
  flex: 1 1 16rem;
  min-width: 0;
  margin-block: 0;
  border: 1px solid currentColor;
  border-radius: .33rem;
  padding: .75rem 1rem;
  font: inherit;
}
.ac-catalog-filters summary {
  cursor: pointer;
  font-weight: 600;
}
.ac-catalog-filters summary:focus-visible,
.ac-catalog-filters input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.ac-catalog-filters .wp-block-details[open] > div {
  margin-top: 1rem;
  max-height: min(28rem, 60vh);
  overflow-y: auto;
}
.ac-catalog-filters .wp-block-woocommerce-product-filter-active:not(:empty) {
  margin-top: .75rem;
}
body.woocommerce-shop .product.outofstock .wc-block-components-product-button__button,
body.tax-product_cat .product.outofstock .wc-block-components-product-button__button,
body.tax-product_tag .product.outofstock .wc-block-components-product-button__button,
body.woocommerce-shop ul.products .product.outofstock > a.button,
body.tax-product_cat ul.products .product.outofstock > a.button,
body.tax-product_tag ul.products .product.outofstock > a.button {
  background: #e5e5e5;
  color: #404040;
  border-color: #b8b8b8;
  box-shadow: none;
}
