/* Baking Time Product Filters (scoped) */
.btpf-wrap{--btpf-bg:#f3e6f0;--btpf-card:#ffffffcc;--btpf-border:rgba(17,24,39,.10);--btpf-text:#111827;--btpf-muted:rgba(17,24,39,.70);--btpf-accent:#ff2aa3;--btpf-radius:16px; font-family: inherit;}
.btpf-wrap *{box-sizing:border-box;}
.btpf-wrap{margin:18px 0 22px;}
.btpf-form{background:var(--btpf-bg); border:1px solid var(--btpf-border); border-radius:var(--btpf-radius); padding:14px 14px 10px; position:relative;}
.btpf-form.is-loading{opacity:.75; pointer-events:none;}
.btpf-top{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px;}
.btpf-title{font-weight:700; letter-spacing:.02em; color:var(--btpf-text);}
.btpf-chips{display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end;}
.btpf-chip{border:1px solid var(--btpf-border); background:rgba(255,255,255,.85); color:var(--btpf-text); border-radius:999px; padding:6px 10px; font-size:12px; cursor:pointer;}
.btpf-chip:hover{border-color:rgba(255,42,163,.35);}

.btpf-accordion{display:grid; grid-template-columns:repeat(3, minmax(180px, 1fr)); gap:10px;}
@media (max-width: 980px){ .btpf-accordion{grid-template-columns:1fr; } }

.btpf-acc-item{background:rgba(255,255,255,.70); border:1px solid var(--btpf-border); border-radius:14px; overflow:hidden;}
.btpf-acc-toggle{width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 12px; border:0; background:transparent; cursor:pointer;}
.btpf-acc-title{font-weight:650; color:var(--btpf-text);}
.btpf-acc-icon{width:26px; height:26px; border-radius:999px; display:flex; align-items:center; justify-content:center; border:1px solid var(--btpf-border); color:var(--btpf-accent); background:rgba(255,255,255,.75); font-size:16px; line-height:1;}
.btpf-acc-panel{padding:0 12px 12px; display:none;}
.btpf-acc-item.is-open .btpf-acc-panel{display:block;}
.btpf-acc-item.is-open .btpf-acc-icon{color:var(--btpf-text);}

.btpf-field input[type="search"]{width:100%; padding:10px 12px; border-radius:12px; border:1px solid var(--btpf-border); background:#fff; color:var(--btpf-text); outline:none;}
.btpf-field input[type="search"]:focus{border-color:rgba(255,42,163,.45); box-shadow:0 0 0 3px rgba(255,42,163,.12);}
.btpf-hint{margin:8px 0 0; font-size:12px; color:var(--btpf-muted);}

.btpf-list{display:grid; gap:8px; margin-top:8px;}
.btpf-check{display:flex; align-items:center; gap:10px; font-size:13px; color:var(--btpf-text); cursor:pointer;}
.btpf-check input{width:16px; height:16px;}
.btpf-check.is-hidden{display:none;}
.btpf-check-label{line-height:1.2;}
.btpf-show-more{margin-top:10px; width:100%; border:1px dashed rgba(255,42,163,.35); background:rgba(255,255,255,.6); padding:8px 10px; border-radius:12px; cursor:pointer; color:var(--btpf-text); font-size:12px;}
.btpf-show-more:hover{background:rgba(255,255,255,.9);}

.btpf-subblock{padding:10px 0; border-top:1px dashed rgba(17,24,39,.10);}
.btpf-subblock:first-child{border-top:0; padding-top:0;}
.btpf-subtitle{font-weight:650; color:var(--btpf-text); font-size:13px; margin-bottom:6px;}

.btpf-actions{display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:10px;}
.btpf-clear{border:1px solid var(--btpf-border); background:rgba(255,255,255,.85); padding:8px 12px; border-radius:12px; cursor:pointer; font-size:13px;}
.btpf-clear:hover{border-color:rgba(255,42,163,.35);}
.btpf-status{font-size:12px; color:var(--btpf-muted);}

.btpf-price .btpf-slider{margin-top:10px; margin-bottom:12px;}
.btpf-price-row{display:flex; gap:10px; align-items:center;}
.btpf-price-row input{width:100%; padding:9px 10px; border-radius:12px; border:1px solid var(--btpf-border); background:#fff;}
.btpf-price-sep{color:var(--btpf-muted);}

/* jQuery UI slider tweaks */
.btpf-wrap .ui-slider{height:6px; border-radius:999px; border:1px solid rgba(17,24,39,.12); background:rgba(255,255,255,.65);}
.btpf-wrap .ui-slider .ui-slider-range{background:rgba(255,42,163,.35);}
.btpf-wrap .ui-slider .ui-slider-handle{width:18px; height:18px; border-radius:999px; border:1px solid rgba(17,24,39,.18); background:#fff; top:-7px; cursor:pointer;}
.btpf-wrap .ui-slider .ui-slider-handle:focus{outline:none; box-shadow:0 0 0 3px rgba(255,42,163,.14);}

/* Sidebar layout wrapper (only active when selected in settings) */
.btpf-shop-wrapper.btpf-layout-sidebar{display:flex; gap:18px; align-items:flex-start;}
.btpf-shop-wrapper.btpf-layout-sidebar .btpf-sidebar{flex:0 0 320px;}
.btpf-shop-wrapper.btpf-layout-sidebar .btpf-products-area{flex:1 1 auto;}
@media (max-width: 980px){
  .btpf-shop-wrapper.btpf-layout-sidebar{flex-direction:column;}
  .btpf-shop-wrapper.btpf-layout-sidebar .btpf-sidebar{flex:1 1 auto; width:100%;}
}
/* Prevent theme styles from hijacking our controls (only inside plugin) */
.btpf-wrap button,
.btpf-wrap input[type="number"],
.btpf-wrap input[type="search"]{
  box-shadow: none !important;
  text-transform: none !important;
}

.btpf-wrap .btpf-acc-toggle{
  background: transparent !important;
}

/* jQuery UI slider safety inside plugin only */
.btpf-wrap .ui-slider,
.btpf-wrap .ui-slider *{
  box-sizing: border-box;
}
.btpf-wrap .ui-slider{
  background: rgba(0,0,0,.06) !important;
  border: 1px solid rgba(0,0,0,.12) !important;
}
.btpf-wrap .ui-slider .ui-slider-handle{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.18) !important;
}