.no-display {
  display: none !important;
}
#price-filter-form,
.filter-section-button,
.filters-unveil-button-wrapper {
  display: none;
}
#filters {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  background: transparent;
}
.filter-sections,
#category-filter-hover {
  display: contents !important;
}
.slider-wrapper,
.filter-section-boolean,
#manufacturer-filter,
.filter-section-parametric {
  position: relative;
  flex-shrink: 0;
  padding: 0;
  border: 0 !important;
}
.advanced-filters-wrapper {
  display: none;
}
.slider-wrapper {
  max-width: none;
  padding: 0;
  margin: 0;
}
#filters h4 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  line-height: 1.4;
  user-select: none;
}
#filters h4:hover {
  border-color: #9ca3af;
}
#filters .open > h4 {
  border-color: #004381;
  box-shadow: 0 0 0 1px #004381;
}
#filters h4::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='%236b7280' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E")
    center/contain no-repeat;
  transition: transform 0.2s;
}
#filters .open > h4::after {
  transform: rotate(180deg);
}
.ft-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  padding: 8px 0;
  max-height: 320px;
  overflow-y: auto;
}
.open > .ft-panel {
  display: block;
}

#productsTopHeading {
  display: none;
}
.category-content-wrapper {
  display: flex;
  flex-direction: column;
}
#filters {
  align-items: flex-start;
  order: 1;
  flex-wrap: wrap;
}
#ft-chips-row {
  order: 2;
}
#category-header {
  order: 3;
  margin-bottom: 40px;
}
#products {
  order: 4;
}
.listingControls {
  order: 5;
}
.toggle-top-products {
  display: none;
}
.ui-slider .ui-slider-range {
  top: 10px;
  background: #f0f0f0;
}
.slider-wrapper > .slider-header,
.slider-wrapper > .slider-content {
  position: absolute;
  top: calc(100% + 6px);
  left: 10px;
  min-width: 350px;
  min-height: 50px;
  background: #fff;
  z-index: 101;
  padding: 0 16px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.slider-wrapper > .slider-header {
  padding-top: 16px;
  border: 1px solid #e5e7eb;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
}
.slider-wrapper > .slider-content {
  top: calc(100% + 6px + 44px);
  padding-bottom: 16px;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.slider-wrapper.open > .slider-header,
.slider-wrapper.open > .slider-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.slider-wrapper > .from,
.slider-wrapper > .to {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.ft-panel fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.ft-panel fieldset > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.1s;
  font-size: 14px;
}
.ft-panel fieldset > div:hover {
  background: #f3f4f6;
}
.ft-panel input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #004381;
  cursor: pointer;
  flex-shrink: 0;
}
.ft-panel input[type="hidden"] {
  display: none;
}
.ft-panel .filter-label {
  cursor: pointer;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  font-size: 14px;
}
.ft-panel .filter-count {
  color: #9ca3af;
  font-size: 13px;
  margin-left: 8px;
}
.ft-price-subtitle {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #004381;
  line-height: 1.2;
  white-space: nowrap;
}
.ft-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #004381;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.slider-wrapper .slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}
.slider-wrapper .slider-header span {
  font-weight: 500;
  color: #1a1a2e;
}
.slider-wrapper .slider-content {
  padding: 8px 25px;
}
.ui-slider {
  position: relative;
  height: 4px;
  border-radius: 2px;
  border: none;
}
.ui-slider-range {
  position: absolute;
  height: 100%;
  background: #004381;
  border-radius: 2px;
  top: 10px;
}
.ui-slider-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: #004381;
  border: 2px solid #004381;
  border-radius: 50%;
  cursor: grab;
  outline: none;
}
.ui-slider-handle:hover {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.ui-slider-horizontal .ui-slider-handle {
  top: 10px;
}
.ui-slider-horizontal .ui-slider-handle::after {
  background: #004381;
}
.filter-section-count {
  width: 100%;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.filter-total-count {
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
}
.filter-total-count strong {
  color: #1a1a2e;
  font-weight: 600;
}
#clear-filters {
  margin: 0;
}
#clear-filters a {
  font-size: 13px;
  color: #004381;
  text-decoration: none;
}
#clear-filters a:hover {
  text-decoration: underline;
}
.ft-chips {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.ft-chips.visible {
  display: flex;
}
.ft-chips-label {
  font-size: 13px;
  color: #6b7280;
  margin-right: 4px;
}
.ft-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 13px;
  color: #374151;
  white-space: nowrap;
}
.ft-chip-x {
  border: none;
  background: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ft-chip-x:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}
.ft-clear-all {
  margin-left: auto;
  font-size: 13px;
  color: #004381;
  text-decoration: none;
}
.ft-clear-all:hover {
  text-decoration: underline;
}
.ft-panel::-webkit-scrollbar {
  width: 6px;
}
.ft-panel::-webkit-scrollbar-track {
  background: transparent;
}
.ft-panel::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
.listSorting__controls .listSorting__control {
  font-weight: bold;
}
@media (max-width: 767px) {
  .filter-total-count {
    display: block !important;
  }
}
@media (max-width: 500px) {
  #filters {
    flex-direction: column;
  }
}
