/**
 * Áo mưa TÂM NGÂN — main.css (child theme tamngan-child, đè lên Flatsome)
 * Mobile-first 390px. Design system: docs/ui/design-system.md, biến trong tokens.css
 * v5 — chuẩn luxury: header topbar navy + main bar trắng, page hero band các trang phụ,
 *      contact card 2 cột, fix icon toàn site, bỏ giá, card giá trị/đội ngũ
 */

/* ============ Nền tảng ============ */
body {
	font-family: var(--tn-font);
	font-size: var(--tn-body);
	line-height: var(--tn-lh);
	color: var(--tn-ink);
}
h1, h2, h3, h4, .heading-font {
	font-family: var(--tn-font);
	color: var(--tn-ink);
}
a { color: var(--tn-primary); }

/* FIX ICON TOÀN SITE: Flatsome chỉ gán font fl-icons cho thẻ <i>;
   markup nội dung dùng <span class="icon-*"> nên ::before rơi về font chữ → ô vuông.
   Rule này đảm bảo mọi phần tử mang class icon-* đều render bằng font icon. */
[class^="icon-"]::before,
[class*=" icon-"]::before {
	font-family: fl-icons !important;
	font-style: normal;
	font-weight: 400;
}

/* wpautop chèn <p> rỗng giữa các thẻ block trong HTML tự viết — ẩn để không phá grid */
.tn-strip > p:empty,
.tn-contact-card p:empty,
.tn-hotline-card p:empty,
.tn-value p:empty,
.tn-team p:empty { display: none; }

/* Tiêu đề section đồng bộ: kicker nhỏ + tiêu đề lớn + gạch nhấn */
.tn-section-title {
	font-size: clamp(24px, 3.2vw, 34px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--tn-ink);
	text-align: center;
	margin-bottom: 8px;
}
.tn-section-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	border-radius: 2px;
	margin: 12px auto 0;
	background: linear-gradient(90deg, var(--tn-primary), var(--tn-call));
}
.tn-section-sub {
	text-align: center;
	color: var(--tn-gray);
	max-width: 640px;
	margin: 0 auto 28px;
}
.tn-kicker {
	display: block;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--tn-primary);
	margin-bottom: 6px;
}

/* ============ HERO full-bleed (billboard toàn màn hình, template Page - Full Width) ============ */
.tn-hero {
	position: relative;
	background:
		radial-gradient(1100px 500px at 85% -10%, rgba(100, 188, 70, 0.28), transparent 60%),
		radial-gradient(900px 480px at -10% 110%, rgba(13, 148, 228, 0.30), transparent 55%),
		linear-gradient(140deg, #16305f 0%, #1d3c78 30%, var(--tn-primary) 62%, #3c6bc4 100%);
	color: #fff;
	overflow: visible;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
/* Vân mưa chéo mờ — gợi "áo mưa" không cần ảnh */
.tn-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		115deg,
		rgba(255, 255, 255, 0.05) 0 2px,
		transparent 2px 26px
	);
	pointer-events: none;
}
.tn-hero .row { position: relative; z-index: 1; }
/* Lớp ảnh banner hero — hiển thị rõ, overlay gradient trái đảm bảo chữ đọc được trên mọi ảnh */
.tn-hero__slides { position: absolute; inset: 0; pointer-events: none; }
.tn-hero__photo {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	pointer-events: none;
}
/* v10: slider crossfade 3 ảnh */
.tn-hero__slide { opacity: 0; transition: opacity 1.3s ease; }
.tn-hero__slide.is-active { opacity: 1; }
.tn-hero__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(16, 32, 68, 0.94) 0%,
		rgba(20, 44, 95, 0.86) 32%,
		rgba(26, 54, 110, 0.55) 58%,
		rgba(26, 54, 110, 0.18) 82%,
		rgba(26, 54, 110, 0.08) 100%
	);
}
/* Padding dọc lớn — chừa đáy cho USP strip nổi đè lên */
.tn-hero__body { padding: clamp(48px, 7vw, 104px) 0 clamp(88px, 10vw, 148px); }
.tn-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	padding: 7px 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #eaf7e4;
	margin-bottom: 20px;
}
.tn-hero h1 {
	color: #fff;
	font-size: clamp(30px, 4.6vw, 52px);
	line-height: 1.15;
	font-weight: 800;
	margin-bottom: 16px;
}
.tn-hero h1 .tn-hl { color: #9fe07f; }
.tn-hero__desc {
	color: #dbe6fb;
	font-size: clamp(15px, 1.6vw, 19px);
	max-width: 600px;
	margin-bottom: 28px;
}
.tn-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.tn-hero__cta br { display: none; } /* wpautop chèn br → phá grid mobile */
/* Mobile: nút Gọi + Zalo cạnh nhau 1 hàng, nút phụ full hàng dưới */
@media (max-width: 549px) {
	.tn-hero .tn-hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.tn-hero .tn-hero__cta .tn-btn { padding: 12px 8px; font-size: 13.5px; min-height: 48px; }
	.tn-hero .tn-hero__cta .tn-btn--ghost { grid-column: 1 / -1; }
}
.tn-hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 0;
	margin: 0;
	list-style: none;
	color: #eaf1ff;
	font-size: 14px;
	font-weight: 600;
}
.tn-hero__points li::before {
	content: "\e00a";
	font-family: fl-icons;
	display: inline-block;
	margin-right: 8px;
	font-weight: 400;
	color: #9fe07f;
}
/* Khung ảnh hero: ảnh SP nền trắng đặt trong thẻ bo tròn nổi */
.tn-hero__visual { position: relative; text-align: center; padding: 30px 0 110px; }
.tn-hero__visual img {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 30px 70px rgba(8, 18, 40, 0.5);
	max-width: min(440px, 92%);
}
.tn-hero__tag {
	position: absolute;
	right: 2%;
	bottom: 88px;
	background: var(--tn-call);
	color: #fff;
	font-weight: 800;
	font-size: 14px;
	padding: 11px 20px;
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(79, 154, 54, 0.45);
}
@media (max-width: 849px) {
	.tn-hero__body { padding: 40px 0 12px; }
	.tn-hero__visual { margin-top: 0; padding: 8px 0 74px; }
	.tn-hero__visual img { max-width: 300px; }
	.tn-hero__tag { bottom: 56px; }
}

/* Nút hero */
.tn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 12px 26px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 15px;
	color: #fff !important;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.tn-btn:hover { transform: translateY(-2px); }
