/* Cabecera de inmueble: controles originales y ubicación desde la cartera. */
.page-ficha .detail-header>.ficha-header-property[hidden],.page-ficha .detail-header>.detail-header-brand[hidden],.page-ficha .detail-header>.detail-header-socials[hidden],.page-ficha .detail-header .ficha-header-home[hidden]{display:none}
.ficha-header-home{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-height:44px;margin-left:1px;border-radius:5px;background:transparent}
.ficha-header-home img{display:block;width:40px;height:32px;object-fit:contain}
.ficha-header-home:hover{background:transparent;opacity:.8}
.ficha-header-home:focus-visible{outline:2px solid #175d8d;outline-offset:2px}
.detail-header .header-back .ficha-header-back-short{display:none}
.page-ficha .site-top .detail-header.has-property-summary{--ficha-summary-gap:clamp(18px,2vw,32px);grid-template-columns:auto minmax(0,1fr);column-gap:var(--ficha-summary-gap)}
/* Evita que el scroll-padding global de lectura desplace controles sticky al tabular. */
.detail-header.has-property-summary a,.detail-header.has-property-summary button{scroll-margin-top:-130px}
.ficha-header-property{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:2px 24px;align-items:center;min-width:0;color:var(--green,#012d20)}
.ficha-header-title{grid-column:1;grid-row:1;margin:0;font-family:Manrope,Arial,sans-serif;font-size:18px;font-weight:600;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}
.ficha-header-title>span{color:#175d8d;font-weight:700}
.ficha-header-location{grid-column:1;grid-row:2;margin:0;color:#657a6a;font-size:11px;line-height:1.5}
.ficha-header-location[hidden]{display:none}
.ficha-header-facts{display:flex;align-items:center;gap:0;grid-column:1;grid-row:3;min-width:0;list-style:none;margin:0;padding:0;background:none;color:#526959;font-size:11px;line-height:1.5}
.ficha-header-facts li{white-space:nowrap}
.ficha-header-facts li+li:before{content:'·';display:inline-block;margin:0 9px;color:#91a494}
.ficha-header-price{grid-column:2;grid-row:1/4;margin:0;white-space:nowrap;font-family:Manrope,Arial,sans-serif;font-size:26px;line-height:1.2;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ficha-header-actions{grid-column:2;grid-row:1/4;display:flex;align-items:center;gap:22px;min-width:0}
.ficha-header-actions .share-dropdown{flex-shrink:0}
.ficha-header-actions .share-dropdown>summary{min-height:44px;padding:8px 12px;font-size:11px;gap:7px;background:#ffffff5e}
.ficha-header-actions .share-dropdown>summary .ficha-icon{width:18px;height:18px}
.ficha-header-actions .share-dropdown>summary .action-text{display:inline}
.ficha-header-share-placeholder{min-height:44px}
.ficha-header-share-placeholder[hidden]{display:none!important}
.ficha-header-sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
@media(max-width:900px){.ficha-header-title{font-size:17px}.ficha-header-price{font-size:24px}.ficha-header-property{column-gap:18px}.ficha-header-actions{gap:12px}.ficha-header-facts{font-size:10px}.ficha-header-facts li+li:before{margin:0 7px}}
@media(max-width:740px){
 .page-ficha .site-top .detail-header.has-property-summary{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px 22px 18px;height:90px;align-content:center;column-gap:14px;row-gap:0}
 .has-property-summary .detail-header-start{grid-column:1;grid-row:1;gap:8px}
 .has-property-summary .ficha-header-property{display:contents}
 .has-property-summary .ficha-header-actions{display:contents}
 .has-property-summary .ficha-header-actions>.share-dropdown{grid-column:2;grid-row:1;justify-self:end}
 .has-property-summary .ficha-header-actions .share-dropdown>summary{width:44px;height:44px;padding:10px;background:transparent}
 .has-property-summary .ficha-header-actions .share-dropdown>summary .action-text{display:none}
 .has-property-summary .ficha-header-price{grid-column:2;grid-row:2;font-size:22px;justify-self:end}
 .has-property-summary .ficha-header-title{grid-column:1;grid-row:2;font-size:14px;white-space:nowrap;align-self:center}
 .has-property-summary .ficha-header-location{grid-column:1;grid-row:3;font-size:11px;line-height:1.5;align-self:center}
 .has-property-summary .ficha-header-facts{grid-column:2;grid-row:3;justify-self:end;font-size:10px;align-self:center}
 .has-property-summary .ficha-header-facts li+li:before{margin:0 5px}
 .has-property-summary .header-back{width:auto;padding:8px 0;gap:6px}
 .detail-header.has-property-summary .header-back .ficha-header-back-short{display:inline;font-size:11px}
 .has-property-summary .ficha-header-home{flex-basis:44px;width:44px;margin-left:0}
 .has-property-summary .ficha-header-home img{width:36px;height:30px}
}
@media(max-width:520px){
 .has-property-summary .detail-header-start{gap:6px}
 .has-property-summary .ficha-header-price{font-size:21px}
 .has-property-summary .ficha-header-title{font-size:13px}
 .has-property-summary .ficha-header-facts{font-size:10px}
 .has-property-summary .detail-menu-toggle{width:32px}
}
@media(max-width:359px){
 .page-ficha .site-top .detail-header.has-property-summary{column-gap:9px}
 .has-property-summary .detail-header-start{gap:3px}
 .has-property-summary .ficha-header-price{font-size:20px}
 .has-property-summary .ficha-header-title{font-size:12px}
 .has-property-summary .ficha-header-facts li+li:before{margin:0 4px}
 .detail-header.has-property-summary .header-back .ficha-header-back-short{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.ficha-header-home{scroll-behavior:auto}}

@media(min-width:741px){.has-property-summary .detail-header-start{gap:12px}.has-property-summary .ficha-header-home{margin-left:calc(var(--ficha-summary-gap) - 12px)}}
.ficha-header-title{font-weight:400}
