/* TM Card Grid */
.tm-cards__head {
	margin-bottom: var(--tm-head-gap, 56px);
}

.tm-cards__grid {
	display: grid;
	grid-template-columns: repeat(var(--tm-cols, 3), minmax(0, 1fr));
	gap: var(--tm-gap, 24px);
}

.tm-card {
	--tm-card-bg: var(--tm-white);
	--tm-card-border: var(--tm-line);

	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--tm-card-border);
	border-radius: var(--tm-radius);
	background: var(--tm-card-bg);
	box-shadow: var(--tm-shadow-sm);
	transition: transform .35s var(--tm-ease), box-shadow .35s var(--tm-ease), border-color .35s var(--tm-ease);
}

.tm-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tm-shadow);
}

.tm-card:hover .tm-cover > img {
	transform: scale(1.04);
}

.tm-card__media {
	display: block;
	flex: none;
	aspect-ratio: 2 / 1;
	background: var(--tm-mist);
}

.tm-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.tm-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 22px;
}

.tm-card__num {
	color: var(--tm-red);
	font-family: var(--tm-font-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.tm-card__label {
	margin: 0 0 10px;
	color: var(--tm-red);
	font-family: var(--tm-font-cond);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.tm-card__title {
	margin: 0 0 10px;
	color: var(--tm-carbon);
	font-family: var(--tm-font-cond);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tm-card__subtitle {
	margin: 0 0 10px;
	color: var(--tm-brass);
	font-family: var(--tm-font-cond);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tm-card__text {
	margin: 0;
	color: var(--tm-steel);
	font-size: 14px;
	line-height: 1.6;
}

.tm-card__list-title {
	margin: 20px 0 12px;
	padding-top: 16px;
	border-top: 1px solid var(--tm-line);
	color: var(--tm-red);
	font-family: var(--tm-font-cond);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.tm-card__checks {
	margin-top: 16px;
}

.tm-card__list-title + .tm-card__checks {
	margin-top: 0;
}

.tm-card__checks li {
	font-size: 13px;
}

.tm-card__note {
	margin: 20px -24px -24px;
	padding: 14px 24px;
	border-top: 1px solid var(--tm-line);
	background: var(--tm-mist-2);
	color: var(--tm-carbon);
	font-size: 12.5px;
	font-style: italic;
	font-weight: 600;
	line-height: 1.5;
}

.tm-card__tags {
	margin: auto -24px -24px;
	padding: 14px 24px;
	border-top: 1px solid var(--tm-line);
	background: var(--tm-mist-2);
	color: var(--tm-red);
	font-family: var(--tm-font-cond);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tm-card__text + .tm-card__tags {
	margin-top: 22px;
}

.tm-card__more {
	margin-top: auto;
	padding-top: 22px;
}

.tm-card__btn {
	align-self: flex-start;
	margin-top: auto;
}

.tm-card__text + .tm-card__btn,
.tm-card__checks + .tm-card__btn {
	margin-top: 28px;
}

/* Danh sách đánh số */
.tm-card__steps {
	display: grid;
	gap: 18px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.tm-card__steps li {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 14px;
	align-items: start;
}

.tm-card__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 26px;
	border: 1px solid rgba(144, 16, 16, .2);
	border-radius: var(--tm-radius-sm);
	background: #FBF1F1;
	color: var(--tm-red);
	font-family: var(--tm-font-cond);
	font-size: 12px;
	font-weight: 700;
}

.tm-card__steps strong {
	display: block;
	color: var(--tm-carbon);
	font-family: var(--tm-font-cond);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.tm-card__steps span:not(.tm-card__step-num) {
	display: block;
	margin-top: 4px;
	color: var(--tm-steel);
	font-size: 13.5px;
	line-height: 1.55;
}

/* Lưới tên thương hiệu */
.tm-card__marks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px 10px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.tm-card__marks li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	color: #3C4651;
	font-family: var(--tm-font-cond);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .06em;
	text-align: center;
	text-transform: uppercase;
	filter: grayscale(.2);
	opacity: .85;
	transition: opacity .2s, color .2s;
}

.tm-card__marks li:nth-child(3n+1) {
	color: var(--tm-red-bright);
}

.tm-card__marks li:nth-child(3n+2) {
	color: #1E3A8A;
}

.tm-card:hover .tm-card__marks li {
	opacity: 1;
}

/* Logo hãng vẽ sẵn (brand-marks.php) - bố cục như bản mẫu:
   6 hãng 2 cột, 9 hãng 3 cột, 8 hãng 3 + 3 + 2 */
.tm-card--sector .tm-card__title {
	padding-bottom: 16px;
}

.tm-card--sector .tm-card__marks {
	margin-top: 24px;
	padding-block: 8px;
}

.tm-card__marks--n6 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 12px;
}

.tm-card__marks--n9 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 8px;
}

.tm-card__marks--n8 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 22px 8px;
}

.tm-card__marks--n8 li {
	grid-column: span 2;
}

.tm-card__marks--n8 li:nth-child(n+7) {
	grid-column: span 3;
}

.tm-card__marks .tm-mark {
	min-height: 0;
	color: #101820;
	font: inherit;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
	filter: none;
	opacity: .8;
	transition: opacity .3s, transform .3s;
	user-select: none;
}

.tm-card__marks .tm-mark:hover {
	opacity: 1;
	transform: scale(1.08);
}

.tm-mark svg {
	display: block;
}

/* Play video */
.tm-card__media--video {
	background: var(--tm-carbon);
}

.tm-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--tm-red);
	box-shadow: 0 0 0 8px rgba(144, 16, 16, .25);
	color: var(--tm-white);
	transform: translate(-50%, -50%);
	transition: transform .3s var(--tm-ease), box-shadow .3s var(--tm-ease);
}

.tm-card__play .tm-icon {
	width: 22px;
	height: 22px;
	margin-left: 3px;
}

.tm-card__media--video:hover .tm-card__play {
	transform: translate(-50%, -50%) scale(1.08);
	box-shadow: 0 0 0 12px rgba(144, 16, 16, .3);
}

/* --------------------------------------------------------------------- kiểu */

/* feature-dark: Why OEM customers (theo demo: viền đỏ mờ -> đồng, nhấc 8px, số/icon/tiêu đề đổi màu, gạch đỏ chạy hết chiều rộng) */
.tm-card--feature-dark {
	--tm-card-bg: var(--tm-carbon);
	--tm-card-border: rgba(144, 16, 16, .3);

	min-height: 290px;
	border-width: 2px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
	transition: transform .3s var(--tm-ease), border-color .3s var(--tm-ease), box-shadow .3s var(--tm-ease);
}

/* Lưới mờ trên nền (bg-grid-pattern, opacity .02) */
.tm-card--feature-dark::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image:
		linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
	background-size: 24px 24px;
	opacity: .02;
	pointer-events: none;
}

.tm-card--feature-dark:hover {
	--tm-card-border: rgba(176, 138, 72, .8);

	transform: translateY(-8px);
	box-shadow: 0 25px 40px -12px rgba(0, 0, 0, .35);
}

.tm-card--feature-dark .tm-card__body {
	position: relative;
	justify-content: flex-start;
	padding: 28px;
}

.tm-card--feature-dark .tm-card__top {
	align-items: flex-start;
	margin-bottom: 24px;
}

.tm-card--feature-dark .tm-card__num {
	color: rgba(176, 138, 72, .3);
	font-family: var(--tm-font-cond);
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
	transition: color .15s var(--tm-ease);
}

.tm-card--feature-dark:hover .tm-card__num {
	color: rgba(176, 138, 72, .9);
}

.tm-card--feature-dark .tm-icon-box {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, .1);
	color: var(--tm-brass);
	transition: background-color .15s var(--tm-ease);
}

