.dropdown {
  position: relative;
}

.dropdown-button {
  background: #fff;
  border: 2px solid var(--main);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 0 20px;
  position: relative;
  z-index: 6;
  font-size: 15px;
  width: 256px;
  height: 48px;
  color: var(--black);
  line-height: 1;
}

.dropdown-button .dropdown-btn-arrow {
  width: 13px;
  margin-left: 10px;
}

.dropdown-button.dropdown-open .dropdown-btn-arrow {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.dropdown-button:focus,
.dropdown-button:active {
  background: #FFF;
}

.dropdown-button:hover,
.dropdown-button.filter-active {
  background: #FAF6EE;
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 21px);
  right: 0;
  left: 0;
  padding: 0;
  background: #FFF;
  z-index: 7;
  border: 0 solid #dbdbdb;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  min-width: 230px;
  max-height: 0;
  overflow: hidden;
  max-width: 256px;
}

.filter-dropdown .dropdown-list {
  left: 10px;
  right: 10px;
  width: calc(100% - 20px);
}

.dropdown-open+.dropdown-list {
  max-height: 500px;
  border: 1px solid #D7D7D7;
}

.dropdown-list-item {
  display: block;
  padding: 12px 20px;
}

.dropdown-list-item:hover {
  background: #FAF6EE;
}

.dropdown-list-item_txt{
  padding-right: 18px;
}

.dropdown-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid #D7D7D7;
  border-radius: 50%;
}

.dropdown-dot::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 0;
  width: 10px;
  height: 10px;
  background: #0A0A0A;
  border-radius: 50%;
  display: none;
}

.sort-dot[type="checkbox"] {
  opacity: 0;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 14px;
  right: 19px;
  height: 14px;
  width: 14px;
  border: 1px solid #D7D7D7;
  border-radius: 50%;
}

.dropdown-list-item .checkmark:after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 0;
  width: 10px;
  height: 10px;
  background: #0A0A0A;
  border-radius: 50%;
  display: none;
}

.dropdown-list-item.active .dropdown-dot::after,
.dropdown-list-item input:checked~.checkmark:after {
  display: block;
}

.dropdown-shadow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: none;
}

.dropdown-shadow-active {
  display: block;
}

.filter-form {
  margin: 0 -10px 0 -10px;
}

@media (min-width: 992px) {
  .filter-form {
    gap: 16px 0;
  }
}

.filter-btn {
  width: 100%;
}

.filter-dropdown {
  padding: 0 10px;
  flex: 0 0 20%;
  max-width: 20%;
}

.filters-sort-bar {
  margin-top: 20px;
  padding: 40px 0;
  border-top: 1px solid #D7D7D7;
}

.pagination-box {
  padding: 12px 0;
  text-align: center;
  font-size: 13px;
}

.pagination {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.pagination .page-item {
  display: inline-block;
}

.pagination .page-link {
  width: 34px;
  height: 35px;
  border: 2px solid #dbdbdb;
  display: block;
  text-align: center;
  margin: 0 8px 0 0;
  line-height: 32px;
  font-size: 15px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-weight: bold;
}

.pagination a.page-link:hover {
  border: 2px solid var(--main);
}

.pagination .active .page-link {
  border: 2px solid var(--main);
  background: var(--main);
}

.category-desc ul li,
.category-desc p {
  color: #9b9b9b;
}

.category-desc h1+p,
.category-desc h2+p,
.category-desc h3+p,
.category-desc h4+p {
  margin-top: 18px;
}

.subcategories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.subcategories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.subcategories-parent {
  position: relative;
  padding-bottom: 6px;
  padding-top: 14px;
}

.subcategories-parent::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 75%;
  height: 1px;
  background: #d7d7d7;
}

.subcategories-parent:last-of-type::after {
  display: none;
}

.active-right-panel {
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 992px) {
  .products-list .products {
    margin-top: 32px;
  }

  .filters-sort-bar {
    position: absolute;
    top: 0;
    right: 10px;
    margin-top: 1.5rem;
    padding: 0;
    border-top: none;
  }

  .filters-cont {
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    width: 100%;
    height: 100vh;
    z-index: 100;
    display: none;
  }

  .filters-cont.active {
    display: block;
  }

  .filter-dropdown {
    max-width: none;
  }

  .close-btn {
    position: absolute;
    top: 24px;
    right: 12px;
  }

  .active-right-panel,
  .active-left-panel {
    width: 100%;
  }

  .active-right-panel {
    margin-bottom: 22px;
    margin-top: 20px;
  }

  .filters-counter {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: #0A0A0A;
    color: #fff;
    padding-top: 1px;
    font-size: 14px;
  }

  .dropdown .filter-btn {
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    border-top: 0;
    border-bottom: 1px solid #CECECE;
    font-size: 18px;
    padding: 6px 15px;
    height: unset;
  }

  .dropdown:first-of-type .filter-btn {
    border-top: 1px solid #CECECE;
  }

  .filter-list {
    position: relative;
    top: 0;
    border-radius: 0;
    border: 0;
    max-width: 100%;
  }

  .filter-btn.dropdown-open~.filter-list {
    border: 0;
    border-bottom: 1px solid #CECECE;
    padding: 12px 0;
  }

  .filter-list .dropdown-list-item {
    padding: 16px 12px;
    font-size: 16px;
  }

  .filter-list .dropdown-list-item.active {
    background: #FAF6EE;
  }

  .filter-list .dropdown-list-item .checkmark {
    top: 18px;
  }

  .filter-btns {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 96;
    bottom: 0;
    background-color: white;
    border-top: 1px solid #CECECE;
  }

  .filter-btns .btn {
    margin: 22px 12px;
    width: calc(100% - 24px);
    display: block !important;
  }

  .filter-btns .btn.d-n {
    display: none !important;
  }

  .btn-border {
    border: 1px solid #CECECE;
    background: #fff;
  }
}

