.view-list-vendors {
  .block-vendor-item {
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    overflow: hidden;
    @media (max-width: 575.98px) {
      margin-bottom: 25px;
    }
    @media (min-width: 576px) and (max-width: 767.98px) {
      margin-bottom: 30px;
    }
    @media (min-width: 768px) and (max-width: 991.98px) {
      margin-bottom: 30px;
    }
      .content-top {
      width: 100%;
      //height: 250px;

      .img-block {
        width: 100%;
        height: 100%;
        overflow: hidden;
        div {
          width: 100%;
          height: 100%;
          padding-bottom: calc(100% * 250 / 277);
          position: relative;
          img {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            object-position: center;
            object-fit: cover;
          }
        }
      }
    }
    .content-bottom {
      padding: 30px 15px;
      h3 {
        font-size: 20px;
        margin-bottom: 20px;
        font-weight: bold;
      }
      .infor-item {
        margin-bottom: 5px;
        i {
          margin-right: 10px;
          &::before {
            color: #FFC107;
            font-size: 16px;
          }
        }
        span {
          font-size: 16px;
        }
      }
      .number-products {
        margin-bottom: 20px;
        span {
          font-size: 16px;
          display: inline-block;
          &:first-child {
            color: #FFC107;
            font-weight: bold;
            margin-right: 10px;
          }
        }
      }
      a.view-profile {
        padding: 5px 10px;
        display: block;
        width: 100%;
        background-color: #FFC107;
        color: #ffffff;
        transition: all 0.4s linear;
        text-decoration: none;
        text-align: center;
        border-radius: 4px;
        text-transform: uppercase;
        position: relative;
        overflow: hidden;
        &:hover {
          background-color: rgba(255, 193, 7, 0.8);
          &::before, &::after {
            opacity: 1;
            visibility: visible;
            width: 0;
          }
        }
        &::before, &::after {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 50%;
          height: 100%;
          background: rgba(255, 193, 7, 0.8);
          opacity: 0;
          visibility: hidden;
          z-index: -1;
          transition: all 0.4s linear;
        }
        &::after {
          right: 0;
          left: auto;
        }

      }
    }
  }
  ul.pagination-vendors  {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    @media (max-width: 575.98px) {
      justify-content: center;
    }
    li {
      margin: 0 5px 0 5px;
      a {
        font-size: 16px;
        border-radius: 4px;
      }
    }
  }
}