.tm-card--feature-dark .tm-icon-box .tm-icon {
	width: 20px;
	height: 20px;
	transition: color .3s var(--tm-ease);
}

.tm-card--feature-dark:hover .tm-icon-box {
	background: rgba(144, 16, 16, .1);
	color: var(--tm-red);
}

.tm-card--feature-dark .tm-card__title {
	margin-bottom: 12px;
	color: var(--tm-white);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: .05em;
	transition: color .15s var(--tm-ease);
}

.tm-card--feature-dark:hover .tm-card__title {
	color: var(--tm-brass);
}

.tm-card--feature-dark .tm-card__text {
	margin-bottom: 24px;
	color: rgba(232, 238, 243, .9);
	font-size: 13px;
	line-height: 1.625;
}

/* Gạch đỏ 48x4, hover chạy hết chiều rộng */
.tm-card--feature-dark .tm-card__body::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	margin-top: auto;
	background: var(--tm-red);
	transition: width .3s var(--tm-ease);
}

.tm-card--feature-dark:hover .tm-card__body::after {
	width: 100%;
}

/* Trên lưới feature-dark: khoảng cách 24px (32px từ 1024px) */
.tm-cards--feature-dark .tm-cards__grid {
	gap: var(--tm-gap, 24px);
}

@media (min-width: 1024px) {
	.tm-cards--feature-dark .tm-cards__grid {
		gap: var(--tm-gap, 32px);
	}
}

