.component {
	outline: solid 1px #BBBBBB;
	box-shadow: 0px 5px 10px -5px #444444;
	margin: 10px 0px;
	padding: 15px;
	height: fit-content;
	background-color: #FFF;
}

.item-detail-img {
	aspect-ratio: 40 / 25;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	background-position: center !important;
}

.pagination {
	justify-content: center;
}

#img-page-container {
	border-top: solid 1px #BBBBBB;
}

.img-page-item {
	width: 25%;
	padding: 7px;
}

.img-page-link {
	cursor: pointer;
	display: block;
	width: 100%;
	min-height: 50px;
	height: 100%;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	background-position: center !important;
}

.img-page-link.active, .img-page-link:hover {
	outline: solid 2px red;
}

.item-groupLabel {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	word-break: break-all;
	text-overflow: ellipsis;
	font-weight: bold;
	font-size: clamp(12px, 3vw, 16px);
	margin-bottom: 0px;
}

.item-itemLabel {
	font-size: clamp(14px, 4vw, 20px);
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	word-break: break-all;
	text-overflow: ellipsis;
}

.item-itemNo {
	font-size: clamp(10px, 3vw, 16px);
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	word-break: break-all;
	text-overflow: ellipsis;
	color: #555555;
}

.item-price {
	width: fit-content;
	font-weight: bold;
	font-size: 1.5em;
	margin: 0;
	color: var(--bs-primary);
}

.item-price-label {
	font-size: clamp(10px, 3vw, 16px);
}

.item-itemDisc {
	font-size: clamp(12px, 3vw, 16px);
}

.item-oriPrice {
	text-decoration: line-through;
	font-weight: 600;
	color: #999;
}

.item-discLabel {
	font-weight: 600;
	color: whitesmoke;
	background-color: #f74821;
	border-radius: 0.35vw;
	padding: 0 5px;
}

.priceHistory {
	width: clamp(250px, 35vw, 500px);
	left: -0.35rem !important;
	z-index: 90;
}

.priceHistory-list {
	display: flex !important;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding: 0.15rem 0.6rem;
}

.dropdown-item.priceHistory-list:active {
	background-color: #e9ecef;
	color: #1e2125;
}

.stock {
	width: clamp(250px, 30vw, 400px);
	z-index: 90;
}

.stockList {
	display: flex !important;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding: 0.15rem 0.6rem;
}

.dropdown-item.stockList:active {
	background-color: #e9ecef;
	color: #1e2125;
}

.item-qty {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: baseline;
	margin-bottom: 15px;
}

.item-qty-label {
	font-size: 0.9em;
	color: #555555;
	margin: 0 15px 0 0;
}

.item-qty-onhand {
	font-size: 0.9em;
	color: #555555;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	word-break: break-all;
	text-overflow: ellipsis;
}

.item-qty-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	margin-right: 15px;
}

.item-qty-amount {
	font-size: clamp(12px, 4vw, 16px);
	width: 40px;
	padding: 5px;
	text-align: center;
	border: none;
	background-color: #EEEEEE;
}

.item-qty-btn {
	font-size: clamp(10px, 4vw, 16px);
}

@media screen and (max-width: 991.5px) {
	.item-qty-label {
		display: none;
	}
}

#addToCart {
	max-width: 186px;
	width: 100%;
}

.addToCart {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
}

.addToCart > .d-flex {
	padding: 0 1rem;
}

.addToCart > .d-flex > .spinner-border {
	font-size: 1.5vh;
	width: 1.5rem;
	height: 1.5rem;
}

.link {
	cursor: pointer;
}

.link:hover {
	text-decoration: underline;
}

.visible {
	display: block !important;
}

.hide {
	display: none !important;
}