// 与 legacy shoppingCart Cart/index.less &-promotion-alert 保持一致
// 固定在滚动区下方（flex 子项），避免 absolute + 固定 padding 遮挡末行商品
.pisell-sale-detail-promotion-alert {
  flex: none;
  flex-shrink: 0;
  width: 100%;
  margin-top: 8px;
  z-index: 10;
  background: transparent;

  .pisell-lowcode-alert-error {
    display: flex;
    align-items: center;
    padding: 8px;
    background: #fef3f2;
    border: none;
    border-radius: 8px;
    color: #d92d20;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    gap: 4px;

    .pisell-lowcode-alert-action {
      button {
        height: 26px;
        padding: 4px 10px;
        color: #b42318;
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
        background: #fef3f2;
        border-radius: 20px;
        outline: 1px #d92d20 solid;
        border: none !important;

        &:hover {
          border: none !important;
        }
      }
    }
  }
}
