/* =====================================================================================================
   CF 19 Nov - THE CATEGORY PAGE REDESIGN  (cf-plp.css)
   Approved in chat 18-19 Nov (renders: the "Category Page Scale" page). Desktop: centred capital title,
   category photos 2/3 of a product photo with plain arrows, count left + Poredaj po right in grey 11 px
   capitals, 4 columns 16 px apart, centred tiles (name 13/20, price 15/22, square colours, DODAJ + under
   them). Phones (<768): small capital title, sticky text tabs under the 48 px header, the same quiet sort
   row (tap = a sheet from the bottom), 2 columns 4 px apart, name 12/16 on one line, price 14/20; 4 full
   products on the first screen. Tablets (576-991): 3 columns.
   Scope: body.view-category only (the header lives in cf-hdr.css, product pages in cf-pdp-tiles.css).
   Built as layers that were tested in this order; later blocks refine earlier ones, so keep the order.
   Rules carry !important and extra :not(#id) boosts because custom.css loads after this file.
   Undo: delete this file (and the cf-count lines in category/default.php, the label in cf-quickadd.js).
   ===================================================================================================== */
/* ---------- layer: dirBC3 ---------- */

html body.view-category .category-view .product-items-container > .row > .product:not(#p):not(#p):not(#p):not(#p){padding:0 !important}
html body.view-category .category-view .product-container .product-name:not(#p):not(#p):not(#p):not(#p),html body.view-category .category-view .product-container .product-prices:not(#p):not(#p):not(#p):not(#p),html body.view-category .category-view .product-container .cf-qa:not(#p):not(#p):not(#p):not(#p){padding-left:0 !important;padding-right:0 !important}
html body.view-category .category-view .product-container .product-name:not(#p):not(#p):not(#p):not(#p){margin:0 !important}
html body.view-category .category-view .product-container .product-prices:not(#p):not(#p):not(#p):not(#p){margin:0 !important}
html body.view-category .category-view .product-container .cf-qa__plus:not(#p):not(#p):not(#p):not(#p){margin-right:-3px !important}
html body.view-category .category-view .cf-lbl:not(#p):not(#p):not(#p):not(#p){font:300 11px/16px Montserrat,sans-serif !important;letter-spacing:.04em !important;padding:4px 8px !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__ph:not(#p):not(#p):not(#p):not(#p){padding:0 !important}


html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){display:none !important}
html body.view-category .category-view>.cf-ctop>.cf-ctop__row:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){justify-content:center !important;text-align:center !important}
html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__t:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){text-align:center !important;margin-left:auto !important;margin-right:auto !important}
html body.view-category .category-view .browse-view>.top-toolbar:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){justify-content:center !important}
html body.view-category .category-view .browse-view>.top-toolbar>*:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){margin-left:auto !important;margin-right:auto !important}
html body.view-category .cf-sortnew:not(#p):not(#p):not(#p):not(#p),html body.view-category .cf-sortnew *:not(#p):not(#p):not(#p):not(#p){font:300 12px/16px Montserrat,sans-serif !important;letter-spacing:.04em !important}
html body.view-category .category-view .product-items-container > .row:not(#p):not(#p):not(#p):not(#p){display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;column-gap:16px !important;row-gap:72px !important;margin-left:29px !important;margin-right:29px !important}

@media (max-width:991.98px){html body.view-category .category-view .product-items-container > .row:not(#p):not(#p):not(#p):not(#p){display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;column-gap:12px !important;row-gap:48px !important;margin-left:-7px !important;margin-right:-7px !important}
}

@media (max-width:575.98px){html body.view-category .category-view .product-items-container > .row:not(#p):not(#p):not(#p):not(#p){display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;column-gap:8px !important;row-gap:40px !important;margin-left:-7px !important;margin-right:-7px !important}
}

html body.view-category .category-view .product-list-images:not(#p):not(#p):not(#p):not(#p){margin-bottom:14px !important}
html body.view-category .category-view .product-container .product-name:not(#p):not(#p):not(#p):not(#p),html body.view-category .category-view .product-container .product-name a:not(#p):not(#p):not(#p):not(#p){font:400 11px/17px Montserrat,sans-serif !important;letter-spacing:.14em !important;text-transform:uppercase !important;color:#000 !important;text-align:center !important;white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px}
html body.view-category .category-view .product-container .product-prices:not(#p):not(#p):not(#p):not(#p){margin-top:6px !important;text-align:center !important;display:flex !important;justify-content:center !important}
html body.view-category .category-view .product-container .product-prices .product-price:not(#p):not(#p):not(#p):not(#p){justify-content:center !important}
html body.view-category .category-view .product-container .product-prices *:not(#p):not(#p):not(#p):not(#p){font-family:Montserrat,sans-serif !important;font-size:13px !important;line-height:20px !important;letter-spacing:.02em !important}
html body.view-category .category-view .product-container .product-prices .product-price:not(.cf-sale) *:not(#p):not(#p):not(#p):not(#p){font-weight:300 !important}
html body.view-category .category-view .product-container .cf-qa:not(#p):not(#p):not(#p):not(#p){position:relative !important;justify-content:center !important;margin-top:10px !important}
html body.view-category .category-view .product-container .cf-qa__dots:not(#p):not(#p):not(#p):not(#p){margin:0 !important}
html body.view-category .category-view .product-container .cf-qa__plus:not(#p):not(#p):not(#p):not(#p){position:absolute !important;right:0 !important;top:0 !important;margin:0 -3px 0 0 !important}

html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>.cf-ctop__row>.cf-ctop__t:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){font:400 15px/24px Montserrat,sans-serif !important;letter-spacing:.32em !important;text-transform:uppercase !important;max-width:none !important}
html body.view-category .category-view:not(#p):not(#p){--cu-a:48px !important;--cu-b:28px !important;--cu-c:28px !important}
@media (max-width:991.98px){html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>.cf-ctop__row>.cf-ctop__t:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){font-size:13px !important;line-height:22px !important;letter-spacing:.24em !important} html body.view-category .category-view:not(#p):not(#p){--cu-a:32px !important;--cu-b:20px !important;--cu-c:20px !important}}
html body.view-category .category-view .product-container .cf-qa:not(#p):not(#p):not(#p):not(#p){width:100% !important}
html body.view-category .category-view .product-container .cf-qa__plus:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){position:absolute !important;right:-3px !important;top:0 !important;margin:0 !important}

/* C's photo selectors under B's centred title, centred themselves; the row still swipes when it overflows */
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__rail:not(#p):not(#p):not(#p):not(#p){display:flex !important;flex-wrap:nowrap !important;overflow-x:auto !important;gap:12px !important;justify-content:flex-start !important;padding:0 !important;margin:0 !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile:first-child:not(#p):not(#p):not(#p):not(#p){margin-left:auto !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile:last-child:not(#p):not(#p):not(#p):not(#p){margin-right:auto !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile:not(#p):not(#p):not(#p):not(#p){flex:0 0 88px !important;min-width:0 !important;text-align:center !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p){font:400 10px/14px Montserrat,sans-serif !important;letter-spacing:.12em !important;text-transform:uppercase !important;text-align:center !important;margin-top:10px !important;white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile:hover .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p){text-decoration:none !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile.is-cur .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p){text-decoration:underline !important;text-underline-offset:4px}
@media (max-width:991.98px){
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__rail:not(#p):not(#p):not(#p):not(#p){gap:8px !important;margin:0 -12px !important;padding:0 12px !important}
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile:not(#p):not(#p):not(#p):not(#p){flex-basis:72px !important}
}
html body.view-category .category-view .cf-sortwrap>.cf-sortnew:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){font:300 12px/16px Montserrat,sans-serif !important;letter-spacing:.04em !important}
@media (max-width:991.98px){html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__rail:not(#p):not(#p):not(#p):not(#p){scroll-padding-left:12px !important;scroll-padding-right:12px !important}}
/* sale price centred in both forms (one line, or new + % over the old price on narrow tiles) */
html body.view-category .category-view .product-container .product-prices .product-price.cf-sale:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){justify-content:center !important;text-align:center !important}
html body.view-category .category-view .product-container .product-prices .product-price.cf-sale>.product-price-before-discount:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){display:flex !important;justify-content:center !important}
/* the bold word left of the sort repeats the title: dropped, the sort sits centred */
html body.view-category .category-view .top-toolbar>.cf-ctop__word:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){display:none !important}
html body.view-category .category-view .browse-view>.top-toolbar:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){justify-content:center !important}

/* ===================== v2 of B+C (18 Nov): capitals for navigation, normal case for products ===================== */
/* measures: M page margin, C columns, G column gap; --pw = one product photo, --tw = a category photo (2/3 of it) */
html body.view-category .category-view:not(#p){--M:48px;--C:4;--G:16px;--AW:40px}
/* the strip measures in container units on tablets and desktop only: on phones nothing needs it, and older iPhone Safari would pin the fixed sort sheet to the page instead of the screen */
@media (min-width:992px){html body.view-category .category-view:not(#p){container-type:inline-size}}
@media (max-width:991.98px){html body.view-category .category-view:not(#p){--M:12px;--C:3;--G:12px;--AW:32px}}
@media (max-width:575.98px){html body.view-category .category-view:not(#p){--C:2;--G:8px;--AW:24px}}
html body.view-category .category-view>.cf-ctop:not(#p){--pw:calc((100cqi + 38px - 2 * var(--M) - (var(--C) - 1) * var(--G)) / var(--C));--tw:calc(var(--pw) * 2 / 3)}

/* the top band becomes a grid: title across, then  [<]  photos  [>]  */
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles):not(#cf-x):not(#cf-x):not(#cf-x):not(#p){display:grid !important;grid-template-columns:var(--AW) minmax(0,1fr) var(--AW) !important;column-gap:8px !important;align-items:start !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>*:not(#p):not(#p):not(#p):not(#p){grid-column:1 / -1}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>.cf-ctop__row:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){display:contents !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>.cf-ctop__row>.cf-ctop__t:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){grid-column:1 / -1 !important;grid-row:1 !important;margin-bottom:var(--cu-b) !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>.cf-ctop__row>.cf-ctop__nav:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){display:contents !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>.cf-ctop__rail:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){grid-column:2 !important;grid-row:2 !important}
html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav>button:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){grid-row:2 !important;align-self:start !important;margin-top:calc(var(--tw) * 5 / 8 - 20px) !important;width:var(--AW) !important;min-width:0 !important;max-width:var(--AW) !important;height:40px !important;padding:0 !important;display:flex !important;align-items:center !important;justify-content:center !important;color:#000 !important;background:none !important;border:0 !important;cursor:pointer}
html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav>button[data-cf-ctop="prev"]:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){grid-column:1 !important}
html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav>button[data-cf-ctop="next"]:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){grid-column:3 !important}
html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav>button>span:not([class*="cfw-arw"]):not(#cf-x):not(#cf-x):not(#cf-x):not(#p){display:none !important}
html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav>button[disabled]:not(#cf-x):not(#cf-x):not(#cf-x):not(#p){opacity:.25 !important;cursor:default}
/* show the arrows at every width (B hid them) */
html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav:not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q){display:contents !important}

/* category photos: two-thirds of a product photo, captions in capitals */
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__rail:not(#p):not(#p):not(#p):not(#p):not(#q){gap:var(--G) !important;margin:0 !important;padding:0 !important;scroll-padding:0 !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile:not(#p):not(#p):not(#p):not(#p):not(#q){flex:0 0 var(--tw) !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p):not(#q){font:400 11px/16px Montserrat,sans-serif !important;letter-spacing:.14em !important;margin-top:12px !important}
@media (max-width:575.98px){html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p):not(#q){font-size:10px !important;line-height:14px !important;letter-spacing:.1em !important}}

/* sort: capitals, like the rest of the navigation */
html body.view-category .category-view .cf-sortwrap>.cf-sortnew:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p),
html body.view-category .category-view .cf-sortwrap>.cf-sortnew *:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){font:400 11px/16px Montserrat,sans-serif !important;letter-spacing:.14em !important;text-transform:uppercase !important}

/* product tiles: normal case, centred */
html body.view-category .category-view .product-container .product-name:not(#p):not(#p):not(#p):not(#p):not(#q),
html body.view-category .category-view .product-container .product-name a:not(#p):not(#p):not(#p):not(#p):not(#q){font:300 13px/20px Montserrat,sans-serif !important;letter-spacing:0 !important;text-transform:none !important;color:#000 !important;text-align:center !important;white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}
html body.view-category .category-view .product-container .product-prices *:not(#p):not(#p):not(#p):not(#p):not(#q){font-size:13px !important;line-height:20px !important;letter-spacing:0 !important}
html body.view-category .category-view .product-container .product-prices .product-price:not(.cf-sale) *:not(#p):not(#p):not(#p):not(#p):not(#q){font-weight:400 !important}
html body.view-category .category-view .product-container .product-prices:not(#p):not(#p):not(#p):not(#p):not(#q){margin-top:4px !important}
/* colours: product-page squares, the chosen one underlined */
html body.view-category .category-view .product-container .cf-qa__sw:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){width:12px !important;height:12px !important;border-radius:0 !important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.16) !important}
html body.view-category .category-view .product-container .cf-qa__dot.is-current .cf-qa__sw:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){box-shadow:inset 0 0 0 1px rgba(0,0,0,.16) !important}
html body.view-category .category-view .product-container .cf-qa__dot.is-current:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){background:linear-gradient(#000,#000) 50% calc(50% + 10px) / 12px 1px no-repeat !important}
/* colours and DODAJ + centred together as one line; DODAJ drops under the colours when they do not fit */
html body.view-category .category-view .product-container .cf-qa:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){position:static !important;display:flex !important;flex-wrap:wrap !important;justify-content:center !important;align-items:center !important;gap:0 16px !important;height:auto !important;min-height:28px !important;margin-top:12px !important}
html body.view-category .category-view .product-container .cf-qa__dots:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){margin:0 !important}
html body.view-category .category-view .product-container .cf-qa__plus:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){position:static !important;width:auto !important;height:28px !important;margin:0 !important;padding:0 2px !important;display:inline-flex !important;align-items:center !important}
html body.view-category .category-view .product-container .cf-qa__plus svg:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){display:none !important}

/* header: menu and dropdown in capitals */
html body.view-category .category-view .product-container .cf-qa__plus:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){position:relative !important}
html body.view-category .category-view .product-container .cf-qa__plus svg.cf-qa__bag:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q),
html body.view-category .category-view .product-container .cf-qa__plus svg.cf-qa__xg:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){display:none !important}
html body.view-category .category-view .product-container .cf-qa__plus:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q)::before{content:none !important;display:none !important}
/* the colours + DODAJ line sits at the foot of every tile, level across a row (sale prices take two lines on phones) */
html body.view-category .category-view .product-container .cf-qa:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){margin-top:auto !important}
html body.view-category .category-view .product-container .product-prices:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){margin-bottom:12px !important}

/* ===================== v3 (19 Nov) ===================== */
/* phones: no arrows, the category photos swipe and run to the screen edge */
@media (max-width:991.98px){
 html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav>button:not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q){display:none !important}
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>.cf-ctop__rail:not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q){grid-column:1 / -1 !important}
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__rail:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r){margin:0 -12px !important;padding:0 12px !important;scroll-padding:0 12px !important}
}
/* DODAJ + under the colours, both centred */
html body.view-category .category-view .product-container .cf-qa:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){flex-direction:column !important;flex-wrap:nowrap !important;gap:2px !important}
/* tiles closer together vertically */
html body.view-category .category-view .product-items-container > .row:not(#p):not(#p):not(#p):not(#p):not(#q){row-gap:40px !important}
@media (max-width:991.98px){html body.view-category .category-view .product-items-container > .row:not(#p):not(#p):not(#p):not(#p):not(#q){row-gap:32px !important}}
@media (max-width:575.98px){html body.view-category .category-view .product-items-container > .row:not(#p):not(#p):not(#p):not(#p):not(#q){row-gap:24px !important}}
/* Poredaj po on the right edge (the page margin) */
html body.view-category .category-view .browse-view>.top-toolbar:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){justify-content:flex-end !important}
html body.view-category .category-view .browse-view>.top-toolbar>.orderby-container:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){margin-left:auto !important;margin-right:0 !important}
/* header menu in medium weight, to balance the icons on the right */
/* phones: category photos from margin to margin, exactly three in view, the rest by swiping */
@media (max-width:991.98px){
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__rail:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r){margin:0 !important;padding:0 !important;scroll-padding:0 !important}
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r){flex:0 0 calc((100% - 2 * var(--G)) / 3) !important}
}
/* phones: Poredaj po becomes a sort icon on the right edge (thin line, like the header icons); 44 px to tap */
@media (max-width:991.98px){
 html body.view-category .category-view .cf-sortwrap>.cf-sortnew:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){font-size:0 !important;line-height:0 !important;width:44px !important;height:44px !important;margin:-12px -12px -12px 0 !important;padding:0 !important;display:flex !important;align-items:center !important;justify-content:center !important;position:relative}
 html body.view-category .category-view .cf-sortwrap>.cf-sortnew *:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){display:none !important}
 html body.view-category .category-view .cf-sortwrap>.cf-sortnew:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q)::after{content:"";display:block;width:20px;height:20px;background:no-repeat center/20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='square'%3E%3Cpath d='M6 3.5v13M3 13.5l3 3 3-3M14 16.5v-13M11 6.5l3-3 3 3'/%3E%3C/svg%3E")}
}
/* phones: every size from the product page's own set (measured on the live product page at 390 px, 19 Nov) */
@media (max-width:991.98px){
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>.cf-ctop__row>.cf-ctop__t:not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q){font:400 12px/20px Montserrat,sans-serif !important;letter-spacing:.2em !important;text-transform:uppercase !important}
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r){font:300 11px/16px Montserrat,sans-serif !important;letter-spacing:.14em !important}
 html body.view-category .category-view .product-container .cf-qa__plus:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q)::after{font:300 11px/16px Montserrat,sans-serif !important;letter-spacing:.28em !important}
 html body.view-category .category-view .browse-view .vm-pagination *:not(#p):not(#p):not(#p):not(#p),html body.view-category .category-view .browse-view [class*="results"]:not(#p):not(#p):not(#p):not(#p){line-height:16px !important}
}
/* colours + DODAJ: same block height on every tile (sold-out tiles have no DODAJ), colours at its top, so both lines stay level across a row */
html body.view-category .category-view .product-container .cf-qa:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r){justify-content:flex-start !important;min-height:58px !important}


/* ---------- layer: mob-base ---------- */
/* ===== mobile-first base pieces (19 Nov), layered on dirBC3.css ===== */

/* quick add: the label lives in ::before, so ::after stays free for the busy spinner,
   and only the bag + plus-badge svgs are hidden, so the "done" tick still shows */
html body.view-category .category-view .product-container .cf-qa__plus:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r)::after{content:none}
html body.view-category .category-view .product-container .cf-qa__plus.is-busy:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r)::after{content:"" !important}
html body.view-category .category-view .product-container .cf-qa__plus.is-busy:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r)::before,
html body.view-category .category-view .product-container .cf-qa__plus.is-done:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r)::before{content:none !important;display:none !important}
html body.view-category .category-view .product-container .cf-qa__plus svg.cf-qa__tick:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r){display:block !important}

/* sort on phones: the menu opens as a sheet from the bottom, over a dimmed page that does not scroll */
@media (max-width:991.98px){
 html body.view-category .category-view .cf-sortwrap>.cf-sortmenu:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){position:fixed !important;left:0 !important;right:0 !important;top:auto !important;bottom:0 !important;width:auto !important;min-width:0 !important;z-index:1061 !important;padding:8px 12px max(16px,env(safe-area-inset-bottom,0px)) !important;background:#fff !important;box-shadow:none !important;transform:translateY(100%);transition:transform .22s cubic-bezier(.2,.7,.2,1),opacity .1s,visibility .1s !important}
 html body.view-category .category-view .cf-sortwrap>.cf-sortmenu.is-open:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){transform:none}
 html body.view-category .category-view .cf-sortwrap>.cf-sortmenu:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p)::before{content:"Poredaj po";display:block;font:400 12px/20px Montserrat,sans-serif;letter-spacing:.2em;text-transform:uppercase;padding:12px 0;border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:4px}
 html body.view-category .category-view .cf-sortwrap .cf-sortitem:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){font:300 13px/20px Montserrat,sans-serif !important;letter-spacing:0 !important;text-transform:none !important}
 html:has(.cf-sortmenu.is-open){overflow:hidden !important}
 body:has(.cf-sortmenu.is-open)::after{content:"";position:fixed;inset:0;z-index:1060;background:rgba(0,0,0,.5)}
}


