/* Center the complete badge against its existing image host. The individual
 * translate property is a positioning layer; artwork transform is never replaced.
 * Only the two new IDs match these rules. Existing corner geometry is untouched. */
.ys-qb-badge:is(.ys-qb-pos-top_center, .ys-qb-pos-bottom_center) {
	left: 0 !important;
	right: auto !important;
	margin: 0;
	translate: var(--ys-qb-center-x, 0px) var(--ys-qb-center-y, 0px);
	scale: var(--ys-qb-center-fit, 1);
}
.ys-qb-badge.ys-qb-pos-top_center {
	top: 8px !important;
	bottom: auto !important;
}
.ys-qb-badge.ys-qb-pos-bottom_center {
	bottom: 8px !important;
	top: auto !important;
}
/* Standalone gallery/Selected Design artwork is not a product-image overlay. */
:is(.ys-qb-gallery-tile__badge, .ys-qb-ct-selected__badgewrap)
	.ys-qb-badge:is(.ys-qb-pos-top_center, .ys-qb-pos-bottom_center) {
	translate: none;
	scale: none;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	bottom: auto !important;
}
