/* Catalog page (/propiedades): search + filters bar, map banner and results header. Scoped to .props-page. The cards keep their own styles. */
.props-page {
  background: #f6fafc;
  color: #2b2e33;
}

.props-search-section {
  padding: 0 0 24px;
  background: #ffffff;
}

.props-results-section {
  padding: 26px 0 48px;
  border-top: 1px solid #e5edf2;
  background: #f3f8fb;
}

.listado-propiedades .item-prop {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: #2b2e33;
  font: 400 16px/1.5 "Montserrat", sans-serif;
  background: #ffffff;
  box-shadow: 0 8px 24px rgb(6 43 67 / 12%);
}

.listado-propiedades .item-prop.is-reserved {
  background: #ffffff;
}

.listado-propiedades .property-image-stage {
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  width: 100%;
  height: 310px;
}

.listado-propiedades .property-image-stage > a:not(.property-tour-link) {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.listado-propiedades .property-image-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(var(--image-slide-x, 0%), 0, 0) scale(var(--image-zoom, 1));
  transition: transform 360ms cubic-bezier(0.22, 0.68, 0, 1);
  will-change: transform;
}

.listado-propiedades .property-image-layer[hidden] {
  display: none;
}

.listado-propiedades .property-image-layer--incoming {
  --image-slide-x: 100%;
  pointer-events: none;
}

.listado-propiedades .item-prop:hover .property-image-layer {
  --image-zoom: 1.01;
  scale: 1 !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}

.listado-propiedades .property-image-carousel[hidden] {
  display: none !important;
}

.listado-propiedades .property-image-carousel {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 310px;
  pointer-events: none;
}

.listado-propiedades .property-image-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 2rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 65%));
  cursor: pointer;
  opacity: 0;
  pointer-events: auto;
  transform: translateY(-50%) scale(0.92);
  transition: opacity 220ms ease, transform 220ms ease, background-color 180ms ease, color 180ms ease;
}

.listado-propiedades .property-image-arrow--previous {
  left: 0.75rem;
}

.listado-propiedades .property-image-arrow--next {
  right: 0.75rem;
}

