
/* DaruGet premium unified product filters */
.category-page .filter-panel{
  position:sticky!important;
  top:86px!important;
  width:100%!important;
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
  padding:0!important;
  background:#fff!important;
  border:1px solid #e5ebe8!important;
  border-radius:20px!important;
  box-shadow:0 10px 30px rgba(15,23,42,.055)!important;
}
.category-page .filter-head{
  position:relative!important;
  top:auto!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  padding:14px 14px 12px!important;
  margin:0!important;
  background:linear-gradient(180deg,#fff,#fbfdfc)!important;
  border-bottom:1px solid #edf2ef!important;
  border-radius:20px 20px 0 0!important;
}
.category-page .filter-head strong{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  color:#0f172a!important;
  font-size:13px!important;
  font-weight:950!important;
}
.category-page .filter-head strong::before{
  content:"☷"!important;
  display:grid!important;place-items:center!important;
  width:27px!important;height:27px!important;
  border-radius:9px!important;
  background:#ecfdf3!important;
  color:#15803d!important;
  font-size:13px!important;
}
.category-page #clearFilters{
  height:30px!important;
  padding:0 9px!important;
  border:1px solid #f1d7dc!important;
  border-radius:9px!important;
  background:#fff7f8!important;
  color:#be123c!important;
  font-size:12px!important;
  font-weight:900!important;
  cursor:pointer!important;
  transition:.2s!important;
}
.category-page #clearFilters:hover{
  background:#fff1f2!important;
  border-color:#fecdd3!important;
}
.category-page .filter-block{
  margin:0 12px!important;
  padding:13px 2px!important;
  border:0!important;
  border-bottom:1px solid #edf2ef!important;
  background:#fff!important;
}
.category-page .filter-block:last-child{border-bottom:0!important}
.category-page .filter-block h3{
  margin:0 0 10px!important;
  color:#334155!important;
  font-size:12px!important;
  font-weight:950!important;
  line-height:1.5!important;
}
.category-page .filter-block label{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:31px!important;
  padding:4px 3px!important;
  margin:0!important;
  color:#475569!important;
  font-size:12px!important;
  line-height:1.5!important;
  border-radius:8px!important;
}
.category-page .filter-block label:hover{background:#f8fbf9!important}
.category-page .filter-block input[type="checkbox"]{
  width:15px!important;height:15px!important;
  accent-color:#15803d!important;
  flex:0 0 15px!important;
}
.category-page #filterSearch{
  width:100%!important;height:38px!important;
  padding:0 11px!important;
  border:1px solid #dfe7e2!important;
  border-radius:11px!important;
  background:#fbfdfc!important;
  color:#334155!important;
  font:inherit!important;
  outline:0!important;
}
.category-page #filterSearch:focus{
  border-color:#86c99a!important;
  box-shadow:0 0 0 3px rgba(21,128,61,.07)!important;
}
.category-page #priceRange{
  width:100%!important;
  accent-color:#15803d!important;
}
.category-page .range-value{
  margin-top:7px!important;
  padding:7px 9px!important;
  border-radius:9px!important;
  background:#f8fbf9!important;
  color:#64748b!important;
  font-size:12px!important;
}
.category-page .rating-filter,
.category-page .delivery-filter{
  display:flex!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}
.category-page .rating-filter button,
.category-page .delivery-option{
  border:1px solid #e2e8f0!important;
  background:#fff!important;
  color:#475569!important;
  border-radius:9px!important;
}
.category-page .delivery-option{
  flex:1 1 100px!important;
  min-height:40px!important;
  padding:6px 8px!important;
}
.category-page .delivery-option.active{
  border-color:#bbf7d0!important;
  background:#f0fdf4!important;
  color:#166534!important;
}

/* no nested scrollbar on desktop */
@media(min-width:981px){
  .category-page .filter-panel{
    overflow:visible!important;
    max-height:none!important;
  }
}

/* mobile keeps a single, intentional drawer scroll */
@media(max-width:980px){
  .category-page .filter-panel{
    position:fixed!important;
    top:0!important;right:0!important;bottom:0!important;
    width:min(350px,90vw)!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    border-radius:0!important;
    box-shadow:-18px 0 55px rgba(15,23,42,.14)!important;
  }
  .category-page .filter-head{
    position:sticky!important;
    top:0!important;
    z-index:10!important;
    border-radius:0!important;
  }
}

