.subcollections_filter_bar_heading_wrap {
  display: flex;
  gap: 1rem;
  align-items: flex-end;

  .subcollections_filter_title {
    font-weight: 300;
    font-size: 26px;
    letter-spacing: 0.01em;
    margin: 0;
    font-family: var(--font-body-family);
  }

  .subcollections_filter_product_count {
    font-size: 12px;
    font-weight: 300;
    font-family: var(--font-body-family);
    letter-spacing: 0.02em;
  }
}

.subcollection_filter_bar {
  padding-top: 2rem;
  padding-bottom: 2rem;

  .subcollection_title {
    font-family: var(--font-body-family);
  }

  .subcollection_filter_swiper {
    position: relative;
    width: 100%;

    .swiper-wrapper {
      align-items: center;
    }

    .swiper-button-prev,
    .swiper-button-next {
      color: #000000;
      top: 2rem;
      visibility: hidden;

      svg {
        width: 40px;
        height: 40px;
      }
    }

    .swiper-button-next {
      right: 0;
    }

    .swiper-button-prev {
      left: 0;
    }

    .swiper-scrollbar {
      position: static;
      margin-top: 1rem;
      display: flex;
      align-items: center;
      background-color: rgba(202, 201, 201, 1);
      height: 2px;

      .swiper-scrollbar-drag {
        background-color: rgba(29, 29, 29, 1);
        height: 100%;
      }
    }
  }

  .swiper {
    width: 100%;
  }

  .subcollection_filter {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(247, 247, 247, 1);
    width: auto;
    height: 40px;
    position: relative;
    padding-left: 1rem;

    a {
      display: block;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
    }

    .subcollection_image {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #d9d9d9;
      color: #222222;
      font-family: var(--font-body-family);
      font-weight: 600;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      box-sizing: border-box;
      position: relative;

      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        display: block;
        filter: invert(0.03);
      }

      .subcollection_image_placeholder {
        font-size: 18px;
        line-height: 1;
      }
    }

    .subcollection_title {
      padding: 0 2rem;
      white-space: nowrap;
      text-transform: none;
      font-size: 16px;
      line-height: 16px;
      font-weight: 300;
      letter-spacing: -0.5px;
      overflow-x: visible;
    }
  }
}
