/* LP plan cards (DEV2-6262) — horizontal BrandPlanGroup + tall FeaturedPlanCard */

/* ---- Shared resets vs theme `.plan.card` ---- */
.dp-lp-plan-card,
.dp-lp-plan-card.plan.card {
	position: relative;
	margin: 0;
	border: none;
	overflow: visible;
	background: #fff;
	box-shadow: 0 4px 16px rgba(22, 27, 32, 0.07), 0 2px 6px rgba(22, 27, 32, 0.04);
	padding: 0;
	max-width: 100%;
	border-radius: 24px;
}

.dp-lp-plan-card__promo-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 0;
}

.dp-lp-plan-card__strike {
	font-size: 14px;
	line-height: 1.2;
	text-decoration: line-through;
	color: var(--wp--preset--color--utility, #4b5260);
	font-weight: 400;
}

.dp-lp-plan-card__strike--inline {
	margin-right: 4px;
}

/* Mint SAVE pill: shared rules in promo-save-badge/style.css (.dp-lp-plan-card__save-badge). */

.dp-lp-plan-card__logo {
	height: 72px;
	max-width: 200px;
	width: 100%;
}

.dp-lp-plan-card__logo img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: contain;
	object-position: left center;
}

/* Beat theme `.plan.card h2` fluid calc (~35px) — FeaturedPlanCard / BrandPlanGroup use 20/28 */
.dp-lp-plan-card.plan.card h2.dp-lp-plan-card__name,
.dp-lp-plan-card__name {
	margin: 0 !important;
	padding: 0 !important;
	color: #070808 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 28px !important;
}

