.category {
  padding-bottom: 20px;
}
.category.active .category__inner .category__list {
  max-height: 100%;
}
.category__list {
  max-height: 273px;
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
  margin-bottom: 16px;
  gap: 12px;
}
@media (max-width: 1699px) {
  .category__list {
    max-height: 260px;
  }
}
@media (max-width: 1499px) {
  .category__list {
    max-height: 240px;
  }
}
.category__item {
  position: relative;
  width: calc(33.3333333333% - 8px);
  height: 130px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  border-radius: 5px;
}
.category__item::before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  inset: 0;
}
@media (min-width: 1024px) {
  .category__item:hover {
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
  }
}
@media (max-width: 1699px) {
  .category__item {
    height: 120px;
  }
}
@media (max-width: 1499px) {
  .category__item {
    width: calc(50% - 8px);
    height: 110px;
  }
}
.category__item-bg {
  position: relative;
  overflow: hidden;
  padding-bottom: 33.5%;
  transition: box-shadow ease 0.3s;
}
.category__item-bg .lazy-img-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category__item-bg .lazy-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.category__item-title {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.category__act {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}