/** comparison-table styles for Bargheto Widgets */

/* ── وراپر ── */
.elementor-widget-bargheto_comparison_table .ct-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
	.elementor-widget-bargheto_comparison_table .ct-wrap {
		padding: 20px;
	}
}

/* ── جدول ── */
.elementor-widget-bargheto_comparison_table .ct-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
	--ct-border-color: #e8edf2;
}

/* ── هدر ── */
.elementor-widget-bargheto_comparison_table .ct-header th {
	padding: 1rem 1.25rem;
	font-weight: 700;
	font-size: 0.9375rem;
	text-align: center;
	color: #fff;
	white-space: nowrap;
	background-color: var(--col-accent, var(--ct-accent-dark, #00359f));
}

/* ── بدنه ── */
.elementor-widget-bargheto_comparison_table .ct-body .ct-row:nth-child(even) {
	background: rgba(0, 0, 0, 0.02);
}

.elementor-widget-bargheto_comparison_table .ct-body .ct-row:nth-child(odd) {
	background: #fff;
}

.elementor-widget-bargheto_comparison_table .ct-body td {
	padding: 0.875rem 1.25rem;
	border-bottom: 1px solid var(--ct-border-color);
	text-align: center;
	vertical-align: middle;
}

.elementor-widget-bargheto_comparison_table .ct-body tr:last-child td {
	border-bottom: none;
}

/* ── سلول اول هر ردیف (bold) ── */
.elementor-widget-bargheto_comparison_table .ct-cell--first {
	font-weight: 700;
	text-align: right;
	color: #1e293b;
}

/* ── سلول‌های عادی ── */
.elementor-widget-bargheto_comparison_table .ct-cell {
	color: #334155;
}

/* ── ریسپانسیو ── */
@media (max-width: 767px) {
	.elementor-widget-bargheto_comparison_table .ct-wrap {
		margin: 0 -0.75rem;
	}

	.elementor-widget-bargheto_comparison_table .ct-header th {
		padding: 0.75rem 0.875rem;
		font-size: 0.8125rem;
	}

	.elementor-widget-bargheto_comparison_table .ct-body td {
		padding: 0.625rem 0.875rem;
		font-size: 0.8125rem;
	}
}
