.anlp-price-stack,
.anlp-main-price-line {
	display: block !important;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	white-space: normal !important;
}

.anlp-price-stack {
	text-align: center !important;
}

.anlp-current-price,
.anlp-reference-price,
.anlp-admin-warning {
	display: block !important;
	box-sizing: border-box;
	width: 100%;
	white-space: normal !important;
	line-height: 1.45;
}

.anlp-current-price {
	margin-bottom: .2em;
}

.anlp-reference-price {
	margin-top: .22em;
	font-size: 12px !important;
	color: inherit;
	font-style: italic !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
}

/* Inner WooCommerce price markup must follow the wrapper. This keeps the
 * default output stable while allowing the admin Custom CSS field to override
 * size, color and typography on .anlp-reference-price itself. */
.anlp-reference-price * {
	font-size: inherit !important;
	color: inherit !important;
	font-style: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
}

.anlp-admin-warning {
	margin-top: .35em;
	padding: .35em .55em;
	border-left: 4px solid #d63638;
	background: #fcf0f1;
	color: #8a2424;
	font-size: 12px;
}

.anlp-variation-note {
	white-space: nowrap;
}

.anlp-reference-label-full {
	display: none;
}

.anlp-reference-label-compact {
	display: inline;
}

/* Theme-independent WooCommerce loop stabilization. A compact legal label and
 * reserved price area stop one product from unexpectedly stretching its row. */
body:not(.anlp-display-single-only) .woocommerce .products .price {
	min-height: 3.35em;
}

.woocommerce .products .anlp-price-stack {
	line-height: 1.3;
	text-align: center !important;
}

/* Price suffixes and price notes added by another plugin also start below the
 * main WooCommerce regular/sale price when they are direct children. */
.woocommerce .products .anlp-main-price-line > small,
.woocommerce .products .anlp-main-price-line > em,
.woocommerce .products .anlp-main-price-line > span:not(.woocommerce-Price-amount):not(.screen-reader-text) {
	display: block !important;
	width: 100%;
	margin-top: .14em;
}

.single-product .anlp-price-stack {
	text-align: inherit !important;
}

.single-product .products .anlp-price-stack {
	text-align: center !important;
}

.anlp-variation-reference-slot {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin-top: .22em;
	text-align: inherit;
}

.anlp-variation-reference-slot[hidden] {
	display: none !important;
}

.anlp-variation-reference-slot .anlp-reference-price,
.anlp-variation-reference-slot .anlp-admin-warning {
	margin-top: 0;
}

.single-product .anlp-variation-reference-slot .anlp-reference-label-full {
	display: inline;
}

.single-product .anlp-variation-reference-slot .anlp-reference-label-compact {
	display: none;
}

.single-product div.product .summary .anlp-reference-label-full {
	display: inline;
}

.single-product div.product .summary .anlp-reference-label-compact {
	display: none;
}
