/** 失效类型（与后端 CartConstants 一致） */
export const CART_INVALID_NONE = 'NONE'
export const CART_INVALID_OUT_OF_STOCK = 'OUT_OF_STOCK'
export const CART_INVALID_OFF_SHELF = 'OFF_SHELF'
export const CART_INVALID_SHOP_CLOSED = 'SHOP_CLOSED'
export const CART_INVALID_CATEGORY_HIDDEN = 'CATEGORY_HIDDEN'
export const CART_INVALID_GOODS_DELETED = 'GOODS_DELETED'
export const CART_INVALID_SHOP_DELETED = 'SHOP_DELETED'

/** 空购物车文案 */
export const CART_EMPTY_TEXT = '购物车是空的'

/** 跨店结算提示 */
export const CART_MSG_CROSS_SHOP = '请选择同一店铺的商品结算'

/** 确认订单预填数据缓存键（待确认订单页读取） */
export const CART_CHECKOUT_STORAGE_KEY = 'cart_checkout_prepare'

/**
 * 加购时多条规格拼接、购物车展示拆分的专用分隔符
 * 选用 §，正常规格文案里几乎不会出现
 */
export const CART_SPEC_SEPARATOR = '§'