.listado-propiedades .item-prop .property-image-stage:hover ~ .property-image-carousel .property-image-arrow,
.listado-propiedades .item-prop .property-image-carousel:hover .property-image-arrow,
.listado-propiedades .item-prop:focus-within .property-image-arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.listado-propiedades .property-image-arrow:hover,
.listado-propiedades .property-image-arrow:focus-visible {
  background: transparent;
  color: #ffffff;
  outline: none;
  filter: drop-shadow(0 0 4px #009cde);
}

.listado-propiedades .property-image-arrow i {
  font-size: 1.05rem;
}

.listado-propiedades .property-image-indicators {
  position: absolute;
  right: 5rem;
  bottom: 0.95rem;
  left: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: auto;
}

.listado-propiedades .property-image-indicators.is-changing {
  animation: property-indicator-shift 440ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes property-indicator-shift {
  from {
    opacity: 0.72;
    transform: translateX(var(--indicator-shift-distance, 8px));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.listado-propiedades .property-image-indicator {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 68%);
  box-shadow: 0 1px 5px rgb(0 0 0 / 35%);
  cursor: pointer;
  transition: width 320ms cubic-bezier(0.16, 1, 0.3, 1), background-color 320ms ease, transform 320ms ease;
}

.listado-propiedades .property-image-indicator.is-active {
  width: 1.1rem;
  background: #ffffff;
}

.listado-propiedades .property-image-indicator:hover {
  transform: scale(1.2);
}

@media (hover: none) {
  .listado-propiedades .property-image-arrow {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@media (max-width: 575.98px) {
  .listado-propiedades .property-image-stage {
    height: 250px;
  }

  .listado-propiedades .property-image-carousel {
    height: 250px;
  }

  .listado-propiedades .property-image-arrow {
    width: 1.8rem;
    height: 2.5rem;
  }

  .listado-propiedades .property-image-indicators {
    right: 4.2rem;
    left: 4.2rem;
  }

  .listado-propiedades .property-image-stage > a:not(.property-tour-link) > img {
    scale: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .listado-propiedades .property-image-arrow,
  .listado-propiedades .property-image-indicator {
    transition: none;
  }

  .listado-propiedades .property-image-layer {
    transition: none;
  }

  .listado-propiedades .property-image-indicators.is-changing {
    animation: none;
  }
}

.listado-propiedades .property-image-badges {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: calc(100% - 1.6rem);
}

.listado-propiedades .property-operation-badge,
.listado-propiedades .property-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 2rem;
  min-height: 2rem;
  min-width: 0;
  padding: 0 0.3rem;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
  backdrop-filter: none;
}

.listado-propiedades .property-operation-badge {
  aspect-ratio: 2.12;
  border: 0;
  background: #ffffff;
  color: #102e41;
}

.listado-propiedades .property-status--available {
  aspect-ratio: 3.17;
  border: 0;
  background: #d9f3e5;
  color: #075c3f;
}

.listado-propiedades .property-status--reserved {
  aspect-ratio: 3.17;
  border: 0;
  background: #fce7e9;
  color: #922c3a;
}

.listado-propiedades .property-status--reserved::before {
  display: none;
}

.listado-propiedades .property-tour-link {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: auto;
  height: 2.35rem;
  padding: 0 0.85rem;
  border: 1px solid rgb(4 86 125 / 10%);
  border-radius: 999px;
  background: #e0f2fb;
  color: #04567d;
  box-shadow: 0 3px 10px rgb(0 0 0 / 42%), 0 0 0 1px rgb(0 77 110 / 35%);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.listado-propiedades .property-tour-link[hidden] {
  display: none !important;
}

.listado-propiedades .property-tour-link:hover,
.listado-propiedades .property-tour-link:focus-visible {
  background: #d4ecf8;
  color: #04567d;
  transform: translateY(-1px);
}

.listado-propiedades .prop-info {
  position: static !important;
  display: flex;
  flex: 1 0 auto;
  bottom: auto;
  width: 100%;
  padding: 0 !important;
}

.listado-propiedades .property-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  padding: 20px 22px 22px;
}

.listado-propiedades .property-card-content h5 {
  margin-bottom: 4px !important;
  font-size: 20px;
  line-height: 1.3;
}

.listado-propiedades .property-card-content h6 {
  margin-bottom: 0 !important;
  color: #52697a !important;
  font-size: 15px;
  line-height: 1.4;
}

.listado-propiedades .property-card-content small {
  font-size: 0.8rem;
}

.listado-propiedades .property-card-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  padding: 12px 0 0 !important;
  border-top: 1px solid #e0eaf0;
}

.listado-propiedades .property-card-content ul li {
  margin: 0;
  white-space: nowrap;
}

.listado-propiedades .property-card-content > div:last-child {
  margin-top: auto !important;
  padding-top: 18px;
}

.listado-propiedades .item-prop:not(.is-reserved):hover .property-status--available {
  background: #d9f3e5;
  color: #075c3f;
  transform: none;
}

@media (max-width: 575.98px) {
  .listado-propiedades .property-card-content {
    padding: 18px 18px 20px;
  }
}

.props-shell {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.props-page-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.props-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: #52697a;
  font-size: 13px;
}

.props-crumbs a {
  color: #52697a;
  font-weight: 600;
  text-decoration: none;
}

.props-crumbs strong {
  color: #2b2e33;
}

/* Search + filters */
.props-filters {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.props-filters__top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.props-search {
  position: relative;
  flex: 1 1 340px;
  min-width: 0;
}

.props-search input {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 44px;
  border: 1px solid #d1e4ef;
  border-radius: 999px;
  background: #f6fbff;
  color: #2b2e33;
  font: inherit;
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.props-search__icon {
  position: absolute;
  top: 50%;
  left: 18px;
  color: #5b7384;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.props-search .properties-text-search__clear {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
}

.props-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.props-empty-recommendation__message {
  margin: 0;
  line-height: 1.5;
}

.empty-state.has-recommendation {
  row-gap: 0;
}

.props-empty-recommendation__suggestion {
  margin: 12px 0 0;
  color: #587486;
  font-weight: 500;
  line-height: 1.5;
}

.props-empty-recommendation__action {
  min-height: 40px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid #b9e6f6;
  border-radius: 999px;
  background: #ffffff;
  color: #007eae;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.props-empty-recommendation__action:hover,
.props-empty-recommendation__action:focus-visible {
  border-color: #009cde;
  background: #009cde;
  color: #ffffff;
}

.props-code {
  flex: 0 1 150px;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #d1e4ef;
  border-radius: 999px;
  background: #f6fbff;
  color: #263943;
  font: inherit;
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.props-submit,
.props-toggle {
  height: 50px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.props-submit {
  flex: 0 0 106px;
  height: 46px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 14px;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.props-page .props-submit:hover {
  transform: translateY(-1px);
  background: var(--color-primary-dark);
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(0, 143, 200, 0.22);
}

.props-page .props-submit:active {
  transform: translateY(0);
}

.props-toggle {
  display: none;
  border: 1.5px solid #2b2e33;
  background: transparent;
  color: #2b2e33;
}

.props-filters__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  row-gap: 14px;
  column-gap: 10px;
  margin-top: 14px;
}

.props-filters__fields .select2-container {
  width: 100% !important;
  margin-bottom: 0 !important;
}

.props-page .select2-container--default .select2-selection--multiple {
  min-height: 44px;
  border: 1px solid #d3e3ec;
  border-radius: 22px;
  background: #ffffff;
}

.props-page .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 3px 12px;
}

.props-price {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #d3e3ec;
  border-radius: 22px;
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.props-search input:focus-visible,
.props-code:focus-visible,
.props-price:focus-visible,
.props-submit:focus-visible,
.props-toggle:focus-visible {
  outline: 3px solid #009cde;
  outline-offset: 1px;
}

/* Keep filter cleanup within the filter panel. */
.props-filters__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
}

.props-filters__actions[hidden] {
  display: none;
}

.props-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
  background: #e0f2fb;
  color: #04567d;
  font-size: 13px;
  font-weight: 700;
}

.props-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #04567d;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.props-active__clear {
  min-height: 26px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #056f9d;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.props-active__clear:hover {
  color: #008fc8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.props-active__clear:focus-visible {
  border-radius: 4px;
  outline: 2px solid #009cde;
  outline-offset: 3px;
}

/* Map banner, always on top of the results */
.props-map-wrap {
  margin: 0 0 4px;
  overflow: hidden;
}

.props-map-wrap[hidden] {
  display: none;
}

.props-page .props-map {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-radius: 24px;
}

/* Results header */
.props-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 20px;
}

.props-head__count {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  line-height: 1.2;
  font-size: 22px;
}

.props-head__count .cantprop {
  color: #009cde;
  font-size: 26px;
}

.props-head__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.props-map-toggle {
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid #2b2e33;
  border-radius: 999px;
  background: transparent;
  color: #2b2e33;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.props-map-toggle:hover {
  transform: translateY(-1px);
  border-color: #009cde;
  background: #e8f6fc;
  color: #087ca6;
  box-shadow: 0 4px 12px rgba(0, 156, 222, 0.14);
}

.props-map-toggle:focus-visible {
  outline: 3px solid rgba(0, 156, 222, 0.25);
  outline-offset: 2px;
}

.props-head__tools .props-map-toggle {
  min-height: 44px;
  white-space: nowrap;
}

.props-page .props-head__tools .select2-container {
  flex: 0 0 190px;
  width: 190px !important;
  min-width: 190px;
  margin-bottom: 0 !important;
}

.props-page #ordenarPor + .select2-container {
  height: 44px;
  min-height: 44px;
}

.props-page #ordenarPor + .select2-container .selection {
  height: 44px;
}

.props-page #ordenarPor + .select2-container .select2-selection--single {
  height: 44px;
  min-height: 44px;
  border: 1px solid #c9eaf7;
  border-radius: 999px;
  background: #e0f2fb;
  color: #04567d;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.props-page #ordenarPor + .select2-container .select2-selection--single:hover {
  border-color: #a8dff2;
  background: #d6eef9;
}

.props-page #ordenarPor + .select2-container--open .select2-selection--single {
  border-color: #8ed3ed;
  box-shadow: 0 0 0 3px rgba(0, 156, 222, 0.12);
}

.props-page #ordenarPor + .select2-container .select2-selection__rendered {
  height: 42px;
  padding-left: 18px;
  color: #04567d;
  line-height: 42px;
}