.tn-btn--call {
	background: var(--tn-call);
	box-shadow: 0 8px 22px rgba(100, 188, 70, 0.4);
}
.tn-btn--call:hover { background: var(--tn-call-dark); }
.tn-btn--zalo {
	background: var(--tn-zalo);
	box-shadow: 0 8px 22px rgba(13, 148, 228, 0.35);
}
.tn-btn--ghost {
	background: rgba(255, 255, 255, 0.12);
	border: 1.5px solid rgba(255, 255, 255, 0.65);
	box-shadow: none;
}
.tn-btn--ghost:hover { background: rgba(255, 255, 255, 0.22); }
/* Icon Zalo chính thức (PNG khách cung cấp) — thay wordmark, text trong span ẩn bằng font-size 0 */
.tn-zic {
	display: inline-flex;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	min-width: 0;
	padding: 0;
	border-radius: 6px;
	background: url(../img/zalo-icon.png) center / contain no-repeat;
	font-size: 0 !important;
	color: transparent !important;
	line-height: 1;
	overflow: hidden;
}
.tn-btn--zalo .tn-zic { background: url(../img/zalo-icon.png) center / contain no-repeat; }
.tn-btn--quote { background: var(--tn-primary); box-shadow: 0 8px 22px rgba(46, 87, 166, 0.35); }
.tn-btn--quote:hover { background: var(--tn-primary-dark); }
.tn-btn--submit { background: var(--tn-call); width: 100%; border-radius: var(--tn-radius); }
.tn-btn--submit:hover { background: var(--tn-call-dark); }
.tn-btn .tn-ic { font-size: 18px; line-height: 1; }
/* Icon điều hướng cuối nút (mũi tên) — trượt nhẹ khi hover */
.tn-btn .tn-btn__arr { font-size: 13px; line-height: 1; transition: transform 0.15s ease; }
.tn-btn:hover .tn-btn__arr { transform: translateX(3px); }

/* ============ USP strip nổi đè hero (kiểu Sơn Thủy — cam kết ngay đầu trang) ============ */
.tn-strip-sec { padding: 0 !important; overflow: visible; }
.tn-strip {
	position: relative;
	z-index: 5;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #fff;
	border-radius: var(--tn-radius-lg);
	box-shadow: 0 20px 50px rgba(10, 22, 48, 0.14);
	margin-top: -64px;
	padding: 20px 6px;
}
.tn-strip__item {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 10px 20px;
	border-right: 1px solid var(--tn-line);
	color: var(--tn-ink) !important;
	text-decoration: none;
	transition: transform 0.15s ease;
}
a.tn-strip__item:hover { transform: translateY(-2px); }
.tn-strip__item:last-child { border-right: 0; }
/* Biến thể 3 cột (trang liên hệ) */
.tn-strip--3 { grid-template-columns: repeat(3, 1fr); }
.tn-strip__ic {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 25px;
	color: var(--tn-primary);
	background: var(--tn-primary-light);
}
.tn-strip__item:nth-child(2n) .tn-strip__ic { color: var(--tn-call-dark); background: #ecf7e6; }
/* Ô Zalo trong strip: icon chính thức trên nền màu nhận diện (đặt sau các rule trên để thắng) */
.tn-strip__item .tn-strip__ic.tn-strip__ic--zalo {
	background-color: var(--tn-zalo);
	background-image: url(../img/zalo-icon.png);
	background-position: center;
	background-size: 30px;
	background-repeat: no-repeat;
	font-size: 0 !important;
	color: transparent;
}
.tn-strip__item strong { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.tn-strip__item div > span { font-size: 12.5px; color: var(--tn-gray); }
@media (max-width: 849px) {
	.tn-strip { grid-template-columns: 1fr 1fr; margin-top: -50px; padding: 12px 4px; }
	.tn-strip--3 { grid-template-columns: 1fr; margin-top: -40px; }
	.tn-strip--3 .tn-strip__item { border-right: 0; border-bottom: 1px solid var(--tn-line); }
	.tn-strip--3 .tn-strip__item:last-child { border-bottom: 0; }
	.tn-strip__item { padding: 10px 12px; }
	.tn-strip__item:nth-child(2n) { border-right: 0; }
	.tn-strip:not(.tn-strip--3) .tn-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--tn-line); }
	.tn-strip__ic { flex-basis: 42px; width: 42px; height: 42px; font-size: 20px; border-radius: 11px; }
	.tn-strip__item strong { font-size: 13px; }
	.tn-strip__item div > span { font-size: 11.5px; }
}

/* Số liệu thật gắn trong section Về Tâm Ngân (gộp dải stats cũ — kiểu Rando) */
.tn-about__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 38px;
	margin: 4px 0 24px;
	padding: 18px 0;
	border-top: 1px solid var(--tn-line);
	border-bottom: 1px solid var(--tn-line);
}
.tn-about__stats .tn-stat { text-align: left; padding: 0; }
.tn-about__stats .tn-stat strong {
	display: block;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	color: var(--tn-primary);
	line-height: 1.2;
}
.tn-about__stats .tn-stat span { font-size: 12.5px; color: var(--tn-gray); font-weight: 600; }

