/* CÉLESTE mobile UX layer (390/414/768): sticky filter bar + sheet, unit cards, plans pan/zoom + bottom sheet, rent widget as full-height sheet. */
:root{--hh:64px}
.card-link{color:inherit;text-decoration:none}
.card-link::after{content:"";position:absolute;inset:0;z-index:1}
.card.unit .card-req{position:relative;z-index:2;width:100%;justify-content:center;min-height:48px;margin-top:10px;font-size:1rem}
.card.unit .thumb.has-photo{padding:0}
.card.unit .thumb.has-photo img{object-fit:cover;mix-blend-mode:normal}
.card.unit .thumb img{aspect-ratio:4/3;height:auto}
.card.unit:hover{transform:none}
.m-bar{display:flex;align-items:center;gap:8px;position:sticky;top:var(--hh);z-index:40;background:rgba(248,245,240,.96);padding:8px 0;margin:16px 0 0;border-bottom:1px solid var(--line)}
.m-bar .fp-filter{flex:1;min-width:0;margin:0!important;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:2px 0}
.m-bar .fp-filter::-webkit-scrollbar{display:none}
.m-bar .fp-f{flex:none;white-space:nowrap}
.m-filters{flex:none;gap:6px;cursor:pointer}
.m-n{background:var(--ink);color:#fff;border-radius:999px;min-width:1.5em;padding:2px 6px;font-size:.75rem;text-align:center}
.fs-head,.fs-back{display:none}
.fp-fl{display:inline}
.fp-grab,.fp-back{display:none}
body.fp-sheet,body.fs-open{overflow:hidden}
.fp-stage{overflow:hidden;position:relative;touch-action:pan-y;overscroll-behavior:contain}
.fp-svg{transform-origin:0 0;will-change:transform;touch-action:inherit}
.fp-stage .fp-unit{touch-action:inherit}
.rw-more{margin:12px 0 4px}
.rw-more>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:var(--sky-deep);list-style:revert}
.rw-more[open]>summary{margin-bottom:8px}
.rw-first{margin-bottom:6px}
.rw-foot{margin-top:10px}
@media (max-width:900px){
 .fp-open .fp-body{grid-template-columns:1fr}
 .fp-back{display:block;position:fixed;inset:0;z-index:94;background:rgba(10,16,21,.45)}
 .fp-back[hidden]{display:none}
 .fp-panel{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:95;max-height:78dvh;padding:6px 18px calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;overscroll-behavior:contain;transition:transform .25s var(--ease);animation:fpUp .25s var(--ease)}
 .fp-grab{display:flex;justify-content:center;padding:8px 0 10px;margin:0 -18px;touch-action:pan-y}
 .fp-grab i{width:44px;height:5px;border-radius:3px;background:var(--line-2)}
 .fp-p-cta{position:sticky;bottom:calc(-1 * (18px + env(safe-area-inset-bottom)));background:var(--paper);padding:10px 0;margin:6px 0 10px;z-index:2}
 .fp-p-cta .btn{flex:1 1 140px;justify-content:center;min-height:48px}
 .fp-p-cta [data-fp-req]{flex:2 1 200px}
}
@keyframes fpUp{from{transform:translateY(40%);opacity:.4}to{transform:none;opacity:1}}
@media (max-width:768px){
 header.site .bar{height:64px}header.site.solid .bar{height:52px}
 header.site .logo img{width:150px}header.site.solid .logo img{width:128px}
 .phero{min-height:0}.phero>img,.phero picture{max-height:150px;object-fit:cover}
 .phero .wrap p:not(.crumbs){display:none}
 .avail-panel,.legend{display:none}
 .list-bar{margin:10px 0}
 /* filters form -> bottom sheet */
 .filters[data-fsheet]{position:fixed;left:0;right:0;bottom:0;z-index:120;background:var(--paper);border-radius:20px 20px 0 0;padding:14px 18px calc(18px + env(safe-area-inset-bottom));max-height:88dvh;overflow:auto;display:flex;flex-direction:column;gap:12px;transform:translateY(105%);transition:transform .25s var(--ease);visibility:hidden;box-shadow:0 -12px 40px -12px rgba(28,42,52,.4)}
 .filters[data-fsheet]{margin-top:0;border:0;align-items:stretch;flex-wrap:nowrap}
 .filters[data-fsheet] label{flex:none}
 .fs-head{flex:none}
 .filters[data-fsheet].is-open{transform:none;visibility:visible}
 .filters[data-fsheet] select{width:100%;min-height:48px;font-size:1rem}
 .filters[data-fsheet] .btn{min-height:48px;justify-content:center}
 .filters[data-fsheet] .reset{min-height:44px;display:flex;align-items:center;justify-content:center}
 .fs-head{display:flex;justify-content:space-between;align-items:center;font-size:1.2rem}
 .fs-x{width:44px;height:44px;border:0;border-radius:50%;background:var(--sand);font-size:1.6rem;line-height:1;cursor:pointer}
 .fs-back{position:fixed;inset:0;z-index:110;background:rgba(10,16,21,.5)}
 .fs-back[hidden]{display:none}
 .grid{grid-template-columns:1fr;gap:16px}
 .card.unit{display:grid;grid-template-columns:132px 1fr;align-items:stretch}
 .card.unit .thumb{aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--line);min-height:100%}
 .card.unit .thumb img{height:100%;aspect-ratio:auto}
 .card.unit.has-nothing{display:block}
 .card .body{padding:12px 14px}
 .card h3{font-size:1.3rem}
 .card .go{display:none}
 .card .thumb .badge{left:6px;top:6px;font-size:.66rem}
 .card.unit .price{font-size:1.1rem}
 /* rent widget: full-height sheet */
 .rw-btn{min-height:52px}
 .rw-panel{left:0;right:0;top:0;bottom:0;width:auto;height:var(--vvh,100dvh);max-height:none;border-radius:0;display:flex;flex-direction:column;padding:0;overflow:hidden}
 .rw-head{margin:0;padding:calc(10px + env(safe-area-inset-top)) 16px 8px;border-bottom:1px solid var(--line)}
 .rw-head h2{font-size:1.4rem}
 .rw-form{flex:1;min-height:0;overflow:auto;padding:12px 16px 0;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column}
 .rw-form .rw-foot{position:sticky;bottom:0;margin:auto -16px 0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line)}
 .rw-form .rw-foot .rw-submit{margin:0;min-height:52px}
 .rw-intro{display:none}
 .rw-form input:not([type=checkbox]):not([type=radio]),.rw-form select,.rw-form textarea{font-size:16px;min-height:48px}
 .rw-cp label{min-height:44px}
 .rw-form .check{min-height:44px;align-items:flex-start;padding:6px 0}
 .rw-form .check input{width:24px;height:24px;flex:none}
 .rw-done{flex:1;overflow:auto;padding:30px 20px}
 /* plans */
 .fp-bar{flex-direction:column;align-items:stretch;gap:10px}
 .fp-seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;width:100%;padding:4px;border-radius:14px}
 .fp-seg button{justify-content:center;min-height:48px;padding:8px 6px;font-size:1rem;border-radius:11px}
 .fp-floors .fp-fl{display:none}
 .fp-floors button{flex-direction:column;gap:2px}
 .fp-filter{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.fp-filter::-webkit-scrollbar{display:none}
 .fp-filter .fp-f{flex:none;white-space:nowrap}
 .fp-total{flex:none;white-space:nowrap}
 .fp-zoom button{width:48px;height:48px;font-size:1.3rem}
 .fp-stage{max-height:none}
}
@media (min-width:769px){.m-filters{display:none}.m-bar{position:static;background:none;border:0;padding:0;margin:0}.m-bar .fp-filter{flex-wrap:wrap;overflow:visible}}
@media (max-width:768px){
 .cb{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));max-width:none;padding:12px 14px;border-radius:12px}
 .cb-t{font-size:1rem;margin-bottom:4px}.cb-x{font-size:.78rem;line-height:1.4;margin-bottom:8px}
 .cb-b{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.cb-b .btn{padding:8px 6px;min-height:44px;font-size:.78rem;justify-content:center}
 .cb-reopen{min-height:44px;padding:0 14px}
 .phero .wrap{padding-top:36px;padding-bottom:22px}.phero h1{font-size:2rem}.phero>img{height:100%}
 header.site .logo{padding:9px 0;min-height:44px;display:flex;align-items:center}
 .lang-sw a,.lang-sw button{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
 .btn-sm{min-height:44px}
 .card-link{display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:4px 0}
 .crumbs a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
 footer.site a{display:inline-flex;align-items:center;min-height:44px}
 .cb-x a,.rw-form .check a{display:inline-block;padding:13px 4px;margin:-13px -4px}
 .lc-box a,[data-lang-chooser] a{min-height:44px}
 .fp-p-more a{display:inline-flex;align-items:center;min-height:44px}
}
@media (prefers-reduced-motion:reduce){.fp-panel,.filters[data-fsheet]{transition:none;animation:none}}
