/* 预售 */
.ps-hero {
  margin: 24rpx 24rpx 0;
  background: linear-gradient(135deg, #4A7CF7, #7C9FFF);
  color: #fff; padding: 32rpx 24rpx 20rpx;
}
.ps-title { font-size: 38rpx; font-weight: 800; }
.ps-sub { font-size: 24rpx; opacity: 0.9; margin-top: 8rpx; }
.ps-tabs { display: flex; gap: 24rpx; margin-top: 24rpx; }
.ps-tab {
  padding: 8rpx 28rpx; border-radius: 30rpx; font-size: 26rpx;
  background: rgba(255,255,255,0.18); color: #fff;
}
.ps-tab.active { background: #fff; color: #4A7CF7; font-weight: 700; }
.ps-loading { text-align: center; color: var(--gray-4); font-size: 26rpx; padding: 80rpx 0; }
.ps-list { padding-bottom: 40rpx; }
.ps-item { display: flex; align-items: flex-start; padding: 16rpx; margin: 24rpx; }
.ps-image { width: 180rpx; height: 180rpx; border-radius: var(--radius); background: var(--gray-7); flex-shrink: 0; }
.ps-info { flex: 1; margin-left: 20rpx; }
.ps-name { font-size: 28rpx; }
.ps-price-row { display: flex; align-items: baseline; gap: 20rpx; margin-top: 10rpx; flex-wrap: wrap; }
.ps-deposit { font-size: 24rpx; color: var(--gray-4); }
.ps-deposit .ps-price { font-size: 34rpx; font-weight: 800; color: var(--danger); }
.ps-final { font-size: 24rpx; color: var(--gray-4); }
.ps-delivery { font-size: 22rpx; color: var(--gray-4); margin-top: 8rpx; }

/* 详情 */
.ps-detail { margin: 24rpx; padding: 24rpx; }
.ps-detail-img { width: 100%; height: 400rpx; border-radius: var(--radius); background: var(--gray-7); }
.ps-detail-name { font-size: 32rpx; font-weight: 700; margin: 20rpx 0; }
.ps-price-box { background: var(--gray-8); border-radius: var(--radius); padding: 8rpx 20rpx; }
.ps-row { display: flex; justify-content: space-between; padding: 16rpx 0; font-size: 26rpx; color: var(--gray-3); }
.ps-row-val { color: var(--text-color); font-weight: 600; }
.ps-row-val.danger { color: var(--danger); font-size: 30rpx; }
.ps-qty-row { display: flex; align-items: center; justify-content: space-between; margin: 24rpx 0; font-size: 26rpx; }
.ps-qty-input {
  width: 160rpx; height: 64rpx; border: 1rpx solid var(--gray-2);
  border-radius: var(--radius); text-align: center; font-size: 28rpx;
}
.ps-submit { margin-top: 16rpx; }
.ps-back { text-align: center; color: var(--primary); font-size: 26rpx; margin-top: 24rpx; padding: 8rpx; }

/* 订单 */
.order-item { flex-direction: column; }
.ps-order-head { display: flex; justify-content: space-between; width: 100%; padding-bottom: 12rpx; }
.ps-order-no { font-size: 22rpx; color: var(--gray-4); }
.ps-order-status { font-size: 24rpx; color: var(--warning); font-weight: 600; }
.ps-order-status.done { color: var(--success); }
.ps-order-status.muted { color: var(--gray-4); }
.ps-order-body { display: flex; align-items: flex-start; width: 100%; }
.ps-order-actions { width: 100%; text-align: right; padding-top: 12rpx; }
.btn-outline { background: #fff; color: var(--primary); border: 1rpx solid var(--primary); }
