@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

:root {
  --primary-orange-color: #e36900;
  --secondary-orange-color: #fcf0e6;
  --white-color: #ffffff;
  --gray-color: #9d9d9d;
  --gray-light-color: #f2f2f2;
  --shadow-color: #00000026;
  --text-black-color: #000000;
  --filter-white: brightness(0) invert(1);
  --border-color: #e2e2e2;
  --line-color: #d6d6d6;
  --placeholder-color: #a3a3a3;
  --overlay-light-color: rgba(0, 0, 0, 0.1);
  --overlay-dark-color: rgba(0, 0, 0, 0.4);
  --background-down: url("./assets/icons/down.png");
  --background-image-location: url("./assets/icons/location.png");
  --background-image-rent: url("./assets/icons/rent_orange.png");
  --background-image-sale: url("./assets/icons/purchase_white.png");
}

html {
  scroll-behavior: smooth;
}

* {
  padding: 0;
  margin: 0;
}

div.custom_properties_page {
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  accent-color: var(--primary-orange-color);
}

div.custom_properties_page *,
div.filter_advanced_lighbox * {
  font-family: "Rubik", sans-serif;
}

div.results_filter {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

section.filter_wrapper * {
  box-sizing: border-box;
}

section.filter_wrapper {
  background: var(--white-color);
  box-shadow: 0px 0px 20px 0px var(--shadow-color);
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  padding: 20px;
  color: var(--text-black-color);
}

section.filter_wrapper input[type="radio"] {
  display: none;
}

section.filter_wrapper ul.filter_menu {
  display: flex;
  column-gap: 20px;
  list-style: none;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-color);
}

section.filter_wrapper ul.filter_menu li {
  background: var(--white-color);
  border-radius: 12px;
  height: 45px;
  line-height: 45px;
  font-size: 50px;
}

section.filter_wrapper ul.filter_menu li label {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-size: 18px;
  font-weight: 400;
  padding: 0 20px;
  cursor: pointer;
  height: 100%;
}

section.filter_wrapper ul.filter_menu li label img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

section.filter_wrapper form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
}

div.form_field input {
  padding: 0 20px;
  appearance: none;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  color: var(--text-black-color);
  font-weight: 400;
  font-size: 16px;
  margin-top: 10px;
  caret-color: var(--primary-orange-color);
}

div.form_field input.select {
  background-image: var(--background-down);
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: calc(100% - 10px);
}

div.form_field input:focus {
  outline: none;
  border: 1px solid var(--primary-orange-color);
}

div.form_field input::placeholder {
  color: var(--placeholder-color);
}

div.form_field button {
  display: none;
  appearance: none;
  border: none;
  outline: none;
  height: 20px;
  width: 20px;
  padding: 0;
  margin: 0;
  background: inherit;
  position: absolute;
  right: 10px;
  bottom: 12px;
  cursor: pointer;
}

div.form_field button:hover {
  background-color: inherit;
}

div.form_field button img {
  height: 20px;
  width: 20px;
  object-fit: contain;
}

div.form_field div {
  display: flex;
  flex-direction: column;
  position: relative;
}

div.form_field ul {
  position: absolute;
  background: var(--white-color);
  width: 100%;
  max-height: 145px;
  overflow-y: scroll;
  display: none;
  flex-direction: column;
  row-gap: 10px;
  background: var(--white-color);
  border-radius: 12px;
  padding: 20px 0;
  list-style: none;
  top: calc(100% + 5px);
  box-shadow: 0px 0px 20px 0px var(--shadow-color);
  z-index: 1;
}

div.form_field ul li {
  border-radius: 4px;
  padding: 5px 10px;
  margin: 0 20px;
}

div.form_field ul li:hover {
  background: var(--overlay-light-color);
  cursor: pointer;
}

div.form_field div label {
  color: var(--text-black-color);
  font-weight: 400;
  font-size: 16px;
}

section.filter_wrapper form div.form_actions {
  display: flex;
  flex-direction: column;
}

section.filter_wrapper form div button.filter_advanced {
  font-weight: 400;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 10px;
  transform: translateY(-8px);
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  color: var(--text-black-color);
}

section.filter_wrapper form div button.filter_advanced img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

section.filter_wrapper form button[type="submit"] {
  border-radius: 12px;
  background: var(--primary-orange-color);
  height: 44px;
  width: 100%;
  border: none;
  color: var(--white-color);
  font-weight: 700;
  font-size: 20px;
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
}

