.checkoutflow-cart-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.checkoutflow-cart-icon__glyph {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
}

.checkoutflow-cart-icon__count {
	position: absolute;
	top: 0.05rem;
	right: 0.02rem;
	min-width: 1.1rem;
	height: 1.1rem;
	padding: 0 0.2rem;
	border-radius: 999px;
	background: #e3532f;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.1rem;
	text-align: center;
}

.checkoutflow-cart-icon__count.is-empty {
	display: none;
}

.checkoutflow-cart {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}

.checkoutflow-cart-lines {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 1rem 1.15rem;
}

.checkoutflow-cart-empty {
	margin: 0;
}

.checkoutflow-cart-line {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: 0.75rem;
	margin: 0 0 1rem;
}

.checkoutflow-cart-line__img {
	display: block;
	width: 4.5rem;
	height: 4.5rem;
	object-fit: cover;
}

.checkoutflow-cart-line__name {
	margin: 0 0 0.25rem;
	font-size: 0.95rem;
	line-height: 1.3;
}

.checkoutflow-cart-line__name a {
	color: inherit;
	text-decoration: none;
}

.checkoutflow-cart-line__meta {
	margin: 0 0 0.4rem;
	color: #5c564f;
	font-size: 0.8rem;
}

.checkoutflow-cart-line__row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.checkoutflow-cart-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e6e0d8;
	border-radius: 999px;
}

.checkoutflow-cart-qty__btn,
.checkoutflow-cart-line__remove,
.checkoutflow-cart-coupon__remove {
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
}

.checkoutflow-cart-qty__btn {
	width: 1.8rem;
	height: 1.8rem;
}

.checkoutflow-cart-qty__value {
	min-width: 1.2rem;
	text-align: center;
}

.checkoutflow-cart-line__total {
	margin-left: auto;
	font-weight: 700;
}

.checkoutflow-cart-line__remove {
	color: #8a8178;
	font-size: 1.2rem;
	line-height: 1;
}

.checkoutflow-cart-coupons {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.checkoutflow-cart-coupon {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.45rem 0.7rem;
	border-radius: 0.6rem;
	background: #f7f4f0;
}

.checkoutflow-cart-details {
	padding: 0 1.15rem 0.75rem;
	font-size: 0.9rem;
}

.checkoutflow-cart-details__title {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
}

.checkoutflow-cart-details__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 0.35rem;
}

.checkoutflow-cart-details__row--discount {
	color: #5c564f;
}

.checkoutflow-cart-footer {
	flex: 0 0 auto;
	padding: 0.85rem 1.15rem 1rem;
	border-top: 1px solid #e6e0d8;
	background: #fff;
}

.checkoutflow-cart-details[hidden] {
	display: none;
}

.checkoutflow-cart:not(.is-checkout) > .checkoutflow-cart-footer > .checkoutflow-cart-next {
	display: flex;
}

.checkoutflow-cart:not(.is-checkout) > .checkoutflow-cart-footer > .checkoutflow-cart-pay,
.checkoutflow-cart.is-checkout > .checkoutflow-cart-footer > .checkoutflow-cart-next {
	display: none;
}

.checkoutflow-cart-next,
.checkoutflow-cart-pay {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.checkoutflow-cart-next__label,
.checkoutflow-cart-pay__label {
	flex: 1 1 auto;
	min-width: 0;
	text-align: start;
}

.checkoutflow-cart-next__prices,
.checkoutflow-cart-pay__prices {
	flex: 0 0 auto;
}

.checkoutflow-cart-next {
	border: 0;
	border-radius: 999px;
	background: #2c241c;
	padding: 0.85rem 1.1rem;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.checkoutflow-cart-next:disabled {
	opacity: 0.45;
	cursor: default;
}

.checkoutflow-cart-next__prices,
.checkoutflow-cart-pay__prices {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	white-space: nowrap;
}

.checkoutflow-cart-next-total,
.checkoutflow-cart-pay-total {
	font-weight: 700;
	white-space: nowrap;
}

.checkoutflow-cart-next .checkoutflow-cart-next-total,
.checkoutflow-cart-next .woocommerce-Price-amount,
.checkoutflow-cart-next .woocommerce-Price-currencySymbol {
	color: #fff;
}

.checkoutflow-cart-pay {
	color: #2c241c;
}

.checkoutflow-cart-pay .checkoutflow-cart-pay-total,
.checkoutflow-cart-pay .woocommerce-Price-amount,
.checkoutflow-cart-pay .woocommerce-Price-currencySymbol {
	color: #2c241c;
}

.checkoutflow-cart-was {
	color: #8a8178;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: line-through;
}

.checkoutflow-cart-was.is-hidden {
	display: none;
}

.checkoutflow-cart-pay__label {
	font-weight: 700;
}
