.cart-buffer {
	height: 100px;
}

.cart-container {
	z-index: 99;
	position: fixed;
	bottom: 0;
	min-height: 90px;
	width: 100%;
}

.cart-body {
	border-top: solid 2px #888888;
	width: 100%;
	height: 90vh;
	min-height: 90px;
	background-color: var(--bs-yellow);
	box-shadow: 0px 2px 10px -2px #444444;
	overflow: hidden;
	transition: height 0.25s ease-in, background-color 0.25s ease-in;
}

/* Cart List Styles */
.cart-list {
	padding: 15px;
	height: calc(90vh - 90px);
	background-color: var(--bs-yellow);
	overflow: hidden;
	transition: height 0.25s ease-in, background-color 0.25s ease-in;
}

.cart-list-content {
	width: 100%;
	height: 100%;
	overflow: hidden scroll;
}

.cart-list-item {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	/*background: rgba(255, 255, 255);*/
	background-color: whitesmoke;
}

.deleteCart {
	margin-right: 10px;
	font-size: clamp(10px, 4vw, 16px);
	padding: clamp(0rem, 3vw, 0.2rem) clamp(0.25rem, 3vw, 0.5rem);
}

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

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

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

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

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

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

.cart-itemDisc {
	font-size: clamp(12px, 3vw, 16px);
	margin-bottom: 5px;
}

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

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

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

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

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

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

.cart-qty-btn {
	font-size: min(3vw, 16px);
	padding: min(3vw, 0.375rem) min(3vw, 0.75rem);
}

/* Cart Footer Styles */
.cart-footer {
	cursor: default;
	align-items: center;
	position: fixed;
	bottom: 0;
	width: inherit;
	padding: 5px 5px 5px 15px;
	height: 90px;
}

.cart-calc {
	display: flex;
	flex: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: baseline;
	text-align: right;
}

.label {
	font-size: clamp(14px, 2vw, 16px);
	margin-right: 10px;
}

#total-items {
	font-weight: bolder;
}

.cart-calc-total {
	font-size: clamp(16px, 4vw, 22px);
	font-weight: bolder;
	color: var(--bs-green);
	text-shadow: 0px 1px 1px #000000;
}

.total-amount {
	/*cursor: pointer;*/
	display: flex;
	flex: row;
	flex-wrap: nowrap;
}

.total-amount > * {
	margin-right: 10px;
}

.cart-btn-container {
	display: flex;
	flex: row;
	flex-wrap: wrap;
	height: fit-content;
	padding: 0px;
}

.cart-btn {
	flex-grow: 1;
	margin-left: 10px;
	outline: solid 1px #555555;
	box-shadow: 0px 2px 10px -3px #444444;
}

.clearCart {
	background-color: whitesmoke;
}

@media screen and (max-width: 767.5px) {
	.cart-list-content::-webkit-scrollbar {
		display: none;
	}

	.cart-list-content {
	  	-ms-overflow-style: none;
	  	scrollbar-width: none;
	}
}

@media (max-width: 466px) {
	.cart-btn {
		padding: 6px 4px;
		margin-left: 0;
	}

	.cart-list-item-img {
		margin-right: 10px;
	}
}

@media (max-width: 380px) {
	.cart-btn {
		font-size: 14px;
	}

	.cart-body {
		height: 80vh;
	}

	.cart-list {
		height: calc(80vh - 90px);
	}
}

.close {
	height: 90px;
	background-color: var(--bs-orange);
}

.cart-list.close {
	height: 0px;
}

@media screen and (min-width: 768px) {
	.cart-body {
		border-left: solid 2px #888888;
		border-right: solid 2px #888888;
		border-radius: 12px 12px 0 0;
		width: 770px;
		min-height: 60px;
		margin: auto;
	}

	.cart-buffer {
		height: 70px;
	}

	.cart-container {
		min-height: 60px;
	}

	.cart-list {
		height: calc(90vh - 60px);
	}

	.cart-footer {
		height: 60px;
	}

	.close {
		height: 60px;
	}
}

.visible {
	display: block !important;
}

.hide {
	display: none !important;
}