/* TODA Valves & Fittings — giao diện theo Figma chIPDY9A6j9ZzfiCOo4enU.
   Tiền tố .td- để không trùng Kadence/Woo. Khối Kadence gắn class td-* ở "Additional CSS class". */

/* ---------- Nền ---------- */
.td-site {
	font-family: var(--td-font);
	color: var(--td-ink);
	-webkit-font-smoothing: antialiased;
}

.td-site h1,
.td-site h2,
.td-site h3,
.td-site h4 {
	font-family: var(--td-font-head);
	color: var(--td-navy);
	letter-spacing: 0;
}

.td-site img {
	max-width: 100%;
	height: auto;
}

.td-container {
	width: 100%;
	max-width: calc(var(--td-container) + var(--td-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--td-gutter);
}

.td-section {
	padding-block: var(--td-section-y);
}

.td-section--ivory {
	background: var(--td-ivory);
}

.td-eyebrow,
.td-site p.td-eyebrow {
	margin: 0 0 12px;
	font-family: var(--td-font);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--td-blue);
}

.td-h2,
.td-site h2.td-h2 {
	margin: 0 0 32px;
	font-size: 36px;
	line-height: 1.22;
	font-weight: 700;
}

/* ---------- Nút ---------- */
.td-btn,
.td-site .td-kbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 28px;
	border: 1.5px solid transparent;
	border-radius: var(--td-radius-sm);
	font-family: var(--td-font-head);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none !important;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.td-btn--sm {
	padding: 11px 20px;
	font-size: 14px;
}

.td-btn--primary,
.td-site .td-kbtn--primary {
	background: var(--td-blue) !important;
	color: var(--td-white) !important;
}

.td-btn--primary:hover,
.td-site .td-kbtn--primary:hover {
	background: var(--td-blue-dark) !important;
}

.td-btn--accent,
.td-site .td-kbtn--accent {
	background: var(--td-gold) !important;
	color: var(--td-navy) !important;
}

.td-btn--accent:hover,
.td-site .td-kbtn--accent:hover {
	background: var(--td-gold-dark) !important;
}

.td-btn--outline,
.td-site .td-kbtn--outline {
	background: transparent !important;
	border-color: var(--td-navy) !important;
	color: var(--td-navy) !important;
}

.td-btn--outline:hover,
.td-site .td-kbtn--outline:hover {
	background: var(--td-navy) !important;
	color: var(--td-white) !important;
}

.td-site .td-kbtn--outline-light {
	background: transparent !important;
	border-color: var(--td-white) !important;
	color: var(--td-white) !important;
}

.td-site .td-kbtn--outline-light:hover {
	background: rgba(255, 255, 255, 0.12) !important;
}

.td-btn--disabled {
	background: var(--td-ivory);
	color: var(--td-muted);
	cursor: default;
}

.td-site .td-kbtns {
	gap: 16px;
}

/* ---------- Header / footer Kadence ---------- */
.td-site #masthead .site-top-header-wrap .header-html {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 28px;
	width: 100%;
}

.td-site .td-tb-mail {
	margin-right: auto;
}

.td-site .td-tb-mail:hover {
	color: var(--td-white);
}

.td-site .td-lang {
	display: inline-flex;
	gap: 8px;
	font-weight: 500;
}

.td-site .td-lang a,
.td-site .td-lang span {
	color: var(--td-concrete);
}

.td-site .td-lang .is-active {
	color: var(--td-gold);
	font-weight: 600;
}

.td-site .site-top-header-wrap .site-header-row-container-inner {
	justify-content: space-between;
}

.td-site .header-navigation .header-menu-container > ul > li.menu-item > a {
	font-family: var(--td-font-head);
}

.td-site .header-navigation .header-menu-container > ul > li.current-menu-item > a,
.td-site .header-navigation .header-menu-container > ul > li.current_page_item > a {
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.td-site #colophon .td-footer-logo {
	display: inline-block;
	padding: 8px 14px;
	background: var(--td-white);
	border-radius: var(--td-radius-sm);
	margin-bottom: 16px;
}

.td-site #colophon .td-footer-logo img {
	display: block;
}

.td-site #colophon .widget-area ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.td-site #colophon .widget-area li {
	margin-bottom: 10px;
}

.td-site #colophon .widget-area h2 {
	margin-bottom: 18px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.td-site #colophon .widget-area p {
	margin-bottom: 0;
	color: var(--td-concrete);
	line-height: 1.7;
}

.td-site #colophon .widget-area strong {
	color: var(--td-white);
}

/* ---------- Banner trang ---------- */
.td-banner,
.td-site .td-banner-row {
	background: var(--td-navy);
	color: var(--td-white);
}

.td-banner {
	padding-block: 56px;
}

.td-banner__title,
.td-site .td-banner__title,
.td-site .td-banner-row h1 {
	margin: 10px 0 0;
	font-size: 44px;
	line-height: 1.15;
	font-weight: 700;
	color: var(--td-white);
}

.td-banner__lead {
	margin: 16px 0 0;
	max-width: 640px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--td-concrete);
}