/* ---------- layer: mob ---------- */
/* ===== MOBILE-FIRST category page (19 Nov). Phones only (<768). Layered on dirBC3.css + mob-base.css =====
   Numbers come from 9 reference shops measured at 390 px (median: 52 px header, 16 px logo, 12 px name = price,
   one-line names, ~24 px between rows, text tabs for categories, sort reachable while scrolling). */
@media (max-width:991.98px){

/* --- header: 48 px logo row, smaller wordmark, the announcement scrolls away, 44 px tap areas --- */

/* --- top of the page: small centred title, no photo strip, the category links become a sticky row of text tabs --- */
html body.view-category .category-view:not(#p):not(#p):not(#q){--cu-a:20px !important;--cu-b:16px !important;--cu-c:0px !important;--cu-d:12px !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles):not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q){display:contents !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>.cf-ctop__row>.cf-ctop__t:not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q){display:block !important;margin:var(--cu-a) 0 var(--cu-b) !important;padding:0 12px !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles)>.cf-ctop__rail:not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q){position:sticky !important;top:48px !important;z-index:1020 !important;display:flex !important;gap:22px !important;height:44px !important;align-items:center !important;margin:0 -19px !important;padding:0 12px !important;background:#fff !important;border-bottom:1px solid rgba(0,0,0,.08) !important;overflow-x:auto !important;scroll-snap-type:none !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s){flex:0 0 auto !important;margin:0 !important;height:44px !important;display:flex !important;align-items:center !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__ph:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r){display:none !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s){display:block !important;margin:0 !important;padding:0 !important;min-height:0 !important;font:400 11px/16px Montserrat,sans-serif !important;letter-spacing:.14em !important;text-transform:uppercase !important;white-space:nowrap !important;color:rgba(0,0,0,.55) !important;-webkit-line-clamp:none !important}
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile.is-cur .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s){color:#000 !important;text-decoration:underline !important;text-underline-offset:6px !important;text-decoration-thickness:1px !important}

/* --- sort: a slim bar fixed at the bottom (thumb reach), showing the current order; it opens the sheet from mob-base.css --- */
html body.view-category .category-view .browse-view>.top-toolbar:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r){margin:0 !important;padding:0 !important;height:0 !important;min-height:0 !important}
html body.view-category .category-view .cf-sortwrap>.cf-sortnew:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r){position:fixed !important;left:0 !important;right:0 !important;bottom:0 !important;z-index:1040 !important;width:auto !important;height:44px !important;margin:0 !important;padding:0 0 env(safe-area-inset-bottom,0px) !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:8px !important;background:#fff !important;border-top:1px solid rgba(0,0,0,.12) !important;font:400 11px/16px Montserrat,sans-serif !important;letter-spacing:.2em !important;text-transform:uppercase !important;color:#000 !important}
html body.view-category .category-view .cf-sortwrap>.cf-sortnew *:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r){display:inline !important;font:inherit !important;letter-spacing:inherit !important;text-transform:inherit !important;text-decoration:none !important}
html body.view-category .category-view .cf-sortwrap>.cf-sortnew .cf-sortnew__c:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r){display:none !important}
html body.view-category .category-view .cf-sortwrap>.cf-sortnew:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r)::after{content:"";display:block;width:16px;height:16px;background:no-repeat center/16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='square'%3E%3Cpath d='M6 3.5v13M3 13.5l3 3 3-3M14 16.5v-13M11 6.5l3-3 3 3'/%3E%3C/svg%3E")}

/* --- grid: 12 px margins, 4 px between columns, 24 px between rows --- */
html body.view-category .category-view .product-items-container > .row:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r){column-gap:4px !important;row-gap:24px !important;margin-left:-7px !important;margin-right:-7px !important}

