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

.checkout-list-item {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	background-color: whitesmoke;
	border-bottom: 0;
}

.checkout-list-item-img {
	width: clamp(100px, 30vw, 120px);
	min-width: 100px;
	aspect-ratio: 40 / 25;
	background-repeat: no-repeat !important;
	background-size: 100% !important;
	background-position: center !important;
	margin-right: 15px;
}

.checkout-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;
}

.checkout-itemLabel {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	word-break: break-all;
	text-overflow: ellipsis;
	font-size: clamp(14px, 4vw, 18px);
	margin-bottom: 0px;
}

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

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

.checkout-qty-label {
	font-size: min(4vw, 16px);
	color: #555555;
	margin: 0 15px 0 0;
}

.checkout-qty-amount {
	font-size: min(4vw, 16px);
	margin: 0;
}

.checkout-calc {
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 0px;
	align-items: flex-end;
}

.checkout-calc-summary {
	width: 100%;
	max-width: 400px;
}

.checkout-custDetails {
	position: sticky;
	top: 0px;
	z-index: 10;
	background-color: #FFF;
}

.custDetails {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
	height: fit-content;
	align-items: center;
	column-gap: 10px;
	background-color: whitesmoke;
	cursor: pointer;
}

.custDetails:hover {
	outline: solid 1px #BBBBBB;
	box-shadow: 0px 5px 10px -8px #444444;
	background-color: #F0F0F0;
}

.custDetails-list-container.show {
	display: flex !important;
	overflow: hidden;
	flex-direction: column;
	width: calc(100% - 30px + 0.05rem);
	left: -0.1rem !important;
	z-index: 90;
	padding: 5px 0;
}

.custDetails-list {
	padding: 4px 12px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	word-break: break-all;
	text-overflow: ellipsis;
	color: #555;
	font-size: clamp(10px, 3vw, 16px);
	cursor: pointer;
}

.custDetails-list:first-child:hover {
	background-color: transparent;
	color: #555;
}

.custDetails-list:hover {
	background-color: #e9ecef;
	color: #1e2125;
}

.custDetails-logo {
	text-align: center;
	width: 40px;
	overflow: unset hidden;
}

.custDetails-name, .custDetails-telno {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	word-break: whitespace;
	text-overflow: ellipsis;
	color: #555;
	margin-bottom: 2px;
	font-size: clamp(10px, 3vw, 16px);
}

.custDetails-addr {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	word-break: whitespace;
	text-overflow: ellipsis;
	color: #555;
	font-size: clamp(10px, 3vw, 16px);
}

.checkout-calc-label {
	font-size: clamp(12px, 3vw, 14px);
	color: #777;
}

.checkout-calc-amount {
	display: block !important;
	text-align: right;
	font-size: clamp(14px, 4vw, 18px);
	color: #777;
}

.checkout-price {
	font-weight: bold;
	font-size: clamp(16px, 4vw, 22px);
	margin-bottom: 0px;
	color: var(--bs-primary);
}

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

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

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

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

.commentSection {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	background-color: whitesmoke;
}

.checkout-comment-label {
	font-size: min(4vw, 16px);
	color: #555555;
	margin: 0 15px 0 0;
	width: clamp(100px, 30vw, 120px);
	min-width: 100px;
}

.checkout-comment-input {
	font-size: min(4vw, 16px);
	color: #555555;
	width: max(40vw, 240px);
	min-width: 240px;
}

.remarks {
	padding-bottom: 5px;
}

.checkoutBtn {
	width: 100%;
	max-width: 400px;
	margin: 15px 0 0 0;
	background-color: var(--bs-green);
	color: whitesmoke;
}

@media (max-width: 466px) {
	.custDetails-list {
		-webkit-line-clamp: 2;
	}

	.checkout-qty-label, .checkout-comment-label {
		display: none;
	}

	.checkout-comment-input {
		flex-grow: 1;
		font-size: min(4vw, 16px);
		color: #555555;
		width: max(75vw, 240px);
		min-width: 240px;
	}
}

.link {
	cursor: pointer;
}

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

.Completed {
	font-weight: bold;
	color: var(--bs-success);
}

.Pending {
	font-weight: bold;
	color: var(--bs-orange);
}

.Ongoing {
	font-weight: bold;
	color: var(--bs-teal);
}

.Cancelled {
	font-weight: bold;
	color: var(--bs-danger);
}

.modal {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background: rgba(100, 100, 100, 0.5);
}

.loading {
	width: 250px;
	height: 200px;
	padding: 0px !important;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
	background-color: whitesmoke;
}

.orderMessage {
	text-align: center;
	font-size: 48px;
}

.orderMessage-text {
	font-size: 18px;
}

.visible {
	display: block !important;
}

.hide {
	display: none !important;
}