.tools-index {
  .tools-wrap {
    display: flex;
    gap: 30px;
    font-size: 14px;
    width: 100%;
    max-width: none;
    margin: 0;
    /* Mobile */
    @media (max-width: 767.5px) {
      flex-direction: column;
      align-items: stretch;
      max-width: none;
    }

    .filters {
      width: 160px;
      /* Mobile */
      @media (max-width: 767.5px) {
        display: none;
      }
    }

    .tools-list-wrap {
      display: flex;
      flex-direction: column;
      gap: 10px;
      /* Mobile */
      @media (max-width: 767.5px) {
        width: 100%;
      }

      .tools-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        color: var(--grey-500);
        height: min-content;
      }

      .tools {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      /* Desktop */
      @media (min-width: 768px) {
        gap: 30px;
      }
        /* Mobile */
        @media (max-width: 767.5px) {
          gap: 10px;
          justify-content: center;
          width: 100%;
        }
      }
    }
  }
}

[data-tools-filters-placeholder] {
  display: none;
}

.pane.tools {
  .filters {
    display: flex;
    flex-direction: column;
    gap: 20px;

    > .label {
      color: var(--grey-400);
    }

    .filter-row {
      display: flex;
      flex-direction: column;
      gap: 5px;

      label {
        color: var(--grey-500);
      }
    }

    .search-wrap {
      display: flex;
      flex-direction: column;
      position: relative;

      input {
        border-radius: 10px;
      }

      .fa-search {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--grey-400);
      }
    }
  }

  @media (max-width: 767.5px) {
    .filters:not(.filters--sidebar) {
      display: none;
    }
  }

  .filters.filters--sidebar {
    width: 100%;
    padding: 0 20px 20px;
    gap: 24px;

    > .label {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .filter-row {
      gap: 12px;
    }

    .form-check {
      margin-bottom: 6px;

      &:last-child {
        margin-bottom: 0;
      }

      label {
        color: var(--grey-600);
      }
    }
  }

  @media (min-width: 768px) {
    &:not(.active) .pane-bar .filters--sidebar {
      display: none;
    }

    &.active .pane-bar {
      pointer-events: auto;
    }

    &.active .pane-bar > * {
      animation: none;
      visibility: visible;
      transform: none;
    }

    &.active .pane-bar.has-sidebar-filters .bar-tools {
      display: none;
    }
  }
}
