/* "Popular Categories" grid (components/home/Home3Collections.tsx) — real
 * categories with real Admin-uploaded images (Category.imageUrl). */
.sw-collections {
  padding: 8px 0 48px;
}
.sw-collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}
.sw-collection-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sw-collection-tile:hover {
  border-color: var(--sw-primary);
  box-shadow: 0 14px 28px rgba(30, 158, 92, 0.16);
}
.sw-collection-tile:hover span {
  color: var(--sw-primary);
}
.sw-collection-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f7f8;
  border-radius: 8px;
  color: #b7bcc2;
  font-size: 30px;
}
.sw-collection-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sw-collection-tile span {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}