@media (max-width: 767px) {
	.tm-card--feature-dark {
		min-height: 0;
	}

	.tm-card--feature-dark .tm-card__body {
		padding: 24px;
	}

	.tm-card--feature-dark .tm-card__text {
		font-size: 12.5px;
	}
}

/* media: Core Manufacturing Capabilities */
.tm-card--media .tm-card__title {
	letter-spacing: .1em;
}

.tm-card--media .tm-card__text {
	font-size: 13px;
}

/* solution: Core solutions */
.tm-card--solution .tm-card__media {
	aspect-ratio: 16 / 9;
}

.tm-card--solution .tm-card__body {
	padding: 32px;
}

.tm-card--solution .tm-card__title {
	margin-bottom: 14px;
	font-family: var(--tm-font-serif);
	font-size: 24px;
	letter-spacing: 0;
	text-transform: none;
}

.tm-card--solution .tm-card__text {
	font-size: 15px;
}

/* stage: Quality Control at Every Stage */
.tm-card--stage {
	--tm-card-bg: #18212B;
	--tm-card-border: rgba(255, 255, 255, .1);
}

.tm-card--stage .tm-card__media {
	aspect-ratio: 2.7 / 1;
	margin: 16px 16px 0;
	border-radius: var(--tm-radius-sm);
}

.tm-card--stage .tm-card__body {
	padding: 20px 16px 24px;
}

.tm-card--stage .tm-card__title {
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	color: #D7A35B;
}

.tm-card--stage .tm-card__subtitle,
.tm-card--stage .tm-card__text {
	margin: 4px 0 18px;
	color: #C9A466;
	font-family: var(--tm-font-cond);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: none;
}

.tm-card--stage .tm-checks li {
	color: var(--tm-white);
	font-family: var(--tm-font-cond);
	font-size: 13px;
	font-weight: 600;
}

/* service: Core Plating Services (ảnh ở dưới) */
.tm-card--service {
	flex-direction: column-reverse;
	justify-content: flex-end;
}

.tm-card--service .tm-card__media {
	aspect-ratio: 16 / 9;
	margin: 0 24px 24px;
	border-radius: var(--tm-radius-sm);
}

.tm-card--service .tm-card__body {
	flex: none;
	padding: 28px 24px 24px;
}

.tm-card--service .tm-card__top {
	margin-bottom: 20px;
}

.tm-card--service .tm-icon-box {
	width: 36px;
	height: 36px;
}

.tm-card--service .tm-icon-box .tm-icon {
	width: 18px;
	height: 18px;
}

.tm-card--service .tm-card__title {
	font-family: var(--tm-font-serif);
	font-size: 20px;
	letter-spacing: 0;
	text-transform: none;
}

.tm-card--service .tm-card__text {
	font-size: 13px;
}

/* video */
.tm-card--video .tm-card__media {
	aspect-ratio: 16 / 9;
}

.tm-card--video .tm-card__title,
.tm-card--tag .tm-card__title {
	font-family: var(--tm-font-serif);
	font-size: 19px;
	letter-spacing: 0;
}

