/* ===============================
   REAL ESTATE SEARCH BAR (Clean)
   =============================== */

/* Wrapper */
.re-search-wrap{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Main bar */
.re-search{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}

/* Buy/Rent pill */
.re-pill{
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  flex: 0 0 auto;
}
.re-pill input{ display:none; }
.re-pill label{
  cursor: pointer;
  user-select: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.re-pill input:checked + label{
  background: #fff;
  color: #000;
}

/* Fields */
.re-field select,
.re-field input{
  height: 44px;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  width: 100%;
}
.re-type{ min-width: 200px; padding: 0 8px; }
.re-loc{
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
}
.re-icon{ opacity: .8; font-size: 18px; }
.re-divider{ width: 1px; height: 34px; background: rgba(255,255,255,0.18); }

/* Button (fix center text) */
.re-btn{
  height: 44px;
  min-width: 120px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  background: #2dd4bf;
  color: #001;

  /* center text perfectly */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.re-btn:hover{ filter: brightness(.95); }

/* Mobile */
@media (max-width: 820px){
  .re-search{ flex-wrap: wrap; gap: 10px; }
  .re-divider{ display:none; }
  .re-type, .re-loc{ min-width: 100%; }
  .re-btn{ width: 100%; }
}

/* ===============================
   STICK TO BOTTOM OF HERO (Zoho-safe)
   =============================== */

.prop-grid{
  width: min(1100px, 92%);
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.prop-card{
  display:block;
  padding:16px;
  border-radius:16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  text-decoration:none;
  color:#fff;
  transition: .18s;
}

.prop-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
}

.prop-title{ font-weight: 800; margin-bottom: 6px; }
.prop-meta{ opacity: .75; font-size: 13px; margin-bottom: 10px; }
.prop-price{ font-weight: 900; }

@media (max-width: 900px){
  .prop-grid{ grid-template-columns: 1fr; }
}
.hero p{
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hero p,
.theme-banner p,
.theme-banner-area p{
  color: rgba(255,255,255,0.82);
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
/* Dropdown field itself */
.re-field select{
  background-color: rgba(30,30,30,0.9);
  color: #fff;
}

/* Options inside dropdown */
.re-field select option{
  background-color: #2b2b2b;
  color: #fff;
}

/* Hover / selected option (در اکثر مرورگرها) */
.re-field select option:hover,
.re-field select option:checked{
  background-color: #3a3a3a;
  color: #fff;
}

/* ===== Force Search Bar to Bottom of Zoho Hero (Reliable) ===== */

/* 1) Hero containers height + flex column */
div.zphero .zphero-slide{
  height: 100% !important;
}

div.zphero .zphero-slider-container{
  height: 100% !important;
}

div.zphero .zphero-slider-container .zpcontainer{
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* 2) Make all rows normal, but push the snippet row to the bottom */
div.zphero .zprow{
  flex: 0 0 auto !important;
}

/* این همون عنصریه که سرچ داخلشه */
div.zphero .zpelem-codesnippet{
  margin-top: auto !important;     /* 👈 این می‌چسبونه به پایین هدر */
}

/* 3) Optional: bring it slightly outside bottom like pro websites */
div.zphero .hero-search-anchor{
  position: relative !important;
  transform: translateY(100%) !important;  /* نصفش بیاد بیرون */
  z-index: 9999 !important;
}

/* Mobile */
@media (max-width: 820px){
  div.zphero .hero-search-anchor{
    transform: translateY(0%) !important;
  }
}
