.via-category-card {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.via-category-card img:hover {
  transform: scale(1.3);
  transition: transform ease 0.3s;
}

.via-category-tree ul {
  list-style: none;
  max-height: 200px;
  overflow-y: scroll;
}

.via-category-tree ul::-webkit-scrollbar {
  width: 6px;
}

.via-category-tree ul::-webkit-scrollbar-track {
  background: transparent;
}

.via-category-tree ul::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.via-category-tree ul::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.via-category-tree  a.parent-cat {
  font-weight: bold;
  font-size: 1.25rem;
  color: #000;
}
.via-category-tree a.child-cat {
  color: rgb(131, 131, 131);
}

.via-category-tree .parent-cat:hover {
  padding-left: 6px;
  transition: padding-left ease 0.5s;
}

.via-category-tree .child-cat-list {
  padding: 2px;
}

.via-category-tree .child-cat-list li {
  position: relative;
  width: fit-content;
}

.via-category-tree .child-cat-list li:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 0;
  background-color: var(--via-primary-color);
}

.via-category-tree .child-cat-list li:hover:after {
  height: 1px;
  width: 100%;
  transition: width ease 0.5s;
}

@media (max-width: 767px) {
  .via-category-card {
    max-width: 50% !important;
  }
  .via-category-tree .child-cat-list {
    display: none;
  }
}

.via-category-group {
  display: none;
}