.td-crumb,
.td-site .td-kcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	color: var(--td-concrete);
}

.td-crumb a,
.td-site .td-kcrumb a {
	color: var(--td-concrete);
	text-decoration: none;
}

.td-crumb a:hover,
.td-site .td-kcrumb a:hover {
	color: var(--td-white);
}

.td-crumbbar {
	padding-block: 18px;
	background: var(--td-ivory);
	border-bottom: 1px solid var(--td-line);
}

.td-crumbbar .td-crumb,
.td-crumbbar .td-crumb a {
	color: var(--td-muted);
}

.td-crumbbar .td-crumb a:hover {
	color: var(--td-blue);
}

/* ---------- Tab ngành ---------- */
.td-tabs {
	background: var(--td-ivory);
	border-bottom: 1px solid var(--td-line);
}

.td-tabs__inner {
	display: flex;
	gap: 12px;
	padding-block: 20px;
	overflow-x: auto;
}

.td-tab {
	flex: none;
	padding: 11px 22px;
	border: 1px solid var(--td-line);
	border-radius: 100px;
	background: var(--td-white);
	font-family: var(--td-font-head);
	font-size: 14px;
	font-weight: 600;
	color: var(--td-navy);
	text-decoration: none;
	white-space: nowrap;
}

.td-tab:hover {
	border-color: var(--td-blue);
	color: var(--td-blue);
}

.td-tab.is-active {
	background: var(--td-blue);
	border-color: var(--td-blue);
	color: var(--td-white);
}

/* ---------- Danh mục sản phẩm ---------- */
.td-shop__layout {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.td-search {
	display: flex;
	border: 1px solid var(--td-steel);
	border-radius: var(--td-radius-sm);
	background: var(--td-white);
	margin-bottom: 28px;
}

.td-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 13px 16px;
	border: 0;
	background: transparent;
	font-size: 15px;
	box-shadow: none;
}

.td-search button {
	padding: 0 16px;
	border: 0;
	background: transparent;
	color: var(--td-navy);
	cursor: pointer;
}

.td-tree__title {
	margin-bottom: 14px;
	font-family: var(--td-font-head);
	font-size: 17px;
	font-weight: 700;
	color: var(--td-navy);
	cursor: pointer;
	list-style: none;
}

.td-tree__list,
.td-tree__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.td-tree__list > li {
	margin-bottom: 12px;
}

.td-tree__list a {
	color: var(--td-ink);
	text-decoration: none;
	font-size: 14px;
}

.td-tree__list a:hover,
.td-tree__list a.is-active {
	color: var(--td-blue);
}

.td-tree__list a.is-active {
	font-weight: 600;
}

.td-tree .td-tree__parent {
	font-family: var(--td-font-head);
	font-size: 15px;
	font-weight: 600;
	color: var(--td-navy);
}

.td-tree__list > li > ul {
	display: none;
	margin-top: 10px;
	padding-left: 14px;
}

.td-tree__list > li.is-open > ul {
	display: block;
}

.td-tree__list > li > ul > li {
	margin-bottom: 8px;
}

.td-tree__list > li > ul > li > ul {
	margin: 8px 0 12px;
	padding-left: 12px;
	border-left: 1px solid var(--td-line, #d8dbe3);
}

.td-tree__list > li > ul > li > ul > li {
	margin-bottom: 6px;
}

.td-tree__list > li > ul > li > ul a {
	font-size: 13px;
	color: var(--td-muted, #5b6472);
}

.td-tree__list > li > ul > li > ul a:hover,
.td-tree__list > li > ul > li > ul a.is-active {
	color: var(--td-blue);
}

.td-shop__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 12px;
}

.td-shop__title {
	margin: 0;
	font-size: 30px;
	line-height: 1.2;
}

.td-shop__desc {
	margin: 0 0 12px;
	color: var(--td-muted);
}

.td-shop__sub {
	margin: 28px 0 16px;
	font-family: var(--td-font-head);
	font-size: 18px;
	font-weight: 700;
	color: var(--td-navy);
}

.td-subcats {
	margin-bottom: 8px;
}

.td-subcat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 22px;
	background: var(--td-white);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
	text-decoration: none;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.td-subcat:hover {
	border-color: rgba(10, 27, 214, 0.35);
	box-shadow: 0 14px 30px -18px rgba(11, 37, 69, 0.3);
}

.td-subcat__name {
	font-family: var(--td-font-head);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--td-navy);
}

.td-subcat__meta {
	font-size: 13px;
	color: var(--td-muted);
}

.td-subcat__more {
	margin-top: auto;
	padding-top: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--td-blue);
}

.woocommerce-result-count {
	margin: 0 0 24px;
	font-size: 15px;
	color: var(--td-muted);
}

.woocommerce-ordering {
	margin: 0;
}

.woocommerce-ordering select {
	padding: 11px 16px;
	border: 1px solid var(--td-steel);
	border-radius: var(--td-radius-sm);
	background-color: var(--td-white);
	font-size: 14px;
	color: var(--td-ink);
}

