/* Grid container */
.cgw-grid {
  padding: 2vh 10vw;
  display: grid;
  max-width: 100vw;
  grid-template-columns: repeat(4, 200px);
  justify-content: center;
  background: #26733e;
}

/* Individual cell */
.cgw-cell {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
  padding: 14px 16px;
  background-color: #85d69e;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 0 !important;
  /* transition:
        background-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease; */
  min-height: 72px;
  box-sizing: border-box;
  border: 1px solid transparent;
}

.cgw-cell:hover,
.cgw-cell:focus-visible {
  /* transform: translateY(-2px); */
  background-color: #81bf94;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  border-color: rgba(70, 160, 80, 0.15);
  outline: none;
}

.cgw-cell:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Image wrapper */
.cgw-cell-image-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}

/* Image */
.cgw-cell-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

/* Category name */
.cgw-cell-name {
  font-size: 1rem;
  font-family: Poppins, sans-serif !important;
  color: #26733e !important;
  text-transform: none !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  word-break: break-word;
  hyphens: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .cgw-grid {
    grid-template-columns: repeat(3, 200px);
  }
}

@media (max-width: 768px) {
  .cgw-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .cgw-cell {
    padding: 12px;
    gap: 10px;
    min-height: 64px;
  }
  .cgw-cell-image-wrap,
  .cgw-cell-image {
    width: 40px;
    height: 40px;
  }
  .cgw-cell-name {
    font-size: 0.67rem;
  }
}

@media (max-width: 420px) {
  .cgw-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}
