/* Seret WooCommerce Filters 1.2 - visual moderno y aislado del tema */
.seret-filters,
.seret-filters *{box-sizing:border-box}

.seret-filters{
  --seret-blue:#1557b0;
  --seret-text:#16181d;
  --seret-muted:#727782;
  --seret-line:#e9ebef;
  --seret-soft:#f7f8fa;
  width:100%!important;
  max-width:360px;
  color:var(--seret-text)!important;
  font-family:inherit!important;
  font-size:14px!important;
}

.seret-filters__head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:0 0 20px!important;
  margin:0 0 2px!important;
  border-bottom:1px solid var(--seret-line)!important;
}
.seret-filters__eyebrow{
  display:block!important;
  margin:0 0 5px!important;
  color:var(--seret-muted)!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.seret-filters__head h3{
  margin:0!important;
  padding:0!important;
  color:var(--seret-text)!important;
  font-size:23px!important;
  line-height:1.1!important;
  font-weight:750!important;
  letter-spacing:-.025em!important;
}
.seret-filters__clear{
  flex:0 0 auto!important;
  margin-bottom:1px!important;
  color:var(--seret-muted)!important;
  font-size:12px!important;
  font-weight:600!important;
  text-decoration:none!important;
  border-bottom:1px solid #cfd2d7!important;
  line-height:1.4!important;
}
.seret-filters__clear:hover{color:var(--seret-blue)!important;border-color:var(--seret-blue)!important}

.seret-filter{border-bottom:1px solid var(--seret-line)!important;margin:0!important;padding:0!important}
.seret-filter__toggle{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
  min-height:48px!important;
  padding:15px 0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--seret-text)!important;
  box-shadow:none!important;
  font:inherit!important;
  font-size:14px!important;
  font-weight:700!important;
  text-align:left!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  cursor:pointer!important;
}
.seret-filter__toggle:hover{background:transparent!important;color:var(--seret-blue)!important}
.seret-filter__chevron{font-size:14px!important;color:#8a8f98!important;line-height:1!important;transition:transform .2s ease}
.seret-filter__toggle:not(.is-open) .seret-filter__chevron{transform:rotate(0deg)}
.seret-filter__body{display:none!important;padding:0 0 16px!important;margin:0!important}
.seret-filter__body.is-open{display:block!important}

/* Checkboxes */
.seret-check{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:34px!important;
  margin:0!important;
  padding:4px 0!important;
  color:#30343b!important;
  cursor:pointer!important;
  font-size:13px!important;
  line-height:1.35!important;
}
.seret-check input[type="checkbox"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}
.seret-check__box{
  flex:0 0 17px!important;
  width:17px!important;
  height:17px!important;
  border:1px solid #c9cdd4!important;
  border-radius:4px!important;
  background:#fff!important;
  position:relative!important;
  transition:.15s ease!important;
}
.seret-check input:checked + .seret-check__box{background:var(--seret-blue)!important;border-color:var(--seret-blue)!important}
.seret-check input:checked + .seret-check__box:after{
  content:""!important;
  position:absolute!important;
  left:5px!important;
  top:2px!important;
  width:4px!important;
  height:8px!important;
  border:solid #fff!important;
  border-width:0 2px 2px 0!important;
  transform:rotate(45deg)!important;
}
.seret-check__text{min-width:0!important;flex:1!important}
.seret-check__count{color:#999fa8!important;font-size:11px!important}
.seret-check--subcat{padding-left:27px!important;min-height:31px!important;font-size:12.5px!important;color:#656b75!important}

/* Categorías */
.seret-category-group{margin:0!important;border:0!important}
.seret-category-row{display:flex!important;align-items:center!important;gap:4px!important;min-height:35px!important}
.seret-category-row .seret-check{flex:1!important}
.seret-category-expand{
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#969ba4!important;
  font-size:14px!important;
  cursor:pointer!important;
  transition:transform .2s ease!important;
}
.seret-category-group.is-open .seret-category-expand{transform:rotate(180deg)!important}
.seret-subcategories{display:none!important;padding:1px 0 6px!important}
.seret-category-group.is-open .seret-subcategories{display:block!important}

/* Marca */
.seret-select-wrap{position:relative!important;width:100%!important}
.seret-brand-select{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
  height:43px!important;
  padding:0 38px 0 12px!important;
  border:1px solid #dfe2e7!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#30343b!important;
  font:inherit!important;
  font-size:13px!important;
  outline:none!important;
  box-shadow:none!important;
}
.seret-brand-select:focus{border-color:var(--seret-blue)!important;box-shadow:0 0 0 3px rgba(21,87,176,.08)!important}
.seret-select-arrow{position:absolute!important;right:13px!important;top:50%!important;transform:translateY(-52%)!important;color:#7f858e!important;pointer-events:none!important}

/* Precio */
.seret-price-values{display:flex!important;justify-content:space-between!important;gap:12px!important;margin:0 0 17px!important;color:#8a8f98!important;font-size:11px!important}
.seret-price-values strong{display:block!important;margin-top:3px!important;color:var(--seret-text)!important;font-size:13px!important;font-weight:700!important}
.seret-range{position:relative!important;height:25px!important;margin:0 6px 5px!important}
.seret-range__track,
.seret-range__selected{position:absolute!important;left:0!important;right:0!important;top:10px!important;height:4px!important;border-radius:99px!important}
.seret-range__track{background:#e5e7eb!important}
.seret-range__selected{background:var(--seret-blue)!important}
.seret-range__input{
  position:absolute!important;
  left:-6px!important;
  top:0!important;
  width:calc(100% + 12px)!important;
  height:25px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  pointer-events:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  outline:none!important;
}
.seret-range__input::-webkit-slider-runnable-track{height:4px;background:transparent!important}
.seret-range__input::-moz-range-track{height:4px;background:transparent!important}
.seret-range__input::-webkit-slider-thumb{
  appearance:none!important;-webkit-appearance:none!important;
  width:17px!important;height:17px!important;margin-top:-6px!important;
  border:3px solid #fff!important;border-radius:50%!important;
  background:var(--seret-blue)!important;box-shadow:0 1px 5px rgba(0,0,0,.22)!important;
  pointer-events:auto!important;cursor:grab!important;
}
.seret-range__input::-moz-range-thumb{
  width:13px!important;height:13px!important;
  border:3px solid #fff!important;border-radius:50%!important;
  background:var(--seret-blue)!important;box-shadow:0 1px 5px rgba(0,0,0,.22)!important;
  pointer-events:auto!important;cursor:grab!important;
}
.seret-range__min{z-index:4!important}
.seret-range__max{z-index:5!important}

.seret-price-hidden{display:none!important}

/* Botón */
.seret-filters__submit{
  appearance:none!important;
  width:100%!important;
  height:46px!important;
  margin:18px 0 0!important;
  padding:0 16px!important;
  border:0!important;
  border-radius:9px!important;
  background:var(--seret-blue)!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(21,87,176,.18)!important;
  font:inherit!important;
  font-size:13px!important;
  font-weight:750!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  cursor:pointer!important;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease!important;
}
.seret-filters__submit:hover{background:#104b9a!important;transform:translateY(-1px)!important;box-shadow:0 7px 17px rgba(21,87,176,.23)!important}
.seret-filters__submit span:last-child{font-size:18px!important;font-weight:400!important}

@media(max-width:767px){
  .seret-filters{max-width:none!important}
  .seret-filters__head h3{font-size:21px!important}
}

/* Scroll interno del sidebar: evita que Blocksy/sticky sidebar recorte los filtros */
.seret-filters{
  max-height:calc(100vh - 32px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin!important;
  scrollbar-color:#c9ced6 transparent!important;
  padding-right:8px!important;
}
.seret-filters::-webkit-scrollbar{width:6px!important}
.seret-filters::-webkit-scrollbar-track{background:transparent!important}
.seret-filters::-webkit-scrollbar-thumb{background:#c9ced6!important;border-radius:20px!important}
.seret-filters::-webkit-scrollbar-thumb:hover{background:#aeb5c0!important}

@media(max-width:767px){
  .seret-filters{
    max-height:none!important;
    overflow:visible!important;
    padding-right:0!important;
  }
}