.td-empty {
	color: var(--td-muted);
}

/* ---------- Lưới & thẻ ---------- */
.td-grid {
	display: grid;
	gap: 24px;
	align-items: stretch;
}

.td-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.td-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.td-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--td-white);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
}

.td-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	background: var(--td-white);
}

.td-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
}

.td-card__media--photo img {
	padding: 0;
	object-fit: cover;
}

.td-card__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--td-concrete);
	font-size: 13px;
	font-weight: 500;
	color: var(--td-steel);
}

.td-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 20px;
}

.td-card__cat {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--td-blue);
}

.td-card__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 600;
}

.td-card__title a {
	color: var(--td-navy);
	text-decoration: none;
}

.td-card__title a:hover {
	color: var(--td-blue);
}

.td-card__spec {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--td-muted);
}

.td-card__more {
	margin-top: auto;
	padding-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--td-blue);
	text-decoration: none;
}

.td-card__more:hover {
	color: var(--td-blue-dark);
}

/* Phân trang (Woo + WP) */
.woocommerce-pagination ul,
.navigation.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination li {
	margin: 0;
}

.woocommerce-pagination a,
.woocommerce-pagination span,
.navigation.pagination a,
.navigation.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-sm);
	background: var(--td-white);
	font-weight: 600;
	color: var(--td-navy);
	text-decoration: none;
}

.woocommerce-pagination .current,
.navigation.pagination .current {
	background: var(--td-blue);
	border-color: var(--td-blue);
	color: var(--td-white);
}

/* ---------- Trang sản phẩm ---------- */
.td-product__layout {
	display: grid;
	grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.td-gallery__main {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	padding: 16px;
	background: var(--td-white);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
}

.td-gallery__main img {
	max-height: 460px;
	object-fit: contain;
}

.td-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.td-gallery__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 96px;
	padding: 6px;
	background: var(--td-white);
	border: 1px solid var(--td-line);
	border-radius: 6px;
	cursor: pointer;
}

.td-gallery__thumb img {
	max-height: 100%;
	object-fit: contain;
}

.td-gallery__thumb.is-active {
	border: 2px solid var(--td-blue);
}

.td-product__title {
	margin: 0 0 16px;
	font-size: 34px;
	line-height: 1.25;
}

.td-product__short {
	margin-bottom: 24px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--td-muted);
}

.td-product__short p {
	margin: 0;
}

.td-specs {
	margin: 0 0 24px;
	padding: 8px 24px;
	background: var(--td-ivory);
	border-radius: var(--td-radius);
}

.td-specs > div {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 13px 0;
	border-top: 1px solid var(--td-line);
}

.td-specs > div:first-child {
	border-top: 0;
}

.td-specs dt {
	flex: none;
	font-size: 15px;
	color: var(--td-muted);
}

.td-specs dd {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	text-align: right;
	color: var(--td-navy);
}

.td-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
}

.td-product__meta {
	margin: 0;
	font-size: 14px;
	color: var(--td-muted);
}

.td-product__meta a {
	color: var(--td-muted);
}

/* Tab Woo mặc định: Description / Additional information */
.td-section--tabs {
	padding-top: 0;
}

.woocommerce-tabs ul.tabs {
	display: flex;
	gap: 36px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--td-line);
}

.woocommerce-tabs ul.tabs li {
	margin: 0 0 -1px;
}

.woocommerce-tabs ul.tabs li a {
	display: block;
	padding-bottom: 14px;
	border-bottom: 3px solid transparent;
	font-family: var(--td-font-head);
	font-size: 16px;
	font-weight: 600;
	color: var(--td-muted);
	text-decoration: none;
}

.woocommerce-tabs ul.tabs li.active a {
	border-color: var(--td-blue);
	color: var(--td-blue);
}

.woocommerce-tabs .woocommerce-Tabs-panel h2 {
	display: none;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
	font-size: 16px;
	line-height: 1.7;
}

table.woocommerce-product-attributes {
	width: 100%;
	border: 1px solid var(--td-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--td-radius);
	overflow: hidden;
}

table.woocommerce-product-attributes tr:nth-child(odd) {
	background: var(--td-ivory);
}

table.woocommerce-product-attributes th,
table.woocommerce-product-attributes td {
	padding: 15px 24px;
	border: 0;
	font-size: 15px;
	text-align: left;
	vertical-align: top;
}

table.woocommerce-product-attributes th {
	width: 280px;
	font-weight: 600;
	color: var(--td-navy);
}

table.woocommerce-product-attributes td p {
	margin: 0;
}

/* ---------- CTA ---------- */
.td-cta,
.td-site .td-cta-row {
	background: var(--td-navy);
	color: var(--td-white);
}

.td-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-block: 64px;
}

.td-cta__title,
.td-site .td-cta__title {
	margin: 0 0 10px;
	font-size: 32px;
	line-height: 1.25;
	color: var(--td-white);
}

.td-cta__text {
	margin: 0;
	font-size: 17px;
	color: var(--td-concrete);
}