/* ============ Về Tâm Ngân (2 cột kiểu Rando: text + khối năm kinh nghiệm) ============ */
.tn-about__media { position: relative; padding-bottom: 26px; }
.tn-about__media img {
	border-radius: var(--tn-radius-lg);
	box-shadow: var(--tn-shadow);
	background: #f2f5fa;
	width: 100%;
}
/* v12: anh doc trang gioi thieu — cao khop voi cot noi dung ben canh */
.tn-about__media--tall img {
	aspect-ratio: 4 / 5;
	max-height: 620px;
	object-fit: cover;
}
.tn-about__years {
	position: absolute;
	left: -14px;
	bottom: 0;
	background: linear-gradient(135deg, var(--tn-call-dark), var(--tn-call));
	color: #fff;
	border-radius: var(--tn-radius-lg);
	padding: 14px 22px;
	text-align: center;
	box-shadow: 0 14px 30px rgba(100, 188, 70, 0.4);
}
.tn-about__years strong { display: block; font-size: 34px; font-weight: 800; line-height: 1.1; }
.tn-about__years span { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.tn-about h2 { text-align: left; }
.tn-about h2::after { margin-left: 0; }
.tn-about__list { list-style: none; margin: 18px 0 22px; padding: 0; }
.tn-about__list li {
	position: relative;
	padding: 6px 0 6px 32px;
	font-weight: 600;
}
.tn-about__list li::before {
	content: "\e00a"; /* icon-checkmark fl-icons */
	font-family: fl-icons;
	position: absolute;
	left: 0;
	top: 7px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(100, 188, 70, 0.14);
	color: var(--tn-call-dark);
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media (max-width: 849px) {
	.tn-about__media { margin-bottom: 10px; }
	.tn-about__years { left: 10px; }
}

/* ============ FAQ accordion ============ */
.tn-faq .accordion-item {
	background: #fff;
	border: 1px solid var(--tn-line) !important;
	border-radius: var(--tn-radius);
	margin-bottom: 10px;
	overflow: hidden;
}
.tn-faq .accordion-title {
	border-top: 0 !important;
	padding: 14px 18px;
	font-weight: 700;
	font-size: 15px;
	color: var(--tn-ink);
}
.tn-faq .accordion-title.active {
	color: var(--tn-primary);
	background: rgba(46, 87, 166, 0.05);
}
.tn-faq .accordion-title .toggle { color: var(--tn-call-dark); }
.tn-faq .accordion-inner { padding: 4px 18px 16px; color: var(--tn-gray); }

/* ============ Hotline card cạnh FAQ (gọi thẳng xưởng — kiểu Sơn Thủy) ============ */
.tn-hotline-card {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(500px 260px at 100% 0%, rgba(100, 188, 70, 0.30), transparent 60%),
		linear-gradient(160deg, #1d3c78, var(--tn-primary));
	border-radius: var(--tn-radius-lg);
	padding: 32px 28px;
	color: #fff;
	box-shadow: 0 18px 44px rgba(29, 60, 120, 0.3);
	height: 100%;
}
.tn-hotline-card__ic {
	width: 66px;
	height: 66px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	color: #9fe07f;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	margin-bottom: 16px;
}
.tn-hotline-card h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.tn-hotline-card p { color: #d6e2f8; font-size: 14px; margin-bottom: 14px; }
.tn-hotline-card__num {
	display: block;
	font-size: clamp(27px, 3vw, 34px);
	font-weight: 800;
	color: #fff !important;
	line-height: 1.25;
}
.tn-hotline-card__num--alt { font-size: clamp(20px, 2.2vw, 24px); color: #cfe0fd !important; }
.tn-hotline-card__note {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #9fe07f;
	margin: 2px 0 12px;
}
.tn-hotline-card__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tn-btn--ghost2 {
	background: rgba(255, 255, 255, 0.12);
	border: 1.5px solid rgba(255, 255, 255, 0.55);
	box-shadow: none;
}
.tn-btn--ghost2:hover { background: rgba(255, 255, 255, 0.22); }
@media (max-width: 849px) {
	.tn-hotline-card { margin-top: 6px; }
}

/* ---- v9: FAQ redesign — head căn giữa, accordion dạng card, CTA phụ ---- */
/* v14: head rộng để title + mô tả mỗi thứ 1 hàng trên desktop */
.tn-faq__head { text-align: center; max-width: 1160px; margin: 0 auto 10px; }
.tn-faq__head .tn-section-title { margin-bottom: 10px; font-size: clamp(24px, 2.6vw, 31px); }
.tn-faq__sub { color: var(--tn-gray-600); font-size: 15px; margin: 0 auto 6px; }
.tn-faq .accordion { border-top: 0; }
.tn-faq .accordion-item {
	background: #fff;
	border: 1px solid #e3eaf5;
	border-radius: 12px;
	margin-bottom: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(29, 60, 120, 0.05);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.tn-faq .accordion-item:hover { border-color: #bfd0ea; }
.tn-faq .accordion-title {
	border: 0 !important;
	padding: 15px 18px;
	font-weight: 700;
	font-size: 15.5px;
	color: var(--tn-navy);
	line-height: 1.4;
}
.tn-faq .accordion-title.active { color: var(--tn-primary); background: #f3f8ff; }
.tn-faq .accordion-title .toggle {
	width: 32px !important;
	height: 32px !important; /* v14: ep vuong -> tron that su (truoc height auto thanh oval) */
	min-height: 0 !important;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #d3dff2;
	border-radius: 50%;
	background: #fff;
	color: var(--tn-primary);
	top: 50%;
	transform: translateY(-50%);
	left: auto;
	right: 12px;
}
.tn-faq .accordion-title .toggle i { line-height: 1; }
.tn-faq .accordion-title.active .toggle {
	background: var(--tn-primary);
	border-color: var(--tn-primary);
	color: #fff;
}
.tn-faq .accordion-title { padding-right: 52px; }
.tn-faq .accordion-inner { border: 0; padding: 2px 18px 16px; color: var(--tn-gray-700); font-size: 14.5px; }

/* ---- v10: FAQ accordion 2 cột + band hotline ngang ---- */
.tn-faq__cols .col { padding-bottom: 0; }
.tn-faq-band {
	display: flex;
	align-items: center;
	gap: 22px 34px;
	flex-wrap: wrap;
	background:
		radial-gradient(520px 260px at 100% 0%, rgba(100, 188, 70, 0.3), transparent 60%),
		linear-gradient(160deg, #1d3c78, var(--tn-primary));
	border-radius: var(--tn-radius-lg);
	padding: 28px 32px;
	color: #fff;
	box-shadow: 0 18px 44px rgba(29, 60, 120, 0.3);
	margin-top: 10px;
}
.tn-faq-band__info { flex: 1 1 280px; min-width: 240px; }
.tn-faq-band__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(100, 188, 70, 0.2);
	border: 1px solid rgba(159, 224, 127, 0.5);
	color: #d9f5c9;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 5px 14px;
	margin-bottom: 12px;
}
.tn-faq-band__badge .tn-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #8ce35f;
	animation: tn-pulse 2s infinite;
}
.tn-faq-band__info h3 { color: #fff; font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.tn-faq-band__info p { color: #d6e2f8; font-size: 14px; margin: 0; }
.tn-faq-band__nums { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.tn-faq-band__num { display: inline-flex; align-items: center; gap: 11px; color: #fff !important; }
.tn-faq-band__num .tn-ic {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	color: #9fe07f;
}
.tn-faq-band__num-txt { display: flex; flex-direction: column; line-height: 1.25; }
.tn-faq-band__num-txt strong { font-size: clamp(19px, 2vw, 23px); font-weight: 800; }
.tn-faq-band__num-txt em {
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #9fe07f;
}
.tn-faq-band__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.tn-faq-band__btns .tn-btn { margin: 0; }
.tn-faq-band__proof {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 7px 28px;
	flex-basis: 100%;
	margin: 0;
	padding: 16px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.tn-faq-band__proof li { position: relative; padding-left: 24px; color: #dbe6fb; font-size: 13.5px; margin: 0; line-height: 1.5; }
.tn-faq-band__proof li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #9fe07f;
	font-weight: 800;
}
.tn-hotline-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(100, 188, 70, 0.2);
	border: 1px solid rgba(159, 224, 127, 0.5);
	color: #d9f5c9;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 5px 14px;
	margin-bottom: 16px;
}
.tn-hotline-card__badge .tn-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #8ce35f;
	animation: tn-pulse 2s infinite;
}
.tn-hotline-card__proof {
	list-style: none;
	margin: 18px 0 0;
	padding: 15px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.tn-hotline-card__proof li {
	position: relative;
	padding-left: 25px;
	color: #dbe6fb;
	font-size: 13.5px;
	line-height: 1.5;
	margin-bottom: 7px;
}
.tn-hotline-card__proof li:last-child { margin-bottom: 0; }
.tn-hotline-card__proof li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #9fe07f;
	font-weight: 800;
}
@media (max-width: 549px) {
	.tn-faq-band { padding: 22px 18px; gap: 18px; }
	.tn-faq-band__btns { width: 100%; }
	.tn-faq-band__btns .tn-btn { flex: 1 1 auto; text-align: center; }
}

/* v10: thu hẹp khoảng cách dưới các section Về Tâm Ngân / Mẫu sẵn xưởng / Dự án thực tế */
section.tn-sec-tight { padding-bottom: 30px !important; }
/* v12: 2 section products + gallery thu khoang trang duoi con toi thieu */
section.tn-sec-tighter { padding-bottom: 8px !important; }
section.tn-sec-tighter .col { padding-bottom: 12px; }
@media (max-width: 549px) {
	section.tn-sec-tight { padding-bottom: 20px !important; }
	section.tn-sec-tighter { padding-bottom: 4px !important; }
}

/* ============ Card danh mục (ảnh + overlay gradient + mũi tên) ============ */
.tn-cat-card { position: relative; border-radius: var(--tn-radius-lg); overflow: hidden; box-shadow: var(--tn-shadow); }
.tn-cat-card .box-image { background: #f2f5fa; position: static; }
/* v9: stretched link — ca card (gom text overlay) click duoc ve trang danh muc */
.tn-cat-card .box-image > a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.tn-cat-card .box-text { pointer-events: none; }
.tn-cat-card .box-text {
	background: linear-gradient(180deg, rgba(29, 60, 120, 0) 0%, rgba(29, 60, 120, 0.92) 70%);
}
.tn-cat-card h3 { color: #fff; font-weight: 800; margin-bottom: 2px; }
.tn-cat-card p { color: #d6e2f8; font-size: 13.5px; margin-bottom: 0; }
.tn-cat-card .tn-cat-more {
	display: inline-block;
	margin-top: 8px;
	color: #9fe07f;
	font-weight: 700;
	font-size: 13.5px;
}

/* ============ Sản phẩm: card gọn có hover nâng ============ */
.product-small.box {
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius-lg);
	overflow: hidden;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-small.box:hover { transform: translateY(-4px); box-shadow: var(--tn-shadow-hover); }
.product-small .box-image { background: #fff; }
.product-small .box-text { padding: 12px 12px 16px; }
.product-small .name a { font-weight: 700; color: var(--tn-ink); }
.product-small .price-wrapper { display: none; }
/* Nút "Liên hệ báo giá" trên card SP — nổi bật màu brand (yêu cầu v7) */
.tn-btn-quote {
	display: block;
	text-align: center;
	margin-top: 12px;
	padding: 12px 18px;
	min-height: 46px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--tn-primary), #4a76c9);
	color: #fff !important;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.2px;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(46, 87, 166, 0.28);
	transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.tn-btn-quote .icon-angle-right { font-size: 12px; margin-left: 4px; }
.tn-btn-quote:hover {
	background: linear-gradient(135deg, var(--tn-call-dark), var(--tn-call));
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(100, 188, 70, 0.38);
}

/* Tab nhóm sản phẩm trang chủ — pills (v11) */
.tn-products-tabs .nav { gap: 10px; margin-bottom: 28px; }
.tn-products-tabs .nav > li.tab { margin: 0; }
.tn-products-tabs .nav > li.tab > a {
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: 0.2px;
	text-transform: none;
	color: var(--tn-gray-700, #374a63);
	background: #fff;
	border: 1.5px solid #dbe5f2;
	border-radius: 999px;
	padding: 11px 26px;
	line-height: 1.2;
	box-shadow: 0 2px 8px rgba(24, 48, 96, 0.06);
	transition: all 0.22s ease;
}
.tn-products-tabs .nav > li.tab > a:hover {
	border-color: var(--tn-primary);
	color: var(--tn-primary);
	box-shadow: 0 4px 14px rgba(46, 87, 166, 0.16);
	transform: translateY(-1px);
}
.tn-products-tabs .nav > li.tab.active > a {
	background: linear-gradient(135deg, var(--tn-primary), #3c6bc4);
	border-color: var(--tn-primary);
	color: #fff;
	box-shadow: 0 8px 20px rgba(46, 87, 166, 0.32);
}
@media (max-width: 549px) {
	.tn-products-tabs .nav { gap: 8px; }
	.tn-products-tabs .nav > li.tab > a { padding: 9px 18px; font-size: 13.5px; }
}

/* ============ Quy trình đặt hàng B2B (4 bước — band xanh đậm full-bleed) ============ */
.tn-steps--dark {
	background:
		radial-gradient(900px 400px at 90% -20%, rgba(100, 188, 70, 0.22), transparent 60%),
		linear-gradient(140deg, #16305f 0%, #1d3c78 40%, var(--tn-primary) 100%);
}
.tn-steps--dark .tn-kicker { color: #9fe07f; }
.tn-steps--dark .tn-section-title { color: #fff; }
.tn-step {
	position: relative;
	background: #fff;
	border-radius: var(--tn-radius-lg);
	border: 1px solid var(--tn-line);
	padding: 26px 18px 22px;
	text-align: center;
	height: 100%;
}
.tn-steps--dark .tn-step {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.16);
}
.tn-step__num {
	width: 44px;
	height: 44px;
	margin: 0 auto 12px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 18px;
	color: #fff;
	background: linear-gradient(135deg, var(--tn-primary), #4a76c9);
}
.tn-steps--dark .tn-step__num { background: linear-gradient(135deg, var(--tn-call-dark), var(--tn-call)); }
.tn-step h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 6px; }
.tn-step p { font-size: 13.5px; color: var(--tn-gray); margin-bottom: 0; }
.tn-steps--dark .tn-step h3 { color: #fff; }
.tn-steps--dark .tn-step p { color: #cfe0fd; }
@media (min-width: 850px) {
	.tn-step::after {
		content: "→";
		position: absolute;
		top: 34px;
		right: -22px;
		font-size: 22px;
		font-weight: 800;
		color: var(--tn-call);
	}
	.tn-steps--dark .tn-step::after { color: #9fe07f; }
	.tn-steps .col:last-child .tn-step::after { display: none; }
}

/* ============ CTA band (dải kêu gọi full-bleed xanh lá — tương phản quy trình xanh dương) ============ */
.tn-cta-band {
	background:
		radial-gradient(700px 300px at 90% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
		linear-gradient(120deg, #3f8f2d, var(--tn-call) 60%, #79ce58);
	color: #fff;
}
.tn-cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 6px; }
.tn-cta-band p { color: #eaf7e4; margin-bottom: 0; }
.tn-cta-band .tn-cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
/* Nút trên nền xanh lá: gọi = trắng chữ xanh, zalo = viền trắng */
.tn-cta-band .tn-btn--call { background: #fff; color: var(--tn-call-dark) !important; box-shadow: 0 10px 26px rgba(20, 60, 8, 0.25); }
.tn-cta-band .tn-btn--call:hover { background: #f2fbee; }
@media (max-width: 849px) {
	.tn-cta-band { text-align: center; }
	.tn-cta-band .tn-cta-band__btns { justify-content: center; margin-top: 18px; }
}

/* Hàng thẻ cao bằng nhau (quy trình, giá trị, đội ngũ) */
.tn-eq-row .col { display: flex; }
.tn-eq-row .col .col-inner { display: flex; width: 100%; }
.tn-eq-row .tn-step,
.tn-eq-row .tn-value,
.tn-eq-row .tn-team { width: 100%; }

/* ============ Contact card 2 cột (trang chủ + trang liên hệ): info navy | form trắng ============ */
.tn-contact-card {
	display: grid;
	grid-template-columns: minmax(320px, 5fr) 7fr;
	border-radius: var(--tn-radius-lg);
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(10, 22, 48, 0.16);
	background: #fff;
}
.tn-contact-card__info {
	position: relative;
	padding: clamp(28px, 3.5vw, 44px);
	background:
		radial-gradient(500px 280px at 100% 0%, rgba(100, 188, 70, 0.28), transparent 60%),
		linear-gradient(160deg, #16305f, #1d3c78 55%, var(--tn-primary));
	color: #fff;
}
.tn-contact-card__info::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 26px);
	pointer-events: none;
}
.tn-contact-card__info > * { position: relative; }
.tn-contact-card__info h2 { color: #fff; font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; margin-bottom: 8px; }
.tn-contact-card__info > p { color: #d6e2f8; font-size: 14px; margin-bottom: 18px; }
.tn-contact-card__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tn-contact-card__form { padding: clamp(28px, 3.5vw, 44px); }
.tn-contact-card__form h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; margin-bottom: 8px; }
.tn-contact-card__form > p { color: var(--tn-gray); font-size: 14px; margin-bottom: 18px; }
/* Biến thể info trên nền navy */
.tn-contact-info--dark li { border-bottom-color: rgba(255, 255, 255, 0.16); font-size: 14px; color: #eaf1ff; }
.tn-contact-info--dark a { color: #fff !important; font-weight: 700; }
.tn-contact-info--dark a:hover { color: #9fe07f !important; }
.tn-contact-info--dark .tn-ci-ic { background: rgba(255, 255, 255, 0.12); color: #9fe07f; }

/* ============ Info grid liên hệ v7 — ô icon + nhãn + giá trị, click gọi/mail được ============ */
.tn-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0 0 20px;
}
.tn-info-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #eaf1ff !important;
	text-decoration: none !important;
	transition: background 0.15s ease, transform 0.15s ease;
}
a.tn-info-item:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.tn-info-item--wide { grid-column: 1 / -1; }
.tn-info-item__ic {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
	color: #9fe07f;
	background: rgba(255, 255, 255, 0.12);
}
.tn-info-item__body { display: block; min-width: 0; }
.tn-info-item small {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #a9bce0;
	line-height: 1.4;
}
.tn-info-item strong { display: block; font-size: 14.5px; font-weight: 800; color: #fff; line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 549px) {
	.tn-info-grid { grid-template-columns: 1fr; }
}

/* Map xưởng /lienhe */
.tn-map { border-radius: var(--tn-radius-lg); overflow: hidden; box-shadow: var(--tn-shadow); line-height: 0; }
.tn-map iframe { width: 100%; height: 380px; border: 0; }
@media (max-width: 849px) {
	.tn-contact-card { grid-template-columns: 1fr; }
}

/* ============ Card giá trị cốt lõi (trang giới thiệu) ============ */
.tn-value {
	height: 100%;
	background: #fff;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius-lg);
	padding: 30px 24px;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tn-value:hover { transform: translateY(-4px); box-shadow: var(--tn-shadow-hover); }
.tn-value__ic {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: var(--tn-primary);
	background: var(--tn-primary-light);
}
.tn-value h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.tn-value p { font-size: 14px; color: var(--tn-gray); margin-bottom: 0; }

/* ============ Card đội ngũ / năng lực xưởng (band navy trang giới thiệu) ============ */
.tn-team {
	height: 100%;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--tn-radius-lg);
	padding: 28px 20px;
	text-align: center;
	transition: background 0.2s ease, transform 0.2s ease;
}
.tn-team:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-4px); }
.tn-team__ic {
	width: 60px;
	height: 60px;
	margin: 0 auto 14px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #9fe07f;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
}
.tn-team h3 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.tn-team p { color: #cfe0fd; font-size: 13.5px; margin-bottom: 0; }

/* ============ Gallery ============ */
/* Nested row trong col: Flatsome kẹp max-width 100% nhưng vẫn margin -15px hai bên
   → row dính trái, thừa 30px bên phải. Bù lại để căn giữa (gallery, products, steps...) */
.col .row:not(.row-collapse) { max-width: calc(100% + 30px); }

.tn-gallery .gallery-item img, .gallery .gallery-item img { border-radius: var(--tn-radius); }
.tn-gallery .box-image,
.tn-gallery .box-image .image-cover { border-radius: var(--tn-radius); overflow: hidden; }
.tn-gallery .box-image img { transition: transform 0.35s ease, filter 0.35s ease; }
.tn-gallery .box-image:hover img { transform: scale(1.05); filter: brightness(1.06); }

/* ============ Form liên hệ ============ */
.tn-lead-form { max-width: 560px; }
.tn-lead-form label { display: block; font-weight: 700; margin-bottom: 4px; font-size: 14px; }
.tn-lead-form input[type="text"],
.tn-lead-form input[type="tel"],
.tn-lead-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius);
	font-family: var(--tn-font);
	font-size: 15px;
	box-shadow: none;
}
.tn-lead-form textarea { min-height: 110px; }
.tn-lead-form input:focus, .tn-lead-form textarea:focus {
	border-color: var(--tn-primary);
	outline: 2px solid var(--tn-primary-light);
}
.tn-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; overflow: hidden; }
.tn-form-success {
	padding: 14px 16px;
	margin-bottom: 16px;
	background: #eaf7e4;
	border: 1px solid var(--tn-call);
	border-radius: var(--tn-radius);
	font-weight: 600;
}
.tn-contact-info { list-style: none; margin: 0 0 18px; padding: 0; }
.tn-contact-info li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px dashed var(--tn-line);
	font-size: 14.5px;
}
.tn-contact-info li:last-child { border-bottom: 0; }
.tn-contact-info .tn-ci-ic {
	flex: 0 0 38px;
	height: 38px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tn-primary-light);
	color: var(--tn-primary);
	font-size: 16px;
}

/* ============ Khối CTA + trust trang chi tiết sản phẩm ============ */
.tn-product-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
@media (max-width: 549px) {
	.tn-product-cta .tn-btn { flex: 1 1 100%; }
}
.tn-product-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	padding: 12px 14px;
	background: var(--tn-bg-soft);
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius);
	font-size: 13.5px;
	margin-bottom: 16px;
}
.tn-product-trust .icon-checkmark { color: var(--tn-call-dark); margin-right: 4px; }

/* ============ Nút liên hệ nổi bên phải: Gọi / Zalo ============ */
.tn-float {
	position: fixed;
	right: 10px;
	bottom: 84px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}
.tn-float__item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 16px 8px 10px;
	border-radius: 999px;
	color: #fff !important;
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	text-decoration: none;
	transition: transform 0.15s ease;
}
.tn-float__item:hover { transform: scale(1.05); color: #fff; }
.tn-float__item--call { background: var(--tn-call); animation: tn-pulse 1.6s infinite; }
.tn-float__item--zalo { background: var(--tn-zalo); }
.tn-float__icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 1;
}
@keyframes tn-pulse {
	0% { box-shadow: 0 0 0 0 rgba(100, 188, 70, 0.55); }
	70% { box-shadow: 0 0 0 14px rgba(100, 188, 70, 0); }
	100% { box-shadow: 0 0 0 0 rgba(100, 188, 70, 0); }
}
/* Icon Zalo chính thức trong nút float */
.tn-float__icon.tn-zic {
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: url(../img/zalo-icon.png) center / contain no-repeat;
}
@media (max-width: 549px) {
	.tn-float { bottom: 12px; }
	/* v9: hien chu "Tu van Zalo" tren mobile theo yeu cau khach */
	.tn-float__item--zalo .tn-float__label { font-size: 12.5px; }
	.tn-float__item--zalo { padding: 9px 13px 9px 10px; }
}

/* ============ Header v5 (luxury): topbar navy + main bar trắng ============ */
/* Topbar */
#top-bar { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
#top-bar .html { padding: 0; }
.tn-top__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #c9d7f2 !important;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.3px;
	line-height: 42px;
	margin-right: 26px;
	text-decoration: none;
}
.tn-top__item:last-child { margin-right: 0; }
.tn-top__item i { color: #9fe07f; font-size: 13px; }
a.tn-top__item:hover { color: #fff !important; }
.tn-top__call strong { color: #fff; font-weight: 800; font-size: 13.5px; letter-spacing: 0.5px; }
@media (max-width: 1099px) { .tn-top__hours { display: none; } }

/* Main bar trắng, nav phải + nút báo giá */
.header-main { box-shadow: 0 1px 0 var(--tn-line); }
.header-main .nav > li > a {
	color: var(--tn-ink);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.6px;
	padding-left: 14px;
	padding-right: 14px;
}
.header-main .nav > li > a:hover,
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a { color: var(--tn-primary); }
/* Gạch nhấn hover (nav_style line-grow) đổi sang xanh lá thương hiệu */
.header-main .nav[class*="nav-line"] > li > a::before,
.header-main .nav[class*="nav-line"] > li > a::after {
	background-color: var(--tn-call) !important;
	height: 3px;
	border-radius: 2px;
}
/* v12: nút NHẬN BÁO GIÁ nổi bật — gradient CTA + shadow + hover nhấc */
.header-main .header-button-1 { margin-left: 12px; }
.header-main .header-button-1 .button {
	font-weight: 800;
	letter-spacing: 0.6px;
	padding-left: 28px;
	padding-right: 24px;
	background: linear-gradient(135deg, var(--tn-call), var(--tn-call-dark)) !important;
	border: 0;
	box-shadow: 0 6px 18px rgba(100, 188, 70, 0.4) !important;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.header-main .header-button-1 .button span { display: inline-flex; align-items: center; gap: 7px; }
.header-main .header-button-1 .button span::after {
	content: "\f105"; /* fl-icons: angle-right */
	font-family: "fl-icons";
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.22s ease;
}
.header-main .header-button-1 .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(100, 188, 70, 0.5) !important;
}
.header-main .header-button-1 .button:hover span::after { transform: translateX(3px); }
/* Sticky: đổ bóng mềm khi trôi */
.stuck .header-main { box-shadow: 0 6px 24px rgba(10, 22, 48, 0.1); }
/* Dropdown menu bo góc + bóng sâu */
.nav-dropdown {
	border: 0 !important;
	border-radius: 14px;
	box-shadow: 0 18px 44px rgba(10, 22, 48, 0.16);
	padding: 10px;
}
.nav-dropdown li a {
	font-weight: 600;
	border-radius: 10px;
	padding: 11px 16px;
	color: var(--tn-ink) !important;
	transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown li a:hover {
	background: var(--tn-primary-light);
	color: var(--tn-primary) !important;
}
/* Muc cha "SAN PHAM" (link #) van doi mau khi hover */
.header-main .nav > li.menu-item-has-children > a .icon-angle-down { margin-left: 5px; font-size: 11px; }

/* Mobile: html-2 (topbar_right) thành nút gọi tròn xanh lá bên phải */
.header-main .html_topbar_right { display: flex; align-items: center; }
.header-main .html_topbar_right .tn-top__mail { display: none; }
.header-main .html_topbar_right .tn-top__call {
	width: 42px;
	height: 42px;
	margin: 0;
	border-radius: 50%;
	justify-content: center;
	background: var(--tn-call);
	color: #fff !important;
	animation: tn-pulse 1.8s infinite;
}
.header-main .html_topbar_right .tn-top__call i { color: #fff; font-size: 17px; }
.header-main .html_topbar_right .tn-top__call strong { display: none; }
/* Menu icon mobile đậm hơn */
.header-main .menu-icon .icon-menu { font-size: 24px; color: var(--tn-ink); }
/* Mobile: menu icon TRÁI — logo sát cạnh (v7), nút gọi bên phải */
@media (max-width: 849px) {
	.header-inner .flex-col { order: 3; }
	.header-inner .flex-col.show-for-medium.flex-left { order: 1; }
	.header-inner .flex-col.logo { order: 2; margin-right: auto; }
	.header-inner.medium-logo-left #logo { margin-left: 2px; margin-right: auto; }
	.header-inner.medium-logo-left .flex-left { flex: 0 0 auto; }
}
/* Off-canvas mobile menu luxury */
.mobile-sidebar .nav > li > a { font-weight: 700; letter-spacing: 0.5px; }
/* Ẩn icon giỏ hàng mobile còn sót (catalog mode) */
.header-cart-link, .cart-item { display: none !important; }
/* Topbar chỉ hiện desktop */
@media (max-width: 849px) {
	#top-bar { display: none !important; }
}

/* ============ Page hero band (trang phụ full-width) ============ */
.tn-page-hero {
	position: relative;
	background:
		radial-gradient(900px 420px at 88% -20%, rgba(100, 188, 70, 0.25), transparent 60%),
		linear-gradient(140deg, #16305f 0%, #1d3c78 45%, var(--tn-primary) 100%);
	color: #fff;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.tn-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 26px);
	pointer-events: none;
}
.tn-page-hero .row { position: relative; z-index: 1; }
.tn-page-hero__body { padding: clamp(44px, 6vw, 84px) 0; }
/* v13: hero trang phu om sat noi dung */
.tn-page-hero--sm .tn-page-hero__body { padding: clamp(20px, 2.6vw, 34px) 0; }
.tn-page-hero--sm .tn-crumb { margin-bottom: 8px; }
.tn-page-hero--sm h1 { margin-bottom: 6px; }
.tn-crumb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #9fbdf1;
	margin-bottom: 14px;
}
.tn-crumb a { color: #d6e2f8 !important; text-decoration: none; }
.tn-crumb a:hover { color: #fff !important; }
.tn-crumb i { font-size: 10px; color: #9fe07f; }
.tn-page-hero h1 {
	color: #fff;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 10px;
}
.tn-page-hero__body p { color: #dbe6fb; font-size: clamp(14.5px, 1.5vw, 17px); max-width: none; margin-bottom: 0; } /* v7: mô tả full width */

/* ============ WooCommerce catalog tinh chỉnh ============ */
.woocommerce-breadcrumb { font-size: 13px; }
.term-description { margin-top: 24px; }
/* Page title danh mục / SP: band navy đồng bộ page hero */
.shop-page-title.category-page-title,
.shop-container .page-title {
	background:
		radial-gradient(900px 420px at 88% -20%, rgba(100, 188, 70, 0.25), transparent 60%),
		linear-gradient(140deg, #16305f 0%, #1d3c78 45%, var(--tn-primary) 100%);
	border-bottom: 0;
}
.shop-page-title .page-title-inner { padding-top: 34px; padding-bottom: 34px; }
.shop-page-title .page-title-inner h1,
.shop-page-title .shop-page-title-text { color: #fff; font-weight: 800; }
.shop-page-title .woocommerce-breadcrumb,
.shop-page-title .woocommerce-breadcrumb a { color: #c9d7f2; }
.shop-page-title .woocommerce-breadcrumb a:hover { color: #fff; }
/* v14: chu "Hien thi tat ca ... ket qua" trang tren nen navy */
.shop-page-title .woocommerce-result-count { color: #fff; opacity: 0.92; }
/* Trang chi tiết SP: ẩn breadcrumb + nút chuyển SP trước/sau (yêu cầu khách) */
.product-info .woocommerce-breadcrumb,
.product-info .next-prev-thumbs { display: none !important; }

/* ============ Footer ============ */
.footer-wrapper { background: #16294f; }
.footer-widgets.footer-2 { background: #16294f; color: #c9d7f2; padding-top: 44px; padding-bottom: 26px; }
.footer-widgets .widget-title,
.footer-widgets span.widget-title {
	color: #fff;
	font-weight: 800;
	letter-spacing: 1px;
	border-bottom: 2px solid var(--tn-call);
	padding-bottom: 8px;
	display: inline-block;
}
.footer-widgets a { color: #c9d7f2; }
.footer-widgets a:hover { color: #9fe07f; }
.footer-widgets ul { list-style: none; margin-left: 0; }
.footer-widgets ul li { padding: 4px 0; }
.tn-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}
.tn-footer-contact li > [class^="icon-"] {
	color: #9fe07f;
	font-size: 15px;
	margin-top: 3px;
	flex: 0 0 auto;
}
.absolute-footer { background: #0f1e3c; color: #8fa3c8; font-size: 13px; }
.absolute-footer a { color: #c9d7f2; }
/* Icon thanh toán không dùng (không bán online) — chặn triệt để */
.payment-icons, .absolute-footer .payment-icons { display: none !important; }


/* ============================================================
   V8 — danh gia doc lap: H1 danh muc, specs/MOQ, CTA band,
   map facade, form 2 select, gia co mobile wrap
   ============================================================ */

/* --- C2: head danh muc (H1 + sub) --- */
/* v12: anh bia danh muc duoi breadcrumb */
.tn-cat-banner { margin: 14px 0 2px; }
.tn-cat-banner img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--tn-radius-lg);
	box-shadow: var(--tn-shadow);
}
@media (max-width: 549px) {
	.tn-cat-banner { margin-top: 10px; }
	.tn-cat-banner img { border-radius: 8px; min-height: 56px; object-fit: cover; object-position: 88% 50%; }
}

.tn-cat-head { text-align: center; padding: 6px 0 18px; }
.tn-cat-head__title {
	font-size: 30px;
	font-weight: 800;
	color: var(--tn-navy);
	margin: 0 0 6px;
	letter-spacing: -0.3px;
}
.tn-cat-head__sub { max-width: 640px; margin: 0 auto; color: var(--tn-gray-600); font-size: 15px; }

/* --- m2/v13: box tn-cat-cta (goi/zalo cuoi danh muc) da bo — CTA band "Can bao gia" dam nhiem --- */

/* --- M1: bang thong so + MOQ + logo guide trang SP --- */
.tn-specs { margin: 34px 0 10px; }
.tn-specs__grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 30px;
	background: var(--tn-gray-50, #f6f8fb);
	border: 1px solid #e3e9f2;
	border-radius: 14px;
	padding: 26px 28px;
}
.tn-specs h2 { font-size: 19px; font-weight: 800; color: var(--tn-navy); margin: 0 0 12px; }
.tn-specs__col > h2:not(:first-child) { margin-top: 20px; }
.tn-specs__table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; }
.tn-specs__table th, .tn-specs__table td { border: 1px solid #e3e9f2; padding: 9px 12px; text-align: left; vertical-align: top; }
.tn-specs__table th { width: 168px; background: #eef3fa; color: var(--tn-navy); font-weight: 700; }
.tn-specs__table td { background: #fff; color: var(--tn-gray-700, #374a63); }
.tn-specs__note { font-size: 12.5px; color: var(--tn-gray-600); margin: 10px 0 0; }
.tn-moq { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tn-moq li { background: #fff; border: 1px solid #e3e9f2; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; }
.tn-moq li strong { font-size: 20px; color: var(--tn-primary); font-weight: 800; }
.tn-moq li span { font-size: 12.5px; color: var(--tn-gray-600); }
.tn-logo-guide { margin: 0; padding-left: 20px; font-size: 14px; color: var(--tn-gray-700, #374a63); }
.tn-logo-guide li { margin-bottom: 6px; }
.tn-specs__cta { margin: 16px 0 0; }
.tn-specs__cta .tn-btn { margin: 0; }

/* --- v11/v13: map card /lienhe — header pin + dia chi + nut Chi duong, iframe lien khoi --- */
.tn-map-card {
	background: #fff;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius-lg);
	box-shadow: var(--tn-shadow);
	overflow: hidden;
}
.tn-map-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 16px 20px;
	background: linear-gradient(135deg, #f5f9ff, #eef3fa);
	border-bottom: 1px solid var(--tn-line);
}
.tn-map-card__ttl { display: flex; align-items: center; gap: 13px; min-width: 0; }
.tn-map-card__pin {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--tn-primary), #3c6bc4);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 21px;
	box-shadow: 0 6px 14px rgba(46, 87, 166, 0.3);
}
.tn-map-card__txt { display: flex; flex-direction: column; min-width: 0; }
.tn-map-card__txt strong { font-size: 15.5px; color: var(--tn-navy); line-height: 1.3; }
.tn-map-card__txt > span { font-size: 13px; color: var(--tn-gray-600); line-height: 1.45; }
.tn-map-card .tn-map { border-radius: 0; box-shadow: none; }
.tn-map-card iframe { width: 100%; height: 380px; border: 0; display: block; }
.tn-btn--map-link { margin: 0; background: #fff; color: var(--tn-primary) !important; border: 1.5px solid var(--tn-primary); }
.tn-btn--map-link:hover { background: var(--tn-primary); color: #fff !important; }

/* --- M4: form 2 select 1 hang (v9: Flatsome ep height 2.507em lam cat chu -> height auto) --- */
.tn-form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.tn-lead-form select {
	width: 100%;
	height: auto;
	min-height: 46px;
	line-height: 1.4;
	border: 1.5px solid #d7e0ec;
	border-radius: 8px;
	padding: 10px 36px 10px 12px;
	background-color: #fff;
	color: var(--tn-gray-700, #374a63);
	font-size: 14px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23617694' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	box-shadow: none;
	margin-bottom: 1em;
}
.tn-lead-form select:focus { border-color: var(--tn-primary); outline: 0; }

/* --- C1/M3: gia co mobile — khong de text/anh keo tran, wrap moi noi hep --- */
.tn-footer-contact li, .tn-info-item__body,
.footer-widget, .tn-contact-card__info { overflow-wrap: anywhere; }
.product-small .box-text { overflow-wrap: anywhere; }

@media (max-width: 849px) {
	.tn-cat-head__title { font-size: 24px; }
	.tn-specs__grid { grid-template-columns: 1fr; gap: 22px; padding: 20px 16px; }
	.tn-specs__table th { width: 128px; }
	.tn-form-2col { grid-template-columns: 1fr; }
	.tn-map-card iframe { height: 300px; }
	.tn-map-card__head { padding: 14px 16px; }
	.tn-map-card__head .tn-btn--map-link { width: 100%; text-align: center; }
}

/* ==========================================================================
   v15 — Banner slider ảnh full-width (3 banner thiết kế khách gửi)
   ========================================================================== */
.tn-banner { padding: 0 !important; background: #0b2f66; }
.tn-banner .row, .tn-banner .col { padding: 0 !important; margin: 0 !important; max-width: 100%; width: 100%; }
.tn-banner__slider { position: relative; overflow: hidden; line-height: 0; }
.tn-banner__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.tn-banner__slide:first-child { position: relative; }
.tn-banner__slide.is-active { opacity: 1; }
.tn-banner__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tn-banner__slide:first-child img { height: auto; }
/* Banner đứng đầu trang (hero ẩn): USP strip không kéo âm đè lên banner */
.tn-banner + .tn-strip-sec .tn-strip { margin-top: 28px; }
@media (max-width: 849px) {
	.tn-banner + .tn-strip-sec .tn-strip { margin-top: 16px; }
}

/* v15: /gioithieu section Câu chuyện — mobile 2 nút Gọi + Zalo cạnh nhau 1 hàng */
@media (max-width: 549px) {
	.tn-about .tn-hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 0; }
	.tn-about .tn-hero__cta .tn-btn { padding: 12px 8px; font-size: 13.5px; min-height: 48px; justify-content: center; }
}
