/* Cart Button widget */

.wbr-cart-wrap {
	display: flex;
	align-items: center;
}

.wbr-cart {
	--wbr-cart-icon: 26px;

	display: inline-flex;
	align-items: center;
	gap: 10px;
	/* Comfortable to tap on a phone. */
	min-height: 44px;
	padding: 4px 6px;
	color: inherit;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
}

.wbr-cart--price-first {
	flex-direction: row-reverse;
}

.wbr-cart:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 6px;
}

.wbr-cart__icon {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	color: #670626;
	transition: color 0.18s ease;
}

.wbr-cart__svg {
	display: block;
	width: var(--wbr-cart-icon);
	height: var(--wbr-cart-icon);
}

.wbr-cart__count {
	position: absolute;
	top: -7px;
	right: -9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background-color: #f4b183;
	color: #670626;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

[dir="rtl"] .wbr-cart__count {
	right: auto;
	left: -9px;
}

/* Empty cart: no number. */
.wbr-cart__count.is-empty {
	display: none;
}

.wbr-cart__total {
	color: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
}

.wbr-cart__total .woocommerce-Price-amount {
	font: inherit;
}

.wbr-cart--hide-empty-price .wbr-cart__total.is-empty {
	display: none;
}

.wbr-cart__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