/* ---------- Tải về ---------- */
.td-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 40px;
}

.td-chip {
	padding: 11px 22px;
	border: 1px solid var(--td-line);
	border-radius: 100px;
	background: var(--td-white);
	font-family: var(--td-font-head);
	font-size: 14px;
	font-weight: 600;
	color: var(--td-navy);
	cursor: pointer;
}

.td-chip.is-active {
	background: var(--td-blue);
	border-color: var(--td-blue);
	color: var(--td-white);
}

.td-docs-group {
	margin-bottom: 48px;
}

.td-docs-group__head h2 {
	margin: 0 0 6px;
	font-size: 26px;
}

.td-docs-group__head p {
	margin: 0 0 20px;
	color: var(--td-muted);
}

.td-docs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.td-docs--rows {
	grid-template-columns: 1fr;
	gap: 12px;
}

.td-doc {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 24px;
	background: var(--td-ivory);
	border-radius: var(--td-radius);
}

.td-doc--row {
	padding: 16px 20px;
}

.td-doc__badge {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 60px;
	border-radius: 6px;
	background: var(--td-blue);
	font-size: 13px;
	font-weight: 600;
	color: var(--td-white);
}

.td-doc--row .td-doc__badge {
	width: 44px;
	height: 40px;
	font-size: 12px;
}

.td-doc__text {
	flex: 1;
	min-width: 0;
}

.td-doc__title {
	margin: 0 0 4px;
	font-size: 16px;
	line-height: 1.35;
	font-weight: 600;
}

.td-doc__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--td-muted);
}

.td-doc .td-btn {
	flex: none;
}

/* ---------- Tin tức ---------- */
.td-article {
	max-width: 820px;
}

.td-article__meta {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--td-muted);
}

.td-article__img img {
	width: 100%;
	border-radius: var(--td-radius);
	margin-bottom: 28px;
}

.td-article__body {
	font-size: 17px;
	line-height: 1.75;
}

/* ---------- Bản đồ, nút nổi ---------- */
.td-map iframe {
	display: block;
	width: 100%;
	height: 300px;
	border: 0;
	border-radius: var(--td-radius);
}

.td-float {
	position: fixed;
	right: 16px;
	bottom: 20px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.td-float__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	color: var(--td-white);
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(11, 37, 69, 0.28);
}

.td-float__btn--zalo {
	background: #0068ff;
}

.td-float__btn--wa {
	background: #1fa855;
}

.td-float__btn--call {
	background: var(--td-gold);
	color: var(--td-navy);
}

/* ---------- Trang dựng bằng Kadence Blocks ---------- */
.td-site .td-hero-row {
	background: var(--td-navy);
	color: var(--td-white);
}

.td-site .td-hero-title,
.td-site .td-hero-title * {
	font-size: clamp(30px, 2.8vw, 40px);
	line-height: 1.2;
	font-weight: 700;
	color: var(--td-white);
	text-wrap: balance;
}

.td-site .td-hero-lead {
	max-width: 560px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--td-concrete);
}

.td-site .td-hero-badge {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid var(--td-steel);
	border-radius: 100px;
	font-size: 14px;
	font-weight: 500;
	color: var(--td-white);
}

.td-site .td-hero-img img {
	width: 100%;
	height: 440px;
	object-fit: cover;
	border-radius: var(--td-radius);
}

.td-site .td-hero-row .td-eyebrow {
	color: var(--td-gold);
}

.td-site .td-values-row {
	background: var(--td-mist);
}

.td-site .td-kvalue h3 {
	margin: 0 0 2px;
	font-size: 18px;
}

.td-site .td-kvalue p {
	margin: 0;
	font-size: 14px;
	color: var(--td-muted);
}

.td-site .td-knum {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--td-blue);
	font-family: var(--td-font-head);
	font-size: 14px;
	font-weight: 700;
	color: var(--td-white);
}

.td-site .td-khead {
	margin-bottom: 8px;
}

.td-site .td-khead--center {
	text-align: center;
}

.td-site .td-lead {
	font-size: 17px;
	line-height: 1.65;
	color: var(--td-muted);
}

/* Thẻ ngành */
.td-site .td-ind {
	overflow: hidden;
	background: var(--td-white);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
}

.td-site .td-ind > .kt-inside-inner-col {
	height: 100%;
	padding: 0;
}

.td-site .td-ind img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.td-site .td-ind__body {
	padding: 22px;
}

.td-site .td-ind h3 {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.25;
}

.td-site .td-ind p {
	font-size: 14px;
	line-height: 1.55;
	color: var(--td-muted);
}

.td-site .td-ind__link a {
	font-size: 14px;
	font-weight: 600;
	color: var(--td-blue);
	text-decoration: none;
}

.td-site .td-ind__type {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--td-blue);
}

.td-site .td-ind-img--contain img {
	object-fit: contain;
	padding: 18px;
	background: var(--td-white);
}

.td-site .td-valex-row {
	background: var(--td-ivory);
}

.td-site .td-valex-img img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	border-radius: var(--td-radius);
}

