/* pages/order-detail/order-detail.wxss */
.page-order-detail {
	background: #f4f4f4;
	min-height: 100vh;
	image { 
		width: 100%;
		height: 100%;
}
.order-detail {
	margin-bottom: 132rpx;
	.order-status {
		position: relative;
		padding: 30rpx 20rpx;
		background: #fff;
		.status-bg {
			position: absolute;
			left: 0;
			top: 0;
			width: 100%;
			height: 168rpx;
			font-size: 0;
		}
		.status-text {
			font-size: 36rpx;
			font-weight: 600;
			color: #fff;
			margin: 26rpx 30rpx 24rpx;
			position: relative;
		}
		.step {
			position: relative;
			display: flex;
			align-items: center;
			margin-top: 50rpx;
			.item {
				flex: 1;
				.select {
					width: 12rpx;
					height: 12rpx;
					border: 16rpx solid #fff;
					background: #999;
					margin: auto;
					border-radius: 50%;
					position: relative;
				}
				.des {
					font-size: 24rpx;
					margin-top: 10rpx;
					text-align: center;
				}
			}
			.item.active {
				.select {
					background: #e43130;
					width: 32rpx;
					height: 32rpx;
					border: 6rpx solid #fff;
					color: #fff;
					&::after {
						content: "";
						font: 0.625rem/1 uni;
						position: absolute;
						left: 20%;
						top: 20%;
						width: 55%;
						height: 30%;
						border: 0.125rem solid #FFFFFF;
						border-radius: 0.0625rem;
						border-top: none;
						border-right: none;
						background: transparent;
						transform: rotate(-45deg);
					}
				}
				.des {
					color: #e43130;
				}
			}
		}
	}
}
.prod-item {
	background: #fff;
	margin-top: 20rpx;
	font-size: 24rpx;
	padding: 0 30rpx;
	.shop-box {
		padding: 24rpx 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		.refund-sts {
			color: #e43130;
		}
	}
	.shop-icon {
		width: 24rpx;
		height: 24rpx;
		margin-right: 10rpx;
	}
	.shop-name {
		flex: 1;
		font-weight: 600;
	}
	.prod-box {
		padding: 30rpx 0;
		border-top: 2rpx solid #eee;
	}
	.item-cont {
		position: relative;
		display: flex;
		.prod-pic {
			font-size: 0;
			width: 180rpx;
			height: 180rpx;
		}
		.prod-info {
			flex: 1;
			margin-left: 20rpx;
			position: relative;
			.prodname {
				display: flex;
				align-items: flex-start;
				.a-icon {
					margin-right: 10rpx;
					font-size: 20rpx;
					color: #fff;
					background: #e43130;
					padding: 4rpx 10rpx;
					border-radius: 4rpx;
					line-height: 20rpx;
					margin-top: 4rpx;
				}
				.text {
					line-height: 36rpx;
					max-height: 72rpx;
					overflow: hidden;
					display: -webkit-box;
					-webkit-line-clamp: 2;
					-webkit-box-orient: vertical;
					text-overflow: ellipsis;
					word-break: break-all;
				}
			}
			.sku-name {
				margin-top: 10rpx;
				color: #999;
				overflow: hidden;
				display: -webkit-box;
				-webkit-line-clamp: 1;
				-webkit-box-orient: vertical;
				text-overflow: ellipsis;
				word-break: break-all;
			}
		}
	}
	.price-nums {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		display: flex;
		align-items: baseline;
		.prodprice {
			color: #e43130;
			margin-right: 10rpx;
		}
		.number {
			color: #999;
		}
	}
	.gift-prods {
		margin-left: 200rpx;
		margin-top: 30rpx;
		.gift-item {
			display: block;
			width: 100%;
			color: #333;
			&:not(:last-child) {
				margin-bottom: 12rpx;
			}
			.name {
				display: inline-block;
				vertical-align: middle;
				box-sizing: border-box;
				width: 90%;
				padding-right: 10rpx;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
			}
			.num {
				display: inline-block;
				vertical-align: middle;
				box-sizing: border-box;
			}
		}
	}
	.sku-name {
		.gift-icon {
			display: inline-block;
			margin-right: 10rpx;
			color: #fff;
			font-size: 24rpx;
			background: #e43130;
			padding: 6rpx;
			border-radius: 6rpx;
			line-height: 1em;
			box-sizing: border-box;
		}
	}
}
.order-msg {
	background: #fff;
	margin-top: 20rpx;
	font-size: 24rpx;
	padding: 0 30rpx;
	.msg-item {
		padding: 20rpx 0;
		border-top: 2rpx solid #eee;
		&:first-child {
			border: 0;
		}
		.item {
			position: relative;
			display: flex;
			padding: 10rpx 0;
			.item-tit {
				color: #999;
			}
			.item-txt {
				flex: 1;
			}
			.remarks-tit {
				width: 120rpx;
			}
			.remarks-txt {
				width: 400rpx;
				word-wrap: break-word;
				word-break: break-all;
				overflow: hidden;
				line-height: 38rpx;
			}
			.copy-btn {
				display: block;
				margin-left: 20rpx;
				border: 2rpx solid #bbb;
				padding: 6rpx 24rpx;
				border-radius: 50rpx;
				font-size: 24rpx;
			}
		}
		.item.all-msg {
			position: relative;
			.item-txt {
				word-break: break-word;
				display: grid;
				line-height: 1.5em;
			}
			.item-txt.pd {
				padding-right: 32rpx;
			}
			.more-msg {
				&::after {
					position: absolute;
					right: 8rpx;
					top: 45%;
					display: block;
					width: 14rpx;
					height: 14rpx;
					border: 2rpx solid #666;
					border-width: 2rpx 2rpx 0 0;
					content: " ";
					font-size: 0;
					transform: rotate(45deg) translateY(-50%);
				}
			}
		}
	}
}
.order-msg.payment {
	.msg-item {
		.item {
			.item-txt {
				text-align: right;
			}
		}
	}
}
.popup-hide {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background-color: rgba(0, 0, 0, 0.3);
	.con-tit {
		display: flex;
		justify-content: space-around;
		align-items: center;
		font-size: 28rpx;
		font-weight: bold;
		padding: 30rpx;
		.tit-text {
			flex: 1;
			text-align: center;
		}
	}
	.virtual-goods-msg-pop {
		height: auto;
		.con-tit {
			.tit-text {
				text-align: left;
			}
		}
		.msg-pop-con {
			.msg-list {
				padding: 20rpx 30rpx;
				margin-bottom: 140rpx;
			}
			.msg-item {
				display: flex;
				margin-bottom: 30rpx;
			}
			.item-con {
				font-size: 24rpx;
				word-wrap: break-word;
				word-break: break-word;
			}
			.item-con.weak {
				color: #999999;
				margin-right: 20rpx;
				width: 180rpx;
				min-width: 180rpx;
			}
			.pop-foot {
				position: absolute;
				bottom: 0;
				width: 100%;
				text-align: center;
				padding: 0 20rpx;
				margin-bottom: 30rpx;
				margin-top: 20rpx;
				box-sizing: border-box;
				background: #fff;
				.foot-btn {
					font-size: 26rpx;
					color: #fff;
					width: 100%;
					background: #E43130;
					border-radius: 140rpx;
					padding: 20rpx 0;
					box-sizing: border-box;
				}
			}
		}
	}
}
.popup-box {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 80%;
	overflow: hidden;
	background-color: #fff;
	border-radius: 10rpx 10rpx 0 0;
}
.close {
	color: #666;
	font-size: 32rpx;
	&::before {
		content: "\2715";
	}
}
.order-msg.voucher-code-con {
	.msg-item.voucher-code-list {
		max-height: 470rpx;
		overflow-y: auto;
		box-sizing: border-box;
		padding-right: 10rpx;
	}
	.msg-item {
		.item {
			display: flex;
			align-items: center;
			justify-content: space-between;
			width: 100%;
			padding: 0;
			&:not(:last-child) {
				margin-bottom: 16rpx;
			}
			.item-left {
				.txt.flex-item {
					display: flex;
					.lf {
						white-space: nowrap;
						line-height: 1.5em;
					}
					.rg {
						line-height: 1.5em;
					}
				}
			}
			.txt {
				&:not(:last-child) {
					margin-bottom: 10rpx;
				}
			}
			.txt.strong {
				font-weight: bold;
			}
			.txt.weak {
				color: #999;
			}
			.tips {
				color: #999;
			}
			.copy-btn2 {
				background: #F7F8FA;
				padding: 4rpx 20rpx;
				border-radius: 60rpx;
				font-size: 24rpx;
			}
		}
		.item.used {
			.tips {
				margin-right: 8rpx;
				height: 40rpx;
				line-height: 40rpx;
			}
			.code-row {
				.code {
					text-decoration: line-through;
					color: #999;
				}
			}
		}
	}
}
}