/*
 * Stock Bar storefront styles, the redesign's card look (design
 * `stock-bar.html`). Design settings arrive as `--spsg-stock-bar-*`
 * variables (printed once saved); the fallbacks are the defaults. Colours of
 * the bar, track and border come from the existing inline CSS. Fonts load
 * through StorefrontFonts when one is chosen.
 */

.spsg-stock-stockbar-status {
	width: 100%;
}
.spsg-stock-stockbar-status::after {
	display: table;
	content: " ";
	clear: both;
}

.jqmeter-container .outer-therm {
	margin: 0;
	overflow: hidden;
	border-radius: 9999px;
}

.jqmeter-container .inner-therm {
	border-radius: 9999px;
}

.spsg-stock-progress {
	width: 0;
	border-radius: 5px;
}

.spsg-stock-progress-bar {
	width: 100%;
	border-radius: 5px;
	margin-top: 5px;
}

.spsg-stock-progress-bar-section {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: var(--spsg-stock-bar-card-bg, #fff);
	font-family: var(--spsg-stock-bar-font-family, inherit);
	border-radius: 6px;
	margin-bottom: 20px;
	padding: 12px 14px;
}

.spsg-stock-progress-title {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 12px;
	line-height: 1.3;
	font-size: var(--spsg-stock-bar-count-size, 11px);
	color: var(--spsg-stock-bar-count-color, #25252d);
}

.spsg-stock-progress-count {
	font-weight: 700;
}