.td-site .td-qcard {
	height: 100%;
	border-radius: var(--td-radius);
}

.td-site .td-qcard--dark,
.td-site .td-qcard--dark h3,
.td-site .td-qcard--dark p {
	color: var(--td-white);
}

.td-site .td-qcard--dark p {
	color: var(--td-concrete);
}

.td-site .td-qcard h3 {
	font-size: 28px;
	line-height: 1.25;
}

.td-site .td-qcard p {
	font-size: 17px;
	line-height: 1.65;
}

.td-site .td-fact-card {
	background: var(--td-white);
	border-radius: var(--td-radius);
}

.td-site .td-fact-label {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--td-blue);
}

.td-site .td-fact-value {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--td-navy);
}

.td-site .td-contact-card {
	background: var(--td-navy);
	border-radius: var(--td-radius);
}

.td-site .td-contact-card h3,
.td-site .td-contact-card p {
	color: var(--td-white);
}

.td-site .td-contact-card .td-fact-label {
	color: var(--td-gold);
}

.td-site .td-contact-card .td-fact-value {
	color: var(--td-white);
}

.td-site .td-contact-card a {
	color: var(--td-white);
}

.td-site .td-form-card {
	background: var(--td-white);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
}

/* Fluent Forms */
.td-site .fluentform .ff-el-input--label label {
	font-size: 14px;
	font-weight: 600;
	color: var(--td-navy);
}

.td-site .fluentform .ff-el-form-control {
	padding: 13px 16px;
	border: 1px solid var(--td-steel);
	border-radius: var(--td-radius-sm);
	background: var(--td-white);
	font-size: 15px;
	color: var(--td-ink);
}

.td-site .fluentform .ff-el-form-control:focus {
	border-color: var(--td-blue);
	box-shadow: 0 0 0 2px rgba(10, 27, 214, 0.15);
}

.td-site .fluentform .td-form-submit,
.td-site .fluentform .ff-btn-submit {
	padding: 15px 28px;
	border: 0;
	border-radius: var(--td-radius-sm);
	background: var(--td-blue);
	font-family: var(--td-font-head);
	font-size: 15px;
	font-weight: 600;
	color: var(--td-white);
}

.td-site .fluentform .ff-btn-submit:hover {
	background: var(--td-blue-dark);
}

/* Chỉnh sau khi so với Figma */
.td-site .site-top-header-wrap .header-html-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	width: 100%;
}

.td-site .site-top-header-wrap .header-html {
	flex: 1;
}

.td-site .td-hero-text > .kt-inside-inner-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.td-site .td-hero-text .td-eyebrow,
.td-site .td-hero-text h1,
.td-site .td-hero-text p {
	margin: 0;
}

.td-site .td-hero-row .td-eyebrow {
	color: var(--td-gold);
}

.td-site .td-values-row > .kt-row-column-wrap {
	align-items: center;
}

.td-site .td-kvalue > .kt-inside-inner-col {
	display: grid !important;
	grid-template-columns: 44px minmax(0, 1fr);
	column-gap: 16px;
	align-items: center;
}

.td-site .td-kvalue .td-knum {
	grid-row: 1 / span 2;
	margin: 0;
	color: var(--td-white);
}

.td-site .td-kvalue h3,
.td-site .td-kvalue p {
	margin: 0;
	grid-column: 2;
}

.td-site .td-khead > .kt-inside-inner-col > * {
	margin-bottom: 0;
}

.td-site .td-khead > .kt-inside-inner-col {
	padding-bottom: 32px;
}

.td-site .td-khead--right {
	text-align: right;
}

.td-site .td-more {
	margin: 0;
}

.td-site .td-more a {
	font-size: 15px;
	font-weight: 600;
	color: var(--td-blue);
	text-decoration: none;
}

.td-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.td-site .td-ind > .kt-inside-inner-col {
	display: flex;
	flex-direction: column;
}

.td-site .td-ind .wp-block-image {
	margin: 0;
}

.td-site .td-ind__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	margin: 0;
}

.td-site .td-ind__body > * {
	margin: 0;
}

.td-site p.td-ind__type {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--td-blue);
}

.td-site .td-ind__link {
	margin-top: auto !important;
	padding-top: 8px;
}

.td-site .td-qcard > .kt-inside-inner-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
}

.td-site .td-qcard > .kt-inside-inner-col > * {
	margin: 0;
}

.td-site .td-qcard--dark .td-eyebrow {
	color: var(--td-gold);
}

.td-site .td-cta-btn .kt-btns-wrap {
	justify-content: flex-end;
}

.td-site .td-cta-row .td-cta__text {
	margin: 0;
}

.td-site .td-hero-media .wp-block-image,
.td-site .td-valex-img {
	margin: 0;
}

/* Thẻ cùng hàng cao bằng nhau, chân thẻ ghim đáy */
.td-site .td-eq > .kt-row-column-wrap {
	align-items: stretch;
}

.td-site .td-eq > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col {
	height: 100%;
}

