/* SoftVeo EstateFlow Pro — self-contained frontend; no Elementor dependency. */
:root{--m7res-black:#171717;--m7res-purple:#63539c;--m7res-gold:#b29a75;--m7res-line:#e3e0db;--m7res-paper:#f4f3f2;--m7res-grey:#696864}
.m7res,.m7res *{box-sizing:border-box}
.m7res{font-family:Inter,Arial,sans-serif;color:var(--m7res-black);font-size:14px;line-height:1.55}
.m7res a{color:inherit;text-decoration:none}
.m7res a:hover{color:var(--m7res-purple)}
.m7res-archive-wrapper,.m7res-single-wrapper{width:min(1480px,calc(100% - 44px));margin:42px auto 75px}
.m7res-page-header{text-align:center;margin:32px 0 40px}
.m7res-page-header span,.m7res-single-label,.m7res-card-eyebrow{font-size:10px;font-weight:750;letter-spacing:.17em;text-transform:uppercase;color:var(--m7res-purple)}
.m7res-page-header h1{font:400 clamp(36px,4vw,60px)/1.15 Georgia,serif;margin:10px 0;color:var(--m7res-black)}
.m7res-page-header p{color:var(--m7res-grey);margin:0}
.m7res-search{width:100%;padding:18px 22px;background:var(--m7res-paper);border:1px solid var(--m7res-line)}
.m7res-fields{display:grid;grid-template-columns:1.16fr 1fr 1.26fr 1.08fr 1.08fr .69fr .69fr .69fr;gap:11px;align-items:end}
.m7res-fields label{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}
.m7res-fields label>span{font-size:10px;font-weight:700;letter-spacing:.07em;color:#4c4b49;text-transform:uppercase;white-space:nowrap}
.m7res-fields select{height:42px;width:100%;min-width:0;max-width:100%;padding:0 10px;border:0;border-bottom:2px solid #282828;border-radius:0;background:#fff;font-size:12px;color:var(--m7res-black);box-shadow:none;line-height:1.2}
.m7res-fields select:focus-visible,.m7res-results select:focus-visible,.m7res-enquiry input:focus-visible,.m7res-enquiry textarea:focus-visible{outline:2px solid var(--m7res-purple);outline-offset:2px}
.m7res-search-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:22px}
.m7res-tabs{display:flex;gap:5px;flex-wrap:wrap}
.m7res-tabs a{font-size:11px;font-weight:800;letter-spacing:.1em;padding:10px 18px;white-space:nowrap;border:1px solid transparent;color:#5f5d5b}
.m7res-tabs a:hover{border-color:var(--m7res-line)}
.m7res-tabs a.is-active{color:#fff;background:var(--m7res-black);border-color:var(--m7res-black)}
.m7res-search-actions{display:flex;align-items:center;gap:19px;flex-shrink:0}
.m7res-search-actions>a{font-size:12px;color:#78726d;text-decoration:underline;text-underline-offset:3px}
.m7res-search-actions button{height:42px;background:var(--m7res-black);border:1px solid var(--m7res-black);color:#fff;padding:0 23px;text-transform:uppercase;font-size:10px;letter-spacing:.09em;font-weight:800;cursor:pointer}
.m7res-search-actions button:hover,.m7res-enquiry button:hover{background:var(--m7res-purple);border-color:var(--m7res-purple)}
.m7res-search-actions button span{font-size:17px;margin-left:5px}
.m7res-results{margin-top:24px}
.m7res-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--m7res-line);padding:14px 0 18px;margin-bottom:26px;font-size:12px;color:var(--m7res-grey)}
.m7res-results-toolbar strong{font-size:17px;color:var(--m7res-black)}
.m7res-results-toolbar label{display:flex;align-items:center;gap:13px}
.m7res-results-toolbar select{border:1px solid var(--m7res-line);background:#fff;padding:8px 10px;color:var(--m7res-black);font-size:12px;height:39px;border-radius:0}
.m7res-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.m7res-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--m7res-line);background:#fff;min-width:0;transition:transform .25s ease,box-shadow .25s ease}
.m7res-card:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(0,0,0,.07)}
.m7res-card-image{display:block;overflow:hidden;aspect-ratio:1.53;background:#eeece8}
.m7res-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.m7res-card:hover .m7res-card-image img{transform:scale(1.035)}
.m7res-image-empty{width:100%;height:100%;min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;font:700 40px/1.2 Arial,sans-serif;color:#a9a49c;background:#eeece8}
.m7res-image-empty span{font-size:9px;letter-spacing:.35em}
.m7res-card-body{padding:23px 23px 24px;flex:1;display:flex;flex-direction:column}
.m7res-card-eyebrow{font-size:10px;letter-spacing:.08em;margin-bottom:10px}
.m7res-card h3{font:400 clamp(21px,1.8vw,27px)/1.35 Georgia,serif;letter-spacing:-.015em;margin:0 0 14px;overflow-wrap:anywhere;color:var(--m7res-black)}
.m7res-card-price{padding-top:13px;border-top:1px solid var(--m7res-line);margin:0 0 11px;font-size:17px;font-weight:750;color:var(--m7res-black)}
.m7res-card-facts{font-size:12px;color:#6b6863;margin:0 0 20px}
.m7res-card-link{margin-top:auto;align-self:flex-start;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:10px 14px;background:var(--m7res-black);color:#fff!important}
.m7res-card-link:hover{background:var(--m7res-purple)}
.m7res-empty{padding:50px 20px;text-align:center;background:var(--m7res-paper);color:var(--m7res-grey)}
.m7res-pagination{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding-top:30px}
.m7res-pagination a,.m7res-pagination span{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid var(--m7res-line);padding:5px 10px}
.m7res-pagination span.current,.m7res-pagination a:hover{background:var(--m7res-black);color:#fff}
.m7res-single{max-width:1180px;margin:0 auto}
.m7res-back{display:inline-block;margin:8px 0 20px;font-size:12px;color:var(--m7res-grey)!important}
.m7res-single>h1{font:400 clamp(29px,4vw,47px)/1.2 Georgia,serif;margin:0 0 22px;letter-spacing:-.02em}
.m7res-single-gallery{margin:0 0 35px}
.m7res-main-photo{max-height:620px;min-height:200px;background:#eeece8;overflow:hidden}
.m7res-main-photo>img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover}
.m7res-main-photo .m7res-image-empty{min-height:330px}
.m7res-thumbnails{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:10px}
.m7res-thumbnails img{width:100%;height:95px;object-fit:cover}
.m7res-single-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:45px;align-items:start}
.m7res-single-columns>main{min-width:0}
.m7res-single-label{margin-bottom:18px}
.m7res-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:34px}
.m7res-spec{border:1px solid var(--m7res-line);padding:14px 13px;font-size:13px;font-weight:650}
.m7res-single-columns h2{font:400 clamp(22px,2.4vw,31px)/1.3 Georgia,serif;margin:20px 0 17px}
.m7res-description{font-size:14px;line-height:1.9;color:#505050;overflow-wrap:anywhere}
.m7res-description p{margin:0 0 17px;white-space:pre-line}
.m7res-plans img{display:block;width:100%;height:auto;max-height:550px;object-fit:contain;margin:10px 0;border:1px solid var(--m7res-line)}
.m7res-aside-box{border:1px solid var(--m7res-line);padding:22px;margin-bottom:18px}
.m7res-aside-box>span{font-size:10px;color:var(--m7res-gold);letter-spacing:.13em;font-weight:800}
.m7res-aside-box>strong{font-size:27px;line-height:1.3;display:block;margin:8px 0 12px;overflow-wrap:anywhere}
.m7res-aside-box>small{display:block;font-size:12px;color:var(--m7res-grey);margin-bottom:10px}
.m7res-aside-address{border-top:1px solid var(--m7res-line);padding-top:14px;font-size:12px;color:var(--m7res-grey)}
.m7res-enquiry{display:grid;gap:12px;margin-top:18px}
.m7res-enquiry label{font-size:11px;color:var(--m7res-grey);font-weight:650}
.m7res-enquiry input,.m7res-enquiry textarea{display:block;width:100%;border:1px solid var(--m7res-line);background:#fff;margin-top:6px;padding:11px;font-size:13px;color:var(--m7res-black);border-radius:0}
.m7res-enquiry button{border:1px solid var(--m7res-black);background:var(--m7res-black);color:#fff;font-size:11px;font-weight:700;text-transform:uppercase;padding:13px;cursor:pointer}
.m7res-honey{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.m7res-alert{background:#e9f6ea;border:1px solid #c7e4c9;padding:9px;font-size:12px}
@media(max-width:1150px){.m7res-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.m7res-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:830px){.m7res-search-bottom{flex-wrap:wrap}.m7res-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.m7res-single-columns{grid-template-columns:1fr}.m7res-single-columns aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.m7res-aside-box{margin:0}.m7res-specs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.m7res-archive-wrapper,.m7res-single-wrapper{width:calc(100% - 24px);margin:18px auto 55px}.m7res-page-header{margin:25px 0}.m7res-search{padding:14px}.m7res-fields{gap:13px 9px}.m7res-fields label:nth-child(-n+3){grid-column:1/-1}.m7res-fields select{font-size:12px}.m7res-tabs{width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:0}.m7res-tabs a{text-align:center;padding:10px 3px;font-size:10px}.m7res-search-actions{width:100%;justify-content:space-between}.m7res-search-actions button{padding:0 14px}.m7res-results-toolbar{align-items:flex-start}.m7res-results-toolbar label{gap:5px}.m7res-results-toolbar select{width:130px}.m7res-grid{grid-template-columns:1fr;gap:20px}.m7res-card-body{padding:19px}.m7res-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr))}.m7res-thumbnails img{height:65px}.m7res-single-columns aside{grid-template-columns:1fr}.m7res-specs{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v0.9.1: paid-address prompt and functioning gallery */
.m7res-address-message{margin:0 0 18px;font-size:13px;color:#57514e}
.m7res-address-cta{display:inline-block!important;margin:7px 0;padding:8px 12px;background:#f5f2ec;border:1px solid #d9d0be;color:#171717!important;text-decoration:underline!important;text-underline-offset:3px;font-weight:700;font-size:12px}
.m7res-gallery-stage{position:relative;min-height:220px;background:#eeece8}
.m7res-gallery-slide{display:block;width:100%;padding:0;border:0;background:#eeece8;cursor:zoom-in;min-height:220px}
.m7res-gallery-slide[hidden]{display:none!important}
.m7res-gallery-slide img{display:block;width:100%;max-height:650px;aspect-ratio:16/10;object-fit:contain;margin:auto}
.m7res-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);border:0;width:42px;height:48px;background:rgba(0,0,0,.68);color:#fff;font-size:24px;cursor:pointer;z-index:1}
.m7res-gallery-prev{left:8px}.m7res-gallery-next{right:8px}
.m7res-gallery-count{position:absolute;bottom:12px;right:14px;background:rgba(0,0,0,.65);color:#fff;padding:5px 9px;font-size:12px}
.m7res-thumbnails{grid-template-columns:repeat(auto-fill,minmax(90px,1fr));max-height:210px;overflow-y:auto}
.m7res-thumb{padding:0;border:2px solid transparent;background:none;cursor:pointer;min-width:0}
.m7res-thumb.is-current{border-color:var(--m7res-purple)}
.m7res-thumb img{display:block;width:100%;height:88px;object-fit:cover}
.m7res-thumb:focus-visible,.m7res-gallery-nav:focus-visible,.m7res-gallery-slide:focus-visible{outline:3px solid var(--m7res-purple);outline-offset:2px}
.m7res-lightbox{border:0;box-shadow:0 18px 70px rgba(0,0,0,.45);background:#121212;color:#fff;padding:40px 56px;max-width:94vw;max-height:94vh;width:min(1160px,94vw)}
.m7res-lightbox::backdrop{background:rgba(0,0,0,.9)}
.m7res-lightbox[open]{display:flex;justify-content:center;align-items:center;gap:10px}
.m7res-lightbox img{display:block;max-height:82vh;max-width:calc(100% - 56px);object-fit:contain}
.m7res-lightbox-close{position:absolute;top:0;right:5px;color:white;background:none;border:0;font-size:35px;cursor:pointer;padding:0 12px}
.m7res-lightbox-prev,.m7res-lightbox-next{border:0;background:#333;color:#fff;font-size:22px;cursor:pointer;padding:12px}
@media(max-width:600px){.m7res-gallery-nav{width:33px;height:40px}.m7res-gallery-slide img{aspect-ratio:4/3}.m7res-lightbox{padding:35px 6px}.m7res-lightbox img{max-width:calc(100% - 70px)}.m7res-lightbox-prev,.m7res-lightbox-next{padding:6px}}

.m7res-amenities,.m7res-inspections,.m7res-agents{list-style:disc;padding-left:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin-bottom:24px;color:#555}
.m7res-agents span{display:block;font-size:12px;color:#777}
@media(max-width:550px){.m7res-amenities,.m7res-inspections,.m7res-agents{grid-template-columns:1fr}}

/* v1.0: status indicators and property markets */
.m7res-search-extra{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-top:15px;border-top:1px solid var(--m7res-line);padding-top:15px}
.m7res-search-extra label{display:flex;flex-direction:column;gap:6px;min-width:175px;flex:0 1 230px}
.m7res-search-extra label>span{font-size:10px;text-transform:uppercase;letter-spacing:.075em;font-weight:800;color:#4c4b49}
.m7res-search-extra select{height:40px;min-width:0;width:100%;padding:0 8px;border:1px solid #d8d5d0;background:white;font-size:12px;color:var(--m7res-black)}
.m7res-filter-hint{font-size:11px;color:#77716c;flex:1;min-width:170px;padding-bottom:8px}
.m7res-card-topline{display:flex;flex-wrap:wrap;align-items:center;gap:7px 9px;margin:0 0 12px}
.m7res-listing-badge{display:inline-block;font-size:10px;font-weight:850;padding:5px 9px;border-radius:2px;letter-spacing:.075em;background:#1a3029;color:#fff}
.m7res-status-sold{background:#a2323a}.m7res-status-leased{background:#284e80}.m7res-status-inactive{background:#666}
.m7res-market-pill{display:inline-block;font-size:10px;font-weight:700;border:1px solid #dedbd4;color:#625c55;padding:4px 8px;border-radius:2px;letter-spacing:.04em}
.m7res-tabs{gap:6px}
@media(max-width:600px){.m7res-tabs{grid-template-columns:repeat(3,1fr)}.m7res-search-extra label{flex:1 1 140px}.m7res-filter-hint{flex-basis:100%}}

.m7res-locked-media,.m7res-media-locked,.m7res-details-locked{background:#f2f5f8;color:#17324e;border:1px solid #dbe2e8;display:flex;min-height:150px;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:25px;gap:12px}.m7res-locked-media{min-height:190px;text-decoration:none}.m7res-details-locked{min-height:180px;margin:16px 0}.m7res-media-locked{min-height:240px;margin-bottom:25px}

/* EstateFlow 1.2 — restrained editorial gallery; layout does not inherit theme button backgrounds. */
.m7res-single-gallery{margin:4px 0 38px;min-width:0}
.m7res-gallery-stage{position:relative!important;display:block!important;width:100%;min-height:0!important;aspect-ratio:16/9;max-height:680px;overflow:hidden;border-radius:12px;background:#162434!important;isolation:isolate;box-shadow:0 12px 35px rgba(16,34,48,.12)}
.m7res-gallery-slide,.m7res-gallery-slide:active,.m7res-gallery-slide:hover{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#162434!important;color:#fff!important;box-shadow:none!important;display:flex!important;align-items:center;justify-content:center;cursor:zoom-in;outline-offset:-4px}
.m7res-gallery-slide[hidden]{display:none!important}
.m7res-gallery-slide img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;transition:transform .4s ease}
.m7res-gallery-slide:hover img{transform:scale(1.012)}
.m7res-gallery-toplabel{position:absolute;top:18px;left:18px;z-index:3;border:1px solid rgba(255,255,255,.22);border-radius:7px;padding:8px 12px;background:rgba(13,27,41,.72);backdrop-filter:blur(8px);color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;pointer-events:none}
.m7res-gallery-nav,.m7res-gallery-nav:hover{position:absolute!important;top:50%!important;z-index:5;transform:translateY(-50%);display:flex!important;align-items:center;justify-content:center;padding:0!important;width:48px!important;height:48px!important;background:rgba(255,255,255,.94)!important;color:#142436!important;border:1px solid rgba(9,24,38,.12)!important;border-radius:50%!important;box-shadow:0 4px 16px rgba(0,0,0,.18);font-size:22px!important;cursor:pointer;transition:background .2s,transform .2s}
.m7res-gallery-nav:hover{background:#fff!important;transform:translateY(-50%) scale(1.045)}
.m7res-gallery-prev{left:17px!important}.m7res-gallery-next{right:17px!important}
.m7res-gallery-count{position:absolute;right:18px;bottom:18px;z-index:4;background:rgba(13,27,41,.8);color:white;padding:8px 13px;border-radius:8px;font-size:12px;letter-spacing:.03em;font-weight:700;pointer-events:none}
.m7res-gallery-bottom{display:flex;flex-direction:column;gap:8px;background:#f8fafb;border:1px solid #e5ebee;border-top:0;border-radius:0 0 12px 12px;margin:-8px 0 0;padding:18px 16px 15px}
.m7res-gallery-bottom .m7res-thumbnails{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:10px;max-height:none!important;margin:0!important;padding:2px 2px 8px;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#a6b3bd #eff3f6}
.m7res-gallery-bottom .m7res-thumb,.m7res-gallery-bottom .m7res-thumb:hover{flex:0 0 112px!important;width:112px!important;height:76px!important;padding:0!important;margin:0!important;overflow:hidden!important;background:#eef2f5!important;border:3px solid transparent!important;border-radius:8px!important;box-shadow:none!important;cursor:pointer;scroll-snap-align:start;opacity:.78;transition:opacity .2s,border-color .2s}
.m7res-gallery-bottom .m7res-thumb:hover,.m7res-gallery-bottom .m7res-thumb.is-current{opacity:1;border-color:#0b657f!important}
.m7res-gallery-bottom .m7res-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.m7res-gallery-help{color:#65717d;font-size:11px;margin-left:3px}
.m7res-gallery-locked-thumb{flex:0 0 115px;min-width:115px;height:76px;border-radius:8px;background:#142c40;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;text-align:center}
.m7res-gallery-locked-thumb strong{font-size:21px;line-height:1.1;color:#fff}.m7res-gallery-locked-thumb span{font-size:10px;color:#cfe3eb}
.m7res-gallery-upgrade{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-top:12px;padding:18px 20px;border:1px solid #d8e4e9;border-radius:11px;background:linear-gradient(110deg,#eff6f8,#fff)}
.m7res-gallery-upgrade strong{color:#142b40;font-size:15px}.m7res-gallery-upgrade p{color:#526677;font-size:12px;margin:4px 0 0}.m7res-gallery-upgrade .m7res-address-cta{margin:0!important;padding:11px 16px!important;background:#112f43!important;color:#fff!important;border:0!important;border-radius:7px!important;text-decoration:none!important;font-size:12px!important}
.m7res-gallery-upgrade .m7res-address-cta:hover{background:#174e68!important}
.m7res-card-image{position:relative}
.m7res-card-photo-label{position:absolute;bottom:12px;left:12px;padding:7px 10px;border-radius:6px;background:rgba(16,37,53,.85);color:#fff;font-size:11px;font-weight:700;pointer-events:none}
.m7res-lightbox[open]{width:min(1280px,96vw)!important;height:min(860px,92vh)!important;max-height:94vh!important;max-width:96vw!important;padding:45px 66px!important;box-sizing:border-box!important;background:#101923!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
.m7res-lightbox::backdrop{background:rgba(4,12,20,.93)}
.m7res-lightbox img{max-height:calc(92vh - 85px)!important;max-width:calc(100% - 85px)!important;object-fit:contain!important}
.m7res-lightbox-prev,.m7res-lightbox-next{flex:0 0 40px;background:#2a3a48!important;border:0!important;border-radius:8px!important;color:#fff!important;cursor:pointer}
.m7res-lightbox-close{right:10px!important;top:7px!important;color:#fff!important}
.m7res-single-gallery button:focus-visible{outline:3px solid #0c96ba!important;outline-offset:2px}
@media(max-width:720px){.m7res-gallery-stage{aspect-ratio:4/3;border-radius:8px}.m7res-gallery-toplabel{top:9px;left:9px;font-size:9px}.m7res-gallery-nav,.m7res-gallery-nav:hover{height:38px!important;width:38px!important;font-size:17px!important}.m7res-gallery-prev{left:8px!important}.m7res-gallery-next{right:8px!important}.m7res-gallery-count{right:8px;bottom:10px;padding:5px 8px;font-size:10px}.m7res-gallery-bottom{padding:13px 10px}.m7res-gallery-bottom .m7res-thumb,.m7res-gallery-bottom .m7res-thumb:hover{flex-basis:90px!important;width:90px!important;height:64px!important}.m7res-gallery-locked-thumb{flex-basis:90px;min-width:90px;height:64px}.m7res-gallery-help{font-size:10px}.m7res-gallery-upgrade{padding:16px 14px}.m7res-lightbox[open]{padding:38px 5px!important}.m7res-lightbox img{max-width:calc(100% - 62px)!important}.m7res-lightbox-prev,.m7res-lightbox-next{flex-basis:27px!important;padding:7px 2px!important}}
