/* Parent Wrapper Styles */
.custom-filter-sidebar {
  width: 100%;
  background-color: #ffede9;
  border-radius: 10px;
  overflow: hidden;
}

/* Header */
.custom-filter-sidebar .filter-header {
  background-color: #ee4823;
  color: #ffffff;
  padding: 8px 10px;
  font-weight: bold;
  font-size: 16px;
}
.custom-filter-sidebar .filter-body {
  padding: 0;
}

/* Static Header Section */
.custom-filter-sidebar .static-section {
  padding: 14px 12px 10px 12px;
  border-bottom: 1px solid #ee4823;
}
.custom-filter-sidebar .section-title {
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 8px;
}
/* React Bootstrap Accordion Customization */
.custom-filter-sidebar .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: #ffcecb;
}

.custom-filter-sidebar .accordion-item {
  border-bottom: 1px solid #ee4823 !important;
  border-top: none;
  border-left: none;
  border-right: none;
}

.custom-filter-sidebar .accordion-button {
  background-color: transparent !important;
  color: #212529;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 12px !important;
  box-shadow: none !important;
}

/* Styling Accordion Dropdown Arrows to match your clean theme */
.custom-filter-sidebar .accordion-button:not(.collapsed) {
  color: #222222 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}
.custom-filter-sidebar .accordion-button:not(.collapsed)::after,
.custom-filter-sidebar .accordion-button::after {
  filter: brightness(0) !important;
}

.custom-filter-sidebar .accordion-body {
  padding: 0px 12px 12px 12px;
  max-height: 125px;
  overflow-y: auto;
  scrollbar-width: thin;
  background-color: #ffede9 !important;
  scrollbar-color: #ee4823 #ffe3dc;
}

.custom-filter-sidebar .accordion-body::-webkit-scrollbar {
  width: 6px;
}

.custom-filter-sidebar .accordion-body::-webkit-scrollbar-track {
  background: #e9e9e9;
  border-radius: 0px;
}

.custom-filter-sidebar .accordion-body::-webkit-scrollbar-thumb {
  background: #ee4823;
  border-radius: 0px;
  border: 1px solid #ffe3dc;
}

.custom-filter-sidebar .accordion-body::-webkit-scrollbar-thumb:hover {
  background: #d93d1b;
}
/* Checkbox alignment & spacing styling */
.custom-filter-sidebar .form-check {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.custom-filter-sidebar .form-check-input {
  width: 20px;
  height: 20px;
  border: 2px solid #212529;
  border-radius: 2px;
  margin-top: 0;
  margin-right: 12px;
  cursor: pointer;
}
.custom-filter-sidebar .form-check-input:checked {
  background-color: #222222;
  border-color: #222222;
}

.custom-filter-sidebar .form-check-label {
  font-size: 15px;
  color: #222222;
  cursor: pointer;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}
/* Size Button Styling */
.custom-filter-sidebar .size-btn-group {
  display: flex;
  gap: 8px;
}
.custom-filter-sidebar .accordion-button:not(.collapsed) {
  padding: 12px !important;
}
.custom-filter-sidebar .size-btn {
  background: #fff 0% 0% no-repeat padding-box;
  border: 1px solid #2d2d2d;
  font-size: 15px;
  padding: 3px 11px;
  border-radius: 4px;
  color: #000 !important;
}

.custom-filter-sidebar .accordion-item:last-child {
  border: none !important;
}

.custom-filter-sidebar .size-btn:hover,
.custom-filter-sidebar .size-btn:active,
.custom-filter-sidebar .size-btn.active {
  background-color: #ff4e21 !important;
  color: #fff !important;
  border-color: #ff4e21 !important;
}

/* Custom Price Slider styling */
.custom-filter-sidebar .price-slider-container {
  padding-top: 10px;
}

.custom-filter-sidebar .custom-range-slider::-webkit-slider-runnable-track {
  background: #ff4e21;
  height: 4px;
}

.custom-filter-sidebar .custom-range-slider::-webkit-slider-thumb {
  background: #ffc107; /* Yellow center knob */
  border: 2px solid #ff4e21;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 50%;
}

.custom-filter-sidebar .price-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0px;
  font-size: 17px;
  color: #212529;
  font-weight: 500;
}

@media (min-width: 0px) and (max-width: 1199px) {
  .custom-filter-sidebar .static-section {
    padding: 10px 10px 10px 10px;
  }
  .custom-filter-sidebar .form-check {
    margin-bottom: 4px;

    margin-left: 2px;
  }
  .custom-filter-sidebar .section-title {
    font-size: 15px;
  }
  .custom-filter-sidebar .form-check-label {
    font-size: 14px;
  }
  .custom-filter-sidebar .form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 5px;
  }
  .custom-filter-sidebar .accordion-body {
    max-height: 114px;
  }
}
@media (min-width: 0px) and (max-width: 991px) {
  .custom-filter-sidebar .filter-body {
    height: 95vh;
    overflow: auto;
    scrollbar-width: none;
  }
}
