.market-section {
  padding: 60px 0;
}

.filter-area {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.filter-buttons .filter-btn {
  background-color: #f39c12;
  border-color: #f39c12;
  color: #fff;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 5px;
  margin: 5px;
  transition: background-color 0.3s ease;
}

.filter-buttons .filter-btn:hover,
.filter-buttons .filter-btn.active {
  background-color: #f26c21;
  border-color: #f26c21;
}

.search-area {
  max-width: 300px;
}

.search-area input {
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  padding: 10px;
}

.market-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: 360px; /* Fixed height for all cards */
  display: flex;
  flex-direction: column;
}

.market-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.market-card img {
  width: 100%;
  height: 180px; /* Fixed image height */
  object-fit: cover;
}

.market-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.market-card-title {
  font-size: 1.1rem;
  color: #333;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.market-card-price {
  color: #f26c21;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.market-card .btn {
  background-color: #f39c12;
  border-color: #f39c12;
  color: #fff;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 5px;
  align-self: flex-start;
}

.market-card .btn:hover {
  background-color: #f26c21;
  border-color: #f26c21;
}