/*
 * Archive / shop loop pricing — legacy non-material cards + material hover price visibility.
 * Material Figma card title/price: figma-material-loop-card-pricing.css (5778:2).
 * Non-material scope uses li.product:not(.material).
 * Two body shapes: inner div.woocommerce vs body.woocommerce-only (Salient / FacetWP).
 */

body:not(.single-product) .woocommerce .material.product:hover .product-wrap .product-meta .price {
	opacity: 0 !important;
}

/* Material Figma: keep price visible on card hover (beat Salient fade above). */
body:not(.single-product) .woocommerce li.product.material:hover .product-wrap .product-meta > .price,
body:not(.single-product) .woocommerce li.product.material:hover .product-wrap .product-meta .price,
body:not(.single-product).woocommerce li.product.material:hover .product-wrap .product-meta > .price,
body:not(.single-product).woocommerce li.product.material:hover .product-wrap .product-meta .price {
	opacity: 1 !important;
}

/* --- Legacy loop (non-material) — shared selector list --- */
body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price bdi,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .price bdi,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price bdi,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price bdi,
body.archive ul.products li.product:not(.material) .price bdi,
body.tax-product_cat ul.products li.product:not(.material) .price bdi,
ul.products li.product:not(.material) .price bdi {
	font-size: 26px !important;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price ins bdi,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .price ins bdi,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price ins bdi,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price ins bdi,
body.archive ul.products li.product:not(.material) .price ins bdi,
body.tax-product_cat ul.products li.product:not(.material) .price ins bdi,
ul.products li.product:not(.material) .price ins bdi {
	font-size: 22px !important;
	font-weight: 700;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price del bdi,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .price del bdi,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price del bdi,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price del bdi,
body.archive ul.products li.product:not(.material) .price del bdi,
body.tax-product_cat ul.products li.product:not(.material) .price del bdi,
ul.products li.product:not(.material) .price del bdi {
	font-size: 16px !important;
	opacity: 0.7;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
body.archive ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
body.tax-product_cat ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi {
	font-size: 26px !important;
	font-weight: 700;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
body.archive ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
body.tax-product_cat ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi {
	font-size: 20px !important;
	opacity: 0.7;
}

@media screen and (max-width: 600px) {
	body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price bdi,
	body:not(.single-product).woocommerce ul.products li.product:not(.material) .price bdi,
	body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price bdi,
	body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price bdi,
	body.archive ul.products li.product:not(.material) .price bdi,
	body.tax-product_cat ul.products li.product:not(.material) .price bdi,
	ul.products li.product:not(.material) .price bdi {
		font-size: 24px !important;
	}

	body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price ins bdi,
	body:not(.single-product).woocommerce ul.products li.product:not(.material) .price ins bdi,
	body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price ins bdi,
	body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price ins bdi,
	body.archive ul.products li.product:not(.material) .price ins bdi,
	body.tax-product_cat ul.products li.product:not(.material) .price ins bdi,
	ul.products li.product:not(.material) .price ins bdi {
		font-size: 24px !important;
	}

	body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price del bdi,
	body:not(.single-product).woocommerce ul.products li.product:not(.material) .price del bdi,
	body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price del bdi,
	body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price del bdi,
	body.archive ul.products li.product:not(.material) .price del bdi,
	body.tax-product_cat ul.products li.product:not(.material) .price del bdi,
	ul.products li.product:not(.material) .price del bdi {
		font-size: 15px !important;
	}

	body:not(.single-product) .woocommerce ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
	body:not(.single-product).woocommerce ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
	body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
	body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
	body.archive ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
	body.tax-product_cat ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi,
	ul.products li.product:not(.material) .product-wrap .product-meta .price ins bdi {
		font-size: 24px !important;
	}

	body:not(.single-product) .woocommerce ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
	body:not(.single-product).woocommerce ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
	body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
	body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
	body.archive ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
	body.tax-product_cat ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi,
	ul.products li.product:not(.material) .product-wrap .product-meta .price del bdi {
		font-size: 15px !important;
	}
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price bdi span.woocommerce-Price-currencySymbol,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .price bdi span.woocommerce-Price-currencySymbol,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price bdi span.woocommerce-Price-currencySymbol,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price bdi span.woocommerce-Price-currencySymbol,
body.archive ul.products li.product:not(.material) .price bdi span.woocommerce-Price-currencySymbol,
body.tax-product_cat ul.products li.product:not(.material) .price bdi span.woocommerce-Price-currencySymbol,
ul.products li.product:not(.material) .price bdi span.woocommerce-Price-currencySymbol {
	font-size: 12px !important;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price ins bdi,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .price ins bdi,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price ins bdi,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price ins bdi,
body.archive ul.products li.product:not(.material) .price ins bdi,
body.tax-product_cat ul.products li.product:not(.material) .price ins bdi,
ul.products li.product:not(.material) .price ins bdi {
	color: #a31111 !important;
}

.archive span.price > span.devnet_fsl-label,
.archive p.price > span.devnet_fsl-label {
	margin: 25px 0 -12px;
	padding: 10px;
	font-size: 15px;
	position: relative !important;
	bottom: -40px !important;
	width: 100% !important;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) span.price,
body:not(.single-product).woocommerce ul.products li.product:not(.material) span.price,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) span.price,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) span.price,
body.archive ul.products li.product:not(.material) span.price,
body.tax-product_cat ul.products li.product:not(.material) span.price,
ul.products li.product:not(.material) span.price {
	min-height: 0;
	margin-top: 5px;
	margin-bottom: 30px;
	flex-direction: column !important;
	align-items: flex-start;
	row-gap: 2px;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) span.price > span,
body:not(.single-product).woocommerce ul.products li.product:not(.material) span.price > span,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) span.price > span,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) span.price > span,
body.archive ul.products li.product:not(.material) span.price > span,
body.tax-product_cat ul.products li.product:not(.material) span.price > span,
ul.products li.product:not(.material) span.price > span {
	margin-top: auto;
}

@media screen and (max-width: 999px) {
	body:not(.single-product) ul.products > li.product .product-add-to-cart {
		border: 0;
		opacity: unset !important;
		position: relative !important;
		padding: 0 !important;
		bottom: 15px !important;
	}

	body:not(.single-product) ul.products > li.product .product-add-to-cart > span.price {
		display: none !important;
		padding: 0 !important;
		border: none;
	}

	body:not(.single-product) ul.products > li.product .product-add-to-cart > span.text {
		margin-top: 3px;
	}

	body:not(.single-product) .woocommerce .material.product .product-wrap .product-add-to-cart a > span {
		font-size: 10px !important;
	}

	body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price del bdi,
	body:not(.single-product).woocommerce ul.products li.product:not(.material) .price del bdi,
	body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price del bdi,
	body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price del bdi,
	body.archive ul.products li.product:not(.material) .price del bdi,
	body.tax-product_cat ul.products li.product:not(.material) .price del bdi,
	ul.products li.product:not(.material) .price del bdi {
		font-size: 15px !important;
	}
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price del,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .price del,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price del,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price del,
body.archive ul.products li.product:not(.material) .price del,
body.tax-product_cat ul.products li.product:not(.material) .price del,
ul.products li.product:not(.material) .price del {
	text-decoration-line: line-through;
	text-decoration-thickness: 2px;
	text-decoration-color: rgba(0, 0, 0, 0.6);
	text-decoration-skip-ink: none;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price del,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .price del,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price del,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price del,
body.archive ul.products li.product:not(.material) .price del,
body.tax-product_cat ul.products li.product:not(.material) .price del,
ul.products li.product:not(.material) .price del {
	text-decoration: none !important;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price del bdi,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .price del bdi,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price del bdi,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price del bdi,
body.archive ul.products li.product:not(.material) .price del bdi,
body.tax-product_cat ul.products li.product:not(.material) .price del bdi,
ul.products li.product:not(.material) .price del bdi {
	position: relative;
	display: inline-block;
	line-height: 1;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price del bdi::after,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .price del bdi::after,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price del bdi::after,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price del bdi::after,
body.archive ul.products li.product:not(.material) .price del bdi::after,
body.tax-product_cat ul.products li.product:not(.material) .price del bdi::after,
ul.products li.product:not(.material) .price del bdi::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 0.1em;
	background-color: currentColor;
	opacity: 0.7;
	pointer-events: none;
}

body:not(.single-product) .woocommerce .material.product .product-wrap .product-meta .price {
	margin-top: auto;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .product-add-to-cart .price,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .product-add-to-cart .price,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price,
body.archive ul.products li.product:not(.material) .product-add-to-cart .price,
body.tax-product_cat ul.products li.product:not(.material) .product-add-to-cart .price,
ul.products li.product:not(.material) .product-add-to-cart .price {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start;
	row-gap: 2px;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .product-add-to-cart .price del,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .product-add-to-cart .price del,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price del,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price del,
body.archive ul.products li.product:not(.material) .product-add-to-cart .price del,
body.tax-product_cat ul.products li.product:not(.material) .product-add-to-cart .price del,
ul.products li.product:not(.material) .product-add-to-cart .price del {
	text-decoration-line: line-through;
	text-decoration-thickness: 2px;
	text-decoration-color: rgba(0, 0, 0, 0.6);
	text-decoration-skip-ink: none;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .product-add-to-cart .price del,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .product-add-to-cart .price del,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price del,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price del,
body.archive ul.products li.product:not(.material) .product-add-to-cart .price del,
body.tax-product_cat ul.products li.product:not(.material) .product-add-to-cart .price del,
ul.products li.product:not(.material) .product-add-to-cart .price del {
	text-decoration: none !important;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .product-add-to-cart .price del bdi,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .product-add-to-cart .price del bdi,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price del bdi,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price del bdi,
body.archive ul.products li.product:not(.material) .product-add-to-cart .price del bdi,
body.tax-product_cat ul.products li.product:not(.material) .product-add-to-cart .price del bdi,
ul.products li.product:not(.material) .product-add-to-cart .price del bdi {
	position: relative;
	display: inline-block;
	line-height: 1;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .product-add-to-cart .price del bdi::after,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .product-add-to-cart .price del bdi::after,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price del bdi::after,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price del bdi::after,
body.archive ul.products li.product:not(.material) .product-add-to-cart .price del bdi::after,
body.tax-product_cat ul.products li.product:not(.material) .product-add-to-cart .price del bdi::after,
ul.products li.product:not(.material) .product-add-to-cart .price del bdi::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 0.1em;
	background-color: currentColor;
	opacity: 0.7;
	pointer-events: none;
}

body:not(.single-product) .woocommerce ul.products li.product:not(.material) .price del::after,
body:not(.single-product) .woocommerce ul.products li.product:not(.material) .product-add-to-cart .price del::after,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .price del::after,
body:not(.single-product).woocommerce ul.products li.product:not(.material) .product-add-to-cart .price del::after,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .price del::after,
body:not(.single-product) .woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price del::after,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .price del::after,
body:not(.single-product).woocommerce-page ul.products li.product:not(.material) .product-add-to-cart .price del::after,
body.archive ul.products li.product:not(.material) .price del::after,
body.archive ul.products li.product:not(.material) .product-add-to-cart .price del::after,
body.tax-product_cat ul.products li.product:not(.material) .price del::after,
body.tax-product_cat ul.products li.product:not(.material) .product-add-to-cart .price del::after,
ul.products li.product:not(.material) .price del::after,
ul.products li.product:not(.material) .product-add-to-cart .price del::after {
	content: none !important;
}

/* Product title clamp — archive / loop */
body:not(.single-product) .woocommerce ul.products li.product .woocommerce-loop-product__title,
body:not(.single-product) .woocommerce ul.products li.product .woocommerce-loop-product__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-clamp: 2;
	line-height: 1.25em !important;
	max-height: 3em !important;
	height: 3em !important;
	overflow-wrap: anywhere;
}

body:not(.single-product) .woocommerce .material.product .product-wrap h2.woocommerce-loop-product__title,
body:not(.single-product) .woocommerce .material.product .product-wrap h2.woocommerce-loop-product__title a {
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	line-clamp: 2 !important;
	white-space: normal !important;
	word-break: break-word;
	line-height: 1.25em !important;
	max-height: 3em !important;
	height: 3em !important;
}

@media screen and (max-width: 999px) {
	body:not(.single-product) .woocommerce ul.products li.product .product-add-to-cart a > span.price,
	body:not(.single-product) .woocommerce ul.products li.product .product-add-to-cart .price {
		display: none !important;
	}
}
