/* ====== DESTACADA SOBRE LA IMAGEN ====== */
.prop-entrada .img-block,
.card .img-block {
  position: relative;
  isolation: isolate; /* aísla la pila de capas */
}

/* el carrusel debajo del badge */
.prop-entrada .img-block .swiper-container,
.card .img-block .swiper-container,
.prop-entrada .img-block .swiper-wrapper,
.prop-entrada .img-block .swiper-slide {
  position: relative;
  z-index: 1 !important;
}

.prop-entrada .img-block .swiper-button-next,
.prop-entrada .img-block .swiper-button-prev {
  z-index: 2 !important;
}

/* corrige regla global que ocultaba spans dentro de .img-block */
.card .img-block span.destacada-badge {
  display: inline-flex !important;
  float: none !important;
  text-transform: none !important;
}

/* estilo del badge */
.destacada-badge {
  position: absolute !important;
  top: 10px;
  right: 10px;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 5px !important;
  background: #e7f3ff !important;
  color: #1e88e5 !important;
  font-size: .9em;
  font-weight: 600;
  z-index: 999999 !important; /* sobre todo */
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.destacada-badge .la { margin: 0; }

/* ====== ESTILOS EXISTENTES ====== */
.prop-tipo {
  background: #d8a07b5c !important;
  padding: 3px 12px !important;
  color: #3b3b3b !important;
  margin-bottom: 0 !important;
  width: auto !important;
  align-self: start;
  margin-top: 10px;
}

.titulo-propiedades {
  font-size: 1.35rem;
  font-weight: bold;
  color: #373b3d;
  display: flex;
  margin: 15px 0;
  line-height: 1.4;
}

.minContainer{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* span { font-size: 13px !important; } */

.card-body { width: 100%; text-align: start; }
.card-link:hover { color: #f29100; }

.img-block { width: 100%; height: 200px; }

.dropdown-item.selected.active * { color: #361c10; }
a span.text { color: #361c10; }

@media only screen and (max-width: 768px) {
  .card .img-block { width: 100%; }
}

@media only screen and (max-width: 520px) {
  .buscador-form { padding-top: 1rem !important; }
  .widget-property-search { margin-top: 1rem !important; min-width: 23%; }
  .card .img-block { width: 100%; height: 300px; }
}

.swiper-container.swiper-container-propiedades { width: 100%; height: 100%; }

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-slide img {
  background-size: cover;
  max-width: 100%;
  height: 100%;
  user-select: none;
}

.buscador-form {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  background-color: #dcab7ccc;
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 35%);
  padding-top: 120px;
  padding-bottom: 50px;
  overflow-x: visible;
  overflow-y: auto;
  padding-right: 2%;
  padding-left: 2%;
}

.titulo-prop {
  text-align: left;
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  font-size: 16px;
  margin-bottom: 10px;
  height: 40px;
  color: #364144;
  font-weight: 500;
}

.modal-unificada { min-width: 75%; }
.img-inmo { width: 200px; }

.card-container .prop-entrada { margin-bottom: 0px; }
.desde_alquiler_temp { color: #f29100; }

.unificadasModalHeader {
  display: flex;
  border-bottom: 1px solid #dee2e6;
  padding: 0.8rem;
  justify-content: space-between;
  flex-direction: column;
}

#unificadasModalTitle {
  width: 100%;
  text-align: start;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-content: center;
  font-size: large;
  margin-left: 2%;
}

.copyLink { margin-left: 2%; font-size: 14px; }
.closeButton { line-height: unset; display: flex; margin-right: 2%; font-size: 15px !important; }

#searchButton {
  padding: 0.8rem;
  line-height: 20px;
  text-align: center;
  color: white;
  padding: 5px;
}

.modal-title { color: #364144; font-weight: 500; }

.buttonContainer {
  width: 100%;
  background-color: #d8a07b;
  border-radius: 0.2rem;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .copyLink {
    align-content: center;
    padding: 0.3rem;
    height: 26px;
    font-size: 12px;
    margin-right: 6px !important;
    padding-top: 0rem !important;
    line-height: 12px;
    padding-bottom: 0rem !important;
  }
  .closeButton { font-size: 22px !important; }
  #unificadasModalTitle {
    font-size: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 6px;
  }
  .unifcadasFotos { width: auto !important; height: 100% !important; }
}

#garage:hover { background-color: #dcab7c !important; color: white !important; }
#garage { cursor: pointer; transition: background-color 0.3s ease; color: #545A61; }

#advanceFilterContainer { padding: 0 9px; }

#filtersCard{ padding: 0; background: transparent }
.formFieldAdvancedFilters{ padding: 0 !important; }

.la-arrow-down{ transition: transform 0.3s ease; }
.rotate{ transform: rotate(180deg); }

@media (max-width: 991px) {
  #zona_title { display: none !important; }
}

.emptySearchTitle{
  font-size: 25px;
  color: #495057;
  text-align: center;
}

/* PROPIEDAD_ENTRADA CSS */
.property-actions {
  display: flex;
  align-items: center;
  gap: 1px;
  padding-top: 10px;
  justify-content: space-around;
}
.consult-button{ margin-right: 3px; }

.action-button,
.action-link {
  display: flex;
  align-items: center;
  border: none;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  background: none;
  justify-content: center;
}

.action-link.phone {
  background-color: transparent;
  border: 1.5px solid #3A6D8C;
  color: #3A6D8C;
  border-radius: 55px;
  padding: 7px 4px;
  font-weight: 500;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.action-link.phone:hover { background-color: #3A6D8C; color: white; }

.action-link.whatsapp {
  background-color: transparent;
  border: 1.5px solid #25D366;
  color: #25D366;
  border-radius: 36px;
  padding: 7px 4px;
  font-weight: 500;
  font-size: 12px;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.action-link.whatsapp:hover {
  background-color: #25D366;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.action-button {
  background-color: #3A6D8C;
  color: white;
  border-radius: 999px;
  padding: 9px 10px;
  transition: background-color 0.2s ease;
}
.action-button i { margin-right: 8px; }
.action-button:hover { background-color: #4C85A6; }

.action-link {
  color: #333;
  transition: color 0.2s ease;
  padding: 4px;
}
.action-link i { margin-right: 3px; font-size: 18px; }
.action-link:hover { color: #000; }

.whatsapp { color: #25D366; }
.whatsapp:hover { color: #1ebe54; }

.paramsContainer { gap: 5px; }
.form-field input{ border-radius: 12px; }

.modal-title{ font-size: 20px; }

.btn-consultar{
  border-radius: 37px;
  top: 9px;
  transition: none;
  float: right;
  font-size: 14px;
  height: 47px;
  background-color: #3A6D8C !important;
  line-height: 47px;
  border: 1px solid;
  padding: 0 27px;
  text-transform: capitalize;
  position: relative;
  transition: transform 0.2s ease-in-out;
}
.btn-consultar:hover { transform: scale(1.05); }



/* Tablet: Consultar arriba (full), WhatsApp y Llamar abajo en dos columnas */
@media (min-width:600px) and (max-width:991px){
  .property-actions{ flex-wrap:wrap; }
  .property-actions .consult-button{ flex:1 0 100%; order:1; }
  .property-actions .whatsapp{       flex:1 0 50%;  order:2; }
  .property-actions .phone{          flex:1 0 50%;  order:3; }
}



/* Mobile: uno debajo del otro */
@media (max-width:599px){
  .property-actions{ flex-wrap:wrap; }
  .property-actions > *{ flex:1 0 100%; }
  .property-actions .consult-button{ order:1; }
  .property-actions .whatsapp{       order:2; }
  .property-actions .phone{          order:3; }
}


.precios {
    display: flex;
    align-items: center;
    gap: 8px; /* separación entre precio y operación */
}

.precios span.precio {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.precios span.operacion {
    background-color: #e7f3ff; /* azul suave */
    color: #8B1E3F;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
}



@media screen and (max-width: 768px) {
  .property-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-top: 10px;
    justify-content: space-around;
  }
  .action-button, .action-link { font-size: 13px; }
  .action-link{ font-size: 13px; }
  .minContainer{ margin-bottom: 2px; }
  .titulo-prop{ font-size: 18px; }
  .destacada-badge{ font-size: 0.9rem !important; }
}

@media screen and (max-width: 420px) {
  .action-link { font-size: 12px !important;  }
  .action-button, .action-link { font-size: 12px; }
}

@media screen and (max-width: 399px) {
  .action-link { font-size: 10px !important; }
  .action-button, .action-link { font-size: 10px; }
}