.td-site .td-foot {
	margin-top: auto !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 1024px) {
	.td-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.td-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.td-product__layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.td-shop__layout {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 28px;
	}
}

@media (max-width: 767px) {
	.td-h2,
	.td-site h2.td-h2 {
		font-size: 26px;
		margin-bottom: 24px;
	}

	.td-banner {
		padding-block: 36px;
	}

	.td-banner__title,
	.td-site .td-banner__title,
	.td-site .td-banner-row h1 {
		font-size: 32px;
	}

	.td-shop__layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.td-shop__head {
		flex-direction: column;
		align-items: stretch;
	}

	.td-grid--3,
	.td-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.td-card__media {
		height: 140px;
	}

	.td-card__body {
		padding: 14px;
	}

	.td-card__title {
		font-size: 16px;
	}

	.td-product__title {
		font-size: 26px;
	}

	.td-gallery__main {
		min-height: 300px;
	}

	.td-gallery__thumb {
		height: 64px;
	}

	.td-actions {
		flex-direction: column;
	}

	.td-actions .td-btn {
		width: 100%;
	}

	.td-specs {
		padding: 6px 18px;
	}

	table.woocommerce-product-attributes th {
		display: block;
		width: 100%;
		padding: 13px 16px 2px;
	}

	table.woocommerce-product-attributes td {
		display: block;
		padding: 0 16px 13px;
	}

	.woocommerce-tabs ul.tabs {
		gap: 20px;
	}

	.td-cta__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding-block: 44px;
	}

	.td-cta__title,
	.td-site .td-cta__title {
		font-size: 24px;
	}

	.td-cta .td-btn {
		width: 100%;
	}

	.td-docs {
		grid-template-columns: 1fr;
	}

	.td-doc {
		flex-wrap: wrap;
		padding: 16px;
	}

	.td-doc .td-btn {
		width: 100%;
	}

	.td-site .td-hero-img img,
	.td-site .td-valex-img img {
		height: 240px;
	}

	.td-site .td-kbtns .td-kbtn {
		width: 100%;
	}

	.td-site .td-ind img {
		height: 110px;
	}

	.td-site .td-ind__body {
		padding: 14px;
	}

	.td-site .td-ind h3 {
		font-size: 16px;
	}

	.td-site .td-ind p {
		display: none;
	}

	.td-site .td-qcard h3 {
		font-size: 22px;
	}

	.td-map iframe {
		height: 220px;
	}

	.td-float {
		right: 10px;
		bottom: 14px;
	}

	.td-float__btn {
		width: 44px;
		height: 44px;
	}
}

/* Footer: chữ sáng trên nền navy (ghi đè màu tiêu đề/liên kết mặc định) */
.td-site #colophon .widget-area h2,
.td-site #colophon .widget-area .wp-block-heading {
	margin-top: 0;
	font-family: var(--td-font);
	font-size: 12px;
	font-weight: 600;
	color: var(--td-gold);
}

.td-site #colophon .widget-area a {
	color: var(--td-concrete);
	text-decoration: none;
}

.td-site #colophon .widget-area a:hover {
	color: var(--td-white);
}

.td-site #colophon .widget-area li {
	color: var(--td-concrete);
}

.td-shop,
.td-site .site-main {
	background: var(--td-white);
}

.td-card__media {
	text-decoration: none;
}

.td-card__ph {
	text-decoration: none;
}

.td-site .td-fact-label {
	margin-top: 18px;
}

.td-site .td-facts .kt-inside-inner-col > p:first-child,
.td-site .td-contact-card .td-fact-label:first-of-type {
	margin-top: 0;
}

.td-site .td-fact-value {
	margin-top: 0;
}

.td-site .td-contact-card .td-fact-label {
	color: var(--td-gold);
}

/* Thẻ trong nội dung trang (Kadence thêm margin cho h3/p) */
.td-site .td-card .td-card__title,
.td-site .td-card p {
	margin: 0;
}

.td-site .td-card__body {
	gap: 6px;
}

.td-site .site-main-header-wrap .td-lang a,
.td-site .site-main-header-wrap .td-lang span,
.td-site .mobile-html .td-lang span {
	color: var(--td-navy);
}

.td-site .site-main-header-wrap .td-lang .is-active {
	color: var(--td-blue);
}

@media (max-width: 767px) {
	.td-site .td-khead--right {
		text-align: left;
	}

	.td-site .td-khead--right > .kt-inside-inner-col {
		padding-bottom: 0;
	}

	.td-site .td-values-row .td-kvalue > .kt-inside-inner-col {
		padding-inline: 0;
	}
}

/* Slide hero (Kadence Gallery dạng slider) */
.td-site .td-hero-media > .kt-inside-inner-col {
	padding: 0;
}

.td-site .td-hero-slider {
	margin: 0;
}

.td-site .td-hero-slider .kb-gallery-ul,
.td-site .td-hero-slider .kt-blocks-carousel {
	margin: 0;
}

.td-site .td-hero-slider .kb-slide-item img,
.td-site .td-hero-slider .kadence-blocks-gallery-item img {
	object-fit: cover;
}

