/* Persistent prototype filter controls; no WOOF redraw or third-party slider UI. */
body.mc-live-catalog .ct-filter-sidebar{display:block}
body.mc-live-catalog .ct-results{position:relative;min-width:0}
.mc-live-catalog #mc-filter-content{font-size:14px;padding:0}
.mc-catalog-filter-form .ct-filter-heading{margin-bottom:10px}
.mc-catalog-filter-form .ct-filter-heading h2{font-size:21px;margin:0}
.mc-catalog-filter-form .ct-filter-group{border-bottom:1px solid var(--border);padding:12px 0 16px}
.mc-catalog-filter-form .ct-filter-group>summary{font-size:14px;font-weight:700;min-height:44px}
.mc-catalog-filter-form .ct-filter-group-body{padding-top:6px}
.mc-catalog-filter-form .ct-price-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mc-catalog-filter-form .ct-price-range input{height:44px;min-height:44px;padding:8px 10px;font-size:14px;border-color:var(--border);background:white}
.mc-catalog-filter-form .ct-checkbox{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px;line-height:1.4}
.mc-catalog-filter-form .ct-checkbox input{margin:0;width:18px;height:18px;accent-color:var(--coral);flex:none}
.mc-catalog-filter-form .ct-checkbox>span{display:flex;align-items:center;gap:9px;overflow-wrap:anywhere}
.mc-facet-options{max-height:264px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:3px 5px 3px 2px}
.mc-catalog-filter-form .ct-size-filters{display:flex;flex-wrap:wrap;gap:8px;max-height:none;overflow:visible}
.mc-catalog-filter-form .ct-size-filters label{position:relative;flex:0 1 auto;max-width:100%;margin:0}
.mc-catalog-filter-form .ct-size-filters input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.mc-catalog-filter-form .ct-size-filters span{display:flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:30px;min-height:44px;padding:9px 13px;font-size:13px;overflow-wrap:anywhere;text-align:center}
.mc-catalog-filter-form .ct-size-filters input:checked+span{background:var(--navy);color:white;border-color:var(--navy)}
.mc-catalog-filter-form .ct-size-filters input:focus-visible+span{outline:3px solid #3579c5;outline-offset:3px}
.mc-filter-swatch{display:block;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:var(--mc-swatch);border:1px solid #aab0b8;box-shadow:inset 0 0 0 2px #ffffff80}
.mc-facet-help{font-size:11px!important;line-height:1.5;color:var(--muted);margin:10px 0 0!important}
.mc-facet-search{display:block;margin:2px 0 10px}
.mc-facet-search input{font-size:12px;padding:8px 10px;min-height:40px}
.mc-facet-no-match{font-size:12px;color:var(--muted);margin:8px 0}
.mc-filter-form-actions{display:grid;grid-template-columns:1fr;gap:10px;padding:18px 0;background:white}
.mc-filter-form-actions .btn{font-size:13px;padding-inline:10px;width:100%}
.mc-filter-form-actions>a{display:none}
.mc-catalog-ordering{margin-left:auto;display:flex;align-items:center;gap:8px;min-width:0}
.mc-catalog-ordering label{min-width:0;margin:0}
.mc-catalog-ordering select{border:0;background:transparent;max-width:220px;font-size:13px;padding:10px 22px 10px 8px;min-height:44px}
.mc-catalog-results .ct-results-footer form{display:flex;align-items:center;gap:8px}
.mc-catalog-enhanced .mc-nojs-submit{display:none}
.mc-catalog-results .ct-active-filters{margin:0 0 18px;display:flex;gap:8px;flex-wrap:wrap}
.mc-catalog-results .ct-active-filters:empty{display:none}
.mc-catalog-results .ct-filter-chip{text-decoration:none;line-height:1.45;overflow-wrap:anywhere;max-width:100%}
.mc-catalog-results .ct-filter-chip:hover{border-color:var(--red);color:var(--red)}
.mc-catalog-error{border:1px solid #e5a5b2;background:var(--pink);border-radius:10px;padding:16px;margin:0 0 18px;font-size:14px}
.mc-catalog-error p{margin:0 0 12px}.mc-catalog-error>div{display:flex;flex-wrap:wrap;gap:10px}
.mc-filter-category-tree{list-style:none;margin:0;padding:0!important}
.mc-filter-category-tree .mc-filter-category-tree{padding-left:14px!important;border-left:1px solid var(--border)}
.mc-filter-category-tree a,.mc-filter-category-tree summary{display:flex;align-items:center;min-height:44px;padding:8px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.mc-filter-category-tree summary{cursor:pointer;gap:8px;list-style:none}
.mc-filter-category-tree summary:before{content:'+';font-size:18px;flex:none;color:var(--muted)}
.mc-filter-category-tree details[open]>summary:before{content:'−'}
.mc-filter-category-tree a[aria-current]{color:var(--red);font-weight:700}
body.search.mc-live-catalog .ct-catalog-layout{display:grid;grid-template-columns:208px minmax(0,1fr);gap:32px}
body.search.mc-live-catalog .ct-filter-sidebar{display:block}
body.search.mc-live-catalog .ct-live-toolbar{display:flex;margin:0 0 20px}
body.search.mc-live-catalog.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
body.mc-live-catalog:not(.mc-catalog-enhanced) .ct-live-toolbar .ct-filter-open{display:none!important}
@media(min-width:1024px){
  .mc-catalog-enhanced .mc-filter-form-actions{display:none}
  .mc-facet-color .mc-facet-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px}
  .mc-facet-color .mc-facet-options>label:not(.mc-swatch-option){grid-column:1/-1}
  .mc-catalog-filter-form .mc-swatch-option{position:relative;justify-content:center;min-height:44px;margin:0;isolation:isolate}
  .mc-catalog-filter-form .mc-swatch-option input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:2}
  .mc-catalog-filter-form .mc-swatch-option>span{justify-content:center;width:100%;min-height:44px;pointer-events:none}
  .mc-swatch-option .mc-filter-swatch{width:25px;height:25px;flex-basis:25px;border:2px solid white;box-shadow:0 0 0 1px var(--border)}
  .mc-swatch-option input:checked+span .mc-filter-swatch{box-shadow:0 0 0 2px var(--coral)}
  .mc-swatch-option .mc-filter-color-name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .mc-swatch-option input:focus-visible+span .mc-filter-swatch{outline:3px solid #3579c5;outline-offset:4px}
  .mc-swatch-option input:focus-visible+span .mc-filter-color-name{inset:0;width:auto;height:auto;clip-path:none;white-space:normal;display:flex;align-items:center;justify-content:center;text-align:center;background:#fff;border:2px solid #3579c5;border-radius:7px;padding:3px;font-size:11px;line-height:1.2;z-index:1;overflow-wrap:anywhere}
}
@media(max-width:1023px){
  #mc-filter-dialog{width:min(100%,480px);max-width:100%}
  body.mc-live-catalog .ct-catalog-layout,body.search.mc-live-catalog .ct-catalog-layout{display:block}
  body.search.mc-live-catalog .ct-live-toolbar{display:grid}
  body.search.mc-live-catalog.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.mc-live-catalog.mc-catalog-enhanced .ct-filter-sidebar{display:none}
  body.mc-live-catalog:not(.mc-catalog-enhanced) .ct-filter-sidebar{display:block;margin-bottom:24px;border:1px solid var(--border);border-radius:12px;padding:16px}
  .mc-live-catalog .ct-live-toolbar .mc-catalog-ordering{grid-column:2;grid-row:1;width:100%;margin:0}
  .mc-live-catalog .ct-live-toolbar .mc-catalog-ordering label{width:100%}
  .mc-live-catalog .ct-live-toolbar .mc-catalog-ordering select{width:100%;max-width:none;border:1px solid var(--border);font-size:13px;min-height:48px}
  body.search.mc-live-catalog .ct-live-toolbar .ct-filter-open{display:flex}
  .mc-live-catalog #mc-filter-dialog #mc-filter-content{display:flex;flex-direction:column;min-height:0;flex:1;padding:0;overflow:hidden}
  #mc-filter-dialog .mc-catalog-filter-form{min-height:0;flex:1}
  #mc-filter-dialog .mc-catalog-filter-form .ct-filter-heading{display:none}
  #mc-filter-dialog .mc-catalog-filter-form .ct-filter-scroll{padding:0 18px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}
  #mc-filter-dialog .mc-filter-form-actions{display:grid;grid-template-columns:110px 1fr;gap:12px;flex:none;padding:16px 18px max(20px,env(safe-area-inset-bottom));border-top:1px solid var(--border)}
  #mc-filter-dialog .mc-filter-form-actions>a{display:flex}
  #mc-filter-dialog .mc-filter-form-actions .btn{min-height:52px;font-size:14px}
  #mc-filter-dialog .ct-filter-group>summary{font-size:16px;font-weight:500}
  #mc-filter-dialog .ct-checkbox{min-height:48px;font-size:14px}
}
@media(max-width:480px){.mc-catalog-ordering select{font-size:12px!important;padding-left:9px}.mc-catalog-results .ct-results-footer{align-items:flex-start;gap:12px;flex-wrap:wrap}.mc-catalog-results .ct-filter-chip{font-size:12px}.mc-catalog-results .ct-live-toolbar{gap:10px}}

/* Applied filters v6: a unified panel, fully collapsed by default on mobile. */
.ct-applied-selection{display:block;border:1px solid #e2e6ed;border-radius:12px;background:#f5f6f8;padding:12px 16px 14px;margin:2px 0 20px}
.ct-selection-heading{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px 12px;margin-bottom:10px}
.ct-selection-caption{display:flex;align-items:center;gap:8px;font:inherit;font-size:14px;font-weight:600;line-height:1.5;margin:0;min-height:36px;color:#212a3b}
.ct-selection-total{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:6px;background:#e7eaf0;color:#586474;font-size:12px;font-weight:500}
.ct-selection-reset{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-size:13px;font-weight:500;color:#bd2445;min-height:36px;padding:0 12px;border:1px solid #e9c6d0;border-radius:7px;background:#fffafb;white-space:nowrap;cursor:pointer}
.ct-selection-reset:hover{background:#ffeef3;border-color:#d894a8}
.ct-selection-groups{display:flex;flex-direction:column;gap:6px;min-width:0}
.ct-selection-group{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:start;min-width:0}
.ct-selection-group h3{font-size:12px;font-weight:500;color:#697384;line-height:20px;letter-spacing:0;margin:0;padding-top:7px;min-width:0;overflow-wrap:anywhere}
.ct-selection-values{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.ct-applied-selection .ct-filter-chip{display:flex;align-items:center;gap:8px;min-height:34px;max-width:100%;padding:5px 9px;border:1px solid #dfe4eb;border-radius:6px;background:#fff;font-size:13px;line-height:1.5;color:#212a3b}
.ct-applied-selection .ct-filter-chip:hover{border-color:#e5acbb;background:#fff4f7;color:#bd2445}
.ct-applied-selection .ct-filter-chip-remove{color:#778191}
.ct-applied-selection .ct-selection-swatch{display:block;width:12px;height:12px;flex:0 0 12px;border:1px solid #00000025;border-radius:3px;background:var(--ct-swatch,#fff)}
.ct-applied-selection .ct-selection-swatch.is-assorted{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:2px;border:0;background:none}
.ct-applied-selection .ct-selection-swatch.is-assorted i{border:1px solid #9da5ad;border-radius:1px}
.ct-applied-selection .ct-selection-swatch.is-unknown{border:1px dashed #8a94a2;background:#f7f8f9}
.ct-selection-disclosure{padding:0;border:0;background:transparent;cursor:pointer;text-align:left}
.ct-selection-disclosure>.icon{width:16px;height:16px;color:#727b89}
.ct-selection-disclosure[aria-expanded=true]>.icon{transform:rotate(180deg)}
@media(max-width:1023px){
  .ct-applied-selection{padding:10px 10px 8px;margin:0 0 16px;border-radius:10px}
  .ct-applied-selection[data-collapsed=true] .ct-selection-heading{margin-bottom:0}
  .ct-applied-selection[data-collapsed=false]{padding-bottom:12px}
  .ct-selection-caption,.ct-selection-reset{min-height:44px}
  .ct-selection-caption{font-size:13px}
  .ct-selection-groups{gap:8px}
  .ct-selection-group{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px}
  .ct-selection-group h3{max-width:100%;font-size:12px;line-height:20px;padding:12px 0;margin:0 2px 0 0}
  .ct-selection-values{display:contents}
  .ct-applied-selection .ct-filter-chip{min-height:44px;padding:9px 7px;font-size:13px;gap:7px}
  .ct-applied-selection .ct-filter-chip-remove .icon{width:16px;height:16px}
  .ct-applied-selection .ct-selection-swatch{width:14px;height:14px;flex-basis:14px}
}


/* Native Woo controls retain their real values and semantics. */
.mc-catalog-enhanced .ct-selection-disclosure{display:none}
.mc-catalog-enhanced .ct-selection-groups[hidden],.ct-applied-selection[hidden]{display:none!important}
.mc-catalog-filter-form .ct-filter-group{padding:0}
.mc-catalog-filter-form .ct-filter-group>summary{min-height:52px;padding:10px 0}
.mc-catalog-filter-form .ct-filter-group-body{padding:0 0 12px}
.mc-catalog-filter-form .mc-facet-options{max-height:none;overflow:visible;display:flex;flex-direction:column;gap:0;padding:0}
.mc-catalog-filter-form [data-mc-facet-option]{display:flex;align-items:center;gap:8px;min-height:36px;padding:5px 6px;border-radius:7px;font-size:14px;line-height:1.5}
.mc-catalog-filter-form [data-mc-facet-option][hidden]{display:none!important}
.mc-catalog-filter-form [data-mc-facet-option]:has(input:checked){color:#ae2143;background:#fff2f5}
.mc-catalog-filter-form .ct-size-filters input{position:static;opacity:1;inset:auto;width:16px;height:16px;flex:none}
.mc-catalog-filter-form .ct-size-filters span,.mc-catalog-filter-form .ct-size-filters input:checked+span{min-height:0;padding:0;border:0;border-radius:0;background:none;color:inherit;text-align:left}
.mc-catalog-filter-form .ct-size-filters label{flex:initial}
.ct-v1-show-all,.mc-facet-back{min-height:44px;border:0;background:none;color:#bc2448;text-align:left;font:inherit;font-size:13px;cursor:pointer}
.mc-catalog-filter-form .mc-filter-swatch{width:16px;height:16px;border-radius:4px;flex:none}
.mc-catalog-filter-form [data-mc-facet-option]:focus-within,.ct-v1-show-all:focus-visible{outline:2px solid #005fcc;outline-offset:2px}
.mc-catalog-results .ct-show-more{width:100%;margin-top:28px;min-height:48px;background:#f5f6f7;border-color:#f5f6f7;color:#212a3b}
.mc-catalog-results .ct-results-footer{flex-wrap:wrap}
@media(min-width:1024px){.ct-selection-disclosure{display:none}.mc-selection-desktop{display:flex}}
@media(max-width:1023px){
 .mc-catalog-enhanced .mc-selection-desktop{display:none}
 .mc-catalog-enhanced .ct-selection-disclosure{display:flex}
 #mc-filter-dialog .mc-catalog-filter-form [data-mc-facet-option]{min-height:44px;font-size:15px;padding:6px}
 #mc-filter-dialog .ct-filters-v1[data-filter-view="overview"] [data-mc-facet]>.ct-filter-group-body{display:none}
 #mc-filter-dialog .ct-filters-v1[data-filter-view="facet"] [data-mc-facet]:not(.is-active-facet),#mc-filter-dialog .ct-filters-v1[data-filter-view="facet"] .ct-stock-filter,#mc-filter-dialog .ct-filters-v1[data-filter-view="facet"] .mc-category-filter{display:none}
 #mc-filter-dialog .ct-filters-v1[data-filter-view="facet"] .is-active-facet>summary{cursor:default}
}
/* Override earlier swatch-only controls with the approved readable rows. */
.mc-catalog-results .ct-active-filters.ct-applied-selection{display:block}
.mc-catalog-filter-form .mc-swatch-option{justify-content:flex-start;isolation:auto}
.mc-catalog-filter-form .mc-swatch-option input{position:static;inset:auto;width:16px;height:16px;opacity:1;flex:none;z-index:auto}
.mc-catalog-filter-form .mc-swatch-option>span{justify-content:flex-start;min-height:0;width:auto}
.mc-catalog-filter-form .mc-swatch-option .mc-filter-color-name{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}
.mc-catalog-filter-form .mc-swatch-option .mc-filter-swatch{width:16px;height:16px;flex-basis:16px;border:1px solid #aab0b8;box-shadow:none}
.mc-catalog-filter-form .mc-swatch-option input:checked+span .mc-filter-swatch{box-shadow:none}
@media(min-width:1024px){body.mc-live-catalog .ct-catalog-layout{grid-template-columns:minmax(0,284px) minmax(0,1fr)}}

.mc-catalog-results .ct-applied-selection .ct-filter-chip .ct-filter-chip-label{font:inherit;color:inherit;line-height:1.5;min-width:0;overflow-wrap:anywhere}
