.properties {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 16px 0;
  gap: 32px;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1440px) {
  .properties {
    padding-top: 120px;
    gap: 56px;
  }
}

.properties .list {
  display: grid;
  grid-template-columns: repeat(3, 405px);
  -moz-column-gap: 32px;
  column-gap: 32px;
  row-gap: 56px;
}

@media screen and (max-width: 1024px) {
  .properties .list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .properties .list {
    grid-template-columns: 1fr;
  }
}

.properties .list-title {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}

@media screen and (max-width: 768px) {
  .properties .list-title {
    flex-direction: column;
    gap: 32px;
  }
}

.properties .list-title .title {
  flex: 1;
  color: var(--red);
  font-family: var(--gotham);
  font-size: 40px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .properties .list-title .title {
    font-size: 24px;
  }
}

.properties .list-title .title span {
  font-weight: 900;
}

.properties .list-title .description {
  flex: 1;
  font-family: var(--montserrat);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
}

.properties .list-filters {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.properties .list-filters .uptitle {
  font-family: var(--montserrat);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
}

@media screen and (max-width: 1024px) {
  .properties .list-filters .uptitle {
    display: none;
  }
}

.properties .list-filters .filters-cta-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  max-height: 61px;
  padding: 16px 24px;
  background-color: var(--light-grey);
  z-index: 10000;
}

.properties .list-filters .filters-cta-mobile.active {
  background-color: var(--white);
}

.properties .list-filters .filters-cta-mobile span {
  display: flex;
  gap: 16px;
  color: var(--black);
  font-family: var(--montserrat);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
}

.properties .list-filters .filters-cta-mobile span::before {
  display: flex;
  content: '';
  width: 20px;
  height: 20px;
  -webkit-mask: url('../../images/access/icons/icon-filter.svg') no-repeat;
  mask: url('../../images/access/icons/icon-filter.svg') no-repeat;
  -webkit-mask-size: 20px;
  mask-size: 20px;
  background-color: var(--red);
}

@media screen and (max-width: 1024px) {
  .properties .list-filters .filters-cta-mobile {
    display: flex;
  }
}

.properties .list-filters .filters-tabs {
  display: block;
}

@media screen and (max-width: 1024px) {
  .properties .list-filters .filters-tabs {
    display: none;
  }
}

.properties .list-filters .filters-tabs.active {
  position: absolute;
  display: block;
  width: 100%;
  top: 77px;
  z-index: 10000;
}

.properties .list-filters .filters-tabs.active .filters-btn button {
  flex-basis: 33.33%;
  justify-content: center;
}

.properties .list-filters .filters-tabs.active .tabs {
  flex-direction: column;
}

.properties .list-filters .filters-tabs.active .tabs form {
  flex-direction: column;
}

.properties .list-filters .filters-tabs .filters-btn {
  display: flex;
  font-family: var(--gotham);
}

.properties .list-filters .filters-tabs .filters-btn button {
  display: flex;
  padding: 16px 24px;
  align-items: flex-start;
  gap: 8px;
  background-color: var(--white);
  border: 1px solid var(--light-grey);
  color: var(--dark-blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  .properties .list-filters .filters-tabs .filters-btn button {
    padding: 16px;
  }
}

.properties .list-filters .filters-tabs .filters-btn button.active {
  background-color: var(--light-grey);
}

.properties .list-filters .filters-tabs .tabs {
  display: none;
  background-color: var(--light-grey);
}

.properties .list-filters .filters-tabs .tabs.active {
  display: block;
}

.properties .list-filters .filters-tabs .tabs form {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  padding: 32px;
}

@media screen and (max-width: 1024px) {
  .properties .list-filters .filters-tabs .tabs form {
    align-items: unset;
  }
}

@media screen and (max-width: 1024px) {
  .properties .list-filters .filters-tabs .tabs .submit-wrapper {
    display: flex;
    justify-content: center;
  }
}

.properties .list-filters .filters-tabs .tabs .apply-filter {
  font-family: var(--gotham);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--red);
  padding: 17px 16px;
  border: 1px solid var(--red);
  border-right: none;
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  max-width: 230px;
  transition: all 0.3s;
  position: relative;
  background: white;
  text-wrap: wrap;
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  .properties .list-filters .filters-tabs .tabs .apply-filter {
    right: 10%;
  }
}

