.fl {
  display: flex;
  flex-direction: column;
}
.fl .filter-wrapper {
  display: flex;
}
.fl .filter-wrapper .filter-content {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  z-index: -10;
  background-color: var(--fl-filter-bg);
  width: 100%;
  top: 0;
  left: 0;
  height: 100dvh;
  padding: 1rem;
  transform: scale(1.2);
  display: flex;
  flex-direction: column;
  transition: all 0.15s;
  transition-property: padding, transform;
}
.fl .filter-wrapper .filter-content .filter-header {
  display: flex;
  gap: var(--fl-gap-m);
  align-items: center;
  justify-content: space-between;
}
.fl .filter-wrapper .filter-content .filter-header .filter-header-title {
  font-weight: bold;
  font-size: 1.2rem;
}
.fl .filter-wrapper .filter-content .filter-header .filter-close-btn {
  padding: 0;
  padding-right: 0.2rem;
}
.fl .filter-wrapper .filter-content .filter-header .filter-close-btn svg path {
  fill: var(--fl-close-btn-color);
}
.fl .filter-wrapper .filter-content .filter-items {
  flex: 1;
  margin-top: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--fl-gap-m);
  padding-bottom: 6rem;
}
.fl .filter-wrapper .filter-content.show {
  visibility: visible;
  opacity: 1;
  z-index: 100;
  transform: scale(1);
}
.fl .filter-wrapper .filter-content.show .filter-action-wrapper:not(.desktop) {
  margin-top: 1rem;
  position: fixed;
  bottom: 2rem;
  left: 1rem;
  width: calc(100% - 2rem);
  justify-content: center;
  gap: var(--fl-gap-m);
}
.fl .filter-wrapper .filter-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fl .filter-wrapper .filter-content .filter-action-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fl .filter-wrapper .filter-content .filter-action-wrapper.desktop {
  display: none;
}
.fl .filter-wrapper .filter-content .filter-action-wrapper .filter-reset-btn {
  height: fit-content;
  padding: 0.3rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--fl-reset-btn-color);
  background-color: var(--fl-reset-btn-bg);
  font-size: var(--fl-reset-btn-fz);
  transition: 0.15s;
}
.fl .filter-wrapper .filter-content .filter-action-wrapper .filter-reset-btn svg {
  width: 16px;
  height: 16px;
}
.fl .filter-wrapper .filter-content .filter-action-wrapper .filter-reset-btn svg path {
  transition: 0.15s;
  fill: var(--fl-reset-btn-color);
}
.fl .filter-wrapper .filter-content .filter-action-wrapper .filter-reset-btn:hover, .fl .filter-wrapper .filter-content .filter-action-wrapper .filter-reset-btn:active {
  color: var(--fl-reset-btn-color-hover);
  background-color: var(--fl-reset-btn-bg-hover);
}
.fl .filter-wrapper .filter-content .filter-action-wrapper .filter-reset-btn:hover path, .fl .filter-wrapper .filter-content .filter-action-wrapper .filter-reset-btn:active path {
  fill: var(--fl-reset-btn-color-hover);
}
.fl .filter-wrapper .filter-content .filter-checkboxes label {
  display: flex;
  gap: 0.4rem;
  width: fit-content;
}
.fl .filter-wrapper .filter-content .filter-checkboxes label input[type=checkbox] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin-top: 0.05rem;
}
.fl .filter-wrapper .filter-content ul,
.fl .filter-wrapper .filter-content ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fl .filter-wrapper .filter-content .filter-item.show .filter-arrow {
  opacity: 0.5;
  transform: rotate(180deg);
}
.fl .filter-wrapper .filter-content .filter-item.show .filter-body {
  opacity: 1;
  visibility: visible;
  height: fit-content;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.fl .filter-wrapper .filter-content .filter-item .filter-header {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  font-weight: 600;
  align-items: center;
  cursor: pointer;
}
.fl .filter-wrapper .filter-content .filter-item .filter-header .filter-title {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.fl .filter-wrapper .filter-content .filter-item .filter-header .filter-arrow {
  transition: opacity 0.15s;
  background: var(--arrow) center no-repeat;
  background-size: 24px;
  width: 32px;
  min-width: 32px;
  height: 32px;
  align-self: flex-start;
}
.fl .filter-wrapper .filter-content .filter-item .filter-body {
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  height: 0;
  transition: opacity 0.15s, height 0.15s, margin-top 0.15s, margin-bottom 0.15s, height 0.2s;
  padding-right: 0.5rem;
}
.fl .filter-wrapper .filter-content .filter-item .filter-body .filter-controls li {
  margin: 0;
}
.fl .filter-wrapper .filter-content .filter-item .filter-body .filter-controls li label {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-weight: 500;
  cursor: pointer;
  font-size: 0.875rem;
  transition: 0.15s;
}
.fl .filter-wrapper .filter-content .filter-item .filter-body .filter-controls li label:active {
  color: var(--fl-item-color-hover);
}
.fl .filter-wrapper .filter-content .filter-item .filter-body .filter-controls .filter-more-btn {
  padding: 0;
  border: none;
  color: var(--fl-more-btn-color);
  font-weight: 500;
  transition: 0.15s;
}
.fl .filter-wrapper .filter-content .filter-item .filter-body .filter-controls .filter-more-btn span {
  color: var(--fl-more-btn-span-color);
}
.fl .filter-wrapper .filter-content .filter-item .filter-body .filter-controls .filter-more-btn:hover {
  color: var(--fl-more-btn-color);
}
.fl .filter-wrapper .filter-content .filter-item .filter-body .filter-controls .filter-more-btn:active {
  color: var(--fl-more-btn-color-hover);
}
.fl .filter-wrapper .filtered-content {
  flex: 1;
  min-height: 1000px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
}
.fl .filter-wrapper .filtered-content .fl-sort-view-bar {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
}
.fl .filter-wrapper .filtered-content .fl-sort-view-bar .fl-sort-select {
  width: 100%;
  min-width: 100%;
}
.fl .filter-wrapper .filtered-content .filtered-items {
  margin-top: var(--fl-gap-m);
}
.fl .filter-wrapper .filtered-content .fl-pagination-wrapper {
  margin-top: 2rem;
  align-self: center;
}
.fl .filter-actions {
  margin-top: 2rem;
  position: sticky;
  bottom: 2rem;
  display: flex;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
  width: 100%;
  left: 0;
  transition: 0.15s;
}
.fl .filter-actions .filter-show-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.fl .filter-actions .filter-show-btn svg {
  margin-right: 0;
}
.fl .filter-actions.show {
  position: fixed;
}
.fl .fl-progress-control .inputs {
  display: flex;
  gap: var(--fl-gap-m);
}
.fl .fl-progress-control .inputs input[type=number]::-webkit-outer-spin-button,
.fl .fl-progress-control .inputs input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.fl .fl-progress-control .fl-progress {
  position: relative;
  height: 6px;
  background-color: var(--fl-pr-bg);
  border-radius: var(--fl-pr-border-radius);
  margin-top: 1rem;
}
.fl .fl-progress-control .fl-progress input[type=range] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: all;
  z-index: 2;
  cursor: pointer;
}
.fl .fl-progress-control .fl-progress input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--fl-pr-thumb-size);
  height: var(--fl-pr-thumb-size);
  border-radius: 50%;
  background: var(--fl-pr-thumb-bg);
  border: var(--fl-pr-thumb-border-width) solid var(--fl-pr-thumb-border-color);
  box-shadow: var(--fl-pr-thumb-shadow);
  z-index: 3;
}
.fl .fl-progress-control .fl-progress input[type=range]::-moz-range-thumb {
  width: var(--fl-pr-thumb-size);
  height: var(--fl-pr-thumb-size);
  border-radius: 50%;
  background: var(--fl-pr-thumb-bg);
  border: var(--fl-pr-thumb-border-width) solid var(--fl-pr-thumb-border-color);
  box-shadow: var(--fl-pr-thumb-shadow);
  z-index: 3;
}
.fl .fl-progress-control .fl-progress input[type=range]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06), var(--fl-pr-thumb-shadow);
}
.fl .fl-progress-control .fl-progress input[type=range]:focus::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06), var(--fl-pr-thumb-shadow);
}
.fl .fl-progress-control .fl-progress .fl-progress-bar {
  display: flex;
  height: var(--fl-pr-height);
  overflow: hidden;
  background-color: var(--fl-pr-bar-bg);
  border-radius: var(--fl-pr-border-radius);
  position: absolute;
  z-index: 1;
  top: calc(50% + 1px);
  transform: translateY(-50%);
  border-radius: 3px;
}