/* Premium filter readability v2 */
.category-page .filter-head{
  padding:14px 13px!important;
  background:linear-gradient(135deg,#116b3b,#15803d)!important;
  border-bottom:0!important;
  color:#fff!important;
}
.category-page .filter-head strong{
  color:#fff!important;
  font-size:14px!important;
  line-height:1.4!important;
  letter-spacing:0!important;
}
.category-page .filter-head strong::before{
  background:rgba(255,255,255,.15)!important;
  color:#fff!important;
}
.category-page #clearFilters{
  min-width:82px!important;
  height:32px!important;
  padding:0 9px!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.75)!important;
  color:#b4233a!important;
  font-size:12px!important;
  font-weight:950!important;
  box-shadow:0 3px 10px rgba(0,0,0,.08)!important;
}
.category-page #clearFilters:hover{background:#fff5f6!important}
.category-page .filter-block{
  padding:14px 3px!important;
}
.category-page .filter-block h3{
  margin:0 0 11px!important;
  color:#1e293b!important;
  font-size:12px!important;
  font-weight:950!important;
}
.category-page .filter-block label{
  min-height:34px!important;
  gap:8px!important;
  padding:5px 4px!important;
  color:#3f4c5c!important;
  font-size:11px!important;
  font-weight:650!important;
  line-height:1.55!important;
}
.category-page .filter-block input[type="checkbox"]{
  width:16px!important;height:16px!important;flex-basis:16px!important;
}
.category-page #filterSearch{
  height:41px!important;
  font-size:11px!important;
}
.category-page .range-value{
  font-size:12px!important;
  line-height:1.7!important;
}
.category-page .switch-row span{
  font-size:11px!important;
  font-weight:750!important;
}
.category-page .filter-option-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
}
.category-page .filter-option-grid label{
  min-height:36px!important;
  padding:6px 7px!important;
  border:1px solid #e6ece8!important;
  border-radius:10px!important;
  background:#fbfdfc!important;
}
.category-page .filter-option-grid label:hover{
  border-color:#bbd8c5!important;
  background:#f3faf5!important;
}
@media(max-width:980px){
  .category-page .filter-head{
    border-radius:0!important;
  }
}

/* FINAL filter header line fix */
.category-page .filter-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  min-height:58px!important;
  padding:12px 13px!important;
  background:#116b3b!important;
  border-radius:20px 20px 0 0!important;
}
.category-page .filter-head strong{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:950!important;
  line-height:1.4!important;
}
.category-page #clearFilters{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:92px!important;
  height:34px!important;
  padding:0 10px!important;
  white-space:nowrap!important;
  background:#fff!important;
  color:#b4233a!important;
  border:1px solid rgba(255,255,255,.9)!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:950!important;
  line-height:1!important;
}
@media(max-width:380px){
  .category-page .filter-head{gap:7px!important;padding:11px 10px!important}
  .category-page .filter-head strong{font-size:12px!important}
  .category-page #clearFilters{min-width:84px!important;padding:0 8px!important;font-size:12px!important}
}

/* DaruGet FINAL filter header */
.category-page .filter-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:60px!important;
  padding:12px 14px!important;
  background:#ffffff!important;
  background-image:none!important;
  border-bottom:1px solid #e7eee9!important;
  border-radius:20px 20px 0 0!important;
  box-shadow:none!important;
}
.category-page .filter-head strong{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
  color:#17372a!important;
  font-size:14px!important;
  font-weight:950!important;
  line-height:1.2!important;
}
.category-page .filter-head strong::before{
  content:"☰"!important;
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  flex:0 0 28px!important;
  border-radius:9px!important;
  background:#eef8f1!important;
  color:#15803d!important;
  font-size:12px!important;
}
.category-page #clearFilters{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:94px!important;
  height:34px!important;
  margin:0!important;
  padding:0 11px!important;
  white-space:nowrap!important;
  background:#f8fbf9!important;
  background-image:none!important;
  color:#15803d!important;
  border:1px solid #cfe3d5!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
}
.category-page #clearFilters:hover{
  background:#eef8f1!important;
  border-color:#a8cfb3!important;
  color:#116b3b!important;
}
@media(max-width:380px){
  .category-page .filter-head{gap:8px!important;padding:11px!important}
  .category-page .filter-head strong{font-size:12.5px!important}
  .category-page #clearFilters{min-width:84px!important;padding:0 8px!important;font-size:12px!important}
}

