/* Journal UFE - isolated image badge placement layer */
html body .product-thumb .image,
html body .product-layout .image,
html body .product-grid .image,
html body .product-image,
html body .product-left .image,
html body .product-left .product-image {
	position: relative !important;
}

html body .ufe-badge-stack {
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
	pointer-events: none !important;
	position: absolute !important;
	z-index: 20 !important;
}

html body .ufe-badge-stack > .ufe-badge {
	box-sizing: border-box !important;
	float: none !important;
	inset: auto !important;
	margin: 0 !important;
	max-width: 100% !important;
	position: static !important;
	transform: none !important;
}

html body .ufe-badge-stack > .ufe-discount {
	box-sizing: border-box !important;
	float: none !important;
	inset: auto !important;
	margin: 0 !important;
	max-width: 100% !important;
	position: static !important;
	transform: none !important;
}

html body .ufe-image-position-top_right,
html body .ufe-image-position-top_left,
html body .ufe-image-position-bottom_right,
html body .ufe-image-position-bottom_left,
html body .ufe-image-position-center_right,
html body .ufe-image-position-center_left {
	left: var(--ufe-badge-offset-left, 10px) !important;
	right: var(--ufe-badge-offset-right, 10px) !important;
	width: auto !important;
}

html body .ufe-image-position-top_right,
html body .ufe-image-position-top_left {
	bottom: auto !important;
	top: var(--ufe-badge-offset-top, var(--ufe-top-strip-offset, 10px)) !important;
	transform: none !important;
}

html body .ufe-image-position-bottom_right,
html body .ufe-image-position-bottom_left {
	bottom: var(--ufe-badge-offset-bottom, var(--ufe-bottom-strip-offset, 10px)) !important;
	top: auto !important;
	transform: none !important;
}

