/* ======= FEATURE STYLES ======= */
.whats{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(15,26,20,.12);
  background:#fff;
  font-weight:1050;
  cursor:pointer;
  text-decoration:none;
  color:var(--text);
  box-shadow: 0 12px 22px rgba(0,0,0,.06);
  transition: all 0.2s ease;
}

.whats:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0,0,0,.1);
}

.whats i{
  font-size:18px;
  flex:0 0 auto;
}

.whats .fa-whatsapp{
  color: #25D366;
}

.whats .fa-phone{
  color: #2196F3;
}

.whats-primary{
  background: linear-gradient(135deg, #1ebe57, #128C7E);
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 1100;
  padding: 16px 20px;
  box-shadow: 0 14px 28px rgba(18, 140, 126, 0.3);
  position: relative;
  overflow: hidden;
}

.whats-primary:hover{
  box-shadow: 0 18px 34px rgba(18, 140, 126, 0.4);
}

.whats-primary .fa-whatsapp{
  color: white;
  font-size: 20px;
}

.whats-primary::before{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.whats-primary:hover::before{
  left: 100%;
}

.valuation-offer{
  margin: 14px 0 4px 0;
  text-align: center;
}

.valuation-offer-main{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 1000;
  color: var(--green);
  margin-bottom: 4px;
}

.valuation-offer-main i{
  font-size: 18px;
  color: #4CAF50;
}

.valuation-offer-sub{
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.3;
}

.best-price{
  color: var(--green);
  font-weight: 1000;
}

.location{
  margin-top:16px;
  padding:14px;
  border-radius:16px;
  background: linear-gradient(135deg, rgba(11,77,42,.06), rgba(15,106,56,.03));
  border:1px solid rgba(11,77,42,.12);
}

.location h3{
  margin:0 0 8px 0;
  font-size:14px;
  font-weight:1000;
  color:var(--green);
  display:flex;
  align-items:center;
  gap:8px;
}

.locationIcon{
  width:18px;height:18px;border-radius:6px;
  background: linear-gradient(135deg, #FF5722, #E64A19);
  position:relative;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}

.locationIcon i{
  font-size:12px;
  color: white;
}

.location p{
  margin:0;
  font-size:13px;
  color:var(--text);
  line-height:1.4;
  font-weight:650;
}

.location a{
  color:var(--green);
  text-decoration:none;
  font-weight:800;
}

.location a:hover{
  text-decoration:underline;
}

.shareBtn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(11,77,42,.15);
  background: linear-gradient(135deg, rgba(11,77,42,.04), rgba(15,106,56,.02));
  color:var(--green);
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  text-decoration:none;
  transition: all .2s ease;
}

.shareBtn:hover{
  background: linear-gradient(135deg, rgba(11,77,42,.08), rgba(15,106,56,.04));
  transform: translateY(-1px);
}

.shareBtn i{
  font-size:14px;
}

.shareBtn{
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  transition: all .2s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.autocomplete-container{
  position:relative;
}

.autocomplete-list{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background:white;
  border:1px solid rgba(11,77,42,.15);
  border-radius:12px;
  margin-top:4px;
  max-height:200px;
  overflow-y:auto;
  z-index:1000;
  box-shadow:0 8px 20px rgba(0,0,0,.1);
  display:none;
}

.autocomplete-item{
  padding:12px;
  cursor:pointer;
  border-bottom:1px solid rgba(11,77,42,.05);
  font-size:14px;
  transition:background .15s ease;
}

.autocomplete-item:hover{
  background:rgba(11,77,42,.05);
}

.autocomplete-item:last-child{
  border-bottom:none;
}

.autocomplete-item strong{
  color:var(--green);
  font-weight:700;
}

.market-factor:first-child{
  margin-top: 12px;
}

.market-factors{
  display: grid;
  gap: 10px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  position: relative;
  z-index: 1;
}

.market-factors.collapsed{
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.market-factors.expanded{
  max-height: 600px;
  opacity: 1;
  margin-top: 12px;
}

.market-factor{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,.9);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  border-left: 3px solid var(--green);
}

.market-factor i{
  font-size: 16px;
  color: #007bff;
  min-width: 16px;
}

.market-factor i.fa-map-marker-alt{
  color: #28a745; /* Green for location/neighborhood */
}

.market-factor i.fa-home{
  color: #6f42c1; /* Purple for property type */
}

.market-factor i.fa-arrow-up{
  color: #dc3545; /* Red for elevator */
}

.market-factor i.fa-sun{
  color: #ffc107; /* Yellow for balcony */
}

.market-factor i.fa-eye{
  color: #17a2b8; /* Teal for orientation */
}

.buyer-potential{
  margin: 10px 0;
}

.buyer-potential-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.buyer-potential-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.06), rgba(25, 118, 210, 0.03));
  border-radius: 10px;
  border: 1px solid rgba(33, 150, 243, 0.12);
  min-height: 60px;
}

.buyer-potential-item.demand{
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.06), rgba(220, 53, 69, 0.03));
  border-color: rgba(220, 53, 69, 0.12);
}

.buyer-potential-item i{
  font-size: 22px;
  color: #1976D2;
  flex-shrink: 0;
}

.buyer-potential-item.demand i{
  color: #dc3545;
}

.buyer-potential-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.buyer-potential-value{
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.3;
}

.buyer-potential-value strong{
  font-size: 18px;
  color: #1976D2;
  font-weight: 1100;
}

.buyer-potential-item.demand .buyer-potential-value{
  color: #dc3545;
}

.buyer-potential-label{
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.2;
}

.market-factor.positive{
  background: rgba(255,255,255,.8);
  border-left-color: #6c757d;
}

.market-factor.neutral{
  background: rgba(255,193,7,.08);
  border-left-color: #ffc107;
}

.market-factor.negative{
  background: rgba(244,67,54,.08);
  border-left-color: #f44336;
}
