@charset "UTF-8";
.filter .filter-input {
  -moz-appearance: textfield;
}
.filter .filter-input::-webkit-outer-spin-button, .filter .filter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.filter .filter-input[type=number] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}
.filter-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px 0;
  padding: 0;
}
.filter-sort-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.filter-sort-btn:hover {
  border-color: #057cb6;
  color: #057cb6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 124, 182, 0.1);
}
.filter-sort-btn.active {
  border-color: #057cb6;
  background-color: #057cb6;
  color: #fff;
  box-shadow: 0 4px 12px rgba(5, 124, 182, 0.2);
}
.filter-sort-btn.active span {
  color: #fff;
}
.filter-sort-btn.active:hover {
  background-color: #057cb6;
  border-color: #057cb6;
}
.filter-sort-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
}
.filter-sort-arrow {
  font-size: 12px;
  font-weight: bold;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.filter-sort-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.filter.filters-panel-container {
  padding: 15px;
}
.filter.filters-panel-container .filter-panel-item {
  margin-bottom: 30px;
}
.filter.filters-panel-container .filter-item__label {
  font-size: 16px;
  margin: 15px 0;
}
.filter.filters-panel-container .filter-input {
  width: 65px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
}
.filter.filters-panel-container .filter-input:focus {
  border-color: #057cb6;
  outline: none;
}
.filter_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  padding: 15px 0;
  border-top: 1px solid #eee;
}
.filter_buttons_submit {
  width: 100%;
  height: 40px;
  margin-bottom: 25px;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
}
.filter_buttons_apply, .filter_buttons_clear, .filter_buttons_expand, .filter_buttons_expand_all {
  height: 40px;
  padding: 0 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.filter_buttons_apply {
  background: #057bb4;
  border-color: #057bb4;
  color: #fff;
}
.filter_buttons_apply:hover {
  background: #066492;
  border-color: #066492;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 123, 180, 0.3);
}
.filter_buttons_apply:hover span {
  color: #fff;
}
.filter_buttons_expand_all {
  background: #fff;
  border-color: #057cb6;
  color: #057cb6;
}
.filter_buttons_expand_all:hover {
  background: #057cb6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 123, 180, 0.2);
}
.filter_buttons_expand_all:hover span {
  color: #fff;
}
.filter_buttons_clear, .filter_buttons_expand {
  background: #fff;
  border-color: #ddd;
  color: #374151;
}
.filter_buttons_clear:hover, .filter_buttons_expand:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
  transform: translateY(-2px);
}
.filter_buttons_clear:hover {
  color: #dc3545;
  border-color: #dc3545;
}
.filter_buttons_expand:hover {
  background: #057cb6;
  color: #fff;
  border-color: #057cb6;
}
.filter_buttons_reset {
  font-size: 16px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  color: #333;
  background: none;
  border: none;
}
.filter_buttons_reset:hover {
  text-decoration: underline;
  color: #057cb6;
}

.filter-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-popup-content {
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px;
}
.filter-popup-content .row {
  margin-left: -10px;
  margin-right: -10px;
}
.filter-popup .filter-column {
  padding-left: 10px;
  padding-right: 10px;
}
.filter-popup-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  width: 100%;
  padding: 20px;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}
@media (max-width: 768px) {
  .filter-popup-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

.filter-group {
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.filter-group__content.collapse:not(.show) {
  display: none;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.filter-group__content.collapse.show {
  display: block;
  height: auto;
  overflow: visible;
}
.filter-group__header {
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  user-select: none;
  transition: background 0.2s ease;
}
.filter-group__header:hover {
  background: #f0f0f0;
}
.filter-group__header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}
.filter-group__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}
.filter-group__toggle .toggle-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f0f0f0;
  transition: all 0.3s ease;
}
.filter-group__toggle .toggle-circle i {
  font-size: 14px;
  color: #555;
  transition: transform 0.3s ease;
}
.filter-group__toggle:hover .toggle-circle {
  background-color: #e0e0e0;
}
.filter-group__content {
  padding: 15px;
  transition: height 0.3s ease;
}
.filter-group__content.collapse:not(.show) {
  display: none;
}