@media screen and (min-width: 429px) {
  .properties .list-filters .filters-tabs .tabs .apply-filter {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
}

@media screen and (min-width: 1024px) {
  .properties .list-filters .filters-tabs .tabs .apply-filter {
    max-width: unset;
    text-align: center;
  }
}

.properties .list-filters .filters-tabs .tabs .apply-filter:hover {
  background: var(--light-grey);
}

.properties .list-filters .filters-tabs .tabs .apply-filter:hover > span,
.properties
  .list-filters
  .filters-tabs
  .tabs
  .apply-filter:hover
  > span::after {
  background: var(--light-grey);
}

.properties
  .list-filters
  .filters-tabs
  .tabs
  .apply-filter:hover
  > span::after {
  box-shadow: 0px 0 0 white, -1px 0 0 var(--light-grey);
}

.properties .list-filters .filters-tabs .tabs .apply-filter:hover > span span {
  background: var(--red);
}

.properties .list-filters .filters-tabs .tabs .apply-filter > span {
  position: absolute;
  right: 0;
  top: -1px;
  padding-left: 16px;
  padding-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--red);
  border-right-width: 0;
  height: calc(100% + 2px);
  transform: translateX(100%);
  transition: all 0.4s;
}

.properties .list-filters .filters-tabs .tabs .apply-filter > span::before {
  content: '';
  position: absolute;
  right: 0;
  height: calc(100% + 2px);
  width: 25px;
  transform: translateX(100%);
  background: var(--red);
  -webkit-clip-path: polygon(0% 0%, 2% 100%, 62% 50%);
  clip-path: polygon(0% 0%, 2% 100%, 62% 50%);
}

.properties .list-filters .filters-tabs .tabs .apply-filter > span::after {
  content: '';
  position: absolute;
  right: 0;
  height: calc(100% + 2px);
  width: 25px;
  transform: translateX(100%);
  background: white;
  -webkit-clip-path: polygon(1% 4%, 59% 50%, 3% 96%, 0 97%, 0 3%);
  clip-path: polygon(1% 4%, 59% 50%, 3% 96%, 0 97%, 0 3%);
  transition: all 0.4s;
}

.properties .list-filters .filters-tabs .tabs .apply-filter > span span {
  display: block;
  width: 24px;
  height: 24px;
  background: var(--red);
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: all 0.4s;
  -webkit-mask: url('../../images/access/icons/arrow-cta.svg') no-repeat center;
  mask: url('../../images/access/icons/arrow-cta.svg') no-repeat center;
}

.properties .list-filters .filters-tabs .tabs .reset-filters-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--light-blue);
  font-family: var(--gotham);
  font-weight: 500;
  font-size: 12px;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  .properties .list-filters .filters-tabs .tabs .reset-filters-mobile {
    display: flex;
  }
}

.properties .list-filters .filters-tabs .tabs .reset-filters-mobile::after {
  display: flex;
  content: '';
  width: 24px;
  height: 24px;
  -webkit-mask: url('../../images/access/icons/icon-refresh.svg') no-repeat;
  mask: url('../../images/access/icons/icon-refresh.svg') no-repeat;
  -webkit-mask-size: 24px;
  mask-size: 24px;
  background-color: var(--light-blue);
}

.properties .list-filters .filters-tabs .tabs .filter-element {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  flex-basis: 25%;
}

.properties .list-filters .filters-tabs .tabs .filter-element input {
  position: relative;
  padding: 16px;
  width: calc(100% - 56px);
  background-color: var(--white);
  border: 1px solid var(--main-grey);
  border-right: none;
}

.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element
  input:focus-visible {
  outline: none;
  border: 1px solid var(--main-grey);
}

.properties .list-filters .filters-tabs .tabs .filter-element .select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--main-grey);
}

