/* جدول سرفصل / جدول شهریه — نمایش فرانت (مستقل، بدون وابستگی به افزونه‌ی دیگر) */
.tct-table {
	direction: rtl;
	margin: 0 0 32px;
}

/* ستون‌ها کنار هم، عرض محدود (نه کشیده تا انتهای صفحه) و هم‌تراز در هر ردیف */
.tct-table .tct-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 235px));
	justify-content: center;
	gap: 18px 16px;
}

.tct-table .tct-col {
	position: relative;
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-align: center;
	box-shadow: 0 2px 10px rgba(20, 20, 43, .05);
	transition: box-shadow .25s ease, transform .25s ease;
}
.tct-table .tct-col:hover {
	box-shadow: 0 10px 26px rgba(20, 20, 43, .09);
	transform: translateY(-3px);
}
.tct-table .tct-col.is-highlight {
	border-color: var(--e-global-color-primary, #ff5a5f);
	box-shadow: 0 10px 28px rgba(255, 90, 95, .16);
}

.tct-badge {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	background: var(--e-global-color-primary, #ff5a5f);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 11px;
	border-radius: 20px;
	z-index: 1;
}

.tct-col-head {
	padding: 24px 16px 18px;
	background: linear-gradient(180deg, rgba(43, 45, 66, .045), rgba(43, 45, 66, 0) 100%);
	border-bottom: 1px solid #f1f1f1;
}
.tct-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-bottom: 10px;
	border-radius: 50%;
	background-color: var(--cs-btn-bg);
	background-image: var(--cs-btn-grad);
	color: var(--cs-btn-text, #fff);
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 6px 14px -8px rgba(130, 21, 29, .7);
}
.tct-col.is-highlight .tct-col-head {
	background: linear-gradient(180deg, rgba(255, 90, 95, .09), rgba(255, 90, 95, 0) 100%);
}
.tct-col-title {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: #1b1b1f;
}
.tct-col-title::after {
	content: "";
	display: block;
	width: 26px;
	height: 3px;
	margin: 10px auto 0;
	border-radius: 3px;
	background: var(--e-global-color-primary, #ff5a5f);
}
.tct-col-subtitle {
	margin: 6px 0 0;
	color: #45454d;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.6;
}

/* جدول سرفصل: ردیف‌های توضیح، با جداکننده بین هر ردیف */
.tct-syllabus .tct-col-rows {
	list-style: none;
	margin: 0;
	padding: 6px 16px;
	font-size: 13px;
	color: #444;
	line-height: 1.7;
	flex: 1;
}
.tct-syllabus .tct-col-rows li {
	padding: 11px 4px;
	border-bottom: 1px solid #f2f2f2;
	font-size: 13.5px;
	line-height: 1.8;
	color: #333;
}
.tct-syllabus .tct-col-rows li::before {
	content: "✓";
	display: inline-block;
	margin-inline-end: 6px;
	font-weight: 800;
	color: var(--cs-btn-bg, #82151d);
}
.tct-syllabus .tct-col-rows li:last-child {
	border-bottom: none;
}
.tct-syllabus .tct-col-foot {
	padding: 14px 16px 18px;
	text-align: center;
}
.tct-syllabus .tct-duration {
	display: inline-block;
	background-color: var(--cs-btn-bg);
	background-image: var(--cs-btn-grad);
	color: var(--cs-btn-text, #fff);
	border-radius: 20px;
	padding: 7px 20px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .2px;
	box-shadow: 0 6px 16px -10px rgba(130, 21, 29, .7);
}

/* جدول شهریه */
.tct-tuition .tct-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 6px 10px;
	margin-top: 8px;
}
.tct-tuition .tct-duration-label {
	display: flex;
	width: 100%;
	justify-content: center;
}
.tct-tuition .tct-duration-label-pill {
	display: inline-block;
	background-color: var(--cs-btn-bg);
	background-image: var(--cs-btn-grad);
	color: var(--cs-btn-text);
	font-size: 13.5px;
	font-weight: 800;
	letter-spacing: .2px;
	padding: 7px 20px;
	border-radius: 20px;
	box-shadow: 0 6px 16px -10px rgba(130, 21, 29, .7);
}
.tct-tuition .tct-regular-price {
	text-decoration: line-through;
	color: #a3a3a3;
	font-size: 12.5px;
}
.tct-tuition .tct-final-price {
	font-size: 19px;
	font-weight: 700;
	color: #1b1b1f;
}

.tct-tuition .tct-features {
	list-style: none;
	margin: 0;
	padding: 2px 16px;
	font-size: 13px;
	flex: 1;
}
.tct-tuition .tct-feature {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 2px;
	border-bottom: 1px dashed #ededed;
}
.tct-tuition .tct-feature:last-child {
	border-bottom: none;
}
.tct-tuition .tct-feature-label {
	display: block;
	color: #5a5a66;
	font-size: 12.5px;
	font-weight: 600;
}
.tct-tuition .tct-feature-value {
	display: block;
	font-weight: 600;
	color: #1b1b1f;
}

.tct-col-foot {
	margin-top: auto;
	padding: 14px 16px 18px;
	text-align: center;
}
.tct-btn {
	display: inline-block;
	width: 100%;
	padding: 11px 10px;
	border-radius: 8px;
	background-color: var(--cs-btn-bg);
	background-image: var(--cs-btn-grad);
	color: var(--cs-btn-text) !important;
	box-shadow: 0 6px 16px -10px rgba(130, 21, 29, .7);
	text-decoration: none;
	font-weight: 700;
	font-size: 13.5px;
	transition: opacity .2s, transform .2s;
}
.tct-btn:hover {
	opacity: .92;
	transform: translateY(-1px);
	color: #fff !important;
}
.tct-btn-disabled {
	background: #ccc;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.tct-table .tct-cols {
		grid-template-columns: minmax(0, 320px);
	}
}

/* ---------------------------------------------------------- انتخاب‌گر کوچک پلن‌ها در کارت قیمت/خرید دوره */
.tct-sidebar-plans {
	direction: rtl;
	margin: 0 0 14px;
}
.tct-sidebar-plans-label {
	margin: 0 0 8px;
	font-size: 12.5px;
	font-weight: 700;
	color: #50575e;
}
.tct-sidebar-plans-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tct-sidebar-plan {
	display: flex;
	align-items: center;
	gap: 0px;
	padding: 4px 5px;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	cursor: pointer;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tct-sidebar-plan:hover {
	border-color: #c9c9c9;
}
.tct-sidebar-plan.is-selected {
	border-color: var(--cs-btn-bg, #82151d);
	box-shadow: 0 0 0 1px var(--cs-btn-bg, #82151d) inset;
	background: rgba(130, 21, 29, .04);
}
.tct-sidebar-plan input[type="radio"] {
	flex: 0 0 auto;
	margin: 0;
	accent-color: var(--cs-btn-bg, #82151d);
}
.tct-sidebar-plan-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.tct-sidebar-plan-title {
	font-size: 13.5px;
	font-weight: 700;
	color: #1b1b1f;
}
.tct-sidebar-plan-duration {
	font-size: 12px;
	color: #777;
}
.tct-sidebar-plan-price {
	flex: 0 0 auto;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--cs-btn-bg, #82151d);
	white-space: nowrap;
}
