.filter {
  padding: 0;
  margin: 0;
  border: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.filter button {
  font-family: inherit;
  cursor: pointer;
}

.filter button ::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.filter * {
  padding: 0;
  margin: 0;
  border: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.sort-block {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 50%;
  flex: 1 1 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.sort-block span{
  font-size: 16px;
}

.sort-block > div > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 0;
  cursor: pointer;
}

.sort-block > div > div:hover span {
  background-color: #BFA481;
}

.sort-block > div > div._active-sort span {
  background-color: #BFA481;
}

.sort-block > div > div span {
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  display: block;
  width: 15px;
  height: 1px;
  background-color: #000000;
}

.sort-block > div > div:first-child span:first-child {
  -webkit-transform: translate(3px, 0) rotate(-45deg);
  -ms-transform: translate(3px, 0) rotate(-45deg);
  transform: translate(2px, 0) rotate(-45deg);
}

.sort-block > div > div:first-child span:last-child {
  -webkit-transform: translate(-3px, 0) rotate(45deg);
  -ms-transform: translate(-3px, 0) rotate(45deg);
  transform: translate(-3px, 0) rotate(45deg);
}

.sort-block > div > div:last-child span:first-child {
  -webkit-transform: translate(3px, 0) rotate(45deg);
  -ms-transform: translate(3px, 0) rotate(45deg);
  transform: translate(3px, 0) rotate(45deg);
}

.sort-block > div > div:last-child span:last-child {
  -webkit-transform: translate(-3px, 0) rotate(-45deg);
  -ms-transform: translate(-3px, 0) rotate(-45deg);
  transform: translate(-3px, 0) rotate(-45deg);
}

.whith-line > span {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.info-whith-line {
  border: 1px solid #BFA481;
  border-radius: 20px;
  padding: 5px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.info-whith-line input {
  display: block;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 170px;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  outline: none;
  border-radius: 0;
}

.info-whith-line input:first-child {
  border-right: 1px solid black;
}

.info-whith-line input::-webkit-outer-spin-button,
.info-whith-line input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.info-line {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #BFA481;
  margin-top: 12px;
}

.dot-m {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
}

.dot-m div {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #BFA481;
}

.dot-min {
  left: 0;
  -webkit-transform: translate(-8px, -50%);
  -ms-transform: translate(-8px, -50%);
  transform: translate(-8px, -50%);
}

.dot-max {
  left: calc(100%);
  -webkit-transform: translate(calc(-100% + 7px), -50%);
  -ms-transform: translate(calc(-100% + 7px), -50%);
  transform: translate(calc(-100% + 7px), -50%);
}

.or-or span {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.or-or-onfo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border: 1px solid #BFA481;
  border-radius: 20px;
  padding: 5px 10px;
}

.or-or-onfo p {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 100%;
  flex: 1 1 100%;
  text-align: center;
  border-right: 1px solid black;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
  font-size: 16px;
}

.or-or-onfo p:hover {
  color: #BFA481;
}

.or-or-onfo p._active-currency {
  font-weight: 900;
  color: #BFA481;
}

.or-or-onfo p._active-floor {
  font-weight: 900;
  color: #BFA481;
}

.or-or-onfo p:last-child {
  border-right: none;
}

.or-or-onfo .bedroom__info {
  border-right: none;
}

.or-or-onfo .bedroom__info:first-child:hover {
  color: #BFA481;
}

.or-or-onfo .bedroom__info:first-child._active-floor {
  font-weight: 900;
  color: black;
}

.rang-line > div:first-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 5px;
}

.rang-line > div:first-child > div {
  cursor: pointer;
}

.rang-line > div:first-child > div span {
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.rang-line > div:first-child > div span:hover {
  color: #BFA481;
}

.rang-line > div:first-child > div span._active-size {
  color: #BFA481;
}

.rang-line > div:first-child > div span:nth-child(2):hover {
  color: #000000;
}

.rang-line > div:first-child > div span:nth-child(2)._active {
  color: #000000;
}

.filter__table {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 400px;
  flex: 0 0 400px;
  max-width: 400px;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.05em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: white;
  border-radius: 20px;
  position: relative;
}

.filter__table__head {
  background-color: #BFA481;
  width: 100%;
  padding: 15px 0;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: white;
  border-radius: 20px 20px 0 0;
}

.filter__table__main {
  width: 100%;
  padding: 20px 20px 40px 20px;
}

.filter__table__main > div {
  width: 100%;
  margin-bottom: 20px;
}

.filter__table__main > div:last-child {
  margin-bottom: 0;
}

.filter__table__main__sort {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.filter__table__main__lots {
  color: #757575;
  font-size: 18px;
  text-align: center;
}

.filter__table__footer {
  width: 100%;
  padding: 0 20px;
  position: absolute;
  bottom: 0;
  -webkit-transform: translate(0, 50%);
  -ms-transform: translate(0, 50%);
  transform: translate(0, 50%);
  background-color: transparent;
}

.filter__table__footer button {
  width: 100%;
  background-color: #BFA481;
  color: white;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 15px 0;
  font-size: 18px;
  border-radius: 40px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.filter__table__footer button:hover {
  -webkit-transform: translate(0, -4px);
  -ms-transform: translate(0, -4px);
  transform: translate(0, -4px);
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
}

.filter__table__footer button:active {
  -webkit-transition: 0s;
  -o-transition: 0s;
  transition: 0s;
  -webkit-transform: translate(0, -1px);
  -ms-transform: translate(0, -1px);
  transform: translate(0, -1px);
  -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.filter__result {
  width: 100%;
  margin-left: 20px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.filter__result__card {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 30%;
  flex: 0 1 30%;
  padding: 20px;
  background-color: white;
  -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 400;
  border-radius: 15px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}

.filter__result__card > div {
  margin-bottom: 10px;
}

.filter__result__card > div:nth-child(5) {
  margin-bottom: 40px;
}

.filter__result__card > div:last-child {
  margin-bottom: 0;
}

.filter__result__card:hover {
  -webkit-box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.75);
  -webkit-transform: translate(0, -6px);
  -ms-transform: translate(0, -6px);
  transform: translate(0, -6px);
}

.filter__result__card__number {
  width: 100%;
  text-align: center;
  border: 1px solid #BFA481;
  border-radius: 10px;
  padding: 5px 0;
}

.filter__result__card__img img {
  max-height: 300px;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
}

.filter__result__card__cost {
  font-size: 18px;
}

.filter__result__card__cost-size {
  font-size: 14px;
  color: #757575;
}

.filter__popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 3;
  top: 0;
  left: 0;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  overflow-y: auto;
  justify-content: center;
}

.filter__popup._active {
  visibility: visible;
  opacity: 1;
}

.filter__popup__close {
  background-color: white;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  position: fixed;
  bottom: 30px;
  margin: 0 auto;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.5);
  z-index: 4;
  cursor: pointer;
}

.filter__popup__close span {
  display: block;
  width: 40px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.5);
}

.filter__popup__close span:first-child {
  -webkit-transform: translate(19px) rotate(45deg);
  -ms-transform: translate(19px) rotate(45deg);
  transform: translate(19px) rotate(45deg);
}

.filter__popup__close span:last-child {
  -webkit-transform: translate(-19px) rotate(-45deg);
  -ms-transform: translate(-19px) rotate(-45deg);
  transform: translate(-19px) rotate(-45deg);
}

.filter__popup__close:hover {
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
  -webkit-transform: translate(0, -4px);
  -ms-transform: translate(0, -4px);
  transform: translate(0, -4px);
}

.filter__popup__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 1500px;
  margin: 0 20px;
}

.filter__popup__content__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 20px;
}

.popup__block {
  min-height: 600px;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 20px;
  background-color: white;
}

.filter__popup__content__main__left {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 49%;
  flex: 0 0 49%;
}

.filter__popup__content__main__left img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
}

.filter__popup__content__main__right {
  -webkit-box-flex: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  height: 100%;
  width: 100%;
  padding: 30px;
}

.filter__popup__content__main__right hr {
  width: 100%;
  height: 1px;
  background-color: #000000;
  margin: 20px 0;
}

.filter__popup__content__main__right__bedroom {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 00.05em;
}

.filter__popup__content__main__right__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
}

