/* mazuz-redesign · catalog.css
   Product archive (shop / category / tag / product search): breadcrumb, title banner, sub-category chips,
   filter panel (GET form), sort bar, results grid, pagination, empty state, "more categories".
   Also loaded on the product page (breadcrumb + shared pieces).
   Values follow redesign/reference/css/catalog.css. Everything is scoped under body.mzr-full; the product
   card and the base grid live in base.css. Nothing here targets WooCommerce's form.cart. */

/* ---- breadcrumb ---- */
.mzr-full .crumb{font-size:14px;line-height:1.6;color:var(--ink2);padding-block:18px 0;margin:0}
.mzr-full .crumb a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.mzr-full .crumb a:hover{color:var(--navy-d)}
.mzr-full .crumb .sep{margin-inline:2px}

/* ---- title banner ---- */
.mzr-full .chero{margin-top:14px;position:relative;isolation:isolate;border-radius:var(--r);overflow:hidden;min-height:260px;display:flex;align-items:center;padding:clamp(24px,4vw,48px);color:#fff;background:var(--navy-d)}
.mzr-full .chero .pic{position:absolute;inset:0;z-index:-2}
.mzr-full .chero .pic img{width:100%;height:100%;max-width:none;object-fit:cover;display:block}
.mzr-full .chero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,rgba(24,56,72,.9),rgba(24,56,72,.55) 45%,rgba(24,56,72,0) 78%)}
.mzr-full .chero.plain{min-height:0;padding:clamp(22px,3vw,34px) clamp(20px,3vw,40px)}
.mzr-full .chero.plain::after{background:linear-gradient(270deg,var(--navy-d),var(--navy))}
.mzr-full .chero h1{font-size:clamp(28px,3.6vw,42px);line-height:1.2;margin:0;padding-bottom:12px;position:relative;color:#fff;overflow-wrap:anywhere}
.mzr-full .chero h1::after{content:"";position:absolute;right:0;bottom:0;width:64px;height:3px;background:var(--orange)}
.mzr-full .chero .cdesc-in{margin:12px 0 0;font-size:17px;max-width:60ch;color:#E6EDF1}
.mzr-full .chero .cdesc-in p{margin:0 0 6px}
.mzr-full .chero .cdesc-in p:last-child{margin:0}
.mzr-full .chero .cdesc-in a{text-decoration:underline}

/* ---- sub-category chips (links) ---- */
.mzr-full .tabs.subs{justify-content:flex-start;margin:16px 0 0}
.mzr-full .subs .sl{align-self:center;font-weight:700;color:var(--navy);margin-inline-end:4px}
.mzr-full .tabs.subs a{display:inline-flex;align-items:center;font-size:15px;font-weight:500;background:#fff;border:1.5px solid var(--line);border-radius:var(--r);padding:0 18px;min-height:44px;color:var(--ink);transition:border-color .2s,background .2s,color .2s}
.mzr-full .tabs.subs a:hover{border-color:var(--navy)}
.mzr-full .tabs.subs a[aria-current]{background:var(--navy);border-color:var(--navy);color:#fff}

/* ---- layout: filters + results ---- */
.mzr-full .shop{display:grid;grid-template-columns:270px minmax(0,1fr);gap:26px;align-items:start;margin-top:22px}
.mzr-full .results{min-width:0}

/* ---- filter panel ---- */
.mzr-full .filters{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:6px 18px 16px;position:sticky;top:150px}
.mzr-full .filters form{margin:0}
.mzr-full .fhead{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:2px solid var(--navy);min-height:56px}
.mzr-full .fhead b{font-size:18px;color:var(--navy)}
.mzr-full .fhead span{display:flex;align-items:center;gap:10px}
.mzr-full .freset{color:var(--navy);text-decoration:underline;text-underline-offset:3px;font-size:14px;padding:6px 0}
.mzr-full .filters fieldset{border:0;border-bottom:1px solid var(--line);margin:0;padding:14px 0;min-width:0}
.mzr-full .filters fieldset:last-of-type{border-bottom:0;padding-bottom:0}
.mzr-full .filters legend{font-weight:700;color:var(--navy);padding:0;margin-bottom:8px;float:right;width:100%}
.mzr-full .chk{display:flex;align-items:center;gap:10px;min-height:40px;cursor:pointer;clear:both;font-size:15px}
.mzr-full .chk input{width:19px;height:19px;accent-color:var(--navy);flex:none;margin:0}
.mzr-full .chk span{flex:1}

/* price: two number fields (work without JS) + a two-thumb slider that JS switches on */
.mzr-full .range{position:relative;height:34px;clear:both;margin-bottom:6px}
.mzr-full .rtrack{position:absolute;top:15px;left:0;right:0;height:5px;border-radius:3px;background:var(--line)}
.mzr-full .rfill{position:absolute;top:0;bottom:0;right:0;left:0;background:var(--orange);border-radius:3px}
.mzr-full .range input{position:absolute;inset:0;width:100%;margin:0;padding:0;border:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none;height:34px;direction:rtl}
.mzr-full .range input::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:22px;height:22px;border-radius:50%;background:#fff;border:3px solid var(--navy);cursor:pointer;box-shadow:0 2px 6px rgba(24,56,72,.3);margin-top:0}
.mzr-full .range input::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid var(--navy);cursor:pointer}
.mzr-full .range input::-webkit-slider-runnable-track{background:none;height:22px}
.mzr-full .range input::-moz-range-track{background:none}
.mzr-full .range input:focus-visible{outline:0}
.mzr-full .range input:focus-visible::-webkit-slider-thumb{outline:3px solid var(--orange);outline-offset:2px}
.mzr-full .range input:focus-visible::-moz-range-thumb{outline:3px solid var(--orange);outline-offset:2px}
.mzr-full .rvals{display:flex;justify-content:space-between;gap:10px;clear:both;font-size:14.5px;color:var(--ink2)}
.mzr-full .rvals label{display:flex;align-items:center;gap:5px;min-width:0}
.mzr-full .rvals i{font-style:normal;font-weight:700;color:var(--navy)}
.mzr-full .rvals input{font:inherit;font-size:16px;font-weight:700;color:var(--navy);width:74px;min-height:40px;padding:0 8px;border:1.5px solid var(--line);border-radius:var(--r);background:#fff;text-align:center;-moz-appearance:textfield;appearance:textfield;direction:ltr}
.mzr-full .rvals input::-webkit-outer-spin-button,.mzr-full .rvals input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.mzr-full .rvals input:focus{border-color:var(--navy)}

.mzr-full .filters .fapply{width:100%;margin-top:16px}
.mzr-full .filters.js .fapply{display:none}
.mzr-full .fclose{display:none}
.mzr-full .fscrim{display:none}

/* ---- sort bar ---- */
.mzr-full .tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;flex-wrap:wrap;padding:10px 16px;background:var(--band);border:1px solid var(--line);border-radius:var(--r)}
.mzr-full .tools b{font-weight:500;color:var(--ink2);font-size:15px}
.mzr-full .tools label{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500;margin:0}
.mzr-full .tools select{font:inherit;font-size:15px;border:1.5px solid var(--line);border-radius:var(--r);background-color:#fff;color:var(--ink);padding:0 12px;min-height:42px;max-width:100%}
.mzr-full .tools .sortgo{min-height:42px;padding:0 16px}
.mzr-full .fopen{display:none}
.mzr-full .fopen i{font-style:normal;background:var(--orange);color:var(--orange-ink);border-radius:999px;font-size:12px;font-weight:700;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;margin-inline-start:6px}

/* ---- results ---- */
.mzr-full .more{border:1.5px dashed var(--line);border-radius:var(--r);padding:28px 16px;margin:0;text-align:center;color:var(--ink2);font-size:15.5px}
.mzr-full .more a{color:var(--navy);font-weight:700;text-decoration:underline;text-underline-offset:3px;margin-inline-start:6px}
.mzr-full .cdesc{margin-top:40px;padding-top:24px;border-top:1px solid var(--line);color:var(--ink2);font-size:15px;max-width:90ch}
.mzr-full .cdesc h2,.mzr-full .cdesc h3{font-size:20px;padding:0;margin:18px 0 8px}
.mzr-full .cdesc a{color:var(--navy);text-decoration:underline}
.mzr-full .mzr-archive,.mzr-full .mzr-single{padding-bottom:56px}

/* ---- more categories ---- */
.mzr-full .others{margin-top:56px;text-align:center}
.mzr-full .others h2{font-size:24px;display:inline-block}
.mzr-full .others h2::after{content:"";position:absolute;right:50%;transform:translateX(50%);bottom:0;width:64px;height:3px;background:var(--orange)}
.mzr-full .others div{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;justify-content:center}
.mzr-full .others a{border:1.5px solid var(--line);border-radius:var(--r);padding:0 20px;min-height:48px;display:flex;align-items:center;gap:10px;font-weight:500;transition:border-color .2s,color .2s}
.mzr-full .others a:hover{border-color:var(--navy);color:var(--navy)}
.mzr-full .others a svg{width:20px;height:20px;color:var(--navy);flex:none}

/* ---- pagination (WooCommerce's markup: nav.woocommerce-pagination > ul.page-numbers > li > a | span) ---- */
.mzr-full .woocommerce-pagination{margin:28px 0 0;text-align:center;border:0;padding:0}
.mzr-full .woocommerce-pagination ul.page-numbers{list-style:none;margin:0;padding:0;border:0;display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px}
.mzr-full .woocommerce-pagination ul.page-numbers li{margin:0;padding:0;border:0;float:none;display:block;overflow:visible}
.mzr-full .woocommerce-pagination .page-numbers a,.mzr-full .woocommerce-pagination .page-numbers span{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;background:#fff;border:1.5px solid var(--line);border-radius:var(--r);color:var(--ink);font-size:15px;font-weight:500;line-height:1;text-decoration:none;transition:border-color .2s,background .2s,color .2s}
.mzr-full .woocommerce-pagination .page-numbers a:hover,.mzr-full .woocommerce-pagination .page-numbers a:focus-visible{border-color:var(--navy);color:var(--navy);background:#fff}
.mzr-full .woocommerce-pagination .page-numbers span.current{background:var(--navy);border-color:var(--navy);color:#fff;font-weight:700}
.mzr-full .woocommerce-pagination .page-numbers span.dots{border-color:transparent;background:transparent;min-width:24px;padding:0;color:var(--ink2)}
.mzr-full .woocommerce-pagination .page-numbers a.next,.mzr-full .woocommerce-pagination .page-numbers a.prev{padding:0 18px;font-weight:700;color:var(--navy);border-color:var(--navy)}
.mzr-full .woocommerce-pagination .page-numbers a.next:hover,.mzr-full .woocommerce-pagination .page-numbers a.prev:hover{background:var(--navy);color:#fff}

@media (min-width:901px){
  .mzr-full .results .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:900px){
  .mzr-full .crumb{font-size:13.5px;padding-block:12px 0}
  .mzr-full .chero{min-height:170px;padding:18px;margin-top:10px}
  .mzr-full .chero::after{background:linear-gradient(0deg,rgba(24,56,72,.92),rgba(24,56,72,.45))}
  .mzr-full .chero.plain{min-height:0;padding:16px 16px 18px}
  .mzr-full .chero h1{font-size:24px}
  .mzr-full .chero .cdesc-in{font-size:15px}
  .mzr-full .tabs.subs{margin-top:12px}
  .mzr-full .tabs.subs a{white-space:nowrap;flex:none}
  .mzr-full .subs .sl{display:none}
  .mzr-full .shop{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:14px}
  .mzr-full .mzr-archive,.mzr-full .mzr-single{padding-bottom:36px}

  /* without JS the panel simply sits above the results; with JS it becomes a bottom sheet */
  .mzr-full .filters{position:static}
  .mzr-full .filters.js{display:none;position:fixed;inset:auto 0 0 0;z-index:99961;max-height:86vh;overflow:auto;overscroll-behavior:contain;border-radius:16px 16px 0 0;border:0;padding:0 16px calc(86px + env(safe-area-inset-bottom,0px))}
  .mzr-full .filters.js.open{display:block;animation:mzr-sheetUp .35s var(--ease)}
  .mzr-full .fscrim{position:fixed;inset:0;z-index:99960;background:rgba(17,36,47,.55);border:0;padding:0;width:100%;height:100%;cursor:default}
  .mzr-full .fscrim.on{display:block}
  .mzr-full .filters.js .fhead{position:sticky;top:0;background:#fff;z-index:2;padding:14px 0}
  .mzr-full .filters.js .fclose{display:inline-grid;place-items:center;width:44px;height:44px}
  .mzr-full .chk{min-height:46px;font-size:16px}
  .mzr-full .chk input{width:22px;height:22px}
  .mzr-full .range input::-webkit-slider-thumb{width:28px;height:28px}
  .mzr-full .range input::-webkit-slider-runnable-track{height:28px}
  .mzr-full .rvals input{width:92px;min-height:46px}
  .mzr-full .filters.js .fapply{display:flex;position:fixed;inset:auto 16px calc(14px + env(safe-area-inset-bottom,0px)) 16px;width:auto;min-height:52px;margin:0;z-index:3}
  .mzr-full .filters.js:not(.open) .fapply{display:none}

  .mzr-full .results .tools{position:sticky;top:0;z-index:5;margin:0 -14px 12px;border-radius:0;border-inline:0;padding:8px 14px;flex-wrap:nowrap;gap:8px}
  .mzr-full .tools b{font-size:13.5px;white-space:nowrap;margin-inline-end:auto}
  .mzr-full .tools label{font-size:0;gap:0;min-width:0}
  .mzr-full .tools select{font-size:16px;min-height:44px;padding:0 8px;min-width:0}
  .mzr-full .fopen{display:inline-flex;align-items:center;flex:none;background:var(--navy);color:#fff;border:0;border-radius:var(--r);min-height:44px;padding:0 16px;font-weight:700}
  .mzr-full .more{padding:22px 14px}
  .mzr-full .others{margin-top:36px}
  .mzr-full .others a{min-height:46px;padding:0 14px}
  .mzr-full .woocommerce-pagination{margin-top:18px}
  .mzr-full .woocommerce-pagination ul.page-numbers{gap:6px}
  .mzr-full .woocommerce-pagination .page-numbers a.next,.mzr-full .woocommerce-pagination .page-numbers a.prev{padding:0 14px}
}

/* ---- round B: one-to-one with the mock ---- */
.mzr-full .chero>div>p{margin:12px 0 0;font-size:17px;max-width:44ch;color:#E6EDF1}
.mzr-full .chero .pic img{transition:transform .8s var(--ease)}
.mzr-full .chk i{font-style:normal;font-size:13px;color:var(--ink2);background:var(--band);border-radius:999px;padding:1px 9px}
.mzr-full .filters fieldset:last-of-type{padding-bottom:4px}
/* price values: with JS they read like the mock's text ("מ-₪5 ... עד ₪249") and stay editable on click */
.mzr-full .rvals label i{order:2}
.mzr-full .rvals label input{order:1}
.mzr-full .filters.js .rvals{margin-top:4px}
.mzr-full .filters.js .rvals label{gap:0;cursor:text}
.mzr-full .filters.js .rvals label span{margin-inline-end:4px}
.mzr-full .filters.js .rvals input{width:5ch;min-width:2.2ch;min-height:30px;padding:0;border:0;border-bottom:1.5px solid transparent;border-radius:0;background:none;text-align:left;font-size:14.5px}
.mzr-full .filters.js .rvals input:hover,.mzr-full .filters.js .rvals input:focus{border-bottom-color:var(--navy);outline:0}
.mzr-full .filters.js .rvals i{font-size:14.5px}
/* the biggest deal in the category */
.mzr-full .feat{margin-top:18px;display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:center;background:#fff;border:1px solid var(--line);border-inline-start:4px solid var(--orange);border-radius:var(--r);padding:18px;transition:box-shadow .25s}
.mzr-full .feat:hover{box-shadow:0 8px 24px rgba(24,56,72,.12)}
.mzr-full .feat .ph{aspect-ratio:1;width:100%}
.mzr-full .mzr-main .ft{display:flex;flex-direction:column;gap:10px;align-items:flex-start;min-width:0}
.mzr-full .mzr-main .ft small{font-size:14px;font-weight:700;color:var(--orange-d)}
.mzr-full .mzr-main .ft b{font-size:22px;line-height:1.35;color:var(--navy);overflow-wrap:anywhere}
.mzr-full .mzr-main .ft .price{display:flex;align-items:baseline;gap:4px 9px;flex-wrap:wrap;justify-content:flex-start;font-size:28px;font-weight:700;line-height:1.2;color:var(--navy)}
.mzr-full .mzr-main .ft .price ins{order:1;text-decoration:none;background:none;color:inherit}
.mzr-full .mzr-main .ft .price del{order:2;color:var(--ink2);font-size:14px;font-weight:400}
.mzr-full .mzr-main .ft i.btn{font-style:normal;min-height:44px}
/* a price range ("₪99 – ₪220") stays on one line */
.mzr-full .p .price,.mzr-full .stick .price{white-space:nowrap}
.mzr-full .p .price>.amount,.mzr-full .p .price>span[aria-hidden]{white-space:nowrap}
@media (max-width:900px){
  .mzr-full .chero>div>p{font-size:15px}
  .mzr-full .feat{grid-template-columns:110px minmax(0,1fr);gap:14px;padding:12px;margin-top:12px}
  .mzr-full .mzr-main .ft b{font-size:16px}
  .mzr-full .mzr-main .ft .price{font-size:22px}
  .mzr-full .mzr-main .ft i.btn{display:none}
  .mzr-full .filters.js .rvals input{width:6ch;min-height:40px;font-size:16px}
  .mzr-full .p .price{font-size:17px;gap:2px 6px}
}
@media (max-width:400px){
  .mzr-full .p .price{font-size:15.5px}
}
/* brand group: past the first 12 the rest waits behind "show more" (only once JS is there to open it) */
.mzr-full .filters.js .fbrand:not(.open) .chk.xtra{display:none}
.mzr-full .filters .fmore{clear:both;display:inline-flex;align-items:center;min-height:40px;margin-top:2px;padding:0;border:0;background:none;font:inherit;font-size:14.5px;font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.mzr-full .filters .fmore[hidden]{display:none}
.mzr-full .filters .fmore:hover{color:var(--navy-d)}
.mzr-full .filters .fmore:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
@media (max-width:900px){
  .mzr-full .filters .fmore{min-height:46px;font-size:16px}
}
/* with the brand list the panel can be taller than the window: it scrolls inside itself instead of being cut off */
@media (min-width:901px){
  .mzr-full .filters{max-height:calc(100vh - 170px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
}
.mzr.sheet-open{overflow:hidden}
@keyframes mzr-sheetUp{from{transform:translateY(100%)}}
