/* ==========================================================================
   cf-pages.css - CATEGORY PAGES: 1 2 3 4 AND "SLJEDEĆA STRANICA"     17.11
   --------------------------------------------------------------------------
   Anur, 17 Nov: pages 1, 2, 3, 4 back instead of "Učitaj još", with a next
   page button above the numbers, the line kept. cf-custom.js (section 4,
   PAGES) puts body.cf-pages on a category with more than one page and adds
   the count, the line and the button (their look is the old Učitaj još box,
   body.cf-lm .cf-lm-* in custom.css). This file only places the template's
   own pager under them. custom.css is frozen, so these rules live here.

   Rollback: delete this file together with the cf-custom.js change.
   ========================================================================== */

/* the count is in the box above the button: the toolbar's own copy (which
   cf-plist.js moves down to the pager) would say it twice */
body.view-category.cf-pages .browse-view .productlist-results:not(#cf-x) {
  display: none !important;
}

/* the box and the numbers sit together: no 48px gap from the grid's mb-5 */
body.view-category.cf-pages .browse-view .product-items-container {
  margin-bottom: 0 !important;
}

/* just the numbers, centred: "Stranica 1 od 4" is already hidden in
   custom.css, and the per-page box (24 / 48) is not offered */
body.view-category.cf-pages .browse-view .vm-pagination {
  justify-content: center !important;
  margin: 20px 0 48px !important;
}
body.view-category.cf-pages .browse-view .vm-pagination .display-limitbox {
  display: none !important;
}
body.view-category.cf-pages .browse-view .vm-pagination .pagination {
  margin: 0 !important;
}
@media (min-width: 992px) {
  body.view-category.cf-pages .browse-view .vm-pagination { margin-top: 24px !important; }
}
