/* TDI shop filters: left sidebar, loading state, mobile drawer. Everything is scoped to body.td-filters-on. */
body.td-filters-on{--tdf-ink:#150E07;--tdf-muted:#6B6258;--tdf-line:#E9E3DC;--tdf-acc:#EC9537;--tdf-acc-d:#D97E17}
.td-filters-toggle,.td-drawer-head,.td-drawer-foot,.td-filters-overlay{display:none}
.td-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
body.td-loading .bde-wooshoppage{opacity:.45;pointer-events:none;transition:opacity .15s ease}

/* Desktop layout: filters on the left, products fill the rest */
@media (min-width:1024px){
body.td-filters-on .section-container:has(> .bde-wooshoppage){padding-left:20px;padding-right:20px;column-gap:20px}
body.td-filters-on .bde-wooshoppage + .bde-div{order:-1;flex:0 0 265px;width:265px;max-width:265px;align-self:flex-start}
body.td-filters-on .bde-wooshoppage{flex:1 1 0;min-width:0;width:auto;max-width:none}
body.td-filters-on .bde-wooshoppage ul.products{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
}
@media (min-width:1200px){
body.td-filters-on .bde-wooshoppage ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Sidebar card */
body.td-filters-on .bde-wooshoppage + .bde-div{box-sizing:border-box;align-items:stretch;padding:6px 22px;background:#fff;border-radius:10px;color:var(--tdf-ink);font-style:normal}
body.td-filters-on .bde-wooshoppage + .bde-div .td-brand-filter{flex:1 1 100%;width:100%;box-sizing:border-box}
body.td-filters-on .bde-wooshoppage + .bde-div .bde-woo-shop-filters,
body.td-filters-on .bde-wooshoppage + .bde-div .bde-code-block{width:100%;margin:0}
body.td-filters-on .bde-wooshoppage + .bde-div .breakdance-woocommerce{display:block}
body.td-filters-on .bde-wooshoppage + .bde-div .widget{margin:0;padding:20px 0;border:0;font-style:normal}
body.td-filters-on .bde-wooshoppage + .bde-div .widget + .widget,
body.td-filters-on .bde-wooshoppage + .bde-div .bde-woo-shop-filters ~ .bde-code-block .widget,
body.td-filters-on .bde-wooshoppage + .bde-div .bde-woo-shop-filters ~ .bde-woo-shop-filters .widget:first-child{border-top:1px solid var(--tdf-line)}
body.td-filters-on .bde-wooshoppage + .bde-div .widgettitle{margin:0 0 14px;padding:0;font-size:15px;line-height:1.3;font-weight:700;letter-spacing:0;text-transform:none;font-style:normal!important;color:var(--tdf-ink)}

/* Lists with checkbox rows */
body.td-filters-on .bde-wooshoppage + .bde-div ul.woocommerce-widget-layered-nav-list{display:block;gap:0;list-style:none;margin:0;padding:0 3px 0 0;max-height:264px;overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--tdf-acc) #f1f1f1}
body.td-filters-on .bde-wooshoppage + .bde-div .woocommerce-widget-layered-nav-list__item{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0;padding:0;border:0;font-size:14px;line-height:1.3;font-weight:400;background:none}
body.td-filters-on .bde-wooshoppage + .bde-div .woocommerce-widget-layered-nav-list__item[hidden]{display:none}
body.td-filters-on .bde-wooshoppage + .bde-div .woocommerce-widget-layered-nav-list__item a{position:relative;flex:1 1 auto;display:block;margin:0;padding:6px 0 6px 25px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--tdf-ink);font-size:14px;font-weight:400;font-style:normal;text-decoration:none;background:none}
body.td-filters-on .bde-wooshoppage + .bde-div .woocommerce-widget-layered-nav-list__item a::before{content:"";position:absolute;left:0;top:50%;width:16px;height:16px;margin:-8px 0 0;box-sizing:border-box;border:1.5px solid #B9B0A6;border-radius:4px;background:#fff;font-family:inherit}
body.td-filters-on .bde-wooshoppage + .bde-div .woocommerce-widget-layered-nav-list__item--chosen a::before,
body.td-filters-on .bde-wooshoppage + .bde-div .woocommerce-widget-layered-nav-list__item.chosen a::before{border-color:var(--tdf-acc);background:var(--tdf-acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat}
body.td-filters-on .bde-wooshoppage + .bde-div .woocommerce-widget-layered-nav-list__item a:hover{color:var(--tdf-acc-d)}
body.td-filters-on .bde-wooshoppage + .bde-div .woocommerce-widget-layered-nav-list__item a:hover::before{border-color:var(--tdf-acc)}
body.td-filters-on .bde-wooshoppage + .bde-div .woocommerce-widget-layered-nav-list__item .count{position:static;float:none;margin:0;padding:0;transform:none;white-space:nowrap;flex:0 0 auto;font-size:12px;color:var(--tdf-muted)}

/* Search box on long lists */
body.td-filters-on .bde-wooshoppage + .bde-div .td-filter-search{display:block;width:100%;box-sizing:border-box;margin:0 0 12px;padding:9px 12px;border:1px solid #D9D1C8;border-radius:6px;background:#fff;color:var(--tdf-ink);font:inherit;font-size:14px;line-height:1.2}
body.td-filters-on .bde-wooshoppage + .bde-div .td-filter-search:focus{outline:2px solid rgba(236,149,55,.45);outline-offset:0;border-color:var(--tdf-acc)}

/* Active filter chips and clear-all */
body.td-filters-on .bde-wooshoppage + .bde-div .widget_layered_nav_filters ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
body.td-filters-on .bde-wooshoppage + .bde-div .widget_layered_nav_filters li{margin:0;padding:0}
body.td-filters-on .bde-wooshoppage + .bde-div .widget_layered_nav_filters li a{display:inline-flex;align-items:center;gap:6px;margin:0;padding:4px 10px;border-radius:999px;background:#FDF1E2;color:#8A4B06;font-size:13px;line-height:1.3;text-decoration:none}
body.td-filters-on .bde-wooshoppage + .bde-div .widget_layered_nav_filters li a::before{content:"\00d7";position:static;margin:0;font-family:inherit;font-size:16px;line-height:1}
body.td-filters-on .bde-wooshoppage + .bde-div .widget_layered_nav_filters li a:hover{background:#FBE3C4}
body.td-filters-on .bde-wooshoppage + .bde-div .td-clear-wrap{padding:16px 0 4px}
body.td-filters-on .bde-wooshoppage + .bde-div .td-clear-all{display:block;box-sizing:border-box;width:100%;margin:0;padding:11px 16px;border:1.5px solid var(--tdf-acc);border-radius:6px;background:#fff;color:var(--tdf-acc-d);font-size:14px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .15s ease,color .15s ease}
body.td-filters-on .bde-wooshoppage + .bde-div .td-clear-all:hover{background:var(--tdf-acc);color:#fff}

/* Price range */
body.td-filters-on .bde-wooshoppage + .bde-div .widget_price_filter .price_slider{margin:24px 10px 20px;height:4px;border:0;border-radius:2px;background:#E4DDD5}
body.td-filters-on .bde-wooshoppage + .bde-div .widget_price_filter .ui-slider-range{background:var(--tdf-acc)}
body.td-filters-on .bde-wooshoppage + .bde-div .widget_price_filter .ui-slider-handle{top:-7px;width:18px;height:18px;margin:0 0 0 -9px;border:2px solid #fff;border-radius:50%;background:var(--tdf-acc);box-shadow:0 1px 4px rgba(21,14,7,.35)}
body.td-filters-on .bde-wooshoppage + .bde-div .widget_price_filter .price_slider_amount{display:flex;flex-direction:column;align-items:stretch;gap:14px;font-size:14px}
body.td-filters-on .bde-wooshoppage + .bde-div .widget_price_filter .price_label{order:-1;font-size:14px;font-weight:500;color:var(--tdf-ink)}
body.td-filters-on .bde-wooshoppage + .bde-div .widget_price_filter button.button{margin:0;width:100%;padding:11px 16px;border:0;border-radius:6px;background:var(--tdf-acc);color:#fff;font-size:14px;font-weight:700;line-height:1.2}
body.td-filters-on .bde-wooshoppage + .bde-div .widget_price_filter button.button:hover{background:var(--tdf-acc-d)}

/* Tablet and phone: filters become an off-canvas drawer (only once the script has run) */
@media (max-width:1023px){
html.td-filters-js body.td-filters-on .bde-wooshoppage{flex:1 1 100%;width:100%;max-width:100%}
html.td-filters-js .td-filters-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 100%;box-sizing:border-box;margin:0;padding:11px 16px;border:1px solid var(--tdf-acc);border-radius:8px;background:#fff;color:var(--tdf-ink);font:inherit;font-size:15px;font-weight:700;line-height:1.2;cursor:pointer}
html.td-filters-js .td-filters-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--tdf-acc);color:#fff;font-size:12px;font-weight:700;line-height:1}
html.td-filters-js .td-filters-count[hidden]{display:none}
html.td-filters-js body.td-filters-on .bde-wooshoppage + .bde-div{position:fixed;z-index:100001;top:0;bottom:0;left:0;order:0;flex:none;width:min(88vw,360px);max-width:none;margin:0;padding:0 18px;border-radius:0;overflow-y:auto;overscroll-behavior:contain;transform:translateX(-102%);visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}
html.td-filters-js body.td-filters-open .bde-wooshoppage + .bde-div{transform:none;visibility:visible;transition:transform .25s ease}
html.td-filters-js .td-filters-overlay{display:block;position:fixed;inset:0;z-index:100000;background:rgba(21,14,7,.5);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s linear .2s}
html.td-filters-js body.td-filters-open .td-filters-overlay{opacity:1;visibility:visible;transition:opacity .2s ease}
html.td-filters-js body.td-filters-open{overflow:hidden}
html.td-filters-js .td-drawer-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:0 -18px;padding:14px 18px;border-bottom:1px solid var(--tdf-line);background:#fff;font-size:17px;font-weight:700}
html.td-filters-js .td-drawer-close{width:34px;height:34px;margin:0;padding:0;border:0;border-radius:50%;background:#F3EEE8;color:var(--tdf-ink);font-size:24px;line-height:1;cursor:pointer}
html.td-filters-js .td-drawer-foot{position:sticky;bottom:0;z-index:2;display:block;margin:0 -18px;padding:12px 18px;border-top:1px solid var(--tdf-line);background:#fff}
html.td-filters-js .td-drawer-show{display:block;width:100%;margin:0;padding:12px 16px;border:0;border-radius:6px;background:var(--tdf-acc);color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
}