section.filter_wrapper form button[type="submit"] img {
  filter: var(--filter-white);
  width: 20px;
  height: 20px;
  object-fit: contain;
  transform: rotate(-90deg);
}

section.filter_wrapper form button[type="submit"]:hover {
  filter: brightness(0.94);
  cursor: pointer;
}

div.form_field input:not(:placeholder-shown) {
  background-color: var(--secondary-orange-color);
  border: 1px solid var(--primary-orange-color);
  background-image: none;
}

div.form_field input:not(:placeholder-shown) ~ button {
  display: block;
}

div.form_field input:not(:focus) ~ ul {
  display: none;
}

/* LISTADO DE PROPIEDADES */

div.list_properties {
  display: flex;
  flex: 1;
  column-gap: 20px;
  margin-top: 20px;
}

div.list_properties > div {
  width: 100%;
}

div.list_properties div.filter_map div#map {
  height: 100%;
  width: 100%;
  background: var(--border-color);
}

div.list_properties div.filter_map div#map button {
  color: var(--text-black-color);
}

div.list_properties div.filter_map div#map button:focus {
  background: none;
  border: none;
  outline: none;
}

div.list_properties div.filter_map div#map div.property_popup {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  box-shadow: 0px 0px 20px 0px var(--shadow-color);
  padding: 10px;
  border-radius: 8px;
}

div.list_properties div.filter_map div#map div.property_popup div.info h4 {
  font-size: 18px;
  width: 70%;
  padding: 0;
  margin: 0;
}

div.list_properties div.filter_map div#map div.property_popup div.info p {
  font-size: 10px;
  padding: 0;
  margin: 0;
}

div.list_properties
  div.filter_map
  div#map
  div.property_popup
  ul.list_amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 30px;
  width: 100%;
  column-gap: 1px;
  background: var(--border-color);
  padding-bottom: 1px;
}

div.list_properties
  div.filter_map
  div#map
  div.property_popup
  ul.list_amenities
  li {
  color: var(--text-black-color);
  font-weight: 500;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 2px;
  background: var(--white-color);
}

div.list_properties
  div.filter_map
  div#map
  div.property_popup
  ul.list_amenities
  img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

div.list_properties div.filter_map div#map div.property_popup div.prices {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.list_properties div.filter_map div#map div.property_popup div.prices p {
  color: var(--text-black-color);
  font-size: 12px;
  margin: 0;
}

div.list_properties
  div.filter_map
  div#map
  div.property_popup
  div.prices
  p
  strong {
  font-weight: 700;
  font-size: 16px;
  display: block;
}

div.list_properties div.filter_map div#map div.property_popup div.prices a {
  color: var(--primary-orange-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  font-size: 16px;
  column-gap: 10px;
}

div.list_properties div.filter_map div#map div.property_popup div.prices a img {
  transform: rotate(-90deg);
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.mapboxgl-popup-content {
  padding: 0 !important;
  overflow: hidden;
}

div.list_properties div.filter_map div#map .custom-marker {
  width: fit-content;
  height: 40px;
  display: grid;
  place-content: center;
  cursor: pointer;
  text-align: center;
  background-size: cover;
  box-shadow: 0px 0px 20px 0px var(--shadow-color);
  background-color: var(--white-color);
  padding: 0px 10px;
  border-radius: 5px;
  position: relative;
}

div.list_properties div.filter_map div#map .custom-marker::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  background: var(--white-color);
  bottom: -8px;
  left: calc(50% - 8px);
}

div.list_properties div.filter_map div#map .custom-marker .pin {
  display: flex;
  flex-direction: column;
  row-gap: 0px;
  align-items: center;
  justify-content: center;
  background: var(--white-color);
  position: relative;
  z-index: 1;
}

div.list_properties div.filter_map div#map .custom-marker span {
  font-size: 10px;
  line-height: 12px;
}

div.list_properties div.filter_map div#map .custom-marker strong {
  font-size: 14px;
  line-height: 14px;
}

div.list_properties div.filter_map {
  position: sticky;
  top: 120px;
  height: calc(100dvh - 160px);
  border-radius: 10px;
  overflow: hidden;
}

div.list_properties div.filter_map label.show_more,
div.list_properties div.filter_map label.show_minus {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-color);
  border: none;
  outline: none;
  width: 220px;
  height: 44px;
  border-radius: 8px;
  column-gap: 10px;
  width: 220px;
  box-shadow: 0px 0px 20px 0px var(--shadow-color);
  font-weight: 500;
  font-size: 20px;
  position: absolute;
  left: 20px;
  top: 20px;
  cursor: pointer;
  z-index: 2;
}

