.lpp-engraving-badge.product-label,
.product-labels .lpp-engraving-badge.product-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: auto;
	min-width: 0;
	max-width: 100%;
	min-height: 0;
	padding: 7px 10px;
	border: 1px solid #ff652f;
	border-radius: 999px;
	background: linear-gradient(135deg, #fff8f2, #ffeadf);
	box-shadow: 0 2px 6px rgb(85 35 12 / 10%);
	color: #9b3212;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .02em;
	text-transform: none;
	white-space: nowrap;
}

.lpp-engraving-badge svg {
	display: block;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

.product-labels:has(> .lpp-engraving-badge) {
	inset-inline-end: 7px;
	min-height: 32px;
	pointer-events: none;
}

.product-labels > .lpp-engraving-badge.product-label {
	position: absolute;
	top: 0;
	inset-inline-end: 0;
}

.product-element-top:has(.lpp-engraving-badge) .wd-buttons.wd-pos-r-t {
	top: 47px;
}

.woocommerce-product-gallery .product-labels:has(> .lpp-engraving-badge) {
	inset-inline-start: 15px;
	inset-inline-end: 15px;
}

.woocommerce-product-gallery .product-labels > .lpp-engraving-badge.product-label {
	inset-inline-start: 0;
	inset-inline-end: auto;
}

@media (max-width: 576px) {
	.woocommerce-product-gallery .product-labels:has(> .lpp-engraving-badge) {
		inset-inline-start: 10px;
		inset-inline-end: 10px;
	}

	.product-labels:has(> .lpp-engraving-badge) {
		min-height: 28px;
	}

	.product-element-top:has(.lpp-engraving-badge) .wd-buttons.wd-pos-r-t {
		top: 43px;
	}

	.lpp-engraving-badge.product-label,
	.product-labels .lpp-engraving-badge.product-label {
		gap: 4px;
		padding: 6px 8px;
		font-size: 11px;
	}

	.lpp-engraving-badge svg {
		flex-basis: 14px;
		width: 14px;
		height: 14px;
	}
}
