/* CW 14.11.2026: one scroll area for the mobile filters, including the last group. */
@media (max-width: 1023px) {
  html body.products.expanded-mobile-filters .filters-container.show_in_mobile {
    height: 100vh !important;
    height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  html body.products.expanded-mobile-filters .filters-container #filtersContainer #filters-menu {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 16px !important;
  }

  html body.products.expanded-mobile-filters .filters-container #filtersContainer .filters-menu-footer {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* The original product Buy button remains. Remove only the duplicate floating bar. */
html body#page-product-view .cw-lenta {
  display: none !important;
}

@media (max-width: 767px) {
  html body#page-product-view {
    padding-bottom: 0 !important;
  }

  html body#page-product-view.cw-mobile-nav-enabled {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
