/* MahaEstate Marketplace UI v3 — 99acres-inspired portal UX, MahaEstate branding preserved. */
:root{--me-primary:#155eef;--me-primary-dark:#0b3ea8;--me-ink:#18283f;--me-muted:#66758b;--me-line:#e5eaf1;--me-soft:#f7f9fc;--me-radius:14px}
body{background:#f7f8fa}
/* Keep existing header/footer untouched; style only marketplace content. */
.me-home{background:#fff}
.me-home-hero{min-height:500px;padding:52px 0 105px;background:radial-gradient(circle at 80% 12%,rgba(74,139,255,.35),transparent 28%),linear-gradient(135deg,#071d40 0%,#0c4a9d 58%,#155eef 100%)}
.me-home h1{font-size:clamp(38px,4.5vw,60px);max-width:700px}
.me-hero-copy{font-size:16px;max-width:620px}
.me-search-wrap{margin-top:34px}
.me-search-card{border-radius:16px;padding:0;box-shadow:0 18px 48px rgba(4,22,50,.24)}
.me-search-tabs{padding:7px 9px 0;border-bottom:1px solid #e7ebf1;gap:3px}
.me-search-tab{position:relative;padding:13px 19px;border-radius:0;color:#667085;font-size:14px}
.me-search-tab.active{background:transparent;color:var(--me-primary)}
.me-search-tab.active:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--me-primary)}
.me-search-form{padding:17px;grid-template-columns:1.55fr 1fr 1fr 1fr auto;gap:10px}
.me-field label{font-size:10px;letter-spacing:.08em}
.me-field .form-control,.me-field .form-select{height:50px;border-radius:10px;background:#fff}
.me-search-btn{height:50px;border-radius:10px;padding:0 24px}
.me-near{padding:0 17px 14px;margin:0}
.me-near button{background:#f1f6ff;color:#155eef}
.me-section{padding:64px 0}
.me-section.soft{background:#f7f9fc}
.me-section-head{margin-bottom:24px}
.me-section-head h2{font-size:27px}
.me-section-head p{font-size:13px}
.me-discovery{padding:45px 0 50px}
.me-discovery .me-category{min-height:88px;border-radius:13px;box-shadow:0 2px 8px rgba(16,35,63,.03)}
.me-discovery .me-category-icon{width:40px;height:40px;flex-basis:40px;border-radius:10px}
.me-property-grid{gap:18px}
.me-property-grid .card{border-color:#e3e7ed;border-radius:13px;box-shadow:0 3px 14px rgba(21,37,62,.05)}
.me-property-grid .card:hover{box-shadow:0 12px 30px rgba(21,37,62,.11);transform:translateY(-2px)}
.me-property-grid .card-img-top,.me-property-grid img{height:215px!important}
.me-property-grid .card-body{padding:16px!important}
.me-location{min-height:110px;border-radius:13px}
.me-trust-item{border-radius:13px;box-shadow:0 2px 10px rgba(20,40,70,.03)}
.me-partner{border-radius:18px;padding:40px}
/* Listing page */
.properties-page{max-width:1280px!important;padding-top:30px!important}
.market-page-head{padding:8px 0 4px}
.market-page-head h1{font-size:34px}
.market-filter-card{border-radius:14px;box-shadow:0 5px 20px rgba(23,43,77,.06);position:relative}
.market-filter-heading{padding:15px 18px}
.market-filter-content{padding:16px 18px}
.market-filter-control{height:44px;border-radius:9px;background:#fff}
.market-filter-actions{margin-top:14px;padding-top:14px}
.market-property-results{row-gap:18px!important}
.market-property-results .card{border-radius:13px!important;box-shadow:0 3px 14px rgba(23,43,77,.055)!important}
.market-property-results .card:hover{transform:translateY(-3px);box-shadow:0 13px 30px rgba(23,43,77,.12)!important}
.market-property-results .property-img{height:205px!important}
.market-property-results .card-body{padding:16px!important}
.market-results-head{margin-top:26px!important;margin-bottom:15px!important}
/* Property detail */
.property-detail{padding-top:30px!important}
.property-gallery-main{border-radius:14px!important}
.property-gallery-side div{border-radius:10px!important}
.property-main-card,.info-panel{border-radius:14px!important;box-shadow:0 4px 18px rgba(18,40,70,.05)!important}
.property-main-card{padding:24px!important}
.property-price{font-size:28px!important;color:#132743!important}
.spec{border-radius:10px!important;background:#fff!important}
/* Partner directory */
.partners-page{background:#f7f8fa}
.partner-card{border-radius:14px!important;box-shadow:0 3px 14px rgba(25,47,80,.055)!important}
.partner-card:hover{transform:translateY(-3px);box-shadow:0 13px 30px rgba(25,47,80,.11)!important}
/* Mobile */
@media(max-width:1050px){.me-search-form{grid-template-columns:repeat(2,1fr)}.me-search-btn{width:100%}}
@media(max-width:700px){.me-home-hero{padding-top:35px}.me-home h1{font-size:38px}.me-search-form{grid-template-columns:1fr}.me-section{padding:48px 0}.market-page-head h1{font-size:29px}.property-main-card{padding:18px!important}}
