@prefix: pisell-cart-sku-card__gift;

.@{prefix} {
  padding: 8px;
  background: #F2F4F7;
  border-radius: 8px;
  align-items: center;
  gap: 16px;
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: #475467;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  min-width: 0; // 确保内容可以正确缩小
  justify-content: space-between;
  cursor: pointer;

  // 标签
  &__label {
    flex-shrink: 0;
  }

  &__content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
  }

  &__text {
    color: #7F56D9;
    font-weight: 600;
  }

  &__title {
    color: #101828;
  }

  &__images {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  &__images-single {
    gap: 2px;
  }

  &__arrow {
    color: #667085;
    font-size: 20px;
  }

  &__total {
    white-space: nowrap;
  }

  .product-cover {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
  }

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