.pisell-cart-sku-card-wrapper-container {
  &--inline {
    width: 100%;
    min-width: 0;
  }
}

.pisell-cart-sku-card-wrapper {
  border-radius: 8px;
  background: var(--Base-White, #fff);
  border: 1px solid var(--Gray-300, #d0d5dd);

  &--inline {
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
  }
}

.pisell-cart-sku-card__main-row {
  display: flex;
  align-items: stretch;
}

.pisell-cart-sku-card__main-content {
  min-width: 0;
  flex: 1;
}

.pisell-cart-sku-card {
  // 浏览器无法可靠换算屏幕物理尺寸：保留设计基准，并允许按送检设备校准。
  // 当前送检机 30px 实测约 3mm，因此默认系数为 4/3；设备侧可覆盖该系数。
  --pisell-cart-sku-card-weighing-font-base: 30px;
  --pisell-cart-sku-card-device-font-scale: 1.333333;
  --pisell-cart-sku-card-physical-text-height: calc(
    var(--pisell-cart-sku-card-weighing-font-base) *
      var(--pisell-cart-sku-card-device-font-scale)
  );

  padding: 4px 8px 4px 4px;
  border-radius: inherit;
  user-select: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;

  &-a5 {
    cursor: pointer;
  }

  &__delete-btn {
    cursor: pointer;
    position: absolute;
    padding: 10px;
    top: 0;
    right: 0;
    z-index: 1;

    > span {
      color: #667085;
      font-size: 20px;
    }
  }
}
