.catalog {
  margin-top: 40px;
}

.catalog__inner {
  display: flex;
  gap: 67px;
  margin-top: 48px;
}

.catalog__filter {
  max-width: 268px;
  margin-top: 0;
  width: 100%;
}

.catalog__section {
  width: 100%;
}

.catalog__parent-name {
  font-size: 21px;
  line-height: 21px;
  margin: 0 0 27px 0;
}

.catalog__sort {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: flex-end;
}

.sort__select {
  position: relative;
}

.sort__select-dropdown {
  background: var(--color-white);
  box-shadow: 0px 4px 35px rgb(122 130 146 / 20%);
  border-radius: 10px;
  padding: 8px 0;
  margin-top: 12px;
  position: absolute;
  z-index: 16;
  display: none;
}

.sort__select-header {
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center;
}

.sort__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  transition: all 0.3s;
}

.sort__chevron.opened {
  transform: rotate(180deg);
}

.sort__select-dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 16px;
  transition: all 0.25s;
}

.sort__select-dropdown a.selected,
.sort__select-dropdown a:hover {
  color: var(--color-orange);
}

.sort__select-dropdown a:hover {
  background-color: var(--color-orange-5);
}

.sort__alone a {
  transition: all 0.25s;
}

.sort__alone a:hover,
.sort__alone a.selected {
  color: var(--color-orange);
}

.catalog__title-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 1200px) {
  .breadcrumbs,
  .catalog__parent-name,
  .catalog__filter,
  .sections-list {
    display: none;
  }

  .catalog__filter {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    max-width: unset;
    margin: 0;
    padding: 0;
    height: 100%;
  }

  .catalog__sort {
    display: none;
  }
  .sort__select-title {
    font-size: 14px;
    font-weight: 500;
  }

  .tablet-filter {
    justify-content: space-between;
  }

  .sort__select-dropdown {
    right: 0;
  }
}

@media (max-width: 767px) {
  .catalog,
  .catalog__inner {
    margin-top: 24px;
  }
}

@media (max-width: 500px) {
  .catalog {
    margin-top: 10px;
  }
  .sale-new-page .breadcrumbs,
  .sale-new-page .bx-breadcrumb,
  .new-new-page .breadcrumbs,
  .new-new-page .bx-breadcrumb {
    display: flex;
  }

  .sale-new-page .catalog-section__title,
  .new-new-page .catalog-section__title {
    display: none;
  }

  .sale-new-page .catalog__parent-name,
  .new-new-page .catalog__parent-name {
    display: block;
    margin: 0;
    font-size: 18px;
  }

  .catalog__top-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .container--catalog .tablet-filter {
    margin-top: 17px;
  }
}
