/* A restrained filter system for the Junjubi catalogue. */
body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary{box-sizing:border-box;min-width:0;font-family:Arial,Helvetica,sans-serif;color:#292d32}
body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary .widget{border:0!important;border-bottom:1px solid #eae5df!important;border-radius:0!important;background:none!important;padding:0!important;margin:0!important;box-shadow:none!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary .widget-title{display:block;margin:0!important;padding:0!important;border:0!important;font:600 14px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:#292d32}
.jnjui-filter-head{padding:0 0 18px;border-bottom:1px solid #eae5df}
.jnjui-filter-heading{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
body.wp-theme-shoptimizer .jnjui-filter-heading h2{display:flex;align-items:center;gap:8px;font:600 19px/1.4 Arial,Helvetica,sans-serif!important;color:#292d32;margin:0!important}
.jnjui-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;box-sizing:border-box;border-radius:20px;padding:0 6px;background:#fff0e3;color:#954b16;font:600 11px/1 Arial,Helvetica,sans-serif}
body.wp-theme-shoptimizer .jnjui-filter-clear{display:inline-flex;align-items:center;min-height:32px;padding:0!important;margin:0;border:0!important;border-radius:0;background:none!important;color:#6f635b!important;font:500 12px/1.4 Arial,Helvetica,sans-serif!important;text-decoration:underline!important;text-underline-offset:3px;box-shadow:none!important}
body.wp-theme-shoptimizer .jnjui-filter-clear:hover{color:#954b16!important}
body.wp-theme-shoptimizer .jnjui-filter-clear:disabled{opacity:.55;cursor:default;text-decoration:none!important}
.jnjui-filter-selected{padding:14px 0;border-bottom:1px solid #eae5df}
.jnjui-filter-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none!important;margin:0!important;padding:0!important}
.jnjui-filter-chips li{margin:0!important;padding:0!important;min-width:0;max-width:100%;list-style:none!important}
body.wp-theme-shoptimizer .jnjui-filter-chips a{display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;max-width:100%;min-height:32px;padding:6px 9px;border:1px solid #e6d7c7;border-radius:8px;background:#fff7ed;color:#954b16;font:500 12px/1.4 Arial,Helvetica,sans-serif;text-decoration:none;word-break:normal}
.jnjui-filter-chips a>span{min-width:0;overflow-wrap:anywhere}
.jnjui-filter-chips svg{flex:0 0 14px}
body.wp-theme-shoptimizer .jnjui-filter-chips a:hover{background:#ffefdd}
.jnjui-applied-filters{margin:0 0 18px;padding:14px 16px;border:1px solid #eae5df;border-radius:12px;background:#faf8f5}
.jnjui-applied-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
body.wp-theme-shoptimizer .jnjui-applied-top>p{margin:0;font:600 12px/1.4 Arial,Helvetica,sans-serif;color:#292d32}
body.wp-theme-shoptimizer #secondary .jnjui-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:50px;padding:12px 0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;color:#292d32!important;box-shadow:none!important;text-align:left;font:600 14px/1.4 Arial,Helvetica,sans-serif!important}
.jnjui-filter-toggle>svg{flex:0 0 14px;transition:transform .15s ease}
.jnjui-filter-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}
.jnjui-filter-options{padding:0 0 14px}
body.jnjui-filter-catalog #secondary [hidden]{display:none!important}
body.wp-theme-shoptimizer #secondary .jnjui-filter-options ul{margin:0!important;padding:0!important;list-style:none!important}
body.wp-theme-shoptimizer #secondary .jnjui-filter-options li{margin:0!important;padding:0!important;border:0!important;list-style:none!important}
body.wp-theme-shoptimizer #secondary .jnjui-filter-options li::before{display:none!important}
body.wp-theme-shoptimizer #secondary .jnjui-filter-options li>a{font:400 13px/1.45 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;color:#292d32;text-decoration:none}
body.wp-theme-shoptimizer #secondary .jnjui-filter-options :is(.woocommerce-widget-layered-nav-list,.wc-brand-list-layered-nav-product_brand)>li{position:relative;display:flex;align-items:center;gap:4px}
body.wp-theme-shoptimizer #secondary .jnjui-filter-options :is(.woocommerce-widget-layered-nav-list,.wc-brand-list-layered-nav-product_brand)>li>a{position:relative;display:flex;align-items:center;gap:9px;flex:1;min-width:0;min-height:40px;padding:8px 0!important;box-sizing:border-box}
body.wp-theme-shoptimizer #secondary .jnjui-filter-options :is(.woocommerce-widget-layered-nav-list,.wc-brand-list-layered-nav-product_brand)>li>a::before{content:''!important;display:block!important;position:static!important;flex:0 0 16px;width:16px!important;height:16px!important;margin:0!important;border:1px solid #cbbfb2!important;border-radius:4px!important;background:#fff;box-sizing:border-box;opacity:1!important}
body.wp-theme-shoptimizer #secondary .jnjui-filter-options :is(.woocommerce-widget-layered-nav-list,.wc-brand-list-layered-nav-product_brand)>li.chosen>a::before{border-color:#954b16!important;background:#954b16 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.8'%3E%3Cpath d='m3 8 3 3 7-7'/%3E%3C/svg%3E") center/14px no-repeat}
body.wp-theme-shoptimizer #secondary .jnjui-filter-options .chosen>a{font-weight:600!important}
body.wp-theme-shoptimizer #secondary .jnjui-filter-options .count{position:static!important;float:none!important;margin:0!important;flex:0 0 auto;color:#8a8075;background:none!important;font:400 11px/1.4 Arial,Helvetica,sans-serif!important}
body.wp-theme-shoptimizer #secondary .jnjui-filter-more{display:inline-flex;align-items:center;min-height:36px;padding:5px 0!important;border:0!important;background:none!important;color:#6f635b!important;text-decoration:underline;text-underline-offset:3px;font:500 12px/1.4 Arial,Helvetica,sans-serif!important}
body.wp-theme-shoptimizer #secondary .product-categories li{position:relative}
body.wp-theme-shoptimizer #secondary .product-categories li>a{display:flex;align-items:center;min-height:40px;padding:8px 0!important;box-sizing:border-box}
body.wp-theme-shoptimizer #secondary .product-categories li.cat-parent>a{padding-right:34px!important}
body.wp-theme-shoptimizer #secondary .product-categories li>a::before{display:none!important}
body.wp-theme-shoptimizer #secondary .product-categories ul.children{padding-left:12px!important;margin:0 0 6px!important;border-left:1px solid #eae5df}
body.wp-theme-shoptimizer #secondary .product-categories .current-cat>a{padding-left:12px!important;color:#954b16!important;font-weight:600!important;background:#faf8f5!important;box-shadow:inset 3px 0 #ff7a1a!important;text-decoration:none!important}
body.wp-theme-shoptimizer #secondary .jnjui-category-toggle{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:40px;padding:0!important;border:0!important;border-radius:6px;background:none!important;box-shadow:none;color:#6f635b!important}
.jnjui-category-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}
body.wp-theme-shoptimizer #secondary .price_slider{margin:20px 12px 24px!important;height:3px!important;background:#eae5df!important}
body.wp-theme-shoptimizer #secondary .price_slider .ui-slider-range{background:#954b16!important}
body.wp-theme-shoptimizer #secondary .price_slider .ui-slider-handle{width:18px!important;height:18px!important;top:-7px!important;background:#fff!important;border:2px solid #954b16!important;box-shadow:none!important}
body.wp-theme-shoptimizer #secondary .price_slider .ui-slider-handle:focus-visible{outline:3px solid #ff7a1a;outline-offset:3px}
body.wp-theme-shoptimizer #secondary .price_slider_amount{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font:400 12px/1.5 Arial,Helvetica,sans-serif}
body.wp-theme-shoptimizer #secondary .price_slider_amount .price_label{width:100%;order:-1;float:none;margin:0!important;text-align:left;font-size:12px}
body.wp-theme-shoptimizer #secondary .price_slider_amount button{width:100%;min-height:40px;border:1px solid #eae5df!important;border-radius:8px!important;background:#faf8f5!important;color:#292d32!important;font:600 12px/1.4 Arial,Helvetica,sans-serif!important;padding:10px!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog :is(.jnjui-filter-toggle,.jnjui-filter-clear,.jnjui-filter-chips a,.jnjui-category-toggle,.jnjui-filter-more):focus-visible{outline:2px solid #ff7a1a;outline-offset:2px}
.jnjui-filter-footer,.jnjui-filter-backdrop{display:none}
@media(min-width:993px){
 body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary{border:1px solid #eae5df!important;border-radius:14px;background:#fff;padding:18px!important}
}
@media(max-width:992px){
 body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary{display:flex!important;flex-direction:column;padding:0 18px!important;overscroll-behavior:contain;transition:transform .2s ease,visibility .2s}
 body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary>.widget,body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary>.jnjui-filter-selected{flex:0 0 auto}
 .jnjui-filter-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -18px;padding:16px 18px 12px;background:#fff;border-radius:20px 20px 0 0}
 .jnjui-filter-heading{min-width:0}
 body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary .filters.close-drawer{position:static!important;display:flex!important;align-items:center;justify-content:center;flex:0 0 44px;width:44px!important;height:44px!important;min-height:44px;margin:0!important;padding:10px!important;background:#faf8f5!important;border:1px solid #eae5df!important;border-radius:10px}
 body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary .filters.close-drawer svg{width:20px;height:20px}
 body.wp-theme-shoptimizer #secondary .jnjui-filter-clear{min-height:36px}
 body.wp-theme-shoptimizer .jnjui-filter-chips a{min-height:40px}
 body.wp-theme-shoptimizer #secondary .jnjui-filter-toggle{min-height:52px}
 body.wp-theme-shoptimizer #secondary .jnjui-filter-options :is(.woocommerce-widget-layered-nav-list,.wc-brand-list-layered-nav-product_brand)>li>a,body.wp-theme-shoptimizer #secondary .product-categories li>a{min-height:44px}
 body.wp-theme-shoptimizer #secondary .product-categories li.cat-parent>a{padding-right:44px!important}
 body.wp-theme-shoptimizer #secondary .jnjui-category-toggle{width:44px;height:44px}
 body.wp-theme-shoptimizer #secondary .jnjui-filter-more{min-height:44px}
 .jnjui-filter-footer{position:sticky;bottom:0;display:block;z-index:2;margin:auto -18px 0;padding:14px 18px max(14px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eae5df}
 body.wp-theme-shoptimizer .jnjui-filter-results{width:100%;min-height:46px;padding:12px!important;border:0!important;border-radius:10px;background:#ff7a1a;color:#fff;font:600 14px/1.4 Arial,Helvetica,sans-serif}
 .jnjui-filter-backdrop{display:block;position:fixed;inset:0;z-index:100004;background:#292d323d;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s}
 body.jnjui-filter-catalog.filter-open .jnjui-filter-backdrop{opacity:1;visibility:visible;pointer-events:auto}
 body.jnjui-filter-catalog.filter-open{overflow:hidden}
 body.jnjui-filter-catalog.filter-open .site-content::after{display:none!important}
 body.jnjui-filter-catalog .jnjui-catalog-toolbar .mobile-filter{width:auto;min-width:95px}
 .jnjui-applied-filters{padding:12px}
 .jnjui-applied-top{gap:8px}
}
@media(prefers-reduced-motion:reduce){.jnjui-filter-backdrop,body.jnjui-filter-catalog #secondary{transition:none!important}}

@media(max-width:992px){
 body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary{overflow:hidden!important}
 .jnjui-filter-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:0 -18px;padding:0 18px}
 .jnjui-filter-head,.jnjui-filter-footer{flex:0 0 auto}
 .jnjui-filter-footer{margin-top:0}
}

body.wp-theme-shoptimizer #secondary .product-categories li.cat-parent::after,
body.wp-theme-shoptimizer #secondary .product-categories li.cat-parent>a::after{display:none!important;content:none!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary .price_slider .ui-slider-handle::after{content:'';position:absolute;inset:-13px}
@media(min-width:993px){body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-filter-head>.filters.close-drawer{display:none!important}}
@media(max-width:992px){
 body.wp-theme-shoptimizer.jnjui-filter-catalog #secondary .filters.close-drawer{color:#292d32!important}
 body.wp-theme-shoptimizer .jnjui-filter-chips a{min-height:44px}
 body.wp-theme-shoptimizer #secondary a.jnjui-filter-clear{min-height:44px}
}
body.wp-theme-shoptimizer.jnjui-filter-catalog #page #secondary .jnjui-filter-options li.chosen>a{color:#954b16!important}

body.wp-theme-shoptimizer #secondary .wc-layered-nav-term .count{color:#757068!important;-webkit-text-fill-color:#757068!important;opacity:1!important}
