/**
 * Wheel & brake comparison table (shortcode: matco_wheel_comparison_table).
 * Scoped to #page-container per theme conventions.
 */
#page-container .matco-wheel-spec-table {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

#page-container .matco-wheel-spec-table__shell {
	border: 1px solid var(--brand-color-6, rgba(157, 163, 172, 0.45));
	border-radius: 4px;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

#page-container .matco-wheel-spec-table__scroll {
	max-height: min(70vh, 560px);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

#page-container .matco-wheel-spec-table__table {
	width: max-content;
	min-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-family: var(--font-family-sans, Inter), system-ui, sans-serif;
	font-size: 0.875rem;
	line-height: 1.35;
	color: var(--text-heading, #1f2937);
}

#page-container .matco-wheel-spec-table__table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	padding: 0.65rem 0.75rem;
	text-align: left;
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-heading, #1f2937);
	background-color: #f7f7f7;
	border-bottom: 1px solid var(--brand-color-6, rgba(157, 163, 172, 0.5));
	white-space: nowrap;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

#page-container .matco-wheel-spec-table__table tbody tr:nth-child(even) td {
	background-color: #fafafa;
}

#page-container .matco-wheel-spec-table__table tbody tr:nth-child(odd) td {
	background-color: #fff;
}

#page-container .matco-wheel-spec-table__table td {
	padding: 0.5rem 0.75rem;
	vertical-align: middle;
	white-space: nowrap;
	border: none;
	border-bottom: 1px solid rgba(157, 163, 172, 0.25);
}

#page-container .matco-wheel-spec-table__table tbody tr:last-child td {
	border-bottom: none;
}

/* Spacing only — colors/typography/hover from theme `.et_pb_button.fsm-btn-yellow` (theme.css). */
#page-container .matco-wheel-spec-table__csv.et_pb_button {
	margin-top: 2.1875rem;
	cursor: pointer;
}