html body .ufe-image-position-center_right,
html body .ufe-image-position-center_left {
	bottom: auto !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

html body .ufe-image-position-top_center,
html body .ufe-image-position-bottom_center,
html body .ufe-image-position-center {
	align-items: center !important;
	left: var(--ufe-badge-offset-left, 10px) !important;
	right: var(--ufe-badge-offset-right, 10px) !important;
	width: auto !important;
}

html body .ufe-image-position-top_center {
	top: var(--ufe-badge-offset-top, var(--ufe-top-strip-offset, 10px)) !important;
	transform: none !important;
}

html body .ufe-image-position-bottom_center {
	bottom: var(--ufe-badge-offset-bottom, var(--ufe-bottom-strip-offset, 10px)) !important;
	transform: none !important;
}

html body .ufe-image-position-center {
	top: 50% !important;
	transform: translateY(-50%) !important;
}

html body .ufe-image-position-top_strip,
html body .ufe-image-position-bottom_strip {
	align-items: stretch !important;
	left: var(--ufe-badge-offset-left, 10px) !important;
	right: var(--ufe-badge-offset-right, 10px) !important;
	width: auto !important;
}

html body .ufe-image-position-top_strip {
	top: var(--ufe-badge-offset-top, 10px) !important;
}

html body .ufe-image-position-bottom_strip {
	bottom: var(--ufe-badge-offset-bottom, 10px) !important;
}

html body .ufe-image-position-top_strip > .ufe-badge,
html body .ufe-image-position-bottom_strip > .ufe-badge,
html body .ufe-image-position-top_strip > .ufe-discount,
html body .ufe-image-position-bottom_strip > .ufe-discount,
html body .ufe-image-position-top_strip > .ufe-countdown,
html body .ufe-image-position-bottom_strip > .ufe-countdown {
	align-self: stretch !important;
	justify-content: center !important;
	width: 100% !important;
}

html[dir="rtl"] body .ufe-image-position-top_right,
html[dir="rtl"] body .ufe-image-position-bottom_right,
html[dir="rtl"] body .ufe-image-position-center_right,
body[dir="rtl"] .ufe-image-position-top_right,
body[dir="rtl"] .ufe-image-position-bottom_right,
body[dir="rtl"] .ufe-image-position-center_right,
html body .ufe-image-badges-rtl .ufe-image-position-top_right,
html body .ufe-image-badges-rtl .ufe-image-position-bottom_right,
html body .ufe-image-badges-rtl .ufe-image-position-center_right {
	align-items: flex-end !important;
}

html[dir="rtl"] body .ufe-image-position-top_left,
html[dir="rtl"] body .ufe-image-position-bottom_left,
html[dir="rtl"] body .ufe-image-position-center_left,
body[dir="rtl"] .ufe-image-position-top_left,
body[dir="rtl"] .ufe-image-position-bottom_left,
body[dir="rtl"] .ufe-image-position-center_left,
html body .ufe-image-badges-rtl .ufe-image-position-top_left,
html body .ufe-image-badges-rtl .ufe-image-position-bottom_left,
html body .ufe-image-badges-rtl .ufe-image-position-center_left {
	align-items: flex-start !important;
}

html[dir="ltr"] body .ufe-image-position-top_right,
html[dir="ltr"] body .ufe-image-position-bottom_right,
html[dir="ltr"] body .ufe-image-position-center_right,
body[dir="ltr"] .ufe-image-position-top_right,
body[dir="ltr"] .ufe-image-position-bottom_right,
body[dir="ltr"] .ufe-image-position-center_right,
html body .ufe-image-badges-ltr .ufe-image-position-top_right,
html body .ufe-image-badges-ltr .ufe-image-position-bottom_right,
html body .ufe-image-badges-ltr .ufe-image-position-center_right {
	align-items: flex-start !important;
}

html[dir="ltr"] body .ufe-image-position-top_left,
html[dir="ltr"] body .ufe-image-position-bottom_left,
html[dir="ltr"] body .ufe-image-position-center_left,
body[dir="ltr"] .ufe-image-position-top_left,
body[dir="ltr"] .ufe-image-position-bottom_left,
body[dir="ltr"] .ufe-image-position-center_left,
html body .ufe-image-badges-ltr .ufe-image-position-top_left,
html body .ufe-image-badges-ltr .ufe-image-position-bottom_left,
html body .ufe-image-badges-ltr .ufe-image-position-center_left {
	align-items: flex-end !important;
}

html body .product-labels .journal-ufe-native-label {
	position: absolute !important;
	z-index: 21 !important;
}

html body .product-thumb .quickview-button,
html body .product-thumb .buttons-wrapper,
html body .product-thumb .button-group,
html body .product-thumb .cart-group,
html body .product-thumb .wish-group,
html body .product-thumb .compare-group,
html body .product-thumb .extra-group,
html body .product-thumb .btn-cart,
html body .product-thumb .btn-wishlist,
html body .product-thumb .btn-compare,
html body .product-thumb .btn-quickview,
html body .product-thumb .btn-extra,
html body .product-layout .quickview-button,
html body .product-layout .buttons-wrapper,
html body .product-layout .button-group,
html body .product-layout .cart-group,
html body .product-layout .wish-group,
html body .product-layout .compare-group,
html body .product-layout .extra-group,
html body .product-layout .btn-cart,
html body .product-layout .btn-wishlist,
html body .product-layout .btn-compare,
html body .product-layout .btn-quickview,
html body .product-layout .btn-extra {
	z-index: 120 !important;
}

html body .ufe-image-overlays-excluded-badges .ufe-badge-stack > .ufe-badge {
	display: none !important;
}

html body .ufe-image-overlays-excluded-journal-labels .journal-ufe-native-label {
	display: none !important;
}

html body .ufe-image-overlays-excluded-discount .ufe-discount-surface-grid {
	display: none !important;
}

html body .ufe-image-badges-excluded-countdown .ufe-countdown {
	display: none !important;
}

html body .ufe-image-overlays-excluded-stock .ufe-stock-on-image {
	display: none !important;
}

html[dir="rtl"] body .product-labels .journal-ufe-native-label.ufe-position-top_right,
body[dir="rtl"] .product-labels .journal-ufe-native-label.ufe-position-top_right,
html body .ufe-image-badges-rtl .product-labels .journal-ufe-native-label.ufe-position-top_right {
	left: auto !important;
	right: 10px !important;
	text-align: right !important;
}

html[dir="rtl"] body .product-labels .journal-ufe-native-label.ufe-position-top_left,
body[dir="rtl"] .product-labels .journal-ufe-native-label.ufe-position-top_left,
html body .ufe-image-badges-rtl .product-labels .journal-ufe-native-label.ufe-position-top_left {
	left: 10px !important;
	right: auto !important;
	text-align: left !important;
}

html[dir="ltr"] body .product-labels .journal-ufe-native-label.ufe-position-top_right,
body[dir="ltr"] .product-labels .journal-ufe-native-label.ufe-position-top_right,
html body .ufe-image-badges-ltr .product-labels .journal-ufe-native-label.ufe-position-top_right {
	left: 10px !important;
	right: auto !important;
	text-align: left !important;
}

html[dir="ltr"] body .product-labels .journal-ufe-native-label.ufe-position-top_left,
body[dir="ltr"] .product-labels .journal-ufe-native-label.ufe-position-top_left,
html body .ufe-image-badges-ltr .product-labels .journal-ufe-native-label.ufe-position-top_left {
	left: auto !important;
	right: 10px !important;
	text-align: right !important;
}

/* Final isolated guard: same specificity as Journal/product CSS, but scoped to the UFE layer. */
html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-center_left {
	align-items: flex-end !important;
}

html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-center_right {
	align-items: flex-start !important;
}

/* Physical placement wins: right means right and left means left in every language. */
html body .product-thumb .image .ufe-badge-stack.ufe-image-position-top_right,
html body .product-layout .image .ufe-badge-stack.ufe-image-position-top_right,
html body .product-grid .image .ufe-badge-stack.ufe-image-position-top_right,
html body .product-image .ufe-badge-stack.ufe-image-position-top_right,
html body .product-left .image .ufe-badge-stack.ufe-image-position-top_right,
html body .product-left .product-image .ufe-badge-stack.ufe-image-position-top_right,
html body .product-thumb .image .ufe-badge-stack.ufe-image-position-bottom_right,
html body .product-layout .image .ufe-badge-stack.ufe-image-position-bottom_right,
html body .product-grid .image .ufe-badge-stack.ufe-image-position-bottom_right,
html body .product-image .ufe-badge-stack.ufe-image-position-bottom_right,
html body .product-left .image .ufe-badge-stack.ufe-image-position-bottom_right,
html body .product-left .product-image .ufe-badge-stack.ufe-image-position-bottom_right,
html body .product-thumb .image .ufe-badge-stack.ufe-image-position-center_right,
html body .product-layout .image .ufe-badge-stack.ufe-image-position-center_right,
html body .product-grid .image .ufe-badge-stack.ufe-image-position-center_right,
html body .product-image .ufe-badge-stack.ufe-image-position-center_right,
html body .product-left .image .ufe-badge-stack.ufe-image-position-center_right,
html body .product-left .product-image .ufe-badge-stack.ufe-image-position-center_right {
	align-items: stretch !important;
	left: auto !important;
	right: var(--ufe-badge-offset-right, 10px) !important;
	width: auto !important;
}

html body .product-thumb .image .ufe-badge-stack.ufe-image-position-top_left,
html body .product-layout .image .ufe-badge-stack.ufe-image-position-top_left,
html body .product-grid .image .ufe-badge-stack.ufe-image-position-top_left,
html body .product-image .ufe-badge-stack.ufe-image-position-top_left,
html body .product-left .image .ufe-badge-stack.ufe-image-position-top_left,
html body .product-left .product-image .ufe-badge-stack.ufe-image-position-top_left,
html body .product-thumb .image .ufe-badge-stack.ufe-image-position-bottom_left,
html body .product-layout .image .ufe-badge-stack.ufe-image-position-bottom_left,
html body .product-grid .image .ufe-badge-stack.ufe-image-position-bottom_left,
html body .product-image .ufe-badge-stack.ufe-image-position-bottom_left,
html body .product-left .image .ufe-badge-stack.ufe-image-position-bottom_left,
html body .product-left .product-image .ufe-badge-stack.ufe-image-position-bottom_left,
html body .product-thumb .image .ufe-badge-stack.ufe-image-position-center_left,
html body .product-layout .image .ufe-badge-stack.ufe-image-position-center_left,
html body .product-grid .image .ufe-badge-stack.ufe-image-position-center_left,
html body .product-image .ufe-badge-stack.ufe-image-position-center_left,
html body .product-left .image .ufe-badge-stack.ufe-image-position-center_left,
html body .product-left .product-image .ufe-badge-stack.ufe-image-position-center_left {
	align-items: stretch !important;
	left: var(--ufe-badge-offset-left, 10px) !important;
	right: auto !important;
	width: auto !important;
}

/* Logical placement wins last: right option is the reading start, left option is the reading end. */
html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-center_left {
	align-items: stretch !important;
	left: auto !important;
	right: var(--ufe-badge-offset-right, 10px) !important;
	width: auto !important;
}

html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-top_left,
html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-bottom_left,
html.ufe-image-badges-rtl body .product-thumb .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-rtl body .product-layout .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-rtl body .product-grid .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-rtl body .product-image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-rtl body .product-left .image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-rtl body .product-left .product-image .ufe-badge-stack.ufe-image-position-center_left,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-top_right,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-bottom_right,
html.ufe-image-badges-ltr body .product-thumb .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-layout .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-grid .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-left .image .ufe-badge-stack.ufe-image-position-center_right,
html.ufe-image-badges-ltr body .product-left .product-image .ufe-badge-stack.ufe-image-position-center_right {
	align-items: stretch !important;
	left: var(--ufe-badge-offset-left, 10px) !important;
	right: auto !important;
	width: auto !important;
}

/* Keep badges in the same side stack visually aligned even when labels have different lengths. */
html body .ufe-badge-stack.ufe-image-position-top_right > .ufe-badge,
html body .ufe-badge-stack.ufe-image-position-bottom_right > .ufe-badge,
html body .ufe-badge-stack.ufe-image-position-center_right > .ufe-badge,
html body .ufe-badge-stack.ufe-image-position-top_left > .ufe-badge,
html body .ufe-badge-stack.ufe-image-position-bottom_left > .ufe-badge,
html body .ufe-badge-stack.ufe-image-position-center_left > .ufe-badge {
	align-self: stretch !important;
	justify-content: center !important;
	text-align: center !important;
	white-space: nowrap !important;
}
