@charset "UTF-8";
.home-filter-cate .home-filter-cate-title {
  color: #18181b;
  font-size: 20px;
  font-weight: 700; }

.home-filter-cate .home-filter-cate-list {
  margin-bottom: 20px; }
  .home-filter-cate .home-filter-cate-list.is-flex {
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-start;
    position: relative;
    display: flex; }
    .home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item {
      height: auto; }
      .home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item a {
        background-color: #f7f7f7;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: auto;
        overflow: hidden;
        border-radius: 4px;
        text-decoration: none;
        transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
        /* ⭐ FIX chống rung – mờ */
        will-change: transform;
        backface-visibility: hidden;
        transform: translateZ(0); }
        .home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item a img {
          margin: 5px auto 0;
          width: auto;
          transition: transform .25s ease;
          backface-visibility: hidden;
          transform: translateZ(0); }
        .home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item a span {
          color: #1d1d20;
          font-size: 14px;
          font-weight: 600;
          text-align: center;
          margin-top: 0;
          display: block;
          text-shadow: -0.5px -0.5px 0 #fff, 0.5px -0.5px 0 #fff, -0.5px 0.5px 0 #fff, 0.5px 0.5px 0 #fff;
          transition: color .25s ease, text-shadow .25s ease; }
        .home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item a:hover img {
          transform: scale(1.1); }
        .home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item a:hover span {
          color: #0c7c0b;
          text-shadow: initial;
          transform: none !important; }

/* Đặt item đầu tiên ở dòng thứ nhất */
@media (min-width: 768px) {
  .home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item:first-child {
    flex-basis: 100%;
    /* Chiếm cả dòng */
    text-align: center;
    margin-bottom: 20px; }
  /* Căn giữa nội dung item đầu */
  .home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item:first-child a {
    width: calc(100% / 7);
    margin: 0 auto; } }

@media (max-width: 767px) {
  .home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item {
    height: auto;
    width: 110px;
    margin-bottom: 5px; }
  .home-filter-cate .home-filter-cate-list.is-flex {
    gap: 5px;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: scroll; }
  .home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item {
    min-width: 26%; } }

.home-filter-cate {
  width: 100%;
  clear: both; }

.home-filter-cate .home-filter-cate-list.is-flex .home-filter-cate-item {
  height: auto;
  width: calc(100% / 7);
  padding: 5px; }

.home-filter-cate .home-filter-cate-list.is-flex {
  gap: 0;
  justify-content: center; }
  @media (max-width: 767px) {
    .home-filter-cate .home-filter-cate-list.is-flex {
      justify-content: flex-start; } }

h1.title_page.collection-title.mb-0 {
  font-size: 26px;
  line-height: 32px;
  color: #000;
  display: block;
  text-align: center;
  width: 100%;
  font-weight: bold;
  margin: 10px 0;
  padding-bottom: 20px; }
