.item {
  position: relative;
  margin-bottom: 10px;
  width: 100%;
  @extend %transition;
  .img-box {
    width: 100%;
    height: 380px;
    position: relative;
    text-align: center;

    .icon {
      width: inherit;
      height: inherit;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    svg {
      font-size: 6rem;
      flex-shrink: 0;
    }
    img {
      flex-shrink: 0;
      object-fit: cover;
    }
    .full-link {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .Wishes {
      position: absolute;
      overflow: hidden;
      z-index: 16;
      @extend %box-shadow-light;
      bottom: 10px;
      right: 10px;
      top: inherit !important;
      margin-bottom: 0;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;

      a,
      button {
        width: 30px;
        height: 30px;
        padding: 0;
        position: initial;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        @extend %transition;
        border-radius: 50%;
        border: none;

        svg {
          font-size: 16px;
        }
      }
    }

    .overlay {
      @extend %overlay;
      opacity: 0;
      @extend %transition;
    }

    .btn-global {
      @extend %transition;
      padding: 5px 15px;
      margin: inherit;
      height: 35px;
      display: inline-flex;
      align-items: center;
      span {
        font-size: 13px;
      }
    }
  }

  .swiper-container{
    .head{
      .swiper-button-prev{
        left: initial;
        right: 50px;
      }
    }
  }
  .show_hover{
    position: absolute;
    opacity: 0;
    transition-timing-function:cubic-bezier(.4,0,.2,1);
    transition-duration: .3s;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    transition: ease-in-out;
  }

  section {
    label {
      position: absolute;
      overflow: hidden;
      z-index: 10;
      @extend %box-shadow;
      font-size: 12px;
      width: auto;
      height: 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 5px;
      margin-bottom: 0;
      border-radius: 5px;
      span,
      a {
        margin-bottom: 3px;
      }
    }

    .label-top-left {
      left: 7px;
      top: 10px;
    }

    .label-top-right {
      right: 7px;
      top: 10px;
    }
    .label-bottom-left {
      bottom: 10px;
      left: 7px;
    }

    section {
      padding: 2px 10px 10px;
      width: 100%;
      display: grid;

      .title {
        margin: 0;
        a {
          display: grid;
          align-items: initial;
          overflow: hidden;
          min-height: 55px;
          max-height: 55px;
          margin-bottom: 8px;
        }
        h2,
        h3 {
          line-height: 1.4;
          font-size: 18px;
          margin-bottom: 1px;
          font-weight: bolder;
          color:#747474;

          @extend %transition;

          @media (max-width: $maxSm) {
            font-size: 14px;
          }
        }
      }

      .price {
        display: flex;
        width: 100%;
        height: 38px;
        align-items: center;
        position: relative;
        margin: 0 0 4px;
        .m-price {
          font-size: 16px;
          font-weight: bold;
        }

        .discount {
          font-size: 14px;
          text-decoration: line-through;
          margin: 0 10px;

          @media (max-width: $maxXl) {
            display: block !important;
          }
        }
        .percent {
          position: absolute;
          overflow: hidden;
          z-index: 10;
          font-size: 13px;
          width: auto;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 0 7px;
          left: 0;
          height: 25px;
          border-radius: 12px;
          font-weight: bold;
          margin-bottom: 0;
        }
        @media (max-width: $maxSm) {
          display: inline-flex;
          .discount {
            margin: 0 5px;
          }
        }
      }

      button,
      a {
        height: 40px;
        width: 100%;
        display: inline-flex;
        align-items: center;
        border-radius: 8px;
        @extend %transition;
        margin: inherit;

        span {
          width: inherit;
          text-align: center;
          font-size: 13px;
          padding: 0 !important;
          height: 40px;
          font-weight: bold;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          @media (max-width: $maxLg) {
            font-size: 11px;
          }
        }
        svg {
          font-size: 16px;
          padding-right: 3px;
        }
        div {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 0 8px;
          height: 40px;
        }
      }
    }
  }

  .title{
    .ratings-container{
      display: flex;
      align-items: center;
      .product-ratings{
        &:before{
          content: "\f005 " "\f005 " "\f005 " "\f005 " "\f005";
          color: #d2d2d2;
          font-family: 'Font Awesome 5 Free';
        }
        .ratings{
          white-space: nowrap;
          display: inline-block;
          font-size: 1.3rem;
          letter-spacing: 0.1em;
          line-height: 1;
          opacity: 0;

          &:before{
            content: "\f005 " "\f005 " "\f005 " "\f005 " "\f005";
            color: #69696a;
            font-family: 'Font Awesome 5 Free';
          }
        }
      }
    }
  }

  .btn-global,
  a {
    text-decoration: none;
  }

  &:hover {
    h2,h3{
      color: #000 !important;
    }
    .hide_hover{
      opacity: 0;
    }
    .show_hover{
    opacity: 1;
         }

    @extend %box-shadow;
    .overlay {
      opacity: 1 !important;
    }
  }

  @media (min-width: $minSm) and (max-width: $maxMd) {
    .img-box {
      .btn-global {
        padding: 8px 25px;
      }
      .Wishes {
        top: inherit;
      }
    }

    section {
      section {
        .price {
          span {
            font-size: 18px;
          }

          .discount {
            font-size: 13px;
          }
        }

        button {
          span {
            padding: 0 6px;
            font-size: 11px;
          }

          div {
            padding: 0 6px;

            svg {
              font-size: 13px;
            }
          }
        }
      }
    }
  }
  @media (max-width: $maxSm) {
    .img-box {
      height: 170px;

      .btn-global {
        padding: 8px 25px;
      }
      .Wishes {
        top: inherit;
      }
    }

    section {
      section {
        .title {
          a {
            min-height: 43px;
            max-height: 43px;
            h2 {
              margin-bottom: 0 !important;
            }
          }
        }
        .price {
          display: grid;
          span {
            font-size: 16px;
          }

          .discount {
            font-size: 11px;
          }
        }

        button {
          width: 100%;
          float: none;
          justify-content: center;
          span {
            padding: 0 6px;
            font-size: 11px;
          }

          div {
            padding: 0 6px;

            svg {
              font-size: 13px;
            }
          }
        }
      }
    }
  }
}
.collections {

  .item{
    .img-box{
      button{
        position: absolute;
        bottom: 15px;
        left: 15px;
        background-color: #fff;
        color: #333;
        border: none;
        border-radius: 3px;
        display: flex;
        align-items: center;
        padding: 0 20px;
        z-index: 6;
      }
    }

  }

}
.swiper-container {
  width: 100%;
  .swiper-wrapper {
    .swiper-slide {
      display: flex;
      justify-content: center;
      align-items: center;
      .item {
        margin-bottom: 0;
        box-shadow: none;
      }
    }
  }
  .swiper-button-next,
  .swiper-button-prev {
    font-size: 16px;
    border-radius: 50%;
    z-index: 10;
    top: initial;
    color: #333;
    svg {
      font-size: 20px;
      font-weight: bold;
    }
    &::after {
      display: none;
    }
    @media (max-width: $maxSm) {
      svg {
        font-size: 18px;
      }
    }
  }
  .swiper-pagination {
    position: initial;
    margin: 10px 0;
  }
}



.ltr {
  .item {
    .img-box {
      .Wishes {
        left: 10px;
        right: initial;
      }
    }

    section {
      .label-top-left {
        left: initial;
        right: 7px;
      }

      .label-top-right {
        left: 7px;
        right: initial;
      }
      .label-bottom-left {
        left: initial;
        right: 7px;
      }

      section {
        .price {
          .m-price {
            small {
              margin-left: 3px;
            }
          }
          .percent {
            left: initial;
            right: 0;
          }
        }

        button,
        a {
          svg {
            padding-right: 0;
            padding-left: 3px;
          }
        }
      }
    }
  }
  .swiper-button-next,
  .swiper-button-prev {
    transform: rotate(180deg);
  }
}
