/* MT Location Stock — colours match the existing legend (.stock-dot) */
.mt-ls {
	display: flex;
	justify-content: center;
	gap: 4px;
	flex-wrap: nowrap;
}

.mt-ls-loc {
	display: inline-block;
	min-width: 38px;
	padding: 4px 6px;
	border-radius: 3px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .03em;
	text-align: center;
	cursor: default;
}

.mt-ls-loc.in-stock     { background: #6aa84f; }
.mt-ls-loc.low-stock    { background: #e69138; }
.mt-ls-loc.out-of-stock { background: #cc0000; }

/* Info popup: full branch names, left-aligned like the other popup values */
.mt-ls--full { justify-content: flex-start; flex-wrap: wrap; gap: 6px; }
.mt-ls--full .mt-ls-loc { min-width: 0; padding: 5px 10px; font-size: 12px; letter-spacing: 0; }

/* Fallback in case the theme prints the "Select options" cart icon without the WooCommerce filter */
.products .buttons a.product_type_variable { display: none; }

@media (max-width: 575px) {
	.mt-ls { flex-direction: row; gap: 4px; }
	.mt-ls-loc { min-width: 34px; font-size: 10px; padding: 3px 4px; }
	.mt-ls--full { flex-direction: row; align-items: flex-start; }
	.mt-ls--full .mt-ls-loc { font-size: 11px; padding: 4px 8px; }
}