.props-page #ordenarPor + .select2-container .select2-selection__arrow {
  height: 44px;
}

.props-page #ordenarPor + .select2-container .select2-selection__arrow b {
  border-top-color: #04567d;
}

.props-page #ordenarPor + .select2-container--open .select2-selection__arrow b {
  border-bottom-color: #04567d;
}

@media (max-width: 991.98px) {
  .props-toggle {
    display: inline-block;
  }

  .props-filters__fields {
    display: none;
  }

  .props-filters.is-open .props-filters__fields {
    display: grid;
  }
}

@media (max-width: 575.98px) {
  .props-shell {
    width: calc(100% - 32px);
  }

  .props-search-section {
    padding: 0 0 20px;
  }

  .props-results-section {
    padding: 20px 0 32px;
  }

  .props-head__tools {
    width: 100%;
    justify-content: space-between;
  }

  .props-submit,
  .props-toggle {
    flex: 1 1 120px;
  }

  .props-code {
    flex: 1 1 100px;
  }

  .props-page .props-map {
    height: 260px;
    border-radius: 20px;
  }
}

.props-page .select2-container--default .select2-selection--multiple,
.props-page .select2-container--default.select2-container--focus .select2-selection--multiple,
.props-page .select2-container--default.select2-container--open .select2-selection--multiple {
  box-shadow: none !important;
}