.filter-preset-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.filter-preset-btn {
  padding: 5px 12px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}
.filter-preset-btn:hover {
  border-color: #bbb;
}
.filter-preset-btn.active {
  background: #057cb6;
  color: white;
  border-color: #057cb6;
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.filter-checkboxes .filter-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 28px;
  min-height: 20px;
  user-select: none;
  transition: all 0.2s ease;
}
.filter-checkboxes .filter-checkbox:hover .filter-checkbox-custom {
  border-color: #057cb6;
}
.filter-checkboxes .filter-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.filter-checkboxes .filter-checkbox input:checked ~ .filter-checkbox-custom {
  background-color: #057cb6;
  border-color: #057cb6;
}
.filter-checkboxes .filter-checkbox input:checked ~ .filter-checkbox-custom .filter-checkbox-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.filter-checkboxes .filter-checkbox input:disabled ~ .filter-checkbox-custom {
  background-color: #f5f5f5;
  cursor: not-allowed;
}
.filter-checkboxes .filter-checkbox-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
}
.filter-checkboxes .filter-checkbox-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.2s ease;
}
.filter-checkboxes .filter-checkbox-label {
  font-size: 14px;
  color: #333;
  margin-left: 8px;
}

.filter-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
}
.filter-item__content {
  padding: 15px;
  transition: height 0.3s ease;
}
.filter-item__content.collapse:not(.show) {
  display: none;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.filter-item__content.collapse.show {
  display: block;
  height: auto;
  overflow: visible;
}
.filter-item .filter-input {
  width: 80px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
}
.filter-item .filter-input:focus {
  border-color: #057cb6;
  outline: none;
}
.filter-item__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}
.filter-item__slider {
  width: 100%;
  margin-top: 10px;
}
.filter-item__header {
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  user-select: none;
  transition: background 0.2s ease;
}
.filter-item__header.active {
  background: #e9e9e9;
}
.filter-item__header.active .toggle-icon {
  transform: rotate(180deg);
}
.filter-item__header.active .filter-group__toggle i {
  transform: rotate(180deg);
}
.filter-item__header:hover {
  background: #f0f0f0;
}
.filter-item__header.active {
  background: #e9e9e9;
}
.filter-item__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}
.filter-item__toggle .toggle-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f0f0f0;
  transition: all 0.3s ease;
}
.filter-item__toggle .toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.filter-item__content {
  padding: 15px;
  transition: height 0.3s ease;
}
.filter-item__content.collapse:not(.show) {
  display: none;
}

.filter-single-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 32px;
  min-height: 24px;
  user-select: none;
  transition: all 0.2s ease;
  margin: 5px 0;
}
.filter-single-checkbox:hover .filter-single-checkbox-custom {
  border-color: #057cb6;
  background-color: #f0f8ff;
}
.filter-single-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.filter-single-checkbox-input:checked ~ .filter-single-checkbox-custom {
  background-color: #057cb6;
  border-color: #057cb6;
}
.filter-single-checkbox-input:checked ~ .filter-single-checkbox-custom .filter-single-checkbox-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.filter-single-checkbox-input:disabled ~ .filter-single-checkbox-custom {
  background-color: #f5f5f5;
  cursor: not-allowed;
}
.filter-single-checkbox-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.2s ease;
}
.filter-single-checkbox-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.2s ease;
}
.filter-single-checkbox-label {
  font-size: 15px;
  color: #333;
  margin-left: 10px;
  font-weight: 500;
}

.filter-radio {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 8px;
  padding-left: 28px;
  min-height: 24px;
}
.filter-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.filter-radio-input:checked + .filter-radio-custom {
  border-color: #057cb6;
}
.filter-radio-input:checked + .filter-radio-custom::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.filter-radio-input:focus + .filter-radio-custom {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
.filter-radio-custom {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 50%;
  background: #fff;
  transition: all 0.2s;
}
.filter-radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #057cb6;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.2s;
}
.filter-radio-label {
  margin-left: 8px;
  font-size: 14px;
  color: #333;
}
.filter-radio:hover .filter-radio-custom {
  border-color: #057cb6;
}

