.pisell-cart-sku-card {
  &__basic-info {
    display: flex;
    gap: 4px;
    position: relative;
    min-height: 48px;

    .num-tag {
      background-color: #7f56da;
      position: absolute;
      left: 0;
      top: 0;
      border-radius: 12px;
      min-width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;

      color: var(--Base-White, #fff);
      font-size: 16px;
      font-style: normal;
      font-weight: 600;
      line-height: 16px;

      &.is-main {
        left: -4px;
        top: -4px;
      }
    }

    img {
      width: 48px;
      height: 48px;
      flex-shrink: 0;
      border-radius: 6px;
    }

    .product-cover-text {
      width: 48px;
      height: 48px;
      flex-shrink: 0;
      border-radius: 8px;
      background-color: #DEDEDE;
      color: #7E7E7E;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      font-weight: 500;
      line-height: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mask {
      position: relative;

      &::before {
        content: 'Gift';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%);
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }

    .product-info {
      flex: 1;
      display: flex;
      align-items: center;
      flex: 1 0 0;
      flex-wrap: wrap;
      overflow: hidden;

      .product-basic-info-wrap {
        flex: 1;
        display: flex;
        align-items: center;
        flex: 1 0 0;
        flex-wrap: wrap;
        overflow: hidden;
      }

      .product-basic-info {
        display: flex;
        flex-direction: column;

        &.row {
          flex: 1;
          flex-direction: row;
          align-items: center;
          justify-content: space-between;

          .product-price {
            width: max-content;
          }
        }
      }

      .product-name {
        color: var(--Gray-900, #101828);
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-right: 20px;
      }

      .product-price {
        color: var(--Gray-900, #101828);
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 4px;

        >span {
          white-space: nowrap;
        }

        .original-price {
          color: var(--ps-color-text-secondary, #4e4e4e);
          text-decoration-line: line-through;
          font-weight: 400;
        }
      }

      .pisell-lowcode-product-edit-button{
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1;
      }
    }

    &--weighing {
      .product-info .product-name {
        font-size: 18px;
        line-height: 1.3;
        letter-spacing: -0.01em;
      }
    }

    .product-info-a9, .product-info-a5 {
      display: flex;
      justify-content: space-between;
      align-items: start;
      .product-basic-info-wrap, .product-basic-info {
        width: 100%;
      }

      .product-name-edit{
        padding-right: 90px;
      }
    }

    .product-amount {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-wrap: wrap;
      flex-shrink: 0;

      .total-amont {
        color: var(--Base-Black, #000);
        text-align: center;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
        width: 100%;
      }

      .origin-amount {
        color: var(--Gray-500, #667085);
        text-align: center;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
        text-decoration-line: line-through;
        width: 100%;
      }
    }
  }
}