/* CEMI Core v1.2.111 — Datos inferiores: legibilidad real + layout escritorio 3 zonas
   Objetivo: evitar texto vertical/roto, ordenar checks y valores numéricos, y separar contacto fijo. */

/* Base: el bloque unificado deja de comportarse como mosaico angosto. */
.single-cemi_property .cemi-card-property-summary,
.cemi-single-property .cemi-card-property-summary,
.cemi-card-property-summary{
  overflow:hidden!important;
}

.single-cemi_property .cemi-property-summary-grid,
.cemi-single-property .cemi-property-summary-grid,
.cemi-property-summary-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}

.single-cemi_property .cemi-property-summary-item,
.cemi-single-property .cemi-property-summary-item,
.cemi-property-summary-item{
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  padding:13px 15px!important;
  border-radius:16px!important;
  display:grid!important;
  align-items:center!important;
  column-gap:12px!important;
  overflow:hidden!important;
}

/* Filas con valor: etiqueta a la izquierda, dato grande a la derecha. */
.single-cemi_property .cemi-property-summary-item.is-pair,
.cemi-single-property .cemi-property-summary-item.is-pair,
.cemi-property-summary-item.is-pair{
  grid-template-columns:minmax(0,1fr) auto!important;
  justify-content:stretch!important;
}

.single-cemi_property .cemi-property-summary-item.is-pair > span:not(.cemi-summary-mark),
.cemi-single-property .cemi-property-summary-item.is-pair > span:not(.cemi-summary-mark),
.cemi-property-summary-item.is-pair > span:not(.cemi-summary-mark){
  max-width:none!important;
  min-width:0!important;
  color:rgba(255,255,255,.72)!important;
  font-size:clamp(13px,1vw,15px)!important;
  line-height:1.12!important;
  letter-spacing:-.01em!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-transform:uppercase!important;
}

.single-cemi_property .cemi-property-summary-item.is-pair strong,
.cemi-single-property .cemi-property-summary-item.is-pair strong,
.cemi-property-summary-item.is-pair strong{
  min-width:34px!important;
  color:#fff!important;
  font-size:clamp(24px,1.55vw,31px)!important;
  line-height:1!important;
  text-align:right!important;
  white-space:nowrap!important;
}

/* Filas afirmativas: palomita rosa transparente + texto grande en una sola lectura. */
.single-cemi_property .cemi-property-summary-item.is-yes,
.single-cemi_property .cemi-property-summary-item.is-text,
.cemi-single-property .cemi-property-summary-item.is-yes,
.cemi-single-property .cemi-property-summary-item.is-text,
.cemi-property-summary-item.is-yes,
.cemi-property-summary-item.is-text{
  grid-template-columns:32px minmax(0,1fr)!important;
  justify-content:stretch!important;
}

.single-cemi_property .cemi-summary-mark,
.cemi-single-property .cemi-summary-mark,
.cemi-summary-mark{
  grid-column:1!important;
  color:#D7266B!important;
  font-size:30px!important;
  font-weight:950!important;
  line-height:1!important;
  text-align:center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-shadow:0 0 12px rgba(215,38,107,.36)!important;
}

.single-cemi_property .cemi-property-summary-item.is-yes strong,
.single-cemi_property .cemi-property-summary-item.is-text strong,
.cemi-single-property .cemi-property-summary-item.is-yes strong,
.cemi-single-property .cemi-property-summary-item.is-text strong,
.cemi-property-summary-item.is-yes strong,
.cemi-property-summary-item.is-text strong{
  grid-column:2!important;
  max-width:100%!important;
  color:#fff!important;
  font-size:clamp(20px,1.25vw,25px)!important;
  line-height:1.1!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  text-align:left!important;
}

