/* Home layout: boxed content (1320px), full width only for hero, "Thinking of selling?" band and footer. */
body[data-page=index]{--box:1320px;--page-gutter:max(20px,calc((100% - var(--box))/2),4vw)}
/* Floating capsule header aligned with the box */
body[data-page=index] .portal-header{position:fixed!important;top:0!important;left:0;right:0;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:0!important;padding:14px var(--page-gutter) 0!important;pointer-events:none}
body[data-page=index] .portal-header .hdr-in{pointer-events:auto;max-width:var(--box)!important;margin:0 auto!important;background:rgba(24,24,27,.72)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:999px!important;padding:8px 8px 8px 24px!important}
/* Hero: edge to edge, rounded bottom corners, text aligned with the box */
body[data-page=index] .full-hero{border-radius:0 0 32px 32px!important;min-height:72svh!important}
@media(max-width:600px){body[data-page=index] .full-hero{border-radius:0 0 24px 24px!important}body[data-page=index] .portal-header{padding:10px 12px 0!important}body[data-page=index] .portal-header .hdr-in{padding:6px 6px 6px 16px!important}}
/* Open mobile menu: rounded panel instead of a pill */
body[data-page=index] .portal-header .hdr-in:has(.menu-btn[aria-expanded=true]){border-radius:28px!important;background:rgba(24,24,27,.96)!important}
/* Tablet + mobile: shorter hero, smaller type and buttons */
@media(max-width:1080px){
body[data-page=index] .full-hero{min-height:0!important}
body[data-page=index] #top .hero-in{padding-top:136px!important;padding-bottom:28px!important;gap:22px!important}
body[data-page=index] #top h1{font-size:clamp(34px,6.2vw,50px)!important;line-height:1.06!important}
body[data-page=index] #top p{font-size:16px!important;line-height:1.6!important}
body[data-page=index] #top a.btn-primary,body[data-page=index] #top a.btn-glass{height:48px!important;font-size:14px!important;padding-left:20px!important}
body[data-page=index] #top a .btn-ico{width:32px!important;height:32px!important}
body[data-page=index] #top [data-search-button]{flex:1 1 100%!important;width:100%!important;min-width:0!important;height:52px!important;font-size:14px!important}
}
@media(max-width:600px){
body[data-page=index] #top .hero-in{padding-top:100px!important;padding-bottom:20px!important;gap:18px!important}
body[data-page=index] #top h1{font-size:34px!important}
body[data-page=index] #top p{font-size:15px!important}
body[data-page=index] #top a.btn-primary,body[data-page=index] #top a.btn-glass{height:46px!important}
body[data-page=index] #top [data-search-button]{height:48px!important}
}
/* Valuation form: property type as a dropdown on mobile (synced with the buttons by home-mobile.js) */
.ptype-select{display:none}
@media(max-width:700px){
body[data-page=index] #sell fieldset.has-ptype-select>div{display:none!important}
body[data-page=index] #sell .ptype-select{display:block;width:100%;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23E7CFA7' stroke-width='1.6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 16px center!important;padding-right:44px!important;cursor:pointer}
}
@media(max-width:700px){body[data-page=index] #sell input.field,body[data-page=index] #sell select.ptype-select{height:48px!important;font-size:15px!important}}
/* Header on one line: compact links up to 1500px, menu button below 1300px */
@media(min-width:1300px){body[data-page=index] .portal-header .hdr-in{flex-wrap:nowrap!important}}
@media(min-width:1300px) and (max-width:1500px){body[data-page=index] .nav-desktop .navlink{padding:10px 10px!important}body[data-page=index] .portal-header .hdr-in{column-gap:16px!important}}
@media(max-width:1299px){body[data-page=index] .nav-desktop{display:none!important}body[data-page=index] .menu-btn{display:inline-flex!important}}
/* Blog cards: cover image */
body[data-page=index] .post{overflow:hidden}
body[data-page=index] .post-cover{display:block;width:calc(100% + 40px);max-width:none;margin:-20px -20px 4px;aspect-ratio:16/10;height:auto;object-fit:cover;border-radius:20px;background:#1f1f23}
/* Mobile: zones, featured properties, testimonials and blog slide sideways */
@media(max-width:700px){
body[data-page=index] :is(#areas,#properties,#guides,section.fluid-section:not([id])) :is(.hrow,.property-track){display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;gap:12px!important;margin:0 calc(-1 * var(--page-gutter))!important;padding:0 var(--page-gutter) 8px!important;scroll-padding-inline:var(--page-gutter);scrollbar-width:none}
body[data-page=index] :is(#areas,#properties,#guides,section.fluid-section:not([id])) :is(.hrow,.property-track)::-webkit-scrollbar{display:none}
body[data-page=index] :is(#areas,#properties,#guides,section.fluid-section:not([id])) :is(.hrow,.property-track)>*{flex:0 0 84%!important;min-width:0;scroll-snap-align:start}
body[data-page=index] :is(#areas,#guides,section.fluid-section:not([id])) .swipe-hint{display:inline-flex!important}
}
/* Mobile footer: centred */
@media(max-width:700px){body[data-page=index] footer#contact .full-band,body[data-page=index] footer#contact .full-band :is(div,nav,span,a,button,h2){text-align:center!important}body[data-page=index] footer#contact .full-band :is(div,nav){justify-content:center!important;align-items:center!important}body[data-page=index] footer#contact .full-band img{margin-inline:auto!important}}
/* Properties page: same boxed layout, capsule header and centred mobile footer as the home */
body[data-page=listings]{--box:1320px;--page-gutter:max(20px,calc((100% - var(--box))/2),4vw)}
body[data-page=listings] .portal-header{position:fixed!important;top:0!important;left:0;right:0;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:0!important;padding:14px var(--page-gutter) 0!important;pointer-events:none}
body[data-page=listings] .portal-header .hdr-in{pointer-events:auto;max-width:var(--box)!important;margin:0 auto!important;background:rgba(24,24,27,.72)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:999px!important;padding:8px 8px 8px 24px!important}
@media(max-width:600px){body[data-page=listings] .full-hero{border-radius:0 0 24px 24px!important}body[data-page=listings] .portal-header{padding:10px 12px 0!important}body[data-page=listings] .portal-header .hdr-in{padding:6px 6px 6px 16px!important}}
body[data-page=listings] .portal-header .hdr-in:has(.menu-btn[aria-expanded=true]){border-radius:28px!important;background:rgba(24,24,27,.96)!important}
@media(min-width:1300px){body[data-page=listings] .portal-header .hdr-in{flex-wrap:nowrap!important}}
@media(min-width:1300px) and (max-width:1500px){body[data-page=listings] .nav-desktop .navlink{padding:10px 10px!important}body[data-page=listings] .portal-header .hdr-in{column-gap:16px!important}}
@media(max-width:1299px){body[data-page=listings] .nav-desktop{display:none!important}body[data-page=listings] .menu-btn{display:inline-flex!important}}
@media(max-width:700px){body[data-page=listings] footer#contact .full-band,body[data-page=listings] footer#contact .full-band :is(div,nav,span,a,button,h2){text-align:center!important}body[data-page=listings] footer#contact .full-band :is(div,nav){justify-content:center!important;align-items:center!important}body[data-page=listings] footer#contact .full-band img{margin-inline:auto!important}}
@media(max-width:600px){body[data-page=listings] .portal-header{padding:10px 12px 0!important}body[data-page=listings] .portal-header .hdr-in{padding:6px 6px 6px 16px!important}}
body[data-page=listings] .portal-page{padding-top:128px!important}
@media(max-width:600px){body[data-page=listings] .portal-page{padding-top:96px!important}}
/* Max 4 property cards per row (home + properties page) */
@media(min-width:1180px){body:is([data-page=index],[data-page=listings]) :is(.property-track,.listing-grid){--columns:4!important}}
/* Properties page: numbered pagination below the results */
.catalog-pager{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding-top:8px}
.catalog-pager[hidden]{display:none!important}
.pager-btn{min-width:48px;height:48px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:#1a1a1d;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.pager-btn:not([disabled]):hover{border-color:#E7CFA7;color:#E7CFA7}
.pager-btn[aria-current=page]{background:#E7CFA7;border-color:#E7CFA7;color:#141416}
.pager-btn[disabled]{opacity:.35;cursor:default}
.pager-prev,.pager-next{font-size:20px;line-height:1}
.pager-gap{color:#9e9a93;padding:0 2px}
@media(max-width:600px){.catalog-pager{gap:6px}.pager-btn{min-width:42px;height:42px;padding:0 10px;font-size:14px}}
/* Property detail page: same boxed layout, capsule header and centred mobile footer as the home */
body[data-page=property]{--box:1320px;--page-gutter:max(20px,calc((100% - var(--box))/2),4vw)}
body[data-page=property] .portal-header{position:fixed!important;top:0!important;left:0;right:0;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:0!important;padding:14px var(--page-gutter) 0!important;pointer-events:none}
body[data-page=property] .portal-header .hdr-in{pointer-events:auto;max-width:var(--box)!important;margin:0 auto!important;background:rgba(24,24,27,.72)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:999px!important;padding:8px 8px 8px 24px!important}
@media(max-width:600px){body[data-page=property] .portal-header{padding:10px 12px 0!important}body[data-page=property] .portal-header .hdr-in{padding:6px 6px 6px 16px!important}}
body[data-page=property] .portal-header .hdr-in:has(.menu-btn[aria-expanded=true]){border-radius:28px!important;background:rgba(24,24,27,.96)!important}
@media(min-width:1300px){body[data-page=property] .portal-header .hdr-in{flex-wrap:nowrap!important}}
@media(min-width:1300px) and (max-width:1500px){body[data-page=property] .nav-desktop .navlink{padding:10px 10px!important}body[data-page=property] .portal-header .hdr-in{column-gap:16px!important}}
@media(max-width:1299px){body[data-page=property] .nav-desktop{display:none!important}body[data-page=property] .menu-btn{display:inline-flex!important}}
@media(max-width:700px){body[data-page=property] footer#contact .full-band,body[data-page=property] footer#contact .full-band :is(div,nav,span,a,button,h2){text-align:center!important}body[data-page=property] footer#contact .full-band :is(div,nav){justify-content:center!important;align-items:center!important}body[data-page=property] footer#contact .full-band img{margin-inline:auto!important}}
@media(max-width:600px){body[data-page=property] .portal-header{padding:10px 12px 0!important}body[data-page=property] .portal-header .hdr-in{padding:6px 6px 6px 16px!important}}
body[data-page=property] .portal-page{padding-top:128px!important}
@media(max-width:600px){body[data-page=property] .portal-page{padding-top:96px!important}}
/* Property page: smaller title and price */
body[data-page=property] .property-top h1{font-size:clamp(26px,2.2vw,34px)!important;line-height:1.15!important;max-width:30ch}
body[data-page=property] .property-top .property-price{font-size:clamp(24px,1.9vw,30px)!important}
@media(max-width:700px){body[data-page=property] .property-top h1{font-size:26px!important}body[data-page=property] .property-top .property-price{font-size:24px!important}}
/* Key facts with icons */
body[data-page=property] .detail-fact.has-ico{grid-template-columns:auto 1fr;column-gap:12px;align-items:center}
body[data-page=property] .detail-fact .fact-ico{grid-row:span 2;width:40px;height:40px;border-radius:12px;background:rgba(231,207,167,.1);color:#E7CFA7;display:flex;align-items:center;justify-content:center}
body[data-page=property] .detail-fact.has-ico strong{font-size:19px}
/* Gallery shortcut buttons */
body[data-page=property] .detail-gallery{position:relative}
body[data-page=property] .gallery-shortcuts{position:absolute;left:16px;bottom:16px;z-index:2;display:flex;flex-wrap:wrap;gap:8px;max-width:calc(100% - 32px);pointer-events:none}
body[data-page=property] .gallery-shortcut{pointer-events:auto;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:999px;background:rgba(20,20,22,.62);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s,color .2s}
body[data-page=property] .gallery-shortcut:hover,body[data-page=property] .gallery-shortcut:focus-visible{background:#E7CFA7;color:#141416;outline:none}
@media(max-width:640px){body[data-page=property] .gallery-shortcuts{left:10px;bottom:10px;gap:6px}body[data-page=property] .gallery-shortcut{height:34px;padding:0 11px;font-size:12px}}
/* Mobile: gallery shortcuts on one scrollable row */
@media(max-width:640px){body[data-page=property] .gallery-shortcuts{flex-wrap:nowrap;overflow-x:auto;right:10px;max-width:none;scrollbar-width:none;padding-bottom:2px}body[data-page=property] .gallery-shortcuts::-webkit-scrollbar{display:none}body[data-page=property] .gallery-shortcut{flex:none}}
/* Property page: hide the feature chips above the description (they repeat the Features section) */
body[data-page=property] .detail-body>.portal-chips{display:none!important}
/* Floor plans: horizontal strip */
body[data-page=property] .detail-media.plans-on .media-choices,body[data-page=property] .detail-media.plans-on>.portal-stack{display:none!important}
body[data-page=property] .detail-media:not(.plans-on) .plan-strip{display:none}
body[data-page=property] .plan-strip{position:relative;margin-top:16px}
body[data-page=property] .plan-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px}
body[data-page=property] .plan-track::-webkit-scrollbar{display:none}
body[data-page=property] .plan-item{flex:0 0 min(78%,560px);scroll-snap-align:start;position:relative;height:clamp(260px,34vw,440px);padding:0;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:#fff;overflow:hidden;cursor:zoom-in}
body[data-page=property] .plan-strip.single .plan-item{flex-basis:100%}
body[data-page=property] .plan-item img{width:100%;height:100%;object-fit:contain;display:block;padding:12px;box-sizing:border-box}
body[data-page=property] .plan-num{position:absolute;left:12px;bottom:12px;font-size:12px;font-weight:600;color:#fff;background:rgba(20,20,22,.7);border-radius:999px;padding:5px 10px}
body[data-page=property] .plan-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(20,20,22,.7);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
body[data-page=property] .plan-nav:disabled{opacity:0;pointer-events:none}
body[data-page=property] .plan-nav-prev{left:10px}
body[data-page=property] .plan-nav-next{right:10px}
@media(hover:none){body[data-page=property] .plan-nav{display:none}}
@media(max-width:640px){body[data-page=property] .plan-item{flex-basis:86%;height:240px}}
/* Floor plan viewer */
html.plan-lb-open{overflow:hidden}
.plan-lb{position:fixed;inset:0;z-index:1000;background:rgba(10,10,12,.94)}
.plan-lb[hidden]{display:none}
.plan-lb-view{position:absolute;inset:0;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none;user-select:none;-webkit-user-select:none}
.plan-lb.zoomed .plan-lb-view{overflow:auto;display:block;cursor:grab}
.plan-lb-view.grabbing{cursor:grabbing!important}
.plan-lb-view img{max-width:calc(100% - 32px);max-height:calc(100% - 140px);background:#fff;border-radius:12px;display:block;cursor:zoom-in}
.plan-lb.zoomed .plan-lb-view img{max-width:none;max-height:none;margin:0;border-radius:0;cursor:inherit}
.plan-lb-btn{width:48px;height:48px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(36,36,40,.85);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,color .2s}
.plan-lb-btn:hover,.plan-lb-btn:focus-visible{background:#E7CFA7;color:#141416;outline:none}
.plan-lb-close{position:absolute;top:16px;right:16px}
.plan-lb-prev,.plan-lb-next{position:absolute;top:50%;transform:translateY(-50%)}
.plan-lb-prev{left:16px}.plan-lb-next{right:16px}
.plan-lb.single .plan-lb-prev,.plan-lb.single .plan-lb-next{display:none}
.plan-lb-bar{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:6px;border-radius:999px;background:rgba(36,36,40,.85);border:1px solid rgba(255,255,255,.12)}
.plan-lb-bar .plan-lb-btn{width:40px;height:40px;border:0;background:transparent}
.plan-lb-count{min-width:52px;text-align:center;font-size:13px;font-weight:600;color:#fff}
.plan-lb.single .plan-lb-count{display:none}
@media(max-width:640px){.plan-lb-prev,.plan-lb-next{top:auto;bottom:20px;transform:none}.plan-lb-close{top:12px;right:12px}}
body[data-page=property] .plan-item img{background:#fff!important}
/* Property header: compact spacing, icon buttons next to the price, share menu */
body[data-page=property] .property-top{gap:12px!important;margin-bottom:20px!important}
body[data-page=property] .property-top .portal-chips{gap:6px!important}
body[data-page=property] .property-top .portal-chips span{padding-top:5px!important;padding-bottom:5px!important;font-size:12px!important}
body[data-page=property] .property-top .property-title-row{align-items:flex-end!important}
body[data-page=property] .property-top .property-title-row p{margin:4px 0 0!important}
body[data-page=property] .price-box{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:20px;row-gap:2px}
body[data-page=property] .price-box .property-price{grid-column:1;grid-row:1}
body[data-page=property] .price-box .property-reference{grid-column:1;grid-row:2}
body[data-page=property] .price-box .prop-actions{grid-column:2;grid-row:1/span 2;position:relative;display:flex;flex-wrap:nowrap;gap:8px!important;margin:0!important}
body[data-page=property] .prop-actions .portal-button{width:44px;min-width:44px;height:44px;padding:0!important;font-size:0!important;gap:0!important;justify-content:center;align-items:center;border-radius:999px}
body[data-page=property] .prop-actions .portal-button::before{content:"";width:20px;height:20px;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
body[data-page=property] .prop-actions .act-save{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E")}
body[data-page=property] .prop-actions .act-save[aria-pressed=true]{color:#E7CFA7;--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E")}
body[data-page=property] .prop-actions .act-share{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='2.5'/%3E%3Ccircle cx='6' cy='12' r='2.5'/%3E%3Ccircle cx='18' cy='19' r='2.5'/%3E%3Cpath d='M8.2 10.8l7.6-4.4M8.2 13.2l7.6 4.4'/%3E%3C/svg%3E")}
body[data-page=property] .prop-actions .act-print{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M7 9V3h10v6M7 17H4v-7h16v7h-3'/%3E%3Cpath d='M7 14h10v7H7z'/%3E%3C/svg%3E")}
body[data-page=property] .prop-actions .act-share[aria-expanded=true]{background:#E7CFA7;color:#141416}
body[data-page=property] .share-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:30;min-width:220px;display:flex;flex-direction:column;padding:6px;background:#1F1F23;border:1px solid rgba(255,255,255,.12);border-radius:18px;box-shadow:0 18px 40px rgba(0,0,0,.45)}
body[data-page=property] .share-menu[hidden]{display:none}
body[data-page=property] .share-item{display:flex;align-items:center;gap:12px;height:44px;padding:0 12px;border:0;border-radius:12px;background:transparent;color:#F0F0F0;font:inherit;font-size:14px;font-weight:500;text-align:left;text-decoration:none;cursor:pointer}
body[data-page=property] .share-item svg{color:#E7CFA7;flex:none}
body[data-page=property] .share-item:hover,body[data-page=property] .share-item:focus-visible{background:rgba(255,255,255,.07);color:#fff;outline:none}
body[data-page=property] .property-top .portal-status:not(:empty){display:block!important;margin:0!important;font-size:13px}
@media(max-width:700px){
body[data-page=property] .property-top{gap:10px!important}
body[data-page=property] .property-top .property-title-row{flex-direction:column!important;align-items:stretch!important;gap:12px!important}
body[data-page=property] .price-box{grid-template-columns:1fr auto;width:100%}
body[data-page=property] .prop-actions .portal-button{width:40px;min-width:40px;height:40px}
body[data-page=property] .prop-actions .portal-button::before{width:18px;height:18px}
}
body[data-page=property] .price-box .property-price{margin:0!important;line-height:1.15!important}body[data-page=property] .price-box .property-reference{margin:2px 0 0!important}
/* Cards: hide the 'Available' label (reserved etc. stay visible) */
.property-status.is-available{display:none!important}
/* Buying process page: same boxed layout, capsule header and centred mobile footer as the home */
body[data-page=buy]{--box:1320px;--page-gutter:max(20px,calc((100% - var(--box))/2),4vw)}
body[data-page=buy] .portal-header{position:fixed!important;top:0!important;left:0;right:0;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:0!important;padding:14px var(--page-gutter) 0!important;pointer-events:none}
body[data-page=buy] .portal-header .hdr-in{pointer-events:auto;max-width:var(--box)!important;margin:0 auto!important;background:rgba(24,24,27,.72)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:999px!important;padding:8px 8px 8px 24px!important}
@media(max-width:600px){body[data-page=buy] .portal-header{padding:10px 12px 0!important}body[data-page=buy] .portal-header .hdr-in{padding:6px 6px 6px 16px!important}}
body[data-page=buy] .portal-header .hdr-in:has(.menu-btn[aria-expanded=true]){border-radius:28px!important;background:rgba(24,24,27,.96)!important}
@media(min-width:1300px){body[data-page=buy] .portal-header .hdr-in{flex-wrap:nowrap!important}}
@media(min-width:1300px) and (max-width:1500px){body[data-page=buy] .nav-desktop .navlink{padding:10px 10px!important}body[data-page=buy] .portal-header .hdr-in{column-gap:16px!important}}
@media(max-width:1299px){body[data-page=buy] .nav-desktop{display:none!important}body[data-page=buy] .menu-btn{display:inline-flex!important}}
@media(max-width:700px){body[data-page=buy] footer#contact .full-band,body[data-page=buy] footer#contact .full-band :is(div,nav,span,a,button,h2){text-align:center!important}body[data-page=buy] footer#contact .full-band :is(div,nav){justify-content:center!important;align-items:center!important}body[data-page=buy] footer#contact .full-band img{margin-inline:auto!important}}
@media(max-width:600px){body[data-page=buy] .portal-header{padding:10px 12px 0!important}body[data-page=buy] .portal-header .hdr-in{padding:6px 6px 6px 16px!important}}
body[data-page=buy] #top{padding-top:140px!important}
@media(max-width:600px){body[data-page=buy] #top{padding-top:104px!important}}
/* Hero stats on the photo: three equal columns with dividers */
body[data-page=buy] .hero-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;padding:0!important;overflow:hidden}
body[data-page=buy] .hero-stats>span{padding:18px 22px;gap:6px!important;justify-content:flex-start}
body[data-page=buy] .hero-stats>span+span{border-left:1px solid rgba(255,255,255,.14)}
body[data-page=buy] .hero-stats>span>span:first-child{font-family:'Playfair Display',Georgia,serif!important;font-size:40px!important;font-weight:400!important;line-height:1!important;color:#E7CFA7!important}
body[data-page=buy] .hero-stats>span>span:last-child{font-size:13px!important;line-height:1.35!important;color:#D9D6D0!important}
@media(max-width:600px){body[data-page=buy] .hero-stats>span{padding:14px 12px}body[data-page=buy] .hero-stats>span>span:first-child{font-size:30px!important}body[data-page=buy] .hero-stats>span>span:last-child{font-size:12px!important}}
/* Hero photo: same height as the text column instead of stretching */
body[data-page=buy] #top div:has(> .hero-stats){align-self:center!important;min-height:0!important;height:clamp(420px,34vw,540px)!important}
@media(max-width:860px){body[data-page=buy] #top div:has(> .hero-stats){height:auto!important;aspect-ratio:4/3;min-height:0!important}}
@media(max-width:600px){body[data-page=buy] #top div:has(> .hero-stats){aspect-ratio:auto;height:360px!important}}
/* Sell page: same boxed layout, capsule header and centred mobile footer as the home */
body[data-page=sell]{--box:1320px;--page-gutter:max(20px,calc((100% - var(--box))/2),4vw)}
body[data-page=sell] .portal-header{position:fixed!important;top:0!important;left:0;right:0;background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:0!important;padding:14px var(--page-gutter) 0!important;pointer-events:none}
body[data-page=sell] .portal-header .hdr-in{pointer-events:auto;max-width:var(--box)!important;margin:0 auto!important;background:rgba(24,24,27,.72)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:999px!important;padding:8px 8px 8px 24px!important}
@media(max-width:600px){body[data-page=sell] .portal-header{padding:10px 12px 0!important}body[data-page=sell] .portal-header .hdr-in{padding:6px 6px 6px 16px!important}}
body[data-page=sell] .portal-header .hdr-in:has(.menu-btn[aria-expanded=true]){border-radius:28px!important;background:rgba(24,24,27,.96)!important}
@media(min-width:1300px){body[data-page=sell] .portal-header .hdr-in{flex-wrap:nowrap!important}}
@media(min-width:1300px) and (max-width:1500px){body[data-page=sell] .nav-desktop .navlink{padding:10px 10px!important}body[data-page=sell] .portal-header .hdr-in{column-gap:16px!important}}
@media(max-width:1299px){body[data-page=sell] .nav-desktop{display:none!important}body[data-page=sell] .menu-btn{display:inline-flex!important}}
@media(max-width:700px){body[data-page=sell] footer#contact .full-band,body[data-page=sell] footer#contact .full-band :is(div,nav,span,a,button,h2){text-align:center!important}body[data-page=sell] footer#contact .full-band :is(div,nav){justify-content:center!important;align-items:center!important}body[data-page=sell] footer#contact .full-band img{margin-inline:auto!important}}
@media(max-width:600px){body[data-page=sell] .portal-header{padding:10px 12px 0!important}body[data-page=sell] .portal-header .hdr-in{padding:6px 6px 6px 16px!important}}
/* Magazine reader: page-turning spreads with zoom */
html.mag-open{overflow:hidden}
.mag-reader{position:fixed;inset:0;z-index:1000;background:radial-gradient(120% 90% at 50% 40%,#26262b 0%,#101012 70%);display:flex;flex-direction:column;color:#fff;font-family:'Manrope',system-ui,sans-serif}
.mag-reader[hidden]{display:none}
.mag-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}
.mag-count{min-width:90px;font-size:14px;font-weight:600;color:#E4E1DC;padding-left:6px}
.mag-zoom{display:flex;gap:4px;padding:4px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}
.mag-zoom .mag-btn{width:40px;height:40px;border:0;background:transparent}
.mag-btn{width:48px;height:48px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(36,36,40,.85);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,color .2s,opacity .2s}
.mag-btn:hover,.mag-btn:focus-visible{background:#E7CFA7;color:#141416;outline:none}
.mag-btn:disabled{opacity:.25;pointer-events:none}
.mag-stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;padding:0 72px 28px}
.mag-reader.zoomed .mag-stage{cursor:grab}
.mag-stage.grabbing{cursor:grabbing!important}
.mag-book{position:relative;display:flex;perspective:2400px;transform-origin:center center;transition:transform .12s ease-out;cursor:pointer}
.mag-reader.zoomed .mag-book{cursor:inherit}
.mag-page{position:relative;flex:1 1 50%;height:100%;background:#fff;overflow:hidden}
.mag-book.single .mag-page{flex-basis:100%}
.mag-page img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.mag-page.left{border-radius:6px 0 0 6px;box-shadow:-18px 24px 50px rgba(0,0,0,.45)}
.mag-page.right{border-radius:0 6px 6px 0;box-shadow:18px 24px 50px rgba(0,0,0,.45)}
.mag-book.single .mag-page.right{border-radius:6px;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.mag-page.left::after{content:"";position:absolute;inset:0;background:linear-gradient(to left,rgba(0,0,0,.18),rgba(0,0,0,0) 12%);pointer-events:none}
.mag-page.right::after{content:"";position:absolute;inset:0;background:linear-gradient(to right,rgba(0,0,0,.16),rgba(0,0,0,0) 12%);pointer-events:none}
.mag-book.single .mag-page::after{display:none}
.mag-book.cover .mag-page.left,.mag-book.back .mag-page.right{visibility:hidden}
.mag-page.blank{background:transparent;box-shadow:none}
/* Turning leaf */
.mag-leaf{position:absolute;top:0;height:100%;width:50%;transform-style:preserve-3d;transition:transform .7s cubic-bezier(.3,.1,.25,1);z-index:3}
.mag-leaf.fwd{left:50%;transform-origin:left center}
.mag-leaf.bwd{left:0;transform-origin:right center}
.mag-leaf.fwd.turn{transform:rotateY(-180deg)}
.mag-leaf.bwd.turn{transform:rotateY(180deg)}
.mag-leaf.single{left:0;width:100%;transform-origin:left center}
.mag-leaf.single.in{transform:rotateY(-180deg)}
.mag-leaf.single.in.turn{transform:rotateY(0deg)}
.mag-leaf.single .face.back{display:none}
.mag-leaf .face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.mag-leaf .face.back{transform:rotateY(180deg)}
.mag-leaf.fwd .face.front,.mag-leaf.bwd .face.back{border-radius:0 6px 6px 0}
.mag-leaf.fwd .face.back,.mag-leaf.bwd .face.front{border-radius:6px 0 0 6px}
.mag-leaf .face::after{content:"";position:absolute;inset:0;background:linear-gradient(to right,rgba(0,0,0,.12),rgba(0,0,0,0) 30%);pointer-events:none}
/* Arrows and hint */
.mag-prev,.mag-next{position:absolute;top:50%;transform:translateY(-50%);z-index:5}
.mag-prev{left:14px}.mag-next{right:14px}
.mag-reader.zoomed .mag-prev,.mag-reader.zoomed .mag-next{opacity:0;pointer-events:none}
.mag-hint{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);font-size:12px;color:#9E9A93;white-space:nowrap;pointer-events:none}
@media(max-width:760px){
.mag-stage{padding:0 10px 64px}
.mag-prev,.mag-next{top:auto;bottom:12px;transform:none;width:44px;height:44px}
.mag-prev{left:12px}.mag-next{right:12px}
.mag-hint{bottom:26px}
.mag-zoom .mag-btn{width:36px;height:36px}
}
@media(prefers-reduced-motion:reduce){.mag-leaf,.mag-book{transition:none}}
/* Header: hide "Areas" and "Contact" (they only jump to home sections) */
header a.navlink[href*="#areas"],header a.navlink[href*="#contact"]{display:none!important}
/* Advanced search: reference input and dropdown panels */
form[role=search] .sref-input{outline:none;font-size:15px}
form[role=search] .sref-input::placeholder{color:#8F8B84;font-weight:400}
form[role=search] .sref-input::-webkit-search-cancel-button{filter:invert(1) opacity(.6)}
form[role=search] .spop{position:relative}
.spop-btn{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;display:block}
form[role=search] .spop.open{background:rgba(255,255,255,.06)}
.spop-panel{position:absolute;top:calc(100% + 10px);left:0;z-index:1000;font-family:inherit;width:max(100%,340px);padding:16px;border-radius:20px;background:#1F1F23;border:1px solid rgba(255,255,255,.12);box-shadow:0 20px 50px rgba(0,0,0,.5);display:flex;flex-direction:column;gap:14px;cursor:default}
.spop-panel[hidden]{display:none}
.spop-row{display:flex;flex-direction:column;gap:8px}
.spop-row b,.spop-col b{font-size:12px;font-weight:600;color:#9E9A93}
.spop-chips{display:flex;flex-wrap:wrap;gap:6px}
.spop-chip{height:38px;min-width:44px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:transparent;color:#E4E1DC;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.spop-chip:hover{border-color:rgba(231,207,167,.6)}
.spop-chip[aria-pressed=true]{background:#E7CFA7;border-color:#E7CFA7;color:#141416}
.spop-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.spop-col{display:flex;flex-direction:column;gap:6px;min-width:0}
.spop-select{height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:#141416;color:#F0F0F0;font:inherit;font-size:14px;padding:0 12px;cursor:pointer;width:100%}
.spop-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:4px;border-top:1px solid rgba(255,255,255,.08)}
.spop-clear{background:none;border:0;color:#B8B4AD;font:inherit;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:8px 0}
.spop-done{height:40px;padding:0 18px;border-radius:999px;border:0;background:#E7CFA7;color:#141416;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
@media(max-width:700px){.spop-panel{position:static;width:100%;margin-top:10px;box-shadow:none}}

/* Search bar: keep the five fields and the button on one line on desktop; a wrapped button fills its row */
@media(min-width:701px){form[role=search]>.sfield{flex-basis:125px!important;padding:10px 12px!important}form[role=search]>.sfield:nth-child(1){flex-basis:120px!important}form[role=search]>.sfield:nth-child(3),form[role=search]>.sfield:nth-child(5){flex-basis:160px!important}form[role=search]>.btn-primary{padding:0 20px!important}}
form[role=search]>.btn-primary{flex:1 0 auto!important}

/* Search bar on mobile: one field per row, like the current website */
@media(max-width:700px){form[role=search]>.sfield{flex:1 1 100%!important;border-bottom:1px solid rgba(255,255,255,.08)}form[role=search]>.sdiv{display:none!important}.spop-chips{gap:5px}.spop-chip{padding:0 10px;min-width:38px}}

/* Home search on mobile: collapsed to location + submit; "More filters" reveals the rest. */
.sx-more{display:none}
@media(max-width:600px){
body[data-page=index] #top form[role=search]:not(.sx-open)>.sref,body[data-page=index] #top form[role=search]:not(.sx-open)>[data-pop=property_types],body[data-page=index] #top form[role=search]:not(.sx-open)>[data-pop=rooms],body[data-page=index] #top form[role=search]:not(.sx-open)>[data-pop=price]{display:none!important}
body[data-page=index] #top form[role=search] .sx-more{display:flex;flex:1 1 100%;align-items:center;justify-content:center;gap:8px;height:44px;margin:2px 0;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#F3EFE8;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
body[data-page=index] #top form[role=search] .sx-more svg{transition:transform .2s}
body[data-page=index] #top form[role=search].sx-open .sx-more svg{transform:rotate(180deg)}
}
