:root::-webkit-scrollbar {
	/* width: 0; */
}
.nav-container {
	position: fixed;
	top: -1px;
	left: 0;
	height: 10vw;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	background-color: #fff;
	box-shadow: 0px 2px 30px 10px #0000001e;
	z-index: 2;
	.nav-item {
		height: 100%;
		width: 85%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		overflow-x: auto;
		scrollbar-width: 0px;
		gap: 0;
		> div {
			font-size: 1.6rem;
			color: #777;
			padding: 0 1rem 0 1rem;
			font-weight: 600;
			height: 70%;
			width: fit-content;
			text-wrap: nowrap;
			display: flex;
			align-items: center;
			text-align: center;
		}
		> div:hover {
			color: #222;
		}
	}
	.collapse-icon {
		text-align: center;
		img {
			width: 30%;
			height: 30%;
			object-fit: cover;
		}
	}
}
details {
	width: 100%;
}
div:has(details) {
	margin: 10vw 0 23vw 0;
}
summary {
	font-size: 2rem; /* 默认字体 */
	padding-left: 2vw;
	display: flex;
	flex-direction: row;
	width: 100%;
	height: 25vw;
	border-bottom: 1px solid #ccc;

	/* box-shadow: 0px 10px 20px 2px #0000001e; */
	.left {
		width: 80%;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		.details-title {
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			align-items: center;
			width: 100%;
			/* 大标题 */
			h1 {
				font-size: 2.5rem;
				color: #112;
				font-weight: 500;
			}
			> div {
				display: flex;
				flex-direction: row;
				align-items: baseline;
			}
			.itemTotalPriceTxt {
				font-size: 2rem;
				white-space: nowrap;
			}
			.trade-price-symbol {
				color: orangered;
				font-size: 2rem;
				font-weight: 600;
				line-height: 1rem;
			}

			.trade-price-integer {
				color: orangered;
				font-size: 3rem;
				font-weight: 600;
				line-height: 3rem;
			}
		}
		/* 副标题 */
		.intro {
			display: block;
			font-size: 1.8rem;
			color: #667;
			/* -webkit-line-clamp: 2; */
			overflow: hidden;
			max-height: 3em;
			line-height: 1.5;
			text-overflow: ellipsis;
		}
	}
	.right {
		width: 20%;
		aspect-ratio: 1/1;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 5rem;
		img {
			width: 5rem;
			height: 5rem;
		}

		.close_details {
			transform: rotate(180deg);
		}
	}
}