.properties .list-filters .filters-tabs .tabs .filter-element label {
  font-family: var(--gotham);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element.filter-localisation
  .input-localisation,
.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element.filter-localisation
  .input-budget,
.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element.filter-max_budget
  .input-localisation,
.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element.filter-max_budget
  .input-budget {
  position: relative;
  display: flex;
}

.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element.filter-localisation
  .input-localisation
  span,
.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element.filter-localisation
  .input-budget
  span,
.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element.filter-max_budget
  .input-localisation
  span,
.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element.filter-max_budget
  .input-budget
  span {
  display: flex;
  position: absolute;
  right: 1px;
  top: 0;
  bottom: 0;
  width: 56px;
  border: 1px solid var(--main-grey);
  background: url('../../images/access/icons/filter-location.svg') #ffffff
    no-repeat;
  background-position: center;
}

.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element.filter-localisation
  .input-budget
  span,
.properties
  .list-filters
  .filters-tabs
  .tabs
  .filter-element.filter-max_budget
  .input-budget
  span {
  background: url('../../images/access/icons/filter-euro.svg') #ffffff no-repeat;
  background-position: center;
}

.properties .list-filters .filters-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--light-blue);
  font-family: var(--gotham);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.properties .list-filters .filters-count .count {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.properties .list-filters .filters-count .count span {
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}

.properties .list-filters .filters-count .reset-filters {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.96px;
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  .properties .list-filters .filters-count .reset-filters {
    display: none;
  }
}

.properties .list-filters .filters-count .reset-filters::after {
  display: flex;
  content: '';
  width: 24px;
  height: 24px;
  -webkit-mask: url('../../images/access/icons/icon-refresh.svg') no-repeat;
  mask: url('../../images/access/icons/icon-refresh.svg') no-repeat;
  -webkit-mask-size: 24px;
  mask-size: 24px;
  background-color: var(--light-blue);
}

.properties .list .card-property {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.properties .list .card-property:hover img {
  transform: scale(1.15);
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  -ms-transform: scale(1.15);
  -o-transform: scale(1.15);
}

.properties .list .card-property:hover .see-more {
  width: 72px;
  height: 72px;
  background-color: var(--red);
}

.properties .list .card-property:hover .see-more::after {
  background: var(--white);
}

.properties .list .card-property_img {
  position: relative;
  overflow: hidden;
}

.properties .list .card-property_img img {
  height: 300px;
  -o-object-fit: cover;
  object-fit: cover;
  transition: all 1s;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
}

.properties .list .card-property_type {
  position: absolute;
  top: 0;
  left: 0;
  padding-right: 12px;
  padding-bottom: 8px;
  background-color: var(--white);
  color: var(--black);
  font-family: var(--gotham);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.properties .list .card-property .see-more {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background-color: var(--white);
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.properties .list .card-property .see-more::after {
  content: '';
  -webkit-mask: url('../../images/access/icons/icon-arrow2.svg') no-repeat
    center;
  mask: url('../../images/access/icons/icon-arrow2.svg') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  width: 24px;
  height: 24px;
  background: var(--dark-blue);
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.properties .list .card-property_content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.properties .list .card-property_logement-title {
  color: var(--light-blue);
  font-family: var(--gotham);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  text-transform: uppercase;
}

.properties .list .card-property_location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--grey);
  font-family: var(--gotham);
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 180%;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.properties .list .card-property_location::before {
  display: flex;
  content: '';
  width: 24px;
  height: 24px;
  -webkit-mask: url('../../images/access/icons/icon-marker-map.svg') no-repeat;
  mask: url('../../images/access/icons/icon-marker-map.svg') no-repeat;
  -webkit-mask-size: 24px;
  mask-size: 24px;
  background-color: var(--red);
}

.properties .list .card-property_price {
  color: var(--dark-blue);
  text-align: right;
  font-family: var(--gotham);
  font-size: 20px;
  font-style: normal;
  font-weight: bold;
  line-height: 140%;
  text-transform: uppercase;
}

.properties .load-more {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  padding: 16px;
  background-color: var(--red);
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
}
