@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;
}

/* hero */
.hero {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.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;
	flex: 1;
	display: flex;
}

.productImg img {
	vertical-align: bottom;
	height: 100% !important;
	width: 100% !important;
	object-fit: contain;
}

.meta {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-color: #fff;
	border: 2px solid #e5e7eb;
	padding: 6px 10px;
	width: 100%;
	/* height: 250px; */
}

.meta .category {
	color: #666;
}

.meta .productName {
	color: #222;
	font-size: 1.5rem;
	line-height: 2;
	margin-top: 20px;
}

.meta .price {
	color: #222;
	font-size: 1.5rem;
	line-height: 2;
	text-align: center;
	color: red;
}

.meta .stock {
	text-align: right;
	margin-top: 12px;
	color: #222;
	font-size: 1rem;
}

.addCartArea {
	margin-bottom: 30px;
}

.addCartArea .cartAdded {
	color: red;
}

.addCartArea form {
	display: flex;
	gap: 18px;
}

.addCartArea form select {
	width: 80px;
}

.description {
	margin-top: 10px;
	padding: 10px;
	border: 2px solid #e5e7eb;
	background-color: #fff;
}

@media (min-width: 900px) {
	.productImg {
		max-height: 400px;
		aspect-ratio: unset;
	}

	.hero {
		flex-direction: row;
	}

	.meta {
		width: 300px;
		height: 400px;
	}
}