/* swiper fp - 3d Cube & grid */
#featured-products, #featured-posts {
  position: relative;
  padding: 15px;
  padding-right: 10px;
}
/* 3d Cube */
.fp-container,.fposts-container {
  width: auto;
  height: auto;
  .swiper-slide {
    .product-details {
      background: fade(@accent, 95%);
      text-align: center;
      position: absolute;
      bottom: 6px;;
      left: 6px;
      right: 6px;
      padding: 7px;
      color: @onaccent;
      font-size: 15px;
      ins {
        background: none;
      }
      h3 {
        margin: 0;
        font-size: 17px;
        font-weight: bold;
        @media screen and (max-width: 991px) {
          font-size: 14px;
        }

      }
    }
  }
}
.swiper-wrapper {
  margin-bottom: 25px;
}

/* Featured Products Grid */
.featured-grid-container {
  .fg-wrapper {
    .fg-item-container {
      padding: 0 5px 8px 5px;
    }
    .fg-item {
      position: relative;
      img {
        .transform(scale(1));
        .transition(0.4s all ease);
      }
      overflow: hidden;
      &:hover {
        .product-details {
          opacity: 1;
          .transform(scale(1));
        }
        img {
          .transform(scale(1.2));
          .transition(3s all ease);
        }
      }
    }
    .product-details {
      position: absolute;
      padding: 15px;
      @media screen and (max-width: 991px)  {
        padding: 5px;
      }
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: fade(@accent, 50%);
      color: @onaccent;
      text-align: center;
      opacity: 0;
      .transform(scale(0.8));
      .transition(0.5s all ease);
      h3 { font-size: 14px; }
      ins {
        background: none;
      }
    }
  }
}
