/* Catalogue v2: context, facets and native WooCommerce results have distinct roles. */
body.mcux-enabled.mcux-archive-view #main .hero-section { display:none; }
body.mcux-enabled.mcux-archive-view .mcux-catalog-heading { margin:0 0 22px; min-width:0; }
body.mcux-enabled.mcux-archive-view .mcux-catalog-heading .mcux-breadcrumbs { margin:0 0 4px; font-size:13px; gap:4px 6px; }
body.mcux-enabled.mcux-archive-view .mcux-catalog-heading .mcux-breadcrumbs a { min-height:32px; }
body.mcux-enabled.mcux-archive-view .mcux-catalog-heading h1 { margin:0; font-size:clamp(24px,2.4vw,32px); line-height:1.2; letter-spacing:-.025em; overflow-wrap:anywhere; }
body.mcux-enabled.mcux-archive-view .mcux-catalog-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:28px; align-items:start; min-width:0; }
body.mcux-enabled.mcux-archive-view :is(.mcux-catalog-sidebar,.mcux-catalog-results,.mcux-filter-panel,.mcux-filter-panel-content) { box-sizing:border-box; min-width:0; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel { margin:0; padding:0; border:0; background:none; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel > summary { min-height:44px; padding:10px 0; cursor:pointer; font-size:15px; font-weight:600; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 16px; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel-heading h2 { margin:0; font-size:17px; line-height:1.4; }
body.mcux-enabled.mcux-archive-view .mcux-sidebar-categories { padding:0 0 18px; margin:0 0 18px; border-bottom:1px solid #dce3e9; }
body.mcux-enabled.mcux-archive-view .mcux-sidebar-categories h3 { font-size:14px; margin:0 0 5px; }
body.mcux-enabled.mcux-archive-view .mcux-sidebar-categories ul { list-style:none; padding:0; margin:0; }
body.mcux-enabled.mcux-archive-view .mcux-sidebar-categories li { margin:0; }
body.mcux-enabled.mcux-archive-view .mcux-sidebar-categories a { display:flex; align-items:center; min-height:44px; padding:8px 0; color:#243B53; font-size:14px; line-height:1.4; text-decoration:none; border:0; border-radius:0; background:none; overflow-wrap:anywhere; }
body.mcux-enabled.mcux-archive-view .mcux-sidebar-categories a:hover { text-decoration:underline; text-underline-offset:3px; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel .mcux-filter-form { display:flex; flex-direction:column; align-items:stretch; gap:18px; padding:0; margin:0; }
body.mcux-enabled.mcux-archive-view .mcux-facet-group { border:0; border-top:1px solid #dce3e9; margin:0; padding:0; background:none; }
body.mcux-enabled.mcux-archive-view .mcux-facet-group > summary { display:flex; align-items:center; justify-content:space-between; min-height:44px; padding:10px 0; cursor:pointer; list-style:none; font-size:14px; font-weight:600; line-height:1.4; }
body.mcux-enabled.mcux-archive-view .mcux-facet-group > summary::-webkit-details-marker { display:none; }
body.mcux-enabled.mcux-archive-view .mcux-facet-group > summary::after { content:'+'; margin-left:8px; font-weight:400; }
body.mcux-enabled.mcux-archive-view .mcux-facet-group[open] > summary::after { content:'−'; }
body.mcux-enabled.mcux-archive-view .mcux-facet-group fieldset { margin:0; padding:0; border:0; min-width:0; }
body.mcux-enabled.mcux-archive-view .mcux-facet-option { display:flex; gap:9px; align-items:center; min-height:44px; margin:0; padding:6px 0; font-size:14px; font-weight:400; line-height:1.4; cursor:pointer; }
body.mcux-enabled.mcux-archive-view .mcux-facet-option input { flex:0 0 18px; width:18px; height:18px; min-height:0; padding:0; margin:0; accent-color:#102A43; }
body.mcux-enabled.mcux-archive-view .mcux-facet-option span { min-width:0; overflow-wrap:anywhere; }
body.mcux-enabled.mcux-archive-view .mcux-facet-option small { margin-left:auto; color:#62788a; font-size:12px; font-weight:400; }
body.mcux-enabled.mcux-archive-view .mcux-facet-option:has(input:disabled) { color:#748796; cursor:default; }
body.mcux-enabled.mcux-archive-view .mcux-facet-search { display:block; font-size:12px; margin:0 0 8px; color:#52697b; }
body.mcux-enabled.mcux-archive-view .mcux-facet-search input { width:100%; min-width:0; min-height:44px; margin-top:4px; font-size:16px; padding:8px 10px; border:1px solid #bcc9d3; border-radius:3px; background:#fff; }
body.mcux-enabled.mcux-archive-view .mcux-facet-more { min-height:44px; padding:8px 0; border:0; border-radius:0; background:none; color:#243B53; font:inherit; font-size:13px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
body.mcux-enabled.mcux-archive-view .mcux-price-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel .mcux-filter-field :is(input,select) { min-height:44px; height:auto; padding:8px 10px; font-size:16px; border-radius:3px; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel .mcux-filter-stock { font-size:14px; font-weight:400; line-height:1.4; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel .mcux-filter-note { font-size:12px; color:#62788a; line-height:1.55; }
body.mcux-enabled.mcux-archive-view .mcux-filter-status { font-size:13px; color:#243B53; margin:0; line-height:1.5; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel .mcux-filter-actions { display:flex; flex-wrap:wrap; gap:8px 14px; padding:0; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel .mcux-filter-actions .button { min-height:44px; width:100%; padding:10px 14px; border-radius:3px; background:#b9501c; border-color:#b9501c; color:#fff; font-size:14px; }
body.mcux-enabled.mcux-archive-view :is(.mcux-cancel-filters,.mcux-close-filters) { min-height:44px; padding:8px 10px; border:1px solid #bcc9d3; border-radius:3px; background:#fff; color:#243B53; font:inherit; font-size:14px; cursor:pointer; }
body.mcux-enabled.mcux-archive-view .mcux-close-filters { min-width:44px; font-size:25px; }
body.mcux-enabled.mcux-archive-view .mcux-filter-chips { display:flex; flex-wrap:wrap; gap:6px 10px; margin:0 0 14px; }
body.mcux-enabled.mcux-archive-view .mcux-filter-chip { min-height:38px; padding:7px 9px; border:1px solid #dce3e9; border-radius:3px; background:#f6f8fa; color:#243B53; font-size:13px; font-weight:400; line-height:1.5; }
body.mcux-enabled.mcux-archive-view .mcux-filter-chip span { font-size:18px; line-height:1; }
body.mcux-enabled.mcux-archive-view .mcux-catalog-results .woo-listing-top { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin:0 0 18px; padding:0 0 12px; min-width:0; }
body.mcux-enabled.mcux-archive-view .mcux-catalog-results .woo-listing-top .woocommerce-result-count { display:block!important; flex:1 1 130px; width:auto; margin:0; font-size:13px; line-height:1.4; }
body.mcux-enabled.mcux-archive-view .mcux-catalog-results .woocommerce-ordering { flex:0 1 235px; min-width:0; max-width:100%; margin:0 0 0 auto; }
body.mcux-enabled.mcux-archive-view .mcux-catalog-results .woocommerce-ordering select { width:100%; max-width:100%; min-height:44px; padding:8px 28px 8px 10px; font-size:14px; border-radius:3px; }
body.mcux-enabled.mcux-archive-view .mcux-open-filters { min-height:44px; padding:9px 12px; background:#fff; border:1px solid #bcc9d3; color:#243B53; border-radius:3px; font:inherit; font-size:14px; cursor:pointer; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel [hidden], body.mcux-enabled.mcux-archive-view [hidden].mcux-open-filters, body.mcux-enabled.mcux-archive-view [hidden].mcux-filter-backdrop { display:none!important; }
body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-panel > summary { display:none; }
body.mcux-enabled.mcux-archive-view :is(.mcux-filter-panel,.mcux-open-filters) :is(a,button,input,select,summary):focus-visible,
body.mcux-enabled.mcux-archive-view .mcux-open-filters:focus-visible { outline:2px solid #102A43; outline-offset:3px; }
@media(min-width:1000px) and (max-width:1250px) {
 body.mcux-enabled.mcux-archive-view #main .mcux-catalog-results ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:999px) {
 body.mcux-enabled.mcux-archive-view .mcux-catalog-layout { display:block; }
 body.mcux-enabled.mcux-archive-view .mcux-catalog-heading { margin-bottom:16px; }
 body.mcux-enabled.mcux-archive-view .mcux-catalog-heading .mcux-breadcrumbs { font-size:12px; }
 body.mcux-enabled.mcux-archive-view .mcux-catalog-heading .mcux-breadcrumbs a { min-height:36px; }
 body.mcux-enabled.mcux-archive-view .mcux-catalog-sidebar { margin-bottom:12px; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-catalog-sidebar { margin:0; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-panel[open] { position:fixed; z-index:100002; inset:0 0 0 auto; width:min(420px,100%); max-width:100%; height:100vh; height:100dvh; margin:0; padding:0; background:#fff; box-shadow:-10px 0 28px rgb(25 40 28 / 15%); overflow:auto; overscroll-behavior:contain; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-panel-content { padding:16px 20px 24px; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-panel-heading { position:sticky; top:0; z-index:1; margin:-16px -20px 16px; padding:12px 20px; background:#fff; border-bottom:1px solid #dce3e9; }
 body.mcux-enabled.mcux-archive-view .mcux-filter-backdrop { position:fixed; z-index:100001; inset:0; width:100%; height:100%; border:0; padding:0; border-radius:0; background:rgb(19 32 24 / 35%); }
 body.mcux-enabled.mcux-archive-view.mcux-filter-modal-open { overflow:hidden; }
 body.mcux-enabled.mcux-archive-view .mcux-catalog-results .woo-listing-top { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:8px 12px; align-items:center; }
 body.mcux-enabled.mcux-archive-view .mcux-catalog-results .woo-listing-top .woocommerce-result-count { grid-column:1 / -1; grid-row:2; }
 body.mcux-enabled.mcux-archive-view .mcux-catalog-results .woo-listing-top .mcux-open-filters { grid-column:1; grid-row:1; }
 body.mcux-enabled.mcux-archive-view .mcux-catalog-results .woocommerce-ordering { grid-column:2; grid-row:1; width:100%; margin:0; }
 body.mcux-enabled.mcux-archive-view .mcux-catalog-results .woocommerce-ordering .ct-sort-icon { display:none; }
 body.mcux-enabled.mcux-archive-view .mcux-filter-chip { min-height:44px; }
}
@media(min-width:768px) and (max-width:999px) {
 body.mcux-enabled.mcux-archive-view #main .mcux-catalog-results ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
/* One category affordance per width; the enabled hidden select retains applied GET state. */
body.mcux-enabled.mcux-archive-view .mcux-filter-fields { display:flex; flex-direction:column; gap:18px; min-width:0; }
body.mcux-enabled.mcux-archive-view .mcux-category-field-responsive { display:none; }
@media(max-width:767px) {
 body.mcux-enabled.mcux-archive-view .mcux-category-field-responsive { display:block; }
 body.mcux-enabled.mcux-archive-view .mcux-sidebar-categories-responsive { display:none; }
}
/* The form body scrolls; its native submit/cancel row remains in the viewport. */
@media(max-width:999px) {
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-panel[open] { overflow:hidden; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-panel-content { display:flex; flex-direction:column; height:100vh; height:100dvh; min-height:0; padding:0; overflow:hidden; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-panel-heading { position:relative; flex:0 0 auto; margin:0; padding:12px 20px; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-sidebar-categories { flex:0 0 auto; max-height:25vh; max-height:25dvh; margin:0; padding:8px 20px; overflow:auto; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-panel .mcux-filter-form { flex:1 1 auto; min-height:0; gap:0; overflow:hidden; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-fields { flex:1 1 auto; min-height:0; padding:16px 20px; overflow:auto; overscroll-behavior:contain; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-panel .mcux-filter-actions { display:grid; grid-template-columns:minmax(0,1fr) auto; flex:0 0 auto; gap:6px 12px; margin:0; padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px)); border-top:1px solid #dce3e9; background:#fff; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-panel .mcux-filter-actions .button { grid-column:1; min-width:0; width:100%; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-actions .mcux-cancel-filters { grid-column:2; }
 body.mcux-enabled.mcux-archive-view .mcux-filters-ready .mcux-filter-actions .mcux-reset { grid-column:1 / -1; min-height:44px; padding:8px 0; font-size:13px; }
}

/* Instant application is progressive; the orange native GET remains the fallback. */
body.mcux-enabled.mcux-archive-view .mcux-filters-auto .mcux-apply-filters { display:none!important; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel .mcux-show-results[hidden] { display:none!important; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel .mcux-filter-actions .button:hover { background:#a34317; border-color:#a34317; color:#fff; }
body.mcux-enabled.mcux-archive-view .mcux-filter-panel .mcux-show-results:disabled { opacity:.7; cursor:wait; }
body.mcux-enabled.mcux-archive-view .mcux-catalog-results[aria-busy="true"] .woocommerce-result-count { opacity:.6; }
@media(max-width:999px) {
 body.mcux-enabled.mcux-archive-view .mcux-filters-auto .mcux-filter-actions { grid-template-columns:minmax(0,1fr); }
 body.mcux-enabled.mcux-archive-view .mcux-filters-auto .mcux-filter-actions .mcux-show-results { grid-column:1 / -1; }
}

body.mcux-enabled.mcux-archive-view .mcux-filter-panel .mcux-filter-actions .mcux-reset { color:#243B53; }
