/* Vercetti Propiedades — tarjetas y operaciones cerradas v1.6.7 */
.vc-card-display-title{
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
}
.vc-card-display-location{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Catálogo y propiedades similares */
.vc-property-card .vc-card-heading{
  min-height:76px;
  margin:18px 20px 0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.vc-property-card .vc-card-heading .product-classic-title{
  margin:0;
  min-height:46px;
  line-height:1.35;
}
.vc-property-card .vc-card-heading .vc-property-location{
  margin:5px 0 0;
  color:#747b88;
}
.vc-property-card .vc-card-heading + .product-classic-divider{
  margin-top:13px;
}

/* Home — Últimas propiedades */
#propiedades-destacadas .vc-home-property-card{
  height:100%;
}
#propiedades-destacadas .vc-home-property-heading{
  min-height:43px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  text-align:left;
}
#propiedades-destacadas .vc-home-property-heading .product-classic-title{
  margin:0;
  min-height:21px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  display:block;
}
#propiedades-destacadas .vc-home-property-location{
  display:flex;
  align-items:center;
  gap:5px;
  margin:5px 0 0;
  color:#858c96;
  font-size:12px;
  line-height:1.35;
  letter-spacing:.01em;
}
#propiedades-destacadas .vc-home-location-icon{
  display:inline-flex;
  flex:0 0 auto;
  color:#703a91;
}
#propiedades-destacadas .vc-home-location-icon .vc-inline-icon{
  width:13px;
  height:13px;
}
#propiedades-destacadas .vc-home-property-location > span:last-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#propiedades-destacadas .vc-home-property-heading + .product-classic-media{
  margin-top:9px;
}
#propiedades-destacadas .vc-home-property-media{
  position:relative;
}

/* Guardar propiedad desde el Home */
#propiedades-destacadas .vc-home-favorite-btn{
  position:absolute;
  top:12px;
  right:12px;
  z-index:105;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  color:#444c57;
  box-shadow:0 5px 16px rgba(23,28,38,.17);
  cursor:pointer;
  transition:transform .18s ease,color .18s ease,background .18s ease;
}
#propiedades-destacadas .vc-home-favorite-btn:hover{
  transform:translateY(-1px);
  color:#652885;
}
#propiedades-destacadas .vc-home-favorite-btn.is-active{
  background:#652885;
  color:#fff;
}
#propiedades-destacadas .vc-home-favorite-btn .vc-inline-icon{
  width:18px;
  height:18px;
}

/* Una sola etiqueta contextual por propiedad */
#propiedades-destacadas .vc-home-context-badge{
  position:absolute;
  top:13px;
  left:13px;
  z-index:104;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.95);
  color:#5c267c;
  box-shadow:0 4px 14px rgba(23,28,38,.13);
  font-size:11px;
  line-height:1;
  font-weight:700;
  letter-spacing:.025em;
  white-space:nowrap;
}
#propiedades-destacadas .vc-home-context-badge.reserved{
  background:#652885;
  color:#fff;
}

@media (max-width:575.98px){
  #propiedades-destacadas .vc-home-property-heading{min-height:42px}
  #propiedades-destacadas .vc-home-property-heading + .product-classic-media{margin-top:8px}
  #propiedades-destacadas .vc-home-favorite-btn{width:36px;height:36px;top:10px;right:10px}
  #propiedades-destacadas .vc-home-context-badge{top:11px;left:11px}
  .vc-property-card .vc-card-heading{min-height:72px}
}

/* =========================================================
   Vercetti Propiedades · cierre de operaciones v1.6.7
   ========================================================= */

/* Badges de operaciones cerradas en Home */
#propiedades-destacadas .vc-home-context-badge.sold,
#propiedades-gestionadas .vc-home-context-badge.sold{
  background:#5d257d;
  color:#fff;
}
#propiedades-destacadas .vc-home-context-badge.rented,
#propiedades-gestionadas .vc-home-context-badge.rented{
  background:#273149;
  color:#fff;
}

/* La sección de operaciones cerradas usa las mismas tarjetas del Home */
#propiedades-gestionadas .vc-home-property-heading{
  min-height:58px;
  padding:20px 23px 10px;
  text-align:left;
}
#propiedades-gestionadas .vc-home-property-heading .product-classic-title{
  margin:0;
  font-size:17px;
  line-height:1.35;
}
#propiedades-gestionadas .vc-home-property-location{
  display:flex;
  align-items:center;
  gap:6px;
  margin:7px 0 0;
  color:#828a96;
  font-size:12px;
  line-height:1.25;
}
#propiedades-gestionadas .vc-home-property-location .vc-inline-icon{
  flex:0 0 auto;
  width:13px;
  height:13px;
}
#propiedades-gestionadas .vc-home-property-heading + .product-classic-media{
  margin-top:9px;
}
#propiedades-gestionadas .vc-home-property-media{
  position:relative;
}
#propiedades-gestionadas .vc-home-context-badge{
  position:absolute;
  top:13px;
  left:13px;
  z-index:104;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:999px;
  box-shadow:0 4px 14px rgba(23,28,38,.13);
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.025em;
  white-space:nowrap;
}
.vc-home-managed-section{
  border-top:1px solid rgba(38,45,57,.07);
}
.vc-home-managed-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}
.vc-home-property-closed .product-classic-media:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(20,24,31,.02),rgba(20,24,31,.08));
}
.vc-home-property-closed .product-classic-price{
  z-index:106;
}