.tm-card--video .tm-card__text {
	margin-bottom: 4px;
	font-size: 13.5px;
}

.tm-card--video .tm-card__note {
	margin-top: auto;
}

.tm-card--video .tm-card__text + .tm-card__note {
	margin-top: 20px;
}

.tm-card--video .tm-card__body {
	padding-bottom: 24px;
}

/* tag */
.tm-card--tag .tm-card__media {
	aspect-ratio: 16 / 10;
}

.tm-card--tag .tm-card__title {
	font-size: 17px;
}

.tm-card--tag .tm-card__text {
	font-size: 13px;
}

/* product */
.tm-card--product .tm-card__media {
	aspect-ratio: 4 / 3;
	margin: 12px 12px 0;
	border-radius: var(--tm-radius-sm);
	background: #F1F5F9;
}

.tm-card--product .tm-card__body {
	padding: 18px 16px 16px;
}

.tm-card--product .tm-card__title {
	font-size: 15px;
}

.tm-card--product .tm-card__btn {
	align-self: stretch;
	min-height: 40px;
	margin-top: 8px;
	padding: 10px 16px;
	font-size: 12px;
}

/* center-dark: mission / certifications */
.tm-card--center-dark {
	--tm-card-bg: rgba(255, 255, 255, .02);
	--tm-card-border: rgba(255, 255, 255, .12);

	box-shadow: none;
	text-align: center;
}

.tm-card--center-dark .tm-card__body {
	align-items: center;
	padding: 36px 32px;
}

.tm-card--center-dark .tm-card__title {
	color: var(--tm-white);
	font-family: var(--tm-font-serif);
	font-size: 22px;
	letter-spacing: 0;
}

.tm-card--center-dark .tm-card__subtitle {
	color: #D7A35B;
}

.tm-card--center-dark .tm-card__text {
	color: #C9D1D9;
}

.tm-card--center-dark .tm-icon-box {
	margin-inline: auto;
}

.tm-card--center-dark .tm-card__top {
	justify-content: center;
}

/* center-light: Certifications (bản mẫu: thẻ trắng rounded-xl p-7 md:p-8 shadow-md,
   tiêu đề trong khung min-h 64/72, phụ đề đỏ, nhấc 4px + shadow-xl khi hover) */
.tm-card--center-light {
	--tm-card-bg: var(--tm-white);
	--tm-card-border: rgba(226, 232, 240, .9);

	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
	text-align: center;
	transition: transform .3s var(--tm-ease), box-shadow .3s var(--tm-ease);
}

.tm-card--center-light:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
	transform: translateY(-4px);
}

.tm-card--center-light .tm-card__body {
	align-items: center;
	padding: 28px;
}

.tm-card--center-light .tm-card__top {
	display: none;
}

.tm-card--center-light .tm-card__title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 64px;
	margin: 0 0 10px;
	color: #0F172A;
	font-family: var(--tm-font-serif);
	transition: color .3s;
}

.tm-card--center-light:hover .tm-card__title {
	color: var(--tm-red);
}

