.she-pcs{
  width:100%;
  font-family:var(--wd-text-font,inherit);
  color:var(--she-pcs-text);
}
.she-pcs *{box-sizing:border-box}
.she-pcs a{text-decoration:none}
.she-pcs-title{
  margin:0 0 18px;
  padding:0 0 13px;
  border-bottom:1px solid #e9e9e9;
  color:var(--she-pcs-heading);
  font-size:16px;
  font-weight:700;
  line-height:1.25;
  letter-spacing:.01em;
  text-transform:uppercase;
}
.she-pcs-section{
  margin:0 0 26px;
  padding:0;
}
.she-pcs-section:last-child{margin-bottom:0}
.she-pcs-section-heading{
  position:relative;
  margin:0 0 12px;
  padding:0 0 10px;
  border-bottom:1px solid #ededed;
  color:var(--she-pcs-heading);
  font-size:13px;
  font-weight:800;
  line-height:1.25;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.she-pcs-section-heading:after{
  content:"";
  position:absolute;
  left:0;
  bottom:-1px;
  width:34px;
  height:2px;
  border-radius:4px;
  background:var(--she-pcs-accent);
}
.she-pcs-list{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}
.she-pcs-item{
  position:relative;
  margin:0!important;
  padding:0!important;
}
.she-pcs-item>a{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  min-height:30px;
  padding:6px 8px 6px 14px;
  border-radius:7px;
  color:var(--she-pcs-text)!important;
  font-size:13.5px;
  font-weight:500;
  line-height:1.35;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.she-pcs-item>a:before{
  content:"";
  position:absolute;
  left:1px;
  top:13px;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#b9b9b9;
}
.she-pcs-item>a:hover{
  background:#fff2f8;
  color:var(--she-pcs-accent)!important;
  transform:translateX(2px);
}
.she-pcs-count{
  flex:0 0 auto;
  color:#9a9a9a;
  font-size:11px;
  font-weight:500;
}
.she-pcs-item.is-active>a{
  background:#fff0f7;
  color:var(--she-pcs-accent)!important;
  font-weight:700;
}
.she-pcs-item.is-active>a:before{
  top:8px;
  width:3px;
  height:calc(100% - 16px);
  border-radius:3px;
  background:var(--she-pcs-accent);
}
.she-pcs-item.is-current-ancestor>a{
  color:#252525!important;
  font-weight:650;
}
.she-pcs-level-2{
  margin:2px 0 5px 12px!important;
  padding-left:9px!important;
  border-left:1px solid #ededed;
}
.she-pcs-level-2>.she-pcs-item>a{
  min-height:27px;
  padding-top:5px;
  padding-bottom:5px;
  font-size:12.75px;
  font-weight:450;
}
.she-pcs-level-2>.she-pcs-item>a:before{
  width:3px;
  height:3px;
  top:12px;
  background:#cecece;
}
.she-pcs-level-3{
  margin:1px 0 4px 11px!important;
  padding-left:8px!important;
  border-left:1px dashed #e6e6e6;
}
.she-pcs-level-3>.she-pcs-item>a{
  min-height:25px;
  padding-top:4px;
  padding-bottom:4px;
  font-size:12px;
  color:#747474!important;
}
.she-pcs-level-4,
.she-pcs-level-5{
  margin-left:10px!important;
  padding-left:7px!important;
  border-left:1px dotted #e4e4e4;
}
.she-pcs-level-4>.she-pcs-item>a,
.she-pcs-level-5>.she-pcs-item>a{
  min-height:24px;
  padding-top:4px;
  padding-bottom:4px;
  font-size:11.5px;
  color:#828282!important;
}
@media(max-width:1024px){
  .she-pcs-title{font-size:15px}
  .she-pcs-section{margin-bottom:22px}
  .she-pcs-item>a{min-height:36px;padding-top:8px;padding-bottom:8px}
  .she-pcs-item>a:before{top:16px}
  .she-pcs-level-2>.she-pcs-item>a,
  .she-pcs-level-3>.she-pcs-item>a,
  .she-pcs-level-4>.she-pcs-item>a,
  .she-pcs-level-5>.she-pcs-item>a{
    min-height:32px;
    padding-top:7px;
    padding-bottom:7px;
  }
}


/* Price range filter */
.she-pcs-price-filter{
  margin:0 0 22px;
  padding:0 0 20px;
  border-bottom:1px solid #e9e9e9;
}
.she-pcs-price-heading{
  margin:0 0 17px;
  color:var(--she-pcs-heading);
  font-size:15px;
  font-weight:700;
  line-height:1.3;
}
.she-pcs-range-wrap{
  position:relative;
  height:24px;
  margin:0 4px 14px;
}
.she-pcs-range-track,
.she-pcs-range-fill{
  position:absolute;
  top:11px;
  left:0;
  right:0;
  height:3px;
  border-radius:5px;
}
.she-pcs-range-track{background:#dedede}
.she-pcs-range-fill{background:var(--she-pcs-accent)}
.she-pcs-range{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:24px;
  margin:0;
  padding:0;
  appearance:none;
  -webkit-appearance:none;
  pointer-events:none;
  background:transparent;
}
.she-pcs-range::-webkit-slider-runnable-track{
  height:3px;
  background:transparent;
}
.she-pcs-range::-moz-range-track{
  height:3px;
  background:transparent;
}
.she-pcs-range::-webkit-slider-thumb{
  width:17px;
  height:17px;
  margin-top:-7px;
  border:3px solid var(--she-pcs-accent);
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 7px rgba(0,0,0,.18);
  appearance:none;
  -webkit-appearance:none;
  pointer-events:auto;
  cursor:grab;
}
.she-pcs-range::-moz-range-thumb{
  width:13px;
  height:13px;
  border:3px solid var(--she-pcs-accent);
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 7px rgba(0,0,0,.18);
  pointer-events:auto;
  cursor:grab;
}
.she-pcs-price-values{
  display:grid;
  grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);
  align-items:end;
  gap:7px;
  margin-bottom:13px;
}
.she-pcs-price-values label>span:first-child{
  display:block;
  margin-bottom:5px;
  color:#777;
  font-size:10px;
  font-weight:600;
  text-transform:uppercase;
}
.she-pcs-money-input{
  display:flex!important;
  align-items:center;
  min-height:36px;
  border:1px solid #e1e1e1;
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}
.she-pcs-money-input b{
  padding-left:9px;
  color:#555;
  font-size:12px;
  font-weight:600;
}
.she-pcs-money-input input{
  width:100%;
  min-width:0;
  height:34px;
  padding:0 7px 0 3px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#222;
  font-size:12px!important;
  font-weight:600;
  -moz-appearance:textfield;
}
.she-pcs-money-input input::-webkit-outer-spin-button,
.she-pcs-money-input input::-webkit-inner-spin-button{
  margin:0;
  -webkit-appearance:none;
}
.she-pcs-price-separator{
  padding-bottom:10px;
  color:#aaa;
  text-align:center;
}
.she-pcs-price-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.she-pcs-price-actions button{
  min-height:36px;
  padding:0 15px;
  border:0;
  border-radius:8px;
  background:var(--she-pcs-accent);
  color:#fff;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  transition:transform .15s ease,opacity .15s ease;
}
.she-pcs-price-actions button:hover{
  opacity:.9;
  transform:translateY(-1px);
}
.she-pcs-price-actions a{
  color:#777!important;
  font-size:12px;
  font-weight:600;
}
.she-pcs-price-actions a:hover{color:var(--she-pcs-accent)!important}

/* Mobile: independent, touch-friendly sidebar scrolling */
@media(max-width:1024px){
  .she-pcs{
    max-height:calc(100dvh - 150px);
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:5px;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,20,147,.45) transparent;
  }
  .she-pcs::-webkit-scrollbar{width:5px}
  .she-pcs::-webkit-scrollbar-track{background:transparent}
  .she-pcs::-webkit-scrollbar-thumb{
    border-radius:8px;
    background:rgba(255,20,147,.42);
  }
  .she-pcs-price-filter{
    position:relative;
    z-index:2;
    background:#fff;
  }
}
@media(max-width:767px){
  .she-pcs{
    max-height:calc(100dvh - 115px);
    padding-bottom:24px;
  }
}


/* Context-aware price range label */
.she-pcs-price-heading>span{
  display:block;
}
.she-pcs-price-heading small{
  display:block;
  margin-top:4px;
  color:#888;
  font-size:10.5px;
  font-weight:500;
  line-height:1.4;
  text-transform:none;
}
.she-pcs-price-heading small .woocommerce-Price-amount{
  color:#666;
  font-weight:600;
}
