/* Ficha inmobiliaria compartida; no modifica componentes globales. */
.property-page{--pd-navy:#131353;--pd-coral:#db4953;--pd-ink:#202a42;--pd-muted:#68748b;--pd-line:#e1e5ef;--pd-soft:#f5f7fb;background:#fff}
.property-top,.property-detail-section{color:var(--pd-ink)}
.property-top{padding:30px 0 24px;background:linear-gradient(180deg,#fafbfe,#fff)}
.property-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;font-size:.83rem;color:var(--pd-muted);margin-bottom:20px}.property-breadcrumb a{color:var(--pd-navy)}
.pd-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:22px}.pd-title-content{min-width:0}.pd-tags{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.pd-business,.property-code{display:inline-flex;border-radius:99px;padding:5px 12px;font-size:.76rem;font-weight:600}.pd-business{background:#fcecef;color:#a72d3b}.property-code{border:1px solid var(--pd-line);color:var(--pd-muted);overflow-wrap:anywhere}.property-heading{font-size:clamp(1.6rem,3vw,2.65rem);font-weight:800;color:var(--pd-navy);letter-spacing:-.045em;line-height:1.19;margin:10px 0;overflow-wrap:anywhere}.property-zone{color:var(--pd-muted);display:flex;align-items:center;gap:8px;font-size:.93rem}.property-zone i{color:var(--pd-coral)}
.property-share{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.property-share a,.property-share button,.pd-map-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;border:1px solid var(--pd-line);border-radius:12px;background:white;color:var(--pd-navy);font:inherit;font-size:.8rem;font-weight:600;text-decoration:none;white-space:nowrap}.property-share button:hover,.property-share a:hover,.pd-map-link:hover{background:var(--pd-soft);color:var(--pd-navy)}
.property-detail-section{padding:0 0 52px}.property-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);grid-template-areas:'gallery summary' 'content summary';grid-template-rows:auto auto;align-items:start;gap:24px}.property-gallery-shell{grid-area:gallery;min-width:0;border:1px solid var(--pd-line);border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 8px 26px #1313530d}.pd-gallery-stage{position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#eeeff4,#b6bbc7);height:clamp(260px,43vw,540px)}.pd-gallery-stage>img,.pd-lightbox-stage>img{width:100%;height:100%;min-width:0;min-height:0;display:block;object-fit:contain;object-position:center;max-width:100%;max-height:100%}.pd-gallery-nav,.pd-expand,.pd-close{position:absolute;z-index:3;display:flex;align-items:center;justify-content:center;border:0;color:var(--pd-navy);background:#fff;box-shadow:0 3px 15px #13135330;cursor:pointer;font:inherit;transition:background .15s;animation:none}.pd-gallery-nav{width:44px;height:44px;border-radius:50%;top:calc(50% - 22px);font-size:18px}.pd-prev{left:14px}.pd-next{right:14px}.pd-gallery-nav:hover,.pd-expand:hover,.pd-close:hover{background:#edeef8}.pd-photo-count,.pd-expand{position:absolute;bottom:14px;border-radius:99px;padding:8px 13px;font-size:.79rem;font-weight:600;z-index:3}.pd-photo-count{left:14px;color:#fff;background:#131353c9}.pd-expand{right:14px;gap:8px}.pd-gallery-foot{padding:12px 17px;display:flex;justify-content:space-between;gap:12px;color:var(--pd-muted);font-size:.78rem;flex-wrap:wrap}.pd-gallery-foot i{margin-right:5px;color:var(--pd-navy)}.pd-sold-overlay{position:absolute;inset:0;display:grid;place-items:center;z-index:2;pointer-events:none}.pd-sold-overlay span{width:100%;background:#131353d9;color:#fff;font-family:'Plus Jakarta Sans',sans-serif;font-size:clamp(22px,4vw,38px);font-weight:800;letter-spacing:.12em;text-transform:uppercase;text-align:center;padding:14px 8px;border-top:2px solid #fff9;border-bottom:2px solid #fff9;text-shadow:0 2px 6px #0004}
/* Sidebar bounded by its own column. Recommendations are outside this grid. */
.pd-summary-column{grid-area:summary;min-width:0;align-self:stretch;position:relative}
.property-summary{position:static;border:1px solid var(--pd-line);border-radius:18px;overflow:hidden;box-shadow:0 5px 22px #1313530a;background:#fff;min-width:0;max-width:100%}
.pd-summary-head{padding:19px 20px 15px;background:#fff;color:var(--pd-navy);border-bottom:1px solid var(--pd-line)}
.property-summary-label{font-size:.79rem;color:var(--pd-muted);font-weight:500}
.property-summary-price{font-family:'Plus Jakarta Sans',sans-serif;font-size:clamp(1.4rem,2vw,1.8rem);font-weight:800;letter-spacing:-.04em;overflow-wrap:anywhere;margin:4px 0 2px;line-height:1.24}
.pd-summary-head small{color:var(--pd-muted);font-size:.72rem}
.pd-summary-body{padding:3px 20px 18px}
.property-summary-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-bottom:1px solid var(--pd-line);padding:10px 0;font-size:.79rem;color:var(--pd-muted)}
.property-summary-row strong{color:var(--pd-ink);text-align:right;overflow-wrap:anywhere;min-width:0;font-weight:600}
.pd-advisor{display:flex;align-items:center;gap:10px;margin:15px 0 9px;min-width:0}
.pd-advisor strong,.pd-advisor small{display:block;font-size:.79rem}.pd-advisor small{color:var(--pd-muted);font-size:.73rem;margin-top:2px}
.pd-contact-note,.pd-unavailable-note{font-size:.78rem;color:var(--pd-muted);line-height:1.55;margin:0 0 12px}
.pd-unavailable-note{padding:10px;background:#f8f3f4;border-radius:10px;color:#8d3641}
.pd-contact-actions{display:grid;gap:8px;min-width:0}
.pd-btn{display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 11px;border:1px solid var(--pd-navy);border-radius:10px;font-weight:600;font-size:.8rem;min-height:40px;text-align:center;text-decoration:none;transition:background .15s,color .15s;color:var(--pd-navy);overflow-wrap:anywhere;animation:none;transform:none}
.pd-primary{background:var(--pd-navy);color:#fff!important}.pd-primary:hover{background:#282878}
.pd-outline{background:white;border-color:var(--pd-line);min-height:36px}.pd-outline:hover{background:var(--pd-soft);color:var(--pd-navy)}
@media(min-width:992px) and (min-height:700px){.property-summary{position:sticky;top:96px}}

.pd-content{grid-area:content;min-width:0;display:grid;gap:18px}.property-block{border:1px solid var(--pd-line);border-radius:20px;padding:23px;background:#fff;min-width:0}.property-block h2,.pd-similar h2{font-size:1.2rem;font-weight:750;letter-spacing:-.025em;color:var(--pd-navy);margin:0 0 17px}.property-spec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.property-spec{background:var(--pd-soft);border-radius:13px;padding:13px 10px;min-width:0;display:flex;flex-direction:column;gap:10px}.property-spec i{color:var(--pd-navy);font-size:1.1rem}.property-spec span,.property-spec strong{display:block;overflow-wrap:anywhere}.property-spec span{font-size:.72rem;color:var(--pd-muted);margin-top:3px}.property-spec strong{font-size:.94rem;color:var(--pd-ink)}.property-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;color:#4d5b70;font-size:.94rem}.property-details-list{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.property-detail-row{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--pd-line);font-size:.82rem;color:var(--pd-muted)}.property-detail-row strong{color:var(--pd-ink);text-align:right;overflow-wrap:anywhere;min-width:0}.property-video{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:14px;background:#131353}.property-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.pd-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.pd-section-head h2{margin:0 0 4px}.pd-section-head p,.pd-map-note{margin:0;font-size:.81rem;color:var(--pd-muted)}.pd-map-note{margin-top:12px}.property-map{height:360px;isolation:isolate;position:relative;overflow:hidden;border-radius:14px;background:#eff1f6;z-index:0}.property-map .leaflet-tile{max-width:none!important;max-height:none!important;padding:0!important;border:0!important}.property-map .leaflet-popup-content{font-size:13px;color:#202a42;overflow-wrap:anywhere}.pd-pin-icon{background:transparent;border:0}.pd-pin-icon svg{display:block;width:42px;height:52px;filter:drop-shadow(0 3px 3px #13135345)}
.pd-similar{position:relative;min-width:0;margin-top:32px;padding-top:25px;border-top:1px solid var(--pd-line)}.similar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.similar-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--pd-line);border-radius:15px;text-decoration:none;background:#fff;color:var(--pd-ink);transition:box-shadow .18s,border-color .18s}.similar-card:hover{border-color:#c6c7e4;box-shadow:0 8px 25px #13135315;color:var(--pd-ink)}.pd-similar-image{position:relative;aspect-ratio:16/10;background:#edf0f6;overflow:hidden}.pd-similar-image img{width:100%;height:100%;object-fit:cover;display:block}.pd-similar-image span{position:absolute;top:10px;left:10px;background:#fff;color:var(--pd-navy);padding:5px 9px;border-radius:99px;font-size:.72rem;font-weight:600}.similar-card-body{display:flex;flex-direction:column;flex:1;min-width:0;padding:15px;gap:9px}.pd-similar-price{color:var(--pd-navy);font-size:1.15rem;font-weight:750;overflow-wrap:anywhere}.similar-card h3{font-size:.9rem;line-height:1.4;margin:0;height:2.8em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--pd-ink);overflow-wrap:anywhere}.pd-similar-location{font-size:.77rem;color:var(--pd-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.pd-similar-specs{display:flex;flex-wrap:wrap;gap:6px 12px;border-top:1px solid var(--pd-line);padding-top:10px;font-size:.75rem;color:var(--pd-muted)}.pd-similar-specs i{color:var(--pd-navy)}.pd-similar-cta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.8rem;font-weight:600;color:var(--pd-navy);margin-top:auto;padding-top:7px}
.pd-lightbox{width:min(96vw,1280px);max-width:96vw;max-height:94vh;border:0;border-radius:18px;padding:0;background:#151525;color:white;overflow:hidden}.pd-lightbox::backdrop{background:#10101cde}.pd-lightbox-stage{position:relative;isolation:isolate;width:100%;height:min(84vh,840px);display:grid;place-items:center}.pd-close{right:14px;top:14px;width:42px;height:42px;border-radius:50%;font-size:27px}.pd-lightbox .pd-photo-count{bottom:16px}.property-page :is(.pd-btn,.pd-gallery-nav,.pd-expand,.pd-close,.property-share button,.similar-card,.pd-map-link):focus-visible{outline:3px solid #7065d8;outline-offset:3px}.property-page .back-to-top{z-index:999}
@media(max-width:1199px){.property-layout{grid-template-columns:minmax(0,1fr) 280px}.property-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.similar-grid{gap:12px}}
@media(max-width:991px){.property-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'gallery' 'summary' 'content';grid-template-rows:auto;gap:18px}.property-summary{position:static}.pd-title-row{align-items:flex-start;flex-direction:column;gap:15px}.similar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-gallery-stage{height:clamp(260px,59vw,520px)}.property-spec-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:575px){.property-top{padding:19px 0 16px}.property-breadcrumb{margin-bottom:14px;font-size:.75rem}.property-heading{font-size:1.55rem}.pd-gallery-stage{height:clamp(245px,67vw,380px)}.pd-gallery-nav{width:36px;height:36px;top:calc(50% - 18px)}.pd-prev{left:8px}.pd-next{right:8px}.pd-photo-count{left:8px;bottom:9px}.pd-expand{right:8px;bottom:9px}.pd-gallery-foot{padding:10px 12px;font-size:.7rem}.property-block{padding:16px}.property-details-list{grid-template-columns:minmax(0,1fr)}.property-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.property-map{height:280px}.pd-summary-head{padding:19px}.pd-summary-body{padding:5px 17px 17px}.pd-section-head{flex-wrap:wrap}.similar-grid{gap:10px}.similar-card-body{padding:11px;gap:6px}.pd-similar-price{font-size:.97rem}.similar-card h3{font-size:.82rem}.pd-similar-specs{gap:5px 8px}.pd-similar-image span{font-size:.66rem;left:6px;top:6px}.pd-lightbox-stage{height:75vh}}

.pd-advisor-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:var(--pd-soft);flex:0 0 37px}.pd-advisor-mark img{width:24px;height:24px;object-fit:contain}

@media(max-width:991px){.pd-similar{margin-top:24px;padding-top:20px}.pd-contact-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pd-contact-actions .pd-btn:only-child{grid-column:1/-1}}
@media(max-width:479px){.similar-grid{grid-template-columns:minmax(0,1fr)}.similar-card-body{padding:14px;gap:8px}.pd-similar-price{font-size:1.1rem}.similar-card h3{font-size:.9rem}.pd-similar-image{aspect-ratio:16/9}.pd-contact-actions{grid-template-columns:minmax(0,1fr) auto}}

/* V3 · precio y contacto: tarjeta editorial, sin posicionamiento fuera de la columna. */
.property-page .property-heading{font-size:clamp(1.32rem,2.1vw,1.95rem);font-weight:700;letter-spacing:-.027em;line-height:1.27;margin:9px 0 7px}
.property-page .property-top{padding-bottom:20px}
.property-page .property-layout{align-items:start;isolation:isolate}
.property-page .pd-summary-column{align-self:stretch;min-height:0;overflow:visible}
.property-page .property-summary{border-radius:16px;border-color:#e0e4ed;box-shadow:0 8px 28px rgba(19,19,83,.055);background:#fff;position:static;top:auto}
.property-page .pd-summary-head{padding:19px 19px 16px;background:#fff;border-bottom:1px solid #e8eaf1;position:relative}
.property-page .pd-summary-head::before{content:'';display:block;width:27px;height:3px;background:var(--pd-coral);border-radius:4px;margin-bottom:12px}
.property-page .property-summary-label{font-size:.76rem;color:#657185;font-weight:500}
.property-page .property-summary-price{font-size:clamp(1.5rem,2.05vw,1.83rem);font-weight:700;line-height:1.25;letter-spacing:-.045em;margin:4px 0 3px}
.property-page .pd-currency{font-size:.7rem;color:#68748b}
.property-page .pd-summary-body{padding:0 19px 17px}
.property-page .property-summary-row{font-size:.78rem;padding:10px 0;gap:8px;border-color:#edf0f5}
.property-page .property-summary-row strong{font-weight:600;line-height:1.4}
.property-page .pd-advisor{gap:10px;margin:14px 0 8px}
.property-page .pd-advisor-mark{width:34px;height:34px;flex-basis:34px;border-radius:9px;background:#f4f5fa}
.property-page .pd-advisor-mark img{width:22px;height:22px}
.property-page .pd-advisor strong{font-size:.79rem;font-weight:600;color:var(--pd-navy)}
.property-page .pd-advisor small{font-size:.72rem}
.property-page .pd-contact-note{font-size:.75rem;line-height:1.45;margin:0 0 12px}
.property-page .pd-contact-actions{grid-template-columns:minmax(0,1fr) auto;gap:7px}
.property-page .property-summary .pd-btn{min-height:40px;border-radius:9px;font-size:.76rem;padding:8px 10px;gap:6px;line-height:1.3;box-shadow:none;transform:none;animation:none}
.property-page .property-summary .pd-btn:hover{transform:none;animation:none}
.property-page .property-summary .pd-primary{background:var(--pd-navy);border-color:var(--pd-navy)}
.property-page .property-summary .pd-primary:hover{background:#292969}
.property-page .property-summary .pd-outline{color:var(--pd-navy);border-color:#dce1ed}
.property-page .property-summary .pd-outline:hover{background:#f5f6fb}
.property-page .pd-contact-actions .pd-btn:only-child{grid-column:1/-1}
@media(min-width:992px){.property-page .pd-summary-column.pd-sticky-ready .property-summary{position:sticky;top:var(--pd-sticky-top,96px)}}
@media(max-width:991px){.property-page .property-summary{width:100%;max-width:none}.property-page .pd-summary-column{align-self:auto}.property-page .property-summary-price{font-size:1.65rem}}
@media(max-width:575px){.property-page .property-heading{font-size:1.32rem}.property-page .property-top{padding-bottom:15px}.property-page .pd-summary-head{padding:15px 16px 13px}.property-page .pd-summary-body{padding:0 16px 15px}}
@media(max-width:350px){.property-page .pd-contact-actions{grid-template-columns:minmax(0,1fr)} }
.property-page .pd-contact-actions svg{flex:0 0 auto;display:block}