.tm-card--center-light .tm-card__subtitle {
	margin: 0 0 16px;
	color: var(--tm-red);
	font-family: var(--tm-font-cond);
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.tm-card--center-light .tm-card__text {
	color: #475569;
}

@media (min-width: 640px) {
	.tm-card--center-light .tm-card__title {
		min-height: 72px;
	}
}

@media (min-width: 768px) {
	.tm-card--center-light .tm-card__body {
		padding: 32px;
	}
}

/* step-dark: How We Work */
.tm-card--step-dark {
	--tm-card-bg: #1E2833;
	--tm-card-border: rgba(255, 255, 255, .12);
}

.tm-card--step-dark .tm-card__num {
	color: #C8262C;
	font-size: 24px;
}

.tm-card--step-dark .tm-card__top {
	margin-bottom: 16px;
}

.tm-card--step-dark .tm-card__title {
	color: #D7A35B;
	font-family: var(--tm-font-serif);
	font-size: 17px;
	letter-spacing: .02em;
}

.tm-card--step-dark .tm-card__text {
	color: #E2E8F0;
	font-size: 13.5px;
}

/* step-light: Mold Development Workflow */
.tm-card--step-light .tm-card__body {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 18px;
	align-items: start;
}

.tm-card--step-light .tm-card__top {
	grid-row: span 3;
	margin: 0;
}

.tm-card--step-light .tm-card__num {
	font-size: 28px;
}

.tm-card--step-light .tm-card__title {
	font-size: 15px;
}

.tm-card--step-light .tm-card__text {
	grid-column: 2;
	font-size: 13px;
}

/* logo */
.tm-card--logo .tm-card__media {
	aspect-ratio: 16 / 9;
	padding: 16px;
	background: var(--tm-white);
}

.tm-card--logo .tm-card__media img {
	object-fit: contain;
}

.tm-card--logo .tm-card__body {
	justify-content: center;
	padding: 16px 20px;
	border-top: 1px solid var(--tm-line);
	text-align: center;
}

.tm-card--logo .tm-card__title {
	margin: 0;
	font-family: var(--tm-font-serif);
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
}

/* sector */
.tm-card--sector .tm-card__body {
	padding: 20px;
}

.tm-card--sector .tm-card__title {
	margin: 0;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--tm-line);
	font-size: 13px;
	letter-spacing: .12em;
}

/* panel: Quality checks by area */
.tm-card--panel .tm-card__body {
	padding: 36px;
}

.tm-card--panel .tm-card__label {
	margin-bottom: 8px;
}

.tm-card--panel .tm-card__title {
	font-family: var(--tm-font-serif);
	font-size: 26px;
	letter-spacing: 0;
	text-transform: none;
}

/* location: Manufacturing Across Vietnam */
.tm-cards--location .tm-cards__grid {
	--tm-cols: 1;

	max-width: 900px;
	margin-inline: auto;
	gap: 16px;
}

.tm-card--location {
	--tm-card-bg: #121A24;
	--tm-card-border: rgba(255, 255, 255, .1);

	display: grid;
	grid-template-columns: 1fr 150px;
	align-items: center;
	gap: 24px;
	padding: 22px 24px;
}

.tm-card--location:hover {
	border-color: rgba(176, 138, 72, .5);
}

.tm-card--location .tm-card__media {
	grid-column: 2;
	grid-row: 1;
	aspect-ratio: 16 / 10;
	border-radius: var(--tm-radius-sm);
}

.tm-card--location .tm-card__body {
	grid-column: 1;
	grid-row: 1;
	padding: 0;
}

.tm-card--location .tm-card__label {
	color: var(--tm-brass);
	font-size: 10.5px;
}

.tm-card--location .tm-card__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	color: var(--tm-white);
	font-family: var(--tm-font-serif);
	font-size: 19px;
	letter-spacing: .02em;
}

.tm-card__pin {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--tm-brass);
}

.tm-card--location .tm-card__text {
	color: #B9C2CB;
	font-size: 13.5px;
}

/* Dark tone cho các kiểu sáng */
.tm-dark .tm-card--media,
.tm-dark .tm-card--tag,
.tm-dark .tm-card--video {
	--tm-card-bg: #18212B;
	--tm-card-border: rgba(255, 255, 255, .1);
}

.tm-dark .tm-card--media .tm-card__title,
.tm-dark .tm-card--tag .tm-card__title,
.tm-dark .tm-card--video .tm-card__title {
	color: var(--tm-white);
}

.tm-dark .tm-card--media .tm-card__text {
	color: #AEB8C2;
}

@media (max-width: 1024px) {
	.tm-card__marks:not([class*="tm-card__marks--n"]) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tm-card--panel .tm-card__body {
		padding: 28px;
	}
}

@media (max-width: 767px) {
	.tm-cards__head {
		margin-bottom: var(--tm-head-gap, 36px);
	}

	.tm-card--location {
		grid-template-columns: 1fr;
	}

	.tm-card--location .tm-card__media {
		grid-column: 1;
		grid-row: 1;
	}

	.tm-card--location .tm-card__body {
		grid-row: 2;
	}

	.tm-card--solution .tm-card__body,
	.tm-card--panel .tm-card__body {
		padding: 24px;
	}
}