/* Escritorio amplio: 3 zonas reales: galería / datos / contacto fijo. */
@media (min-width:1280px){
  .single-cemi_property .cemi-property-wrap,
  .cemi-single-property .cemi-property-wrap,
  .cemi-property-wrap{
    max-width:1540px!important;
    grid-template-columns:minmax(560px,1fr) minmax(360px,430px) minmax(285px,340px)!important;
    gap:24px!important;
    align-items:start!important;
  }

  .single-cemi_property .cemi-prop-left,
  .cemi-single-property .cemi-prop-left,
  .cemi-prop-left{
    grid-column:1!important;
    grid-row:1 / span 20!important;
  }

  .single-cemi_property .cemi-prop-right,
  .single-cemi_property .cemi-sticky-panel,
  .cemi-single-property .cemi-prop-right,
  .cemi-single-property .cemi-sticky-panel,
  .cemi-prop-right,
  .cemi-sticky-panel{
    display:contents!important;
  }

  /* El título lateral duplica el hero; en esta etapa se oculta para ganar aire. */
  .single-cemi_property .cemi-card-title,
  .cemi-single-property .cemi-card-title,
  .cemi-card-title{
    display:none!important;
  }

  .single-cemi_property .cemi-card-property-summary,
  .cemi-single-property .cemi-card-property-summary,
  .cemi-card-property-summary{
    grid-column:2!important;
    grid-row:1!important;
    position:sticky!important;
    top:18px!important;
    align-self:start!important;
    max-height:calc(100vh - 36px)!important;
    overflow:auto!important;
    padding:26px 24px!important;
    scrollbar-width:thin!important;
  }

  .single-cemi_property .cemi-card-contact,
  .cemi-single-property .cemi-card-contact,
  .cemi-card-contact{
    grid-column:3!important;
    grid-row:1!important;
    position:sticky!important;
    top:18px!important;
    align-self:start!important;
  }

  .single-cemi_property .cemi-card-credit-commercial,
  .single-cemi_property .cemi-card-rent-requirements,
  .single-cemi_property .cemi-card-units,
  .cemi-single-property .cemi-card-credit-commercial,
  .cemi-single-property .cemi-card-rent-requirements,
  .cemi-single-property .cemi-card-units{
    grid-column:2 / span 2!important;
    position:relative!important;
  }

  .single-cemi_property .cemi-property-summary-head h3,
  .cemi-single-property .cemi-property-summary-head h3,
  .cemi-property-summary-head h3{
    font-size:24px!important;
    margin-bottom:16px!important;
  }
}

/* Desktop/tablet sin 3 columnas: mantener legibilidad y evitar mosaico roto. */
@media (min-width:681px) and (max-width:1279px){
  .single-cemi_property .cemi-property-summary-grid,
  .cemi-single-property .cemi-property-summary-grid,
  .cemi-property-summary-grid{
    grid-template-columns:1fr!important;
  }

  .single-cemi_property .cemi-card-property-summary,
  .cemi-single-property .cemi-card-property-summary,
  .cemi-card-property-summary{
    padding:26px 24px!important;
  }
}

/* Móvil: menos altura, mismo tamaño legible. */
@media (max-width:680px){
  .single-cemi_property .cemi-card-property-summary,
  .cemi-single-property .cemi-card-property-summary,
  .cemi-card-property-summary{
    padding:22px 16px!important;
  }

  .single-cemi_property .cemi-property-summary-item,
  .cemi-single-property .cemi-property-summary-item,
  .cemi-property-summary-item{
    min-height:56px!important;
    padding:12px 14px!important;
  }

  .single-cemi_property .cemi-property-summary-item.is-pair strong,
  .cemi-single-property .cemi-property-summary-item.is-pair strong,
  .cemi-property-summary-item.is-pair strong{
    font-size:26px!important;
  }

  .single-cemi_property .cemi-property-summary-item.is-yes strong,
  .single-cemi_property .cemi-property-summary-item.is-text strong,
  .cemi-single-property .cemi-property-summary-item.is-yes strong,
  .cemi-single-property .cemi-property-summary-item.is-text strong,
  .cemi-property-summary-item.is-yes strong,
  .cemi-property-summary-item.is-text strong{
    font-size:21px!important;
  }
}