.props-page .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #009cde;
}

/* Compact, consistent controls for the property search panel. */
.props-price {
  height: 46px;
  min-height: 46px;
  border: 1px solid #d1e4ef;
  border-radius: 999px;
  background-color: #fff;
  color: #263943;
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.props-search input::placeholder,
.props-code::placeholder,
.props-price::placeholder {
  color: #778892;
  opacity: 1;
}

.props-search__icon {
  left: 18px;
  color: #607783;
}

.props-price {
  padding-inline: 14px;
  font-weight: 500;
}

.props-filters__fields {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  row-gap: 14px;
  column-gap: 10px;
}

.props-page .props-filters__fields .select2-container {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

.props-page .select2-container--default .select2-selection--multiple,
.props-page .select2-container--default.select2-container--focus .select2-selection--multiple,
.props-page .select2-container--default.select2-container--open .select2-selection--multiple {
  box-sizing: border-box;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid #d1e4ef;
  border-radius: 999px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.props-page .select2-container--default .select2-selection--multiple .select2-selection__rendered,
.props-page .select2-container--default .select2-selection--multiple:has(.select2-selection__choice) .select2-selection__rendered {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  white-space: nowrap;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 999px;
  line-height: 1.3;
}

.props-page .select2-selection--multiple .select2-selection__rendered::-webkit-scrollbar {
  display: none;
}

.props-page .select2-container--default .select2-selection--multiple:has(.select2-selection__choice) {
  height: 46px !important;
  min-height: 46px;
  max-height: 46px;
  padding-right: 6px !important;
  padding-left: 6px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

.props-page .select2-container--default .select2-selection--multiple:not(:has(.select2-selection__choice)) .select2-search--inline,
.props-page .select2-container--default .select2-selection--multiple:not(:has(.select2-selection__choice)) .select2-search__field {
  height: 36px !important;
  min-height: 36px;
  line-height: 36px !important;
}

.props-page .select2-container--default .select2-selection--multiple .select2-search__field,
.props-page .select2-container--default .select2-selection--multiple .select2-search__field::placeholder {
  margin: 0;
  color: #536873;
  font: inherit;
  font-size: 14px;
}

.props-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 5px 7px 5px 11px;
  border: 0;
  border-radius: 999px;
  background: #e0f2fb;
  color: #04567d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
}

.props-page .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  display: block;
  order: 1;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.props-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  display: inline-flex;
  order: 2;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  float: none;
  width: 20px;
  height: 20px;
  margin: 0 0 0 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #04567d;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.props-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  background: transparent;
  color: #d33f49;
}

.props-page .select2-dropdown,
.listing-order-dropdown.select2-dropdown {
  overflow: hidden;
  border: 1px solid #c6d4dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(20, 43, 55, 0.22), 0 3px 8px rgba(20, 43, 55, 0.08);
  z-index: 1080;
}

.props-page .select2-results__options,
.listing-order-dropdown .select2-results__options {
  scrollbar-color: #9eafb7 transparent;
  scrollbar-width: thin;
}

.props-page .select2-results__options::-webkit-scrollbar,
.listing-order-dropdown .select2-results__options::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background: transparent;
}

.props-page .select2-results__options::-webkit-scrollbar-track,
.props-page .select2-results__options::-webkit-scrollbar-corner,
.listing-order-dropdown .select2-results__options::-webkit-scrollbar-track,
.listing-order-dropdown .select2-results__options::-webkit-scrollbar-corner {
  background: transparent;
}

.props-page .select2-results__options::-webkit-scrollbar-thumb,
.listing-order-dropdown .select2-results__options::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  background: #9eafb7;
  background-clip: content-box;
}

