/* Real Property Guru — Homepage + Properties Premium Polish V1
   Loaded after Homzen + RPG global design. Keeps existing functionality; refines hierarchy, scale and responsive presentation. */
:root{
  --rpg-premium-950:#04382b;
  --rpg-premium-900:#054936;
  --rpg-premium-800:#086b4a;
  --rpg-premium-700:#0a9158;
  --rpg-premium-600:#12aa65;
  --rpg-premium-100:#eaf7ef;
  --rpg-premium-50:#f6faf8;
  --rpg-premium-ink:#17211d;
  --rpg-premium-muted:#66756d;
  --rpg-premium-line:#e3ebe6;
  --rpg-premium-shadow:0 14px 40px rgba(14,53,38,.08);
  --rpg-premium-shadow-hover:0 22px 56px rgba(14,53,38,.14);
  --rpg-premium-radius:18px;
}

/* ---------- Global public typography / controls ---------- */
body:not(.admin-bar){font-size:16px}
body .rpgx-nav,
body .main-menu .navigation > li > a{font-size:15px!important;letter-spacing:0!important}
body .rpgx-btn,
body .tf-btn,
body button,
body input,
body select,
body textarea{font-size:15px}
body .form-control,
body .nice-select,
body .multi-select-trigger{min-height:46px}
body .rpgx-topbar{font-size:13px}
body .rpgx-brand-copy b{font-size:14px}
body .rpgx-brand-copy span{font-size:13px}
body .rpgx-footer h4{font-size:14px!important}
body .rpgx-footer a,
body .rpgx-footer p{font-size:13px!important;line-height:1.65!important}

