/* ------------------- INDEX ---------------------------*/
/* Remove these lines from your styleRealestate.css: */
/* body { font-family: 'Sarabun', sans-serif; } */ /* DELETE this! */
  /* Custom Scrollbar for top nav */
  .hide-scrollbar::-webkit-scrollbar {
    display: none;
  }

  .hide-scrollbar {
    -ms-overflow-style: none; 
    scrollbar-width: none;
  }

  /* Small custom touch */
  .card-hover:hover {
    transform: translateY(-4px);
    transition: all 0.2s ease;
  }

  /* Grid Layout */
  #propertiesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }

  /* Utility classes */
  .property-card.hidden {
    display: none !important;
  }

  .results-count {
    font-weight: normal;
    font-size: 1.125rem;
    color: #6b7280;
    margin-left: 0.5rem;
  }

  @media (max-width: 768px) {
    #propertiesGrid {
      grid-template-columns: 1fr;
    }
  }

/* ------------------- Listing ---------------------------*/



/* Custom Scrollbar for filter section if needed */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #f1f1f1; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

/* Range Slider Styling - FIXED */
/* Range Slider Styling */
input[type="range"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 100%;
background: transparent;
margin: 10px 0;
}

/* WebKit (Chrome, Safari, newer Edge) */
input[type="range"]::-webkit-slider-runnable-track {
width: 100%;
height: 4px;
background: #e2e8f0;
border-radius: 2px;
border: none;
}

input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
height: 20px;
width: 20px;
border-radius: 50%;
background: #2563eb;
cursor: pointer;
margin-top: -8px; /* This centers the thumb on the track */
box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Firefox */
input[type="range"]::-moz-range-track {
width: 100%;
height: 4px;
background: #e2e8f0;
border-radius: 2px;
border: none;
}

input[type="range"]::-moz-range-thumb {
height: 20px;
width: 20px;
border-radius: 50%;
background: #2563eb;
cursor: pointer;
border: none;
box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Edge */
input[type="range"]::-ms-track {
width: 100%;
height: 4px;
background: transparent;
border-color: transparent;
color: transparent;
}

input[type="range"]::-ms-thumb {
height: 20px;
width: 20px;
border-radius: 50%;
background: #2563eb;
cursor: pointer;
border: none;
box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

input[type="range"]::-ms-fill-lower {
background: #e2e8f0;
border-radius: 2px;
}

input[type="range"]::-ms-fill-upper {
background: #e2e8f0;
border-radius: 2px;
}

/* Card Transitions */
.property-card { transition: all 0.3s ease; }
.property-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }

/* Animation for filtering */
.property-card.hidden { display: none; }
.fade-in { animation: fadeIn 0.4s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Filter Active States */
.filter-tag.active {
  background-color: #eff6ff; /* blue-50 */
  border-color: #2563eb; /* blue-600 */
  color: #1d4ed8; /* blue-700 */
  font-weight: 600;
}

/* ------------------- Detail ---------------------------*/

.demo-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
  }
  
  /* Smooth fade in for tabs */
  .fade-in { animation: fadeIn 0.5s ease-in-out; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }



/* --------------------------------------------------- */

