/* MX Properties native-PHP public pilot. Reference palette: #6D1028 / #FAF8F5 / #202026.
   This is an implementation baseline, NOT a pixel-verified recreation. */
:root{--wine:#6d1028;--wine-dark:#4d091a;--cream:#faf8f5;--ink:#202026;--muted:#746e70;--border:#e8e2de;--gold:#c4a16e;--shadow:0 18px 50px rgba(49,28,31,.09);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Manrope,Arial,sans-serif;line-height:1.6}
h1,h2,h3,h4,p{margin-top:0}
h1,h2,h3,h4{font-family:"Plus Jakarta Sans",Manrope,Arial,sans-serif;line-height:1.18;letter-spacing:-.035em}
h1{font-size:clamp(2.4rem,5.5vw,5rem)}
h2{font-size:clamp(1.6rem,3vw,2.5rem)}
a{color:inherit;text-decoration:none}
a:hover{color:var(--wine)}
img{display:block;max-width:100%}
button,input,select{font:inherit}
button{cursor:pointer}
.container{width:min(1170px,calc(100% - 42px));margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:16px;top:-60px;background:white;padding:12px;z-index:100}
.skip-link:focus{top:12px}
:focus-visible{outline:3px solid #ad7c2d;outline-offset:3px}
.header{position:relative;background:#fff;z-index:20;border-bottom:1px solid #eee8e3}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:88px;gap:18px}
.brand{display:inline-flex;gap:10px;align-items:center;font-weight:800;letter-spacing:-.06em;font-size:1.36rem;line-height:1.1;white-space:nowrap}
.brand strong{color:var(--wine)}
.brand-symbol{display:grid;place-items:center;background:var(--wine);color:#fff;width:41px;height:41px;border-radius:12px;font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;font-size:1.6rem}
.site-menu{display:flex;align-items:center;gap:32px;font-weight:700;font-size:.91rem}
.site-menu a{transition:color .2s}
.site-menu .nav-action{background:var(--wine);border-radius:9px;color:#fff;padding:11px 22px}
.site-menu .nav-action:hover{background:var(--wine-dark)}
.menu-toggle{display:none;border:1px solid var(--border);background:white;border-radius:8px;padding:8px 12px}
.hero{color:#fff;background:radial-gradient(ellipse at 75% 40%,rgba(212,150,127,.22),transparent 33%),linear-gradient(110deg,#52101f 0%,#76172e 58%,#8e2840 100%);overflow:hidden}
.hero-inner{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:50px;min-height:555px;padding-top:72px;padding-bottom:72px}
.hero-copy{position:relative;z-index:2}
.hero h1{max-width:670px;margin:18px 0 25px}
.hero h1 em{color:#e8c2ad;font-style:normal}
.hero p{max-width:550px;font-size:1.1rem;opacity:.88;margin-bottom:33px}
.eyebrow,.overline{font-size:.74rem;line-height:1.35;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:var(--wine)}
.hero .eyebrow,.cta .eyebrow{color:#e8c2ad}
.hero-search{background:white;border-radius:14px;display:flex;align-items:center;padding:7px;max-width:620px;box-shadow:0 20px 50px #3b081b45}
.hero-search input{flex:1;min-width:0;border:0;color:var(--ink);padding:14px 15px;outline-offset:0}
.hero-decoration{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:390px;border:1px solid #ffffff2b;outline:25px solid #ffffff08;border-radius:44% 56% 54% 46%;transform:rotate(-10deg);background:#ffffff0c}
.hero-decoration span{font-size:clamp(7rem,18vw,16rem);line-height:1;font-weight:800;opacity:.22;letter-spacing:-.15em}
.hero-decoration small{letter-spacing:.36em;font-size:.7rem;opacity:.62}
.btn{border:1px solid transparent;border-radius:9px;padding:12px 23px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem;line-height:1.4;transition:transform .2s,background .2s}
.btn:hover{transform:translateY(-2px)}
.btn.primary{color:#fff;background:var(--wine)}
.btn.primary:hover{background:var(--wine-dark)}
.btn.outline{background:transparent;color:var(--wine);border-color:var(--wine)}
.btn.light{color:var(--wine);background:#fff}
.btn.full{width:100%}
.intro-row{display:flex;align-items:end;justify-content:space-between;gap:20px;padding-top:78px;padding-bottom:28px}
.intro-row h2{margin:12px 0 0}
.text-link{color:var(--wine);font-weight:800;font-size:.91rem}
.page-heading{padding:65px 0 54px;background:linear-gradient(120deg,#f3eae6,#fbf8f6)}
.page-heading h1{font-size:clamp(2.5rem,5vw,3.7rem);margin:14px 0}
.page-heading p{color:var(--muted);font-size:1rem;margin-bottom:0}
.search-section{margin-top:32px}
.filter-form{display:grid;grid-template-columns:1.6fr 1fr 1fr auto;align-items:end;gap:16px;background:white;border:1px solid var(--border);box-shadow:0 12px 35px #200b1a0a;padding:20px;border-radius:16px}
label{display:block;font-size:.82rem;font-weight:800;margin-bottom:7px}
input,select{width:100%;padding:11px 12px;border:1px solid #ddd7d4;border-radius:8px;min-height:45px;background:white;color:var(--ink)}
input:focus,select:focus{outline:2px solid #c99da8;outline-offset:1px}
.listings-section{padding-top:38px;padding-bottom:92px;min-height:290px}
.results-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:25px}
.results-heading h2{font-size:1.45rem;margin:0}
.results-heading span{color:var(--muted);font-size:.88rem}
.property-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.property-card{background:white;border:1px solid #eee8e3;border-radius:15px;overflow:hidden;box-shadow:0 8px 26px #2210150b;transition:transform .25s,box-shadow .25s}
.property-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.property-visual{display:block;position:relative;height:231px;background:linear-gradient(130deg,#e0cfc7,#b58d90);overflow:hidden}
.property-visual img{height:100%;width:100%;object-fit:cover;transition:transform .35s}
.property-card:hover img{transform:scale(1.04)}
.image-placeholder{height:100%;min-height:180px;display:grid;place-items:center;font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;color:#fff;font-size:3rem;background:linear-gradient(130deg,#651529,#c88d93)}
.pill{display:inline-block;border-radius:7px;padding:6px 12px;font-size:.69rem;font-weight:800;letter-spacing:.02em}
.pill-light{position:absolute;left:16px;top:16px;background:#fff;color:var(--wine)}
.property-body{padding:22px}
.property-body .overline{margin-bottom:8px}
.property-body h3{font-size:1.16rem;line-height:1.4;margin-bottom:7px;min-height:2.8em}
.location{color:var(--muted);font-size:.9rem}
.property-price{color:var(--wine);font-weight:800;font-size:1.33rem;margin:15px 0}
.property-price small{font-weight:500;font-size:.72rem;color:var(--muted)}
.property-facts{display:flex;gap:17px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:16px;font-size:.77rem;color:#5d5559;font-weight:700}
.empty-state{text-align:center;padding:70px 22px;color:var(--muted);background:#fff;border-radius:14px}
.empty-state h1,.empty-state h2{color:var(--ink);font-size:1.65rem}
.empty-state .btn{margin-top:15px}
.pagination{display:flex;justify-content:center;gap:7px;margin-top:38px}
.pagination a{border:1px solid var(--border);border-radius:7px;min-width:38px;text-align:center;padding:7px;font-weight:700}
.pagination .current{color:white;background:var(--wine)}
.cta{background:var(--wine);color:white;padding:78px 0}
.cta h2{max-width:670px;margin:14px 0}
.cta p{opacity:.85;margin-bottom:25px}
.service-filter{display:flex;align-items:end;gap:16px;max-width:520px;margin-bottom:30px}
.service-filter label{flex:0 0 auto;margin-bottom:11px}
.service-filter select{flex:1}
.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.service-card{display:flex;gap:20px;background:#fff;padding:25px;border-radius:14px;border:1px solid var(--border)}
.service-icon{display:grid;place-items:center;flex:0 0 62px;height:62px;background:#f4e6e8;color:var(--wine);border-radius:12px;font-weight:800}
.service-card h2{font-size:1.2rem;margin:8px 0}
.service-card p{font-size:.9rem;color:#655d60}
.verified{font-size:.78rem;color:#24734c;font-weight:800}
.detail-section{padding:40px 0 95px}
.back-link{color:var(--wine);font-size:.85rem;font-weight:800}
.detail-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin:35px 0}
.detail-heading h1{font-size:clamp(2.2rem,5vw,3.5rem);margin:9px 0}
.detail-price{color:var(--wine);font-size:2rem;font-weight:800;white-space:nowrap}
.detail-price small{display:block;color:var(--muted);font-size:.8rem;text-align:right}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:170px;gap:10px;border-radius:18px;overflow:hidden;background:#efe6e1;margin-bottom:48px}
.gallery img{height:100%;width:100%;object-fit:cover}
.gallery img:first-child{grid-column:span 2;grid-row:span 2}
.gallery .image-placeholder{grid-column:1/-1;min-height:340px}
.detail-columns{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:65px}
.detail-columns h2{font-size:1.6rem;margin-bottom:18px;margin-top:34px}
.detail-columns h2:first-child{margin-top:0}
.description{color:#59545a;line-height:1.95}
.feature-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.feature-list>div{border:1px solid var(--border);padding:17px;border-radius:10px}
.feature-list strong{display:block;font-size:1.25rem}
.feature-list span{font-size:.8rem;color:var(--muted)}
.amenities{display:flex;flex-wrap:wrap;gap:9px}
.amenities span{padding:7px 12px;background:#f1e9e8;border-radius:30px;font-size:.85rem}
.agent-card{align-self:start;background:white;box-shadow:var(--shadow);border-radius:14px;padding:25px;border:1px solid var(--border)}
.agent-card h3{font-size:1.4rem;margin:10px 0}
.agent-card p{color:var(--muted);font-size:.9rem}
.agent-note{margin:16px 0 0}
.footer{background:#231b1f;color:#e5dfe1;padding:64px 0 23px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}
.footer .brand strong{color:#efbdc9}
.footer .brand-symbol{background:#a23451}
.footer h4{font-size:1rem;margin:6px 0 16px}
.footer p{font-size:.85rem;color:#c6bec2}
.footer a:hover{color:#fff}
.copyright{border-top:1px solid #ffffff1b;padding-top:20px;margin-top:40px;font-size:.76rem;color:#a99ca2}
@media(max-width:1050px){.property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-form{grid-template-columns:repeat(2,1fr)}.hero-inner{grid-template-columns:1.3fr .7fr}.detail-columns{gap:25px}}
@media(max-width:760px){.container{width:min(100% - 32px,1170px)}.header-inner{min-height:72px}.menu-toggle{display:block}.site-menu{display:none;position:absolute;top:100%;left:0;right:0;background:white;border-bottom:1px solid var(--border);padding:20px 17px;box-shadow:0 10px 20px #0001;flex-direction:column;align-items:stretch;gap:16px}.site-menu.is-open{display:flex}.site-menu .nav-action{text-align:center}.hero-inner{grid-template-columns:1fr;gap:0;min-height:0;padding:70px 0 80px}.hero-decoration{display:none}.hero-search{display:block;padding:10px}.hero-search input{margin-bottom:4px}.hero-search .btn{width:100%}.intro-row{align-items:start;padding-top:45px}.property-grid,.service-grid{grid-template-columns:1fr}.filter-form{grid-template-columns:1fr}.service-filter{flex-wrap:wrap}.service-filter label{width:100%}.detail-heading{display:block}.detail-price{text-align:left;margin:25px 0}.detail-price small{text-align:left}.gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:130px}.detail-columns{grid-template-columns:1fr}.feature-list{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr;gap:22px}.results-heading{align-items:start;flex-direction:column}}
@media(max-width:420px){.property-visual{height:205px}.service-card{padding:18px;gap:13px}.service-icon{flex-basis:46px;height:46px}.feature-list{grid-template-columns:1fr 1fr}.brand{font-size:1.17rem}.brand-symbol{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Monolithic PHP account, listing and administration screens */
textarea{font:inherit;display:block;width:100%;min-height:100px;border:1px solid #ddd7d4;color:var(--ink);background:#fff;border-radius:8px;padding:12px;resize:vertical}
textarea:focus{outline:2px solid #c99da8}
.form-stack{display:flex;flex-direction:column;gap:19px}
.form-stack>div>label{margin-bottom:6px}
.form-stack button{align-self:flex-start}
.form-stack button.full{align-self:stretch}
.auth-page{display:flex;justify-content:center;padding:82px 0 110px}
.auth-card{background:#fff;box-shadow:var(--shadow);border:1px solid var(--border);border-radius:16px;width:min(100%,490px);padding:42px}
.auth-card h1{font-size:2.3rem;margin:14px 0}
.auth-card>p{font-size:.93rem;color:var(--muted)}
.auth-switch{margin:24px 0 0;text-align:center}
.flash-message{margin-top:20px;border:1px solid #dfc3c8;background:#fbeff1;color:#4c1730;padding:13px 16px;border-radius:10px;font-size:.9rem}
.flash-error{background:#ffedeb;border-color:#ffc4be;color:#861d19}
.dashboard-wrap{display:grid;grid-template-columns:220px 1fr;align-items:start;gap:32px;padding-top:44px;padding-bottom:90px}
.dashboard-nav{position:sticky;top:20px;display:flex;flex-direction:column;gap:3px;padding:17px;background:#fff;border:1px solid var(--border);border-radius:13px;box-shadow:0 8px 32px #3017220a}
.dashboard-nav>a,.dashboard-nav>form>button{display:block;width:100%;text-align:left;padding:11px 14px;border-radius:9px;line-height:1.4}
.dashboard-nav>a:hover,.dashboard-nav>form>button:hover{background:#f7edef;color:var(--wine)}
.link-button{color:var(--wine);font-size:inherit;font-weight:700;border:0;background:transparent;cursor:pointer;padding:0}
.danger{color:#a02028}
.dashboard-main{min-width:0;background:#fff;border:1px solid var(--border);border-radius:14px;padding:30px}
.dashboard-main h2{margin-bottom:23px}
.dashboard-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:24px}
.dashboard-tile{display:flex;flex-direction:column;min-height:130px;justify-content:space-between;padding:22px;border:1px solid var(--border);border-radius:12px;transition:border-color .2s}
.dashboard-tile:hover{border-color:var(--wine)}
.dashboard-tile strong{font-size:1.1rem}
.dashboard-tile span{font-size:.85rem;color:var(--muted)}
.muted{font-size:.84rem;color:var(--muted)}
.narrow-form{max-width:600px}
.inline-form{display:inline-block;margin-left:14px}
.table-scroll{width:100%;overflow-x:auto}
.data-table{width:100%;border-collapse:collapse;min-width:600px;font-size:.85rem}
.data-table th{background:#f8f5f3;text-align:left;color:#51474a;font-weight:800}
.data-table th,.data-table td{padding:13px 12px;border-bottom:1px solid #eee7e4;vertical-align:top}
.data-table select{min-width:120px}
.data-table td form{display:inline-flex;gap:7px;flex-wrap:wrap}
.btn.compact{padding:7px 12px;font-size:.82rem}
.editor-wrap{padding:52px 0 100px}
.editor-card{max-width:790px;background:#fff;padding:38px;border:1px solid var(--border);border-radius:14px;margin-inline:auto}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.inquiry-heading{font-size:1.13rem;margin-top:28px}
.save-form{margin-top:13px}
.agent-card .form-stack{gap:10px}
.agent-card .form-stack button{width:100%}
.agent-card textarea{min-height:120px}
@media(max-width:800px){.dashboard-wrap{grid-template-columns:1fr}.dashboard-nav{position:static;flex-direction:row;flex-wrap:wrap;gap:2px}.dashboard-nav>a,.dashboard-nav>form>button{width:auto;padding:9px 12px}.dashboard-main{padding:22px}}
@media(max-width:580px){.auth-page{padding:45px 0}.auth-card{padding:25px}.editor-card{padding:23px}.form-grid,.dashboard-cards{grid-template-columns:1fr}.detail-price{font-size:1.6rem}}

/* Original marketplace visual language: navigation, showcase, search-panel hierarchy */
.header{background:#fdfcfb}
.header-inner{min-height:80px;position:relative}
.brand{font-size:1.32rem;letter-spacing:-.045em;gap:10px}
.brand-symbol{width:40px;height:40px;flex:0 0 40px;border-radius:11px}
.brand-symbol svg{width:25px;height:25px;color:#fff}
.brand-name{display:block;color:#26242a;line-height:1.1}
.brand-name>span{color:var(--wine)}
.brand-name small{display:block;letter-spacing:-.01em;font-family:Manrope,sans-serif;font-size:.58rem;font-weight:500;color:#6f6c74;margin-top:4px}
.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.header-actions .btn{min-height:37px;padding:8px 16px;border-radius:9px;font-size:.78rem}
.header-actions .btn.outline{border-color:var(--wine);color:var(--wine);background:transparent}
.header-actions .btn.primary{background:var(--wine);color:white}
.favorite-link{font-weight:800;font-size:2rem;color:#342d33;line-height:1;padding:0 8px}
.menu-toggle{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e9e6e5;border-radius:11px;width:40px;height:40px;padding:0;font-size:1.25rem}
.site-menu{display:none;position:absolute;top:72px;right:0;width:250px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:12px;padding:16px;z-index:10;flex-direction:column;align-items:stretch;gap:0}
.site-menu>a{padding:10px 12px}
.site-menu.is-open{display:flex}
.hero{background:#202024;color:#fff;overflow:visible;padding-bottom:64px}
.hero-inner{display:block;min-height:0;padding-top:48px;padding-bottom:0}
.hero-copy{max-width:805px}
.hero h1{font-family:"Plus Jakarta Sans",Manrope,Arial,sans-serif;font-size:clamp(2.7rem,5vw,4.15rem);font-weight:800;letter-spacing:-.035em;line-height:1.14;margin:22px 0 20px;max-width:770px}
.hero p{max-width:700px;font-size:.93rem;line-height:1.65;opacity:.9;margin:0 0 31px}
.hero-tags{display:flex;gap:17px;flex-wrap:wrap;align-items:center;font-size:.69rem;font-weight:800}
.hero-tag{background:#81112d;color:#fff;border-radius:7px;padding:5px 10px;letter-spacing:.01em}
.hero-verified{color:#00e6b7;letter-spacing:.04em}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-actions .btn{min-height:50px;padding:13px 26px;border-radius:11px}
.btn.ghost{background:#2f2f34;border-color:#5c5b62;color:#fff}
.btn.ghost:hover{background:#3c3b41;color:#fff}
.hero-filters{background:#fff;color:#303037;padding:24px;border-radius:18px;margin-top:46px;box-shadow:0 16px 38px #00000021}
.hero-tabs{display:flex;align-items:center;gap:2px;background:#faf9f8;width:max-content;max-width:100%;padding:4px;border:1px solid #ebe5e2;border-radius:13px;overflow-x:auto}
.search-tab{white-space:nowrap;font-size:.76rem;line-height:1.3;font-weight:800;color:#75737d;background:transparent;border:0;border-radius:9px;padding:10px 14px}
.search-tab.active{color:#fff;background:var(--wine);box-shadow:0 4px 7px #490d2050}
.hero-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:27px;align-items:end}
.hero-filter-grid label{color:#777580;letter-spacing:.065em;font-size:.66rem;font-weight:800;margin:0 0 7px}
.hero-filter-grid input,.hero-filter-grid select{background:#faf9f8;color:#5e5b64;border-color:#e5e0de;border-radius:13px;min-height:44px;font-size:.85rem;box-shadow:none}
.hero-filter-grid .btn{width:100%;min-height:44px;min-width:0;font-size:.82rem;border-radius:12px}
.intro-row{padding-top:67px}
@media(max-width:870px){.hero h1{font-size:clamp(2.55rem,5.3vw,3.3rem)}.hero-filter-grid{gap:15px}.hero-filters{margin-top:46px}}
@media(max-width:760px){
 .header-inner{min-height:66px}
 .brand{font-size:1.11rem}
 .brand-name small{font-size:.48rem}
 .brand-symbol{width:36px;height:36px;flex-basis:36px}
 .header-actions{gap:6px}
 .header-list,.header-sign{display:none!important}
 .favorite-link{font-size:1.7rem}
 .site-menu{top:64px;left:auto;right:0;width:min(300px,calc(100vw - 34px))}
 .hero{padding-bottom:36px}
 .hero-inner{padding:40px 0 0}
 .hero h1{font-size:clamp(2.25rem,8.3vw,3rem);line-height:1.16;margin:18px 0}
 .hero p{font-size:.85rem}
 .hero-tags{gap:10px;font-size:.6rem}
 .hero-actions .btn{width:100%;padding:12px 16px}
 .hero-filters{padding:17px;margin-top:34px}
 .hero-filter-grid{grid-template-columns:1fr;gap:14px;margin-top:21px}
 .hero-tabs{width:100%}
 .search-tab{font-size:.69rem;padding:9px 11px}
}
@media(max-width:440px){
 .header-inner{min-height:63px}
 .brand{gap:8px}
 .brand-name{font-size:1rem}
 .brand-name small{font-size:.44rem}
 .header-actions{gap:4px}
 .favorite-link{font-size:1.5rem}
 .hero h1{font-size:2.15rem}
 .hero p{font-size:.82rem}
 .hero-verified{font-size:.58rem}
 .search-tab{padding:8px 10px}
}


/* Original React homepage sections, recreated with native semantic links and real DB figures. */
.container{width:min(1280px,calc(100% - 48px))}
.market-stats{margin-top:38px;background:#202024;border-top:1px solid #ffffff1c}
.market-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:23px 0;gap:24px}
.market-stats-grid>div{padding:2px 22px;border-left:1px solid #ffffff20}
.market-stats-grid>div:first-child{padding-left:0;border-left:0}
.market-stats-grid strong{display:block;font:800 clamp(1.25rem,2vw,1.65rem)/1.3 "Plus Jakarta Sans",sans-serif;color:#fff;font-variant-numeric:tabular-nums}
.market-stats-grid span{display:block;margin-top:4px;color:#ffffff85;text-transform:uppercase;letter-spacing:.12em;font-weight:700;font-size:.65rem}
.market-categories,.market-neighborhoods{padding-top:80px;padding-bottom:70px}
.market-section-head{display:flex;align-items:end;justify-content:space-between;gap:48px;margin-bottom:45px}
.market-section-head h2{font-size:clamp(1.8rem,3vw,2.45rem);letter-spacing:-.04em;margin:8px 0 0}
.market-section-head p{flex:0 1 425px;max-width:430px;color:#74747d;font-size:.9rem;line-height:1.8;margin:0}
.market-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.market-image-tile{position:relative;display:block;height:290px;overflow:hidden;border-radius:18px;border:1px solid #e8e4e6;background:#202026;box-shadow:0 4px 15px #20101512;transition:transform .3s,box-shadow .3s}
.market-image-tile:hover{transform:translateY(-4px);box-shadow:0 22px 45px #20101523;color:#fff}
.market-image-tile>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
.market-image-tile:hover>img{transform:scale(1.07)}
.market-image-shade{position:absolute;inset:0;background:linear-gradient(0deg,#202026f2 0%,#20202663 57%,transparent 100%);pointer-events:none}
.market-image-badge{position:absolute;top:20px;right:20px;color:#fff;background:#0006;border:1px solid #ffffff30;border-radius:8px;padding:6px 10px;font-size:.7rem;font-weight:700;backdrop-filter:blur(8px)}
.market-image-copy{position:absolute;bottom:0;left:0;right:0;padding:25px;color:#fff;pointer-events:none}
.market-image-copy strong{display:flex;align-items:center;justify-content:space-between;gap:15px;font:800 1.2rem/1.3 "Plus Jakarta Sans",sans-serif;letter-spacing:-.025em}
.market-image-copy strong span{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:#ffffff24;font-size:1.2rem;transition:background .25s}
.market-image-tile:hover .market-image-copy strong span{background:var(--wine)}
.market-image-copy small{display:block;color:#f5e8ecdb;font-size:.79rem;line-height:1.65;margin-top:7px;max-width:370px}
.market-professionals{display:flex;align-items:center;justify-content:space-between;gap:35px;background:#fff;border:1px solid #eee7e6;border-radius:22px;padding:42px 48px;margin-top:0;margin-bottom:35px;box-shadow:0 10px 30px #3014210d}
.market-professionals h2{font-size:clamp(1.3rem,2.4vw,1.9rem);max-width:700px;margin:10px 0}
.market-professionals p{font-size:.88rem;color:var(--muted);margin:0}
.market-professionals .btn{white-space:nowrap}
.market-neighborhoods{padding-top:58px}
.market-neighborhood-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.market-area-tile{height:295px}
.market-area-tile .market-image-copy{padding:20px}
.market-area-tile .market-image-copy strong{font-size:1.18rem}
.market-area-tile .market-image-copy small{font-size:.7rem}
.market-category-grid+.text-link{margin-top:25px}
@media(max-width:1000px){
 .market-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .market-neighborhood-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .market-section-head{gap:24px}
}
@media(max-width:760px){
 .container{width:min(100% - 32px,1280px)}
 .market-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:15px 0}
 .market-stats-grid>div{border-left:0;border-top:1px solid #ffffff16;padding:15px 8px}
 .market-stats-grid>div:nth-child(-n+2){border-top:0}
 .market-stats-grid>div:nth-child(even){border-left:1px solid #ffffff16;padding-left:17px}
 .market-stats-grid strong{font-size:1.25rem}
 .market-categories,.market-neighborhoods{padding-top:48px;padding-bottom:45px}
 .market-section-head{display:block;margin-bottom:24px}
 .market-section-head p{font-size:.82rem;margin-top:15px}
 .market-category-grid,.market-neighborhood-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .market-image-tile{height:250px}
 .market-image-copy{padding:16px}
 .market-image-copy strong{font-size:1rem}
 .market-image-copy small{font-size:.68rem}
 .market-image-badge{top:11px;right:11px;font-size:.6rem}
 .market-professionals{display:block;padding:25px;margin-bottom:10px}
 .market-professionals .btn{margin-top:18px;white-space:normal}
}
@media(max-width:490px){
 .market-category-grid,.market-neighborhood-grid{grid-template-columns:1fr}
 .market-image-tile,.market-area-tile{height:265px}
 .market-image-copy strong{font-size:1.17rem}
 .market-section-head h2{font-size:1.72rem}
}

/* Direct-link public directories matching the original ivory-and-wine palette. */
.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.review-card{background:#fff;border:1px solid #e9e2df;border-radius:17px;padding:28px;box-shadow:0 8px 27px #210c1708}
.review-card h2{font-size:1.13rem;margin:14px 0 10px}
.review-card>p{color:#59535b;font-size:.88rem;line-height:1.75}
.review-card .review-stars{color:#ae8036;letter-spacing:3px;font-size:1.15rem;margin:0}
.review-card .muted{padding-top:15px;border-top:1px solid #ece6e3}
.district-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.district-directory .dashboard-tile{background:#fff}
@media(max-width:1050px){.review-grid{grid-template-columns:repeat(2,1fr)}.district-directory{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.review-grid,.district-directory{grid-template-columns:1fr}}

/* React portal visual reconstruction, served as direct PHP login/register routes. */
.auth-reference-hero{min-height:100vh;padding:48px 0;background:#202024;color:#fff}
.auth-reference-hero h1{font:800 clamp(2.5rem,5.3vw,4.15rem)/1.14 "Plus Jakarta Sans",sans-serif;letter-spacing:-.035em;margin:25px 0 20px;max-width:810px}
.auth-reference-hero p{max-width:680px;color:#dddce0;line-height:1.8;font-size:.95rem}
.auth-reference-hero .hero-actions{margin:30px 0 48px}
.auth-reference-hero .hero-filters{min-height:190px;max-width:900px}
.auth-screen{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;background:#101015a8;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);padding:28px 16px;overflow:auto}
.portal-modal{width:min(448px,100%);max-height:calc(100vh - 56px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e5dddc;border-radius:18px;box-shadow:0 30px 100px #10070b60;color:#26242a}
.portal-modal h1,.portal-modal p{margin-top:0}
.portal-header{display:flex;gap:10px;align-items:center;padding:20px 24px 17px;border-bottom:1px solid #eae5e3;background:#fdfbf9;position:relative}
.portal-logo{width:31px;height:31px;flex:0 0 31px;background:#6d1028;color:white;border-radius:8px;display:grid;place-items:center;font-size:1.25rem}
.portal-heading{min-width:0;flex:1}
.portal-heading h1{font:800 .91rem/1.3 "Plus Jakarta Sans",sans-serif;letter-spacing:-.018em;margin:0}
.portal-heading p{font:.7rem/1.4 Manrope,sans-serif;color:#89858a;margin:3px 0 0}
.portal-close{font-size:1.7rem;line-height:1;color:#858086;border:0;padding:2px 8px}
.portal-tabs{display:grid;grid-template-columns:1fr 1fr;background:#fbf9f8;border-bottom:1px solid #e7e1e0}
.portal-tabs a{text-align:center;padding:12px 5px;font-weight:800;font-size:.75rem;color:#69656d;border-bottom:2px solid transparent}
.portal-tabs a.selected{border-color:#6d1028;color:#6d1028;background:#fff}
.portal-form{display:flex;flex-direction:column;gap:19px;padding:24px;min-width:0}
.portal-role-group{padding:0;margin:0;border:0;min-width:0}
.portal-role-group legend,.portal-field>label,.portal-field-top label,.portal-field-label,.portal-channel-heading>span{display:block;font-size:.66rem;line-height:1.5;font-weight:800;color:#68656c;text-transform:uppercase;letter-spacing:.025em;margin-bottom:7px}
.portal-role-options{display:flex;gap:7px;flex-wrap:wrap}
.portal-role-choice{display:block;margin:0;flex:1 1 auto;min-width:72px;cursor:pointer}
.portal-role-choice input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;pointer-events:none}
.portal-role-choice span{display:flex;align-items:center;justify-content:center;min-height:35px;padding:7px 10px;color:#777179;background:#fff;border:1px solid #e6e2e1;border-radius:11px;font-size:.72rem;font-weight:700;white-space:nowrap;transition:background .2s,border-color .2s}
.portal-role-choice input:checked+span{border-color:#6d1028;color:#6d1028;background:#faf0f3}
.portal-role-choice input:disabled+span{opacity:.4;cursor:not-allowed}
.portal-role-choice input:focus-visible+span{outline:2px solid #ad7c2d;outline-offset:2px}
.portal-role-hint{color:#95838a;font-size:.67rem;margin:8px 0 0}
.portal-field{min-width:0}
.portal-field label{margin-bottom:6px}
.portal-field input:not([type=file]),.portal-field select{width:100%;min-height:38px;border-radius:10px;padding:9px 12px;background:#faf9f7;border:1px solid #e8e4e2;color:#3b3439;font-size:.79rem}
.portal-field input[type=file]{width:100%;font-size:.78rem;padding:7px;border-radius:9px;background:#fff;border:1px solid #e8e4e2}
.portal-field input::placeholder{color:#a5a0a4}
.portal-field-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.portal-field-top a{color:#6d1028;font-weight:800;font-size:.7rem}
.portal-password{position:relative}
.portal-password input{padding-right:44px!important}
.portal-toggle-password{position:absolute;top:0;bottom:0;right:4px;padding:0 11px;background:none;border:0;color:#747079;font-size:1.1rem}
.portal-submit{width:100%;height:38px;background:#6d1028;color:#fff;font-size:.77rem;font-weight:800;border:0;border-radius:10px;box-shadow:0 3px 10px #6d102825}
.portal-submit:hover{background:#4d091a}
.portal-channel-card,.portal-kyc-card{padding:12px;border:1px solid #ece4e1;background:#fcfbfa;border-radius:13px;display:flex;flex-direction:column;gap:12px}
.portal-channel-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}
.portal-channel-heading>span{margin:0}
.portal-channel-heading>label{font-weight:600;color:#666;font-size:.65rem;display:flex;align-items:center;gap:5px;margin:0}
.portal-channel-heading input{width:14px;height:14px;min-height:14px;accent-color:#6d1028}
.portal-channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.portal-kyc-card>p{font-size:.69rem;color:#865c25;background:#fffbec;border:1px solid #f1e2a9;border-radius:10px;padding:10px;margin:0;line-height:1.6}
.portal-kyc-card .portal-role-choice{min-width:130px}
.portal-kyc-card .portal-role-choice span{font-size:.66rem}
.portal-modal .flash-message{margin:13px 20px 0}
@media(max-width:580px){
 .auth-screen{padding:15px 10px}
 .portal-modal{max-height:calc(100vh - 30px);border-radius:15px}
 .portal-header{padding:17px}
 .portal-form{padding:17px;gap:16px}
 .portal-role-options{gap:5px}
 .portal-role-choice{min-width:60px}
 .portal-role-choice span{font-size:.66rem;padding:6px}
 .portal-channel-grid{grid-template-columns:1fr}
}

/* Narrow-screen portal width correction: never clip the close button or form fields. */
.auth-screen{overflow-x:hidden}
.portal-modal{min-width:0;max-width:calc(100vw - 24px);flex:0 1 448px}
@media(max-width:580px){
 .auth-screen{padding:12px;align-items:center}
 .portal-modal{width:100%;flex:0 1 auto;max-width:calc(100vw - 24px);min-width:0}
 .portal-role-choice{min-width:0;flex:1 1 calc(25% - 8px)}
 .portal-form,.portal-tabs,.portal-channel-card,.portal-header{min-width:0}
 .portal-heading h1{font-size:.84rem}
}

/* Native listing editor follows the original React 3-step modal structure. */
.editor-overlay{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:28px 18px;background:#120e12ad;backdrop-filter:blur(4px);overflow:auto}
.listing-wizard{width:min(770px,100%);min-width:0;max-height:calc(100vh - 56px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e3dddb;border-radius:18px;box-shadow:0 25px 85px #0004}
.listing-wizard .portal-header{position:sticky;top:0;z-index:3;padding:19px 24px}
.wizard-tabs{position:sticky;top:71px;z-index:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fcfaf9;border-bottom:1px solid #e8e2e2}
.wizard-tabs button{padding:14px 10px;background:transparent;color:#716c73;border:0;border-bottom:2px solid transparent;font-size:.76rem;font-weight:700}
.wizard-tabs button.selected{color:#6d1028;border-color:#6d1028;background:white}
.wizard-content{padding:26px 24px 14px}
.wizard-step{border:0;margin:0;padding:0;min-width:0}
.wizard-step[hidden],.wizard-footer [hidden]{display:none!important}
.wizard-step h2{font-size:1.27rem;margin:3px 0 8px}
.wizard-field{margin:0 0 19px}
.wizard-field>label,.wizard-field>span.portal-field-label{display:block;font-size:.7rem;font-weight:800;color:#706a70;text-transform:uppercase;letter-spacing:.015em;margin:0 0 7px}
.wizard-field input:not([type=checkbox]),.wizard-field select,.wizard-field textarea{display:block;width:100%;min-height:40px;border-radius:11px;background:#faf9f7;border:1px solid #e7e3e1;padding:10px 13px;font-size:.79rem;color:#3e383d}
.wizard-field input::placeholder,.wizard-field textarea::placeholder{color:#a7a0a4}
.wizard-field input[readonly]{background:#f0eeec}
.wizard-field textarea{min-height:110px}
.wizard-field small{font-size:.69rem;color:#8a8389;display:block;margin-top:5px}
.wizard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.wizard-note{border:1px solid #f3e4bb;background:#fffbef;color:#865424;padding:12px 15px;border-radius:12px;font-size:.74rem;line-height:1.6;margin:0 0 20px;max-width:360px}
.wizard-note strong{display:block;color:#7c3e18;margin-bottom:4px}
.wizard-hint{font-size:.65rem;color:#a06b1c;font-weight:700;margin:5px 0}
.wizard-amenities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}
.wizard-amenities label{font-size:.75rem;color:#54474e;display:flex;gap:6px;align-items:center;cursor:pointer;font-weight:600}
.wizard-amenities input{width:16px;height:16px;min-height:16px;accent-color:#6d1028}
.wizard-footer{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:15px 24px;background:white;border-top:1px solid #ebe5e3}
.wizard-footer .btn{font-size:.78rem;padding:9px 16px;white-space:nowrap}
.wizard-step-count{font-size:.7rem;color:#928b91;margin-right:auto}
.editor-cover-preview{height:160px;max-width:230px;object-fit:cover;border-radius:12px;margin:10px 0 17px}
@media(max-width:760px){
 .editor-overlay{padding:12px}
 .listing-wizard{width:100%;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px)}
 .wizard-tabs{top:67px}
 .wizard-tabs button{font-size:.63rem;padding:10px 6px}
 .wizard-content{padding:18px}
 .wizard-grid{grid-template-columns:1fr;gap:0}
 .wizard-amenities{grid-template-columns:repeat(2,1fr)}
 .wizard-footer{padding:12px 15px;gap:6px}
 .wizard-footer .btn{padding:9px 11px;font-size:.7rem}
 .wizard-step-count{font-size:.62rem}
}


/* Screenshot-matched navigation and photographic hero — November 2026.
   Reference: original MX Properties desktop screenshot at ~1648px. */
.header{position:relative;z-index:40;background:#faf8f5;border-bottom:1px solid #e8e4e6}
.header-inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.header .brand{display:flex;align-items:center;flex:none;gap:12px;font-weight:800;letter-spacing:-.035em;white-space:nowrap}
.header .brand-symbol{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;background:#6d1028;color:#fff;border-radius:13px;box-shadow:0 5px 12px #6d102824}
.header .brand-symbol svg{width:23px;height:23px}
.header .brand-name{font:800 1.3rem/1.05 "Plus Jakarta Sans",Manrope,sans-serif;color:#202026;letter-spacing:-.045em}
.header .brand-name>span{color:#6d1028}
.header .brand-name small{display:block;font:600 .61rem/1.45 Manrope,sans-serif;color:#74747d;letter-spacing:-.02em;margin-top:4px}
.header .site-menu{display:flex;position:static;top:auto;left:auto;right:auto;width:auto;background:none;border:0;box-shadow:none;border-radius:0;padding:0;z-index:auto;flex-direction:row;align-items:center;justify-content:center;gap:32px;min-width:0;margin-left:auto;margin-right:auto}
.header .site-menu>a{display:inline-block;padding:10px 0;color:#202026;font-weight:600;font-size:.91rem;white-space:nowrap;line-height:1.4}
.header .site-menu>a:hover{color:#6d1028}
.header .site-menu-extra{display:none}
.header .header-actions{display:flex;align-items:center;gap:12px;flex:none;margin-left:0}
.header .header-currency{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #e7e2e3;background:#fff;color:#202026;border-radius:10px;font-size:.8rem;font-weight:700;line-height:1.4;white-space:nowrap}
.header .header-currency svg{width:17px;height:17px;color:#6d1028}
.header .favorite-link{position:relative;display:grid;place-items:center;color:#202026;padding:6px;width:41px;height:39px;font-size:inherit;line-height:1;border-radius:9px}
.header .favorite-link svg{height:22px;width:22px}
.header .favorite-link:hover{background:#f4e9ec;color:#6d1028}
.header .favorite-count{position:absolute;right:0;top:0;display:grid;place-items:center;min-width:17px;height:17px;padding:1px 3px;border-radius:99px;background:#6d1028;color:#fff;font:800 .64rem/1 Manrope,sans-serif}
.header .header-list{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:7px 14px;border:1px solid #6d1028;border-radius:9px;background:transparent;color:#6d1028;font-size:.78rem;font-weight:700;white-space:nowrap}
.header .header-list svg{height:18px;width:18px;flex:none}
.header .header-list:hover{background:#f5e8ec;transform:none}
.header .header-sign{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:9px 15px;border-radius:9px;background:#6d1028;color:#fff;font-size:.77rem;white-space:nowrap}
.header .header-sign:hover{color:#fff;background:#4d091a}
.header .header-account{position:relative;min-width:0}
.header .header-account summary{display:flex;align-items:center;justify-content:center;gap:7px;list-style:none;min-width:76px;min-height:37px;padding:6px 10px;background:#fff;border:1px solid #e7e2e3;border-radius:9px;color:#202026;font-size:.79rem;font-weight:650;cursor:pointer;white-space:nowrap}
.header .header-account summary::-webkit-details-marker{display:none}
.header .header-account summary svg{height:18px;width:18px;flex:0 0 18px;color:#6d1028}
.header .header-account summary .account-chevron{width:13px;height:13px;flex-basis:13px;color:#75717a}
.header .header-account-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:100;min-width:195px;display:flex;flex-direction:column;gap:0;border:1px solid #eae4e3;background:#fff;border-radius:12px;padding:7px;box-shadow:0 18px 45px #1e0d171c}
.header .header-account-menu a,.header .header-account-menu button{display:block;width:100%;padding:10px 12px;color:#262229;text-align:left;background:transparent;border:0;border-radius:7px;font-size:.81rem;font-weight:650}
.header .header-account-menu a:hover,.header .header-account-menu button:hover{background:#faf0f3;color:#6d1028}
.header .header-account-menu form{margin:0}
.header .menu-toggle{display:none;border:1px solid #e9e4e5;background:#fff;color:#202026;min-width:40px;height:40px;border-radius:10px;padding:8px}
.hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:#202026;padding:0}
.hero-backdrop{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center 47%;pointer-events:none}
.hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(to right,rgba(32,32,38,.96) 0%,rgba(32,32,38,.89) 32%,rgba(32,32,38,.71) 57%,rgba(42,26,34,.63) 100%);pointer-events:none}
.hero-radial-shade{position:absolute;inset:0;z-index:1;background:radial-gradient(circle at left,transparent 0%,rgba(54,26,39,.43) 100%);pointer-events:none}
.hero>.container,.hero>.market-stats{position:relative;z-index:2}
.hero>.hero-inner{display:block;min-height:0;padding:49px 0 0}
.hero .hero-copy{max-width:1000px;position:relative;z-index:2}
.hero .hero-tags{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:.79rem;line-height:1.3}
.hero .hero-tag{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #9d173d;background:#810f30;color:#fff;border-radius:9px;font-size:.78rem;font-weight:750;letter-spacing:0;line-height:1.35}
.hero .hero-verified{display:inline-flex;align-items:center;gap:6px;color:#00ddb6;font-size:.81rem;font-weight:750;letter-spacing:.015em}
.hero h1{font:800 clamp(2.8rem,4.1vw,4rem)/1.15 "Plus Jakarta Sans",Manrope,sans-serif;letter-spacing:-.035em;max-width:965px;margin:18px 0 26px;color:#fff;text-wrap:balance}
.hero p{max-width:735px;color:#efedf0;opacity:1;font-size:1.14rem;line-height:1.7;margin:0 0 35px;font-weight:450}
.hero .hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:17px}
.hero .hero-actions .btn{min-height:52px;padding:14px 25px;font-size:.9rem;font-weight:750;border-radius:12px;box-shadow:none}
.hero .hero-actions .btn.primary{background:#790e2b;color:#fff;border:1px solid #790e2b}
.hero .hero-actions .btn.primary:hover{background:#5c0a20}
.hero .hero-actions .btn.ghost{background:#ffffff15;color:#fff;border:1px solid #ffffff35;backdrop-filter:blur(3px)}
.hero .hero-actions .btn.ghost:hover{background:#ffffff23;color:#fff}
.hero .hero-filters{max-width:1100px;width:100%;margin:51px 0 0;padding:26px 28px 28px;border:1px solid #f0e9e8;border-radius:18px 18px 0 0;background:#fff;color:#202026;box-shadow:0 16px 60px #00000030}
.hero .hero-tabs{display:flex;align-items:center;gap:1px;width:max-content;max-width:100%;padding:4px;background:#faf8f7;border:1px solid #eae5e2;border-radius:12px;overflow-x:auto}
.hero .search-tab{padding:9px 15px;border-radius:8px;font-size:.75rem;font-weight:750;color:#74717a;white-space:nowrap}
.hero .search-tab.active{background:#6d1028;color:#fff;box-shadow:none}
.hero .hero-filter-grid{display:grid;grid-template-columns:minmax(0,2.1fr) repeat(2,minmax(0,1.2fr)) minmax(125px,.85fr);gap:17px;margin-top:27px;align-items:end}
.hero .hero-filter-grid label{color:#77727b;font-size:.69rem;letter-spacing:.045em;font-weight:800;margin-bottom:8px}
.hero .hero-filter-grid input,.hero .hero-filter-grid select{min-height:47px;border:1px solid #e7e2e0;border-radius:11px;background:#faf9f8;font-size:.81rem}
.hero .hero-filter-grid .btn{min-height:47px;border-radius:11px;font-size:.79rem;padding:10px 12px}
.hero .market-stats{margin-top:0;background:#202026db}
@media(max-width:1350px){
 .header-inner{gap:20px}
 .header .site-menu{gap:22px}
 .header .site-menu>a{font-size:.85rem}
 .header .header-actions{gap:8px}
}
@media(max-width:1180px){
 .header-inner{min-height:78px}
 .header .site-menu{display:none;position:absolute;top:calc(100% - 1px);left:auto;right:0;width:min(320px,calc(100vw - 32px));padding:13px;background:#fff;border:1px solid #e9e4e3;border-radius:0 0 13px 13px;box-shadow:0 16px 40px #1d0d141a;flex-direction:column;align-items:stretch;gap:1px;margin:0;z-index:99}
 .header .site-menu.is-open{display:flex}
 .header .site-menu>a{padding:11px 13px;font-size:.86rem}
 .header .site-menu-extra{display:flex;flex-direction:column;border-top:1px solid #eee9e7;margin-top:8px;padding-top:8px}
 .header .site-menu-extra a{padding:9px 13px;font-size:.82rem;font-weight:650}
 .header .menu-toggle{display:inline-flex;align-items:center;justify-content:center}
}
@media(max-width:760px){
 .header-inner{min-height:70px;gap:12px}
 .header .brand-symbol{width:37px;height:37px;flex-basis:37px;border-radius:11px}
 .header .brand-name{font-size:1.1rem}
 .header .brand-name small{font-size:.53rem}
 .header .header-currency,.header .header-list{display:none}
 .header .header-actions{gap:4px}
 .header .header-sign{min-height:35px;padding:7px 10px;font-size:.7rem}
 .header .header-account summary{min-width:0;max-width:113px;padding:6px 7px}
 .header .header-account summary span{max-width:65px;overflow:hidden;text-overflow:ellipsis}
 .hero>.hero-inner{padding-top:44px}
 .hero .hero-tags{gap:9px}
 .hero .hero-tag{font-size:.67rem;padding:5px 8px}
 .hero .hero-verified{font-size:.68rem}
 .hero h1{font-size:clamp(2.25rem,7vw,3.35rem);line-height:1.16;letter-spacing:-.035em;max-width:100%;margin:20px 0 22px;text-wrap:initial}
 .hero p{font-size:.91rem;line-height:1.7;margin-bottom:28px}
 .hero .hero-actions{gap:10px}
 .hero .hero-actions .btn{width:100%;min-height:46px;padding:11px 17px;font-size:.83rem}
 .hero .hero-filters{margin-top:38px;padding:19px 16px 21px;border-radius:17px 17px 0 0}
 .hero .search-tab{font-size:.69rem;padding:8px 11px}
 .hero .hero-filter-grid{grid-template-columns:1fr;gap:14px;margin-top:21px}
 .hero .hero-filter-grid .btn{width:100%}
 .hero-backdrop{object-position:62% center}
}
@media(max-width:420px){
 .header .brand-name{font-size:1rem}
 .header .brand-name small{font-size:.47rem}
 .header .brand{gap:7px}
 .header .favorite-link{width:30px;padding:3px}
 .header .favorite-link svg{width:20px;height:20px}
 .header .menu-toggle{min-width:35px;width:35px;height:37px}
 .hero h1{font-size:clamp(2.05rem,8.3vw,2.45rem)}
 .hero .hero-verified{font-size:.62rem}
}

/* Match the deliberate desktop description line endings from the reference. */
.hero-linebreak{display:block}
@media(max-width:760px){.hero-linebreak{display:none}}
