/**
 * PC Precision — box rate PDP (trial BNPL).
 */

body.single-product .pcp-product-installments:has(.pcp-bnpl-pdp) {
	margin: 0.75rem 0 1rem;
	display: block;
}

body.single-product .pcp-bnpl-pdp {
	box-sizing: border-box;
	padding: 1rem 1.15rem 0.85rem;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 10px;
	background: #f3f4f6;
	color: #0f172a;
}

body.single-product .pcp-bnpl-pdp__title {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	color: #0f172a;
}

body.single-product .pcp-bnpl-pdp__providers {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

body.single-product .pcp-bnpl-pdp__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-height: 2rem;
}

body.single-product .pcp-bnpl-pdp__row scalapay-widget,
body.single-product .pcp-bnpl-pdp__row .pcp-bnpl-pdp__stripe-slot {
	flex: 1 1 auto;
	min-width: 0;
}

body.single-product .pcp-bnpl-pdp__stripe-slot .wc-stripe-bnpl-product-message {
	margin: 0 !important;
	width: 100%;
}

body.single-product .pcp-bnpl-pdp__legal {
	margin: 0.75rem 0 0;
	font-size: 0.68rem;
	line-height: 1.45;
	color: #64748b;
}

body.single-product form.cart > .wc-stripe-bnpl-product-message:not(.pcp-bnpl-pdp__stripe-slot .wc-stripe-bnpl-product-message) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
}

body.single-product .pcp-bnpl-pdp--empty {
	display: none;
}

@media (max-width: 767px) {
	body.single-product .pcp-bnpl-pdp {
		padding: 0.9rem 0.95rem 0.75rem;
	}

	body.single-product .pcp-bnpl-pdp__title {
		font-size: 0.9rem;
	}
}
