/* nbx-stickybar-20261116.css — Artur OK 16.11 9:42; opus GO Z POPRAWKAMI (min-width:768px).
   Restore the desktop sticky price / "Dodaj do koszyka" bar (.product-floating-bar)
   for viewports 768–1200px.

   Theme custom.css (since at least 2026-10-30) hides the bar at max-width:1200px,
   while #fixed_product_cart is only shown when prestashop.responsive.mobile
   (width < 768). In that band the buy-bar JS still adds .active-product-bar and
   .header-on-top, but the bar stays display:none. Sticky tabs from go-live
   step 1 (13.11) still latch, so the card looks like it has a sticky strip
   without price or CTA.

   Below 1200px the scrolled header stays ~124px (search wraps to a second row)
   and the bar is top:70px / z-index:2, so a bare un-hide would put it under
   the header. When #header.header-on-top, hide the search row so the header
   can shrink toward the desktop 70px and the existing top:70px aligns.

   ≤767px: keep the bar hidden; mobile already uses #fixed_product_cart.
*/

@media (min-width: 768px) and (max-width: 1200px) {
  /* Override custom.css @media(max-width:1200px) { .product-floating-bar { display:none } } */
  .product-floating-bar.active-product-bar {
    display: block;
  }

  #header.header-on-top .search-block {
    display: none !important;
  }

  #header.header-on-top .header-top {
    padding-bottom: 1rem;
  }

  #header.header-on-top .header-top > .container .row {
    flex-wrap: nowrap;
  }
}

@media (max-width: 767px) {
  .product-floating-bar,
  .product-floating-bar.active-product-bar {
    display: none !important;
  }
}