/* --- tile: 12/16 name on one line, 12/16 price, colours + DODAJ + on one line --- */
html body.view-category .category-view .product-list-images:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r){margin-bottom:10px !important}
html body.view-category .category-view .product-container .product-name:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r),
html body.view-category .category-view .product-container .product-name a:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r){font:300 12px/16px Montserrat,sans-serif !important;letter-spacing:0 !important;display:block !important;-webkit-line-clamp:none !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;min-height:16px !important;padding:0 4px !important}
html body.view-category .category-view .product-container .product-prices:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r){margin:2px 0 6px !important}
html body.view-category .category-view .product-container .product-prices *:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r){font-size:12px !important;line-height:16px !important}
html body.view-category .category-view .product-container .cf-qa:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){flex-direction:row !important;flex-wrap:wrap !important;justify-content:center !important;align-items:center !important;gap:0 10px !important;min-height:28px !important}
html body.view-category .category-view .product-container .cf-qa__sw:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){width:10px !important;height:10px !important}
html body.view-category .category-view .product-container .cf-qa__dot:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p){width:22px !important}
html body.view-category .category-view .product-container .cf-qa__dot.is-current:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){background:linear-gradient(#000,#000) 50% calc(50% + 9px) / 10px 1px no-repeat !important}
html body.view-category .category-view .cf-lbl:not(#p):not(#p):not(#p):not(#p):not(#q){font:300 10px/14px Montserrat,sans-serif !important;padding:3px 6px !important;right:8px !important;bottom:8px !important}
}
@media (max-width:991.98px){
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__rail:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s){margin:0 -19px !important;padding:0 12px !important;gap:22px !important}
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile.is-cur .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s):not(#t){text-decoration:none !important;box-shadow:inset 0 -1px 0 #000 !important;padding-bottom:5px !important;margin-top:6px !important}
}


/* ---------- layer: mob2 ---------- */
/* ===== 19 Nov, round 2: no hairline, sort as plain text like desktop, one system for both sizes ===== */
/* shared: every navigation label is Montserrat 11/16 capitals with .14em, DODAJ + included (desktop and phone) */
/* desktop: the current category's caption is underlined too, as on phones */
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile.is-cur .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r){text-decoration:underline !important;text-underline-offset:5px !important;text-decoration-thickness:1px !important}

