/* Down Inc MSRP/MAP front-end styling */

/* Hide the parent variable-product price/range at the top of the summary.
   The selected variation price is the only price area we decorate. */
.single-product .product-type-variable .summary > p.price,
.single-product .product-type-variable .summary > .price {
	display: none !important;
}

/* Keep the selected variation price tight above the add-to-cart row. */
.single-product .single_variation,
.single-product .woocommerce-variation.single_variation {
	margin: 0 0 8px !important;
	padding: 0 !important;
}

.single-product .woocommerce-variation-price {
	margin: 0 0 4px !important;
	padding: 0 !important;
}

/* Price + MSRP/MAP layout: large Woo price on left, stacked MSRP/MAP on right. */
.di-msrp-map-price-host,
.woocommerce-variation-price .price.di-msrp-map-price-host {
	display: inline-flex !important;
	align-items: flex-start !important;
	gap: 22px !important;
	flex-wrap: nowrap !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* The stacked MSRP/MAP block. */
.di-msrp-map-inline {
	display: inline-flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 2px !important;
	margin: 6px 0 0 0 !important;
	font-size: 0.46em !important;
	line-height: 1.15 !important;
	vertical-align: top !important;
	white-space: nowrap !important;
	color: #51758c !important;
}

/* Archive/simple product fallback styling, when enabled. */
.di-msrp-map-inline--loop,
.summary > .price .di-msrp-map-inline--single {
	font-size: 0.50em !important;
	margin-left: 22px !important;
	margin-top: 4px !important;
}

.di-msrp-map-item {
	display: flex !important;
	align-items: baseline !important;
	gap: 5px !important;
	color: #51758c !important;
}

.di-msrp-map-label,
.di-msrp-map-value,
.di-msrp-map-inline .woocommerce-Price-amount,
.di-msrp-map-inline .amount,
.di-msrp-map-inline bdi {
	font-weight: 500 !important;
	color: #51758c !important;
}

.di-msrp-map-label sup {
	font-size: 0.68em !important;
	line-height: 0 !important;
	position: relative !important;
	top: -0.28em !important;
	margin-left: 1px !important;
}

/* Footnote below the add-to-cart/form area. */
.di-msrp-map-footnote {
	margin: 8px 0 0 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	color: #666 !important;
}

.di-msrp-map-footnote-symbol {
	display: inline-block !important;
	min-width: 14px !important;
}

/* Prevent odd extra spacing some themes add around variation forms. */
.single-product form.variations_form,
.single-product .single_variation_wrap {
	margin-bottom: 0 !important;
}

.products .di-msrp-map-footnote {
	font-size: 10.5px !important;
	margin-top: 5px !important;
}

@media (max-width: 480px) {
	.di-msrp-map-price-host,
	.woocommerce-variation-price .price.di-msrp-map-price-host {
		display: flex !important;
		align-items: flex-start !important;
		gap: 6px !important;
		flex-direction: column !important;
	}

	.di-msrp-map-inline {
		font-size: 0.52em !important;
		margin-top: 0 !important;
	}
}
.single-product .di-msrp-map-inline,
.single-product .di-msrp-map-inline *,
.single-product .di-msrp-map-item,
.single-product .di-msrp-map-label,
.single-product .di-msrp-map-value,
.single-product .di-msrp-map-inline .amount,
.single-product .di-msrp-map-inline bdi {
	color: #51758c !important;
}