div.list_properties div.filter_map label.show_more img,
div.list_properties div.filter_map label.show_minus img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transform: rotate(90deg);
}

div.list_properties div.filter_map label.show_minus {
  flex-direction: row-reverse;
  display: none;
}

div.list_properties div.filter_map label.show_minus img {
  transform: rotate(-90deg);
}

div.list_properties div.cards_properties {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

div.list_properties div.cards_properties.hide {
  display: none;
}

div.list_properties div.cards_properties div.card_actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  padding: 20px 0;
}

div.card_actions button.filter_advanced {
  display: none;
}

div.cards_properties div.card_actions p {
  font-weight: 400;
  font-size: 16px;
  margin: 0;
}

div.cards_properties div.scroll_up {
  display: none;
}

div.cards_properties div.card_actions select {
  height: 40px;
  width: 250px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 0 12px;
  appearance: none;
  background-image: var(--background-down);
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: calc(100% - 10px);
  justify-self: flex-end;
}

div.cards_properties div.card_actions select:focus {
  outline: none;
  border: 1px solid var(--primary-orange-color);
}

div.list_properties input#hide_map {
  display: none;
}

div.list_properties input#hide_map:checked ~ div.cards_properties,
div.list_properties input#hide_map:checked ~ div.filter_map label.show_more {
  display: none;
}

div.list_properties input#hide_map:checked ~ div.filter_map label.show_minus {
  display: flex;
}

/* CARDS */

div.list_properties div.cards_properties div.empty {
  height: 100%;
  flex: 1;
  flex-direction: column;
  row-gap: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  display: none;
}

div.list_properties div.cards_properties div.empty img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

div.list_properties div.cards_properties div.empty strong {
  font-weight: 500;
  font-size: 20px;
}

div.list_properties div.cards_properties div.empty span {
  font-size: 16px;
}

div.list_properties div.cards_properties ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  list-style: none;
}

div.list_properties div.cards_properties ul#skeleton_cards {
  grid-template-rows: 378px 378px;
}

div.list_properties div.cards_properties ul li.skeleton {
  box-shadow: 0px 0px 20px 0px var(--shadow-color);
  overflow: hidden;
  background-color: var(--border-color);
  border-radius: 8px;
  position: relative;
}

div.list_properties div.cards_properties ul li.skeleton::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(0, rgba(255, 255, 255, 0)),
    color-stop(20%, rgba(255, 255, 255, 0.2)),
    color-stop(60%, rgba(255, 255, 255, 0.5)),
    to(rgba(255, 255, 255, 0))
  );
  background-image: -o-linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0)
  );
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0)
  );
  -webkit-animation: shimmer 3s infinite;
  animation: shimmer 3s infinite;
  content: "";
}

div.list_properties div.cards_properties ul li.property_card {
  box-shadow: 0px 0px 20px 0px var(--shadow-color);
  border-radius: 8px;
  background: var(--white-color);
  overflow: hidden;
}

div.list_properties div.cards_properties ul li.property_card a {
  text-decoration: none;
}

div.list_properties div.cards_properties ul li.property_card > a {
  display: grid;
  grid-template-rows: 160px 30px 1fr;
}

div.list_properties div.cards_properties ul li.property_card div.photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  position: relative;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.photo
  span.badge {
  position: absolute;
  background: var(--white-color);
  max-width: calc(100% - 20px);
  padding: 0 10px 0 30px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  left: 10px;
  top: 10px;
  font-weight: 500;
  font-size: 10px;
  border-radius: 6px;
  display: grid;
  place-content: center;
}

div.list_properties div.cards_properties ul li.sale_card div.photo span.badge {
  background: var(--primary-orange-color);
}

div.list_properties div.cards_properties ul li.property_card div.location {
  display: flex;
  text-align: center;
  column-gap: 1px;
  background: var(--border-color);
  padding-bottom: 1px;
}

div.list_properties div.cards_properties ul li.property_card div.location p {
  display: block;
  width: 100%;
  line-height: 30px;
  font-weight: 700;
  font-size: 12px;
  color: var(--gray-color);
  background: var(--white-color);
  margin: 0;
}

