.elementor-add-to-cart {
  p.stock {
    display: none !important;
  }
  form {
    display: flex;
    width: 100%;
    gap: 20px;
    transition: padding 0.3s ease-in-out;
    align-items: center;
    @media (max-width: 1080px) {
      gap: 12px;
    }
    .quantity {
      display: flex;
      flex-wrap: nowrap;
      height: 56px;
      padding: 8px;
      border: 1px solid #000;
      border-radius: 50px;
      background: #fff;
      justify-content: center;
      align-items: center;
      @media (max-width: 1080px) {
        height: 44px;
      }
      button {
        width: 44px;
        min-width: 44px;
        height: 44px;
        margin: 0 !important;
        padding: 0;
        background: var(--e-global-color-e0f035c);
        border: none;
        position: relative;
        overflow: hidden;
        @media (max-width: 1080px) {
          width: 34px;
          min-width: 34px;
          height: 34px;
        }
        &:after {
          content: "";
          display: flex;
          width: 100%;
          height: 100%;
          position: absolute;
          left: 0;
          top: 0;
        }
        &.plus:after {
          background-image: url(/wp-content/themes/FormSlim-Theme/assets/media/icons/product/plus.svg);
          background-position: center;
          background-repeat: no-repeat;
          background-size: 20px;
          @media (max-width: 1080px) {
            background-size: 16px;
          }
        }
        &.minus:after {
          background-image: url(/wp-content/themes/FormSlim-Theme/assets/media/icons/product/minus.svg);
          background-position: center;
          background-repeat: no-repeat;
          background-size: 20px;
          @media (max-width: 1080px) {
            background-size: 16px;
          }
        }
      }
      input.qty {
        width: 50px;
        min-width: 50px;
        text-align: center;
        -moz-appearance: textfield;
        margin: 0;
        padding: 0;
        height: 100% !important;
        background: none;
        border: none !important;
        outline: none;
        font-size: 32px;
        font-weight: 700;
        font-family: var(--e-global-typography-primary-font-family), sans-serif;
        color: var(--e-global-color-d63cfd3);
        @media (max-width: 1080px) {
          font-size: 20px;
          min-width: 34px;
          width: 34px;
        }
        &::-webkit-outer-spin-button,
        &::-webkit-inner-spin-button {
          -webkit-appearance: none;
          margin: 0;
        }
      }
      & + button {
        width: 100%;
        margin: 0 !important;
      }
    }
  }
}

/*Beschwerden */

.formslim-issues {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  * {
    font-family: "FS Joey", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    color: var(--e-global-color-d63cfd3);
  }
  span {
    display: flex;
    align-items: center;
    gap: 8px;
    img {
      width: auto;
      max-height: 16px;
    }
  }
}

/*Message Added to Cart */

.woocommerce-notices-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  @media (max-width: 1080px) {
    padding: 40px;
  }
  @media (max-width: 760px) {
    padding: 25px 20px;
  }
  .woocommerce-message {
    width: 1140px;
    padding: 48px;
    background: #fff;
    border-radius: 32px;
    @media (max-width: 1080px) {
      width: 100%;
      padding: 32px;
    }
    @media (max-width: 760px) {
      padding: 20px 20px;
    }
  }
  &:empty {
    display: none !important;
  }
}
/*Product simple */

/*Product variable */
.woocommerce-variation-add-to-cart {
  gap: 12px;
}
.variations_form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px !important;
  @media (max-width: 1024px) {
    flex-direction: column;
    padding-top: 10px;
  }
  .variations {
    border-collapse: collapse;
    border: none;
    margin: 0;
    tbody {
      position: relative;
      z-index: 1;
      width: 100%;
      display: flex;
      gap: 8px;
      tr {
        width: calc(50% - 4px);
        display: flex;
        flex-direction: column;
        gap: 5px;
        td {
          position: relative;
          &:after {
            content: "";
            position: absolute;
            right: 12px;
            z-index: -1;
            width: 16px;
            height: 16px;
            background: url(/wp-content/themes/FormSlim-Theme/assets/media/icons/arrow-down.svg);
            background-repeat: no-repeat;
            background-position: center;
            background-size: 12px;
            top: 50%;
            transform: translateY(-50%);
          }
        }
        th,
        td {
          display: flex;
          border: none;
          background: none;
          padding: 0;
          position: relative;
          height: fit-content;
          label {
            display: none !important;
            text-align: center;
          }
          select {
            border: none;
            border-radius: 20px;
            border: 1px solid var(--e-global-color-d60f361);
            color: var(--e-global-color-d63cfd3);
            font-family:
              var(--e-global-typography-primary-font-family), Sans-Serif;
            font-weight: 500;
            font-size: 14px;
            line-height: 1.28;
            padding: 8px 12px;

            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            position: relative;
            z-index: 0;
            background: none !important;
          }
          .reset_variations {
            position: absolute;
            bottom: -30px;
            right: 0;
            color: var(--e-global-color-d63cfd3);
            @media (max-width: 1024px) {
              bottom: auto;
              top: -30px;
            }
          }
        }
      }
    }
  }
  .single_variation_wrap {
    display: flex;
    flex-wrap: wrap;
    height: fit-content;
    width: fit-content;
    @media (max-width: 1024px) {
      width: 100%;
    }
    .woocommerce-variation-add-to-cart {
      width: fit-content;
      @media (max-width: 1024px) {
        width: 100%;
      }
      button {
        width: fit-content;
        @media (max-width: 1024px) {
          width: 100%;
        }
      }
    }
  }
  .woocommerce-variation-price {
    position: absolute;
    left: 0;
    top: 0;
    .price bdi {
      font-size: 36px;
      font-weight: 700;
      font-family: var(--e-global-typography-primary-font-family);
      color: var(--e-global-color-d63cfd3);
      @media (max-width: 1024px) {
        font-size: 32px;
      }
    }
    .delivery-time-nicht-angegeben {
      display: none !important;
    }
  }
  &:not([current-image=""]) {
    padding-top: 60px;
  }
  button[type="submit"] {
    background: var(--e-global-color-464f652) !important;
    border-color: var(--e-global-color-464f652);
  }
}
