.subcollections {
  .flickity-viewport {
    overflow: hidden;
  }
  .flickity-button {
    visibility: visible;
    background-color: transparent;
    opacity: 1;
    transform: translateY(-50%);
    box-shadow: none;
    @media screen and (max-width: 767px) {
      // display: none;
      background: white;
      width: 30px;
      height: 30px;
    }
  }
  .wrapper--full-padded {
    @media screen and (max-width: 767px) {
      padding-right: 0;
    }
  }
  .wrapper--full-padded .carousel .flickity-prev-next-button.next {
    right: -10px;
    left: unset;
    @media screen and (max-width: 767px) {
      right: 10px;
    }
  }
  .wrapper--full-padded .carousel .flickity-prev-next-button.previous {
    left: -10px;
    right: unset;
    @media screen and (max-width: 767px) {
      left: 10px;
    }
  }
  .subcollection__outer {
    overflow: hidden;
    border-radius: 6px;
  }
  .carousel__item {
    margin-right: 16px;
  }
  .subcollection__title {
    position: unset;
    bottom: unset;
    left: unset;
    right: unset;
    top: unset;
    padding: 0;
    padding-top: 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0px;
    font-family: Volte;
    font-style: normal;
    text-transform: capitalize;
  }
  .flickity-prev-next-button:before,
  .pswp__button:before {
    width: 20px;
    height: 20px;
    font-size: 20px;
  }
  .placeholder-svg--overlayed:after {
    border-radius: 6px;
  }
  .carousel__container {
    margin: 0 auto;
  }
  .carousel__container .carousel {
    margin: 0 auto;
    padding: 0 50px;
    @media screen and (max-width: 767px) {
      padding: 0;
    }
  }
  .subcollection.one-quarter {
    width: calc((100% - var(--gutter) * 2) / 4 + 16px);
    @media screen and (max-width: 767px) {
      width: calc((100% - 16px) / 2.3); // 2.3 items trên mobile
      min-width: 140px;
    }
  }
  
  .subcollection.one-fifth {
    width: calc((100% - 64px) / 5); // 5 items với 4 khoảng cách 16px
    min-width: 180px;
    
    @media screen and (max-width: 1200px) {
      width: calc((100% - 48px) / 4); // 4 items trên màn hình nhỏ hơn
      min-width: 180px;
    }
    
    @media screen and (max-width: 1024px) {
      width: calc((100% - 32px) / 3); // 3 items trên tablet
      min-width: 180px;
    }
    
    @media screen and (max-width: 767px) {
      width: calc((100% - 16px) / 2.3); // 2.3 items trên mobile
      min-width: 140px;
    }
  }
}