.filter-btn.dropdown-open img {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .subcategories-parent:last-of-type::after {
    display: block;
  }

  .category-expander {
    position: absolute;
    top: 6px;
    right: 0;
    width: 45px;
    height: 45px;
    transition: background 0.5s ease;
    z-index: 1;
  }

  .category-expander::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-right: 2px solid #9b9b9b;
    border-bottom: 2px solid #9b9b9b;
    z-index: 9;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all 0.5s ease;
    pointer-events: none;
  }

  .rotate::after {
    transform: translate(-50%, -15%) rotate(-135deg);
  }

  .subcategories-parent::after {
    width: 100%;
  }

  .subcategories .products-subcats {
    display: none;
    margin-top: 10px;
  }

  .filters-cont h1 {
    font-size: 25px;
  }
  .dropdown-button {
    width: 170px;
  }
  .filters-sort-bar .dropdown-button {
    width: auto;
  }
}

@media (max-width: 500px) {
  .dropdown-list {
    left: unset;
  }
}

@media (max-width: 460px) {
  .dropdown-button,
  .filters-sort-bar .dropdown-button {
    width: 100%;
  }
  .filters-sort-bar {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
  }
}

.subcategories-item {
  font-size: 18px;
  font-weight: 500;
  display: block;
  padding: 8px 0;
}

.subcategories-child {
  padding: 12px 0 12px 12px;
  display: block;
}

.subcategories-child:hover {
  color: var(--main);
}

.category-thumb {
  border-radius: 6px;
}

.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #fff;
  border-radius: 5px;
  border: solid 1px #dbdbdb;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  height: 48px;
  line-height: 48px;
  outline: none;
  padding-left: 18px;
  padding-right: 30px;
  position: relative;
  text-align: left !important;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
  width: auto;
}

.nice-select:active,
.nice-select.open,
.nice-select:focus {
  border-color: var(--main);
}

.nice-select:after {
  border-bottom: 2px solid #454545;
  border-right: 2px solid #454545;
  content: '';
  display: block;
  height: 9px;
  margin-top: -6px;
  pointer-events: none;
  position: absolute;
  right: 20px;
  top: 50%;
  -webkit-transform-origin: 66% 66%;
  -ms-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  width: 9px;
}

.nice-select.open:after {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
}

.nice-select.disabled {
  border-color: #ededed;
  color: #999;
  pointer-events: none;
}

.nice-select.disabled:after {
  border-color: #cccccc;
}

.nice-select.wide {
  width: 100%;
}

.nice-select.wide .list {
  left: 0 !important;
  right: 0 !important;
}

.nice-select.right {
  float: right;
}

.nice-select.right .list {
  left: auto;
  right: 0;
}

.nice-select.small {
  font-size: 12px;
  height: 36px;
  line-height: 34px;
}

.nice-select.small:after {
  height: 4px;
  width: 4px;
}

.nice-select.small .option {
  line-height: 34px;
  min-height: 34px;
}

.nice-select .list {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
  box-sizing: border-box;
  margin-top: 4px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(0.75) translateY(-21px);
  -ms-transform: scale(0.75) translateY(-21px);
  transform: scale(0.75) translateY(-21px);
  -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9;
  width: 100%;
}

.nice-select .list:hover .option:not(:hover) {
  background-color: transparent !important;
}

.nice-select .option {
  cursor: pointer;
  font-weight: 400;
  line-height: 36px;
  list-style: none;
  min-height: 36px;
  outline: none;
  padding-left: 18px;
  padding-right: 29px;
  text-align: left;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: #f6f6f6;
}

.nice-select .option.selected {
  font-weight: bold;
}

.nice-select .option.disabled {
  background-color: transparent;
  color: #999;
  cursor: default;
}

.no-csspointerevents .nice-select .list {
  display: none;
}

.no-csspointerevents .nice-select.open .list {
  display: block;
}

.prod-list-item {
  background: #f5f5f5;
  border-radius: 5px;
}

.prod-list-item .prod-img {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.prod-list-item .prod-name {
  padding: 24px 24px 0;
  margin-bottom: 0;
  font-size: 18px;
}

.prod-list-item .prod-prices {
  padding: 20px 24px 24px;
}

.prod-list-item .prod-colors {
  padding: 14px 24px 0;
}

.prod-list-item .prod-flag {
  margin: 10px;
  background: #fff;
}

.active-filter {
  padding: 5px 7px 7px;
  background: var(--main);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  display: none;
  cursor: pointer;
}

.JsShowFilters.active {
  background-color: #FAF6EE;
}

.filter-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #f3f3f37a;
  z-index: 7;
}