
 /* Vendor Badge Styling */
.vendor-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  margin-top: 10px;
  position: absolute;
  top: 5px;
  right: 15px;
}

.vendor-badge i {
  margin-right: 5px; /* Space between icon and text */
}

.premium {
  background-color: #196a1c; /* Premium red/orange */
}

.verified {
  background-color: #0e30ab; /* Verified green */
}

.normal {
  background-color: #777; /* Normal gray */
}

.featured {
  background-color: #f9a825; /* Featured yellow */
}

/* Vendor Badge position adjustment */
.vendor-card {
  position: relative; /* Ensure the badge is placed relative to the card */
}

.vendor-listings-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three cards per row */
  gap: 20px;
  padding: 20px;
}

.vendor-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vendor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.vendor-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #eee;
}

.vendor-details {
  padding: 15px;
}

.vendor-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vendor-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.vendor-location {
  font-size: 1rem;
  color: #777;
  margin-top: 5px;
}

.enquiry-btn {
  padding: 8px 15px;
  background-color: #2aa028;
  color: white;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.enquiry-btn:hover {
  background-color: #2aa028;
}

@media screen and (max-width: 768px) {
  .vendor-listings-container {
    grid-template-columns: 1fr 1fr; /* Two cards per row */
  }
}

@media screen and (max-width: 480px) {
  .vendor-listings-container {
    grid-template-columns: 1fr; /* One card per row */
  }
}



 
