/* Catalog-only rules, loaded after the storefront theme. */
body.mz-store .catalog-layout{display:grid;grid-template-columns:248px minmax(0,1fr);gap:26px;align-items:start}
body.mz-store .catalog-layout.catalog-without-filters{grid-template-columns:minmax(0,1fr)}
body.mz-store .catalog-sidebar{padding:0;border:0;background:none;min-width:0}
body.mz-store .catalog-facets{padding:0;background:#fff;border:1px solid #d6ddd7;border-radius:10px;overflow:visible}
.catalog-facets>summary{padding:20px;min-height:76px;gap:12px}
.catalog-facets>summary strong{display:block;font-size:19px;color:#202927}
.catalog-facets>summary small{display:block;font-size:11px;color:#637069;font-weight:400;margin-top:4px;line-height:1.5}
.catalog-facets .filter-count{background:#edf2ed;color:#32443b;display:grid;place-items:center;min-width:26px;height:26px;border-radius:7px;font-size:13px}
body.mz-store .catalog-facets form{display:block;margin:0;gap:0;padding:0}
.catalog-facets .facet-search{padding:16px 18px;border-top:1px solid #e5e9e3}
.catalog-facets .facet-search label{display:block;font-size:12px;font-weight:700;margin:0 0 8px}
.catalog-facets .facet-search input,.catalog-facets .facet-search select{width:100%;min-width:0;margin:0;font-size:12px}
.catalog-facets .facet-group{border:0;border-top:1px solid #e5e9e3;padding:0 18px;background:none;border-radius:0}
.facet-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:13px;font-weight:750;min-height:52px;padding:12px 0;line-height:1.5;color:#27362f}
.facet-group>summary::-webkit-details-marker,.catalog-facets>summary::-webkit-details-marker{display:none}
.facet-group>summary>span:last-child{font-size:0;flex:0 0 22px;height:22px;border-radius:6px;background:#f0f4ef;display:grid;place-items:center;color:#516057}
.facet-group>summary>span:last-child:after{content:'+';font-size:16px;font-weight:500}
.facet-group[open]>summary>span:last-child:after{content:'−'}
.facet-group>summary b{font-size:10px;background:#eaf0e9;color:#3c5142;border-radius:4px;padding:2px 5px;margin-left:7px}
.catalog-facets .facet-options{padding-bottom:12px;max-height:320px;overflow:auto;overscroll-behavior:auto;scrollbar-width:thin}
body.mz-store .catalog-facets label.facet-option{display:flex;align-items:start;gap:10px;position:relative;min-height:36px;padding:8px 0;margin:0;font-size:12px;line-height:1.55;font-weight:450;color:#37473f;cursor:pointer}
body.mz-store .catalog-facets .facet-option input{appearance:auto;accent-color:#bd441a;padding:0;min-width:17px;width:17px;height:17px;min-height:17px;margin:1px 0 0;flex:0 0 17px;border-radius:3px;cursor:pointer}
.facet-option>span{flex:1;min-width:0;overflow-wrap:anywhere}
.facet-option:has(input:checked)>span{font-weight:750;color:#26392e}
.facet-option>small{color:#758179;font-size:10px;line-height:1.8;flex-shrink:0}
.catalog-facets .facet-option-search{width:100%;min-width:0;height:36px;min-height:36px;margin:0 0 8px;border-radius:5px;font-size:11px;padding:8px 10px}
.facet-group.is-enhanced:not(.is-expanded) .facet-option[data-more]{display:none}
.facet-more{display:none;min-height:36px;border:0;background:none;color:#ab3c19;font-size:11px;font-weight:750;cursor:pointer;padding:0 0 12px}
.facet-group.is-enhanced .facet-more{display:block}
.facet-group.is-searching .facet-more{display:none}
.catalog-facets .facet-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 0 18px}
.catalog-facets .facet-prices label{font-size:10px;font-weight:450;color:#627167;margin:0;min-width:0}
body.mz-store .catalog-facets .facet-prices label{grid-column:auto}
.catalog-facets .facet-options{scrollbar-gutter:stable;padding:6px 7px 12px 6px;margin-left:-6px}
body.mz-store .catalog-facets .facet-option input{width:19px;height:19px;min-width:19px;min-height:19px;flex-basis:19px}
body.mz-store .catalog-facets .facet-option input:focus{outline:none;box-shadow:none}
body.mz-store .catalog-facets .facet-option input:focus-visible{outline:2px solid #a43d19;outline-offset:3px}
.catalog-facets .facet-prices input{width:100%;min-width:0;height:40px;margin:6px 0 0;font-size:12px;padding:9px}
.catalog-facets .facet-apply{position:sticky;bottom:12px;padding:16px 18px;border-top:1px solid #e5e9e3;background:#fff;border-radius:0 0 10px 10px;box-shadow:0 -4px 10px #172b1805;z-index:2}
.catalog-facets .facet-apply .button{width:100%;min-height:46px;justify-content:space-between;padding:12px 15px;font-size:12px}
.facet-apply .facet-clear{display:block;text-align:center;text-decoration:underline;text-underline-offset:3px;color:#56685b;font-size:11px;padding:14px 0 7px}
.facet-apply>small{display:block;font-size:10px;text-align:center;color:#758077;line-height:1.6}
.facet-apply .facet-draft{font-size:11px;line-height:1.5;color:#9c3817;margin:0 0 10px}
body.mz-store .catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px;padding:0;border:0}
.catalog-toolbar>div>strong{font-size:17px;color:#25392e}
.catalog-toolbar>div>small{display:block;color:#748076;font-size:10px;margin-top:5px}
.catalog-toolbar .catalog-sort{display:flex;align-items:center;gap:9px;margin:0;font-size:11px;color:#617166}
.catalog-sort select{width:180px;font-size:12px;height:44px;min-height:44px;background:#fff;border:1px solid #d6ddd7;border-radius:7px;padding:10px}
.active-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 17px;font-size:11px}
.active-filters>span{color:#748077;font-size:10px;margin-right:2px}
.active-filters>a{display:inline-flex;align-items:center;gap:8px;border:1px solid #d7e0d6;border-radius:20px;padding:6px 10px;background:#fff;color:#475e4e;max-width:100%;overflow-wrap:anywhere}
.active-filters>a b{font-size:15px;font-weight:400}
.active-filters>a:hover{border-color:#a43b18;color:#a43b18}
.active-filters>a.clear-all{border:0;background:none;color:#b0401a;font-weight:700}
/* Keep the quantity, complete CTA and favourite control on the same line. */
body.mz-store .catalog-product-list .catalog-product-row{grid-template-columns:125px minmax(0,1fr) 330px;gap:18px}
body.mz-store .catalog-product-row .catalog-row-actions{display:flex;align-items:center;gap:8px;min-width:0;width:100%}
body.mz-store .catalog-row-actions .catalog-quick-cart{display:flex;flex:1 1 auto;gap:8px;min-width:0;width:auto;margin:0}
body.mz-store .catalog-row-actions .catalog-quantity{flex:0 0 90px;width:90px;grid-template-columns:26px minmax(0,1fr) 26px;height:44px}
body.mz-store .catalog-row-actions .catalog-quantity button{width:26px;min-width:0}
body.mz-store .catalog-row-actions .catalog-quick-cart>.button,body.mz-store .catalog-row-actions>a.button{display:flex;justify-content:center;align-items:center;flex:1 1 auto;min-width:125px;white-space:nowrap;overflow:visible;text-overflow:clip;height:44px;padding:0 10px;font-size:13px;letter-spacing:0;gap:6px}
body.mz-store .catalog-row-actions .catalog-quick-cart>.button>.icon{display:block;flex:0 0 17px;width:17px;height:17px;margin:0}
body.mz-store .catalog-row-actions .catalog-save{flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:10px;margin:0}
body.mz-store .catalog-row-actions .catalog-save>.icon{width:22px;height:22px;margin:0}
body.mz-store .catalog-row-purchase .catalog-purchase-assurance{font-size:10px;gap:7px}
@media(max-width:1180px){body.mz-store .catalog-layout{display:block}.catalog-facets{margin-bottom:20px}.catalog-facets>summary{min-height:64px;padding:14px 18px}.catalog-facets>summary strong{font-size:16px}.catalog-facets .facet-apply{bottom:0}}
@media(max-width:900px){body.mz-store .catalog-product-list .catalog-product-row{grid-template-columns:130px minmax(0,1fr)}body.mz-store .catalog-product-row .catalog-row-purchase{grid-column:1/-1;grid-row:2}.catalog-facets .facet-options{max-height:260px}}
@media(max-width:600px){body.mz-store .catalog-product-list .catalog-product-row{grid-template-columns:96px minmax(0,1fr);gap:14px}body.mz-store .catalog-product-row .catalog-row-purchase{padding:14px 0 0}.catalog-toolbar>div>strong{font-size:15px}.catalog-toolbar .catalog-sort{font-size:0;gap:0}.catalog-sort select{width:145px;font-size:11px}.catalog-facets .facet-apply{bottom:0;padding-bottom:max(16px,env(safe-area-inset-bottom))}body.mz-store .catalog-facets label.facet-option{min-height:42px;padding:11px 0;font-size:13px}.active-filters{gap:6px}}
@media(max-width:380px){body.mz-store .catalog-row-actions,body.mz-store .catalog-row-actions .catalog-quick-cart{gap:6px}body.mz-store .catalog-row-actions .catalog-quantity{flex-basis:76px;width:76px;grid-template-columns:23px minmax(0,1fr) 23px}body.mz-store .catalog-row-actions .catalog-quantity button{width:23px}body.mz-store .catalog-row-actions .catalog-save{flex-basis:40px;width:40px;min-width:40px;padding:8px}body.mz-store .catalog-row-actions .catalog-quick-cart>.button{min-width:115px;padding:0 7px;font-size:12px;gap:5px}.catalog-sort select{width:137px}}

.catalog-sort .smart-select{width:180px;min-width:0}
.catalog-sort .smart-select-trigger{height:44px;min-height:44px;font-size:12px}
body.mz-store .catalog-row-actions .catalog-quick-cart>.button:disabled{background:#d3dad6;color:#fff;box-shadow:none;opacity:1;cursor:not-allowed}
body.mz-store .catalog-row-actions .catalog-quantity:has(input:disabled){color:#8a9990;background:#fafcfb}
@media(max-width:600px){.catalog-sort .smart-select{width:145px}.catalog-sort .smart-select-trigger{font-size:11px}}
@media(max-width:380px){.catalog-sort .smart-select{width:137px}}

/* The disclosure stays clear with or without selected filters. */
.catalog-facets>summary{display:flex;list-style:none;cursor:pointer}
.catalog-facets>summary::-webkit-details-marker{display:none}
.catalog-facets>summary>.filter-count{margin-left:auto;flex-shrink:0}
.catalog-facets>summary::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex-shrink:0;margin-left:1px}
.catalog-facets[open]>summary::after{transform:rotate(225deg)}
