.catalog-filter .ocf-between {
  gap: 8px;
}

.ocf-scroll-y {
  max-height: 240px;
  margin-right: -12px !important;
  padding-right: 10px !important;
  overflow-y: scroll;
  overflow-x: hidden;
  overscroll-behavior: contain;
  /* https://codepen.io/evank/pen/wWbRNO */
  background-image:
    linear-gradient(var(--color-white) 30%, transparent),
    linear-gradient(transparent, var(--color-white) 70%),
    radial-gradient(farthest-side at 50% 0, var(--overlay-black-10), transparent),
    radial-gradient(farthest-side at 50% 100%, var(--overlay-black-10), transparent);
  background-position-x: 0;
  background-position-y: 0, 100%, 0, 100%;
  background-repeat: no-repeat;
  background-color: var(--color-white);
  background-size: 100% 65px, 100% 65px, 100% 12px, 100% 12px;
  background-attachment: local, local, scroll, scroll;
  background-image: none !important;
  background-attachment: none !important;
}

.ocf-scroll-y:hover {
  padding-right: 2px !important;
}

.ocf-scroll-y::-webkit-scrollbar {
  width: 2px;
  margin-right: -5px;
  background: var(--color-white) !important;
}

.ocf-scroll-y:hover::-webkit-scrollbar {
  width: 10px;
}

.ocf-scroll-y::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 10px;
}

.ocf-scroll-y:hover::-webkit-scrollbar-track {
  background-color: transparent;
}

.ocf-scroll-y::-webkit-scrollbar-thumb {
  background-color: var(--color-blue-3f67d8);
  border-radius: 10px;
  background-color: var(--color-brand) !important;
}

.ocf-scroll-y::-webkit-scrollbar-corner {
  display: none;
}

.ocf-scroll-y::-webkit-resizer {
  display: none;
}

.ocf-content .ocf-btn-link:not(.ocf-text-danger) {
  color: var(--color-black);
  border-radius: 8px;
}

.ocf-content .ocf-btn-link:not(.ocf-text-danger):hover {
  text-decoration: none;
}

.ocf-content .ocf-btn-link {
  font-size: 14px;
  font-weight: 400;
}

.ocf-collapse-value .ocf-value-list-body {
  padding-top: 0 !important;
}

.ocf-city .ocf-value-list {
  padding-top: 10px;
}

.ocf-city .city {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  padding: 2px 0;
  cursor: pointer;
}

