/* Filter Button Bar */
.marketplace-filter {
  text-align: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.filter-button {
  background-color: transparent;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
  font-family: greycliff-cf, sans-serif !important;
  color: #15656d;
}

.filter-button:hover {
  background-color: #f0f0f0;
}

.filter-button.active {
  background-color: #15656d;
  color: white;
}

/* Grid Layout */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

/* Card Style */
.marketplace-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.marketplace-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Logo Image */
.marketplace-image {
  text-align: center;
  margin-bottom: 1rem;
}
.marketplace-image img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Discount Badge */
.marketplace-discount {
  background: #15656d;
  color: white;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.marketplace-content {
  padding: 0 20px 20px 20px;
}

/* Text Content */
.marketplace-title {
  font-size: 1.2rem !important;
}

.marketplace-speciality,
.marketplace-email,
.marketplace-phone,
.marketplace-link {
  font-size: 1rem;
  color: #374151;
}

.marketplace-email a,
.marketplace-phone a,
.marketplace-link a {
  color: #15656d;
  text-decoration: none;
  word-break: break-word;
}

.marketplace-link a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {
  .marketplace-grid {
    grid-template-columns: 1fr;
  }
}
