
/* Rita Subcategories Grid */
.rita-subcats-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols-desktop, 4), minmax(0,1fr));
  gap: var(--gap, 16px);
}

@media (max-width: 1024px) {
  .rita-subcats-grid { grid-template-columns: repeat(var(--cols-tablet, 2), minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .rita-subcats-grid { grid-template-columns: repeat(var(--cols-mobile, 1), minmax(0,1fr)); }
}

.rita-subcats-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rita-subcats-grid__item:hover {
  transform: translateY(-2px);
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.rita-subcats-grid__thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  background: #f6f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rita-subcats-grid__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.rita-subcats-grid__name {
  font-size: 14px;
  line-height: 1.4;
}

.rita-subcats-grid__count {
  opacity: .7;
  font-size: 12px;
  margin-inline-start: 4px;
}

.rita-subcats-grid__notice {
  padding: 12px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  border-radius: 8px;
}
