/* Grid */
.vendor-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* Card */
.vendor-card-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  transition: all 0.25s ease;
}

.vendor-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.vendor-card-inner {
  display: flex;
  flex-direction: column;
}

/* Cover */
.vendor-card-cover {
  position: relative;
  height: 130px;
  background: #f1f3f6;
}

.vendor-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Avatar */
.vendor-card-avatar {
  position: absolute;
  bottom: -36px;
  left: 20px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.vendor-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Status */
.vendor-card-status {
  position: absolute;
  bottom: -6px;
  right: -6px;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
}

.vendor-open {
  background: #e6f7eb;
  color: #2e7d32;
}

.vendor-closed {
  background: #fff3e0;
  color: #ef6c00;
}

/* Content */
.vendor-card-content {
  padding: 50px 18px 18px;
}

.vendor-card-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.vendor-card-name a {
  color: #111;
  text-decoration: none;
}

.vendor-card-name a:hover {
  color: #0d6efd;
}

/* Rating */
.vendor-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.vendor-stars {
  position: relative;
  width: 80px;
  height: 14px;
  background: #ddd;
  border-radius: 3px;
  overflow: hidden;
}

.vendor-stars span {
  display: block;
  height: 100%;
  background: #ffc107;
}

.vendor-review-count {
  font-size: 13px;
  color: #777;
}

/* Meta */
.vendor-card-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 14px;
}

/* Footer */
.vendor-card-footer {
  display: flex;
  justify-content: flex-start;
}

.vendor-card-btn {
  display: inline-block;
  height: 36px;
  line-height: 36px;
  padding: 0 18px;
  font-size: 13px;
  border-radius: 6px;
  background: #0d6efd;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.vendor-card-btn:hover {
  background: #0b5ed7;
}

@media (max-width: 1200px) {
  .vendor-list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .vendor-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .vendor-list-grid {
    grid-template-columns: 1fr;
  }
}
