// preview
.elemento-simple-product-previewon,
.elemento-simple-product-preview-2on {
  .ea-simple-product-slider {
    .owl-stage-outer {
      margin: -15px 0px -100px;
      padding: 15px 0px 100px;
    }
    .elemento-product-outer-wrap {
      .elemento-addons-quickview-simple {
        opacity: 1;
      }
      .elemento-product-simple-inner-bottom {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        border-top: none !important;
        padding-top: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
      }
      .elemento-product-simple-inner-wrap {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-bottom-width: 0px !important;
      }
    }
  }
}
// preview

.ea-simple-product-slider {
  padding: 10px 0;
  .elemento-owl-slider-common-secript .owl-dots button.owl-dot {
    &:hover span,
    &.active span {
      background: #20c9ae;
    }
  }
  .owl-stage-outer {
    margin: -15px 0 -15px;
    padding: 15px 0 15px;
  }
  .owl-stage-outer.stage-hovered {
    margin: -15px 0px -100px;
    padding: 15px 0px 100px;
  }
  .item {
    padding: 0 12px;
  }
  .elemento-product-outer-wrap {
    position: relative;
    &.hovered {
      .elemento-addons-quickview-simple {
        opacity: 1;
      }
      .elemento-product-simple-inner-bottom {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        border-top: none !important;
        padding-top: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
      }
      .elemento-product-simple-inner-wrap {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-bottom-width: 0px !important;
      }
    }

    .elemento-product-simple-inner-wrap {
      display: flex;
      flex-direction: column;
      grid-gap: 5px;
      background: #ffffff;
      padding: 10px;
      border-radius: 4px;
      position: relative;
      transition: 0.3s all ease;
      box-shadow: 0 0 15px;
      color: #4b58ff40;
    }
    .elemento-product-simple-inner-bottom {
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      grid-gap: 5px;
      background: #ffffff;
      padding: 10px;
      position: absolute;
      transition: 0.4s opacity ease, 0.7s transform ease;
      transform: translateY(50px);
      width: 100%;
      opacity: 0;
      visibility: hidden;
      box-shadow: 0 0 15px;
      color: #4b58ff40;
      z-index: 100;
      &:before {
        position: absolute;
        content: "";
        display: block;
        height: 20px;
        background-color: #f9f9f9;
        width: 100%;
        top: -17px;
        /* box-shadow: 0px 0 1px 1px; */
        left: 0;
        /* color: transparent; */
      }
    }
    .elemento-addons-quickview-simple {
      position: absolute;
      top: 34%;
      left: 50%;
      transform: translateX(-50%);
      background: #20c9ae;
      color: white;
      text-decoration: none !important;
      border-radius: 4px;
      padding: 7px 7px;
      line-height: 1;
      font-size: 13px;
      font-weight: normal;
      letter-spacing: 0.5px;
      opacity: 0;
      transition: 0.3s all linear;
      width:fit-content;
      text-align: center;
    }
    .buttons_ {
      display: flex;
      justify-content: center;
      align-items: center;
      grid-gap: 5px;
      > button {
        padding: 0;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #5e191900;
        color: #555555;
        text-decoration: none;
        font-size: 13px;
        grid-gap: 5px;
        margin: 0;
        transition: 0.3s all linear;
        font-weight: 500;
        &:hover {
          color: black;
        }
        + button {
          border-left: 1px solid;
          padding-left: 5px !important;
          border-radius: 0;
        }
      }
      button.woosw-btn {
        font-size: 0;
        &:before {
          content: "";
          font-size: 14px;
          font-family: "FontAwesome";
          margin: 0;
        }
        &.woosw-added::before {
          content: "\f004";
        }
        &:after {
          content: "wishlist";
          font-size: 13px;
        }
      }
    }
    a.added_to_cart {
      display: none !important;
    }

    .elemento-add-to-cart-btn {
      display: flex;
      font-size: 12px;
      color: #20c9ae;
      background-color: transparent;
      line-height: 1;
      padding: 6px 18px;
      border-radius: 5px;
      // width: 95%;
      text-decoration: none;
      font-weight: 700;
      justify-content: center;
      align-items: center;
      &:hover {
        color: #20c9ae;
        background-color: #c4c4c4;
      }

      &.loading {
        opacity: 0.5;
        pointer-events: none;
      }

      span {
        font-size: inherit;
        width: fit-content;
        height: unset;
        display: inline;
        font-weight: 500;
      }

      .add-to-cart-text {
        font-family: inherit;
      }
    }
    .elemento-addons-sale {
      position: absolute;
      top: 0;
      right: 0;
      > span {
        background-color: black;
        color: white;
        display: block;
        /* align-items: center; */
        /* width: 40px; */
        /* height: 40px; */
        /* justify-content: center; */
        border-radius: 4px;
        font-size: 12px;
        padding: 1px 11px;
        font-weight: 500;
      }
    }

    .elemento-addons-product-title {
      color: #3b3b3b;
      font-size: 14px;
      line-height: 1;
      font-weight: 500;
      letter-spacing: 1px;
      text-decoration: none;
      text-align: center;
      z-index: 1000;
      position: relative;
    }
    .elemento-addons-price {
      font-weight: 600;
      line-height: 1;
      position: relative;
      z-index: 1000;
      text-align: center;
      del {
        margin-right: 0.5rem;
        color: #878787;
        font-weight: normal;
      }
      ins {
        color: #20c9ae;
      }
    }
    .elemento-addons-rating {
      .star-rating {
        float: unset;
        overflow: hidden;
        position: relative;
        height: 1em;
        line-height: 1;
        font-size: 1em;
        width: 5.4em;
        font-family: star;
      }
    }
  }
}
// slider -----------------------------------------
.elemento-owl-slider-common-secript {
  display: block;
  position: relative;

  .owl-nav {
    display: none !important;
  }

  .owl-dots {
    button.owl-dot {
      span {
        height: 10px;
        width: 10px;
        border-radius: 50%;
      }

      &:hover {
        span {
          background-color: #4dc7a0;
        }
      }

      &.active {
        span {
          background-color: #4dc7a0;
        }
      }
    }
  }

  .elemento-addons-owl-np-cln {
    background-color: #848181;
    color: #eaeaea;
    width: fit-content;
    cursor: pointer;
    position: absolute;
    z-index: 1000;
    transform: translateY(-50%);
    top: 50%;
    font-size: 18px;
    border-radius: 8px;
    padding: 7px;
    line-height: 1;
    transition: 0.3s all linear;

    &:hover {
      background-color: #757272;
      color: #ffffff;
    }

    &.elemento-addons-owl-prev {
      left: 10px;
    }

    &.elemento-addons-owl-next {
      right: 10px;
    }

    span {
      font-size: inherit;
      width: unset;
      height: unset;
    }
  }
}
// star rating ----------------------------------
.elemento-addons-rating {
  display: flex;
  position: relative;
  z-index: 1000;
  .star-rating {
    float: unset;
    // float: right;
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1em;
    width: 5.4em;
    font-family: star;

    &:before {
      content: "\73\73\73\73\73";
      color: #d3ced2;
      float: left;
      top: 0;
      left: 0;
      position: absolute;
    }

    span {
      overflow: hidden;
      float: left;
      top: 0;
      left: 0;
      position: absolute;
      padding-top: 1.5em;

      &:before {
        content: "\53\53\53\53\53";
        top: 0;
        position: absolute;
        left: 0;
      }
    }
  }
}

@import "./scss/post.scss";
@import "./scss/quickview.scss";
