@charset "utf-8";

* {
	box-sizing: border-box;
}

body {
	margin: 0;
}

.greyBg {
	background-color: #fafafa;
	flex: 1;
}

.container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 16px 16px 64px;
}

/* breadcrumb */
.breadcrumb ul{
	margin: 6 0 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	color: #666;
}

.breadcrumb li {
	display: inline;
}

.breadcrumb li:after {
	content: '>';
	padding: 0 0.2em;
	font-size: 0.7rem;
}

.breadcrumb li:last-child:after {
	content: '';
}

.breadcrumb a {
	text-decoration: none;
	color: inherit;
}

/* cartView */
.cartView {
	background-color: #fff;
	box-shadow: 0 0 2px rgb(0 0 0 / 0.2);
	border-radius: 10px;
	padding-top: 12px;
	padding-bottom: 64px;
}

.productCart {
	display: flex;
	justify-content: space-between;
	border-bottom: 2px solid #e5e7eb;
	max-width: 90%;
	margin: 0 auto;
}

.productCart:nth-child(n+2) {
	margin-top: 12px;
}

.meta {
	display: flex;
	margin: 0 24px 12px 60px;
	flex: 1;
}

.productImg {
	background-image: url(../../asset/bg.png);
	background-repeat: no-repeat;
	background-size: 100%;
	text-align: center;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 2px solid #e5e7eb;
	height: 150px;
	margin: auto 24px auto 0;
}

.productImg img {
	vertical-align: bottom;
	height: 100% !important;
	width: 100% !important;
	object-fit: contain;
}

.text {
	font-size: 1.5rem;
	vertical-align: center;
	flex: 1;
}

.price {
	text-align: center;
	color: red;
}

.forms {
	display: flex;
}

.ammountChange {
	margin: auto 60px auto 0;
}

.ammountSelect p {
	margin: 0;
}

.ammountSelect select {
	width: 100px;
	height: 30px;
	text-align: center;
	font-size: 0.9rem;
}

.deleteProduct {
	margin: auto 60px auto 0;
}

.deleteBtn {
	cursor: pointer;
	padding: 6px 12px;
}

.notfound {
	text-align: center;
	margin-top: 40px;
	margin-bottom: 40px;
}

.priceText {
	text-align: right;
	margin-right: 90px;
}

.totalP {
	font-size: 1.4rem;
}

.buttonArea {
	display: flex;
	justify-content: center;
	gap: 120px;
}

.backBtn {
	text-decoration: none;
	color: inherit;
	border: 2px solid black;
	padding: 16px 24px;
}

.submitBtn {
	background-color: #fff;
	border-radius: 0;
	border: 2px solid black;
	padding: 16px 24px;
	font-size: inherit;
	cursor: pointer;
}

@media (max-width: 900px) {

	.productCart {
		display: block;
	}

	.meta {
		display: block;
		margin: 0 24px 12px 24px;
	}

	.productImg {
		margin: 0 auto;
		height: unset;
		max-height: 300px;
	}

	.forms {
		justify-content: space-between;
		margin: 12px 0 12px;
	}

	.ammountChange {
		margin: 0 0 0 12px;
	}

	.deleteProduct {
		margin: auto 12px auto 0;
	}
}
