
.products, .slider {
  @extend .p-5, .text-dark, .d-flex, .justify-content-start;
  padding:  0px !important;
  position: relative;
  flex-wrap: wrap;
  width: 90% !important;
  max-width: 90% !important;
  margin: 0 auto;
  &.coming-soon{
    overflow: hidden;
  }
  &.full {
    width: 100% !important;
    max-width: 100% !important;
  }
}
.slider {
  display: block;
  width: 90% !important;
  max-width: 90% !important;
  .carousel-item {
    width: 90% !important;
    max-width: 90% !important;
    transition: -webkit-transform .2s ease-in-out !important;
    transition: transform .2s ease-in-out !important;
    transition: transform .2s ease-in-out, -webkit-transform .2s ease-in-out  !important;
    -webkit-perspective: 900px  !important;
    perspective: 900px  !important;
  }
}
.slider .products {
  overflow: hidden;
  max-height: 450px;
  display: none !important;
  width: 97% !important;
  padding-right: 15px !important;
  @extend .justify-content-start;

  &.active {
    display: flex !important;
  }
}
.products--item {
  @extend .bg-white;
  height: 380px;
  width: 303px !important;
  max-width: 303px !important;
  margin: 10px !important;
  &.smaller {
    height: 380px;
    width: 280px !important;
    max-width: 280px !important;
    margin: 8px !important;
  }
}
.products--featured {
  @extend .bg-white;
  padding: 20px !important;
  width: 100%;
  min-height: 200px;

  .products--item__title {
    font-family: SF UI Display;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: 0.03em;
    color: #1E1E1E;
    padding: 0px !important;
    height: auto;
  }

  .products--item_description{
    height: auto;
    max-height: 32.2em;

    font-family: SFUIDisplayRegular !important;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;

    letter-spacing: 0.03em;
    &:after {
      background: none;
    }
  }

  .products--item__img{
    height: auto;
    img{
      width: 100%;
      min-width: 100%;
      max-width: 100%;
      height: auto;
      min-height: auto;
    }
  }
  .products--item_description, .products--item__tags, products--item__img{
    padding-left: 0px !important;
    margin-left: 0px !important;
  }
  .products--item__vote{
    @extend .d-flex, .justify-content-end;
    @extend .border-0;
    padding: 0px !important;
    .products--item__button {
      height: 30px !important;
      min-width: 88px !important;
      max-width: 128px !important;
      float: none !important;
      font-size: 14px !important;
      line-height: 17px;
      letter-spacing: 0.03em;
    }

    .products--item__vote_count{
      padding: 0px;
      margin-top: -12px;
      width: 100px !important;
    }
  }

  .products--item_share_visit {
    @extend .d-flex, .justify-content-between;
    .visit_app {
      position: relative;
      bottom: -61px !important;
    a {
      width: 88px;
      height: 30px;
      background: #303030;
      border-radius: 4px;
      text-decoration: none;
      padding: 10px 12px !important;

      font-size: 14px;
      line-height: 17px;
      letter-spacing: 0.03em;

      color: #FFFFFF;
    }
    }
  }
}
.no-votes {
  &.products--item {
    height: 340px !important;

    .products--item__vote {
      display: none !important;
    }
  }
}
@include media-breakpoint-down(sm) {
  .products--featured {
    .products--item__vote {
      justify-content: flex-start !important;
    }
  }
  .products {
    padding: 20px 10px !important;
    max-width: 100% !important;
  }
  .products--item {
    width: 100%;
    height: 410px;
  }
  .products--item__img{
    height: 190px !important;
    img{
      height: 189px !important;
      min-height: 189px !important;
    }
  }
  .no-votes {
    &.products--item {
      height: 355px !important;
    }
  }
}

.products--item__vote {
  @extend .d-flex, .justify-content-between;
  padding: 5px 20px;
  padding-top: 10px !important;
  border-top: 1px solid $default-border-color-active;
}
.products--item__img{
  @extend .bg-white;
  height: 170px;
img{
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 150px;
  min-height: 150px;
}
}

.products--item__button{
  @extend .btn, .btn-small,  .border-0, .m-0, .p-0;
  height: 30px  !important;
  //padding: 7px 27px !important;

  height: 30px !important;
  min-width: 188px !important;

  font-family: SF Pro Text;
  font-style: normal;
  font-weight: normal;
  font-size: 14px !important;
  line-height: 17px;
  letter-spacing: 0.03em;

  border: 0.5px solid $default-border-color-active;
  box-sizing: border-box;
  border-radius: 4px;
  text-transform: uppercase ;
  margin-top: -12px !important;
  margin-right: -5px !important;

  &:hover{
    border: 0.5px solid $default-border-color;
  }

  .social-media-share {
    img {
      max-width: 30px !important;
      max-height: 30px !important;
      margin: 10px 2px;
    }
  }
}

.products--item__vote_count{
  margin-top: 10px;
  max-width: 60%;
  cursor: pointer;
  img {
    filter: grayscale(100%) sepia(100%) brightness(0%) saturate(374%)!important;
    -webkit-filter: grayscale(100%) sepia(100%) brightness(0%) saturate(374%)!important;
    -moz-filter: grayscale(100%) sepia(100%) brightness(0%) saturate(374%)!important;
  }
  &.voted {
    @extend .text-warning;
    &span{}
    img {
      filter: invert(0) !important;
      -webkit-filter: invert(0) !important;
      -moz-filter: invert(0) !important;
    }
  }
  span {
    padding-left: 10px;
  }
}

.products--item__title{
  height: 27px;

  font-weight: 700;
  font-size: 16px;
  padding: 20px;
}

.products--item_description, .middle .description {
  position: relative;
  height: 3.2em;
  max-height: 3.2em;
  padding: 0 20px;
  margin: 15px 0;
  overflow: hidden;

  font-weight: 300;
  font-size: 14px;
  line-height: 16px;
  /* or 133% */

  letter-spacing: 0.03em;
  &:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 1.1em;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
  }
}

.products--item__tags{
  overflow: hidden;
  padding: 10px 20px;
  text-transform: capitalize !important;

  span {
    width: fit-content;
    background: #EBEEFF;
    color: #030F4F;
    border-radius: 100px;
    padding: 1px 15px;
    font-size: 14px;
    text-align: center;
  }
}

