/* Neat Checkout: cart icon. */

a.neat-cart-icon[data-neat-cart] {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px;
	line-height: 1;
	color: inherit;
	text-decoration: none;
	vertical-align: middle;
}
a.neat-cart-icon[data-neat-cart]:hover { text-decoration: none; }
a.neat-cart-icon[data-neat-cart] .neat-cart-glyph { position: relative; display: block; flex: none; }
a.neat-cart-icon[data-neat-cart] .neat-cart-svg { display: block; flex: none; width: 24px; height: 24px; max-width: none; margin: 0; object-fit: contain; }
.neat-cart-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

a.neat-cart-icon[data-neat-cart] .neat-cart-count {
	/* Sits on the icon's top-right corner. */
	position: absolute;
	top: -8px;
	left: calc(100% - 7px);
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 17px;
	text-align: center;
	color: var(--neat-button-text, #fff);
	background: var(--neat-button, #1773b0);
	border-radius: 9px;
	box-shadow: 0 0 0 2px var(--neat-badge-ring, #fff);
}
a.neat-cart-icon[data-neat-cart] .neat-cart-count.is-empty { display: none; }
a.neat-cart-icon[data-neat-cart] .neat-cart-total { font-size: .95em; font-weight: 500; white-space: nowrap; }

a.neat-cart-icon--icon[data-neat-cart] .neat-cart-count,
a.neat-cart-icon--icon[data-neat-cart] .neat-cart-total,
a.neat-cart-icon--count[data-neat-cart] .neat-cart-total,
a.neat-cart-icon--total[data-neat-cart] .neat-cart-count { display: none; }
a.neat-cart-icon--total[data-neat-cart] .neat-cart-total { margin-left: 4px; }
/* Leave room for the badge before the total. */
a.neat-cart-icon--count_total[data-neat-cart] .neat-cart-total { margin-left: 10px; }

.neat-cart-menu-item { display: inline-flex; align-items: center; list-style: none; }

.neat-cart-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99990;
}
.neat-cart-float a.neat-cart-icon[data-neat-cart] {
	padding: 14px;
	color: var(--neat-button-text, #fff);
	background: var(--neat-button, #1773b0);
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.neat-cart-float a.neat-cart-icon--count_total[data-neat-cart],
.neat-cart-float a.neat-cart-icon--total[data-neat-cart] { padding-right: 18px; }
/* Theme menus often style every span in a link; keep ours compact. */
.neat-cart-menu-item a.neat-cart-icon[data-neat-cart] { display: inline-flex; padding-top: 4px; padding-bottom: 4px; }
.neat-cart-float a.neat-cart-icon[data-neat-cart] .neat-cart-count { --neat-badge-ring: var(--neat-button, #1773b0);color: var(--neat-button, #1773b0); background: var(--neat-button-text, #fff); }
