.testimonials-with-filters {
  .testimonials-with-filters--hide {
    display: none !important;
  }

  .testimonials-with-filters__container {
    padding: 0 40px;
    margin: 0 auto;
    max-width: 1280px;
  }

  .testimonials-with-filters__rating-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
  }

  .testimonials-with-filters__rating-block > svg {
    width: 18px;
    height: 18px;
  }

  .testimonials-with-filters__rating {
    margin-right: 4px;
    font-size: 14px;
  }

  .testimonials-with-filters__rating-label {
    margin-left: 4px;
    font-size: 14px;
    opacity: 0.5;
  }

  .testimonials-with-filters__heading {
    text-align: center;
    margin-bottom: 24px;
  }

  .testimonials-with-filters__filter-list--slider {
    display: flex;
    overflow-x: scroll;
    overflow-y: clip;
  }

  .testimonials-with-filters__filter-list--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 188px));
    justify-content: center;
  }

  .testimonials-with-filters__filter-list {
    gap: 14px;
  }

  .testimonials-with-filters__filter-list--slider
    .testimonials-with-filters__filter {
    width: 188px;
    flex-shrink: 0;
  }

  .testimonials-with-filters__filter {
    padding: 12px 0;
    text-align: center;
    border: 2px solid #bf9543;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color ease 300ms, color ease 300ms;
  }

  .testimonials-with-filters__filter--active {
    background-color: #bf9543;
    color: #fff;
  }

  .testimonials-with-filters__review-list {
    margin-top: 40px;
  }

  .testimonials-with-filters__review-list--slider {
    display: flex;
    overflow-x: scroll;
    overflow-y: clip;
  }

  .testimonials-with-filters__review-list--grid {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, minmax(200px, 384px));
  }

  .testimonials-with-filters__review-list {
    gap: 24px;
  }

  .testimonials-with-filters__review-list--slider
    .testimonials-with-filters__review-block {
    width: 384px;
    flex-shrink: 0;
  }

  .testimonials-with-filters__review-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
  }

  .testimonials-with-filters__review-rating {
    height: 18px;
  }

  .testimonials-with-filters__review-rating > svg {
    width: 18px;
    height: 18px;
  }

  .testimonials-with-filters__review-title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    font-family: var(--font-product-main),"Be Vietnam Pro","Poppins";
  }

  .testimonials-with-filters__review-text {
    font-size: 14px;
    color: #222;
    opacity: 0.7;
    line-height: 160%;
  }

  .testimonials-with-filters__review-author {
    font-size: 14px;
    margin: 0;
  }

  .testimonials-with-filters__swiper {
    padding: 0 6px;
  }

  .testimonials-with-filters__swiper-controls {
    display: none;
  }

  .testimonials-with-filters__video-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-top: 40px;
  }

  .testimonials-with-filters__video-list svg {
    width: 64px;
    height: 64px;
  }

  .testimonials-with-filters__video-list .testimonials-with-filters__video {
    border-radius: 11px;
    overflow: hidden;
    height: 100%;
  }

  .testimonials-with-filters__video-list .testimonials-with-filters__video .video-with-play__play-icon {
    width: 53px;
    height: 53px;
  }
}

@media screen and (max-width: 1100px) {
  .testimonials-with-filters {
    .testimonials-with-filters__video-list {
      grid-template-columns: repeat(3, 1fr);
      padding: 0;
    }
  }
}

@media screen and (max-width: 1000px) {
  .testimonials-with-filters {
    .testimonials-with-filters__container {
      padding: 0 20px;
    }

    .testimonials-with-filters__filter-list--grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-with-filters__filter-list {
      gap: 8px;
    }

    .testimonials-with-filters__filter-list--slider
      .testimonials-with-filters__filter {
      width: 166px;
    }

    .testimonials-with-filters__filter-list--grid
      .testimonials-with-filters__filter {
      width: 100%;
    }

    .testimonials-with-filters__filter {
      padding: 9px 0;
      font-size: 16px;
    }

    .testimonials-with-filters__review-list--grid {
      grid-template-columns: repeat(auto-fit, minmax(100px, 384px));
    }

    .testimonials-with-filters__review-list--grid
      .testimonials-with-filters__review-block {
      width: 100%;
    }

    .testimonials-with-filters__review-title {
      font-size: 18px;
    }

    .testimonials-with-filters__review-list--grid.testimonials-with-filters__review-list {
      gap: 40px;
    }

    .testimonials-with-filters__review-list {
      margin-top: 24px;
    }

    .testimonials-with-filters__video-list {
      margin-top: 24px;
    }

    .testimonials-with-filters__video-list svg {
      width: 58px;
      height: 58px;
    }
  }
}

@media screen and (max-width: 768px) {
  .testimonials-with-filters {
    .testimonials-with-filters__swiper {
      padding: unset;
    }

    .testimonials-with-filters__video-list {
      display: flex;
      gap: 0;
    }

    .testimonials-with-filters-slide {
      display: flex;
      justify-content: center;
    }

    .testimonials-with-filters__video {
      width: 260px;
      height: 481px;
      border-radius: 16px;

      video {
        width: 260px;
        height: 481px;
        border-radius: 16px;
      }
    }

    .testimonials-with-filters__swiper-controls {
      width: 282px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      margin-top: 12px;

      .swiper-button-prev,
      .swiper-button-next,
      .swiper-pagination {
        position: static;
        color: #000;
        margin-top: 0;
      }

      .swiper-button-prev::after,
      .swiper-button-next::after {
        content: "";
      }

      .swiper-button-prev {
        rotate: 180deg;
      }

      .swiper-pagination {
         --swiper-pagination-bullet-horizontal-gap: 7px;
      }

      .swiper-pagination-bullet {
        width: 18px;
        height: 18px;
        background-color: #00000050;
      }

      .swiper-pagination-bullet-active {
        background-color: #BF9543;
      }
    }
  } 
}

@media screen and (max-width: 600px) {
  .testimonials-with-filters {
    .testimonials-with-filters__video-list .testimonials-with-filters__video .video-with-play__play-icon {
      width: 48px;
      height: 48px;
    }
  }
}

