:root {
  --mgai-green: #173f42;
  --mgai-gold: #bc9c51;
  --mgai-ink: #243b3c;
  --mgai-soft: #f3f7f6;
}

.mgai { position: fixed; z-index: 999999; right: 22px; bottom: 22px; font-family: Arial, Tahoma, sans-serif; color: var(--mgai-ink); }
.mgai[dir="rtl"] { right: auto; left: 22px; }
.mgai-launcher { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 18px 10px 10px; border: 0; border-radius: 999px; background: var(--mgai-green); color: #fff; box-shadow: 0 14px 35px rgba(13,49,52,.25); cursor: pointer; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.mgai[dir="rtl"] .mgai-launcher { padding: 10px 10px 10px 18px; }
.mgai-launcher:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(13,49,52,.3); }
.mgai-launcher-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: linear-gradient(135deg,#d5bd7f,var(--mgai-gold)); color: #173f42; font-size: 21px; }
.mgai-panel { position: absolute; right: 0; bottom: 72px; width: min(390px, calc(100vw - 28px)); height: min(650px, calc(100vh - 110px)); display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; border: 1px solid rgba(23,63,66,.1); border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(13,49,52,.24); opacity: 0; visibility: hidden; transform: translateY(15px) scale(.97); transform-origin: bottom right; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.mgai[dir="rtl"] .mgai-panel { right: auto; left: 0; transform-origin: bottom left; }
.mgai[data-state="open"] .mgai-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.mgai[data-state="open"] .mgai-launcher { opacity: 0; pointer-events: none; transform: translateY(12px); }
.mgai-header { display: grid; grid-template-columns: 46px 1fr 34px; align-items: center; gap: 10px; min-height: 76px; padding: 12px 15px; background: linear-gradient(135deg,#173f42,#245b5d); color: #fff; }
.mgai-avatar { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; background: var(--mgai-gold); color: var(--mgai-green); font-weight: 800; }
.mgai-heading { display: flex; flex-direction: column; gap: 4px; }
.mgai-heading strong { font-size: 16px; }
.mgai-heading small { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82); font-size: 11px; }
.mgai-heading i { width: 7px; height: 7px; border-radius: 50%; background: #75e6a0; box-shadow: 0 0 0 3px rgba(117,230,160,.15); }
.mgai-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.mgai-messages { overflow-y: auto; padding: 18px 15px; background: linear-gradient(#f8fbfa,#f3f7f6); scroll-behavior: smooth; }
.mgai-message { display: flex; margin: 0 0 11px; }
.mgai-message--user { justify-content: flex-end; }
.mgai[dir="rtl"] .mgai-message--user { justify-content: flex-start; }
.mgai-message--assistant { justify-content: flex-start; }
.mgai[dir="rtl"] .mgai-message--assistant { justify-content: flex-end; }
.mgai-bubble { max-width: 84%; padding: 11px 13px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 4px 15px rgba(23,63,66,.07); color: var(--mgai-ink); font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; }
.mgai[dir="rtl"] .mgai-bubble { border-radius: 16px 16px 4px 16px; }
.mgai-message--user .mgai-bubble { border-radius: 16px 16px 4px 16px; background: var(--mgai-green); color: #fff; }
.mgai[dir="rtl"] .mgai-message--user .mgai-bubble { border-radius: 16px 16px 16px 4px; }
.mgai-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 3px 0 15px; }
.mgai-chips button { padding: 7px 11px; border: 1px solid rgba(23,63,66,.18); border-radius: 999px; background: #fff; color: var(--mgai-green); font-size: 12px; cursor: pointer; }
.mgai-chips button:hover { border-color: var(--mgai-gold); background: #fffaf0; }
.mgai-form { display: grid; grid-template-columns: 1fr 44px; align-items: end; gap: 8px; padding: 11px 12px; border-top: 1px solid #e5ecea; background: #fff; }
.mgai-form textarea { width: 100%; min-height: 43px; max-height: 96px; resize: none; padding: 11px 12px; border: 1px solid #dbe6e3; border-radius: 13px; outline: none; background: #f8fbfa; color: var(--mgai-ink); font: inherit; font-size: 13px; line-height: 1.5; }
.mgai-form textarea:focus { border-color: var(--mgai-gold); box-shadow: 0 0 0 3px rgba(188,156,81,.12); }
.mgai-form button { display: grid; place-items: center; width: 43px; height: 43px; border: 0; border-radius: 13px; background: var(--mgai-green); color: #fff; cursor: pointer; font-size: 18px; }
.mgai[dir="rtl"] .mgai-form button { transform: rotate(180deg); }
.mgai-form button:disabled { opacity: .55; cursor: wait; }
.mgai footer { padding: 0 12px 9px; background: #fff; color: #81908e; text-align: center; font-size: 10px; }
.mgai-typing { display: flex; align-items: center; gap: 4px; min-width: 49px; }
.mgai-typing span { width: 6px; height: 6px; border-radius: 50%; background: #8ca09d; animation: mgaiDot 1.2s infinite ease-in-out; }
.mgai-typing span:nth-child(2) { animation-delay: .15s; }
.mgai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes mgaiDot { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-5px)} }
.mgai-property-list { display: grid; gap: 9px; margin: 5px 0 14px; }
.mgai-property-card { display: grid; grid-template-columns: 94px 1fr; overflow: hidden; min-height: 108px; border: 1px solid #dfe9e6; border-radius: 14px; background: #fff; box-shadow: 0 5px 17px rgba(23,63,66,.06); }
.mgai-property-card img,.mgai-property-placeholder { width: 94px; height: 100%; min-height: 108px; object-fit: cover; }
.mgai-property-placeholder { display: grid; place-items: center; background: #dce9e6; color: var(--mgai-green); font-weight: 800; }
.mgai-property-card > div { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 10px; min-width: 0; }
.mgai-property-card strong { display: -webkit-box; overflow: hidden; color: var(--mgai-green); font-size: 12.5px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mgai-property-card span { color: #72817f; font-size: 10.5px; }
.mgai-property-card b { color: var(--mgai-gold); font-size: 12px; }
.mgai-property-card a { margin-top: auto; color: var(--mgai-green); font-size: 11.5px; font-weight: 700; text-decoration: none; }
.mgai-lead-form { margin: 8px 0 5px; padding: 13px; border: 1px solid rgba(188,156,81,.35); border-radius: 15px; background: #fffaf0; }
.mgai-lead-form > strong { display: block; margin-bottom: 9px; color: var(--mgai-green); font-size: 13px; }
.mgai-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mgai-lead-form input[type="text"],.mgai-lead-form input:not([type]) { min-width: 0; }
.mgai-lead-form input[name="name"],.mgai-lead-form input[name="phone"] { width: 100%; padding: 9px; border: 1px solid #d8e2df; border-radius: 9px; background: #fff; font-size: 12px; }
.mgai-lead-form label { display: flex; align-items: flex-start; gap: 6px; margin: 9px 0; color: #657573; font-size: 10.5px; line-height: 1.45; }
.mgai-lead-form label input { margin-top: 2px; }
.mgai-lead-form button { width: 100%; padding: 9px; border: 0; border-radius: 9px; background: var(--mgai-green); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.mgai-lead-success { padding: 5px; color: #23623c; font-size: 12px; line-height: 1.6; }

@media (max-width: 560px) {
  .mgai,.mgai[dir="rtl"] { right: 14px; left: auto; bottom: 14px; }
  .mgai-panel,.mgai[dir="rtl"] .mgai-panel { position: fixed; right: 10px; left: 10px; bottom: 10px; width: auto; height: min(690px, calc(100vh - 20px)); border-radius: 20px; transform-origin: bottom center; }
  .mgai-launcher-label { display: none; }
  .mgai-launcher,.mgai[dir="rtl"] .mgai-launcher { width: 58px; height: 58px; padding: 9px; }
  .mgai-launcher-icon { width: 40px; height: 40px; }
}

/* Premium rental search experience */
body.mg-property-search-page {
  --mgs-deep: #0d3436;
  --mgs-green: #155154;
  --mgs-mint: #eaf3f0;
  --mgs-gold: #c9a85a;
  --mgs-cream: #fffaf0;
  --mgs-text: #173b3d;
  --mgs-muted: #71817f;
  background: #f5f8f7;
}

body.mg-property-search-page .elementor-location-archive {
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 8% 4%, rgba(201,168,90,.13), transparent 22rem),
    linear-gradient(180deg, #f8fbfa 0, #f4f7f6 36rem, #f7f9f8 100%);
}

body.mg-property-search-page .elementor-element-a2242c3 > .e-con-inner {
  display: block !important;
  max-width: 1180px !important;
}

body.mg-property-search-page .elementor-element-c2b2e30,
body.mg-property-search-page .elementor-element-0d5b86e,
body.mg-property-search-page .elementor-element-da23419 {
  width: 100% !important;
  max-width: none !important;
}

body.mg-property-search-page .elementor-element-c2b2e30 {
  margin: 0 0 32px !important;
}

body.mg-property-search-page .widget.widget_wpc_filters_widget,
body.mg-property-search-page .wpc-filters-main-wrap {
  width: 100%;
  margin: 0;
}

body.mg-property-search-page .wpc-filters-open-button-container,
body.mg-property-search-page .wpc-widget-close-container,
body.mg-property-search-page .wpc-filter-set-widget-title {
  display: none !important;
}

body.mg-property-search-page .wpc-filters-widget-content {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  border: 1px solid rgba(13,52,54,.09);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(13,52,54,.12);
}

body.mg-property-search-page .wpc-filters-widget-containers-wrapper {
  overflow: hidden;
  border-radius: 29px;
}

body.mg-property-search-page .mg-search-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  min-height: 230px;
  padding: 38px 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 10%, rgba(255,255,255,.13), transparent 15rem),
    radial-gradient(circle at 12% 110%, rgba(201,168,90,.2), transparent 20rem),
    linear-gradient(128deg, var(--mgs-deep), #18585a 72%, #216568);
  color: #fff;
}

body.mg-property-search-page.rtl .mg-search-intro {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.13), transparent 15rem),
    radial-gradient(circle at 88% 110%, rgba(201,168,90,.2), transparent 20rem),
    linear-gradient(232deg, var(--mgs-deep), #18585a 72%, #216568);
}

body.mg-property-search-page .mg-search-intro::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  top: -155px;
  right: 20%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255,255,255,.025), 0 0 0 92px rgba(255,255,255,.018);
  pointer-events: none;
}

body.mg-property-search-page .mg-search-intro-copy,
body.mg-property-search-page .mg-search-ai-trigger {
  position: relative;
  z-index: 1;
}

body.mg-property-search-page .mg-search-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #ecd79e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

body.mg-property-search-page .mg-search-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--mgs-gold);
}

body.mg-property-search-page .mg-search-intro h2 {
  max-width: 720px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

body.mg-property-search-page.rtl .mg-search-intro h2 {
  letter-spacing: 0;
  line-height: 1.35;
}

body.mg-property-search-page .mg-search-intro p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.75;
}

body.mg-property-search-page .mg-search-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

body.mg-property-search-page .mg-search-quick strong {
  margin-right: 3px;
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 700;
}

body.mg-property-search-page.rtl .mg-search-quick strong {
  margin-right: 0;
  margin-left: 3px;
}

body.mg-property-search-page .mg-search-area-links {
  display: contents;
}

body.mg-property-search-page .mg-search-area-links a {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

body.mg-property-search-page .mg-search-area-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(236,215,158,.65);
  background: rgba(201,168,90,.2);
}

body.mg-property-search-page .mg-search-ai-trigger {
  display: grid;
  grid-template-columns: 48px minmax(120px, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: 270px;
  min-height: 76px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  color: #fff;
  text-align: left;
  box-shadow: 0 16px 40px rgba(0,0,0,.13);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

body.mg-property-search-page.rtl .mg-search-ai-trigger {
  text-align: right;
}

body.mg-property-search-page .mg-search-ai-trigger:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.18);
}

body.mg-property-search-page .mg-search-ai-trigger > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, #ead495, var(--mgs-gold));
  color: var(--mgs-deep);
  font-size: 24px;
  box-shadow: 0 8px 22px rgba(0,0,0,.17);
}

body.mg-property-search-page .mg-search-ai-trigger b {
  font-size: 13px;
  line-height: 1.45;
}

body.mg-property-search-page .mg-search-ai-trigger small {
  padding: 4px 7px;
  border-radius: 999px;
  background: #73d69a;
  color: #0d4930;
  font-size: 9px;
  font-weight: 800;
}

body.mg-property-search-page .wpc-filters-scroll-container {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 26px 30px 30px !important;
  background: #fff;
}

body.mg-property-search-page .wpc-filters-widget-wrapper {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 20px 16px !important;
}

body.mg-property-search-page .wpc-instead-of-posts-found {
  display: none !important;
}

body.mg-property-search-page .wpc-filters-section {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.mg-property-search-page .wpc-filters-section > .wpc-filter-content,
body.mg-property-search-page .wpc-filters-section > form,
body.mg-property-search-page .wpc-filter-search-form,
body.mg-property-search-page .wpc-filter-range-form,
body.mg-property-search-page .wpc-filters-range-inputs,
body.mg-property-search-page .wpc-filters-range-wrapper,
body.mg-property-search-page .wpc-sticky-buttons {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body.mg-property-search-page .wpc-filter-bedroom { grid-column: span 2; }
body.mg-property-search-page .wpc-filter-furnishing { grid-column: span 3; }
body.mg-property-search-page .wpc-filter-type { grid-column: span 2; }
body.mg-property-search-page .wpc-filter-location { grid-column: span 2; }
body.mg-property-search-page .wpc-filter-price { grid-column: span 3; }
body.mg-property-search-page .wpc-filter-layout-search-field { grid-column: span 8; }
body.mg-property-search-page .wpc-filter-layout-submit-button { grid-column: span 4; }

body.mg-property-search-page .wpc-filter-header {
  margin: 0 0 8px !important;
  padding: 0 !important;
}

body.mg-property-search-page .wpc-filter-title {
  display: flex;
  align-items: center;
  min-height: 18px;
  color: var(--mgs-text);
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.4;
}

body.mg-property-search-page .wpc-filters-widget-select,
body.mg-property-search-page .wpc-search-field,
body.mg-property-search-page .wpc-filters-range-column input {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #dce7e4 !important;
  border-radius: 13px !important;
  outline: 0 !important;
  background-color: #f7faf9 !important;
  color: var(--mgs-text) !important;
  font-size: 13px !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body.mg-property-search-page .wpc-filters-widget-select:focus,
body.mg-property-search-page .wpc-search-field:focus,
body.mg-property-search-page .wpc-filters-range-column input:focus {
  border-color: var(--mgs-gold) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(201,168,90,.13) !important;
}

body.mg-property-search-page .wpc-search-field-wrapper {
  position: relative;
}

body.mg-property-search-page .wpc-search-icon {
  left: auto !important;
  right: 15px !important;
  opacity: .52;
}

body.mg-property-search-page.rtl .wpc-search-icon {
  right: auto !important;
  left: 15px !important;
}

body.mg-property-search-page .wpc-search-field {
  padding-right: 46px !important;
}

body.mg-property-search-page.rtl .wpc-search-field {
  padding-right: 14px !important;
  padding-left: 46px !important;
}

body.mg-property-search-page .wpc-filter-furnishing .wpc-filter-content ul {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  margin: 0 !important;
  padding: 6px !important;
  border: 1px solid #dce7e4;
  border-radius: 13px;
  background: #f7faf9;
  list-style: none;
  width: 100% !important;
}

body.mg-property-search-page .wpc-filter-furnishing .wpc-term-item {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body.mg-property-search-page .wpc-filter-furnishing .wpc-term-item-content-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 4px 6px;
  border-radius: 9px;
  text-align: center;
}

body.mg-property-search-page .wpc-filter-furnishing input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0 5px 0 0;
  accent-color: var(--mgs-green);
}

body.mg-property-search-page.rtl .wpc-filter-furnishing input[type="checkbox"] {
  margin: 0 0 0 5px;
}

body.mg-property-search-page .wpc-filter-furnishing a {
  overflow: hidden;
  color: #445e5c;
  font-size: 10.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.mg-property-search-page .wpc-filter-furnishing .wpc-term-count {
  display: none;
}

body.mg-property-search-page .wpc-filters-range-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

body.mg-property-search-page .wpc-filters-range-column {
  width: 100% !important;
  padding: 0 !important;
}

body.mg-property-search-page .wpc-filters-range-slider-wrapper {
  margin: 12px 9px 0 !important;
}

body.mg-property-search-page .wpc-filters-range-slider-control {
  height: 4px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #dfe8e6 !important;
}

body.mg-property-search-page .wpc-filters-range-slider-control .ui-slider-range {
  background: linear-gradient(90deg, var(--mgs-gold), #e1c579) !important;
}

body.mg-property-search-page .wpc-filters-range-slider-control .ui-slider-handle {
  top: -7px !important;
  width: 18px !important;
  height: 18px !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: var(--mgs-gold) !important;
  box-shadow: 0 2px 8px rgba(13,52,54,.25) !important;
}

body.mg-property-search-page .wpc-sticky-buttons {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 52px;
}

body.mg-property-search-page .wpc-filters-submit-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 52px;
  margin: 0 !important;
  padding: 11px 18px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, var(--mgs-deep), var(--mgs-green)) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(13,52,54,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}

body.mg-property-search-page .wpc-filters-submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(13,52,54,.24);
}

body.mg-property-search-page .wpc-filters-submit-button .wpc-pc-apply-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 25px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #efd99d;
  font-size: 10px;
}

body.mg-property-search-page .wpc-filters-reset-button {
  display: grid !important;
  place-items: center;
  min-width: 86px;
  min-height: 52px;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid #dce7e4 !important;
  border-radius: 13px !important;
  background: #fff !important;
  color: #667b79 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.mg-property-search-page .wpc-filters-widget-top-container:not(:empty) {
  padding: 18px 30px 0;
  background: #fff;
}

body.mg-property-search-page .wpc-filter-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
}

body.mg-property-search-page .wpc-filter-chip a {
  border: 1px solid rgba(201,168,90,.3);
  border-radius: 999px;
  background: var(--mgs-cream);
  color: var(--mgs-text);
  font-size: 11px;
}

body.mg-property-search-page .mg-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px;
  padding: 0 2px;
}

body.mg-property-search-page .mg-results-toolbar > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--mgs-text);
}

body.mg-property-search-page .mg-results-count {
  color: var(--mgs-green);
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
}

body.mg-property-search-page .mg-results-toolbar strong {
  font-size: 14px;
}

body.mg-property-search-page .mg-results-verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mgs-muted);
  font-size: 12px;
  font-weight: 700;
}

body.mg-property-search-page .mg-results-verified i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #dff2e7;
  color: #218154;
  font-style: normal;
  font-size: 12px;
}

body.mg-property-search-page .elementor-loop-container.elementor-grid {
  gap: 24px !important;
}

body.mg-property-search-page .elementor-loop-container .e-loop-item {
  overflow: hidden;
  border: 1px solid rgba(13,52,54,.09);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(13,52,54,.075);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

body.mg-property-search-page .elementor-loop-container .e-loop-item:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,90,.38);
  box-shadow: 0 20px 46px rgba(13,52,54,.13);
}

body.mg-property-search-page .elementor-loop-container .e-loop-item > .e-con,
body.mg-property-search-page .elementor-loop-container .e-loop-item > .elementor {
  height: 100%;
}

body.mg-property-search-page .elementor-loop-container .e-loop-item img {
  transition: transform .45s ease;
}

body.mg-property-search-page .elementor-loop-container .e-loop-item:hover img {
  transform: scale(1.035);
}

body.mg-property-search-page .elementor-loop-container .elementor-heading-title a {
  transition: color .2s ease;
}

body.mg-property-search-page .elementor-loop-container .e-loop-item:hover .elementor-heading-title a {
  color: var(--mgs-green);
}

body.mg-property-search-page .elementor-pagination {
  margin-top: 34px;
}

body.mg-property-search-page .elementor-pagination a,
body.mg-property-search-page .elementor-pagination .current {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  margin: 0 3px;
  border-radius: 11px;
  background: #fff;
  color: var(--mgs-green);
  box-shadow: 0 6px 18px rgba(13,52,54,.08);
}

body.mg-property-search-page .elementor-pagination .current {
  background: var(--mgs-green);
  color: #fff;
}

@media (max-width: 1024px) {
  body.mg-property-search-page .mg-search-intro { padding: 34px; }
  body.mg-property-search-page .mg-search-ai-trigger { width: 240px; }
  body.mg-property-search-page .wpc-filter-bedroom,
  body.mg-property-search-page .wpc-filter-type,
  body.mg-property-search-page .wpc-filter-location { grid-column: span 4; }
  body.mg-property-search-page .wpc-filter-furnishing,
  body.mg-property-search-page .wpc-filter-price { grid-column: span 6; }
  body.mg-property-search-page .wpc-filter-layout-search-field { grid-column: span 7; }
  body.mg-property-search-page .wpc-filter-layout-submit-button { grid-column: span 5; }
}

@media (max-width: 767px) {
  body.mg-property-search-page .elementor-location-archive { padding-bottom: 34px; }
  body.mg-property-search-page .elementor-element-a2242c3 > .e-con-inner { padding-inline: 14px !important; }
  body.mg-property-search-page .wpc-filters-widget-content { border-radius: 22px; }
  body.mg-property-search-page .wpc-filters-widget-containers-wrapper { border-radius: 21px; }
  body.mg-property-search-page .mg-search-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding: 28px 22px;
  }
  body.mg-property-search-page .mg-search-intro h2 { font-size: 31px; }
  body.mg-property-search-page .mg-search-intro p { font-size: 13px; }
  body.mg-property-search-page .mg-search-quick { margin-top: 16px; }
  body.mg-property-search-page .mg-search-ai-trigger { width: 100%; min-height: 68px; }
  body.mg-property-search-page .wpc-filters-scroll-container { padding: 22px 18px 24px !important; }
  body.mg-property-search-page .wpc-filters-widget-wrapper { grid-template-columns: 1fr !important; gap: 16px !important; }
  body.mg-property-search-page .wpc-filters-section { grid-column: 1 / -1 !important; }
  body.mg-property-search-page .wpc-filter-furnishing .wpc-filter-content ul { flex-wrap: wrap; }
  body.mg-property-search-page .wpc-filter-furnishing .wpc-term-item { flex-basis: calc(50% - 4px); }
  body.mg-property-search-page .wpc-sticky-buttons { grid-template-columns: 1fr; }
  body.mg-property-search-page .wpc-filters-reset-button { min-height: 44px; }
  body.mg-property-search-page .mg-results-toolbar { align-items: flex-start; margin-top: 8px; }
  body.mg-property-search-page .mg-results-verified { max-width: 145px; justify-content: flex-end; text-align: right; }
  body.mg-property-search-page.rtl .mg-results-verified { text-align: left; }
  body.mg-property-search-page .mg-results-count { font-size: 24px; }
  body.mg-property-search-page .elementor-loop-container.elementor-grid { gap: 18px !important; }
}