/* summary::after {
	content: "\f107";
	font-family: "FontAwesome";

	height: 100%;
	aspect-ratio: 1/1;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 5rem;
} */
.item {
	margin: 1vw;
	padding: 2vw 2vw;
	display: flex;
	flex-direction: row;
	align-items: center;
	border-bottom: 1px solid #aaa;

	.ant-checkbox {
		padding: 2vw;
		input {
			width: 6vw;
			height: 6vw;
		}
	}
	.img-container {
		width: 25vw;
		height: 25vw;
		img {
			width: 100%;
			aspect-ratio: 1/1;
			object-fit: cover;
			border-radius: 2vw;
			border: 1px solid #ccc;
		}
	}

	.缺货 {
		&:after {
			content: "缺货";
			position: relative;
			top: -50%;
			left: 50%;
			transform: translate(-50%, -50%);
			font-size: 3rem;
			font-weight: 600;
			color: #666;
			float: inline-start;
			text-align: center;
			float: left;
			display: flex;
			align-items: center;
			justify-content: center;
		}
		img {
			opacity: 0.6;
		}
	}
	.info-container {
		height: 25vw;
		width: 65vw;
		display: flex;
		padding: 0 0 0 3vw;
		flex-direction: column;
		justify-content: space-between;
		align-items: flex-start;
		.info-title {
			color: #222;
			font-size: 1.6rem;
			font-weight: 900;
			margin-bottom: 0.2rem;
		}
		.info-subtitle {
			display: none;
			color: #888;
			font-size: 1.5rem;
			font-weight: 400;
		}

		.info-label {
			display: flex;
			flex-direction: row;
			justify-content: flex-start;
			align-items: center;
			gap: 0.5rem;
			margin-top: 0.2rem;
			p {
				display: inline-block;
				font-size: 1.2rem;
				line-height: 1.3rem;
				color: white;
				padding: 0.4rem 0.8rem;
				/* border: 1px solid red; */
				background-color: orangered;
				border-radius: 0.5rem;
				/* max-width:fit-content; */
				white-space: nowrap;
				width: fit-content !important;
				height: fit-content;
				text-align: center;
			}
			.difficult-level-1 {
				background-color: #2c9955;
			}
			.difficult-level-2 {
				background-color: dodgerblue;
			}
			.difficult-level-3 {
				background-color: purple;
			}
			.difficult-level-4 {
				background-color: goldenrod;
			}
			.difficult-level-5 {
				background-color: deeppink;
			}
		}

		.info-price-container {
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			align-items: center;
			width: 100%;
			.price {
				.trade-price-symbol {
					color: orangered;
					font-size: 2rem;
					font-weight: 600;
					line-height: 1rem;
				}

				.trade-price-integer {
					color: orangered;
					font-size: 2.3rem;
					font-weight: 600;
					line-height: 3rem;
				}
			}

			.count {
				--height: 4rem;
				display: flex;
				flex-direction: row;
				justify-content: center;
				gap: 0;
				margin-right: 5vw;
				button {
					font-size: 5rem;

					font-weight: 100;
					width: 5rem;
					height: var(--height);
					line-height: 0;
					border: 2px solid #ccc;
					background-color: white;
					/* cursor:pointer; */
					-webkit-tap-highlight-color: transparent;
					svg {
						/* pointer-events: none; */
						width: 3rem;
						path {
							fill: #333;
						}
					}
				}
				button:hover {
					background-color: #aaa;
				}

				button:nth-child(1) {
					border-radius: 1.5rem 0 0 1.5rem;
					/* border-right: none; */
				}
				button:nth-child(3) {
					border-radius: 0 1.5rem 1.5rem 0;
					/* border-left: none; */
				}
				.ant-input {
					font-size: 2rem;
					font-weight: 400;
					text-align: center;
					width: 5rem;
					height: var(--height);
					border-style: solid;
					border-color: #ccc;
					border-width: 2px 0 2px 0;
				}
			}
		}
	}
}
.footer-container {
	position: fixed;
	width: 100%;
	height: 15vw;
	background-color: white;
	bottom: 0;
	left: 0;
	box-shadow: 0px -7px 20px 20px rgba(0, 0, 0, 0.122);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	.left {
		margin-left: 3rem;
		.itemTotalPriceTxt {
			font-size: 2rem;
		}
		.trade-price-symbol {
			color: orangered;
			font-size: 2rem;
			font-weight: 600;
			line-height: 1rem;
		}

		.trade-price-integer {
			color: orangered;
			font-size: 3rem;
			font-weight: 600;
			line-height: 3rem;
		}
	}
	.right {
		width: 50%;
		height: 60%;
		margin-right: 2rem;
		background-color: orangered;
		border-radius: 1.6rem;
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
		align-items: center;

		> div {
			width: 33%;
			height: 80%;
			/* background-color: #aaa; */
			border-left: 2px solid #fff;
			color: #fff;
			display: flex;
			align-items: center;
			text-align: center;
			justify-content: center;
			font-size: 2rem;
		}
		> div:first-child {
			border-left: 0px solid #fff;
		}
		/* > div:hover{
			color:red;
		} */
	}
}
#popup {
	position: fixed;
	left: 50%;
	top: 50%;
	height: 100%;
	width: 100%;
	background-color: #000000b7;
	transform: translate(-50%, -50%);
	border: 1px solid #ddd;
	/* border-radius: 3vw; */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20vh;
	opacity: 1;
	z-index: 3;
	img {
		/* transform: rotate(90deg); */
		height: 60vw;
		width: 90vw;
		object-fit: cover;
		border-radius: 3rem;
	}
}
#popup_img_scale {
	position: fixed;
	left: 50%;
	top: 50%;
	height: 100%;
	width: 100%;
	background-color: #000000b7;
	transform: translate(-50%, -50%);
	border: 1px solid #ddd;
	/* border-radius: 3vw; */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 3;
	img {
		/* transform: rotate(90deg); */
		height: 99vw;
		width: 99vw;
		object-fit: cover;
	}
}
/* 水印 */
.item:before {
	content: "闲鱼:极客极速装";
	position: absolute;
	/* height:fit-content; */
	font-size: 50px;
	right: 10%;
	transform: rotate(-10deg);
	/* top:50%; */
	/* transform:translate(50%,-50%);  */
	opacity: 0.15;
}
#clear_checkbox_dialog {
	width: 60vw;
	height: 20rem;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 3rem;
	border-width: 0;
	p {
		display: block;
		font-size: 2rem;
		width: 100%;
		margin-top: 3rem;
		text-align: center;
	}
	> div {
		margin-top: 5rem;
		display: flex;
		flex-direction: row;
		justify-content: center;
		gap: 10%;
	}
	button {
		padding: 2rem;
		font-size: 2rem;
		white-space: nowrap;
		border-radius: 1rem;
		border-width: 0;
	}
}
#clear_checkbox_dialog::backdrop {
	background-color: #000000aa;
}
