/* 订单提交页专用样式 - 基于tcb-shop-demo设计规范 */

.order-sure {
  box-sizing: border-box;
  background: #f6f6f6;
  padding: 24rpx 0 0;
  min-height: 100vh;
}

/* 底部提交栏 */
.wx-pay-cover {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  height: 112rpx;
  padding-bottom: env(safe-area-inset-bottom);
}

.wx-pay-cover .wx-pay {
  width: 100%;
  height: 100rpx;
  box-sizing: border-box;
  padding: 0rpx 32rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wx-pay-cover .wx-pay .price {
  color: #fa4126;
  font-weight: bold;
  font-size: 63rpx;
  line-height: 88rpx;
}

.wx-pay-cover .wx-pay .submit-btn {
  height: 80rpx;
  width: 240rpx;
  border-radius: 40rpx;
  background-color: #fa4126;
  color: #ffffff;
  line-height: 80rpx;
  font-weight: bold;
  font-size: 28rpx;
  text-align: center;
}

.wx-pay-cover .wx-pay .btn-gray {
  background: #cccccc;
}

/* 商品列表区域 */
.order-wrapper .goods-wrapper {
  width: 100%;
  box-sizing: border-box;
  padding: 16rpx 32rpx;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 24rpx;
  line-height: 32rpx;
  color: #999999;
  background-color: #ffffff;
}

.goods-wrapper .goods-image {
  width: 176rpx;
  height: 176rpx;
  border-radius: 8rpx;
  overflow: hidden;
  margin-right: 16rpx;
}

.goods-wrapper .goods-content {
  flex: 1;
}

.goods-wrapper .goods-content .goods-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 28rpx;
  line-height: 40rpx;
  margin-bottom: 12rpx;
  color: #333333;
  margin-right: 16rpx;
}

.goods-wrapper .goods-right {
  min-width: 128rpx;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.goods-right .goods-price {
  color: #333333;
  font-size: 32rpx;
  line-height: 48rpx;
  font-weight: bold;
  margin-bottom: 16rpx;
}

.goods-right .goods-num {
  text-align: right;
}

/* 支付详情区域 */
.pay-detail {
  background-color: #ffffff;
  padding: 16rpx 32rpx;
  width: 100%;
  box-sizing: border-box;
}

.pay-detail .pay-item {
  width: 100%;
  height: 72rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 26rpx;
  line-height: 36rpx;
  color: #666666;
}

.pay-detail .pay-item .pay-item__right {
  color: #333333;
  font-size: 24rpx;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 400rpx;
}

.pay-detail .pay-item .font-bold {
  font-weight: bold;
}

.pay-detail .pay-item .primary {
  color: #fa4126;
}

/* 金额区域 */
.amount-wrapper {
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  padding: 0rpx 32rpx;
  height: 96rpx;
}

.pay-amount {
  width: 100%;
  height: 96rpx;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 28rpx;
  color: #333333;
  position: relative;
}

.pay-amount::after {
  position: absolute;
  content: ' ';
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: 0 0;
  border-top: 2rpx solid #f5f5f5;
}

.pay-amount .order-num {
  color: #999999;
  padding-right: 8rpx;
}

.pay-amount .total-price {
  font-size: 36rpx;
  color: #fa4126;
  font-weight: bold;
  padding-left: 8rpx;
}

/* 地址卡片 */
.address-card {
  background: #fff;
  margin: 0rpx 0rpx 24rpx;
}

.address-card .order-address {
  display: flex;
  width: 100%;
  padding: 32rpx;
  align-items: flex-start;
}

.address-card .order-address .address-content {
  flex: 1;
  margin-right: 16rpx;
}

.order-address .address__right {
  align-self: center;
  color: #BBBBBB;
}

.address-card .order-address .detail {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 36rpx;
  font-weight: bold;
  color: #333333;
  line-height: 48rpx;
  margin-bottom: 16rpx;
}

.address-card .order-address .info {
  height: 40rpx;
  font-size: 28rpx;
  font-weight: normal;
  color: #333333;
  line-height: 40rpx;
  display: flex;
  align-items: center;
}

.address-card .order-address .info .address-tag {
  width: 52rpx;
  height: 29rpx;
  border: 1rpx solid #0091ff;
  background-color: rgba(122, 167, 251, 0.1);
  text-align: center;
  line-height: 29rpx;
  border-radius: 8rpx;
  color: #0091ff;
  font-size: 20rpx;
  margin-right: 12rpx;
}

.address-card .top-line {
  width: 100%;
  height: 6rpx;
  background-color: #fff;
  background-image: url(https://cdn-we-retail.ym.tencent.com/miniapp/order/stripe.png);
  background-repeat: repeat-x;
  display: block;
}

/* 备注区域样式 */
.remark-section {
  background-color: #ffffff;
  padding: 32rpx;
  margin-top: 24rpx;
  height: 540rpx;
}

.remark-section .remark-header {
  display: flex;
  align-items: center;
  margin-bottom: 24rpx;
}

.remark-section .remark-title {
  font-size: 32rpx;
  font-weight: bold;
  color: #333333;
  margin-right: 16rpx;
}

.remark-section .remark-tip {
  font-size: 24rpx;
  color: #999999;
}

.remark-section .remark-textarea {
  width: 100%;
  min-height: 360rpx;
  height: 320rpx;
  padding: 24rpx;
  background-color: #f8f8f8;
  border-radius: 16rpx;
  font-size: 28rpx;
  line-height: 40rpx;
  color: #333333;
  box-sizing: border-box;
}

.remark-section .remark-counter {
  display: flex;
  justify-content: flex-end;
  margin-top: 16rpx;
  height: 400rpx;
}

.remark-section .remark-count {
  font-size: 24rpx;
  color: #999999;
}