// elemento quick view---------------------------++++++++++++++++++
.elemento_quick_view_model {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #4e4848d4;
  z-index: 1000;

  a {
    text-decoration: none;
  }

  .elemento-quick-view-slides {
    text-align: center;

    img {
      max-height: 400px;
    }
  }

  .elemento-quickview-wrapper_rev {
    animation: quickView 0.5s;
    animation-direction: reverse;
  }

  .elemento-quickview-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    animation: quickView 0.5s;

    // transform: translateY(-19px);
    // opacity: 0;
    // transition: 0.4s transform linear, 0.4s opacity linear;
    // &.active {
    //   transform: translateY(0);
    //   opacity: 1;
    // }
    > div {
      width: 975px;
      max-width: 90%;
      background: white;
      position: relative;
      display: flex;
      align-items: center;

      .elemento-addons-sale {
        position: absolute;
        left: 2px;
        top: 2px;
        background: #fad249;
        color: white;
        font-weight: bold;
        z-index: 1000;
        height: 54px;
        width: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
      }

      .elemento-quickview-close {
        position: absolute;
        top: 6px;
        right: 10px;
        display: block;
        cursor: pointer;
        background: #dc5e5e;
        color: white;
        font-weight: bold;
        line-height: 33px;
        width: 33px;
        text-align: center;
        border-radius: 50%;

        i {
          margin: 7px 0px 0px 1px;
        }
      }

      .left_content_ {
        min-width: 490px;
        max-width: 490px;
        padding-right: 20px;
        box-sizing: border-box;
        flex: 1;

        .elemento-owl-slider-common-secript {
          .elemento-addons-owl-np-cln {
            background-color: #efefef00;
          }
        }
      }

      .right_content_ {
        flex: 1;
        display: flex;
        flex-direction: column;
        grid-gap: 10px;
        padding: 10px 24px;

        > span {
          display: block;
          line-height: 1.2;
          font-size: 15px;
          letter-spacing: 1px;
          word-spacing: 2px;
        }

        .title_ {
          font-size: 21px;
          color: #1c1d1e;
          letter-spacing: 0.5px;
          border-bottom: 2px solid #f0f0f0;
          width: 100%;
          padding: 0px 0px 13px;
          font-weight: bold;
        }

        .price_ {
          font-weight: bold;
        }

        .elemento-addons-rating {
          color: #f5a225;
        }

        .description_ {
          font-size: 14px;
          color: #2d2c2c;
          line-height: 1.5;
          max-height: 165px;
          overflow: auto;

          .woocommerce-product-details__short-description {
            border: none;
          }
        }

        .category_ {
          text-align: center;
          border: 1px solid #d2cfcf;
          border-radius: 4px;
          color: #3e3d3d;
          padding: 0.5rem 0.5rem;

          a {
            color: inherit;
          }
        }

        .quickview-add-to-cart {
          display: flex;
          align-items: center;
          grid-gap: 10px;

          .plus-minus {
            display: flex;
            border: 1px solid #ababab;
            border-right: none;

            span {
              border-right: 1px solid #ababab;
              line-height: 1;
              margin: 0;
              padding: 8px 14px;
              display: block;
              font-size: 22px;
              cursor: pointer;
            }
          }

          a {
            color: white;
            background-color: #fad249;
            padding: 8px 10px;
            font-weight: 700;

            &:hover {
              background-color: #c59d11;
            }

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

            &.added {
              font-family: "dashicons";
              font-weight: 900;
              display: flex;
              align-items: center;
              justify-content: center;

              &:before {
                content: "";
                font-size: 17px;
                margin-right: 7px;
                margin-top: 5px;
              }
            }
          }

          .added_to_cart {
            display: none;
          }
        }
      }
    }
  }
}