.props-page .select2-results__options::-webkit-scrollbar-thumb:hover,
.listing-order-dropdown .select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #718a96;
  background-clip: content-box;
}

.props-page .select2-results__options::-webkit-scrollbar-button,
.listing-order-dropdown .select2-results__options::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.props-page .select2-results__options::-webkit-scrollbar-button:single-button:vertical:decrement,
.props-page .select2-results__options::-webkit-scrollbar-button:single-button:vertical:increment,
.props-page .select2-results__options::-webkit-scrollbar-button:vertical:start:decrement,
.props-page .select2-results__options::-webkit-scrollbar-button:vertical:end:increment,
.listing-order-dropdown .select2-results__options::-webkit-scrollbar-button:single-button:vertical:decrement,
.listing-order-dropdown .select2-results__options::-webkit-scrollbar-button:single-button:vertical:increment,
.listing-order-dropdown .select2-results__options::-webkit-scrollbar-button:vertical:start:decrement,
.listing-order-dropdown .select2-results__options::-webkit-scrollbar-button:vertical:end:increment {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.props-page .select2-results__option,
.listing-order-dropdown .select2-results__option {
  position: relative;
  min-height: 38px;
  padding: 10px 34px 10px 12px;
  color: #344953;
  font-size: 13px;
  line-height: 1.35;
  transition: background-color 120ms ease, color 120ms ease;
}

.props-page .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: #e4f3f9;
  color: #175b75;
}

.listing-order-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
  background: #e4f3f9;
  color: #175b75;
}

.props-page .select2-container--default .select2-results__option--selected,
.listing-order-dropdown .select2-results__option--selected {
  background: #eff3f5;
  color: #344953;
  font-weight: 600;
}

.props-page .select2-container--default .select2-results__option--selected::after {
  right: 12px;
  color: #009cde;
}