@media (max-width: 768px) {
  .filter-popup-content {
    padding: 15px;
  }
  .filter-column {
    width: 100%;
    padding: 0;
    margin-bottom: 15px;
  }
  .filter-column:last-child {
    margin-bottom: 0;
  }
  .filter-group {
    margin-bottom: 15px;
  }
}
.noUi-target {
  background: #f0f0f0;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  box-shadow: none;
  margin: 10px 0;
}

.noUi-connect {
  background: #057cb6;
}

.noUi-handle {
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
}
.noUi-handle::before, .noUi-handle::after {
  display: none;
}
.noUi-handle:focus {
  outline: none;
}

/* Стили для noUiSlider (двойной слайдер) */
.noUi-target {
  background: #f0f0f0;
  border-radius: 3px;
  border: 1px solid #ddd;
  box-shadow: none;
  height: 6px;
  margin: 15px 0;
}

.noUi-connect {
  background: #057cb6;
}

.noUi-handle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #057cb6;
  box-shadow: none;
  cursor: pointer;
  top: -7px;
}
.noUi-handle::before, .noUi-handle::after {
  display: none;
}
.noUi-handle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.noUi-horizontal .noUi-handle {
  right: -10px;
  width: 18px;
  height: 18px;
}

.noUi-horizontal .noUi-handle-upper {
  right: -10px;
}

.noUi-tooltip {
  display: none;
}

/* Стили для стандартного слайдера */
.filter-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #f0f0f0;
  outline: none;
  margin: 15px 0;
}
.filter-slider.slider-from {
  background: #057cb6;
}
.filter-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #057cb6;
  cursor: pointer;
}
.filter-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #057cb6;
  cursor: pointer;
}
.filter-slider:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
.filter-slider:focus::-moz-range-thumb {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.filter_color_wrap {
  margin-bottom: 20px;
}
.filter_color_wrap:last-child {
  margin-bottom: 10px;
}
.filter_color_input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.filter_color_input:checked + .filter_color_label::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.filter_color_input:checked + .filter_color_label span {
  color: #343030;
}
.filter_color_label {
  position: relative;
  left: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #eee;
  cursor: pointer;
}
.filter_color_label span {
  display: inline-block;
  margin-left: 50px;
  font-weight: bold;
  color: #777e84;
}
.filter_color_label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #dde1e4;
}
.filter_color_label.white {
  background-color: #eee;
}
.filter_color_label.black {
  background-color: #333;
}
.filter_color_label.red {
  background-color: #ea2d39;
}
.filter_color_label.bronze {
  background-color: #cd7f32;
}
.filter_color_label.brown {
  background-color: #6c2e16;
}
.filter_color_label.yellow {
  background-color: #dacc1e;
}
.filter_color_label.blue {
  background-color: #0f8de7;
}
.filter_color_label.green {
  background-color: #70b603;
}
.filter_color_label.metallic {
  background-color: #aaa9a9;
}
.filter_color_label.copper {
  background-image: linear-gradient(45deg, #efdbcd 0%, #6c2e16 17%, #fbd8c5 70%, #97461a 100%);
}
.filter_color_label.pearl {
  background-color: #d8cbbc;
}
.filter_color_label.champagne {
  background-color: #aa8b3f;
}
.filter_color_label.gray {
  background-color: grey;
}
.filter_color_label.silver {
  background-color: #a2a2a2;
}

.filter_buttons_expand_all {
  position: relative;
}
.filter_buttons_expand_all .expand-all-icon {
  margin-left: 8px;
  font-size: 20px;
  transition: transform 0.3s ease;
  position: relative;
  top: 2px;
}
.filter_buttons_expand_all.all-expanded .expand-all-icon {
  transform: rotate(180deg);
}

.mobile-only {
  display: none;
}
@media (max-width: 768px) {
  .mobile-only {
    display: flex;
  }
}

@media (max-width: 768px) {
  .filter-popup__header .filter_buttons_expand_all {
    display: none;
  }
}

/*# sourceMappingURL=filter.css.map */
