.page {
  min-height: 100vh;
  background: #f6f7fb;
  padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.empty {
  margin: 80rpx 40rpx 0;
  background: #fff;
  border-radius: 16rpx;
  padding: 60rpx 32rpx;
  text-align: center;
}

.empty-title {
  display: block;
  font-size: 32rpx;
  font-weight: 700;
  color: #333;
}

.empty-desc {
  display: block;
  margin-top: 20rpx;
  font-size: 26rpx;
  color: #8a8f98;
  line-height: 1.5;
}

.empty-btn {
  margin-top: 40rpx;
  height: 72rpx;
  line-height: 72rpx;
  border-radius: 36rpx;
  background: #69c3aa;
  color: #fff;
  font-size: 28rpx;
}

.empty-btn::after {
  border: none;
}

.list-wrap {
  height: calc(100vh - 320rpx - env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.list {
  margin: 24rpx;
  margin-bottom: 0;
  padding-bottom: 24rpx;
  background: #fff;
  border-radius: 14rpx;
  overflow: hidden;
}

.item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 24rpx 20rpx;
  border-bottom: 1rpx solid #f0f1f3;
  box-sizing: border-box;
}

.item:last-child {
  border-bottom: none;
}

.item-left {
  flex-shrink: 0;
  width: 100rpx;
}

.pill {
  width: 78rpx;
  height: 78rpx;
  border-radius: 18rpx;
  background: #e8f7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #69c3aa;
  font-weight: 700;
}

.item-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.item-text-block {
  flex: 1;
  min-width: 0;
  padding-right: 20rpx;
}

.item-name {
  font-size: 28rpx;
  color: #333;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.item-meta {
  margin-top: 12rpx;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.item-sub {
  font-size: 22rpx;
  color: #8a8f98;
}

.item-fee {
  margin-top: 6rpx;
  font-size: 24rpx;
  color: #ff6b6b;
  font-weight: 600;
}

.item-stepper {
  flex-shrink: 0;
  width: 204rpx;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding: 8rpx 10rpx;
  background: #f7f8fa;
  border-radius: 12rpx;
  box-sizing: border-box;
}

.qty-btn {
  flex-shrink: 0;
  width: 56rpx;
  height: 56rpx;
  padding: 0;
  margin: 0;
  line-height: normal;
  border-radius: 12rpx;
  background: #fff;
  color: #69c3aa;
  font-size: 32rpx;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1rpx 4rpx rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.qty-btn::after {
  border: none;
}

.qty-btn-hover {
  opacity: 0.85;
}

.qty-num {
  flex-shrink: 0;
  min-width: 64rpx;
  max-width: 88rpx;
  text-align: center;
  font-size: 28rpx;
  font-weight: 600;
  color: #333;
}

.total-bar {
  position: fixed;
  left: 24rpx;
  right: 24rpx;
  bottom: calc(110rpx + env(safe-area-inset-bottom));
  z-index: 50;
  background: #fff;
  border-radius: 14rpx;
  padding: 22rpx 18rpx 26rpx;
  box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.total-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 8rpx 0 18rpx;
}

.total-label {
  font-size: 26rpx;
  color: #333;
  font-weight: 700;
}

.total-fee {
  font-size: 30rpx;
  color: #ff6b6b;
  font-weight: 800;
}

.pay-btn {
  height: 72rpx;
  line-height: 72rpx;
  border-radius: 36rpx;
  background: #69c3aa;
  color: #fff;
  font-size: 28rpx;
}

.pay-btn[disabled] {
  background: #69c3aa;
  color: #fff;
}

.pay-btn::after {
  border: none;
}

.hint {
  margin-top: 16rpx;
  font-size: 20rpx;
  color: #8a8f98;
  line-height: 1.4;
}
