/**
 * Course page only:
 * 1) Hero «خرید اشتراک» — theme purple, kill the 3D orange lip on wrapper/widget.
 * 2) Plans table — name first, slogan after (no fill, theme color), equal row width.
 */

/* ---- 1) Hero CTA: orange lip lives on widget/wrapper, not the <a> face ---- */
html body.single-course .elementor-widget-td_add_to_cart,
html body.single-course .elementor-widget-td_add_to_cart > .elementor-widget-container,
html body.single-course .elementor-widget-td_add_to_cart .elementor-widget-container.dl-sales-patched,
html body.single-course .elementor-widget-td_add_to_cart .td-btn-wrapper,
html body.single-course .elementor-widget-td_add_to_cart .td-buy-options,
html body.single-course .td-btn-wrapper.dl-sales-sub-wrap,
html body.single-course .td-buy-options.dl-sales-sub-wrap,
html body.single-course .dl-sales-sub-wrap {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	filter: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	outline: 0 !important;
}

html body.single-course .elementor-widget-td_add_to_cart::before,
html body.single-course .elementor-widget-td_add_to_cart::after,
html body.single-course .elementor-widget-td_add_to_cart > .elementor-widget-container::before,
html body.single-course .elementor-widget-td_add_to_cart > .elementor-widget-container::after,
html body.single-course .elementor-widget-td_add_to_cart .td-btn-wrapper::before,
html body.single-course .elementor-widget-td_add_to_cart .td-btn-wrapper::after,
html body.single-course a.dl-sales-sub-cta.td-btn::before {
	content: none !important;
	display: none !important;
	background: none !important;
	box-shadow: none !important;
}

html body.single-course a.dl-sales-sub-cta.td-btn,
html body.single-course a.dl-sales-sub-cta.td-btn:link,
html body.single-course a.dl-sales-sub-cta.td-btn:visited,
html body.single-course a.dl-sales-sub-cta.td-btn:hover,
html body.single-course a.dl-sales-sub-cta.td-btn:focus,
html body.single-course a.dl-sales-sub-cta.td-btn:focus-visible,
html body.single-course a.dl-sales-sub-cta.td-btn:active {
	background: #6f4aef !important;
	background-color: #6f4aef !important;
	background-image: none !important;
	border: 0 !important;
	border-bottom: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
	filter: none !important;
	transform: none !important;
	margin: 0 !important;
	color: #fff !important;
	transition: none !important;
	overflow: hidden !important;
	clip-path: inset(0 round 12px) !important;
	-webkit-clip-path: inset(0 round 12px) !important;
}

html body.single-course a.dl-sales-sub-cta.td-btn:hover::after,
html body.single-course a.dl-sales-sub-cta.td-btn:focus::after {
	transform: none !important;
}

/* ---- 2) Plans table: name → slogan → rest; slogan is plain theme text ---- */
html body.single-course .td-subs .td-subs__grid .td-subs__card {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

html body.single-course .td-subs .td-subs__card .dl-sub-ribbon {
	display: none !important;
}

html body.single-course .td-subs .td-subs__card .td-subs__name {
	order: 1 !important;
	flex: 0 0 150px !important;
	min-width: 150px !important;
	max-width: 170px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
}

html body.single-course .td-subs .td-subs__card .td-subs__badge,
html body.single-course .td-subs span.td-subs__badge,
html body.rtl.wp-child-theme-danesh-land-child.single-course .elementor .td-subs span.td-subs__badge,
html body.rtl.wp-child-theme-danesh-land-child.single-course .td-subs article.td-subs__card > span.td-subs__badge {
	order: 2 !important;
	display: inline-flex !important;
	align-items: center !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	filter: none !important;
	text-shadow: none !important;
	-webkit-animation: none !important;
	animation: none !important;
	color: #6f4aef !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	letter-spacing: 0 !important;
	white-space: nowrap !important;
	z-index: auto !important;
	position: static !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
}

html body.single-course .td-subs .td-subs__card .td-subs__duration {
	order: 3 !important;
}

html body.single-course .td-subs .td-subs__card .td-subs__price-row {
	order: 4 !important;
}

html body.single-course .td-subs .td-subs__grid .td-subs__card--recommended,
html body.single-course .td-subs .td-subs__grid .td-subs__card.td-subs__card--recommended {
	width: 100% !important;
	max-width: 100% !important;
	align-self: stretch !important;
	margin: 0 !important;
	padding: 11px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #f7f3ed !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: none !important;
	background-image: none !important;
	font-size: inherit !important;
	overflow: visible !important;
	transform: none !important;
}

html body.single-course .td-subs .td-subs__card--recommended .td-subs__name {
	font-size: 15px !important;
	font-weight: 700 !important;
}

html body.single-course .td-subs .td-subs__card--recommended .td-subs__btn:not(.td-subs__btn--buy) {
	background-color: #1f5fe0 !important;
	background-image: none !important;
	box-shadow: none !important;
	width: 150px !important;
}
