/* Prapti Design: "Get it FREE with Pro" card on single product pages. */

#custom-product-buy-container .pd-pro-upsell,
.pd-pro-upsell {
	position: relative;
	box-sizing: border-box;
	margin-top: 22px;
	padding: 22px 18px 18px;
	border: 1.5px solid #d7d3fb;
	border-radius: 0.75rem;
	background: #f8f7ff;
	color: #2a2b2a;
	font-family: inherit;
	line-height: 1.3;
}

#custom-product-buy-container .pd-pro-upsell *,
.pd-pro-upsell * {
	box-sizing: border-box;
}

#custom-product-buy-container .pd-pro-upsell__badge,
.pd-pro-upsell__badge {
	position: absolute;
	top: -11px;
	right: 14px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, #7a6ff8, #6a5cf6);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	pointer-events: none;
	white-space: nowrap;
}

#custom-product-buy-container .pd-pro-upsell__title,
.pd-pro-upsell__title {
	margin: 0 0 4px;
	padding: 0;
	color: #2a2b2a;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.25;
	text-transform: uppercase;
}

#custom-product-buy-container .pd-pro-upsell__price,
.pd-pro-upsell__price {
	margin: 0;
	color: #2a2b2a;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

#custom-product-buy-container .pd-pro-upsell__price .woocommerce-Price-amount,
#custom-product-buy-container .pd-pro-upsell__price bdi,
.pd-pro-upsell__price .woocommerce-Price-amount,
.pd-pro-upsell__price bdi {
	font: inherit;
	color: inherit;
}

#custom-product-buy-container .pd-pro-upsell__price-period,
.pd-pro-upsell__price-period {
	color: #6b7280;
	font-size: 13px;
	font-weight: 500;
}

#custom-product-buy-container .pd-pro-upsell__yearly,
.pd-pro-upsell__yearly {
	margin: 2px 0 10px;
	color: #6b7280;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

#custom-product-buy-container .pd-pro-upsell__yearly .woocommerce-Price-amount,
#custom-product-buy-container .pd-pro-upsell__yearly bdi,
.pd-pro-upsell__yearly .woocommerce-Price-amount,
.pd-pro-upsell__yearly bdi {
	font: inherit;
	color: inherit;
}

#custom-product-buy-container .pd-pro-upsell__list,
.pd-pro-upsell__list {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

#custom-product-buy-container .pd-pro-upsell__list li,
.pd-pro-upsell__list li {
	position: relative;
	margin: 0;
	padding: 0 0 6px 22px;
	color: #374151;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

#custom-product-buy-container .pd-pro-upsell__list li:last-child,
.pd-pro-upsell__list li:last-child {
	padding-bottom: 0;
}

#custom-product-buy-container .pd-pro-upsell__list li::before,
.pd-pro-upsell__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 15px;
	height: 15px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E");
}

#custom-product-buy-container .pd-pro-upsell__cta,
.pd-pro-upsell__cta {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 16px;
	border: 1.5px solid #7a6ff8;
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: none;
	color: #6a5cf6;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

#custom-product-buy-container .pd-pro-upsell__cta:hover,
#custom-product-buy-container .pd-pro-upsell__cta:focus,
.pd-pro-upsell__cta:hover,
.pd-pro-upsell__cta:focus {
	background: #7a6ff8;
	border-color: #7a6ff8;
	color: #fff;
	text-decoration: none;
}

#custom-product-buy-container .pd-pro-upsell__cta:focus-visible,
.pd-pro-upsell__cta:focus-visible {
	outline: 2px solid #7a6ff8;
	outline-offset: 3px;
}

#custom-product-buy-container .pd-pro-upsell__login,
.pd-pro-upsell__login {
	display: block;
	margin: 10px 0 0;
	color: #6b7280;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

#custom-product-buy-container .pd-pro-upsell__login a,
.pd-pro-upsell__login a {
	color: #7a6ff8;
	text-decoration: none;
	box-shadow: none;
	background: transparent;
}

#custom-product-buy-container .pd-pro-upsell__login a:hover,
#custom-product-buy-container .pd-pro-upsell__login a:focus,
.pd-pro-upsell__login a:hover,
.pd-pro-upsell__login a:focus {
	color: #6a5cf6;
	text-decoration: underline;
}

/* Active member: confirmation box (Buy Now stays the $0 checkout path). */
#custom-product-buy-container .pd-pro-upsell--member,
.pd-pro-upsell--member {
	margin-top: 18px;
	padding: 20px 18px;
	border: 1.5px solid #c9f0dd;
	border-radius: 0.75rem;
	background: #f3fbf7;
	text-align: center;
}

#custom-product-buy-container .pd-pro-upsell--member .pd-pro-upsell__title,
.pd-pro-upsell--member .pd-pro-upsell__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

#custom-product-buy-container .pd-pro-upsell--member .pd-pro-upsell__note,
.pd-pro-upsell--member .pd-pro-upsell__note {
	margin: 0;
	color: #374151;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

@media (min-width: 991px) {
	#custom-product-buy-container .pd-pro-upsell,
	.pd-pro-upsell {
		padding: 24px 20px 20px;
	}

	#custom-product-buy-container .pd-pro-upsell__badge,
	.pd-pro-upsell__badge {
		right: 18px;
		font-size: 11px;
	}

	#custom-product-buy-container .pd-pro-upsell__title,
	.pd-pro-upsell__title {
		font-size: 16px;
	}

	#custom-product-buy-container .pd-pro-upsell__price,
	.pd-pro-upsell__price {
		font-size: 16px;
	}

	#custom-product-buy-container .pd-pro-upsell__list li,
	.pd-pro-upsell__list li {
		font-size: 13px;
	}

	#custom-product-buy-container .pd-pro-upsell--member .pd-pro-upsell__title,
	.pd-pro-upsell--member .pd-pro-upsell__title {
		font-size: 18px;
	}
}
