/* Approved mobile PLP toolbar. Presentation only: keep native controls,
   dropdown/offcanvas wiring and the existing sticky controller untouched. */
@media (max-width: 767.98px) {
  body#category #js-product-list-top .products__sort {
    grid-template-columns: minmax(0, 1fr) 7.625rem;
    gap: 0;
    align-items: stretch;
    height: 56px;
    min-height: 56px;
    padding: 0;
    border: 0;
    border-top: 1px solid #e8e8eb;
    border-bottom: 1px solid #e8e8eb;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  body#category #js-product-list-top .products__sort-dropdown-button,
  body#category #js-product-list-top .products__filter-button {
    height: 54px;
    min-height: 54px;
    padding-block: 0;
    border: 0 !important;
    border-radius: 0;
    background: #fff !important;
    color: #242424 !important;
    box-shadow: none !important;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.2;
  }

  body#category #js-product-list-top .products__sort-dropdown-button {
    padding-inline: 0 18px;
  }

  body#category #js-product-list-top .products__sort-dropdown-button::after {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
  }

  body#category #js-product-list-top .products__filter-button {
    position: relative;
    padding-inline: 12px;
    gap: 9px;
    font-weight: 500;
  }

  body#category #js-product-list-top .products__filter-button::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    width: 1px;
    height: 28px;
    transform: translateY(-50%);
    background: #e8e8eb;
    pointer-events: none;
  }

  body#category #js-product-list-top .products__filter-button .material-icons {
    /* Reuse the existing two-rail icon, coloured with the site's identity. */
    background: var(--pv-main, var(--bs-primary, #e5007d));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  body#category #js-product-list-top .products__sort.plassimo-mobile-controls--fixed {
    height: 56px;
    padding: 0 12px;
    border-top: 0;
    border-bottom: 0;
    box-shadow: 0 5px 14px rgb(20 20 25 / 5.5%);
  }

  body#category #js-product-list-top .products__sort.plassimo-mobile-controls--fixed .products__sort-dropdown-button,
  body#category #js-product-list-top .products__sort.plassimo-mobile-controls--fixed .products__filter-button {
    height: 56px;
    min-height: 56px;
  }
}