/* Estado de las tarjetas del catálogo */
.vc-property-badge{
  position:absolute;
  top:13px;
  left:13px;
  z-index:9;
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:6px 11px;
  border-radius:999px;
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.02em;
  box-shadow:0 5px 16px rgba(24,29,39,.18);
}
.vc-property-badge.reserved{background:#652885}
.vc-property-badge.sold{background:#5d257d}
.vc-property-badge.rented{background:#273149}
.vc-property-col-closed .vc-property-card{
  border-color:#ddd6e2;
}
.vc-property-col-closed .vc-property-media:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(17,21,29,.01),rgba(17,21,29,.08));
}
.vc-property-col-closed .product-classic-price,
.vc-property-col-closed .vc-property-badge{
  z-index:10;
}
.vc-card-closed-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:8px 20px 0;
  padding:9px 11px;
  border:1px solid #e3d8e8;
  border-radius:10px;
  background:#f8f3fa;
}
.vc-card-closed-note strong{
  color:#642983;
  font-size:12px;
  line-height:1.3;
}
.vc-card-closed-note span{
  color:#7e7584;
  font-size:11px;
  white-space:nowrap;
}

/* Banner y CTA de una ficha ya cerrada */
.vc-property-op-closed{
  background:#652885!important;
  color:#fff!important;
  border-color:#652885!important;
}
.vc-property-closed-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:0 0 24px;
  padding:19px 21px;
  border:1px solid #ddcbe5;
  border-radius:16px;
  background:linear-gradient(135deg,#fbf8fc 0%,#f2e9f6 100%);
}
.vc-property-closed-banner > div{
  min-width:0;
}
.vc-property-closed-banner strong{
  display:block;
  margin-top:3px;
  color:#4e1d69;
  font-size:22px;
  line-height:1.2;
}
.vc-property-closed-banner p{
  margin:6px 0 0;
  color:#6f6675;
  font-size:13px;
}
.vc-side-cta-closed{
  border-color:#ddcbe5!important;
  background:linear-gradient(145deg,#fff 0%,#f8f2fa 100%)!important;
}
.vc-side-cta-closed h3{
  color:#4f1f69;
}

/* Requisitos de arriendo estructurados */
.vc-rent-requirement-list{
  display:grid;
  gap:7px;
  margin:9px 0 0;
  padding:0;
  list-style:none;
}
.vc-rent-requirement-list li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:#59616c;
  font-size:12px;
  line-height:1.45;
}
.vc-rent-requirement-list .vc-inline-icon{
  flex:0 0 auto;
  width:15px;
  height:15px;
  margin-top:1px;
  color:#652885;
}
.vc-rent-extra{
  margin-top:8px!important;
}

html[data-vc-theme="dark"] .vc-card-closed-note,
html[data-vc-theme="dark"] .vc-property-closed-banner,
html[data-vc-theme="dark"] .vc-side-cta-closed{
  background:#2a2430!important;
  border-color:#5a4264!important;
}
html[data-vc-theme="dark"] .vc-card-closed-note strong,
html[data-vc-theme="dark"] .vc-property-closed-banner strong,
html[data-vc-theme="dark"] .vc-side-cta-closed h3{
  color:#f3e9f7;
}
html[data-vc-theme="dark"] .vc-property-closed-banner p,
html[data-vc-theme="dark"] .vc-card-closed-note span,
html[data-vc-theme="dark"] .vc-rent-requirement-list li{
  color:#c9cbd2;
}

@media (max-width:767.98px){
  .vc-property-closed-banner{
    align-items:flex-start;
    flex-direction:column;
  }
  .vc-property-closed-banner .button{
    width:100%;
  }
  .vc-home-managed-actions{
    align-items:stretch;
    flex-direction:column;
  }
  .vc-home-managed-actions .button{
    width:100%;
  }
}

.vc-rent-multiplier-only{font-size:13px;font-weight:700;color:inherit}

/* =========================================================
   Vercetti Propiedades · tarjetas unificadas v1.6.12
   ========================================================= */
/* Catálogo / similares: dirección y ubicación con la misma jerarquía compacta del Home. */
.vc-property-card .vc-card-heading{
  min-height:58px;
  margin:14px 20px 0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:5px;
}
.vc-property-card .vc-card-heading .product-classic-title{
  margin:0;
  min-height:0;
  line-height:1.3;
  font-size:17px;
}
.vc-property-card .vc-card-heading .vc-property-location{
  display:flex;
  align-items:center;
  gap:5px;
  margin:0;
  min-height:18px;
  color:#858c96;
  font-size:12px;
  line-height:1.35;
}
.vc-property-card .vc-card-heading .vc-property-location .mdi{
  flex:0 0 auto;
  color:#703a91;
}
.vc-property-card .vc-card-heading + .product-classic-divider{
  margin-top:10px;
}
@media (max-width:575.98px){
  .vc-property-card .vc-card-heading{min-height:56px;margin-top:13px}
}
