.pro-marketplace {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Inter', sans-serif;
}

.marketplace-sidebar {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 100px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
}

.filter-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.btn-clear {
  background: none;
  border: none;
  color: #64748B;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}
.btn-clear:hover { color: #EF4444; }

.filter-group {
  margin-bottom: 24px;
}
.filter-group:last-child { margin-bottom: 0; }

.filter-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 12px;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
}

.range-slider {
  width: 100%;
  margin-bottom: 8px;
}

.range-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F172A;
  text-align: right;
}

.marketplace-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.marketplace-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0B1F3A;
  margin: 0 0 8px 0;
}
.marketplace-header p {
  color: #64748B;
  margin: 0;
}

.sort-select {
  padding: 10px 16px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #FFF;
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.pro-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -5px rgba(0,0,0,0.1);
}

.deal-media {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.deal-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 40%);
}

.deal-badges {
  position: relative;
  display: flex;
  gap: 8px;
}
.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFF;
}
.badge.wholesale { background: #10B981; }
.badge.urgent { background: #EF4444; }

.btn-fav {
  position: relative;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #FFF;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.btn-fav:hover { background: #FFF; color: #EF4444; }

.deal-content {
  padding: 24px;
}

.deal-price-row {
  margin-bottom: 16px;
}
.deal-price-row .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
}
.deal-price-row .location {
  font-size: 0.9rem;
  color: #64748B;
}

.deal-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}
.metric { display: flex; flex-direction: column; }
.metric small { font-size: 0.75rem; color: #94A3B8; margin-bottom: 2px; }
.metric strong { font-size: 0.95rem; font-weight: 700; color: #0F172A; }
.metric.highlight strong { color: #10B981; }

.w-full { width: 100%; }

@media (max-width: 900px) {
  .pro-marketplace { grid-template-columns: 1fr; }
  .marketplace-sidebar { position: static; }
}
