.cart {
	background-color: rgba(0, 0, 0, .5);
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: 330px;
	z-index: 996;
	display: flex;
	justify-content: flex-end;
	transform: translateX(100%);
}
.cart__content {
	position: relative;
	background-color: var(--white);
	color: var(--black);
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.cart__title {
	margin-bottom: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cart__title--main {
	color: var(--white);
	text-align: center;
	font-weight: 400;
}
.cart__header {
	position: relative;
	background-color: var(--primary);
	padding: 1rem;
}
.cart__body {
	height: 100%;
	overflow-y: auto;
}
.cart__footer {
	border-top: 1px solid var(--light3);
	padding: 1rem;
	text-align: center;
}
.cart__text {
	margin-bottom: 0;
}
.cart__text--total {
	font-weight: 400;
	margin-bottom: .5rem;
}
.cart__btn {
	border-radius: 0;
}
.cart__btn--checkout {
	padding: .5rem 2rem;
	width: auto;
	text-transform: uppercase;
}
.cart__close {
	position: absolute;
	top: .085rem;
	left: .375rem;
	color: var(--white);
	text-shadow: none;
	font-size: 1.75rem;	
}
.cart__close:not(:disabled):not(.disabled):hover, 
.cart__close:not(:disabled):not(.disabled):focus {
	outline: none;
	color: var(--white);
	opacity: 1;
}
.cart-backdrop {
	background-color: rgba(0, 0, 0, .5);
	position: fixed;
	top: 0;
	width: 100%;
	height: 100vh;
	z-index: 995;
	transition: all .3s ease-in-out;
	display: none;
}
.cart-backdrop--active {
	display: block;
}
.cart__item {
	padding: .75rem;
	display: flex;
	justify-content: space-between;
	gap: .75rem;
	/*border-bottom: 1px solid var(--light3);*/
}
.cart__item + .cart__item {
	padding-top: 0;
}
.cart__section {
	display: flex;
}
.cart__section--product-info {
	flex: 2;
}
.cart__section--product-qty {
	flex: 1;
}
.cart__section--product-qty, 
.cart__section--tools {
	align-items: center;
}
.cart__thumbnail {
	align-self: center;
}
.cart__img {
	width: 50px;
	height: 50px;
	object-fit: cover;
}
.cart__section--product-info .cart__title {
	font-size: .95rem;
	margin-bottom: .25rem;
	line-height: normal;
}
.cart__section--product-info .cart__text {
	font-size: .9rem;
	line-height: 1.2;
	color: var(--gray2);
}
.cart__thumbnail + .cart__meta {
	margin-left: .5rem;
}
.cart__textbox {
	border-radius: 0;
	padding: 0;
	text-align: center;
}
.cart__link,
.cart__link:hover,
.cart__link:focus {
	color: inherit;
}
.cart__link--remove {
	color: var(--danger);
}
.cart__link--remove:hover,
.cart__link--remove:focus {
	color: #c82333;
}
.cart__amount {
	margin-bottom: .5rem;
}
.cart__amount:last-child {
	margin-bottom: 0;
}
.cart__amount .cart__text {
	font-weight: 500;
	display: flex;
	justify-content: space-between;
}

@media (min-width: 576px) {
	.cart {
		width: 450px;
	}
}