.ads-page {
  background: #f8f9fa;
}

.ads-page h1 {
  color: #222;
  font-weight: 700;
}

/* ====== SIDEBAR FILTER ====== */
.ads-filter-sidebar {
  background: #fff;
  border-right: 1px solid #e0e0e0;
  padding: 20px;
  min-height: 100%;
}

.ads-filter-sidebar .form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

.ads-filter-sidebar .form-select,
.ads-filter-sidebar .form-control {
  border-radius: 6px;
  border-color: #ccc;
}

.ads-filter-sidebar button {
  margin-top: 5px;
  font-weight: 600;
}

/* ====== MAIN CONTENT ====== */
.ads-listing {
  background: #fff;
  border-left: 1px solid #e0e0e0;
  min-height: 100%;
}

/* No results */
.no-results {
  text-align: center;
  padding: 40px 20px;
}

.no-results i {
  font-size: 48px;
  color: #bbb;
}

.no-results h5 {
  font-weight: 700;
  margin-top: 10px;
}

.no-results p {
  color: #777;
}

/* ====== ADS GRID ====== */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
}

/* ====== CAR CARD ====== */
.car-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.car-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.car-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.car-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.car-card-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
}

.car-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #007bff;
  margin-top: auto;
}

/* ====== LOAD MORE BUTTON ====== */
#loadMoreBtn {
  font-weight: 600;
  border-radius: 6px;
  padding: 12px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .ads-filter-sidebar {
    display: none;
  }
  
  .ads-page h1 {
    text-align: center;
  }
  
  .ads-listing {
    border-left: none;
  }
}