.dp-lp-plan-card__cta-primary {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
	border-radius: 100px;
	padding: 11px 30px;
	min-height: 50px;
	font-size: 16px;
	font-weight: 800;
	line-height: 26px;
	text-transform: none;
	color: var(--wp--custom--color--primary, #2445ea);
	border: 2px solid var(--wp--custom--color--primary, #2445ea);
	background: transparent;
}

.dp-lp-plan-card__cta-primary:hover {
	color: var(--wp--custom--color--primary, #2445ea);
	text-decoration: none;
	background-color: rgba(36, 69, 234, 0.04);
}

.dp-lp-plan-card__cta-text {
	font-size: 14px;
	font-weight: 800;
	color: var(--wp--custom--color--primary, #2445ea);
	text-decoration: none;
	min-width: 0;
	padding: 0;
}

.dp-lp-plan-card__cta-text:hover {
	text-decoration: underline;
	background: transparent;
}

/* ---- Horizontal (BrandPlanGroup single-plan) ---- */
.dp-lp-plan-card--horizontal {
	width: 100%;
}

.dp-lp-plan-card__horizontal-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	padding: 12px;
	align-items: center;
}

.dp-lp-plan-card__brand {
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.dp-lp-plan-card__brand--insurance {
	background-image: var(--wp--preset--gradient--dental-insurance-soft);
}

.dp-lp-plan-card__brand--savings {
	background-image: var(--wp--preset--gradient--dental-savings-plan-soft);
}

.dp-lp-plan-card__brand-link {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.dp-lp-plan-card__brand .dp-lp-plan-card__name {
	display: flex;
	align-items: center;
}

.dp-lp-plan-card__highlights {
	display: flex;
	flex-direction: column;
	gap: 12px; /* MUI Stack spacing 1.5 */
	padding: 0;
}

.dp-lp-plan-card__highlight {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
}

.dp-lp-plan-card__highlight img {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	object-fit: contain;
}

.dp-lp-plan-card__highlight span {
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4;
	color: #070808;
}

/* Match BrandPlanGroup sole-plan price column: 6px price cluster, then 20px to CTAs */
.dp-lp-plan-card__price-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	align-self: center;
	text-align: center;
	gap: 20px;
	width: 100%;
	max-width: 323px;
	height: auto;
	margin: 0 auto;
	padding: 0;
}

.dp-lp-plan-card__price-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
	margin: 0;
	padding: 0;
}

.dp-lp-plan-card__price-stack > * {
	margin: 0 !important;
	padding: 0;
}

/* Collapse empty promo placeholder so it doesn’t inflate the 6px stack. */
.dp-lp-plan-card__promo-row--empty {
	display: none;
}

.dp-lp-plan-card__promo-row--empty:has([data-skeleton-optional]:not([hidden])) {
	display: flex;
}

.dp-lp-plan-card__price-caption {
	margin: 0 !important;
	font-size: 14px !important;
	line-height: 25px !important;
	font-weight: 600 !important;
	color: rgba(0, 0, 0, 0.6);
	text-align: center;
}

.dp-lp-plan-card__hero-price {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	column-gap: 0;
	margin: 0 !important;
	line-height: 40px;
}

.dp-lp-plan-card__hero-amount {
	font-size: 28px !important;
	line-height: 40px !important;
	font-weight: 800 !important;
	color: #070808;
}

/* DSP hero /year beside large price — BrandPlanGroup brandGroupHeroPeriodSuffixSx */
.dp-lp-plan-card__hero-suffix {
	font-size: 16px !important;
	line-height: 40px !important;
	font-weight: 500;
	color: #070808;
}

/* Insurance /month + sub /year — BrandPlanGroup brandGroupPeriodSuffixSx (25px lh) */
.dp-lp-plan-card__period {
	font-size: 16px !important;
	line-height: 25px !important;
	font-weight: 400;
	color: #070808;
}

.dp-lp-plan-card__period--medium {
	font-weight: 500;
}

.dp-lp-plan-card__sub-price {
	font-size: 16px !important;
	line-height: 25px !important;
	color: #070808;
	margin: 0 !important;
}

.dp-lp-plan-card__sub-amount {
	font-weight: 800 !important;
	font-size: 16px !important;
	line-height: 25px !important;
}

.dp-lp-plan-card__ctas--horizontal {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px; /* ~ MUI spacing 1.5 under insurance secondary CTA */
	width: 100%;
	margin: 0;
	padding: 0;
}

.dp-lp-plan-card__cta-secondary--center {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 0;
}

/* Full-width centered phone/quote under View Plan Details (BrandPlanGroup). */
.dp-lp-plan-card--horizontal .dp-lp-plan-card__cta-secondary--center .dp-lp-plan-card__cta-text {
	display: block;
	width: 100%;
	text-align: center;
}

@media (min-width: 768px) {
	.dp-lp-plan-card__horizontal-grid {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 24px;
		padding: 24px;
		align-items: center;
	}

	.dp-lp-plan-card__hero-amount {
		font-size: 36px !important;
	}

}

/* ---- Featured / tall (FeaturedPlanCard side card) ---- */
.dp-lp-plan-card--featured,
.dp-lp-plan-card--featured.plan.card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 8px;
	background: transparent;
	box-shadow: none !important;
	filter: drop-shadow(0 4px 0 rgba(22, 27, 32, 0));
	transition: filter 200ms ease-in-out;
	width: 100%;
	max-width: 390px;
}

.dp-lp-plan-card--featured:hover {
	filter: drop-shadow(0 4px 12px rgba(22, 27, 32, 0.16));
}

.dp-lp-plan-card__shell {
	position: relative;
	z-index: 2;
	margin-bottom: -24px;
	padding: 8px;
	border-radius: 24px;
	background-color: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.dp-lp-plan-card__header {
	border-radius: 16px;
	padding: 16px;
}

.dp-lp-plan-card__header--insurance {
	background-image: var(--wp--preset--gradient--dental-insurance-soft);
}

.dp-lp-plan-card__header--savings {
	background-image: var(--wp--preset--gradient--dental-savings-plan-soft);
}

.dp-lp-plan-card__header-link {
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.dp-lp-plan-card__type-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 16px;
}

.dp-lp-plan-card__type-icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	display: block;
}

.dp-lp-plan-card__type-label {
	margin: 0 0 0 !important;
	color: var(--wp--preset--color--utility, #4b5260);
	text-transform: uppercase;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 20px !important;
	letter-spacing: 1.4px;
}

.dp-lp-plan-card__type-info {
	display: inline-flex;
	align-items: center;
	cursor: help;
	vertical-align: middle;
	margin-left: 2px;
}

.dp-lp-plan-card__type-info svg {
	display: block;
	width: 12.8px;
	height: 12.8px;
}

.dp-lp-plan-card__header .dp-lp-plan-card__logo {
	margin-top: 10px;
}

.dp-lp-plan-card__header .dp-lp-plan-card__name {
	display: flex;
	align-items: center;
	min-height: 56px;
	width: 100%;
}

.dp-lp-plan-card__body {
	position: relative;
	z-index: 1;
	padding: 48px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	background: #fff;
	border-radius: 0 0 24px 24px;
	flex: 1 1 auto;
}

.dp-lp-plan-card__benefits {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dp-lp-plan-card__benefits li {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: #070808;
}

.dp-lp-plan-card__benefits li img {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.dp-lp-plan-card__value-props {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.dp-lp-plan-card__vp {
	display: flex;
	flex-direction: column;
	padding: 12px;
	border-radius: 12px;
	width: 100%;
	box-sizing: border-box;
	gap: 10px;
}

.dp-lp-plan-card__vp--savings {
	gap: 8px;
	background-color: rgba(36, 69, 234, 0.05);
}

.dp-lp-plan-card__vp--essentials {
	background-color: #f6f7f8;
}

.dp-lp-plan-card__vp--extras {
	background-color: rgba(119, 199, 155, 0.06);
}

.dp-lp-plan-card__vp-title {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.65px;
	color: #070808;
}

.dp-lp-plan-card__vp--essentials .dp-lp-plan-card__vp-title {
	color: var(--wp--preset--color--utility, #4b5260);
	letter-spacing: 0.52px;
}

.dp-lp-plan-card__vp--extras .dp-lp-plan-card__vp-title {
	color: #198754;
}

.dp-lp-plan-card__vp-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--wp--preset--color--utility, #4b5260);
}

.dp-lp-plan-card__vp--savings .dp-lp-plan-card__vp-row {
	font-weight: 600;
	color: #070808;
}

/* Match PlanSearchFeaturedPlanValueProps: bold dentist count + “N day(s)”. */
.dp-lp-plan-card__vp-em {
	font-weight: 800 !important;
}

.dp-lp-plan-card__vp-row img {
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	display: block;
}

.dp-lp-plan-card__pricing-block {
	border-top: 1px solid #e7e7eb;
	padding-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: auto;
}

.dp-lp-plan-card__pricing {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: #070808;
}

.dp-lp-plan-card--featured .dp-lp-plan-card__promo-row {
	justify-content: flex-start;
}

.dp-lp-plan-card__yearly {
	margin: 0;
	padding: 0;
	font-size: 24px !important;
	font-weight: 900 !important;
	line-height: 40px;
	color: #070808;
}

.dp-lp-plan-card__monthly {
	font-size: 14px !important;
	font-weight: 400;
	line-height: 25px;
	color: #070808;
}

.dp-lp-plan-card__monthly-amount {
	font-weight: 900 !important;
	font-size: inherit;
	line-height: inherit;
}

.dp-lp-plan-card__per {
	font-weight: 400 !important;
	font-size: 14px !important;
	line-height: 25px;
}

@media (min-width: 768px) {
	.dp-lp-plan-card--featured .dp-lp-plan-card__yearly {
		font-size: 30px !important;
	}

	.dp-lp-plan-card--featured .dp-lp-plan-card__monthly,
	.dp-lp-plan-card--featured .dp-lp-plan-card__per {
		font-size: 16px !important;
	}
}

.dp-lp-plan-card__ctas {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.dp-lp-plan-card--featured .dp-lp-plan-card__cta-primary {
	font-size: 14px !important;
	font-weight: 800 !important;
	padding: 11px 24px;
	min-height: 0;
	border-width: 2px;
	line-height: 26px !important;
}

.dp-lp-plan-card--featured .dp-lp-plan-card__cta-text {
	font-size: 14px !important;
	font-weight: 800 !important;
}

.dp-lp-plan-card--horizontal .dp-lp-plan-card__cta-primary {
	font-size: 16px !important;
}

.dp-lp-plan-card--horizontal .dp-lp-plan-card__cta-text {
	font-size: 14px !important;
	font-weight: 800 !important;
}

.dp-lp-plan-card__cta-secondary {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	padding: 0 16px;
	width: 100%;
	box-sizing: border-box;
}

/* Must follow base secondary rule — same specificity otherwise loses to flex-end. */
.dp-lp-plan-card__cta-secondary.dp-lp-plan-card__cta-secondary--center {
	justify-content: center;
	padding: 0;
}

@media (min-width: 768px) {
	.dp-lp-plan-card__benefits li {
		gap: 16px;
		font-size: 16px;
	}

	.dp-lp-plan-card__pricing-block {
		gap: 24px;
	}
}
