/*
 * MUTTI LAB 2.0 — Listing Controls Base V2.0
 * Clean Core Phase 4: presentation absorbed verbatim from retired Catalog Stage4.
 * Historical cascade point preserved by Listing V2.
 */
/* MUTTI LAB v9.4.00 — Stage 4 catalogue experience */
body.tax-product_cat .mutti-category-catalog,
body.post-type-archive-product .mutti-category-catalog,
body.woocommerce-shop .mutti-category-catalog{
  padding:clamp(16px,2vw,24px)!important;
  border:1px solid rgba(19,23,32,.07)!important;
  border-radius:26px!important;
  background:rgba(255,255,255,.70)!important;
  box-shadow:0 18px 50px rgba(23,28,39,.055)!important;
}
.mutti-stage4-heading{display:grid;gap:7px;min-width:0}
.mutti-stage4-heading .mutti-category-toolbar__title{padding-left:0!important}
.mutti-stage4-heading__copy{max-width:760px;margin:0;color:#737985;font-size:13px;line-height:1.55}
.mutti-stage4-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;min-width:0}
.mutti-stage4-controls__left{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.mutti-stage4-quick{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.mutti-stage4-quick a{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 13px;border:1px solid #e3e6eb;border-radius:13px;background:#fff;color:#3b4049;font-size:12px;font-weight:680;line-height:1;text-decoration:none;transition:.16s ease}
.mutti-stage4-quick a i{display:grid;place-items:center;width:19px;height:19px;border-radius:7px;background:#f1f2f5;color:#686d76;font-size:10px;font-style:normal;font-weight:800}
.mutti-stage4-quick a:hover,.mutti-stage4-quick a:focus-visible{border-color:rgba(217,47,104,.28);color:#c5235b;outline:0}
.mutti-stage4-quick a.is-active{border-color:#25282e;background:#25282e;color:#fff}
.mutti-stage4-quick a.is-active i{background:rgba(255,255,255,.13);color:#fff}
.mutti-stage4-sort{flex:0 0 auto;margin:0}
.mutti-stage4-sort label{display:flex;align-items:center;gap:9px;min-height:42px;padding:0 7px 0 12px;border:1px solid #e3e6eb;border-radius:13px;background:#fff}
.mutti-stage4-sort label>span{color:#8b9099;font-size:11px;font-weight:650;white-space:nowrap}
.mutti-stage4-sort select{appearance:none;min-height:34px;max-width:205px;padding:0 30px 0 8px;border:0;background:linear-gradient(45deg,transparent 50%,#80858f 50%) calc(100% - 12px) 15px/5px 5px no-repeat,linear-gradient(135deg,#80858f 50%,transparent 50%) calc(100% - 8px) 15px/5px 5px no-repeat;color:#252a32;font:680 12px/1 inherit;outline:0;cursor:pointer}
.mutti-stage4-price{position:relative;flex:0 0 auto}.mutti-stage4-price>summary{list-style:none;display:flex;align-items:center;gap:7px;min-height:42px;padding:0 12px;border:1px solid #e3e6eb;border-radius:13px;background:#fff;color:#343941;font-size:12px;font-weight:700;cursor:pointer}.mutti-stage4-price>summary::-webkit-details-marker{display:none}.mutti-stage4-price>summary b{display:grid;place-items:center;min-width:19px;height:19px;border-radius:999px;background:#e72578;color:#fff;font-size:10px}.mutti-stage4-price>summary i{font-style:normal;color:#8c9199;transition:transform .16s ease}.mutti-stage4-price[open]>summary i{transform:rotate(180deg)}.mutti-stage4-price__panel{position:absolute;z-index:58;top:calc(100% + 8px);left:0;width:300px;padding:14px;border:1px solid #e0e3e8;border-radius:17px;background:#fff;box-shadow:0 18px 54px rgba(21,25,34,.13)}.mutti-stage4-price__panel>strong{display:block;margin-bottom:9px;color:#343941;font-size:12px}.mutti-stage4-price__panel>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px}.mutti-stage4-price__panel input{width:100%;height:40px;border:1px solid #e0e3e8;border-radius:11px;background:#f8f9fa;color:#2e333b;padding:0 9px;font-size:12px;outline:0}.mutti-stage4-price__panel>div>span{color:#a2a6ad}.mutti-stage4-price__panel footer{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:11px}.mutti-stage4-price__panel footer a{display:inline-flex;align-items:center;min-height:36px;padding:0 8px;color:#7c818a;font-size:11px;font-weight:650;text-decoration:none}.mutti-stage4-price__panel footer button{border:0;min-height:38px;padding:0 14px;border-radius:999px;background:#25282e;color:#fff;font:700 11px/1 inherit;cursor:pointer}
.mutti-stage4-filter{position:relative}
.mutti-stage4-filter>summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid #e3e6eb;border-radius:13px;background:#fff;color:#343941;font-size:12px;font-weight:700;cursor:pointer}
.mutti-stage4-filter>summary::-webkit-details-marker{display:none}
.mutti-stage4-filter>summary svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.mutti-stage4-filter>summary b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#25282e;color:#fff;font-size:10px}
.mutti-stage4-filter>summary>i{font-style:normal;color:#8c9199;transition:transform .16s ease}.mutti-stage4-filter[open]>summary>i{transform:rotate(180deg)}
.mutti-stage4-filter__panel{position:absolute;z-index:60;top:calc(100% + 8px);left:0;width:min(720px,calc(100vw - 40px));padding:17px;border:1px solid #e0e3e8;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(21,25,34,.14)}
.mutti-stage4-filter__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.mutti-stage4-filter__head strong{display:block;color:#23272e;font-size:16px}.mutti-stage4-filter__head small{display:block;margin-top:3px;color:#8b9099;font-size:11px}.mutti-stage4-filter__head button{border:0;background:#f2f3f5;width:32px;height:32px;border-radius:10px;color:#60656e;font-size:20px;cursor:pointer}
.mutti-stage4-filter__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mutti-stage4-filter__grid>label,.mutti-stage4-filter__grid fieldset{min-width:0;margin:0;padding:0;border:0}.mutti-stage4-filter__grid>label>span,.mutti-stage4-filter__grid legend{display:block;margin:0 0 6px;color:#767c86;font-size:11px;font-weight:700}.mutti-stage4-filter__grid select,.mutti-stage4-filter__price input{width:100%;height:42px;border:1px solid #e0e3e8;border-radius:12px;background:#f8f9fa;color:#2e333b;padding:0 11px;font-size:12px;outline:0}.mutti-stage4-filter__price{display:grid!important;grid-template-columns:1fr auto 1fr;gap:7px;align-items:center}.mutti-stage4-filter__price legend{grid-column:1/-1}.mutti-stage4-filter__price>span{color:#a3a7ae}.mutti-stage4-filter__checks{display:flex!important;flex-direction:column;gap:7px}.mutti-stage4-filter__checks legend{margin-bottom:0}.mutti-stage4-filter__checks label{display:flex;align-items:center;gap:8px;min-height:31px;color:#454a53;font-size:12px}.mutti-stage4-filter__checks input{accent-color:#d72a64}
.mutti-stage4-filter__actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:16px;padding-top:13px;border-top:1px solid #eceef1}.mutti-stage4-filter__actions a{display:inline-flex;align-items:center;min-height:40px;padding:0 12px;color:#7a7f88;font-size:12px;font-weight:650;text-decoration:none}.mutti-stage4-filter__actions button{border:0;min-height:42px;padding:0 19px;border-radius:999px;background:#25282e;color:#fff;font:700 12px/1 inherit;cursor:pointer}
.mutti-stage4-active-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-6px 0 16px;padding:9px 11px;border-radius:12px;background:rgba(242,244,247,.82);color:#777d87;font-size:11px}.mutti-stage4-active-summary a{color:#c52259;font-weight:700;text-decoration:none}
/* Existing category-specific controls become peers in the same toolbar. */
.mutti-stage4-controls .mutti-category-brand-filter-v8637,.mutti-stage4-controls .mutti-inline-filters-v8642{margin:0!important}.mutti-stage4-controls .mutti-inline-filters-v8642__active{max-width:100%;padding:0}.mutti-stage4-controls__left>.mutti-inline-filters-v8642__panel{flex:0 0 100%;width:100%;margin-top:2px}
/* Stage 3 dense product cards stay authoritative; archive grids align to full rows. */
body.tax-product_cat .mutti-category-product-grid,body.post-type-archive-product .mutti-category-product-grid,body.woocommerce-shop .mutti-category-product-grid{gap:22px 14px!important}

html[data-mutti-theme="dark"] body.tax-product_cat .mutti-category-catalog,
html[data-mutti-theme="dark"] body.post-type-archive-product .mutti-category-catalog,
html[data-mutti-theme="dark"] body.woocommerce-shop .mutti-category-catalog{background:rgba(45,44,40,.78)!important;border-color:rgba(255,255,255,.08)!important;box-shadow:0 20px 54px rgba(0,0,0,.15)!important}
html[data-mutti-theme="dark"] .mutti-stage4-heading__copy{color:#aaa69f}
html[data-mutti-theme="dark"] .mutti-stage4-quick a,html[data-mutti-theme="dark"] .mutti-stage4-sort label,html[data-mutti-theme="dark"] .mutti-stage4-filter>summary{background:#34332f;border-color:rgba(255,255,255,.10);color:#e9e6e0}
html[data-mutti-theme="dark"] .mutti-stage4-quick a i{background:#3d3b37;color:#bbb7b0}html[data-mutti-theme="dark"] .mutti-stage4-quick a.is-active{background:#f1eee8;border-color:#f1eee8;color:#24231f}html[data-mutti-theme="dark"] .mutti-stage4-quick a.is-active i{background:rgba(36,35,31,.09);color:#24231f}
html[data-mutti-theme="dark"] .mutti-stage4-sort label>span{color:#aaa69f}html[data-mutti-theme="dark"] .mutti-stage4-sort select{color:#ece9e3;background-color:transparent}
html[data-mutti-theme="dark"] .mutti-stage4-price>summary{background:#34332f;border-color:rgba(255,255,255,.10);color:#e9e6e0}html[data-mutti-theme="dark"] .mutti-stage4-price__panel{background:#302f2b;border-color:rgba(255,255,255,.10);box-shadow:0 20px 58px rgba(0,0,0,.25)}html[data-mutti-theme="dark"] .mutti-stage4-price__panel>strong{color:#f0ede7}html[data-mutti-theme="dark"] .mutti-stage4-price__panel input{background:#393833;border-color:rgba(255,255,255,.10);color:#eeeae4}html[data-mutti-theme="dark"] .mutti-stage4-price__panel footer button{background:#f1eee8;color:#24231f}
html[data-mutti-theme="dark"] .mutti-stage4-filter__panel{background:#302f2b;border-color:rgba(255,255,255,.10);box-shadow:0 24px 70px rgba(0,0,0,.28)}html[data-mutti-theme="dark"] .mutti-stage4-filter__head strong{color:#f2efea}html[data-mutti-theme="dark"] .mutti-stage4-filter__head small,html[data-mutti-theme="dark"] .mutti-stage4-filter__grid>label>span,html[data-mutti-theme="dark"] .mutti-stage4-filter__grid legend{color:#aaa69f}html[data-mutti-theme="dark"] .mutti-stage4-filter__head button{background:#3c3a36;color:#ddd9d2}html[data-mutti-theme="dark"] .mutti-stage4-filter__grid select,html[data-mutti-theme="dark"] .mutti-stage4-filter__price input{background:#393833;border-color:rgba(255,255,255,.10);color:#eeeae4}html[data-mutti-theme="dark"] .mutti-stage4-filter__checks label{color:#dedad3}html[data-mutti-theme="dark"] .mutti-stage4-filter__actions{border-color:rgba(255,255,255,.08)}html[data-mutti-theme="dark"] .mutti-stage4-filter__actions button{background:#f1eee8;color:#24231f}html[data-mutti-theme="dark"] .mutti-stage4-active-summary{background:rgba(57,56,51,.88);color:#aaa69f}

@media(max-width:980px){.mutti-stage4-controls{align-items:flex-start;flex-direction:column}.mutti-stage4-controls__left{width:100%}.mutti-stage4-sort{width:100%}.mutti-stage4-sort label{justify-content:space-between;width:100%}.mutti-stage4-sort select{max-width:none;flex:1;text-align:right}.mutti-stage4-filter__panel{position:fixed;left:16px;right:16px;top:50%;width:auto;max-height:80vh;overflow:auto;transform:translateY(-50%)} }
@media(max-width:640px){.mutti-stage4-controls__left{flex-wrap:wrap!important;overflow:visible!important}.mutti-stage4-quick{width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.mutti-stage4-quick::-webkit-scrollbar{display:none}.mutti-stage4-price__panel{position:fixed;left:12px;right:12px;top:50%;width:auto;transform:translateY(-50%)}body.tax-product_cat .mutti-category-catalog,body.post-type-archive-product .mutti-category-catalog,body.woocommerce-shop .mutti-category-catalog{padding:14px!important;border-radius:20px!important}.mutti-stage4-heading__copy{font-size:12px}.mutti-stage4-quick a{min-height:40px;padding:0 11px;white-space:nowrap}.mutti-stage4-filter{flex:0 0 auto}.mutti-stage4-filter__grid{grid-template-columns:1fr}.mutti-stage4-filter__panel{left:10px;right:10px;padding:14px;border-radius:17px}.mutti-stage4-active-summary{margin-top:-4px}}
@media(prefers-reduced-motion:reduce){.mutti-stage4-quick a,.mutti-stage4-filter>summary>i{transition:none!important}}