.listing-order-dropdown .select2-results__option--selected::after {
  right: 12px;
  color: #009cde;
}

.props-search input:focus-visible,
.props-code:focus-visible,
.props-price:focus-visible,
.props-page .select2-container--default.select2-container--focus .select2-selection--multiple,
.props-page .select2-container--default.select2-container--open .select2-selection--multiple {
  border-color: #009cde;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 156, 222, 0.12) !important;
}

.props-toggle {
  height: 46px;
  min-height: 46px;
  border-radius: 12px;
}

/* Pagination: circular numbers with primary color active state and pill buttons */
.props-page .paginador {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 40px 0 24px;
}

.props-page .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.props-page .pagination .page-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.props-page .pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 44px;
  margin: 0;
  background: #ffffff;
  border: 1px solid #d3e3ec;
  color: #062b43;
  font-family: "Quicksand", "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: none;
}

/* Circular page numbers */
.props-page .pagination .page-link--circle {
  width: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 50% !important;
}

/* Hover state for inactive circle and pill links */
.props-page .pagination .page-link--circle:hover,
.props-page .pagination .page-link--circle:focus-visible,
.props-page .pagination .page-link--pill:hover,
.props-page .pagination .page-link--pill:focus-visible {
  background: #f0f7fb;
  border-color: var(--color-primary, #009cde);
  color: var(--color-primary, #009cde);
}

/* Active page: circular, solid primary color with white text */
.props-page .pagination .page-item.active .page-link,
.props-page .pagination .page-link.active {
  background: var(--color-primary, #009cde) !important;
  border-color: var(--color-primary, #009cde) !important;
  color: #ffffff !important;
  cursor: default;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 156, 222, 0.28);
}

/* Pill buttons for Siguiente / Anterior */
.props-page .pagination .page-link--pill {
  width: auto;
  min-width: unset;
  padding: 0 24px;
  border-radius: 9999px !important;
  white-space: nowrap;
  gap: 8px;
}

.props-page .pagination .page-arrow {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.props-page .pagination .page-link--next:hover .page-arrow {
  transform: translateX(3px);
}

.props-page .pagination .page-link--prev:hover .page-arrow {
  transform: translateX(-3px);
}

/* Ellipsis */
.props-page .pagination .page-link--ellipsis {
  width: 36px;
  min-width: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: default;
  pointer-events: none;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .props-page .paginador {
    padding: 28px 0 16px;
  }

  .props-page .pagination {
    gap: 8px;
  }

  .props-page .pagination .page-link {
    height: 40px;
    font-size: 14px;
  }

  .props-page .pagination .page-link--circle {
    width: 40px;
    min-width: 40px;
  }

  .props-page .pagination .page-link--pill {
    padding: 0 18px;
  }
}

@media (min-width: 1280px) {
  .props-page .props-filters__fields {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (min-width: 992px) and (max-width: 1279.98px) {
  .props-page .props-filters__fields {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .props-page .props-filters__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Keep Select2 filter controls neutral unless the pointer is over them. */
.props-page .select2-container--default.select2-container--focus .select2-selection--multiple,
.props-page .select2-container--default.select2-container--open .select2-selection--multiple {
  border-color: #d1e4ef !important;
  box-shadow: none !important;
}

.props-page .select2-container--default.select2-container--focus .select2-selection--multiple:hover,
.props-page .select2-container--default.select2-container--open .select2-selection--multiple:hover {
  border-color: #009cde !important;
  box-shadow: 0 0 0 3px rgba(0, 156, 222, 0.12) !important;
}

.props-page .select2-results__option--highlighted.select2-results__option--selectable:not(:hover):not(.select2-results__option--selected),
.listing-order-dropdown .select2-results__option--highlighted.select2-results__option--selectable:not(:hover):not(.select2-results__option--selected) {
  background: #fff !important;
  color: #344953 !important;
}

