.shop-by-category-container {
  max-width: 120rem;
  margin: 0 auto 9.6rem;
}

.shop-by-category-container .shop-by-category-title {
  text-align: center;
  color: var(--scc-color-text-primary);
  font-family: Exo, sans-serif;
  font-weight: 600;
  margin-bottom: 4.2rem;
}

.shop-by-category-container .shop-by-category-content {
  display: flex;
  gap: 2.9rem;
  flex-wrap: wrap;
}

.shop-by-category-container .shop-by-category-content .category-content-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--scc-color-text-primary);
}

.shop-by-category-container
  .shop-by-category-content
  .category-content-link:hover
  .category-content-title {
  text-decoration: underline;
}

.shop-by-category-container .category-content-item {
  width: 14.6rem;
}

.shop-by-category-container
  .shop-by-category-content
  .category-content-link
  .category-content-title {
  font-size: var(--scc-font-title-size);
  margin: 2.2rem 0 0;
  color: var(--scc-color-primary);
  font-weight: 500;
  line-height: 2.4rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-by-category-container
  .shop-by-category-content
  .category-content-link
  .category-content-img {
  width: 14.6rem;
  height: 14.6rem;
}

.shop-by-category-container
  .shop-by-category-content
  .category-content-link
  .category-content-img
  > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (width <= 768px) {
  .shop-by-category-container
    .shop-by-category-content
    .category-content-link
    .category-content-title {
    font-size: 1.7rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .shop-by-category-container .category-content-item {
    width: 7.3rem;
  }

  /* Shop by Category 板块 */
  .shop-by-category-container {
    padding: 0 1.4rem;
    margin: 0 auto 6.6rem;
  }

  .shop-by-category-container .shop-by-category-content {
    gap: 1.6rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .shop-by-category-container
    .shop-by-category-content
    .category-content-link
    .category-content-img {
    width: 7.3rem;
    height: 7.3rem;
  }
}
