.tj-sale-badge {
	box-sizing: border-box;
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	max-width: calc(100% - 24px);
	padding: 4px 3px;
	border: 1px solid #e5e7ef;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 2px 8px rgb(26 29 62 / 9%);
	font-size: .8125rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	pointer-events: none;
}

.tj-sale-badge__label {
	min-width: 0;
	padding: 5px 5px;
	color: #1a1d3e;
	overflow-wrap: anywhere;
}

.tj-sale-badge__percentage {
	flex: none;
	padding: 6px 7px;
	border-radius: 6px;
	background: #c91624;
	color: #fff;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.single-product div.product > .tj-sale-badge {
	top: 16px;
	left: 16px;
	max-width: calc(100% - 32px);
	padding: 5px 4px;
	font-size: .9375rem;
}

img.tj-good-price-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 5;
	width: 68px;
	height: auto;
	margin: 0;
	transform: rotate(30deg);
	pointer-events: none;
}

.single-product div.product > img.tj-good-price-badge {
	top: 16px;
	left: 16px;
	width: 75px;
}

@media (max-width: 600px) {
	ul.products .product .tj-sale-badge {
		top: 8px;
		left: 8px;
		max-width: calc(100% - 16px);
	}

	ul.products .product img.tj-good-price-badge {
		top: 8px;
		left: 8px;
		width: 55px;
	}
}
