.badge-dark {
    color: #fff;
    background-color: #35b371;
}
.merchant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.card-header-info {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
   
    min-height: 50px;
    position: absolute;
    top: 0;
    z-index: 99;
    width: 100%;
}
.card-header-info .badge-item{
color: black !important;}
.badge-item {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.merchant-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  width: 100%;
}

.merchant-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.merchant-image {
  width: 100%;
  height: 180px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.merchant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.merchant-card:hover .merchant-image img {
  transform: scale(1.05);
}

.merchant-card h6 {
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}