/* FINAL compact clear button */
.category-page #clearFilters{
  min-width:72px!important;
  width:auto!important;
  height:28px!important;
  padding:0 8px!important;
  font-size:12px!important;
  font-weight:900!important;
  border-radius:8px!important;
  white-space:nowrap!important;
}
.category-page .filter-head{
  gap:8px!important;
}
@media(max-width:380px){
  .category-page #clearFilters{
    min-width:66px!important;
    height:27px!important;
    padding:0 7px!important;
    font-size:12px!important;
  }
}

/* FINAL unified filter header typography */
.category-page .filter-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-height:54px!important;
  padding:10px 12px!important;
  background:#fff!important;
  background-image:none!important;
  border-bottom:1px solid #e7eee9!important;
  border-radius:18px 18px 0 0!important;
  color:#334155!important;
}
.category-page .filter-head strong{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  margin:0!important;
  white-space:nowrap!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.25!important;
}
.category-page .filter-head strong::before{
  content:"☷"!important;
  display:grid!important;
  place-items:center!important;
  width:25px!important;
  height:25px!important;
  flex:0 0 25px!important;
  border-radius:8px!important;
  background:#f1f5f3!important;
  color:#64748b!important;
  font-size:11px!important;
}
.category-page #clearFilters{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  width:auto!important;
  height:25px!important;
  padding:0 7px!important;
  margin:0!important;
  white-space:nowrap!important;
  background:transparent!important;
  background-image:none!important;
  border:1px solid #dce5df!important;
  border-radius:7px!important;
  box-shadow:none!important;
  color:#64748b!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
}
.category-page #clearFilters:hover{
  color:#334155!important;
  background:#f8faf9!important;
  border-color:#cbd8d0!important;
}

/* DaruGet FINAL filter contrast — dark readable text */
.category-page .filter-head{
  background:#ffffff!important;
  background-image:none!important;
  color:#172033!important;
  border-bottom:1px solid #e3e9e5!important;
}
.category-page .filter-head strong{
  color:#172033!important;
  font-size:13.5px!important;
  font-weight:950!important;
  text-shadow:none!important;
}
.category-page .filter-head strong::before{
  color:#334155!important;
  background:#eef3f0!important;
}
.category-page #clearFilters{
  color:#334155!important;
  background:#f7f9f8!important;
  border-color:#d5ded8!important;
  font-size:12px!important;
  font-weight:900!important;
  text-shadow:none!important;
}
.category-page #clearFilters:hover{
  color:#111827!important;
  background:#eef3f0!important;
  border-color:#c5d0c9!important;
}
.category-page #filterSearch{
  color:#172033!important;
  background:#fff!important;
  border-color:#d7e0da!important;
  font-size:11px!important;
  font-weight:650!important;
}
.category-page #filterSearch::placeholder{
  color:#526174!important;
  opacity:1!important;
  font-size:12px!important;
  font-weight:650!important;
}

/* DaruGet — definitive filter header/search contrast fix */
.category-page .filters-card .filter-head,
.category-page .filter-panel .filter-head,
.category-page aside .filter-head{
  background:#fff!important;
  color:#111827!important;
}
.category-page .filters-card .filter-head strong,
.category-page .filter-panel .filter-head strong,
.category-page aside .filter-head strong{
  color:#111827!important;
  -webkit-text-fill-color:#111827!important;
  opacity:1!important;
  text-shadow:none!important;
}
.category-page .filters-card #clearFilters,
.category-page .filter-panel #clearFilters,
.category-page aside #clearFilters{
  color:#1f2937!important;
  -webkit-text-fill-color:#1f2937!important;
  background:#eef2f0!important;
  border:1px solid #cbd5ce!important;
  opacity:1!important;
  text-shadow:none!important;
}
.category-page #filterSearch{
  color:#111827!important;
  -webkit-text-fill-color:#111827!important;
  caret-color:#111827!important;
  opacity:1!important;
}
.category-page #filterSearch::placeholder{
  color:#4b5563!important;
  -webkit-text-fill-color:#4b5563!important;
  opacity:1!important;
}