.ocf-city .city .chevron {
  position: absolute;
  right: 5px;
  top: 50%;
  margin-top: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.ocf-city .city i {
  transition: transform 0.5s;
  font-size: 12px;
}

.ocf-city .city:not(.collapsed) i {
  transform: rotate(-180deg);
}

.ocf-noUi-connects:before,
.ocf-noUi-connects:after {
  content: none !important;
}

.ocf-close-mobile {
  background: transparent !important;
  color: var(--color-link) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

.ocf-city-search {
  position: relative;
  margin-bottom: 10px;
  display: none !important;
}

.ocf-city-search input {
  border-color: var(--color-gray-d3d3d3);
}

.ocf-city-search .fa {
  position: absolute;
  right: 8px;
  line-height: 38px;
  top: 0;
  cursor: pointer;
  font-size: 18px;
}

.ocf-value-count {
  padding: 0 !important;
}

.ocf-selected-card {
  padding: 10px !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.ocf-value,
.ocf-value:active,
.ocf-value:focus,
.ocf-value:visited,
.ocf-value:hover {
  margin-bottom: 8px !important;
}

.ocf-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.ocf-value-slider {
  padding: 0 !important;
}

.ocf-noUi-base:before,
.ocf-noUi-connect:before {
  height: 2px !important;
  margin-top: 0 !important;
}

.col-module .ocf-filter-header {
  margin-bottom: 0 !important;
}

.col-module .ocf-filter {
  background: var(--color-white);
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 0 !important;
}

.ocf-value-count .ocf-num-abbr {
  color: var(--color-gray-46494e) !important;
  font-weight: normal !important;
}

.ocf-angle {
  background: none !important;
  position: relative;
}

.ocf-angle:before {
  content: "\f106";
  font: normal normal normal 16px FontAwesome;
  position: absolute;
  color: var(--color-link);
  width: 22px;
  line-height: 16px;
  text-align: center;
  position: absolute;
  left: -4px;
  top: -2px;
}

.ocf-collapse-value .ocf-value-list {
  border-top: none !important;
  margin-top: 0 !important;
}

.ocf-scroll-y:not(.ocf-city-body) {
  max-height: unset !important;
}

.ocf-selected .ocf-value-input::before {
  color: var(--color-black) !important;
  border-color: var(--color-brand) !important;
  background-color: var(--color-brand) !important;
}

.ocf-selected .ocf-value-input-checkbox::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23000' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")!important;
}

.ocf-search-btn-static {
  width: 100% !important;
  color: var(--color-white) !important;
  background-color: var(--color-link) !important;
  border-radius: 6px !important;
  padding: 12px 0 !important;
  text-align: center !important;
  border: 0;
}

.ocf-content .ocf-noUi-connect:before,
.ocf-noUi-handle {
  background-color: var(--color-brand) !important;
}

.ocf-content .ocf-noUi-handle {
  cursor: pointer;
  width: 16px;
  height: 16px;
  top: 1px;
  box-shadow: none !important;
  background: var(--color-white) !important;
  border: 1px solid var(--color-brand) !important;
  position: absolute;
}

.ocf-content .ocf-noUi-handle-upper {
  right: 0;
}

.ocf-selecteds {
  margin-bottom: 12px;
}

.ocf-selected {
  display: inline-flex;
  align-items: center;
  width: auto;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 50px;
  background-color: var(--color-gray-efefef);
  color: var(--color-black);
  font-size: 14px;
  margin-bottom: 4px;
}

.ocf-btn-show-values {
  color: var(--color-link) !important;
}

.ocf-selected-row {
  display: inline-flex;
  gap: 8px;
}

.ocf-selected-row .ocf-selected {
  border: 0;
  cursor: pointer;
  margin-bottom: 0;
  padding: 8px 10px;
  white-space: nowrap;
}

.ocf-selected-row .ocf-selected::after {
  content: "×";
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  color: var(--color-gray-b9b9b9);
}

.ocf-scroll-y:hover::-webkit-scrollbar-thumb {
  width: 4px !important;
}

.ocf-content .ocf-value-input-checkbox::before {
  border-radius: 6px !important;
}

.hpm-group-0 .hpm-cat-item {
  width: calc(25% - 8px);
}

.hpm-cat-box {
  margin: 0 -3px !important;
}

.hpm-cat-box .hpm-group {
  margin: 0 !important;
}

.hpm-cat-box .more {
  border: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hpm-cat-box .more a {
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  height: 100%;
  align-content: center;
  text-align: center;
  padding-top: 4px;
  color: var(--color-gray-9e9e9e);
}

.hpm-cat-box .hpm-type-images {
  margin: 0 !important;
}

.hpm-cat-box .hpm-type-images .hpm-cat-item {
  margin: 2px !important;
}

.hpm-cat-box .hpm-group-0 .hpm-type-images > div {
  width: calc(20% - 4px) !important;
  height: same-as-width;
  aspect-ratio : 1 / 1;
}

.ocf-city .ocf-scroll-y {
  transition: max-height 10s ease;
}

.ocf-city.short .ocf-scroll-y {
  max-height: 190px;
}

.ocf-city:not(.short) .ocf-scroll-y {
  max-height: unset !important;
}

.ocf-city.short .ocf-hide-expand-0 {
  display: none;
}

.ocf-city:not(.short) .ocf-hide-expand-1 {
  display: none;
}

.ocf-description img {
  max-width: 100%;
  width: unset !important;
  height: unset !important;
}

.ocf-description h2 {
  margin-bottom: 10px;
}

.ocf-description h3 {
  margin-bottom: 5px;
}

.ocf-description {
  margin-bottom: 30px;
}

.ocf-btn-mobile-fixed {
  display: none !important;
}

@media (max-width: 767px) {
  .ocf-container {
    width: 100vw !important;
  }

  .ocf-header {
    padding: 16px !important;
    border-bottom: 1px solid var(--color-gray-efefef);
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  .ocf-filter .ocf-filter-body > .ocf-value-list {
    position: static !important;
    min-width: auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .ocf-filter .ocf-filter-header {
    position: static !important;
    padding: 0 !important;
    height: auto !important;
    background: transparent !important;
  }

  .ocf-filter-header .ocf-arrow-left {
    display: none !important;
  }

  .ocf-open .ocf-filter-header .ocf-filter-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
  }

  .ocf-open .ocf-filter-header {
    margin-bottom: 14px !important;
  }

  .col-module .ocf-filter {
    padding: 16px 0;
    margin: 0 16px;
  }

  .ocf-open .ocf-value-list .ocf-value {
    display: inline-block !important;
    width: auto !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    background-color: var(--color-gray-efefef) !important;
    color: var(--color-black) !important;
    font-size: 14px !important;
    margin-bottom: 4px !important;
  }

  .ocf-open .ocf-value-list .ocf-value.ocf-disabled {
    opacity: 0.5;
  }

  .ocf-open .ocf-value .ocf-value-append {
    display: none;
  }

  .ocf-open .ocf-value .ocf-value-name {
    margin-right: 0 !important;
  }

  .ocf-filter-list .ocf-filter.ocf-active {
    padding: 16px 0 !important;
    margin: 0 16px !important;
  }

  .ocf-filter-list .ocf-value.ocf-selected {
    background-color: var(--color-brand) !important;
  }

  .ocf-filter-list .ocf-noUi-pips {
    display: none;
  }

  .ocf-selected-filter::after {
    content: "×";
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    color: var(--color-gray-b9b9b9);
  }

  .ocf-footer .ocf-selected-filter::after {
    content: none;
  }

  .ocf-selected-filter.ocf-selected-remove-all {
    color: var(--color-link);
  }

  .ocf-selected-filter.ocf-selected-remove-all::after {
    color: var(--color-link);
  }

  .ocf-body {
    height: calc(100% - 120px) !important;
    height: calc(100% - 120px) !important;
  }

  .ocf-footer {
    padding: 10px !important;
    margin: 0 !important;
    top: unset !important;
    bottom: 60px !important;
    padding: 10px !important;
    margin: 0 !important;
    top: unset !important;
    bottom: 0px !important;
  }

  .ocf-city .city,
  .ocf-city-search {
    display: none;
  }

  .ocf-city .collapse {
    display: block !important;
  }

  .ocf-city .ocf-collapse {
    display: block !important;
  }

  .ocf-city .ocf-collapse-value .ocf-value-list {
    border-top: none !important;
    margin-top: 0 !important;
  }

  .ocf-city .ocf-btn-show-values {
    display: none !important;
  }

  .ocf-btn-show-values {
    margin-top: 10px !important;
  }

  .ocf-scroll-y {
    margin-right: -5px !important;
  }

  .ocf-value-input-checkbox {
    display: none;
  }

  .ocf-city-body {
    max-height: unset !important;
    height: 100%;
  }
}

@media (max-width: 450px) {
  .hpm-group-0 .hpm-cat-item {
    width: calc(25% - 2px) !important;
    margin: 1px !important;
    padding: 0 !important;
  }
}

@media (min-width: 768px) {
  .col-module .ocf-header {
    display: none;
  }

  .col-module .ocf-footer {
    box-shadow: none !important;
    margin: 5px 0 0 0 !important;
    border-radius: 5px;
    display: none !important;
  }

  .col-module .ocf-footer:after {
    display: none !important;
  }

  .ocf-value-color {
    border-radius: 6px !important;
  }

  .ocf-content .ocf-value-input {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    margin-right: 0;
    margin-top: 0;
  }

  .ocf-content .ocf-value-name {
    font-size: 14px !important;
  }

  .ocf-content .ocf-value {
    align-items: center !important;
    gap: 10px;
  }

  .ocf-content .ocf-filter-header {
    font-size: 14px;
    font-weight: 600;
    text-transform: none !important;
    padding-bottom: 10px;
  }

  .ocf-content .ocf-value-count {
    color: var(--color-gray-666666);
    font-size: 14px;
    background-color: transparent !important;
  }

  .ocf-content .ocf-noUi-pips {
    display: none !important;
  }

  .ocf-content .ocf-filter-name {
    font-size: 14px;
    font-weight: 600;
  }

  .ocf-city .ocf-btn-show-values {
    margin-top: 0;
  }
}
