/* Plassimo: compact category introduction on mobile without changing content or behaviour. */
@media (max-width: 767.98px) {
  body#category .category__description:has(.custom-h1-category) {
    margin-bottom: 1rem;
  }

  body#category .category__description .custom-h1-category {
    margin-bottom: 0.45rem;
    font-size: 1.5625rem;
    line-height: 1.12;
    letter-spacing: -0.018em;
  }

  body#category .category__description .custom-h2-category {
    font-size: 1rem;
    line-height: 1.35;
  }

  body#category #horizontal-pills-container {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.1875rem;
  }

  body#category #horizontal-pills-container .subcategory__link {
    padding: 0.35rem 0.7rem;
    font-size: 0.9375rem;
    line-height: 1.25;
  }

  body#category #js-product-list-top .products__selection {
    row-gap: 0.65rem;
    margin-bottom: 0.4rem;
  }

  body#category #js-product-list-top .products__sort {
    gap: 0.35rem;
    padding: 0.1875rem;
  }

  body#category #js-product-list-top .products__sort-dropdown-button,
  body#category #js-product-list-top .products__filter-button {
    min-height: 2.2rem;
    height: 2.2rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.9375rem;
    line-height: 1.2;
  }
}