.td-site .td-hero-slider .splide__pagination {
	bottom: 14px;
}

.td-site .td-hero-slider .splide__arrow {
	background: rgba(11, 37, 69, 0.55);
}

/* Tiêu đề không rớt 1 chữ ở dòng cuối */
.td-site h1,
.td-site h2,
.td-site h3 {
	text-wrap: balance;
}

.td-site .td-values-row > .kt-row-column-wrap {
	padding-inline: 0;
}

/* Nút liên hệ nổi của plugin 123website-core chưa gắn link (href="#") và đè lên nút của theme → ẩn, dùng .td-float */
.c123-floating-stack {
	display: none !important;
}

/* =====================================================================
   MOTION — tinh tế, chỉ dùng transform/opacity (không gây xô lệch bố cục).
   Tắt hoàn toàn khi người dùng chọn "giảm chuyển động".
   ===================================================================== */
:root {
	--td-ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}

	/* ----- Vào trang: hero ----- */
	@keyframes td-up {
		from {
			opacity: 0;
			transform: translateY(26px);
		}
		to {
			opacity: 1;
			transform: none;
		}
	}

	@keyframes td-fade {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}

	@keyframes td-pop {
		from {
			opacity: 0;
			transform: translateY(18px) scale(0.96);
		}
		to {
			opacity: 1;
			transform: none;
		}
	}

	.td-site .td-hero-text > .kt-inside-inner-col > * {
		animation: td-up 0.9s var(--td-ease) both;
	}

	.td-site .td-hero-text > .kt-inside-inner-col > *:nth-child(1) {
		animation-delay: 0.1s;
	}

	.td-site .td-hero-text > .kt-inside-inner-col > *:nth-child(2) {
		animation-delay: 0.22s;
	}

	.td-site .td-hero-text > .kt-inside-inner-col > *:nth-child(3) {
		animation-delay: 0.36s;
	}

	.td-site .td-hero-text > .kt-inside-inner-col > *:nth-child(4) {
		animation-delay: 0.5s;
	}

	.td-site .td-hero-media {
		animation: td-pop 1.1s var(--td-ease) 0.2s both;
	}

	/* Slide hero: khung cắt chặt (không tràn ra ngoài), ảnh bắt đầu ở scale 1 rồi phóng chậm khi đang chiếu */
	.td-site .td-hero-slider,
	.td-site .td-hero-slider .splide,
	.td-site .td-hero-slider .splide__track,
	.td-site .td-hero-slider .splide__slide {
		overflow: hidden;
	}

	.td-site .td-hero-slider .splide__track {
		border-radius: 8px;
	}

	.td-site .td-hero-slider .splide__slide img {
		transform: scale(1);
		transition: transform 4.5s linear;
		will-change: transform;
	}

	.td-site .td-hero-slider .splide__slide.is-active img {
		transform: scale(1.05);
	}

	/* Giữ chỗ cho hàng dấu chấm (~21px) trước khi Splide khởi tạo → chiều cao không đổi khi nạp xong */
	.td-site .td-hero-slider .splide:not(.is-initialized) {
		padding-bottom: 21px;
	}

	/* Trước khi Splide khởi tạo chỉ hiện slide đầu → không nhảy bố cục */
	.td-site .td-hero-slider .splide:not(.is-initialized) .splide__slide:not(:first-child) {
		display: none;
	}

	.td-site .td-hero-slider .splide__pagination__page {
		transition: transform 0.25s, background-color 0.25s;
	}

	.td-site .td-hero-slider .splide__pagination__page.is-active {
		transform: scale(1.35);
	}

	.td-site .td-banner__title,
	.td-site .td-banner-row h1 {
		animation: td-up 0.8s var(--td-ease) 0.1s both;
	}

	.td-site .td-crumb,
	.td-site .td-kcrumb {
		animation: td-fade 0.8s ease 0.05s both;
	}

	/* Nút liên hệ nổi: trượt vào sau khi trang tải */
	.td-float {
		animation: td-pop 0.7s var(--td-ease) 1.2s both;
	}

	.td-float__btn {
		transition: transform 0.25s var(--td-ease), box-shadow 0.25s;
	}

	.td-float__btn:hover {
		transform: translateY(-3px) scale(1.06);
		box-shadow: 0 10px 22px rgba(11, 37, 69, 0.34);
	}

	@keyframes td-ring {
		0% {
			box-shadow: 0 4px 14px rgba(11, 37, 69, 0.28), 0 0 0 0 rgba(184, 146, 63, 0.5);
		}
		70% {
			box-shadow: 0 4px 14px rgba(11, 37, 69, 0.28), 0 0 0 14px rgba(184, 146, 63, 0);
		}
		100% {
			box-shadow: 0 4px 14px rgba(11, 37, 69, 0.28), 0 0 0 0 rgba(184, 146, 63, 0);
		}
	}

	.td-float__btn--call {
		animation: td-ring 2.8s ease-out 3s infinite;
	}

	/* ----- Reveal khi cuộn tới (JS thêm .td-rv rồi .is-in) ----- */
	.td-js .td-rv {
		opacity: 0;
		transform: translateY(28px);
		transition: opacity 0.8s var(--td-ease) var(--td-d, 0ms), transform 0.8s var(--td-ease) var(--td-d, 0ms);
	}

	.td-js .td-rv.is-in {
		opacity: 1;
		transform: none;
	}

	/* Sau khi reveal xong: bỏ độ trễ để hover phản hồi tức thì */
	.td-js .td-rv.is-done {
		transition: opacity 0.3s, transform 0.35s var(--td-ease), box-shadow 0.35s, border-color 0.3s;
	}

	/* ----- Hover: thẻ ----- */
	.td-card,
	.td-doc,
	.td-site .td-ind {
		transition: transform 0.35s var(--td-ease), box-shadow 0.35s, border-color 0.3s;
	}

	.td-site .td-card:hover,
	.td-site .td-ind:hover {
		transform: translateY(-6px);
		box-shadow: 0 22px 44px -18px rgba(11, 37, 69, 0.3);
		border-color: rgba(10, 27, 214, 0.35);
	}

	.td-site .td-doc:hover {
		transform: translateY(-3px);
		box-shadow: 0 14px 30px -16px rgba(11, 37, 69, 0.28);
	}

	.td-card__media img,
	.td-site .td-ind img {
		transition: transform 0.7s var(--td-ease);
	}

	.td-card:hover .td-card__media img {
		transform: scale(1.06);
	}

	.td-site .td-ind:hover img {
		transform: scale(1.07);
	}

	.td-card__more span,
	.td-site .td-ind__link a {
		display: inline-block;
		transition: transform 0.3s var(--td-ease);
	}

	.td-card:hover .td-card__more span {
		transform: translateX(5px);
	}

	.td-site .td-ind:hover .td-ind__link a {
		transform: translateX(4px);
	}

	/* ----- Hover: nút ----- */
	.td-btn,
	.td-site .td-kbtn,
	.td-site .fluentform .ff-btn-submit,
	.td-site .header-button-wrap .button {
		transition: transform 0.25s var(--td-ease), box-shadow 0.25s, background-color 0.2s, color 0.2s, border-color 0.2s !important;
	}

	.td-btn:hover,
	.td-site .td-kbtn:hover,
	.td-site .fluentform .ff-btn-submit:hover,
	.td-site .header-button-wrap .button:hover {
		transform: translateY(-2px);
		box-shadow: 0 12px 24px -10px rgba(11, 37, 69, 0.45) !important;
	}

	.td-btn:active,
	.td-site .td-kbtn:active {
		transform: translateY(0);
		box-shadow: none !important;
	}

	/* Chip / tab lọc */
	.td-chip,
	.td-tab {
		transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--td-ease);
	}

	.td-chip:hover,
	.td-tab:hover {
		transform: translateY(-2px);
	}

	/* Cây danh mục */
	.td-tree__list a {
		transition: color 0.2s, padding-left 0.25s var(--td-ease);
	}

	.td-tree__list li li a:hover {
		padding-left: 6px;
	}

	/* Thư viện ảnh sản phẩm */
	.td-gallery__thumb {
		transition: border-color 0.25s, transform 0.25s var(--td-ease);
	}

	.td-gallery__thumb:hover {
		transform: translateY(-2px);
	}

	.td-gallery__main img {
		transition: opacity 0.3s, transform 0.6s var(--td-ease);
	}

	.td-gallery__main:hover img {
		transform: scale(1.03);
	}

	/* ----- Header ----- */
	.td-site #masthead .site-main-header-wrap {
		transition: box-shadow 0.35s, background-color 0.35s;
	}

	.td-scrolled .td-site #masthead .site-main-header-wrap,
	.td-scrolled #masthead .site-main-header-wrap {
		box-shadow: 0 10px 30px -18px rgba(11, 37, 69, 0.45);
	}

	/* Gạch chân menu chạy từ trái sang */
	.td-site .header-navigation .header-menu-container > ul > li.menu-item > a {
		position: relative;
		text-decoration: none !important;
	}

	.td-site .header-navigation .header-menu-container > ul > li.menu-item > a::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -6px;
		height: 2px;
		background: var(--td-blue);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.35s var(--td-ease);
	}

	.td-site .header-navigation .header-menu-container > ul > li.menu-item > a:hover::after,
	.td-site .header-navigation .header-menu-container > ul > li.current-menu-item > a::after,
	.td-site .header-navigation .header-menu-container > ul > li.current_page_item > a::after {
		transform: scaleX(1);
	}

	/* Chuyển cuộn tới form liên hệ không bị header che */
	#enquiry,
	[id="quality"] {
		scroll-margin-top: 120px;
	}

	/* Logo footer, liên kết footer */
	.td-site #colophon .widget-area a {
		transition: color 0.2s, padding-left 0.25s var(--td-ease);
	}

	.td-site #colophon .widget-area li a:hover {
		padding-left: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.td-js .td-rv {
		opacity: 1;
		transform: none;
	}
}