/* Tiếng Việt: các kiểu thẻ có line-height riêng (feature-dark 1.25...) -> nới cho chữ có dấu */
:lang(vi) .tm-cards .tm-card__title {
	--tm-lh-vi: 1.42;
	line-height: 1.42;
}

/* center-dark theo bản mẫu: p-6 sm:p-8 */
.tm-card--center-dark .tm-card__body {
	padding: 24px;
}

@media (min-width: 640px) {
	.tm-card--center-dark .tm-card__body {
		padding: 32px;
	}
}

/* Bản mẫu: nhãn nhỏ section chứng nhận màu đỏ dù nền tối */
#certifications .tm-eyebrow {
	color: var(--tm-red);
}

/* product theo bản mẫu: thẻ p-3.5; khung ảnh h-52 (208) nền xám, viền, bo 6, p-3, ảnh contain;
   tiêu đề p-4 pt-4 pb-2, nút p-4 pt-1 (cách tiêu đề 12) */
.tm-card--product {
	padding: 14px;
}

.tm-card--product .tm-card__media {
	height: 208px;
	aspect-ratio: auto;
	margin: 0;
	padding: 12px;
	border: 1px solid rgba(226, 232, 240, .8);
	border-radius: 6px;
	background: rgba(241, 245, 249, .8);
}

.tm-card--product .tm-card__media > img {
	object-fit: contain;
}

.tm-card--product .tm-card__body {
	padding: 16px 16px 2px;
}

.tm-card--product .tm-card__btn {
	min-height: 0;
	margin-top: 12px;
}

/* step-dark theo bản mẫu (Faucet - How we work): lưới gap-6, cách khối tiêu đề 72 (space-y-14 + pt-4),
   thẻ p-6 md:p-7, hàng số cao 32, space-y-4 */
.tm-cards--step-dark {
	--tm-head-gap: 72px;
}

.tm-cards--step-dark .tm-cards__grid {
	gap: 24px;
}

.tm-card--step-dark .tm-card__top {
	height: 32px;
	margin-bottom: 16px;
}

.tm-card--step-dark .tm-card__title {
	margin-bottom: 16px;
}

@media (min-width: 768px) {
	.tm-card--step-dark .tm-card__body {
		padding: 28px;
	}
}

/* location trên mobile (bản mẫu): chữ trước, ảnh h-24 rộng hết bên dưới, p-5, gap-5 */
@media (max-width: 767px) {
	.tm-card--location {
		gap: 20px;
		padding: 20px;
	}

	.tm-card--location .tm-card__body {
		order: 1;
		padding-left: 8px;
	}

	.tm-card--location .tm-card__media {
		order: 2;
		height: 96px;
		aspect-ratio: auto;
	}
}

/* ---------------------------------------------------------------------------
   Feedback khách 2026-11-06
   ------------------------------------------------------------------------ */

/* (1) "Why OEM customers": như bản mẫu, 5 cột chỉ từ 1280 (xl), 1024-1279 là 3 cột -> tiêu đề
   dài (MANUFACTURING) không bị cắt giữa chữ. Không cho trình duyệt bẻ giữa từ (Blocksy đặt
   overflow-wrap: break-word cho body). !important: thắng selector cột Elementor sinh ra. */
@media (min-width: 1025px) and (max-width: 1279.98px) {
	.tm-cards--feature-dark .tm-cards__grid {
		--tm-cols: 3 !important;
	}
}

