.property-card {
  display: flex;
  flex-direction: column;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.property-card .img-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-card .property-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

/* ===============================
          FILTER CARD
        ================================ */
.property-filter-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

/* ===============================
          GRID
        ================================ */
.filter-grid {
  display: grid;
  gap: 15px;
}

/* ===============================
          INPUT WRAPPER
        ================================ */
.filter-item {
  position: relative;
}

.filter-item i {
  position: absolute;
  left: 14px;
  top: 70%;
  transform: translateY(-50%);
  color: #7a7a7a;
  font-size: 15px;
  pointer-events: none;
}

/* ===============================
          INPUTS
        ================================ */
.filter-item input,
.filter-item select {
  width: 100%;
  height: 50px;
  padding: 0 15px 0 42px;
  border-radius: 12px;
  border: 1px solid #e3e3e3;
  font-size: 15px;
  transition: all 0.25s ease;
  background: #fff;
}

.filter-item input:focus,
.filter-item select:focus {
  border-color: #1ca774;
  box-shadow: 0 0 0 3px rgba(28, 167, 116, 0.15);
  outline: none;
}

/* ===============================
          BUTTON
        ================================ */
.filter-btn {
  background: linear-gradient(135deg, #1ca774, #159c6d);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: linear-gradient(135deg, #159c6d, #11885e);
  transform: translateY(-1px);
}

/* ===============================
          FILTER BLOCKS
        ================================ */
.filter-block {
  background: #f9fafb;
  border-radius: 14px;
  padding: 15px;
}

.filter-label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

/* ===============================
          CHECKBOXES
        ================================ */
.filter-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.filter-checks label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}

.filter-checks input {
  accent-color: #1ca774;
}

/* ===============================
          AMENITIES INPUT
        ================================ */
.amenity-input {
  position: relative;
  margin-bottom: 10px;
}

.amenity-input i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
}

.amenity-input input {
  width: 100%;
  height: 44px;
  padding-left: 38px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* ===============================
          PRICE RANGE
        ================================ */
.price-range input[type="range"] {
  width: 100%;
}

.price-value {
  margin-top: 6px;
  font-weight: 600;
  color: #1ca774;
}

.property-filter-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.filter-grid {
  display: grid;
  gap: 20px;
}

.filter-label {
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-size: 14px;
  appearance: none;
}

.filter-checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.filter-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.filter-checks label:hover {
  background: #eaf6ef;
}

.filter-checks input {
  accent-color: #2fa36b;
}

.amenity-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.amenity-input input {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.price-range input[type="range"] {
  width: 100%;
}

.filter-btn {
  background: #2fa36b;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.filter-btn:hover {
  background: #268a5b;
}

.amenities-input {
  padding-left: 40px !important;
}

/* ===============================
          ACCORDION
        =============================== */
.accordion {
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #333;
}

.accordion-header span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.accordion-icon {
  transition: transform 0.3s ease;
  font-size: 14px;
}

.accordion.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

/* spacing inside accordion */
.accordion-content > * {
  margin-top: 10px;
}

.footer-four {
  background-image: url("../images/assets/ils_14.svg");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover; /* or contain */
}

.row-footer {
  display: flex;
  justify-content: center;
}

/* Estilos personalizados para el desplegable de comodidades */


.amenities-dropdown.nice-select .list .option input[type="checkbox"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  margin-right: 5px;
  cursor: pointer;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #438b7c;
}

.amenities-dropdown.nice-select .list .option label {
  visibility: visible !important;
  opacity: 1 !important;
  cursor: pointer;
  margin: 0;
  flex: 1;
  user-select: none;
  font-size: 15px;
  color: inherit;
  transition: color 0.3s ease;
}

.amenities-dropdown.nice-select
  .list
  .option
  input[type="checkbox"]:checked
  + label {
  color: #438b7c !important;
}

/* Evitar que el menú desplegable se cierre al hacer clic en los checkboxes */
.amenities-dropdown.nice-select .list .option input,
.amenities-dropdown.nice-select .list .option label {
  pointer-events: auto;
}

/* Instalaciones: sin línea */
.advance-search-panel .main-bg .input-box-one.input-title {
  border-bottom: none !important;
}

.advance-search-panel .main-bg .input-box-one.input-title::before,
.advance-search-panel .main-bg .input-box-one.input-title::after {
  display: none !important;
  content: none !important;
}

/* Instalaciones: mismo look que Comodidades */
.advance-search-panel .main-bg #instalaciones-label {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: rgba(0, 0, 0, 0.45) !important;
  line-height: 0.12 !important;
}

/* Botón de búsqueda personalizado */
.apply-search {
  background-color: #438b7c !important;
  color: #fff !important;
  border: none !important;
}

.apply-search:hover {
  background-color: #356e62 !important;
}

/* Estilos para el botón Contactanos */
#btnContactanos {
  background-color: #438b7c !important;
  color: #fff !important;
  border: none !important;
  transition: all 0.3s ease;
}

#btnContactanos:hover {
  background-color: #356e62 !important;
}

/* Asegurar que todos los labels tengan la misma altura para alinear las líneas inferiores */
.advance-search-panel .label {
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
}

/* Estilos para el slider personalizado (para evitar conflictos con theme.js) */
.price-ranger-custom {
  position: relative;
}

.price-ranger-custom .price-input {
  width: 100%;
  margin: 0 0 20px;
}

.price-ranger-custom .price-input .currency {
  font-size: 12px;
  color: #000;
}

.price-ranger-custom .price-input input {
  width: 100%;
  max-width: 125px;
  height: 35px;
  outline: none;
  font-size: 15px;
  text-align: center;
  color: #000;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.price-ranger-custom .price-input .divider-line {
  width: 26px;
  height: 1px;
  background: #000;
  margin: 0 10px;
}

.price-ranger-custom .slider {
  height: 3px;
  position: relative;
  background: #efefef;
  border-radius: 9px;
}

.price-ranger-custom .slider .progress {
  height: 100%;
  position: absolute;
  border-radius: 7px;
  background: #000;
}

.price-ranger-custom .range-input {
  position: relative;
}

.price-ranger-custom .range-input input {
  position: absolute;
  width: 100%;
  height: 4px;
  top: -4px;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.price-ranger-custom input[type="range"]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}

.price-ranger-custom input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -moz-appearance: none;
}

/* ===============================
          RESPONSIVE
        ================================ */
@media (max-width: 1200px) {
  .filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }
}



/* Base */
.price-ranger-custom {
  position: relative;
  z-index: 1;
}

/* NiceSelect base */
.nice-select {
  position: relative;
  z-index: 2;
}

/* SOLO cuando está abierto, el dropdown va arriba */
.nice-select.open {
  z-index: 1000;
}

.nice-select.open .list {
  z-index: 1001;
}

.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.page-loader img {
  width: 200px;
}

.page-loader.hidden {
  display: none;
}

