/* Pin only existing controls: native column geometry and animation transforms stay intact. */
@media (min-width: 1000px) {
  body.woocommerce.archive #sidebar > .inner.beyond-filter-panel-fixed {
    position: fixed;
    top: var(--beyond-filter-top);
    left: var(--beyond-filter-left);
    width: var(--beyond-filter-width);
    max-height: var(--beyond-filter-height);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    z-index: 2;
  }
}
@media (max-width: 999px) {
  body.woocommerce.archive .nectar-shop-filters .nectar-shop-filter-trigger.beyond-filter-trigger-fixed {
    position: fixed;
    top: var(--beyond-filter-top);
    left: var(--beyond-filter-left);
    right: auto;
    width: auto;
    max-width: calc(100vw - 32px);
    min-height: 44px;
    height: 44px;
    box-sizing: border-box;
    margin: 0;
    background: #f6f6f6;
    box-shadow: 0 2px 10px rgb(0 0 0 / 12%);
    z-index: 20;
  }
  body.woocommerce.archive .beyond-filter-trigger-space { flex-shrink: 0; }
  /* A dedicated mobile strip, rather than a floating control over product text.
     The native slot is display:none while unpinned or while the overlay is open. */
  body.woocommerce.archive .beyond-filter-trigger-space::after {
    content: '';
    position: fixed;
    top: calc(var(--beyond-filter-top) - 12px);
    left: 0;
    width: 100vw;
    height: 68px;
    background: #fff;
    box-shadow: 0 1px 5px rgb(0 0 0 / 8%);
    z-index: 19;
  }
}