@media screen and (min-width: 380px) {
  .fl .filter-wrapper .filtered-content .fl-sort-view-bar {
    flex-direction: row;
    align-items: center;
  }
  .fl .filter-wrapper .filtered-content .fl-sort-view-bar .fl-sort-select {
    width: unset;
    min-width: unset;
  }
}
@media (min-width: 768px) {
  .fl .filter-wrapper .filter-content {
    padding: 2rem;
  }
  .fl .filter-wrapper .filter-content .filter-item .filter-body .filter-controls .filter-more-btn:hover {
    color: var(--fl-more-btn-color-hover);
  }
  .filter-wrapper .filter-content .filter-checkboxes label:hover {
    color: var(--fl-item-color-hover);
  }
}
@media (min-width: 992px) {
  .fl .filter-wrapper .filter-content {
    opacity: 1;
    visibility: visible;
    z-index: unset;
    position: sticky;
    top: var(--fl-gap-m);
    width: 290px;
    height: calc(100vh - var(--fl-gap-m) * 2);
    transform: scale(1);
    padding: 0;
  }
  .fl .filter-wrapper .filter-content .filter-header {
    display: none;
  }
  .fl .filter-wrapper .filter-content .filter-items {
    margin-top: 1rem;
    padding-bottom: 0rem;
  }
  .fl .filter-wrapper .filter-content .filter-action-wrapper.desktop {
    display: flex;
  }
  .fl .filter-wrapper .filter-content .filter-action-wrapper:not(.desktop) {
    position: unset;
    display: none;
  }
  .fl .filter-wrapper .filtered-content {
    padding-left: var(--fl-padding);
  }
  .fl .filter-actions {
    visibility: hidden;
    opacity: 0;
    margin-top: 0;
    transform: scale(0);
  }
}