.popup__info__block {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 33%;
  flex: 1 1 33%;
  margin-bottom: 36px;
}

.popup__info__block:last-child {
  margin-bottom: 0;
}

.popup__info__block p {
  letter-spacing: 00.05em;
  font-size: 400;
}

.popup__info__block p:first-child {
  font-size: 24px;
}

.popup__info__block p:last-child {
  font-size: 14px;
  color: #757575;
}

.filter__popup__content__main__right__number {
  font-size: 24px;
  letter-spacing: 00.05em;
  padding: 10px;
  border-radius: 10px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  border: 2px solid rgb(184, 184, 184);
}

.ftr-p-r{
  margin-bottom: 20px;
}

.filter__popup__content__main__right__number a {
  color: #000000;
  text-decoration: none;
}

.filter__popup__content__main__right__number a:hover {
  color: #000000;
}

.filter__popup__content__main__right__number:hover {
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
  -webkit-transform: translate(0, -4px);
  -ms-transform: translate(0, -4px);
  transform: translate(0, -4px);
}

.filter__popup__result__button {
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  bottom: -55px;
  background-color: #fff;
  border-radius: 5px;
  padding: 5px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  z-index: 1;
  border-radius: 5px solid black;
  opacity: 0;
  visibility: hidden;
}

.filter__popup__result__button:hover {
  -webkit-transform: translate(-50%, -4px);
  -ms-transform: translate(-50%, -4px);
  transform: translate(-50%, -4px);
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
}

.filter__popup__result__button:active {
  -webkit-transition: 0s;
  -o-transition: 0s;
  transition: 0s;
  -webkit-transform: translate(-50%, -1px);
  -ms-transform: translate(-50%, -1px);
  transform: translate(-50%, -1px);
  -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.filter__popup__result__button._active {
  opacity: 1;
  visibility: visible;
}

.filter__table__main__rang__head span{
  font-size: 16px;
}