/**
 * Pacific Research Peptides — shared catalog-card density
 * Final component contract for archive, homepage, carousel, and related cards.
 */

body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog .prp-product-card__body,
.prp-premium-v2 .prp-product-card--premium-catalog .prp-product-card__body {
	min-height: 232px;
	padding: 18px 18px 16px;
}

body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog h3,
.prp-premium-v2 .prp-product-card--premium-catalog h3 {
	display: -webkit-box;
	min-height: 2.36em;
	max-height: 2.36em;
	margin: 0;
	overflow: hidden;
	font-size: clamp(1.4rem, 1.55vw, 1.55rem);
	font-weight: 760;
	letter-spacing: -0.025em;
	line-height: 1.18;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog .prp-price,
.prp-premium-v2 .prp-product-card--premium-catalog .prp-price {
	margin: 8px 0 10px;
	font-size: 1.12rem;
	line-height: 1.2;
}

body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog .prp-member-price__retail,
body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog .prp-member-price__pay,
.prp-premium-v2 .prp-product-card--premium-catalog .prp-member-price__retail,
.prp-premium-v2 .prp-product-card--premium-catalog .prp-member-price__pay {
	align-items: baseline;
}

body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog .prp-member-price__retail > span,
body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog .prp-member-price__pay > span,
.prp-premium-v2 .prp-product-card--premium-catalog .prp-member-price__retail > span,
.prp-premium-v2 .prp-product-card--premium-catalog .prp-member-price__pay > span {
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.055em;
	line-height: 1;
	text-transform: uppercase;
}

body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog .prp-member-price__retail del,
.prp-premium-v2 .prp-product-card--premium-catalog .prp-member-price__retail del {
	color: #7b8798;
	font-size: 0.88rem;
	font-weight: 750;
}

body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog .prp-member-price__pay ins,
.prp-premium-v2 .prp-product-card--premium-catalog .prp-member-price__pay ins {
	color: #0e704f;
	font-size: 1.45rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
}

body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog .prp-button,
.prp-premium-v2 .prp-product-card--premium-catalog .prp-button {
	margin-top: auto;
}

@media (max-width: 560px) {
	body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog .prp-product-card__body,
	.prp-premium-v2 .prp-product-card--premium-catalog .prp-product-card__body {
		min-height: 220px;
		padding: 16px 16px 14px;
	}

	body.prp-premium-v2.woocommerce ul.products .prp-product-card--premium-catalog h3,
	.prp-premium-v2 .prp-product-card--premium-catalog h3 {
		min-height: 2.36em;
		max-height: 2.36em;
		font-size: 1.42rem;
	}
}

/* Single-product related and upsell grids load a later WooCommerce rule set. */
body.prp-premium-v2.single-product.woocommerce .related.products .prp-product-card--premium-catalog .prp-product-card__body,
body.prp-premium-v2.single-product.woocommerce .upsells.products .prp-product-card--premium-catalog .prp-product-card__body {
	min-height: 232px;
	padding: 18px 18px 16px;
}

body.prp-premium-v2.single-product.woocommerce .related.products .prp-product-card--premium-catalog h3,
body.prp-premium-v2.single-product.woocommerce .upsells.products .prp-product-card--premium-catalog h3 {
	display: -webkit-box;
	min-height: 2.36em;
	max-height: 2.36em;
	margin: 0;
	overflow: hidden;
	font-size: clamp(1.4rem, 1.55vw, 1.55rem);
	font-weight: 760;
	letter-spacing: -0.025em;
	line-height: 1.18;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.prp-premium-v2.single-product.woocommerce .related.products .prp-product-card--premium-catalog .prp-price,
body.prp-premium-v2.single-product.woocommerce .upsells.products .prp-product-card--premium-catalog .prp-price {
	margin: 8px 0 10px;
	font-size: 1.12rem;
	line-height: 1.2;
}

body.prp-premium-v2.single-product.woocommerce .related.products .prp-product-card--premium-catalog .prp-member-price__retail del,
body.prp-premium-v2.single-product.woocommerce .upsells.products .prp-product-card--premium-catalog .prp-member-price__retail del {
	color: #7b8798;
	font-size: 0.88rem;
	font-weight: 750;
}

body.prp-premium-v2.single-product.woocommerce .related.products .prp-product-card--premium-catalog .prp-member-price__pay ins,
body.prp-premium-v2.single-product.woocommerce .upsells.products .prp-product-card--premium-catalog .prp-member-price__pay ins {
	color: #0e704f;
	font-size: 1.45rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
}

@media (max-width: 560px) {
	body.prp-premium-v2.single-product.woocommerce .related.products .prp-product-card--premium-catalog .prp-product-card__body,
	body.prp-premium-v2.single-product.woocommerce .upsells.products .prp-product-card--premium-catalog .prp-product-card__body {
		min-height: 220px;
		padding: 16px 16px 14px;
	}

	body.prp-premium-v2.single-product.woocommerce .related.products .prp-product-card--premium-catalog h3,
	body.prp-premium-v2.single-product.woocommerce .upsells.products .prp-product-card--premium-catalog h3 {
		min-height: 2.36em;
		max-height: 2.36em;
		font-size: 1.42rem;
	}
}