@media (max-width:991.98px){
 /* tabs: no hairline; all labels black, the current one underlined (same as desktop captions) */
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__rail:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s):not(#t){border-bottom:0 !important}
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s):not(#t){color:#000 !important}

 /* sort: plain text on the right edge above the grid, like desktop; no bar, no icon; the tap still opens the sheet */
 html body.view-category .category-view .browse-view>.top-toolbar:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){height:auto !important;display:flex !important;justify-content:flex-end !important;margin:8px 0 8px !important;padding:0 !important}
 html body.view-category .category-view .cf-sortwrap>.cf-sortnew:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){position:static !important;width:auto !important;height:32px !important;margin:0 !important;padding:0 !important;background:none !important;border:0 !important;gap:6px !important;font:400 11px/16px Montserrat,sans-serif !important;letter-spacing:.14em !important;text-transform:uppercase !important}
 html body.view-category .category-view .cf-sortwrap>.cf-sortnew:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s)::after{content:none !important;display:none !important}
 html body.view-category .category-view .cf-sortwrap>.cf-sortnew .cf-sortnew__v:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){text-decoration:underline !important;text-underline-offset:4px !important}

 /* tile: DODAJ + under the colours, as on desktop */
 html body.view-category .category-view .product-container .cf-qa:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t){flex-direction:column !important;gap:0 !important;min-height:50px !important;justify-content:flex-start !important}
 html body.view-category .category-view .product-container .cf-qa__plus:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r){height:22px !important}
}
/* sort is text only at every width: no chevron */
html body.view-category .category-view .cf-sortwrap>.cf-sortnew .cf-sortnew__c:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){display:none !important}
html body.view-category .category-view .cf-sortwrap>.cf-sortnew .cf-sortnew__v:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){text-decoration:underline !important;text-underline-offset:4px !important}
/* current category caption underlined at every width */
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile.is-cur .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s):not(#t):not(#u){text-decoration:underline !important;text-underline-offset:5px !important;text-decoration-thickness:1px !important}


/* ---------- layer: mob3 ---------- */
/* ===== 19 Nov, round 3: the sort row = product count left, Poredaj po right, both quiet (grey 11 px capitals) ===== */
html body.view-category .category-view .browse-view>.top-toolbar:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t){display:flex !important;justify-content:space-between !important;align-items:center !important;flex-wrap:nowrap !important;width:auto !important}
html body.view-category .category-view .browse-view>.top-toolbar>.cf-count:not(#p):not(#p):not(#p):not(#p){display:block !important;width:auto !important;max-width:none !important;flex:0 1 auto !important;margin:0 auto 0 0 !important;padding:0 !important;font:400 11px/16px Montserrat,sans-serif !important;letter-spacing:.14em !important;text-transform:uppercase !important;color:#6B6B6B !important;white-space:nowrap}
html body.view-category .category-view .browse-view>.top-toolbar>.orderby-container:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){margin:0 0 0 auto !important;width:auto !important;flex:0 0 auto !important}
html body.view-category .category-view .cf-sortwrap>.cf-sortnew:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t){color:#6B6B6B !important;height:32px !important}
html body.view-category .category-view .cf-sortwrap>.cf-sortnew .cf-sortnew__v:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t){color:#000 !important}
/* desktop: the row spans the grid, 48 px page margins (same edges as the photos) */
@media (min-width:992px){
 html body.view-category .category-view .browse-view>.top-toolbar:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t){margin-left:29px !important;margin-right:29px !important}
}
@media (max-width:991.98px){
 html body.view-category .category-view .browse-view>.top-toolbar:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t){margin:4px -7px 4px !important}
}
/* no underline in the sort row: the chosen order is just black (all widths) */
html body.view-category .category-view .cf-sortwrap>.cf-sortnew .cf-sortnew__v:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t):not(#u){text-decoration:none !important;border-bottom:0 !important;box-shadow:none !important}
html body.view-category .category-view .cf-sortwrap>.cf-sortnew:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t):not(#u),
html body.view-category .category-view .cf-sortwrap>.cf-sortnew *:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t):not(#u){text-decoration:none !important}


/* ---------- layer: mob4 ---------- */
/* prices: 15/22 desktop, 14/20 phones (two steps above the name); the struck old price stays at name size */
html body.view-category .category-view .product-container .product-prices *:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){font-size:15px !important;line-height:22px !important}
html body.view-category .category-view .product-container .product-prices .product-price-before-discount *:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){font-size:13px !important;line-height:22px !important}
@media (max-width:991.98px){
 html body.view-category .category-view .product-container .product-prices *:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){font-size:14px !important;line-height:20px !important}
 html body.view-category .category-view .product-container .product-prices .product-price-before-discount *:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s){font-size:12px !important;line-height:16px !important}
}