div.list_properties div.cards_properties ul li.property_card div.information {
  row-gap: 20px;
  width: 100%;
  padding: 20px 0;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  div.title {
  display: flex;
  row-gap: 4px;
  width: calc(100% - 40px);
  margin: 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 70px;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  div.title
  h3 {
  text-decoration: none;
  color: var(--text-black-color);
  font-weight: 700;
  font-size: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  margin: 0;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  div.title
  span {
  color: var(--text-black-color);
  font-weight: 500;
  font-size: 10px;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 30px;
  width: 100%;
  margin: 20px 0;
  column-gap: 1px;
  background: var(--border-color);
  padding-bottom: 1px;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  ul
  li {
  color: var(--text-black-color);
  font-weight: 500;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 5px;
  background: var(--white-color);
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  div
  p {
  color: var(--text-black-color);
  font-weight: 500;
  font-size: 12px;
  padding-left: 20px;
  margin: 0;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  div
  p
  strong {
  font-weight: 700;
  font-size: 16px;
  display: block;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  div
  a {
  color: var(--primary-orange-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  font-size: 16px;
  column-gap: 10px;
  padding-right: 20px;
}

div.list_properties
  div.cards_properties
  ul
  li.property_card
  div.information
  div
  a
  img {
  transform: rotate(-90deg);
}

li.project_card div.photo span.badge::after,
li.rent_card div.photo span.badge::after,
li.sale_card div.photo span.badge::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  top: 4px;
  left: 8px;
}

li.project_card div.photo span.badge::before {
  content: attr(data-color);
  color: var(--text-black-color);
  text-wrap: nowrap;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

li.rent_card div.photo span.badge::before {
  content: "Arriendo";
  color: var(--primary-orange-color);
}

li.sale_card div.photo span.badge::before {
  content: "Venta";
  color: var(--white-color);
}

li.project_card div.photo span.badge::after {
  background-image: var(--background-image-location);
}

li.rent_card div.photo span.badge::after {
  background-image: var(--background-image-rent);
}

li.sale_card div.photo span.badge::after {
  background-image: var(--background-image-sale);
}

@-webkit-keyframes shimmer {
  100% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}
@keyframes shimmer {
  100% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}

/* PAGINACIÓN */

div.pagination {
  margin: 20px 0;
}

div.pagination ul {
  display: flex !important;
  flex-direction: row;
  height: 40px;
  column-gap: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

div.pagination ul.hide {
  display: none !important;
}

div.pagination ul li {
  text-align: center;
  border-radius: 8px;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  background: var(--gray-light-color);
}

div.pagination ul li.active {
  background: var(--primary-orange-color);
  pointer-events: none;
}
div.pagination ul li.active a {
  color: var(--white-color);
}

div.pagination ul li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 500;
  font-size: 18px;
  color: var(--text-black-color);
}

div.pagination ul li.disabled {
  pointer-events: none;
  filter: grayscale(1);
  display: none;
}

div.pagination ul li a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(24%) sepia(3%) saturate(8%)
    hue-rotate(341deg) brightness(99%) contrast(95%);
}

div.pagination ul li a img.left {
  transform: rotate(90deg);
}

div.pagination ul li a img.right {
  transform: rotate(-90deg);
}

/* FILTRO AVANZADO */

div.filter_advanced_lighbox {
  background: var(--overlay-dark-color);
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  top: 0;
  left: 0;
  place-content: center;
  z-index: 9999;
}

div.filter_advanced_lighbox.show {
  display: grid;
}

div.filter_advanced_lighbox.hide {
  display: none;
}

div.filter_advanced_lighbox form.form_advanced {
  background: var(--white-color);
  width: 30dvw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  box-shadow: 0px 0px 20px 0px var(--shadow-color);
  height: 90dvh;
  overflow-y: scroll;
}

form.form_advanced div.form_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

form.form_advanced div.form_header button {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

form.form_advanced div.form_actions button img,
form.form_advanced div.form_header button img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

form.form_advanced div.form_actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  box-shadow: 0px 0px 20px 0px var(--shadow-color);
  padding: 20px;
}

form.form_advanced div.form_actions button {
  width: 100%;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  column-gap: 10px;
  cursor: pointer;
}

form.form_advanced div.form_actions button.reset {
  font-weight: 400;
  font-size: 16px;
  text-decoration: underline;
  color: var(--placeholder-color);
}

form.form_advanced div.form_actions button[type="submit"] {
  border-radius: 12px;
  background: var(--primary-orange-color);
  height: 44px;
  width: 100%;
  border: none;
  color: var(--white-color);
  font-weight: 700;
  font-size: 20px;
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
}

form.form_advanced div.form_actions button[type="submit"] img {
  filter: var(--filter-white);
  width: 20px;
  height: 20px;
  object-fit: contain;
  transform: rotate(-90deg);
}

form.form_advanced div.form_body {
  background: var(--white-color);
  flex: 1;
  padding: 20px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

form.form_advanced div.form_body ul {
  list-style: none;
}

form.form_advanced div.form_body div.form_input_amenities,
form.form_advanced div.form_body div.form_input_ranges {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

form.form_advanced div.form_body div.form_input_amenities input {
  display: none;
}

form.form_advanced div.form_body div.form_input_amenities ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 40px;
  column-gap: 10px;
}

form.form_advanced div.form_body div.form_input_amenities ul li label {
  width: 100%;
  height: 100%;
  display: block;
  text-align: center;
  line-height: 40px;
  border-radius: 12px;
  font-weight: 400;
  font-size: 16px;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

form.form_advanced
  div.form_body
  div.form_input_amenities
  input:checked
  ~ label {
  border-color: var(--primary-orange-color);
  background: var(--secondary-orange-color);
  cursor: default;
}

form.form_advanced div.form_body div.form_input_ranges ul {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

form.form_advanced div.form_body div.form_input_ranges ul li label {
  display: flex;
  column-gap: 10px;
  align-items: center;
}

form.form_advanced div.form_body div.form_input_ranges ul li label input {
  accent-color: var(--primary-orange-color);
  width: 20px;
  height: 20px;
}

form.form_advanced div.form_body div.form_input_ranges ul li label span {
  font-weight: 400;
  font-size: 16px;
}

@media screen and (width <= 1200px) {
  div.custom_properties_page {
    padding: 0;
    row-gap: 0;
    display: block;
  }

  div.results_filter {
    display: none;
  }

  div.form_field ul li {
    border-radius: 4px;
    padding: 5px 10px;
    max-width: 100%;
  }

  div.form_field ul li:hover {
    background: var(--overlay-light-color);
    cursor: pointer;
  }

  div.form_field div label,
  div.form_field div input {
    font-size: 14px;
  }

  /* LISTADO DE PROPIEDADES */

  div.list_properties {
    flex-direction: column-reverse;
    column-gap: 0;
    margin-top: 0;
    padding: 0;
    height: 100%;
  }

  div.list_properties div.filter_map {
    position: sticky;
    height: 400px;
    top: 0;
    background: var(--border-color);
    border-radius: 0;
  }

  div.list_properties div.filter_map label.show_more {
    display: none;
  }

  div.list_properties div.cards_properties {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    position: relative;
    background: var(--white-color);
    row-gap: 0;
    z-index: 100;
  }

  div.list_properties div.cards_properties div.scroll_up {
    height: 10px;
    width: 100px;
    display: block;
    background: var(--border-color);
    border-radius: 100px;
    margin: 20px auto 0 auto;
  }

  div.list_properties div.cards_properties div.card_actions {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  div.cards_properties div.card_actions select {
    grid-column-start: 1;
    grid-column-end: 4;
    width: 100%;
  }

  div.cards_properties div.card_actions button.filter_advanced {
    grid-column-start: 2;
    grid-column-end: 4;
    font-weight: 400;
    height: 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: flex-end;
    column-gap: 10px;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    width: fit-content;
    padding: 0 20px;
    border-radius: 100px;
    background: var(--white-color);
    box-shadow: 0px 0px 20px 0px var(--shadow-color);
    color: var(--text-black-color);
  }

  div.cards_properties div.card_actions button.filter_advanced img {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

  /* CARDS */

  div.list_properties div.cards_properties ul {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  div.list_properties div.cards_properties > ul {
    padding: 0 10px;
  }

  div.list_properties
    div.cards_properties
    ul
    li.property_card
    div.information
    div.title {
    height: auto;
  }

  div.list_properties
    div.cards_properties
    ul
    li.property_card
    div.information
    div.title
    h3 {
    display: block;
  }

  /* MODAL FILTER */

  div.filter_advanced_lighbox {
    place-content: unset;
    align-items: flex-end;
  }

  div.filter_advanced_lighbox form.form_advanced {
    width: 100dvw;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

@media screen and (width > 1500px) {
  div.custom_properties_page {
    width: 80dvw;
    margin: 0 auto;
  }
}