.tm-cards .tm-card__title {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

/* (3) Core plating services: ảnh 3 thẻ thẳng hàng ở đáy thẻ, tiêu đề/mô tả giữ chỗ bằng nhau
   để phần "Key specifications" bắt đầu cùng một hàng */
.tm-card--service {
	justify-content: space-between;
}

@media (min-width: 768px) {
	.tm-card--service .tm-card__title {
		min-height: 2lh;
	}

	.tm-card--service .tm-card__text {
		min-height: 4lh;
	}
}

/* (2) Quality checks by area - theo bản mẫu: không icon/nhãn trên cùng, viền trái màu (đỏ / đồng),
   gạch màu trước tiêu đề + kẻ dưới, số thứ tự ô vuông mono đổi màu khi hover dòng, chữ chìm
   PLATING / FAUCET ở góc dưới, các dòng cao tối thiểu 80 để 2 cột thẳng hàng */
html body .elementor .tm-cards--panel .tm-card--panel {
	--tm-accent: var(--tm-red);
	--tm-accent-soft: rgba(144, 16, 16, .08);
	--tm-accent-line: rgba(144, 16, 16, .2);
	--tm-accent-ink: var(--tm-red);

	overflow: hidden;
	border: 1px solid #D4DFE6;
	border-left: 4px solid var(--tm-accent);
	border-radius: 2px 16px 16px 2px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
	transition: box-shadow .3s;
}

html body .elementor .tm-cards--panel .tm-card--panel:nth-child(2n) {
	--tm-accent: var(--tm-brass);
	--tm-accent-soft: rgba(176, 138, 72, .12);
	--tm-accent-line: rgba(176, 138, 72, .3);
	--tm-accent-ink: #8E6C2D;
}

html body .elementor .tm-cards--panel .tm-card--panel:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
	transform: none;
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__body {
	position: relative;
	padding: 32px;
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__top {
	display: none;
}

/* Nhãn "Plating" / "Faucet" -> chữ chìm */
html body .elementor .tm-cards--panel .tm-card--panel .tm-card__label {
	position: absolute;
	right: 16px;
	bottom: 8px;
	margin: 0;
	color: var(--tm-accent);
	font-family: var(--tm-font-serif);
	font-size: 96px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: .2em;
	text-transform: uppercase;
	opacity: .03;
	pointer-events: none;
	user-select: none;
	transition: transform .5s;
}

html body .elementor .tm-cards--panel .tm-card--panel:hover .tm-card__label {
	transform: scale(1.05);
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__title {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding-bottom: 16px;
	border-bottom: 1px solid #D4DFE6;
	color: var(--tm-carbon);
	font-family: var(--tm-font-serif);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.33;
	letter-spacing: 0;
	text-transform: uppercase;
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__title::before {
	content: "";
	flex: none;
	width: 6px;
	height: 24px;
	border-radius: 2px;
	background: var(--tm-accent);
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__steps {
	position: relative;
	display: grid;
	gap: 24px;
	margin: 0;
	padding-top: 16px;
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__steps li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 0;
	border: 0;
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__step-num {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-top: 2px;
	border: 1px solid var(--tm-accent-line);
	border-radius: 6px;
	background: var(--tm-accent-soft);
	color: var(--tm-accent-ink);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	transition: background-color .25s, color .25s;
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__steps li:hover .tm-card__step-num {
	background: var(--tm-accent);
	color: var(--tm-white);
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__steps strong {
	display: block;
	margin-bottom: 2px;
	color: #1E293B;
	font-family: var(--tm-font-cond);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.43;
	letter-spacing: .05em;
	text-transform: uppercase;
	transition: color .25s;
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__steps li:hover strong {
	color: var(--tm-accent);
}

html body .elementor .tm-cards--panel .tm-card--panel .tm-card__steps span:not(.tm-card__step-num) {
	color: #475569;
	font-family: var(--tm-font);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.625;
}

@media (min-width: 768px) {
	html body .elementor .tm-cards--panel .tm-card--panel .tm-card__body {
		padding: 40px;
	}

	html body .elementor .tm-cards--panel .tm-card--panel .tm-card__label {
		font-size: 128px;
	}
}

@media (min-width: 1024px) {
	html body .elementor .tm-cards--panel .tm-cards__grid {
		gap: 48px;
	}

	html body .elementor .tm-cards--panel .tm-card--panel .tm-card__steps li {
		min-height: 80px;
	}
}

/* Máy không có Barlow Condensed: weight 800/900 rơi về Arial Black (rất rộng) -> dùng 700 */
html body .elementor .tm-card--feature-dark .tm-card__title {
	font-weight: 700;
}