/* ---------- quick add as text ---------- */
/* cf-quickadd.js puts a real "Dodaj +" label in every quick-add button; it shows only on the redesigned
   tiles (here and in cf-pdp-tiles.css), so every other tile on the site keeps its bag icon */
.cf-qa__lbl{display:none}
html body.view-category .category-view .product-container .cf-qa__plus .cf-qa__lbl:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){display:block !important;font:300 11px/16px Montserrat,sans-serif !important;letter-spacing:.14em !important;text-transform:uppercase !important;color:#000 !important;white-space:nowrap !important}
html body.view-category .category-view .product-container .cf-qa__plus.is-busy .cf-qa__lbl:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){display:none !important}


/* ===== 19 Nov, after the research pass (Baymard, Apple/Google/WCAG target sizes) =====
   Phones: product names wrap to two lines (a cut-off name is nearly as bad as no name).
   Tap areas: DODAJ + is 44 px tall (it reaches down into the gap between rows, the text does not move);
   colour squares keep their look in a 28 x 36 px tap area. */
html body.view-category .category-view .product-container .cf-qa__plus:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t){height:44px !important;margin:0 0 -22px !important;align-items:flex-start !important;padding:3px 8px 0 !important}
html body.view-category .category-view .product-container .cf-qa__dot:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t){width:28px !important;height:36px !important;margin-top:-8px !important}
@media (max-width:991.98px){
 html body.view-category .category-view .product-container .product-name:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t),html body.view-category .category-view .product-container .product-name a:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t){display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;white-space:normal !important;overflow:hidden !important;text-overflow:ellipsis !important;min-height:32px !important}
 html body.view-category .category-view .product-list-images:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t){margin-bottom:8px !important}
}
@media (max-width:991.98px){html body.view-category .category-view:not(#p):not(#p):not(#q):not(#r){--cu-a:16px !important}}

/* ===== 19 Nov, final review: the current category is marked by its underlined caption only (no box round the photo) ===== */
html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile.is-cur .cf-ctop__ph:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s):not(#t){border-color:transparent !important}

/* ===== 19 Nov, page-by-page review, step 1: the category page =====
   (Everything below 992 px is now the phone design: the breakpoints above were moved from 768 to 992.) */

/* desktop: the category photos are half a product photo, so two of them and their gap are exactly one product
   column and the strip sits on the same edges as the grid; the arrows moved out into the page margin */
@media (min-width:992px){
 html body.view-category .category-view:not(#p):not(#p):not(#q):not(#r){--cu-a:32px !important;--cu-b:24px !important;--cu-c:24px !important}
 html body.view-category .category-view>.cf-ctop:not(#p):not(#q){--tw:calc((var(--pw) - var(--G)) / 2)}
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles):not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q){grid-template-columns:0 minmax(0,1fr) 0 !important;column-gap:0 !important}
 html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav>button[data-cf-ctop="prev"]:not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q):not(#r){margin-left:-44px !important;width:40px !important;max-width:40px !important}
 html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav>button[data-cf-ctop="next"]:not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q):not(#r){margin-left:4px !important;width:40px !important;max-width:40px !important}
}
/* no arrows when every category already fits */
html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__nav[hidden]>button:not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q):not(#r):not(#s){display:none !important}
/* very wide screens: the grid, the count and the sort follow the 96 px margin the title and the strip already use */
@media (min-width:1920px){
 html body.view-category .category-view:not(#p):not(#q){--M:96px}
 html body.view-category .category-view .product-items-container > .row:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s){margin-left:77px !important;margin-right:77px !important}
 html body.view-category .category-view .browse-view>.top-toolbar:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q):not(#r):not(#s):not(#t):not(#u){margin-left:77px !important;margin-right:77px !important}
}
/* sold out: a quiet "Rasprodano" where DODAJ + would be (printed by cf-quickadd.js), so tiles end level */
.cf-qa__none{display:none}
html body.view-category .category-view .product-container .cf-qa .cf-qa__none:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){display:block !important;height:22px !important;padding:3px 0 0 !important;font:300 11px/16px Montserrat,sans-serif !important;letter-spacing:.14em !important;text-transform:uppercase !important;color:#6B6B6B !important;white-space:nowrap !important}
/* phones: a long title shows only its first part ("Žene") */
@media (max-width:575.98px){html body.view-category .category-view .cf-ctop__t .cf-ctop__t-more{display:none !important}}
/* the title's second part looks exactly like the first (an older rule styled spans inside the title differently) */
html body.view-category .category-view>.cf-ctop>.cf-ctop__row>.cf-ctop__t>.cf-ctop__t-more:not(#cf-x):not(#cf-x):not(#cf-x):not(#p):not(#q){font:inherit !important;letter-spacing:inherit !important;text-transform:inherit !important;color:inherit !important}

/* ===== 19 Nov, review step 3: subcategory with sale prices ===== */
/* one order for a sale price at every width: the new price and the -%, then the old price struck through
   (on the same line when the tile is wide enough, underneath when it is not) */
html body.view-category .category-view .product-container .product-prices>.product-price.cf-sale:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){column-gap:8px !important}
html body.view-category .category-view .product-container .product-prices>.product-price.cf-sale>.product-sales-price:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){order:1 !important}
html body.view-category .category-view .product-container .product-prices>.product-price.cf-sale>.product-discount-amount:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){order:2 !important}
html body.view-category .category-view .product-container .product-prices>.product-price.cf-sale>.product-price-before-discount:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){order:3 !important}
/* "Prikazano 3 od 3" under the grid repeats the count above it */
html body.view-category .category-view .browse-view>.productlist-results:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){display:none !important}

/* review step 5 (20 Nov): the current tab has ONE underline on phones and tablets (a second line, drawn as a shadow, had come back) */
@media (max-width:991.98px){
 html body.view-category .category-view>.cf-ctop:not(.cf-etop__tiles) .cf-ctop__tile.is-cur .cf-ctop__cap:not(#p):not(#p):not(#p):not(#p):not(#q):not(#r):not(#s):not(#t):not(#u):not(#v){box-shadow:none !important;padding-bottom:0 !important;margin-top:0 !important}
}

/* 21 Nov (Anur: the loading circle after DODAJ + is not centred): an older rule above (right:-3px, from when the
   button sat in the corner) still nudged the button 3 px right, so the circle, and DODAJ + itself, sat off the
   centre line of the name, price and colours. The trailing letter-space of DODAJ + is taken back for the same reason. */
html body.view-category .category-view .product-container .cf-qa__plus:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q){right:0 !important;left:0 !important}
html body.view-category .category-view .product-container .cf-qa__plus:not(#cf-x):not(#cf-x):not(#cf-x):not(#cf-y):not(#p):not(#q) .cf-qa__lbl{margin-right:-.14em !important}