/* shared header/footer polish */
.rpgx-header{box-shadow:0 1px 0 rgba(9,53,38,.06),0 8px 24px rgba(10,46,34,.035)}
.rpgx-header-inner{min-height:78px!important}
.rpgx-brand-mark{width:44px!important;height:44px!important;border-radius:13px!important}
.rpgx-nav{gap:28px!important;font-weight:750!important}
.rpgx-btn{min-height:46px!important;padding-inline:19px!important;border-radius:11px!important}
.rpgx-footer{background:linear-gradient(135deg,#043b2d,#034c39)!important}
.rpgx-footer-grid{column-gap:38px!important}
.rpgx-newsletter{border:1px solid rgba(255,255,255,.18)!important}

/* ---------- HOMEPAGE POLISH ---------- */
body.rpg-homepage .rpgx-container{width:min(1440px,calc(100% - 72px))!important}
body.rpg-homepage .rpgx-hero{
  min-height:540px!important;
  background-position:center 48%!important;
}
body.rpg-homepage .rpgx-hero-inner{padding:78px 0 56px!important}
body.rpg-homepage .rpgx-hero-copy{max-width:680px!important}
body.rpg-homepage .rpgx-hero h1{font-size:clamp(54px,5.7vw,86px)!important;line-height:.97!important;letter-spacing:-.055em!important}
body.rpg-homepage .rpgx-hero p{font-size:17px!important;line-height:1.6!important;max-width:590px!important}
body.rpg-homepage .rpgx-hero-badge{font-size:13px!important;padding:9px 13px!important}
body.rpg-homepage .rpgx-hero-points>span{font-size:13px!important}
body.rpg-homepage .rpgx-search-wrap{margin-top:-118px!important}
body.rpg-homepage .rpgx-search-shell{width:min(1020px,74%)!important}
body.rpg-homepage .rpgx-search-box{padding:16px!important;border-radius:21px!important;box-shadow:0 26px 64px rgba(0,0,0,.18)!important}
body.rpg-homepage .rpgx-field{padding:10px 14px!important}
body.rpg-homepage .rpgx-field label{font-size:11px!important;letter-spacing:.08em!important}
body.rpg-homepage .rpgx-field input,
body.rpg-homepage .rpgx-field select{font-size:14px!important}
body.rpg-homepage .rpgx-search-tabs button{font-size:14px!important;padding:15px 32px!important}
body.rpg-homepage .rpgx-search-btn{min-height:50px!important;font-size:14px!important}
body.rpg-homepage .rpgx-section{padding:64px 0!important}
body.rpg-homepage .rpgx-section-head{margin-bottom:26px!important}
body.rpg-homepage .rpgx-section h2{font-size:34px!important;letter-spacing:-.035em!important}
body.rpg-homepage .rpgx-view-all{font-size:13px!important}

/* homepage property type cards */
body.rpg-homepage .rpgx-type-row{gap:16px!important}
body.rpg-homepage .rpgx-type-card{border-radius:18px!important;padding:11px!important;border-color:var(--rpg-premium-line)!important;box-shadow:0 10px 26px rgba(17,54,39,.045)!important;transition:.22s ease!important}
body.rpg-homepage .rpgx-type-card:hover{transform:translateY(-3px);box-shadow:var(--rpg-premium-shadow)!important;border-color:#cfe0d6!important}
body.rpg-homepage .rpgx-type-card img{width:68px!important;height:68px!important;border-radius:14px!important}
body.rpg-homepage .rpgx-type-card strong{font-size:14px!important}
body.rpg-homepage .rpgx-type-card span{font-size:12px!important}

/* homepage property cards */
body.rpg-homepage .rpgx-property-grid{gap:20px!important}
body.rpg-homepage .rpgx-property-card{border-radius:19px!important;border-color:var(--rpg-premium-line)!important;box-shadow:var(--rpg-premium-shadow)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;background:#fff!important}
body.rpg-homepage .rpgx-property-card:hover{transform:translateY(-4px);box-shadow:var(--rpg-premium-shadow-hover)!important;border-color:#cbded3!important}
body.rpg-homepage .rpgx-property-media{height:235px!important;overflow:hidden!important}
body.rpg-homepage .rpgx-property-media img{transition:transform .35s ease!important}
body.rpg-homepage .rpgx-property-card:hover .rpgx-property-media img{transform:scale(1.018)}
body.rpg-homepage .rpgx-property-body{padding:17px 17px 15px!important}
body.rpg-homepage .rpgx-property-title{font-size:17px!important;line-height:1.35!important;font-weight:800!important}
body.rpg-homepage .rpgx-meta{font-size:13px!important;line-height:1.45!important}
body.rpg-homepage .rpgx-features{font-size:13px!important;margin:12px 0!important;gap:14px!important}
body.rpg-homepage .rpgx-price-line{margin-top:8px!important}
body.rpg-homepage .rpgx-price-line strong,
body.rpg-homepage .rpgx-price-line .price{font-size:19px!important;font-weight:900!important}
body.rpg-homepage .property-contact-action{min-height:46px!important;font-size:13px!important;font-weight:800!important}
body.rpg-homepage .property-contact-action--call{background:#fff!important;color:var(--rpg-premium-800)!important;border:1px solid #cfe1d7!important}
body.rpg-homepage .property-contact-action--whatsapp{background:#12b866!important;color:#fff!important}

/* locations / trust / professionals / development / CTA */
body.rpg-homepage .rpgx-location-row{gap:16px!important}
body.rpg-homepage .rpgx-location-card{height:165px!important;border-radius:18px!important;box-shadow:0 12px 28px rgba(12,50,36,.08)!important;transition:.22s ease!important}
body.rpg-homepage .rpgx-location-card:hover{transform:translateY(-3px)}
body.rpg-homepage .rpgx-location-card strong{font-size:16px!important}
body.rpg-homepage .rpgx-location-card span{font-size:12px!important}
body.rpg-homepage .rpgx-trust{padding:34px!important;border-radius:22px!important;box-shadow:0 18px 44px rgba(4,59,44,.13)!important}
body.rpg-homepage .rpgx-trust h3{font-size:30px!important;line-height:1.15!important}
body.rpg-homepage .rpgx-trust p{font-size:13px!important;line-height:1.6!important}
body.rpg-homepage .rpgx-trust-stat strong{font-size:27px!important}
body.rpg-homepage .rpgx-trust-stat span{font-size:11px!important}
body.rpg-homepage .rpgx-panel{border-radius:20px!important;box-shadow:var(--rpg-premium-shadow)!important}
body.rpg-homepage .rpgx-panel-head h3{font-size:20px!important}
body.rpg-homepage .rpgx-prof strong{font-size:13px!important}
body.rpg-homepage .rpgx-prof span{font-size:11px!important}
body.rpg-homepage .rpgx-dev-card h4{font-size:22px!important}
body.rpg-homepage .rpgx-dev-card p{font-size:12px!important}
body.rpg-homepage .rpgx-dev-price{font-size:16px!important}
body.rpg-homepage .rpgx-cta{padding:34px!important;border-radius:22px!important;box-shadow:0 16px 38px rgba(5,62,45,.12)!important}
body.rpg-homepage .rpgx-cta h3{font-size:29px!important;line-height:1.16!important}
body.rpg-homepage .rpgx-cta p{font-size:13px!important}

/* ---------- PROPERTIES DIRECTORY POLISH ---------- */
body.rpg-properties-exact-v2 .rpgp2-container{width:min(1440px,calc(100% - 72px))!important}
body.rpg-properties-exact-v2 .rpgp2-hero{min-height:220px!important;padding:42px 0 58px!important;background-position:center 52%!important}
body.rpg-properties-exact-v2 .rpgp2-hero h1{font-size:52px!important;line-height:1!important;letter-spacing:-.045em!important}
body.rpg-properties-exact-v2 .rpgp2-breadcrumb{font-size:13px!important;margin-top:12px!important}
body.rpg-properties-exact-v2 .rpgp2-summary-wrap{margin-top:-31px!important}
body.rpg-properties-exact-v2 .rpgp2-summary-card{min-height:94px!important;padding:19px 24px!important;border-radius:18px!important;box-shadow:0 18px 44px rgba(15,54,40,.095)!important}
body.rpg-properties-exact-v2 .rpgp2-summary-item i{width:44px!important;height:44px!important;border-radius:13px!important}
body.rpg-properties-exact-v2 .rpgp2-summary-item strong{font-size:15px!important}
body.rpg-properties-exact-v2 .rpgp2-summary-item span{font-size:12px!important}
body.rpg-properties-exact-v2 .rpgp2-save-search a{min-height:44px!important;padding:0 17px!important;font-size:13px!important}
body.rpg-properties-exact-v2 .rpgp2-results-section{padding:34px 0 68px!important}
body.rpg-properties-exact-v2 .rpgp2-results-grid{grid-template-columns:272px minmax(0,1fr)!important;gap:24px!important}

/* Sidebar — cleaner hierarchy */
body.rpg-properties-exact-v2 .rpgp2-sidebar .search-box-offcanvas-content{border-radius:18px!important;box-shadow:0 10px 34px rgba(17,54,39,.06)!important;border:1px solid var(--rpg-premium-line)!important}
body.rpg-properties-exact-v2 .rpgp2-sidebar .widget-filter-search{padding:18px!important}
body.rpg-properties-exact-v2 .rpgp2-filter-kicker{font-size:10px!important;letter-spacing:.11em!important}
body.rpg-properties-exact-v2 .rpgp2-sidebar h3,
body.rpg-properties-exact-v2 .rpgp2-sidebar .title{font-size:19px!important}
body.rpg-properties-exact-v2 .rpgp2-sidebar label,
body.rpg-properties-exact-v2 .rpgp2-sidebar .title-select,
body.rpg-properties-exact-v2 .rpgp2-sidebar .title-price{font-size:13px!important;font-weight:750!important}
body.rpg-properties-exact-v2 .rpgp2-sidebar input.form-control,
body.rpg-properties-exact-v2 .rpgp2-sidebar select,
body.rpg-properties-exact-v2 .rpgp2-sidebar .multi-select-trigger,
body.rpg-properties-exact-v2 .rpgp2-sidebar .nice-select{font-size:14px!important;min-height:46px!important;border-radius:10px!important}
body.rpg-properties-exact-v2 .rpgp2-sidebar .form-style{margin-bottom:15px!important}
body.rpg-properties-exact-v2 .rpgp2-sidebar .caption-price{font-size:12px!important}
body.rpg-properties-exact-v2 .rpgp2-sidebar .tf-btn.primary{min-height:48px!important;font-size:14px!important;border-radius:10px!important}

/* Desktop: visually demote secondary filters into a softer lower group */
@media(min-width:1181px){
 body.rpg-properties-exact-v2 .rpgp2-sidebar .rpg-marketplace-filters,
 body.rpg-properties-exact-v2 .rpgp2-sidebar .form-search-square,
 body.rpg-properties-exact-v2 .rpgp2-sidebar .rpg-verified-filter,
 body.rpg-properties-exact-v2 .rpgp2-sidebar .btn-show-advanced{
   border-top:1px solid #edf2ef!important;
   padding-top:14px!important;
 }
}

/* Toolbar */
body.rpg-properties-exact-v2 .rpgp2-toolbar{min-height:52px!important;margin-bottom:18px!important;gap:16px!important}
body.rpg-properties-exact-v2 .rpgp2-toolbar-left,
body.rpg-properties-exact-v2 .rpgp2-pagination-info{font-size:14px!important;color:#5f6f66!important}
body.rpg-properties-exact-v2 .rpgp2-pagination-info strong{color:var(--rpg-premium-ink)!important;font-weight:850!important}
body.rpg-properties-exact-v2 .rpgp2-sort,
body.rpg-properties-exact-v2 .rpgp2-per-page{min-height:44px!important;font-size:13px!important;border-radius:10px!important}
body.rpg-properties-exact-v2 .rpgp2-view-btn,
body.rpg-properties-exact-v2 .rpgp2-filter-button{width:44px!important;height:44px!important;border-radius:10px!important}

/* Property grid/cards */
body.rpg-properties-exact-v2 .rpgp2-property-grid{gap:22px 20px!important}
body.rpg-properties-exact-v2 .rpgp2-card{border:1px solid var(--rpg-premium-line)!important;border-radius:18px!important;box-shadow:var(--rpg-premium-shadow)!important;background:#fff!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;overflow:hidden!important}
body.rpg-properties-exact-v2 .rpgp2-card:hover{transform:translateY(-4px);box-shadow:var(--rpg-premium-shadow-hover)!important;border-color:#cadfd3!important}
body.rpg-properties-exact-v2 .rpgp2-card-media{height:242px!important;min-height:242px!important;background:linear-gradient(145deg,#edf5f0,#e5efe9)!important;overflow:hidden!important}
body.rpg-properties-exact-v2 .rpgp2-card-media img{transition:transform .35s ease!important}
body.rpg-properties-exact-v2 .rpgp2-card:hover .rpgp2-card-media img{transform:scale(1.018)}
body.rpg-properties-exact-v2 .rpgp2-card-media.rpgp3-no-image,
body.rpg-properties-exact-v2 .rpgp2-card-media:has(img[src*="placeholder"]){background:radial-gradient(circle at 50% 35%,#f7fbf8 0,#eaf3ed 58%,#dfeae3 100%)!important}
body.rpg-properties-exact-v2 .rpgp2-card-media.rpgp3-no-image::before,
body.rpg-properties-exact-v2 .rpgp2-card-media:has(img[src*="placeholder"])::before{content:"R";position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);width:62px;height:62px;border-radius:18px;display:grid;place-items:center;background:#0a9158;color:#fff;font-size:28px;font-weight:900;box-shadow:0 12px 28px rgba(10,145,88,.18);z-index:1}
body.rpg-properties-exact-v2 .rpgp2-card-media.rpgp3-no-image::after,
body.rpg-properties-exact-v2 .rpgp2-card-media:has(img[src*="placeholder"])::after{content:"Property image unavailable"!important;bottom:34px!important;font-size:12px!important;color:#60746a!important}
body.rpg-properties-exact-v2 .rpgp2-card-media.rpgp3-no-image img,
body.rpg-properties-exact-v2 .rpgp2-card-media:has(img[src*="placeholder"]) img{opacity:0!important}
body.rpg-properties-exact-v2 .rpgp2-card-body{padding:18px 18px 15px!important}
body.rpg-properties-exact-v2 .rpgp2-category{font-size:11px!important;padding:5px 8px!important;margin-bottom:9px!important}
body.rpg-properties-exact-v2 .rpgp2-card-title{font-size:17px!important;line-height:1.36!important;font-weight:850!important;min-height:47px!important;letter-spacing:-.01em!important}
body.rpg-properties-exact-v2 .rpgp2-card-title a{transition:color .18s ease!important}
body.rpg-properties-exact-v2 .rpgp2-card:hover .rpgp2-card-title a{color:var(--rpg-premium-700)!important}
body.rpg-properties-exact-v2 .rpgp2-location{font-size:13.5px!important;line-height:1.45!important;color:#66756d!important;margin-top:9px!important}
body.rpg-properties-exact-v2 .rpgp2-features{font-size:13px!important;color:#627068!important;gap:14px!important;margin-top:12px!important;min-height:22px!important}
body.rpg-properties-exact-v2 .rpgp2-price{font-size:20px!important;font-weight:900!important;letter-spacing:-.015em!important;margin-top:14px!important;color:#057348!important}
body.rpg-properties-exact-v2 .rpgp2-agent-row{grid-template-columns:36px minmax(0,1fr) auto!important;gap:10px!important;margin-top:15px!important;padding-top:14px!important;border-top:1px solid #edf2ef!important;min-height:54px!important}
body.rpg-properties-exact-v2 .rpgp2-agent-avatar,
body.rpg-properties-exact-v2 .rpgp2-agent-avatar img{width:36px!important;height:36px!important;border-radius:50%!important}
body.rpg-properties-exact-v2 .rpgp2-agent-copy span{font-size:11px!important;color:#7a8880!important}
body.rpg-properties-exact-v2 .rpgp2-agent-copy strong{font-size:13px!important;font-weight:800!important}
body.rpg-properties-exact-v2 .rpgp2-agent-badge{font-size:13px!important}
body.rpg-properties-exact-v2 .rpgp2-card .property-contact-actions{padding:0 18px 18px!important;gap:10px!important}
body.rpg-properties-exact-v2 .rpgp2-card .property-contact-action{min-height:47px!important;font-size:13px!important;font-weight:800!important;border-radius:10px!important}
body.rpg-properties-exact-v2 .rpgp2-card .property-contact-action--call{background:#fff!important;color:#08784d!important;border:1px solid #cbded3!important}
body.rpg-properties-exact-v2 .rpgp2-card .property-contact-action--whatsapp{background:#12b866!important;color:#fff!important;border:1px solid #12b866!important}

/* Pagination / footer */
body.rpg-properties-exact-v2 .rpgp2-pagination-wrap{margin-top:42px!important}
body.rpg-properties-exact-v2 .rpgp2-pagination-wrap .page-link{min-width:44px!important;height:44px!important;font-size:14px!important;border-radius:10px!important}
body.rpg-properties-exact-v2 .rpgx-footer{padding-top:62px!important}

/* ---------- Tablet ---------- */
@media(min-width:768px) and (max-width:1180px){
 body.rpg-homepage .rpgx-container,
 body.rpg-properties-exact-v2 .rpgp2-container{width:min(100% - 40px,1180px)!important}
 body.rpg-homepage .rpgx-hero{min-height:500px!important}
 body.rpg-homepage .rpgx-search-shell{width:88%!important}
 body.rpg-homepage .rpgx-property-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.rpg-homepage .rpgx-property-media{height:245px!important}
 body.rpg-properties-exact-v2 .rpgp2-results-grid{grid-template-columns:1fr!important}
 body.rpg-properties-exact-v2 .rpgp2-property-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important}
 body.rpg-properties-exact-v2 .rpgp2-card-media{height:250px!important}
 body.rpg-properties-exact-v2 .rpgp2-toolbar{position:sticky;top:78px;z-index:15;background:rgba(246,250,248,.96);backdrop-filter:blur(12px);padding:9px 0!important}
}

/* ---------- Mobile ---------- */
@media(max-width:767px){
 body{font-size:16px!important}
 .rpgx-container,
 body.rpg-homepage .rpgx-container,
 body.rpg-properties-exact-v2 .rpgp2-container{width:calc(100% - 24px)!important}
 .rpgx-topbar{display:none!important}
 .rpgx-header-inner{min-height:68px!important}
 .rpgx-brand-copy b{font-size:13px!important}
 .rpgx-brand-copy span{font-size:12px!important}
 body.rpg-homepage .rpgx-hero{min-height:545px!important}
 body.rpg-homepage .rpgx-hero-inner{padding:48px 0 158px!important}
 body.rpg-homepage .rpgx-hero h1{font-size:48px!important;line-height:1!important;max-width:350px!important}
 body.rpg-homepage .rpgx-hero p{font-size:16px!important}
 body.rpg-homepage .rpgx-hero-points>span{font-size:12px!important}
 body.rpg-homepage .rpgx-search-wrap{margin-top:-132px!important}
 body.rpg-homepage .rpgx-search-shell{width:100%!important}
 body.rpg-homepage .rpgx-search-tabs{width:100%!important;margin-left:0!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important}
 body.rpg-homepage .rpgx-search-tabs button{padding:13px 6px!important;font-size:13px!important}
 body.rpg-homepage .rpgx-search-box{grid-template-columns:1fr 1fr!important;padding:12px!important;border-radius:0 0 18px 18px!important}
 body.rpg-homepage .rpgx-search-btn{grid-column:1/-1!important;min-height:50px!important}
 body.rpg-homepage .rpgx-section{padding:46px 0!important}
 body.rpg-homepage .rpgx-section h2{font-size:28px!important}
 body.rpg-homepage .rpgx-property-card{min-width:88%!important}
 body.rpg-homepage .rpgx-property-media{height:255px!important}
 body.rpg-homepage .rpgx-property-title{font-size:17px!important}
 body.rpg-homepage .rpgx-meta{font-size:13px!important}
 body.rpg-homepage .rpgx-features{font-size:13px!important}
 body.rpg-homepage .rpgx-location-card{min-width:76%!important;height:175px!important}
 body.rpg-homepage .rpgx-trust{padding:24px!important}
 body.rpg-homepage .rpgx-cta{padding:26px!important}
 body.rpg-homepage .rpgx-cta h3{font-size:25px!important}

 body.rpg-properties-exact-v2 .rpgp2-hero{min-height:168px!important;padding:30px 0 44px!important}
 body.rpg-properties-exact-v2 .rpgp2-hero h1{font-size:40px!important}
 body.rpg-properties-exact-v2 .rpgp2-breadcrumb{font-size:13px!important}
 body.rpg-properties-exact-v2 .rpgp2-summary-card{padding:16px!important;gap:14px!important}
 body.rpg-properties-exact-v2 .rpgp2-summary-item strong{font-size:14px!important}
 body.rpg-properties-exact-v2 .rpgp2-summary-item span{font-size:12px!important}
 body.rpg-properties-exact-v2 .rpgp2-results-section{padding-top:22px!important}
 body.rpg-properties-exact-v2 .rpgp2-toolbar{position:sticky!important;top:68px!important;z-index:25!important;background:rgba(246,250,248,.97)!important;backdrop-filter:blur(12px)!important;padding:10px 0!important;margin-bottom:14px!important}
 body.rpg-properties-exact-v2 .rpgp2-toolbar-left,
 body.rpg-properties-exact-v2 .rpgp2-pagination-info{font-size:13px!important}
 body.rpg-properties-exact-v2 .rpgp2-property-grid{grid-template-columns:1fr!important;gap:20px!important}
 body.rpg-properties-exact-v2 .rpgp2-card{border-radius:18px!important}
 body.rpg-properties-exact-v2 .rpgp2-card-media{height:270px!important;min-height:270px!important}
 body.rpg-properties-exact-v2 .rpgp2-card-body{padding:18px!important}
 body.rpg-properties-exact-v2 .rpgp2-card-title{font-size:18px!important;min-height:auto!important}
 body.rpg-properties-exact-v2 .rpgp2-location{font-size:14px!important}
 body.rpg-properties-exact-v2 .rpgp2-features{font-size:13px!important}
 body.rpg-properties-exact-v2 .rpgp2-price{font-size:20px!important}
 body.rpg-properties-exact-v2 .rpgp2-agent-copy strong{font-size:13px!important}
 body.rpg-properties-exact-v2 .rpgp2-card .property-contact-action{min-height:50px!important;font-size:14px!important}
 body.rpg-properties-exact-v2 .rpgp2-sidebar label,
 body.rpg-properties-exact-v2 .rpgp2-sidebar .title-select{font-size:14px!important}
 body.rpg-properties-exact-v2 .rpgp2-sidebar input.form-control,
 body.rpg-properties-exact-v2 .rpgp2-sidebar select,
 body.rpg-properties-exact-v2 .rpgp2-sidebar .multi-select-trigger{font-size:16px!important;min-height:50px!important}
}

@media(prefers-reduced-motion:reduce){
 .rpgx-property-card,.rpgp2-card,.rpgx-type-card,.rpgx-location-card,
 .rpgx-property-media img,.rpgp2-card-media img{transition:none!important}
}

/* BPP_LOGIN_FINAL_CASCADE_SUBMIT_FIX_V17_START
   Login(6).html proves the REAL submit button is server-rendered inside:
   form#botble-real-estate-forms-fronts-auth-login-form > .d-grid
   This block is intentionally placed in the LAST global theme stylesheet
   and scoped only to body#page-auth-login.
*/

/* Keep the real submit wrapper in normal flow. */
body#page-auth-login
form#botble-real-estate-forms-fronts-auth-login-form > div.d-grid {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    min-height: 52px !important;
    max-height: none !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    position: relative !important;
    inset: auto !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
}

/* Force the REAL Laravel button visible and clickable. */
body#page-auth-login
form#botble-real-estate-forms-fronts-auth-login-form
> div.d-grid
> button.btn.btn-primary.btn-auth-submit[type="submit"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    border: 0 !important;
    border-radius: 11px !important;

    background: linear-gradient(135deg, #08ad61 0%, #008849 100%) !important;
    color: #fff !important;

    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-align: center !important;

    box-shadow:
        0 14px 28px rgba(0, 146, 77, .24),
        inset 0 1px 0 rgba(255,255,255,.18) !important;

    overflow: visible !important;
    position: relative !important;
    inset: auto !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;

    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 1001 !important;
}

/* Keep arrow visible. */
body#page-auth-login
form#botble-real-estate-forms-fronts-auth-login-form
> div.d-grid
> button.btn-auth-submit[type="submit"] svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    stroke: currentColor !important;
}

/* Top tabs already provide Forgot Password and Register navigation.
   Remove the duplicate inline Forgot-password link. */
body#page-auth-login
form#botble-real-estate-forms-fronts-auth-login-form
> .row.g-0.mb-3
> .col-6.text-end {
    display: none !important;
}

/* Let Remember me own the full row once inline Forgot is removed. */
body#page-auth-login
form#botble-real-estate-forms-fronts-auth-login-form
> .row.g-0.mb-3
> .col-6:not(.text-end) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Remove the original bottom Register prompt.
   The top Register tab remains available. */
body#page-auth-login
form#botble-real-estate-forms-fronts-auth-login-form
> .mt-3.text-center {
    display: none !important;
}

/* Hide any custom "or" divider from earlier auth redesigns. */
body#page-auth-login .bpp-login-v12-divider,
body#page-auth-login .bpp-login-v11-divider,
body#page-auth-login .bpp-auth-login-bottom-or-v12,
body#page-auth-login .bpp-auth-divider-v1 {
    display: none !important;
}

/* Give the third tab enough space for the full label. */
body#page-auth-login .bpp-auth-tabs-v1,
body#page-auth-login [class*="bpp-auth-tabs"] {
    grid-template-columns: .82fr .96fr 1.42fr !important;
}

body#page-auth-login .bpp-auth-tabs-v1__item,
body#page-auth-login [class*="bpp-auth-tabs"] a {
    min-width: 0 !important;
    overflow: visible !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
}

body#page-auth-login .bpp-auth-tabs-v1__label,
body#page-auth-login [class*="bpp-auth-tabs"] [class*="label"] {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* Do not allow earlier helper classes to hide the real direct wrapper. */
body#page-auth-login
form#botble-real-estate-forms-fronts-auth-login-form
> div.d-grid.bpp-auth-redundant-bottom-v1,
body#page-auth-login
form#botble-real-estate-forms-fronts-auth-login-form
> div.d-grid.bpp-auth-redundant-inline-v1,
body#page-auth-login
form#botble-real-estate-forms-fronts-auth-login-form
> div.d-grid.bpp-auth-login-submit-wrapper-v1,
body#page-auth-login
form#botble-real-estate-forms-fronts-auth-login-form
> div.d-grid.bpp-auth-login-submit-wrapper-v12 {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 52px !important;
    max-height: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
}

@media (max-width: 767px) {
    body#page-auth-login
    form#botble-real-estate-forms-fronts-auth-login-form > div.d-grid {
        min-height: 50px !important;
    }

    body#page-auth-login
    form#botble-real-estate-forms-fronts-auth-login-form
    > div.d-grid
    > button.btn-auth-submit[type="submit"] {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
    }
}

/* BPP_LOGIN_FINAL_CASCADE_SUBMIT_FIX_V17_END */

/* BPP_LOGIN_SERVER_CLASS_CSS_FIX_V222_START */
body#page-auth-login .bpp-login-submit-wrap-v222 {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 52px !important;
    max-height: none !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    position: relative !important;
    inset: auto !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 9998 !important;
}

body#page-auth-login .bpp-login-submit-button-v222 {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #08ad61 0%, #008849 100%) !important;
    color: #fff !important;
    font: inherit !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-align: center !important;
    box-shadow: 0 14px 28px rgba(0,146,77,.24) !important;
    overflow: visible !important;
    position: relative !important;
    inset: auto !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 9999 !important;
}

body#page-auth-login .bpp-login-submit-button-v222 svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
}

body#page-auth-login form#botble-real-estate-forms-fronts-auth-login-form > .mt-3.text-center {
    display: none !important;
}

@media (max-width: 767px) {
    body#page-auth-login .bpp-login-submit-wrap-v222 {
        min-height: 50px !important;
    }
    body#page-auth-login .bpp-login-submit-button-v222 {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
    }
}
/* BPP_LOGIN_SERVER_CLASS_CSS_FIX_V222_END */
