/* Keep the pre-order label separate from the theme's sale badge. */
.woocommerce ul.products li.product,
.wc-block-grid__product {
	position: relative;
}

.woocommerce ul.products li.product .wc-pre-orders-product-badge,
.wc-block-grid__product .wc-pre-orders-product-badge,
.wc-pre-orders-single-product-badge .wc-pre-orders-product-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	left: auto;
	z-index: 5;
	display: inline-block;
	max-width: calc(100% - 20px);
	box-sizing: border-box;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f7232b;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	overflow-wrap: anywhere;
	pointer-events: none;
}

/* Meatlers positions the container and lays its labels out together. */
.woocommerce ul.products li.product .product-labels .wc-pre-orders-product-badge--theme,
ul.products li.product .product-labels .wc-pre-orders-product-badge--theme,
.single-product-labels .wc-pre-orders-product-badge--theme {
	position: static;
	max-width: 100%;
	margin: 0;
	padding: 3px 14px;
	border-radius: 20px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4285714286;
	background: #f7232b;
	color: #fff;
}

.single-product-labels .wc-pre-orders-product-badge--theme {
	margin: 0 0 15px 5px;
}

.wc-pre-orders-single-product-badge {
	margin-bottom: 15px;
}

.wc-pre-orders-single-product-badge .wc-pre-orders-product-badge {
	position: static;
}
