/* Catalogue tools share the existing drawer and preserve the product grid. */
#js-product-list-top.products-selection { flex-direction: column; align-items: stretch; gap: 10px; }
#js-product-list-top .vvp-catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; }
.vvp-catalog-count { margin: 0; color: var(--vvp-color-text-secondary); font-size: 13px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.vvp-catalog-count strong { color: var(--vvp-color-action); font-weight: 600; }
.vvp-catalog-tools { display: flex; align-items: center; gap: 8px; }
button.vvp-catalog-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: var(--vvp-control-height-compact); padding: 10px 16px; border: 1px solid transparent; border-radius: var(--vvp-radius-pill); background: var(--vvp-color-interaction-bg); color: var(--vvp-color-action); font: inherit; font-size: var(--vvp-control-font-size-compact); font-weight: var(--vvp-control-weight); line-height: 1.2; cursor: pointer; }
button.vvp-catalog-button:hover,button.vvp-catalog-button[aria-expanded=true] { background: var(--vvp-color-interaction-hover); }
button.vvp-catalog-button:focus-visible { outline: 2px solid var(--vvp-color-action); outline-offset: 3px; }
.vvp-catalog-button svg { flex: 0 0 17px; width: 17px; height: 17px; }
.vvp-catalog-button strong { font-weight: 500; }
.vvp-inline-filter-count { min-width: 19px; padding: 2px 5px; border-radius: 20px; background: var(--vvp-color-action); color: #fff; font-size: 11px; }
.vvp-inline-filter-count[hidden] { display: none; }
.vvp-catalog-empty { padding: 36px 24px; border-radius: 16px; background: #fff; text-align: center; }
.vvp-catalog-empty h3 { margin: 0 0 12px; font-size: 20px; }.vvp-catalog-empty p { margin: 0; color: var(--vvp-color-text-secondary); }
@media(max-width:767px) {
  #js-product-list-top .vvp-catalog-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .vvp-catalog-tools { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px; }
  button.vvp-catalog-button { padding: 9px 8px; font-size: 13px; min-width: 0; }
  .vvp-catalog-button--sort>span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* The current order stays in the title and the sort panel; three buttons fit on one line. */
  .vvp-catalog-button--sort .vvp-sort-current { display: none; }
}
