.th-compare-add-shortcode {
  display: flex;
  > div:not(.themehunk-sidebar) {
    padding-right: 30px;
    flex:1;
  }
  .add-product-wrap {
    display: flex;
    // border     : 1px solid #d2d2d2;
    grid-gap: 20px;
    padding: 28px;
    // align-items: center;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: column;
    > .bold-heading {
      width: 280px;
    }

    .add-by-enter-product {
      border: 1px solid #d2d2d2;
      padding: 10px;
      width: 65%;

      .added-product-id {
        display: flex;
        grid-gap: 10px;
        margin-bottom: 11px;
        flex-wrap: wrap;

        .added_id {
          color: #666666;
          padding: 3px 3px 3px 16px;
          position: relative;
          border-radius: 5px;
          background: #e4e4e4;
          letter-spacing: 1px;
          border: 1px solid #aaa;
        }

        .rm_ {
          position: absolute;
          left: 0;
          font-size: 12px;
          transform: translateY(-50%);
          top: 69%;
          cursor: pointer;
          color: #999;
          font-weight: 700;

          &:hover {
            color: #686868;
          }
        }
      }

      .wrap-input-product {
        position: relative;

        .input-placeholder {
          padding: 11px;
          background: #e5e5e5;
          border-radius: 4px 0px 0px 4px;
          position: absolute;
          left: 1px;

          span {
            // line-height: 1;

            &:before {
              content: "";
              font-family: "dashicons";
              font-size: 16px;
              display: block;
            }
          }
        }

        &.loading {
          .input-placeholder {
            span {
              &:before {
                content: "\f463";
                animation: loaderTMK 0.8s linear 0s infinite forwards;
              }
            }
          }
        }

        input {
          width: 100%;
          padding: 0 5px 5px 47px;
          border-color: #e4e4e7;
          margin: 0;
          height: 40px;
        }

        .product-result {
          visibility: hidden;
          position: absolute;
          border: 1px solid #d2d2d2;
          flex-direction: column;
          background-color: whitesmoke;
          border-radius: 0 0 4px 4px;
          transform: translateY(30px);
          opacity: 0;
          transition: 0.2s all linear;
          max-height: 300px;
          overflow: auto;
          width: 330px;
          // -----------------
          span[data-id] {
            padding: 8px 10px;
            border-bottom: 1px solid #d2d2d2;
            cursor: pointer;
            transition: 0.2s all ease;
            display: flex;
            align-items: center;
            grid-gap: 5px;
            font-size: 15px;

            &:before {
              content: "\f159";
              font-family: "dashicons";
            }

            &.checked {
              background: #d5e0e5;
              color: black;

              &:before {
                content: "\f147";
              }
            }

            &:hover {
              background: #07618f;
              color: white;
            }

            .img_ {
              height: 40px;
              width: 75px;
              position: relative;

              img {
                position: absolute;
                top: 0;
                height: 100%;
                width: 100%;
                object-fit: scale-down;
              }
            }
            // ------------------
          }

          span.th-no-product-found {
            padding: 10px;
            border-bottom: 1px solid #d2d2d2;
            min-width: 230px;
          }
        }

        &.active {
          .product-result {
            opacity: 1;
            visibility: visible;
            display: flex;
            transform: translateY(0);
          }
        }
      }
    }

    .add-product-shortcode-shortcode {
      margin: 25px 0 0;
      width: 75%;

      .th_product_compare_id {
        padding: 10px 26px;
        background-color: #f0f0f1;
        font-weight: 500;
        letter-spacing: 1px;
        border-radius: 3px;
        font-size: 15px;
        line-height: 1;
        color: #5a5a5a;
        text-align: center;
        word-break: break-word;
      }
    }
  }
}
.th_hide_footerwp {
  display: none;
}
