/* TC Spec Table – front end  |  Last Updated: 2026-10-27 */
.tcst-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tcst-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.4;
	background: #fff;
}
.tcst-table td {
	border: 1px solid var(--tcst-border, #555);
	padding: 8px 14px;
	vertical-align: middle;
	color: #222;
}
.tcst-table tr.tcst-alt td:not(.tcst-span),
.tcst-table td.tcst-span.tcst-alt { background: var(--tcst-stripe, #F5D594); }
.tcst-table tr.tcst-alt td.tcst-span:not(.tcst-alt) { background: #fff; }
.tcst-num { width: 60px; text-align: center; }
.tcst-sym { width: 90px; text-align: center; }
.tcst-label { font-weight: 500; }
/* Font size + cell padding (beats theme/Elementor table styles) */
.tcst-wrap table.tcst-table,
.tcst-wrap table.tcst-table td {
	font-size: 12px !important;
	line-height: 1.4 !important;
}
.tcst-wrap table.tcst-table td {
	padding: 4px 8px !important;
}
@media (max-width: 600px) {
	.tcst-num { width: 36px; }
	.tcst-sym { width: 50px; }
}

/* Comparison tables – added 1.1.0 */
.tcst-multi { margin-bottom: 24px; }
.tcst-wrap .tcst-title { font-size: 18px; margin: 0 0 8px; }
.tcst-wrap table.tcst-compare th {
	font-size: 12px !important;
	padding: 4px 8px !important;
	border: 1px solid var(--tcst-border, #555);
	background: var(--tcst-stripe, #F5D594);
	font-weight: 700;
	text-align: center;
	color: #222;
}
.tcst-wrap table.tcst-compare th.tcst-label { text-align: left; }
.tcst-compare td.tcst-val { text-align: center; }
.tcst-compare .tcst-sym { width: 60px; }

/* Elegant style – added 1.2.0 (Settings → TC Spec Table → Elegant style) */
.tcst-wrap.tcst-wrap--elegant {
	max-width: 1080px;
	margin: 0 auto;
	font-family: 'Lato', system-ui, sans-serif;
	container-type: inline-size;
}
.tcst-wrap--elegant table.tcst-table {
	border-collapse: separate !important;
	border-spacing: 0;
	border: 1px solid #E4E7EA !important;
	box-shadow: 0 18px 50px rgba(20, 24, 28, .07);
	background: #fff;
	margin: 0 !important;
}
.tcst-wrap--elegant table.tcst-table thead th {
	background: #2E3236 !important;
	color: #fff !important;
	border: 0 !important;
	padding: 34px 36px 30px !important;
	text-align: center !important;
	font-weight: 300 !important;
}
.tcst-wrap--elegant .tcst-kicker {
	display: block;
	font-size: 11px;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: #B9BFC5;
	margin-bottom: 12px;
}
.tcst-wrap--elegant .tcst-head-title {
	display: block;
	font-size: clamp(20px, 2.2vw, 28px);
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.25;
	color: #fff;
}
.tcst-wrap.tcst-wrap--elegant table.tcst-table td {
	border: 0 !important;
	border-bottom: 1px solid #E4E7EA !important;
	padding: 20px 36px !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	background: #fff !important;
	color: #1E2226 !important;
}
.tcst-wrap.tcst-wrap--elegant table.tcst-table tr.tcst-alt td { background: #F4F5F6 !important; }
.tcst-wrap.tcst-wrap--elegant table.tcst-table tr:last-child td { border-bottom: 0 !important; }
.tcst-wrap.tcst-wrap--elegant table.tcst-table td.tcst-label {
	width: 38%;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #6B7178 !important;
}
.tcst-wrap.tcst-wrap--elegant table.tcst-table td.tcst-num,
.tcst-wrap.tcst-wrap--elegant table.tcst-table td.tcst-sym { color: #6B7178 !important; }
@media (max-width: 600px) {
	.tcst-wrap--elegant table.tcst-table thead th { padding: 26px 20px 22px !important; }
	.tcst-wrap.tcst-wrap--elegant table.tcst-table td { padding: 16px 18px !important; font-size: 14px !important; }
	.tcst-wrap.tcst-wrap--elegant table.tcst-table td.tcst-label { width: 42%; letter-spacing: .16em; }
}
/* Compact when placed in a narrow column (e.g. beside the product gallery) */
@container (max-width: 620px) {
	.tcst-wrap--elegant table.tcst-table { box-shadow: 0 8px 24px rgba(20, 24, 28, .06); }
	.tcst-wrap--elegant table.tcst-table thead th { padding: 18px 20px 16px !important; }
	.tcst-wrap--elegant .tcst-kicker { font-size: 10px; letter-spacing: .3em; margin-bottom: 6px; }
	.tcst-wrap--elegant .tcst-head-title { font-size: 16px; letter-spacing: .1em; }
	.tcst-wrap.tcst-wrap--elegant table.tcst-table td { padding: 11px 20px !important; font-size: 14px !important; line-height: 1.4 !important; }
	.tcst-wrap.tcst-wrap--elegant table.tcst-table td.tcst-label { width: 40%; font-size: 10px !important; letter-spacing: .16em; }
}
/* Small "Specifications" header bar */
.tcst-wrap.tcst-wrap--elegant table.tcst-table thead th {
	padding: 12px 20px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: .3em;
	text-transform: uppercase;
	line-height: 1.4 !important;
	text-align: left !important;
}
