.wp-block-table.clss-branded-table,
.clss-gutenberg-tables-all .wp-block-table {
	margin-bottom: 20px !important;
}

.wp-block-table.clss-branded-table table,
.clss-gutenberg-tables-all .wp-block-table table {
	width: 100%;
	border-collapse: collapse !important;
	font-family: var(--clss-table-body-font, "DM Sans", sans-serif);
	font-size: var(--clss-table-font-size, 0.95rem);
	color: var(--clss-table-text, #2d3748);
	border-radius: var(--clss-table-radius, 8px);
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	border: none !important;
}

.wp-block-table.clss-branded-table table thead tr,
.clss-gutenberg-tables-all .wp-block-table table thead tr {
	background-color: var(--clss-table-header-bg, #007da3) !important;
}

.wp-block-table.clss-branded-table table thead th,
.clss-gutenberg-tables-all .wp-block-table table thead th {
	padding: 14px 18px !important;
	text-align: left !important;
	color: var(--clss-table-header-text, #ffffff) !important;
	font-family: var(--clss-table-heading-font, "Poppins", sans-serif) !important;
	font-weight: 600 !important;
	font-size: 0.9rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	border: none !important;
}

.wp-block-table.clss-branded-table table tbody tr:nth-child(odd),
.clss-gutenberg-tables-all .wp-block-table table tbody tr:nth-child(odd) {
	background-color: var(--clss-table-row-odd, #f7fafc) !important;
}

.wp-block-table.clss-branded-table table tbody tr:nth-child(even),
.clss-gutenberg-tables-all .wp-block-table table tbody tr:nth-child(even) {
	background-color: var(--clss-table-row-even, #ffffff) !important;
}

.wp-block-table.clss-branded-table table tbody tr:hover,
.clss-gutenberg-tables-all .wp-block-table table tbody tr:hover {
	background-color: var(--clss-table-row-hover, #edf6fa) !important;
}

.wp-block-table.clss-branded-table table tbody td,
.clss-gutenberg-tables-all .wp-block-table table tbody td {
	padding: 13px 18px !important;
	border: none !important;
	border-bottom: 1px solid var(--clss-table-border, #e2e8f0) !important;
	vertical-align: top !important;
	line-height: 1.5 !important;
}

.wp-block-table.clss-branded-table table tbody td:first-child,
.clss-gutenberg-tables-all .wp-block-table table tbody td:first-child {
	font-family: var(--clss-table-heading-font, "Poppins", sans-serif) !important;
	font-weight: 700 !important;
	color: var(--clss-table-first-col, #e21270) !important;
}

.wp-block-table.clss-branded-table table tbody tr:last-child td,
.clss-gutenberg-tables-all .wp-block-table table tbody tr:last-child td {
	border-bottom: none !important;
}

@media (max-width: 640px) {
	.wp-block-table.clss-branded-table.clss-table-card-mobile,
	.clss-gutenberg-tables-all .wp-block-table.clss-table-card-mobile {
		overflow-x: visible !important;
	}

	.wp-block-table.clss-branded-table.clss-table-card-mobile table,
	.wp-block-table.clss-branded-table.clss-table-card-mobile thead,
	.wp-block-table.clss-branded-table.clss-table-card-mobile tbody,
	.wp-block-table.clss-branded-table.clss-table-card-mobile tr,
	.clss-gutenberg-tables-all .wp-block-table.clss-table-card-mobile table,
	.clss-gutenberg-tables-all .wp-block-table.clss-table-card-mobile thead,
	.clss-gutenberg-tables-all .wp-block-table.clss-table-card-mobile tbody,
	.clss-gutenberg-tables-all .wp-block-table.clss-table-card-mobile tr {
		display: block !important;
		width: 100% !important;
	}

	.wp-block-table.clss-branded-table.clss-table-card-mobile thead,
	.clss-gutenberg-tables-all .wp-block-table.clss-table-card-mobile thead {
		display: none !important;
	}

	.wp-block-table.clss-branded-table.clss-table-card-mobile table tbody tr,
	.clss-gutenberg-tables-all .wp-block-table.clss-table-card-mobile table tbody tr {
		margin-bottom: 12px !important;
		border-radius: var(--clss-table-radius, 8px) !important;
		overflow: hidden !important;
		box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08) !important;
		border-bottom: none !important;
	}

	.wp-block-table.clss-branded-table.clss-table-card-mobile table tbody td,
	.clss-gutenberg-tables-all .wp-block-table.clss-table-card-mobile table tbody td {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box !important;
		padding: 10px 16px !important;
		border-bottom: 1px solid var(--clss-table-border, #e2e8f0) !important;
		text-align: left !important;
	}

	.wp-block-table.clss-branded-table.clss-table-card-mobile table tbody td:first-child,
	.clss-gutenberg-tables-all .wp-block-table.clss-table-card-mobile table tbody td:first-child {
		background-color: var(--clss-table-header-bg, #007da3) !important;
		color: var(--clss-table-header-text, #ffffff) !important;
		font-family: var(--clss-table-heading-font, "Poppins", sans-serif) !important;
		font-weight: 700 !important;
		font-size: 0.95rem !important;
		text-transform: uppercase !important;
		letter-spacing: 0.04em !important;
		border-bottom: none !important;
	}

	.wp-block-table.clss-branded-table.clss-table-card-mobile table tbody td:last-child,
	.clss-gutenberg-tables-all .wp-block-table.clss-table-card-mobile table tbody td:last-child {
		border-bottom: none !important;
	}
}
