
.imp-property-detail{--green:#80c342;--dark:#0f172a;--teal:#005c67;--soft:#f4f8f8;--border:#dbe5e7;width:100%;max-width:none;margin:0;color:var(--dark);background:#f7faf9;font-family:inherit}.imp-property-detail *{box-sizing:border-box}.imp-pd-shell{width:min(1540px,100%);margin:auto;padding:24px clamp(16px,3vw,46px) 72px}.imp-pd-breadcrumbs{display:flex;gap:10px;flex-wrap:wrap;font-size:14px;margin-bottom:20px;color:#64748b}.imp-pd-breadcrumbs a{color:var(--teal);text-decoration:none}.imp-pd-hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,.7fr);gap:24px}.imp-pd-gallery{display:grid;grid-template-rows:minmax(450px,68vh) 112px;gap:12px;min-width:0}.imp-pd-main-photo,.imp-pd-thumbs button{border:0;padding:0;overflow:hidden;background:#e8efef;cursor:pointer}.imp-pd-main-photo{position:relative;border-radius:28px;width:100%;height:100%}.imp-pd-main-photo img,.imp-pd-thumbs img{width:100%;height:100%;object-fit:cover;display:block}.imp-pd-no-photo{display:grid;place-items:center;height:100%;font-weight:800;color:#64748b}.imp-pd-photo-count{position:absolute;right:18px;bottom:18px;background:rgba(15,23,42,.82);color:#fff;padding:8px 12px;border-radius:999px;font-weight:800}.imp-pd-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.imp-pd-thumbs button{position:relative;border-radius:18px}.imp-pd-thumbs button span{position:absolute;inset:0;display:grid;place-items:center;background:rgba(15,23,42,.55);color:#fff;font-size:28px;font-weight:900}.imp-pd-summary-card,.imp-pd-section,.imp-pd-contact-card,.imp-pd-related{background:#fff;border:1px solid var(--border);border-radius:28px;box-shadow:0 18px 50px rgba(15,23,42,.07)}.imp-pd-summary-card{padding:clamp(24px,3vw,42px);display:flex;flex-direction:column;align-items:flex-start}.imp-pd-operation,.imp-pd-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900;color:var(--teal)}.imp-pd-summary-card h1{font-size:clamp(38px,4.5vw,70px);line-height:.98;margin:16px 0 12px;letter-spacing:-.045em}.imp-pd-location{color:#64748b;font-size:16px;margin:0 0 14px}.imp-pd-price{font-size:clamp(32px,3.5vw,54px);line-height:1;font-weight:900;color:#349526;margin:12px 0 24px}.imp-pd-quick-grid{width:100%;display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:24px}.imp-pd-quick-grid div{padding:14px;border-radius:16px;background:var(--soft);border:1px solid var(--border)}.imp-pd-quick-grid strong,.imp-pd-quick-grid span{display:block}.imp-pd-quick-grid span{font-size:12px;color:#64748b;margin-top:4px}.imp-pd-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.imp-pd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border-radius:14px;text-decoration:none;font-weight:900;border:0;cursor:pointer}.imp-pd-btn--primary{background:var(--green);color:#fff}.imp-pd-btn--dark{background:var(--dark);color:#fff}.imp-pd-btn--light{background:#eef5f5;color:var(--dark)}.imp-pd-code{margin-top:18px;display:flex;gap:12px;align-items:center;padding:12px 16px;border:1px solid var(--border);border-radius:14px}.imp-pd-code span{color:#64748b}.imp-pd-share-button{margin-top:18px;border:0;background:transparent;color:var(--teal);font-weight:900;cursor:pointer}.imp-pd-tabs{position:sticky;top:0;z-index:20;margin:28px 0 20px;padding:10px;display:flex;gap:8px;overflow:auto;background:rgba(15,23,42,.94);border-radius:18px}.imp-pd-tabs a{white-space:nowrap;color:#fff;text-decoration:none;font-weight:800;padding:12px 18px;border-radius:12px}.imp-pd-tabs a:hover{background:var(--green)}.imp-pd-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}.imp-pd-content{display:grid;gap:20px}.imp-pd-section{padding:clamp(24px,3vw,40px)}.imp-pd-section h2,.imp-pd-related h2,.imp-pd-contact h2{font-size:clamp(27px,3vw,42px);line-height:1.05;margin:8px 0 20px}.imp-pd-description{font-size:17px;line-height:1.8;color:#334155}.imp-pd-spec-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.imp-pd-spec-grid div{display:flex;justify-content:space-between;gap:18px;padding:16px;background:var(--soft);border-radius:14px}.imp-pd-spec-grid span{color:#64748b}.imp-pd-feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.imp-pd-feature-grid div{display:flex;gap:10px;padding:14px 16px;border:1px solid var(--border);border-radius:14px}.imp-pd-feature-grid div span{color:var(--green);font-weight:900}.imp-pd-contact{position:sticky;top:92px}.imp-pd-contact-card{padding:26px}.imp-pd-agent{display:flex;align-items:center;gap:14px;margin:20px 0}.imp-pd-agent img{width:62px;height:62px;border-radius:50%;object-fit:cover}.imp-pd-agent strong,.imp-pd-agent span{display:block}.imp-pd-agent span{font-size:13px;color:#64748b}.imp-pd-contact-form{display:grid;gap:12px}.imp-pd-contact-form label span{display:block;font-size:12px;font-weight:800;margin-bottom:6px}.imp-pd-contact-form input,.imp-pd-contact-form textarea{width:100%;border:1px solid var(--border);background:#f8fbfb;border-radius:12px;padding:13px 14px;font:inherit}.imp-pd-form-status{min-height:20px;font-size:13px;font-weight:800}.imp-pd-safety{font-size:12px;line-height:1.5;color:#64748b;border-top:1px solid var(--border);padding-top:16px;margin-top:18px}.imp-pd-map{height:420px;overflow:hidden;border-radius:20px;border:1px solid var(--border)}.imp-pd-map iframe{width:100%;height:100%;border:0}.imp-pd-related{margin-top:24px;padding:clamp(24px,3vw,40px)}.imp-pd-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.imp-pd-related-card{overflow:hidden;border:1px solid var(--border);border-radius:20px}.imp-pd-related-card a{text-decoration:none;color:inherit}.imp-pd-related-image{height:220px;background:#edf3f3}.imp-pd-related-image img{width:100%;height:100%;object-fit:cover}.imp-pd-related-body{padding:18px}.imp-pd-related-body h3{font-size:20px;margin:0 0 8px}.imp-pd-related-body span{font-weight:900;color:#349526}.imp-pd-lightbox{width:100vw;height:100vh;max-width:none;max-height:none;border:0;padding:50px;background:rgba(3,8,20,.96)}.imp-pd-lightbox::backdrop{background:rgba(3,8,20,.96)}.imp-pd-lightbox img{width:100%;height:100%;object-fit:contain}.imp-pd-lightbox button{position:absolute;border:0;background:#fff;border-radius:50%;width:48px;height:48px;font-size:30px}.imp-pd-lightbox-close{top:20px;right:20px}.imp-pd-lightbox-prev{left:20px;top:50%}.imp-pd-lightbox-next{right:20px;top:50%}.imp-pd-lightbox [data-imp-gallery-counter]{position:absolute;bottom:18px;left:50%;color:#fff}.imp-pd-alert{padding:30px;background:#fff3cd;border-radius:16px}
@media(max-width:1100px){.imp-pd-hero{grid-template-columns:1fr}.imp-pd-gallery{grid-template-rows:minmax(390px,58vh) 100px}.imp-pd-layout{grid-template-columns:1fr}.imp-pd-contact{position:static}}
@media(max-width:720px){.imp-pd-shell{padding:12px 12px 48px}.imp-pd-gallery{grid-template-rows:58vh 78px}.imp-pd-summary-card h1{font-size:38px}.imp-pd-primary-actions,.imp-pd-quick-grid,.imp-pd-spec-grid,.imp-pd-feature-grid,.imp-pd-related-grid{grid-template-columns:1fr}.imp-pd-section{padding:22px}.imp-pd-map{height:320px}}

/* 5.10.0 Smart Property UI */
.imp-pd-hero{grid-template-columns:minmax(0,1.25fr) minmax(300px,.58fr) minmax(235px,.34fr)}
.imp-pd-qr-card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:22px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 18px 50px rgba(15,23,42,.07)}
.imp-pd-qr-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#64748b;font-weight:800}.imp-pd-public-code{font-size:13px;margin:8px 0 16px;word-break:break-word}.imp-pd-qr-image{width:100%;max-width:220px;aspect-ratio:1;object-fit:contain;background:#fff}.imp-pd-qr-card small{color:#64748b;margin:10px 0 14px}
.imp-pd-action-strip{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin:14px 0 20px}.imp-pd-action-strip button,.imp-pd-action-strip a{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--border);background:#fff;color:var(--dark);padding:11px 14px;border-radius:12px;text-decoration:none;font-weight:700;cursor:pointer}.imp-pd-action-strip button:hover,.imp-pd-action-strip a:hover{border-color:var(--green);color:#398f20}
.imp-pd-description-section{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px}.imp-pd-shop-promo{border-radius:20px;padding:22px;background:linear-gradient(135deg,#f3f8ed,#fff);border:1px solid #dfead6}.imp-pd-shop-promo strong{font-size:19px}.imp-pd-shop-promo p{font-size:14px;color:#64748b;line-height:1.5}.imp-pd-shop-promo a,.imp-pd-ecosystem a{display:inline-flex;padding:10px 14px;border-radius:10px;background:var(--green);color:#fff;text-decoration:none;font-weight:800}
.imp-pd-ecosystem{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.imp-pd-ecosystem article{background:linear-gradient(135deg,#f4faef,#fff);border:1px solid #dcead4;border-radius:18px;padding:20px}.imp-pd-ecosystem strong{font-size:18px}.imp-pd-ecosystem p{color:#64748b;font-size:14px;line-height:1.5;min-height:42px}
.imp-pd-bottom-bar{display:none}
@media(max-width:1280px){.imp-pd-hero{grid-template-columns:minmax(0,1.4fr) minmax(320px,.65fr)}.imp-pd-qr-card{grid-column:2}.imp-pd-gallery{grid-row:span 2}}
@media(max-width:1100px){.imp-pd-hero{grid-template-columns:1fr}.imp-pd-gallery{grid-row:auto}.imp-pd-qr-card{grid-column:auto}.imp-pd-description-section{grid-template-columns:1fr}.imp-pd-ecosystem{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.imp-pd-action-strip{justify-content:stretch}.imp-pd-action-strip button,.imp-pd-action-strip a{flex:1 1 42%;justify-content:center}.imp-pd-action-strip span{font-size:12px}.imp-pd-ecosystem{grid-template-columns:1fr}.imp-pd-qr-card{padding:18px}.imp-pd-qr-image{max-width:190px}}
@media print{body>*:not(.imp-property-detail){display:none!important}.imp-pd-breadcrumbs,.imp-pd-tabs,.imp-pd-action-strip,.imp-pd-contact,.imp-pd-ecosystem,.imp-pd-related,.imp-pd-lightbox{display:none!important}.imp-pd-shell{padding:0}.imp-pd-hero,.imp-pd-layout{display:block}.imp-pd-gallery{grid-template-rows:440px}.imp-pd-thumbs{display:none}.imp-pd-summary-card,.imp-pd-qr-card,.imp-pd-section{box-shadow:none;break-inside:avoid;margin-bottom:12px}}


/* 5.10.1 — Cierre visual, contraste e iconografía oficial */
.imp-property-detail{
  --imp-pd-dark:#101827;
  --imp-pd-dark-hover:#07101f;
  --imp-pd-green:#80c342;
  --imp-pd-green-dark:#4f9820;
}

/* Evita que el tema herede colores oscuros sobre fondos oscuros. */
.imp-property-detail .imp-pd-tabs,
.imp-property-detail .imp-pd-tabs:link,
.imp-property-detail .imp-pd-tabs:visited{
  background:var(--imp-pd-dark)!important;
  color:#fff!important;
}
.imp-property-detail .imp-pd-tabs a,
.imp-property-detail .imp-pd-tabs a:link,
.imp-property-detail .imp-pd-tabs a:visited,
.imp-property-detail .imp-pd-tabs a span{
  color:#fff!important;
  opacity:1!important;
  text-shadow:none!important;
}
.imp-property-detail .imp-pd-tabs a:hover,
.imp-property-detail .imp-pd-tabs a:focus-visible,
.imp-property-detail .imp-pd-tabs a.is-active{
  background:var(--imp-pd-green)!important;
  color:#fff!important;
}

.imp-property-detail .imp-pd-btn,
.imp-property-detail .imp-pd-btn:link,
.imp-property-detail .imp-pd-btn:visited{
  text-decoration:none!important;
  opacity:1!important;
}
.imp-property-detail .imp-pd-btn.imp-pd-btn--primary,
.imp-property-detail .imp-pd-btn.imp-pd-btn--primary:link,
.imp-property-detail .imp-pd-btn.imp-pd-btn--primary:visited{
  background:var(--imp-pd-green)!important;
  border-color:var(--imp-pd-green)!important;
  color:#fff!important;
}
.imp-property-detail .imp-pd-btn.imp-pd-btn--dark,
.imp-property-detail .imp-pd-btn.imp-pd-btn--dark:link,
.imp-property-detail .imp-pd-btn.imp-pd-btn--dark:visited{
  background:var(--imp-pd-dark)!important;
  border-color:var(--imp-pd-dark)!important;
  color:#fff!important;
}
.imp-property-detail .imp-pd-btn.imp-pd-btn--dark:hover,
.imp-property-detail .imp-pd-btn.imp-pd-btn--dark:focus-visible{
  background:var(--imp-pd-dark-hover)!important;
  color:#fff!important;
}
.imp-property-detail .imp-pd-btn.imp-pd-btn--light,
.imp-property-detail .imp-pd-btn.imp-pd-btn--light:link,
.imp-property-detail .imp-pd-btn.imp-pd-btn--light:visited{
  background:#edf5f5!important;
  border:1px solid #dbe5e7!important;
  color:var(--imp-pd-dark)!important;
}

/* Iconos SVG internos de Shared Library. */
.imp-property-detail .imp-icon{
  display:block;
  width:1em;
  height:1em;
  color:currentColor;
  stroke:currentColor;
}
.imp-property-detail .imp-pd-quick-item{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.imp-property-detail .imp-pd-quick-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(128,195,66,.12);
  color:var(--imp-pd-green-dark);
}
.imp-property-detail .imp-pd-quick-copy{
  min-width:0;
}
.imp-property-detail .imp-pd-quick-copy strong,
.imp-property-detail .imp-pd-quick-copy > span{
  display:block;
}
.imp-property-detail .imp-pd-heading-icon{
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(128,195,66,.12);
  color:var(--imp-pd-green-dark);
}
.imp-property-detail .imp-pd-section-title{
  display:flex;
  align-items:center;
  gap:12px;
}
.imp-property-detail .imp-feature-icon-item{
  display:flex!important;
  align-items:center;
  gap:12px;
  min-height:58px;
  padding:13px 15px!important;
  background:#fff!important;
  border:1px solid var(--border)!important;
  border-radius:15px!important;
  color:#273244!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
}
.imp-property-detail .imp-feature-icon-item:hover{
  transform:translateY(-2px);
  border-color:rgba(128,195,66,.55)!important;
  background:#fbfef9!important;
  box-shadow:0 9px 24px rgba(15,23,42,.07);
}
.imp-property-detail .imp-feature-icon-wrap{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:rgba(128,195,66,.12);
  color:var(--imp-pd-green-dark)!important;
}
.imp-property-detail .imp-feature-icon-label{
  min-width:0;
  color:#273244!important;
  font-weight:600;
  line-height:1.35;
}
.imp-property-detail .imp-pd-icon-fallback{
  color:var(--imp-pd-green-dark);
  font-weight:900;
}

/* Botonera de acciones: contraste consistente incluso con CSS heredado. */
.imp-property-detail .imp-pd-action-strip button,
.imp-property-detail .imp-pd-action-strip a,
.imp-property-detail .imp-pd-action-strip a:link,
.imp-property-detail .imp-pd-action-strip a:visited{
  color:#172033!important;
  background:#fff!important;
}
.imp-property-detail .imp-pd-action-strip .is-primary{
  color:#fff!important;
  background:var(--imp-pd-green)!important;
}

/* QR: evita desbordes en pantallas pequeñas. */
.imp-property-detail .imp-pd-qr-card{
  overflow:hidden;
}
.imp-property-detail .imp-pd-public-code{
  max-width:100%;
  overflow-wrap:anywhere;
}
.imp-property-detail .imp-pd-qr-image{
  height:auto!important;
}

/* Móvil más compacto y legible. */
@media(max-width:720px){
  .imp-property-detail .imp-pd-tabs{
    padding:7px!important;
    gap:5px!important;
  }
  .imp-property-detail .imp-pd-tabs a{
    padding:11px 14px!important;
    font-size:14px!important;
  }
  .imp-property-detail .imp-pd-section{
    padding:22px 18px!important;
  }
  .imp-property-detail .imp-pd-section h2{
    font-size:clamp(27px,8vw,36px)!important;
    line-height:1.12!important;
  }
  .imp-property-detail .imp-pd-feature-grid{
    gap:10px!important;
  }
  .imp-property-detail .imp-feature-icon-item{
    min-height:54px;
    padding:12px 13px!important;
  }
  .imp-property-detail .imp-pd-primary-actions{
    gap:10px!important;
  }
  .imp-property-detail .imp-pd-btn{
    min-height:54px!important;
    font-size:16px!important;
  }
}


/* 5.10.2 — Desktop parity con la maqueta aprobada y convivencia con header/footer */
body.inmoplus-property-detail-page{
  overflow-x:hidden;
  background:#fff;
}
body.inmoplus-property-detail-page .site,
body.inmoplus-property-detail-page .site-content,
body.inmoplus-property-detail-page .content-area,
body.inmoplus-property-detail-page .site-main,
body.inmoplus-property-detail-page main#main,
body.inmoplus-property-detail-page .entry-content,
body.inmoplus-property-detail-page .elementor-section-wrap,
body.inmoplus-property-detail-page .elementor-widget-shortcode,
body.inmoplus-property-detail-page .elementor-widget-shortcode > .elementor-widget-container{
  max-width:none!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.inmoplus-property-detail-page .entry-header,
body.inmoplus-property-detail-page .page-header{
  display:none!important;
}
body.inmoplus-property-detail-page .imp-property-detail{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
}

@media(min-width:1181px){
  body.inmoplus-property-detail-page .imp-property-detail{
    padding-bottom:96px;
  }
  .imp-property-detail .imp-pd-shell{
    width:min(1520px,calc(100% - 48px));
    padding:22px 0 54px;
  }
  .imp-property-detail .imp-pd-breadcrumbs{
    margin:0 0 17px;
    font-size:13px;
  }
  .imp-property-detail .imp-pd-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1.62fr) minmax(300px,.62fr) minmax(245px,.42fr)!important;
    grid-template-rows:auto!important;
    gap:22px!important;
    align-items:stretch!important;
  }
  .imp-property-detail .imp-pd-gallery{
    grid-row:auto!important;
    grid-template-rows:470px 84px!important;
    gap:10px!important;
  }
  .imp-property-detail .imp-pd-main-photo{
    border-radius:18px!important;
  }
  .imp-property-detail .imp-pd-thumbs{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .imp-property-detail .imp-pd-thumbs button{
    border-radius:12px!important;
  }
  .imp-property-detail .imp-pd-summary-card,
  .imp-property-detail .imp-pd-qr-card{
    border-radius:18px!important;
    box-shadow:0 8px 26px rgba(15,23,42,.055)!important;
    padding:24px!important;
  }
  .imp-property-detail .imp-pd-summary-card h1{
    font-size:clamp(31px,2.45vw,45px)!important;
    line-height:1.04!important;
    margin:13px 0 10px!important;
  }
  .imp-property-detail .imp-pd-location{
    font-size:14px!important;
    line-height:1.5!important;
  }
  .imp-property-detail .imp-pd-price{
    font-size:34px!important;
    margin:14px 0 18px!important;
  }
  .imp-property-detail .imp-pd-quick-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin-bottom:18px!important;
  }
  .imp-property-detail .imp-pd-quick-grid .imp-pd-quick-item{
    padding:10px!important;
    border-radius:12px!important;
  }
  .imp-property-detail .imp-pd-quick-icon{
    width:32px!important;height:32px!important;flex-basis:32px!important;
  }
  .imp-property-detail .imp-pd-primary-actions{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .imp-property-detail .imp-pd-primary-actions .imp-pd-btn{
    min-height:43px!important;
    padding:9px 12px!important;
    font-size:14px!important;
  }
  .imp-property-detail .imp-pd-primary-actions .imp-pd-btn--light{
    grid-column:1/-1!important;
  }
  .imp-property-detail .imp-pd-code{
    width:100%!important;
    margin-top:14px!important;
    padding:10px 12px!important;
    font-size:13px!important;
  }
  .imp-property-detail .imp-pd-code strong{
    font-size:14px!important;
    overflow-wrap:anywhere;
  }
  .imp-property-detail .imp-pd-share-button{
    font-size:13px!important;
  }
  .imp-property-detail .imp-pd-qr-card{
    justify-content:flex-start!important;
  }
  .imp-property-detail .imp-pd-qr-image{
    width:min(100%,190px)!important;
  }
  .imp-property-detail .imp-pd-public-code{
    font-size:12px!important;
  }
  .imp-property-detail .imp-pd-action-strip{
    width:calc(42.5% - 4px)!important;
    margin:12px 0 18px auto!important;
    justify-content:stretch!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .imp-property-detail .imp-pd-action-strip button,
  .imp-property-detail .imp-pd-action-strip a{
    justify-content:center!important;
    padding:9px 7px!important;
    min-height:42px!important;
    font-size:12px!important;
    border-radius:10px!important;
  }
  .imp-property-detail .imp-pd-tabs{
    position:relative!important;
    top:auto!important;
    width:calc(72% - 12px)!important;
    margin:0 0 14px!important;
    border-radius:11px!important;
    padding:5px!important;
    background:#fff!important;
    border:1px solid #e1e8ea!important;
    box-shadow:0 5px 18px rgba(15,23,42,.04)!important;
  }
  .imp-property-detail .imp-pd-tabs a,
  .imp-property-detail .imp-pd-tabs a:link,
  .imp-property-detail .imp-pd-tabs a:visited{
    color:#1e293b!important;
    background:transparent!important;
    padding:11px 17px!important;
    font-size:13px!important;
  }
  .imp-property-detail .imp-pd-tabs a:first-child,
  .imp-property-detail .imp-pd-tabs a:hover,
  .imp-property-detail .imp-pd-tabs a:focus-visible,
  .imp-property-detail .imp-pd-tabs a.is-active{
    color:#fff!important;
    background:var(--imp-pd-green)!important;
  }
  .imp-property-detail .imp-pd-layout{
    grid-template-columns:minmax(0,1fr) 350px!important;
    gap:22px!important;
  }
  .imp-property-detail .imp-pd-content{
    gap:14px!important;
  }
  .imp-property-detail .imp-pd-section,
  .imp-property-detail .imp-pd-contact-card,
  .imp-property-detail .imp-pd-related{
    border-radius:17px!important;
    padding:22px!important;
    box-shadow:0 5px 20px rgba(15,23,42,.045)!important;
  }
  .imp-property-detail .imp-pd-section h2,
  .imp-property-detail .imp-pd-contact h2,
  .imp-property-detail .imp-pd-related h2{
    font-size:23px!important;
    line-height:1.15!important;
    margin:5px 0 15px!important;
  }
  .imp-property-detail .imp-pd-description{
    font-size:14px!important;
    line-height:1.7!important;
  }
  .imp-property-detail .imp-pd-description-section{
    grid-template-columns:minmax(0,1fr) 270px!important;
    gap:18px!important;
  }
  .imp-property-detail .imp-pd-shop-promo{
    padding:18px!important;
    border-radius:15px!important;
  }
  .imp-property-detail .imp-pd-spec-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .imp-property-detail .imp-pd-spec-grid div{
    display:block!important;
    padding:12px!important;
    border-radius:11px!important;
  }
  .imp-property-detail .imp-pd-spec-grid strong{
    display:block!important;
    text-align:left!important;
    margin-top:4px!important;
  }
  .imp-property-detail .imp-pd-feature-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .imp-property-detail .imp-feature-icon-item{
    min-height:52px!important;
    padding:10px 12px!important;
    border-radius:11px!important;
    font-size:13px!important;
  }
  .imp-property-detail .imp-feature-icon-wrap{
    width:31px!important;height:31px!important;flex-basis:31px!important;
  }
  .imp-property-detail .imp-pd-contact{
    top:18px!important;
  }
  .imp-property-detail .imp-pd-agent{
    margin:14px 0!important;
  }
  .imp-property-detail .imp-pd-contact-form{
    gap:9px!important;
  }
  .imp-property-detail .imp-pd-contact-form input,
  .imp-property-detail .imp-pd-contact-form textarea{
    padding:10px 12px!important;
    font-size:13px!important;
  }
  .imp-property-detail .imp-pd-map{
    height:330px!important;
    border-radius:14px!important;
  }
  .imp-property-detail .imp-pd-ecosystem{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .imp-property-detail .imp-pd-ecosystem article{
    padding:17px!important;
    border-radius:14px!important;
  }
  .imp-property-detail .imp-pd-related-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:14px!important;
  }
  .imp-property-detail .imp-pd-related-image{
    height:170px!important;
  }
  .imp-property-detail .imp-pd-related-body{
    padding:13px!important;
  }
  .imp-property-detail .imp-pd-related-body h3{
    font-size:15px!important;
  }
  .imp-property-detail .imp-pd-bottom-bar{
    position:fixed!important;
    left:50%!important;
    bottom:0!important;
    z-index:9998!important;
    transform:translateX(-50%)!important;
    width:min(1520px,calc(100% - 24px))!important;
    min-height:70px!important;
    padding:10px 14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:20px!important;
    border-radius:16px 16px 0 0!important;
    background:linear-gradient(90deg,#11252b,#0f1b2d)!important;
    box-shadow:0 -8px 28px rgba(15,23,42,.18)!important;
    color:#fff!important;
  }
  .imp-property-detail .imp-pd-bottom-price{
    display:flex!important;
    flex-direction:column!important;
  }
  .imp-property-detail .imp-pd-bottom-price strong{
    color:#fff!important;
    font-size:20px!important;
  }
  .imp-property-detail .imp-pd-bottom-price span{
    color:#cbd5e1!important;
    font-size:11px!important;
    max-width:240px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .imp-property-detail .imp-pd-bottom-tools{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }
  .imp-property-detail .imp-pd-bottom-tools button,
  .imp-property-detail .imp-pd-bottom-tools a{
    min-height:44px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:10px 16px!important;
    border-radius:10px!important;
    border:1px solid rgba(255,255,255,.22)!important;
    background:transparent!important;
    color:#fff!important;
    text-decoration:none!important;
    font-weight:800!important;
    cursor:pointer!important;
  }
  .imp-property-detail .imp-pd-bottom-tools .imp-pd-bottom-visit{
    min-width:210px!important;
    background:var(--imp-pd-green)!important;
    border-color:var(--imp-pd-green)!important;
  }
  .imp-property-detail .imp-pd-bottom-tools .imp-pd-bottom-call{
    min-width:170px!important;
  }
}

@media(max-width:1180px){
  .imp-property-detail .imp-pd-bottom-bar{display:none!important}
}


/* 5.10.3 — Tarjetas de propiedades similares coherentes con Inicio y Propiedades */
.imp-property-detail .imp-pd-related{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.imp-property-detail .imp-pd-related-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
.imp-property-detail .imp-pd-related-heading h2{
  margin-bottom:0!important;
}
.imp-property-detail .imp-pd-related-all{
  color:var(--imp-pd-green-dark,#4f9820)!important;
  font-weight:800;
  text-decoration:none!important;
  white-space:nowrap;
}
.imp-property-detail .imp-pd-related-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
.imp-property-detail .imp-pd-related-card{
  overflow:hidden!important;
  min-width:0;
  background:#fff!important;
  border:1px solid #dce5e7!important;
  border-radius:22px!important;
  box-shadow:0 10px 32px rgba(15,23,42,.07)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.imp-property-detail .imp-pd-related-card:hover{
  transform:translateY(-4px);
  border-color:rgba(128,195,66,.58)!important;
  box-shadow:0 18px 42px rgba(15,23,42,.12)!important;
}
.imp-property-detail .imp-pd-related-link,
.imp-property-detail .imp-pd-related-link:link,
.imp-property-detail .imp-pd-related-link:visited{
  display:block;
  height:100%;
  color:#172033!important;
  text-decoration:none!important;
}
.imp-property-detail .imp-pd-related-image{
  position:relative;
  height:220px!important;
  overflow:hidden;
  background:#e8efef!important;
}
.imp-property-detail .imp-pd-related-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .28s ease;
}
.imp-property-detail .imp-pd-related-card:hover .imp-pd-related-image img{
  transform:scale(1.035);
}
.imp-property-detail .imp-pd-related-featured{
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  padding:7px 11px;
  border-radius:999px;
  background:var(--imp-pd-green,#80c342);
  color:#fff!important;
  font-size:12px;
  font-weight:900;
  box-shadow:0 5px 14px rgba(0,0,0,.12);
}
.imp-property-detail .imp-pd-related-favorite{
  position:absolute;
  top:14px;
  right:14px;
  z-index:2;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.95);
  color:#12303a!important;
  font-size:26px;
  line-height:1;
  box-shadow:0 5px 14px rgba(0,0,0,.12);
}
.imp-property-detail .imp-pd-related-body{
  display:flex;
  flex-direction:column;
  min-height:230px;
  padding:18px!important;
}
.imp-property-detail .imp-pd-related-badges{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:11px;
}
.imp-property-detail .imp-pd-related-badges span{
  display:inline-flex;
  padding:6px 9px;
  border-radius:8px;
  background:#eff8e9;
  color:#4c8d24!important;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.imp-property-detail .imp-pd-related-body h3{
  margin:0!important;
  color:#152b35!important;
  font-size:20px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:-.02em;
}
.imp-property-detail .imp-pd-related-location{
  margin:9px 0 15px;
  color:#71808b!important;
  font-size:13px;
  line-height:1.4;
}
.imp-property-detail .imp-pd-related-stats{
  display:flex;
  flex-wrap:wrap;
  gap:9px 14px;
  padding-top:13px;
  border-top:1px solid #edf1f2;
}
.imp-property-detail .imp-pd-related-stats span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#4f5f69!important;
  font-size:12px;
  font-weight:650;
}
.imp-property-detail .imp-pd-related-stats .imp-icon{
  color:#5ba52a;
}
.imp-property-detail .imp-pd-related-footer{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:17px;
}
.imp-property-detail .imp-pd-related-footer strong{
  color:#4c9d27!important;
  font-size:19px;
  line-height:1.15;
}
.imp-property-detail .imp-pd-related-footer small{
  color:#98a2aa!important;
  font-size:11px;
  text-align:right;
}
@media(max-width:1180px){
  .imp-property-detail .imp-pd-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:720px){
  .imp-property-detail .imp-pd-related-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .imp-property-detail .imp-pd-related-grid{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .imp-property-detail .imp-pd-related-card{
    border-radius:20px!important;
  }
  .imp-property-detail .imp-pd-related-image{
    height:250px!important;
  }
  .imp-property-detail .imp-pd-related-body{
    min-height:0;
    padding:18px!important;
  }
  .imp-property-detail .imp-pd-related-body h3{
    font-size:23px!important;
  }
  .imp-property-detail .imp-pd-related-footer strong{
    font-size:21px;
  }
}


/* 5.10.7 — Bloque superior reconstruido según la maqueta aprobada */
.imp-property-detail .imp-pd-hero-quick{
  min-width:0;
}
.imp-property-detail .imp-pd-hero-quick .imp-pd-quick-grid{
  margin:0;
}
.imp-property-detail .imp-pd-hero-actions{
  margin:0;
}

@media(min-width:1181px){
  .imp-property-detail .imp-pd-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1.64fr) minmax(300px,.66fr) minmax(245px,.48fr)!important;
    grid-template-rows:minmax(0,1fr) auto auto!important;
    gap:12px 20px!important;
    align-items:stretch!important;
  }

  .imp-property-detail .imp-pd-gallery{
    grid-column:1!important;
    grid-row:1 / span 3!important;
    grid-template-rows:470px 84px!important;
    min-height:0!important;
  }

  .imp-property-detail .imp-pd-summary-card{
    grid-column:2!important;
    grid-row:1!important;
    align-self:stretch!important;
    min-height:0!important;
    padding:22px!important;
    justify-content:flex-start!important;
  }

  .imp-property-detail .imp-pd-qr-card{
    grid-column:3!important;
    grid-row:1!important;
    align-self:stretch!important;
    min-height:0!important;
    padding:18px!important;
    justify-content:flex-start!important;
  }

  .imp-property-detail .imp-pd-hero-quick{
    grid-column:2 / 4!important;
    grid-row:2!important;
    background:#fff;
    border:1px solid var(--border);
    border-radius:15px;
    padding:10px 12px;
    box-shadow:0 6px 20px rgba(15,23,42,.045);
  }

  .imp-property-detail .imp-pd-hero-quick .imp-pd-quick-grid{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:7px!important;
  }

  .imp-property-detail .imp-pd-hero-quick .imp-pd-quick-item{
    padding:7px 8px!important;
    border:0!important;
    background:transparent!important;
    border-radius:9px!important;
    min-width:0;
  }

  .imp-property-detail .imp-pd-hero-quick .imp-pd-quick-icon{
    width:29px!important;
    height:29px!important;
    flex-basis:29px!important;
  }

  .imp-property-detail .imp-pd-hero-quick .imp-pd-quick-copy strong{
    font-size:13px!important;
    line-height:1.05!important;
    white-space:nowrap;
  }

  .imp-property-detail .imp-pd-hero-quick .imp-pd-quick-copy > span{
    font-size:9px!important;
    line-height:1.15!important;
    margin-top:3px!important;
  }

  .imp-property-detail .imp-pd-hero-actions{
    grid-column:2 / 4!important;
    grid-row:3!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:7px!important;
    padding:8px!important;
    background:#fff!important;
    border:1px solid var(--border)!important;
    border-radius:14px!important;
    box-shadow:0 6px 20px rgba(15,23,42,.04)!important;
  }

  .imp-property-detail .imp-pd-hero-actions button,
  .imp-property-detail .imp-pd-hero-actions a{
    min-height:40px!important;
    padding:7px 5px!important;
    justify-content:center!important;
    border-radius:9px!important;
    font-size:11px!important;
  }

  /* En escritorio estas acciones ya están en la franja inferior del hero. */
  .imp-property-detail .imp-pd-summary-card .imp-pd-primary-actions,
  .imp-property-detail .imp-pd-summary-card .imp-pd-code,
  .imp-property-detail .imp-pd-summary-card .imp-pd-share-button{
    display:none!important;
  }

  .imp-property-detail .imp-pd-summary-card h1{
    font-size:clamp(31px,2.35vw,43px)!important;
    line-height:1.02!important;
    margin:12px 0 9px!important;
  }

  .imp-property-detail .imp-pd-summary-card .imp-pd-price{
    margin-top:auto!important;
    margin-bottom:0!important;
    font-size:35px!important;
  }

  .imp-property-detail .imp-pd-qr-image{
    width:min(100%,175px)!important;
    max-height:175px!important;
  }

  .imp-property-detail .imp-pd-qr-card .imp-pd-btn{
    width:100%!important;
    min-height:39px!important;
    padding:8px 10px!important;
    font-size:12px!important;
  }

  .imp-property-detail .imp-pd-tabs{
    width:calc(72% - 10px)!important;
    margin-top:18px!important;
  }
}

@media(min-width:1181px) and (max-width:1360px){
  .imp-property-detail .imp-pd-hero{
    grid-template-columns:minmax(0,1.55fr) minmax(280px,.62fr) minmax(220px,.45fr)!important;
    gap:11px 15px!important;
  }
  .imp-property-detail .imp-pd-gallery{
    grid-template-rows:430px 76px!important;
  }
  .imp-property-detail .imp-pd-hero-quick .imp-pd-quick-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
  .imp-property-detail .imp-pd-hero-actions button,
  .imp-property-detail .imp-pd-hero-actions a{
    font-size:10px!important;
  }
}

@media(max-width:1180px){
  .imp-property-detail .imp-pd-hero-quick{
    order:4;
  }
  .imp-property-detail .imp-pd-hero-actions{
    order:5;
  }
  .imp-property-detail .imp-pd-hero-quick .imp-pd-quick-grid{
    margin:0!important;
  }
}

@media(max-width:720px){
  .imp-property-detail .imp-pd-hero-quick{
    padding:0;
  }
  .imp-property-detail .imp-pd-hero-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
}


/* 5.10.8 — Comunidad InmoPlus, aislada para no alterar la ficha */
.imp-property-detail .imp-pd-community{
  margin-top:24px;
  padding:clamp(24px,3vw,40px);
  background:#fff;
  border:1px solid var(--border);
  border-radius:28px;
  box-shadow:0 18px 50px rgba(15,23,42,.07);
}
.imp-property-detail .imp-pd-community-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}
.imp-property-detail .imp-pd-community-heading h2{
  margin:8px 0 0;
  font-size:clamp(28px,3vw,42px);
  line-height:1.06;
}
.imp-property-detail .imp-pd-comment-count{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 13px;
  border-radius:999px;
  background:#eff7e9;
  color:#4d9226;
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
}
.imp-property-detail .imp-pd-community-composer{
  padding:20px;
  margin-bottom:22px;
  border:1px solid var(--border);
  border-radius:20px;
  background:#f8fbfb;
}
.imp-property-detail .imp-pd-comment-form-title{
  margin:0 0 6px;
  font-size:20px;
}
.imp-property-detail .imp-pd-comment-note{
  margin:0 0 16px;
  color:#667782;
  font-size:14px;
}
.imp-property-detail .comment-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.imp-property-detail .comment-form .comment-form-comment,
.imp-property-detail .comment-form .form-submit,
.imp-property-detail .comment-form .logged-in-as,
.imp-property-detail .comment-form .comment-notes{
  grid-column:1 / -1;
}
.imp-property-detail .imp-pd-comment-label{
  display:block;
}
.imp-property-detail .imp-pd-comment-label span{
  display:block;
  margin-bottom:6px;
  color:#24333d;
  font-size:12px;
  font-weight:800;
}
.imp-property-detail .imp-pd-comment-label input,
.imp-property-detail .imp-pd-comment-label textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  padding:13px 14px;
  color:#172033;
  font:inherit;
  outline:none;
}
.imp-property-detail .imp-pd-comment-label input:focus,
.imp-property-detail .imp-pd-comment-label textarea:focus{
  border-color:#80c342;
  box-shadow:0 0 0 3px rgba(128,195,66,.13);
}
.imp-property-detail .imp-pd-comment-submit{
  width:auto;
  min-width:190px;
}
.imp-property-detail .imp-pd-social-feed{
  display:grid;
  gap:16px;
}
.imp-property-detail .imp-pd-social-feed .children{
  margin:12px 0 0 58px;
  display:grid;
  gap:12px;
}
.imp-property-detail .imp-pd-social-comment{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.imp-property-detail .imp-pd-social-avatar{
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:50%;
  overflow:hidden;
  background:#e8efef;
}
.imp-property-detail .imp-pd-social-avatar img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.imp-property-detail .imp-pd-social-bubble{
  min-width:0;
  flex:1;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:5px 18px 18px 18px;
  background:#f7faf9;
}
.imp-property-detail .imp-pd-social-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:7px;
}
.imp-property-detail .imp-pd-social-meta strong{
  color:#172033;
  font-size:14px;
}
.imp-property-detail .imp-pd-social-meta time{
  color:#85929b;
  font-size:12px;
}
.imp-property-detail .imp-pd-official-badge{
  padding:4px 7px;
  border-radius:999px;
  background:#e8f6df;
  color:#4b9025;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.imp-property-detail .imp-pd-social-text{
  color:#34444e;
  font-size:15px;
  line-height:1.6;
}
.imp-property-detail .imp-pd-social-text p{
  margin:0 0 8px;
}
.imp-property-detail .imp-pd-social-text p:last-child{
  margin-bottom:0;
}
.imp-property-detail .imp-pd-social-actions{
  margin-top:9px;
}
.imp-property-detail .imp-pd-social-actions a{
  color:#4b9225!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:850;
}
.imp-property-detail .imp-pd-community-empty{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:22px;
  border:1px dashed #cfdcdd;
  border-radius:17px;
  text-align:center;
  color:#65747e;
}
.imp-property-detail .imp-pd-community-empty strong{
  color:#263640;
}
.imp-property-detail .imp-pd-comments-closed{
  margin:0;
  color:#65747e;
}
.imp-property-detail #respond{
  margin:0;
}
.imp-property-detail #cancel-comment-reply-link{
  margin-left:8px;
  color:#b42318;
  font-size:12px;
}
@media(max-width:720px){
  .imp-property-detail .imp-pd-community{
    padding:22px 18px;
    border-radius:22px;
  }
  .imp-property-detail .imp-pd-community-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .imp-property-detail .comment-form{
    grid-template-columns:1fr;
  }
  .imp-property-detail .comment-form > *{
    grid-column:1!important;
  }
  .imp-property-detail .imp-pd-comment-submit{
    width:100%;
  }
  .imp-property-detail .imp-pd-social-feed .children{
    margin-left:20px;
  }
  .imp-property-detail .imp-pd-social-avatar{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .imp-property-detail .imp-pd-social-bubble{
    padding:13px 14px;
  }
}


/* 5.10.9 — Tarjetas similares compactas y tipografía proporcionada */
.imp-property-detail .imp-pd-related-body{
  padding:14px!important;
  min-height:205px!important;
}
.imp-property-detail .imp-pd-related-body h3{
  margin:0!important;
  font-size:16px!important;
  line-height:1.28!important;
  font-weight:800!important;
  letter-spacing:-.015em!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.imp-property-detail .imp-pd-related-location{
  margin:6px 0 10px!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.imp-property-detail .imp-pd-related-badges{
  gap:5px!important;
  margin-bottom:8px!important;
}
.imp-property-detail .imp-pd-related-badges span{
  padding:4px 7px!important;
  font-size:9px!important;
  border-radius:7px!important;
}
.imp-property-detail .imp-pd-related-stats{
  gap:7px 11px!important;
  padding-top:10px!important;
}
.imp-property-detail .imp-pd-related-stats span{
  font-size:10.5px!important;
}
.imp-property-detail .imp-pd-related-stats .imp-icon{
  width:15px!important;
  height:15px!important;
}
.imp-property-detail .imp-pd-related-footer{
  gap:8px!important;
  padding-top:13px!important;
}
.imp-property-detail .imp-pd-related-footer strong{
  font-size:17px!important;
  line-height:1.15!important;
}
.imp-property-detail .imp-pd-related-footer small{
  font-size:9.5px!important;
}
.imp-property-detail .imp-pd-related-image{
  height:200px!important;
}
.imp-property-detail .imp-pd-related-featured{
  top:11px!important;
  left:11px!important;
  padding:6px 9px!important;
  font-size:10px!important;
}
.imp-property-detail .imp-pd-related-favorite{
  top:10px!important;
  right:10px!important;
  width:36px!important;
  height:36px!important;
  font-size:22px!important;
}

@media(max-width:720px){
  .imp-property-detail .imp-pd-related-grid{
    gap:16px!important;
  }
  .imp-property-detail .imp-pd-related-card{
    border-radius:18px!important;
  }
  .imp-property-detail .imp-pd-related-image{
    height:205px!important;
  }
  .imp-property-detail .imp-pd-related-body{
    min-height:0!important;
    padding:14px!important;
  }
  .imp-property-detail .imp-pd-related-body h3{
    font-size:17px!important;
    line-height:1.24!important;
  }
  .imp-property-detail .imp-pd-related-footer strong{
    font-size:18px!important;
  }
  .imp-property-detail .imp-pd-related-footer small{
    font-size:9px!important;
  }
}

@media(min-width:721px) and (max-width:1180px){
  .imp-property-detail .imp-pd-related-body h3{
    font-size:16px!important;
  }
  .imp-property-detail .imp-pd-related-image{
    height:190px!important;
  }
}


/* 5.10.10 — Aislamiento tipográfico total frente al tema de WordPress */
.imp-property-detail,
.imp-property-detail *,
.imp-property-detail *::before,
.imp-property-detail *::after{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
}

.imp-property-detail input,
.imp-property-detail textarea,
.imp-property-detail select,
.imp-property-detail button,
.imp-property-detail option{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
}

/* Neutraliza fuentes decorativas y estilos tipográficos heredados del tema. */
.imp-property-detail h1,
.imp-property-detail h2,
.imp-property-detail h3,
.imp-property-detail h4,
.imp-property-detail h5,
.imp-property-detail h6,
.imp-property-detail p,
.imp-property-detail span,
.imp-property-detail strong,
.imp-property-detail small,
.imp-property-detail a,
.imp-property-detail button,
.imp-property-detail label,
.imp-property-detail input,
.imp-property-detail textarea,
.imp-property-detail select,
.imp-property-detail li,
.imp-property-detail dt,
.imp-property-detail dd,
.imp-property-detail time{
  font-style:normal!important;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Mantiene jerarquías propias sin depender del tema activo. */
.imp-property-detail h1,
.imp-property-detail h2,
.imp-property-detail h3,
.imp-property-detail h4,
.imp-property-detail h5,
.imp-property-detail h6{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
  text-transform:none!important;
}

.imp-property-detail .imp-pd-summary-card h1{
  font-weight:850!important;
  letter-spacing:-.035em!important;
}

.imp-property-detail .imp-pd-section h2,
.imp-property-detail .imp-pd-community-heading h2,
.imp-property-detail .imp-pd-related-heading h2{
  font-weight:820!important;
  letter-spacing:-.025em!important;
}

.imp-property-detail .imp-pd-related-body h3{
  font-weight:800!important;
  letter-spacing:-.015em!important;
}

/* Elimina ligaduras o variantes del tema que alteran la lectura. */
.imp-property-detail{
  font-variant:normal!important;
  font-feature-settings:"liga" 1,"kern" 1!important;
}


/* 5.10.11 — Tres propiedades similares y mayor respiración */
.imp-property-detail .imp-pd-related-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
}
.imp-property-detail .imp-pd-related-image{
  height:230px!important;
}
.imp-property-detail .imp-pd-related-body{
  padding:17px!important;
}
.imp-property-detail .imp-pd-related-body h3{
  font-size:17px!important;
}
@media(min-width:721px) and (max-width:1050px){
  .imp-property-detail .imp-pd-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
  }
}
@media(max-width:720px){
  .imp-property-detail .imp-pd-related-grid{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .imp-property-detail .imp-pd-related-image{
    height:215px!important;
  }
}

.imp-pd-visit-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--soft)}.imp-pd-visit-fields[hidden]{display:none}.imp-pd-visit-fields>small{grid-column:1/-1;color:#64748b;font-size:11px}
@media(max-width:520px){.imp-pd-visit-fields{grid-template-columns:1fr}}

/* Favorito funcional en tarjetas relacionadas sin alterar la apariencia existente. */
.imp-property-detail button.imp-pd-related-favorite{border:0;cursor:pointer;padding:0}
.imp-property-detail .imp-pd-related-favorite span{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
