.yc-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	font: inherit;
}
.yc-cart__trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
}
.yc-cart__icon {
	width: 1.5rem;
	height: 1.5rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}
.yc-cart__count {
	display: inline-flex;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 .3rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #d92d20;
	color: #fff;
	font-size: .75rem;
	line-height: 1;
}
.yc-cart__count.is-empty {
	display: none;
}
.yc-cart__surface {
	z-index: 1055;
	width: min(26rem, calc(100vw - 2rem));
	max-height: min(42rem, calc(100vh - 2rem));
	overflow: auto;
	padding: 1rem;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: .5rem;
	background: #fff;
	color: #222;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, .2);
	text-align: left;
}
.yc-cart--dropdown .yc-cart__surface {
	position: absolute;
	top: calc(100% + .5rem);
	right: 0;
}
.yc-cart__backdrop {
	position: fixed;
	inset: 0;
	z-index: 1050;
	background: rgba(0, 0, 0, .45);
}
.yc-cart--dropdown .yc-cart__backdrop {
	display: none;
}
.yc-cart--modal .yc-cart__surface {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.yc-cart--drawer .yc-cart__surface {
	position: fixed;
	top: 0;
	right: 0;
	width: min(28rem, 100vw);
	height: 100vh;
	max-height: none;
	border-radius: 0;
}
.yc-cart__close {
	display: block;
	margin: 0 0 .5rem auto;
	border: 0;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}
.yc-cart__status,
.yc-cart__notice {
	min-height: 1.25em;
}
.yc-cart__items {
	margin: 0;
	padding: 0;
	list-style: none;
}
.yc-cart__item {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr) auto;
	gap: .75rem;
	padding: .75rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.yc-cart__image {
	display: block;
	width: 100%;
	height: auto;
}
.yc-cart__product-name,
.yc-cart__action {
	color: inherit;
	text-decoration: none;
}
.yc-cart__model,
.yc-cart__option,
.yc-cart__recurring,
.yc-cart__quantity {
	font-size: .875rem;
	opacity: .75;
}
.yc-cart__remove {
	align-self: start;
	border: 0;
	background: transparent;
	color: #b42318;
	cursor: pointer;
}
.yc-cart__totals {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .35rem 1rem;
	margin: 1rem 0;
}
.yc-cart__totals dt,
.yc-cart__totals dd {
	margin: 0;
}
.yc-cart__total-value {
	text-align: right;
}
.yc-cart__actions {
	display: flex;
	gap: .75rem;
	justify-content: flex-end;
}
.yc-cart__action {
	padding: .55rem .8rem;
	border: 1px solid currentColor;
	border-radius: .25rem;
}
.yc-cart__action--checkout {
	background: #111;
	color: #fff;
}
body.yc-cart-open {
	overflow: hidden;
}
[hidden] {
	display: none !important;
}
@media (max-width: 767px) {
	.yc-cart__label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
}
