.mpr-native-content{width:100%;scroll-margin-top:120px}.mpr-breadcrumb{display:flex;gap:8px;flex-wrap:wrap;font-size:14px;margin:0 0 18px}.mpr-breadcrumb a{text-decoration:none}.mpr-sub{opacity:.75;margin-bottom:18px}.mpr-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:24px;margin-top:24px}.mpr-card{border:1px solid #e8e8e8;border-radius:16px;padding:20px;background:#fff}.mpr-image{width:100%;height:auto;border-radius:12px}.mpr-price{font-size:28px;font-weight:700;margin:18px 0}.mpr-price small{font-size:14px;font-weight:400}.mpr-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.mpr-facts div{text-align:center;padding:12px;border-radius:10px;background:#f7f7f7}.mpr-facts span{display:block;font-size:12px;margin-top:4px}.mpr-side dl div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #eee}.mpr-side dt{font-weight:600}.mpr-source{display:block;text-align:center;padding:12px;margin-top:18px;border-radius:10px;background:#111;color:#fff;text-decoration:none}.mpr-filter{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:24px 0;scroll-margin-top:130px}.mpr-filter input,.mpr-filter select,.mpr-filter button{min-width:0;padding:11px;border:1px solid #ddd;border-radius:10px;background:#fff}.mpr-filter button{cursor:pointer;font-weight:700}.mpr-check{display:flex;align-items:center;gap:7px;padding:0 8px}.mpr-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.mpr-item{border:1px solid #eee;border-radius:14px;padding:0;background:#fff;overflow:hidden}.mpr-item-body{padding:16px}.mpr-item h2{font-size:18px;line-height:1.7;margin-top:0}.mpr-item a{text-decoration:none}.mpr-pagination{grid-column:1/-1;margin-top:15px}.mpr-property-nav{margin:0 0 26px;background:#fff;border:1px solid #ececec;border-radius:18px;box-shadow:0 8px 30px rgba(0,0,0,.055);overflow:hidden}.mpr-property-nav-inner{display:flex;align-items:center;gap:4px;padding:8px;overflow-x:auto;scrollbar-width:none}.mpr-property-nav-inner::-webkit-scrollbar{display:none}.mpr-property-nav a{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;text-decoration:none;padding:11px 16px;border-radius:12px;font-size:14px;font-weight:700;transition:.2s ease}.mpr-property-nav a:hover{background:#f4f5f7;transform:translateY(-1px)}.mpr-property-nav .mpr-nav-filter{margin-right:auto;background:#111;color:#fff}.mpr-property-nav .mpr-nav-filter:hover{background:#222}.mpr-property-nav .dashicons{width:18px;height:18px;font-size:18px}.mpr-property-nav a:not(.mpr-nav-filter){color:#222}.mpr-zephyr-native .l-main{padding-top:28px}.mpr-zephyr-native .l-titlebar+.l-main{padding-top:0}@media(max-width:800px){.mpr-grid{grid-template-columns:1fr}.mpr-facts{grid-template-columns:repeat(2,1fr)}.mpr-filter,.mpr-list{grid-template-columns:1fr}.mpr-property-nav{border-radius:14px;margin-bottom:20px}.mpr-property-nav .mpr-nav-filter{margin-right:0}.mpr-property-nav a{padding:10px 13px}.mpr-zephyr-native .l-main{padding-top:18px}}
.mpr-property-media{position:relative;margin:0;background:#f2f3f5;overflow:hidden}.mpr-property-media-card{aspect-ratio:16/10}.mpr-property-media-single{aspect-ratio:16/9;border-radius:12px;margin-bottom:18px}.mpr-property-img{display:block;width:100%;height:100%;object-fit:cover}.mpr-image-fallback{display:none;width:100%;height:100%;min-height:170px;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:linear-gradient(135deg,#f5f5f5,#e8e8e8);color:#777}.mpr-image-fallback-visible{display:flex}.mpr-image-fallback .dashicons{font-size:34px;width:34px;height:34px}.mpr-image-credit{position:absolute;left:8px;bottom:8px;background:rgba(0,0,0,.58);color:#fff;font-size:10px;line-height:1;padding:6px 8px;border-radius:8px;direction:rtl}.mpr-property-media-single .mpr-image-credit{left:12px;bottom:12px}.mpr-item:hover .mpr-property-img{transform:scale(1.015)}.mpr-property-img{transition:transform .25s ease}

/* Property cards v0.1.7 */
.mpr-item{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;box-shadow:0 6px 24px rgba(0,0,0,.045)}
.mpr-item:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(0,0,0,.09);border-color:#e1e1e1}
.mpr-item-body{display:flex;flex-direction:column;gap:10px;min-height:205px}
.mpr-item-title{color:inherit}
.mpr-item h2{font-size:18px;line-height:1.65;margin:0;font-weight:800}
.mpr-item-location{display:flex;align-items:center;gap:5px;font-size:13px;opacity:.7}
.mpr-item-location .dashicons{font-size:16px;width:16px;height:16px}
.mpr-card-stats{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:2px}
.mpr-card-stat{display:inline-flex;align-items:center;gap:4px;padding:7px 9px;border:1px solid #ececec;border-radius:10px;background:#fafafa;font-size:12px;line-height:1;white-space:nowrap}
.mpr-card-stat-icon{display:inline-flex;width:17px;height:17px;align-items:center;justify-content:center}
.mpr-card-stat-icon svg{display:block;width:17px;height:17px;fill:currentColor}
.mpr-card-stat-value{font-weight:800;font-size:13px}
.mpr-card-stat-label{opacity:.68}
.mpr-item-footer{display:flex;align-items:baseline;gap:5px;margin-top:auto;padding-top:3px;border-top:1px solid #f0f0f0}
.mpr-item-price{font-size:18px;font-weight:900}
.mpr-item-period{font-size:12px;opacity:.65}
@media(max-width:1100px) and (min-width:801px){.mpr-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.mpr-item-body{min-height:0}.mpr-card-stats{gap:6px}.mpr-card-stat{padding:7px 8px}}


/* Property cards v0.1.8 — richer visual hierarchy */
.mpr-list{gap:20px}
.mpr-item{border-color:#e8edf4;background:#fff;box-shadow:0 8px 28px rgba(30,64,175,.07)}
.mpr-item:hover{border-color:#cfdcf2;box-shadow:0 18px 42px rgba(30,64,175,.13)}
.mpr-item-media-wrap{position:relative}
.mpr-listing-badge{position:absolute;top:12px;right:12px;z-index:3;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900;line-height:1;color:#fff;box-shadow:0 5px 15px rgba(0,0,0,.16)}
.mpr-badge-rent{background:#2563eb}
.mpr-badge-sale{background:#0f9f6e}
.mpr-item-body{padding:17px 18px 18px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.mpr-item h2{color:#172033}
.mpr-item-location{color:#53627a;opacity:1;min-height:22px}
.mpr-item-location .dashicons{color:#2563eb}
.mpr-card-stat{border-color:#e1e9f5;background:#f5f8fd;color:#334155}
.mpr-card-stat-icon{color:#2563eb}
.mpr-card-stat:nth-child(2){background:#f7f5ff;border-color:#e7e0fa}
.mpr-card-stat:nth-child(2) .mpr-card-stat-icon{color:#7656c9}
.mpr-card-stat:nth-child(3){background:#f2fbf7;border-color:#dcefe6}
.mpr-card-stat:nth-child(3) .mpr-card-stat-icon{color:#16865e}
.mpr-item-footer{border-top-color:#e9eef6;padding-top:12px;margin-top:5px}
.mpr-item-price{color:#0f3f82}
.mpr-item-period{color:#69758a;opacity:1}
.mpr-property-nav{border-color:#e5ecf7;background:linear-gradient(180deg,#fff,#fbfdff)}
.mpr-property-nav .mpr-nav-filter{background:#1e4f91}
.mpr-property-nav .mpr-nav-filter:hover{background:#173f75}
.mpr-filter button{background:#1e4f91;color:#fff;border-color:#1e4f91}
.mpr-filter button:hover{background:#173f75}
.mpr-source{background:#1e4f91}
.mpr-source:hover{background:#173f75;color:#fff}
@media(max-width:800px){.mpr-list{gap:14px}.mpr-listing-badge{top:10px;right:10px}.mpr-item-body{padding:15px}}

/* v0.1.9: source CTA must stay readable under Zephyr global link hover rules */
.mpr-native-content a.mpr-source,
.mpr-native-content a.mpr-source:visited{background:#1e4f91!important;color:#fff!important;text-decoration:none!important;}
.mpr-native-content a.mpr-source:hover,
.mpr-native-content a.mpr-source:focus,
.mpr-native-content a.mpr-source:active{background:#173f75!important;color:#fff!important;text-decoration:none!important;}
.mpr-native-content a.mpr-source *{color:#fff!important;}


/* Property cards v0.2.0 — simplified navigation, richer cards */
.mpr-property-nav{display:none!important}
.mpr-item-link{display:block;color:inherit!important;text-decoration:none!important;border-radius:16px}
.mpr-item-link:visited,.mpr-item-link:hover,.mpr-item-link:focus,.mpr-item-link:active{color:inherit!important;text-decoration:none!important}
.mpr-item-link:focus-visible{outline:3px solid rgba(37,99,235,.24);outline-offset:3px}
.mpr-item{border-radius:16px;cursor:pointer}
.mpr-item-link:hover .mpr-item{transform:translateY(-4px);box-shadow:0 18px 42px rgba(30,64,175,.14);border-color:#c9d8ef}
.mpr-item-link:hover .mpr-property-img{transform:scale(1.025)}
.mpr-listing-badge{top:16px;right:16px;padding:8px 13px;border-radius:9px;font-size:12px;letter-spacing:0;box-shadow:0 7px 18px rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.45)}
.mpr-card-stats{gap:10px;margin-top:5px}
.mpr-card-stat{gap:7px;padding:9px 11px;border-radius:11px;font-size:12px;font-weight:600;box-shadow:0 2px 8px rgba(15,23,42,.035)}
.mpr-card-stat-icon{width:24px;height:24px;border-radius:8px}
.mpr-card-stat-icon svg{width:20px;height:20px}
.mpr-card-stat-value{font-size:14px;font-weight:900}
.mpr-card-stat-label{font-size:12px;opacity:.78}
.mpr-stat-area{background:#eef6ff;border-color:#d9eafe;color:#1e4f91}
.mpr-stat-area .mpr-card-stat-icon{color:#2563eb;background:#dbeafe}
.mpr-stat-bed{background:#f7f2ff;border-color:#e9dcff;color:#5b3ca6}
.mpr-stat-bed .mpr-card-stat-icon{color:#7c3aed;background:#ede9fe}
.mpr-stat-bath{background:#edfdf6;border-color:#d5f5e7;color:#0f7654}
.mpr-stat-bath .mpr-card-stat-icon{color:#059669;background:#d1fae5}
@media(max-width:800px){.mpr-listing-badge{top:12px;right:12px;padding:7px 10px}.mpr-card-stat{padding:8px 9px;gap:6px}.mpr-card-stat-icon{width:22px;height:22px}.mpr-card-stat-icon svg{width:18px;height:18px}}

/* v0.2.3 - compact professional country cover */
.mpr-country-cover{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-start;min-height:148px;overflow:hidden;background:linear-gradient(135deg,#12345c 0%,#1f5487 100%);color:#fff}
.mpr-property-media-single.mpr-country-cover{min-height:215px;margin-bottom:18px;border-radius:14px}
.mpr-country-cover:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 10%,rgba(255,255,255,.14),transparent 30%),linear-gradient(110deg,transparent 0 58%,rgba(255,255,255,.055) 58% 72%,transparent 72%);z-index:-1}
.mpr-country-cover:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.09);border-radius:50%;left:-55px;top:-70px;box-shadow:0 0 0 34px rgba(255,255,255,.025),0 0 0 70px rgba(255,255,255,.018);z-index:-1}
.mpr-country-cover-orb,.mpr-country-cover-lines{display:none}
.mpr-country-cover-content{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:20px;width:100%;padding:24px 28px;direction:rtl;text-align:right}
.mpr-country-flag{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;height:auto;min-width:84px;background:transparent;border:0;border-radius:0;font-size:72px;line-height:1;box-shadow:none;filter:drop-shadow(0 7px 12px rgba(0,0,0,.22));transform:none;overflow:visible}
.mpr-country-cover-text{display:flex;flex-direction:column;gap:5px;text-shadow:0 2px 9px rgba(0,0,0,.18)}
.mpr-country-cover-text strong{font-size:25px;font-weight:900;color:#fff;line-height:1.25}
.mpr-country-cover-text span{font-size:14px;font-weight:700;color:rgba(255,255,255,.82)}
.mpr-item:hover .mpr-country-flag{transform:translateY(-2px) scale(1.025)}
.mpr-country-flag{transition:transform .22s ease}
.mpr-country-de{background:linear-gradient(135deg,#172d49 0%,#263f61 62%,#af3942 145%)}
.mpr-country-es{background:linear-gradient(135deg,#213a61 0%,#365b86 62%,#b94d43 145%)}
.mpr-country-it{background:linear-gradient(135deg,#173d4f 0%,#22627a 62%,#278267 145%)}
.mpr-country-fr{background:linear-gradient(135deg,#17365f 0%,#315b8f 62%,#9c3f56 145%)}
.mpr-country-pt{background:linear-gradient(135deg,#17485a 0%,#24667c 62%,#8b4854 145%)}
.mpr-country-tr{background:linear-gradient(135deg,#273755 0%,#455475 58%,#9f3d4b 145%)}
.mpr-country-ae{background:linear-gradient(135deg,#163c50 0%,#2b6070 60%,#376f5b 145%)}
.mpr-country-ca{background:linear-gradient(135deg,#26384f 0%,#4a5e78 60%,#a84653 145%)}
.mpr-country-au{background:linear-gradient(135deg,#17385d 0%,#315d91 100%)}
.mpr-country-gb{background:linear-gradient(135deg,#1d3558 0%,#405d82 62%,#994455 145%)}
@media(max-width:800px){.mpr-country-cover{min-height:132px}.mpr-property-media-single.mpr-country-cover{min-height:185px}.mpr-country-cover-content{padding:20px;gap:15px}.mpr-country-flag{min-width:70px;font-size:60px}.mpr-country-cover-text strong{font-size:21px}.mpr-country-cover-text span{font-size:13px}}


/* v0.2.4 — equal-height property cards */
.mpr-list{
  align-items:stretch;
}
.mpr-item{
  height:100%;
  display:flex;
  flex-direction:column;
}
.mpr-item-link,
.mpr-item-click{
  height:100%;
  display:flex;
  flex-direction:column;
}
.mpr-item-body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
}
.mpr-item-price,
.mpr-card-price{
  margin-top:auto;
}


/* v0.2.5 — no top media, equal cards, round country flag */
.mpr-item-media-wrap,
.mpr-property-media,
.mpr-country-cover{
  display:none!important;
}

.mpr-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:1fr;
  align-items:stretch;
  gap:20px;
}
.mpr-item-link{
  display:flex!important;
  height:100%!important;
  min-height:290px;
}
.mpr-item{
  display:flex!important;
  flex:1 1 auto;
  flex-direction:column;
  width:100%;
  height:100%!important;
  min-height:290px;
}
.mpr-item-body{
  display:flex!important;
  flex:1 1 auto;
  flex-direction:column;
  height:100%;
  padding:22px;
}
.mpr-item h2{
  margin:0 0 12px;
}
.mpr-item-location{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:34px;
}
.mpr-location-flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  flex:0 0 32px;
  border-radius:50%;
  overflow:hidden;
  background:#fff;
  border:2px solid #fff;
  box-shadow:0 3px 10px rgba(15,23,42,.16);
  font-size:24px;
  line-height:1;
}
.mpr-item-location .dashicons{
  color:#3b82f6;
}
.mpr-card-stats{
  margin-top:14px;
}
.mpr-item-footer{
  margin-top:auto!important;
  padding-top:18px;
}
@media(max-width:900px){
  .mpr-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .mpr-list{grid-template-columns:1fr}
  .mpr-item-link,.mpr-item{min-height:0}
}

/* v0.2.6 — true circular country flag */
.mpr-location-flag{
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  border-radius:50%!important;
  overflow:hidden!important;
  box-shadow:0 3px 9px rgba(15,23,42,.18)!important;
}
.mpr-location-flag img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:50%!important;
  margin:0!important;
  padding:0!important;
}


/* v0.3.0 — richer single-property presentation */
.mpr-single .mpr-facts{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin:18px 0;
}
.mpr-single .mpr-facts>div{
  min-width:0;
}
.mpr-feature-chips{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:0 0 20px;
}
.mpr-feature-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 11px;
  border-radius:10px;
  background:#f4f8ff;
  border:1px solid #dce8f8;
  font-size:13px;
  font-weight:700;
  color:#24466f;
}
.mpr-feature-chip .dashicons{
  width:17px;
  height:17px;
  font-size:17px;
  color:#23865d;
}
@media(max-width:900px){
  .mpr-single .mpr-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
  .mpr-single .mpr-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* v0.3.1 — cleaner property stat icons */
.mpr-card-stat{
  border-radius:12px!important;
  border:1px solid #e5eaf1!important;
  background:#f8fafc!important;
  padding:10px 11px!important;
}
.mpr-card-stat-icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  border:1px solid #e7edf5!important;
  box-shadow:0 2px 7px rgba(15,23,42,.06)!important;
}
.mpr-card-stat-icon svg{
  width:21px!important;
  height:21px!important;
  fill:none!important;
  stroke:currentColor!important;
}
.mpr-stat-area .mpr-card-stat-icon{color:#2563eb!important}
.mpr-stat-bed .mpr-card-stat-icon{color:#7c3aed!important}
.mpr-stat-bath .mpr-card-stat-icon{color:#0891b2!important}
.mpr-card-stat-value{font-weight:800!important;color:#172033!important}
.mpr-card-stat-label{color:#64748b!important}

/* v0.3.2 — visible SEO heading on single property pages */
.mpr-single-header{margin:0 0 22px}
.mpr-single-title{
  margin:0 0 8px!important;
  font-size:clamp(26px,3vw,38px)!important;
  line-height:1.45!important;
  font-weight:800!important;
}
.mpr-single-header .mpr-sub{margin:0!important}

/* v0.3.4 — polished single-property header and facts */
.mpr-single-title{
  font-size:30px!important;
  line-height:1.5!important;
  margin:0 0 10px!important;
}
.mpr-single-location{
  display:flex;
  align-items:center;
  gap:9px;
  color:#64748b;
  font-size:14px;
  margin-bottom:20px;
}
.mpr-single-location .mpr-location-flag{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
}
.mpr-single .mpr-facts{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
.mpr-single-fact{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  padding:14px!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  border:1px solid #e5eaf1!important;
  text-align:right!important;
}
.mpr-single-fact-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:12px;
  background:#fff;
  border:1px solid #e7edf5;
  box-shadow:0 3px 9px rgba(15,23,42,.06);
}
.mpr-single-fact-icon svg{
  width:23px!important;
  height:23px!important;
  fill:none!important;
  stroke:currentColor!important;
}
.mpr-single-fact-area .mpr-single-fact-icon{color:#2563eb}
.mpr-single-fact-bed .mpr-single-fact-icon{color:#7c3aed}
.mpr-single-fact-bath .mpr-single-fact-icon{color:#0891b2}
.mpr-single-fact-text{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.mpr-single-fact-text strong{
  font-size:18px;
  line-height:1;
  color:#172033;
}
.mpr-single-fact-text span{
  font-size:12px;
  color:#64748b;
}
@media(max-width:600px){
  .mpr-single-title{font-size:26px!important}
  .mpr-single .mpr-facts{grid-template-columns:1fr!important}
}

/* v0.3.5 — clearer single icons and rent/sale badge */
.mpr-single-fact-icon{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  border-radius:0!important;
}
.mpr-single-fact-icon svg{
  width:28px!important;
  height:28px!important;
  stroke-width:1.7!important;
}
.mpr-single-deal{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:64px;
  padding:6px 13px;
  margin:0 0 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  line-height:1.5;
}
.mpr-single-deal-rent{
  background:#eaf3ff;
  color:#1d5fa7;
  border:1px solid #cfe2fb;
}
.mpr-single-deal-sale{
  background:#eaf8f1;
  color:#18704d;
  border:1px solid #ccebdd;
}


/* v0.3.6 — USD price normalization UI + robust location */
.mpr-price-filter-note{
  margin:14px 0 -10px;
  padding:9px 12px;
  border-radius:10px;
  background:#f7faff;
  border:1px solid #e2ebf7;
  color:#51657f;
  font-size:12px;
  line-height:1.8;
}
.mpr-item-location>span:last-child,
.mpr-single-location>span:last-child{
  display:inline-block;
  min-width:1px;
  color:#64748b;
}


/* v0.3.7 — keep property fact cards on one line */
.mpr-card-stats{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
.mpr-card-stat{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.mpr-card-stat-value,
.mpr-card-stat-label{
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}
.mpr-card-stat-value{
  flex:0 0 auto!important;
}
.mpr-card-stat-label{
  flex:0 1 auto!important;
}
.mpr-single .mpr-facts{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.mpr-single-fact{
  min-width:0!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
.mpr-single-fact-text,
.mpr-single-fact-text strong,
.mpr-single-fact-text span{
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}
@media(max-width:600px){
  .mpr-card-stats{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .mpr-card-stat{
    padding:8px 6px!important;
    gap:4px!important;
    font-size:11px!important;
  }
  .mpr-card-stat-icon{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
  }
  .mpr-card-stat-icon svg{
    width:18px!important;
    height:18px!important;
  }
}


/* v0.3.8 — compact one-line facts on single property pages */
.mpr-single .mpr-facts{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.mpr-single-fact{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:58px!important;
  padding:10px 12px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.mpr-single-fact-icon{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
}
.mpr-single-fact-icon svg{
  width:22px!important;
  height:22px!important;
}
.mpr-single-fact-inline{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  white-space:nowrap!important;
  line-height:1!important;
}
.mpr-single-fact-inline strong{
  font-size:17px!important;
  line-height:1!important;
  white-space:nowrap!important;
  color:#172033!important;
}
.mpr-single-fact-inline span{
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap!important;
  color:#64748b!important;
}
@media(max-width:600px){
  .mpr-single .mpr-facts{
    grid-template-columns:1fr!important;
  }
  .mpr-single-fact{
    justify-content:flex-start!important;
  }
}

/* v0.3.9 — compact single-property fact group */
.mpr-single .mpr-facts{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:8px!important;
  width:auto!important;
  max-width:100%!important;
}
.mpr-single-fact{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  min-height:48px!important;
  padding:8px 11px!important;
}
.mpr-single-fact-icon{
  width:27px!important;
  height:27px!important;
  min-width:27px!important;
}
.mpr-single-fact-icon svg{
  width:20px!important;
  height:20px!important;
}
.mpr-single-fact-inline strong{font-size:15px!important}
.mpr-single-fact-inline span{font-size:12px!important}
@media(max-width:600px){
  .mpr-single .mpr-facts{
    display:flex!important;
    flex-wrap:wrap!important;
  }
  .mpr-single-fact{
    width:auto!important;
    justify-content:flex-start!important;
  }
}


/* v0.4.0 — original currency + USD equivalent */
.mpr-item-price-block{
  margin-top:auto!important;
  padding-top:16px;
}
.mpr-price-original{
  font-size:18px;
  font-weight:800;
  line-height:1.4;
  color:#172033;
  white-space:nowrap;
}
.mpr-price-usd{
  margin-top:3px;
  font-size:12px;
  font-weight:600;
  line-height:1.4;
  color:#728096;
  white-space:nowrap;
}
.mpr-price-period{
  font-size:.78em;
  font-weight:500;
  color:inherit;
}
.mpr-single-price-block{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 18px;
  margin:18px 0!important;
}
.mpr-price-main,
.mpr-price-usd-single{
  font-size:28px;
  font-weight:800;
  line-height:1.35;
  color:#172033;
  white-space:nowrap;
}
.mpr-price-usd-single{
  color:#405a78;
}
@media(max-width:600px){
  .mpr-price-main,
  .mpr-price-usd-single{font-size:22px}
}

/* v0.4.1 — smaller typography on single property page */
.mpr-single .mpr-single-title{
  font-size:25px!important;
}
.mpr-single .mpr-price-main,
.mpr-single .mpr-price-usd-single{
  font-size:21px!important;
}
@media(max-width:600px){
  .mpr-single .mpr-single-title{font-size:23px!important}
  .mpr-single .mpr-price-main,
  .mpr-single .mpr-price-usd-single{font-size:19px!important}
}


/* v0.4.3 — archive spacing, rectangular flags, aligned locations */
.mpr-results,
.mpr-grid{
  margin-top:30px!important;
}

/* Keep card titles at a consistent two-line height so locations/flags align */
.mpr-item-title{
  line-height:1.65!important;
  min-height:3.3em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden!important;
}

/* Location row stays at the same vertical position on every property card */
.mpr-item-location,
.mpr-location{
  min-height:30px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}

/* Flags: natural rectangular shape, only slightly rounded */
.mpr-location-flag,
.mpr-flag,
.mpr-item-location img,
.mpr-single-location img{
  width:32px!important;
  height:22px!important;
  min-width:32px!important;
  flex:0 0 32px!important;
  border-radius:4px!important;
  object-fit:cover!important;
  overflow:hidden!important;
  box-shadow:0 1px 4px rgba(15,23,42,.12)!important;
}

/* Undo any older circular flag styling */
.mpr-location-flag img,
.mpr-flag img{
  width:100%!important;
  height:100%!important;
  border-radius:4px!important;
  object-fit:cover!important;
}


/* v0.4.4 — definitive listing layout fixes */
#property-filters.mpr-filter{
  margin-bottom:44px!important;
}

/* Reserve identical title height on every listing card */
.mpr-item .mpr-item-body{
  display:flex!important;
  flex-direction:column!important;
}
.mpr-item .mpr-item-title{
  height:3.4em!important;
  min-height:3.4em!important;
  max-height:3.4em!important;
  line-height:1.7!important;
  margin:0 0 10px!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}

/* Flag/location row is therefore identical across all cards */
.mpr-item .mpr-item-location{
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  flex:0 0 30px!important;
  margin:0 0 10px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.mpr-item .mpr-location-flag,
.mpr-single .mpr-location-flag{
  display:inline-flex!important;
  width:32px!important;
  height:22px!important;
  min-width:32px!important;
  flex:0 0 32px!important;
  border-radius:4px!important;
  overflow:hidden!important;
}
.mpr-item .mpr-location-flag img,
.mpr-single .mpr-location-flag img{
  display:block!important;
  width:32px!important;
  height:22px!important;
  object-fit:cover!important;
  border-radius:4px!important;
}


/* v0.4.5 — polished pagination, aligned with Mohajer Jobs UI */
.mpr-pagination{
  grid-column:1/-1;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:34px 0 8px!important;
  direction:ltr;
}

.mpr-pagination .page-numbers{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:40px!important;
  height:40px!important;
  padding:0 11px!important;
  border:1px solid #e1e8f0!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#334155!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:0 3px 10px rgba(15,23,42,.04);
  transition:all .18s ease;
}

.mpr-pagination a.page-numbers:hover{
  border-color:#b9cbe0!important;
  background:#f4f8fd!important;
  color:#1f5e9c!important;
  transform:translateY(-1px);
  box-shadow:0 6px 15px rgba(30,79,145,.09);
}

.mpr-pagination .page-numbers.current{
  background:#1e4f91!important;
  border-color:#1e4f91!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(30,79,145,.22)!important;
}

.mpr-pagination .page-numbers.dots{
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
  min-width:28px!important;
  padding:0!important;
  color:#94a3b8!important;
}

.mpr-pagination .prev,
.mpr-pagination .next{
  min-width:auto!important;
  padding:0 14px!important;
  gap:5px;
  color:#1e4f91!important;
}

@media(max-width:600px){
  .mpr-pagination{
    gap:5px;
    margin-top:28px!important;
  }
  .mpr-pagination .page-numbers{
    min-width:36px!important;
    height:36px!important;
    padding:0 9px!important;
    border-radius:9px!important;
    font-size:13px!important;
  }
  .mpr-pagination .prev,
  .mpr-pagination .next{
    padding:0 10px!important;
  }
}


/* v0.4.6 — Jobs-style pagination + remove excessive archive whitespace */

/* Archive should grow only as much as its real content needs */
.mpr-archive,
.mpr-native-content,
.mpr-list{
  min-height:0!important;
  height:auto!important;
}

/* Remove any inherited large bottom spacing from the property archive */
.mpr-archive{
  padding-bottom:24px!important;
  margin-bottom:0!important;
}
.mpr-list{
  margin-bottom:0!important;
  padding-bottom:0!important;
}

/* Jobs-like pagination */
.mpr-pagination{
  grid-column:1/-1!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:34px 0 0!important;
  padding:0!important;
  direction:rtl!important;
}

.mpr-pagination .page-numbers{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:48px!important;
  height:48px!important;
  padding:0 12px!important;
  margin:0!important;
  border:1px solid #e4e7ec!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#2c3440!important;
  font-size:15px!important;
  font-weight:500!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:0 2px 8px rgba(15,23,42,.035)!important;
  transition:all .18s ease!important;
}

.mpr-pagination a.page-numbers:hover{
  background:#f8f8fb!important;
  border-color:#d7d9e0!important;
  color:#5b49cf!important;
  transform:translateY(-1px)!important;
}

.mpr-pagination .page-numbers.current{
  background:#6752d8!important;
  border-color:#6752d8!important;
  color:#fff!important;
  font-weight:700!important;
  box-shadow:0 6px 16px rgba(103,82,216,.22)!important;
}

.mpr-pagination .page-numbers.dots{
  min-width:28px!important;
  width:28px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#888!important;
}

.mpr-pagination .prev,
.mpr-pagination .next{
  min-width:auto!important;
  padding:0 16px!important;
  gap:6px!important;
  color:#303642!important;
}

/* Remove large inherited page-area height from Zephyr wrappers on properties archive only */
body.page-properties .l-main,
body.mpr-zephyr-native.page-properties .l-main,
body.mpr-zephyr-native .mpr-archive{
  min-height:0!important;
}

/* Make footer follow immediately after real archive content */
body.page-properties .l-main,
body.mpr-zephyr-native.page-properties .l-main{
  padding-bottom:28px!important;
}

@media(max-width:600px){
  .mpr-pagination{
    gap:6px!important;
    margin-top:28px!important;
  }
  .mpr-pagination .page-numbers{
    min-width:40px!important;
    height:40px!important;
    padding:0 10px!important;
    border-radius:11px!important;
    font-size:14px!important;
  }
}


/* v0.4.7 — fix pagination row creating huge blank space */
.mpr-list{
  grid-auto-rows:auto!important;
  align-items:stretch!important;
}

/* Cards remain equal-height inside each grid row */
.mpr-item-link{
  height:100%!important;
}
.mpr-item{
  height:100%!important;
  min-height:290px!important;
}

/* Pagination must use only its natural height */
.mpr-pagination{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
}


/* v0.5.2 — property type on listing cards */
.mpr-property-type-row{
  display:flex;
  align-items:center;
  min-height:28px;
  margin:1px 0 9px;
}
.mpr-property-type-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:27px;
  padding:4px 11px;
  border-radius:8px;
  background:#f3f0ff;
  border:1px solid #e5defd;
  color:#5e49c8;
  font-size:12px;
  font-weight:700;
  line-height:1.3;
  white-space:nowrap;
}


/* v0.5.3 — unified flag/location + property stats row */
.mpr-card-meta-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
  margin:0 0 10px!important;
}
.mpr-card-meta-row .mpr-item-location{
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.mpr-card-meta-row .mpr-item-location>span:last-child{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.mpr-card-meta-row .mpr-card-stats{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
  white-space:nowrap!important;
}
.mpr-card-meta-row .mpr-card-stat{
  min-width:auto!important;
  height:34px!important;
  padding:5px 7px!important;
  gap:4px!important;
  border-radius:9px!important;
  white-space:nowrap!important;
}
.mpr-card-meta-row .mpr-card-stat-icon{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  border-radius:7px!important;
}
.mpr-card-meta-row .mpr-card-stat-icon svg{
  width:16px!important;
  height:16px!important;
}
.mpr-card-meta-row .mpr-card-stat-value{
  font-size:12px!important;
}
.mpr-card-meta-row .mpr-card-stat-label{
  font-size:11px!important;
}
@media(max-width:900px){
  .mpr-card-meta-row{
    gap:8px!important;
  }
  .mpr-card-meta-row .mpr-card-stat{
    padding:5px 6px!important;
  }
}
@media(max-width:720px){
  .mpr-card-meta-row{
    flex-wrap:wrap!important;
  }
  .mpr-card-meta-row .mpr-item-location{
    flex:1 1 100%!important;
  }
  .mpr-card-meta-row .mpr-card-stats{
    flex:1 1 100%!important;
    justify-content:flex-start!important;
  }
}


/* v0.5.4 — vertically align card content across each 3-column row */
@media(min-width:721px){
  .mpr-item-body{
    display:grid!important;
    grid-template-rows:56px 28px 34px 1fr auto!important;
    align-content:stretch!important;
    height:100%!important;
  }

  /* Reserve exactly two title lines on every card */
  .mpr-item-body>h2{
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
    margin:0!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
  }

  /* Property-type badge gets the same vertical slot on every card */
  .mpr-property-type-row{
    height:28px!important;
    min-height:28px!important;
    margin:0!important;
    align-items:center!important;
  }

  /* Location/flag + the 3 icon buttons start at the same height in all cards */
  .mpr-card-meta-row{
    height:34px!important;
    min-height:34px!important;
    margin:0!important;
    align-self:start!important;
  }

  .mpr-item-footer{
    align-self:end!important;
  }
}


/* v0.5.5 — restore location and stats as two rows, keep 3 cards vertically aligned */
@media(min-width:721px){
  .mpr-item-body{
    display:grid!important;
    grid-template-rows:56px 28px 34px 58px 1fr auto!important;
    height:100%!important;
  }
  .mpr-item-body>h2{
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
  }
  .mpr-property-type-row{
    height:28px!important;
    min-height:28px!important;
    margin:0!important;
  }
  .mpr-item-body>.mpr-item-location{
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  .mpr-item-body>.mpr-item-location>span:last-child{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .mpr-item-body>.mpr-card-stats{
    height:58px!important;
    min-height:58px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    white-space:nowrap!important;
  }
  .mpr-item-body>.mpr-card-stats .mpr-card-stat{
    flex:1 1 0!important;
    min-width:0!important;
  }
}

/* v0.5.8 — Smart Mohajer logo palette */
:root{
  --mpr-brand-navy:#0f284f;
  --mpr-brand-navy-hover:#0b203f;
  --mpr-brand-gold:#b78e43;
  --mpr-brand-gold-soft:#f5efe3;
  --mpr-brand-border:#e5d7bf;
  --mpr-brand-ink:#18181b;
  --mpr-brand-muted:#6b7280;
}

/* Keep titles highly readable; use brand colors for accents and actions */
.mpr-breadcrumb a,
.mpr-item h2,
.mpr-card h2,
.mpr-single h1,
.mpr-side dt{
  color:var(--mpr-brand-ink)!important;
}
.mpr-sub,
.mpr-side dd,
.mpr-item-period,
.mpr-item-location,
.mpr-card-stat-label{
  color:var(--mpr-brand-muted)!important;
}

.mpr-card,
.mpr-item,
.mpr-filter,
.mpr-property-nav,
.mpr-side,
.mpr-grid .mpr-card{
  border-color:var(--mpr-brand-border)!important;
  box-shadow:0 10px 28px rgba(15,40,79,.07)!important;
}
.mpr-item-body,
.mpr-card{
  background:linear-gradient(180deg,#fff 0%,#fffdf9 100%)!important;
}

.mpr-item-price,
.mpr-price{
  color:var(--mpr-brand-navy)!important;
}
.mpr-price small{
  color:var(--mpr-brand-muted)!important;
}

.mpr-source,
.mpr-filter button,
.mpr-pagination .page-numbers.current,
.mpr-property-nav .mpr-nav-filter{
  background:var(--mpr-brand-navy)!important;
  border-color:var(--mpr-brand-navy)!important;
  color:#fff!important;
}
.mpr-filter button:hover,
.mpr-source:hover,
.mpr-pagination a.page-numbers:hover,
.mpr-property-nav .mpr-nav-filter:hover{
  background:var(--mpr-brand-navy-hover)!important;
  border-color:var(--mpr-brand-navy-hover)!important;
  color:#fff!important;
}

.mpr-pagination .page-numbers{
  border-color:#ded6c8!important;
  color:var(--mpr-brand-navy)!important;
  background:#fff!important;
}
.mpr-pagination .page-numbers.dots{
  background:transparent!important;
  color:#9aa0a8!important;
  border-color:transparent!important;
}
.mpr-pagination .prev,
.mpr-pagination .next{
  color:var(--mpr-brand-navy)!important;
}

.mpr-badge-rent{
  background:var(--mpr-brand-navy)!important;
  color:#fff!important;
}
.mpr-badge-sale{
  background:var(--mpr-brand-gold)!important;
  color:#fff!important;
}
.mpr-property-type-badge{
  background:var(--mpr-brand-gold-soft)!important;
  border-color:var(--mpr-brand-border)!important;
  color:var(--mpr-brand-navy)!important;
}

.mpr-item-location .dashicons,
.mpr-card-stat-icon,
.mpr-side .dashicons,
.mpr-breadcrumb .dashicons{
  color:var(--mpr-brand-gold)!important;
}
.mpr-card-stat{
  border-color:#eadfca!important;
  background:#fffaf1!important;
  color:#4b5563!important;
}
.mpr-card-stat-icon{
  background:#f4ead7!important;
}
.mpr-stat-area{
  background:#f3f6fa!important;
  border-color:#dce4ef!important;
  color:var(--mpr-brand-navy)!important;
}
.mpr-stat-area .mpr-card-stat-icon{
  background:#e6edf6!important;
  color:var(--mpr-brand-navy)!important;
}
.mpr-stat-bed{
  background:#fbf6ec!important;
  border-color:#eadcbc!important;
  color:#7d5d22!important;
}
.mpr-stat-bed .mpr-card-stat-icon{
  background:#f3e7ca!important;
  color:var(--mpr-brand-gold)!important;
}
.mpr-stat-bath{
  background:#f7f8fa!important;
  border-color:#e0e5eb!important;
  color:#3f536d!important;
}
.mpr-stat-bath .mpr-card-stat-icon{
  background:#e9eef5!important;
  color:var(--mpr-brand-navy)!important;
}

.mpr-filter input,
.mpr-filter select{
  border-color:#ddd5c8!important;
  background:#fff!important;
}
.mpr-filter input:focus,
.mpr-filter select:focus{
  border-color:var(--mpr-brand-gold)!important;
  box-shadow:0 0 0 3px rgba(183,142,67,.14)!important;
  outline:0!important;
  background:#fffefa!important;
}

.mpr-source{
  box-shadow:0 10px 20px rgba(15,40,79,.14)!important;
}
.mpr-item-link:focus-visible{
  outline:3px solid rgba(183,142,67,.30)!important;
}


/* v0.5.9 SEO landing header */
.mpr-properties-seo-head{margin:14px 0 22px;padding:0 2px}
.mpr-properties-seo-head h1{margin:0 0 10px;font-size:28px;line-height:1.65;font-weight:800;color:#151515}
.mpr-properties-seo-head p{margin:0;max-width:920px;font-size:15px;line-height:2;color:#59606b}
@media (max-width:600px){.mpr-properties-seo-head{margin:10px 0 18px}.mpr-properties-seo-head h1{font-size:23px;line-height:1.7}.mpr-properties-seo-head p{font-size:14px;line-height:1.95}}

/* v0.5.10 — compact property-card stats + filter inner spacing */
.mpr-card-stats{
  justify-content:flex-start!important;
  gap:16px!important;
}
.mpr-card-stat,
.mpr-stat-area,
.mpr-stat-bed,
.mpr-stat-bath{
  flex:0 0 auto!important;
  min-width:auto!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  gap:5px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.mpr-card-stat-icon{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.mpr-card-stat-icon svg{
  width:18px!important;
  height:18px!important;
}
.mpr-stat-area .mpr-card-stat-icon,
.mpr-stat-bed .mpr-card-stat-icon,
.mpr-stat-bath .mpr-card-stat-icon{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.mpr-card-stat-value{
  font-size:14px!important;
  line-height:1.4!important;
}
.mpr-card-stat-label{
  font-size:12px!important;
  line-height:1.4!important;
}
@media(min-width:721px){
  .mpr-item-body>.mpr-card-stats{
    justify-content:flex-start!important;
    gap:16px!important;
  }
  .mpr-item-body>.mpr-card-stats .mpr-card-stat{
    flex:0 0 auto!important;
    min-width:auto!important;
  }
}

#property-filters.mpr-filter{
  padding:22px!important;
  box-sizing:border-box!important;
  background:#fff!important;
  border-radius:16px!important;
}
@media(max-width:900px){
  #property-filters.mpr-filter{
    padding:18px!important;
  }
}
@media(max-width:600px){
  #property-filters.mpr-filter{
    padding:14px!important;
  }
}


/* v0.5.12 — Jobs-style instant filters, result count, and stable Zephyr input borders */
.mpr-results-head{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin:6px 0 14px;
  color:var(--mpr-brand-navy,#0f284f);
  font-size:15px;
}
.mpr-results-head strong{font-weight:800}
.mpr-result-count{font-size:18px;margin-left:4px}
.mpr-results-shell{position:relative;min-height:80px}
.mpr-results-shell.is-loading{opacity:.48;pointer-events:none}
.mpr-results-shell.is-loading:after{
  content:"در حال دریافت نتایج...";
  position:absolute;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  z-index:30;
  padding:9px 15px;
  border:1px solid #e3e7ee;
  border-radius:9px;
  background:#fff;
  color:#42526a;
  box-shadow:0 7px 22px rgba(15,40,79,.10);
  white-space:nowrap;
}
#property-filters.mpr-filter input[type="number"],
#property-filters.mpr-filter select{
  box-sizing:border-box!important;
  min-height:58px!important;
  height:58px!important;
  padding:0 16px!important;
  border:1px solid #ddd5c8!important;
  border-width:1px!important;
  border-style:solid!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
  outline:0!important;
}
#property-filters.mpr-filter input[type="number"]:focus,
#property-filters.mpr-filter select:focus{
  border:1px solid var(--mpr-brand-gold,#b78e43)!important;
  box-shadow:0 0 0 3px rgba(183,142,67,.14)!important;
}
#property-filters.mpr-filter.mpr-ajax-ready .mpr-filter-submit{display:none!important}
.mpr-no-results{grid-column:1/-1;padding:24px;text-align:center;background:#fff;border:1px solid #e5e8ed;border-radius:12px}


/* v0.5.13 — visible furnished/renovated checkboxes on white filter background */
#property-filters.mpr-filter .mpr-check{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  cursor:pointer!important;
  color:#35415b!important;
  font-size:15px!important;
}
#property-filters.mpr-filter .mpr-check input[type="checkbox"]{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:19px!important;
  height:19px!important;
  min-width:19px!important;
  margin:0!important;
  border:1.5px solid #9aa8bb!important;
  border-radius:5px!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(15,40,79,.06)!important;
  position:relative!important;
  cursor:pointer!important;
}
#property-filters.mpr-filter .mpr-check input[type="checkbox"]:hover{
  border-color:#6f819a!important;
}
#property-filters.mpr-filter .mpr-check input[type="checkbox"]:checked{
  background:var(--mpr-brand-navy,#0f284f)!important;
  border-color:var(--mpr-brand-navy,#0f284f)!important;
}
#property-filters.mpr-filter .mpr-check input[type="checkbox"]:checked:after{
  content:""!important;
  position:absolute!important;
  left:5px!important;
  top:2px!important;
  width:5px!important;
  height:9px!important;
  border:solid #fff!important;
  border-width:0 2px 2px 0!important;
  transform:rotate(45deg)!important;
}
#property-filters.mpr-filter .mpr-check input[type="checkbox"]:focus-visible{
  outline:0!important;
  box-shadow:0 0 0 3px rgba(15,40,79,.14)!important;
}


/* v0.5.23 — flags use the same direct emoji approach as Mohajer Jobs. */
.mpr-item .mpr-location-flag.mpr-location-flag-emoji,
.mpr-single .mpr-location-flag.mpr-location-flag-emoji{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:24px!important;
  min-width:32px!important;
  flex:0 0 32px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:24px!important;
  line-height:1!important;
}

/* External property image and optional gallery (v0.5.26). */
.mpr-item .mpr-property-media{margin:0;aspect-ratio:16/10;border-radius:0;}
.mpr-item .mpr-property-img{width:100%;height:100%;object-fit:cover;}
.mpr-single .mpr-property-media-single{margin:0 0 16px;border-radius:12px;aspect-ratio:auto;overflow:hidden;background:#f1f3f5;}
.mpr-single .mpr-property-media-single>.mpr-property-img{width:100%;height:auto;aspect-ratio:16/9;max-height:560px;object-fit:cover;}
.mpr-property-gallery{display:flex;gap:8px;overflow-x:auto;padding:9px;background:#fff;direction:ltr;}
.mpr-gallery-thumb{border:2px solid transparent;padding:0;cursor:pointer;background:#f4f4f4;flex:0 0 80px;height:60px;border-radius:8px;overflow:hidden;}
.mpr-gallery-thumb.is-active,.mpr-gallery-thumb:focus-visible{border-color:#2563eb;outline:0;}
.mpr-gallery-thumb img{width:100%;height:100%;display:block;object-fit:cover;}

/* v0.5.27: restore actual property images previously hidden by v0.2.5.
   Keep scope narrow: do not reactivate legacy country covers. */
.mpr-item .mpr-property-media-card,
.mpr-single .mpr-property-media-single {
    display: block !important;
    width: 100%;
    min-width: 0;
}

/* v0.5.28 — compact listing cards: remove artificial empty vertical space.
   Keep media/title layout unchanged; let each card end naturally after price. */
@media(min-width:721px){
  .mpr-list{
    align-items:start!important;
    grid-auto-rows:auto!important;
  }
  .mpr-item-link{
    height:auto!important;
    min-height:0!important;
    align-self:start!important;
  }
  .mpr-item{
    height:auto!important;
    min-height:0!important;
  }
  .mpr-item-body{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    flex:0 0 auto!important;
  }
  .mpr-item-body>.mpr-card-stats{
    height:auto!important;
    min-height:0!important;
    margin-top:0!important;
    margin-bottom:0!important;
  }
  .mpr-item-footer,
  .mpr-item-price-block{
    margin-top:12px!important;
    padding-top:12px!important;
    align-self:auto!important;
  }
}
