/*
 * TPL – Bản sáng (trắng – xanh dương). Chuẩn giao diện: design/reference/*.html của gói theme sáng.
 * Container query của reference (.lt) đổi thành media query: 1100px (tablet), 760px (mobile).
 *
 * Mục lục
 *  1. Tokens
 *  2. Nền tảng
 *  3. Nút, giấy, dải sọc
 *  4. Header dính + menu mobile
 *  5. Footer
 *  6. Trang chung (tấm giấy)
 *  7. Tablet (≤ 1100px)
 *  8. Mobile (≤ 760px)
 */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--tpl-ground: #e8eef5;
	--tpl-sheet: #fff;
	--tpl-ink: #0b1b2b;
	--tpl-navy: #0d3e5f;
	--tpl-blue: #1f63e0;
	--tpl-blue-hover: #174fb8;
	--tpl-tint: #dce7f7;
	--tpl-tint-hover: #cbdbf2;
	--tpl-white-hover: #eef3fa;
	--tpl-plate: #eef2f7;
	--tpl-plate-2: #f4f7fb;
	--tpl-soft: #4e5e70;
	--tpl-ink-2: #24364a;
	--tpl-scrim: rgba(11, 27, 43, 0.45);
	--tpl-radius: 8px;
	--tpl-font-display: "Archivo", sans-serif;
	--tpl-font-body: "Be Vietnam Pro", system-ui, sans-serif;
	--tpl-fs-14: 14px;
	--tpl-fs-17: 17px;
	--tpl-fs-22: 22px;
	--tpl-fs-32: 32px;
	--tpl-fs-50: 50px;
	--tpl-gutter: 32px;
	--tpl-section: 144px;
	--tpl-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/* Header dính: chiều cao header (14 + 48 + 14), thanh quản trị khi đăng nhập. */
	--tpl-header-h: 76px;
	--tpl-adminbar: 0px;
}

html:has(body.admin-bar) {
	--tpl-adminbar: 32px;
}

/* 2. Nền tảng --------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

html.is-menu-open {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--tpl-ground);
}

/* Bao toàn trang. overflow: clip (không phải hidden) để header dính vẫn hoạt động. */
.lt {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow: clip;
	background: var(--tpl-ground);
	color: var(--tpl-ink);
	font-family: var(--tpl-font-body);
	font-size: var(--tpl-fs-17);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.site-main {
	flex: 1 0 auto;
}

.site-main:focus {
	outline: 0;
}

:where(.lt) a {
	color: inherit;
	text-decoration: none;
}

:where(.lt) img {
	display: block;
	max-width: 100%;
	height: auto;
}

:where(.lt) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) {
	margin: 0;
	padding: 0;
}

:where(.lt) ul {
	list-style: none;
}

.lt :focus-visible {
	outline: 2px solid var(--tpl-blue);
	outline-offset: 3px;
}

/* Trên nền navy / xanh, viền focus xanh không đủ tương phản (3:1): dùng viền trắng. */
.field :focus-visible,
.coupon :focus-visible,
.mini :focus-visible,
.blue > :focus-visible,
.tblock :focus-visible,
.lightbox :focus-visible {
	outline-color: #fff;
}

/* Đích của link neo (#lien-he, #main…): chừa chỗ cho header dính. Không dùng scroll-padding
   trên html (làm trang tự cuộn khi focus vào nút trong chính header). */
[id] {
	scroll-margin-top: calc(var(--tpl-header-h) + var(--tpl-adminbar) + 8px);
}

.hdr [id] {
	scroll-margin-top: 0;
}

.sr,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	border-radius: var(--tpl-radius);
	background: var(--tpl-blue);
	color: #fff;
	font: 600 var(--tpl-fs-14) var(--tpl-font-body);
}

.wrap {
	padding-inline: var(--tpl-gutter);
}

.disp {
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.h2 {
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--tpl-fs-32);
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--tpl-navy);
}

.soft {
	color: var(--tpl-soft);
}

.sec {
	padding-top: var(--tpl-section);
}

.num {
	font-variant-numeric: tabular-nums;
}

/* Mã có gạch nối (VY-W05): không ngắt dòng ở dấu "-" (tpl_theme_nowrap_codes). */
.nowrap {
	white-space: nowrap;
}

/* 3. Nút, giấy, dải sọc ------------------------------------------------------ */

/* Một hình dạng nút duy nhất (bo 8px); ba kiểu: xanh, xanh nhạt (.tint), trắng (.white). */
.lt .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--tpl-radius);
	background: var(--tpl-blue);
	color: #fff;
	font: 600 var(--tpl-fs-14) / 1 var(--tpl-font-body);
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.12s;
}

.lt .btn:hover {
	background: var(--tpl-blue-hover);
}

.lt .btn:active {
	transform: translateY(1px);
}

.lt .btn.tint {
	background: var(--tpl-tint);
	color: var(--tpl-navy);
}

.lt .btn.tint:hover {
	background: var(--tpl-tint-hover);
}

.lt .btn.white {
	background: #fff;
	color: var(--tpl-navy);
}

.lt .btn.white:hover {
	background: var(--tpl-white-hover);
}

/* Tấm giấy. */
.sheet {
	position: relative;
	overflow: hidden;
	border-radius: var(--tpl-radius);
	background: var(--tpl-sheet);
}

/* Dải sọc navy/trắng 28px — vẽ bằng nền lặp ranh giới cứng (nhìn như dãy ô của reference, nhẹ DOM hơn).
   Ô lặp = trắng 14 | navy 28 | trắng 14, "round" co giãn ô vừa số nguyên lần chiều rộng dải: mọi vạch
   navy đều đủ, hai đầu dải đối xứng (nửa vạch trắng), không bị cắt lệch ở bất kỳ độ rộng nào. */
.stripe {
	height: 56px;
	background-color: #fff;
	background-image: linear-gradient(90deg, #fff 0 14px, var(--tpl-navy) 14px 42px, #fff 42px 56px);
	background-size: 56px 100%;
	background-repeat: round no-repeat;
}

.stripe.thin {
	height: 8px;
}

/* 4. Header dính + menu mobile ---------------------------------------------- */
.hdr {
	position: sticky;
	top: var(--tpl-adminbar);
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 32px;
	background: var(--tpl-ground);
	transition: background-color 0.25s;
}

/* Đã cuộn quá 8px (main.js, IntersectionObserver): nền giấy trắng. Không đổ bóng, không thu nhỏ logo. */
.hdr.stuck {
	background: var(--tpl-sheet);
}

/* Mốc cho IntersectionObserver: rời khỏi màn hình khi đã cuộn quá 8px. */
.hdr__sentinel {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 8px;
	pointer-events: none;
}

.hdr .mark {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.hdr .mark img {
	width: auto;
	height: 30px;
}

.hdr__list {
	display: flex;
	gap: 28px;
	font-size: var(--tpl-fs-14);
	font-weight: 500;
}

.hdr__list a {
	display: inline-block;
	padding: 12px 0;
	color: var(--tpl-ink-2);
	transition: color 0.2s;
}

.hdr__list a:hover {
	color: var(--tpl-blue);
}

.hdr__list a[aria-current] {
	color: var(--tpl-blue);
	box-shadow: inset 0 -2px 0 var(--tpl-blue);
}

.menu,
.mnav {
	display: none;
}

/* 5. Footer — mặt sau tấm thẻ ----------------------------------------------- */
.foot {
	margin-top: var(--tpl-section);
	padding-bottom: 12px;
}

.foot .stripe {
	margin-inline: 12px;
	border-radius: var(--tpl-radius) var(--tpl-radius) 0 0;
}

.fpanel {
	position: relative;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	margin-inline: 12px;
	padding: 64px 56px 28px;
	border-radius: 0 0 var(--tpl-radius) var(--tpl-radius);
	background: var(--tpl-sheet);
}

.fpanel .f1 {
	grid-column: 1 / span 6;
}

.fpanel .f2 {
	position: relative;
	grid-column: 8 / span 5;
}

.fpanel .f1__logo {
	width: 220px;
	margin-bottom: 28px;
}

.fpanel .sign {
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--tpl-fs-32);
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--tpl-navy);
}

.fpanel .msg {
	max-width: 440px;
	margin-top: 14px;
}

.flinks {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin-top: 28px;
	font-size: var(--tpl-fs-14);
	font-weight: 600;
}

.flinks a {
	display: inline-block;
	padding: 6px 0;
	color: var(--tpl-blue);
}

.flinks a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.fpanel .addr li {
	margin-bottom: 12px;
	font-size: var(--tpl-fs-17);
}

.fpanel .addr a {
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s, color 0.2s;
}

.fpanel .addr a:hover {
	border-color: var(--tpl-blue);
	color: var(--tpl-blue);
}

.fpanel .addr .lb {
	display: block;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

/* Email dài: không ngắt giữa chữ; chỉ xuống dòng ở <wbr> trước "@" (tpl_theme_email) khi thiếu chỗ. */
.addr__email {
	overflow-wrap: normal;
	word-break: normal;
}

.stamp {
	position: absolute;
	top: -8px;
	right: 0;
	width: 88px;
	padding: 6px;
	border-radius: 4px;
	background: #fff;
	transform: rotate(4deg);
}

.stamp div {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 4;
	padding: 8px;
	border-radius: 2px;
	background: var(--tpl-tint);
}

.stamp img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.imprint {
	grid-column: 1 / -1;
	margin-top: 40px;
	font-size: var(--tpl-fs-14);
	text-align: center;
	color: var(--tpl-soft);
}

/* 6. Trang chung (tấm giấy) --------------------------------------------------- */
/* Tấm giấy trang chung: cùng lề 12px với tấm giấy đầu trang danh sách / công trình. */
.paper {
	margin: 0 12px;
}

.paper__body {
	max-width: 832px;
	padding: 44px 48px 56px;
}

.paper__title {
	margin-bottom: 20px;
}

.paper__content > * + * {
	margin-top: 1em;
}

.paper__content a,
.paper__list a {
	color: var(--tpl-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.paper__content {
	overflow-wrap: break-word;
}

.paper__list li + li {
	margin-top: 10px;
}

/* Class của trình soạn thảo / WordPress trong nội dung. */
.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.alignwide,
.alignfull {
	max-width: 100%;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption,
.wp-element-caption {
	margin-top: 8px;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.sticky,
.bypostauthor {
	position: relative;
}

/* 7. Tablet (≤ 1100px) -------------------------------------------------------- */
@media (max-width: 1100px) {
	.fpanel .f1 {
		grid-column: 1 / span 7;
	}

	.fpanel .f2 {
		grid-column: 8 / span 5;
	}
}

/* Thanh quản trị cao 46px khi ≤ 782px; khi ≤ 600px WordPress cho nó cuộn theo trang (không cố định). */
@media (max-width: 782px) {
	html:has(body.admin-bar) {
		--tpl-adminbar: 46px;
	}
}

/* 8. Mobile (≤ 760px) ----------------------------------------------------------- */
@media (max-width: 760px) {
	:root {
		--tpl-gutter: 16px;
		--tpl-section: 72px; /* Rà soát mobile 25/11: 96px → 72px (khối trang chủ, footer, khối dịch vụ). */
		--tpl-header-h: 64px;
	}

	.h2 {
		font-size: 24px;
	}

	.stripe {
		height: 40px;
	}

	.hdr {
		padding: 10px 16px;
	}

	.hdr > .hdr__nav,
	.hdr > .hdr__call {
		display: none;
	}

	/* Nút Menu / Đóng. */
	.menu {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		padding: 0 14px;
		border-radius: var(--tpl-radius);
		background: #fff;
		color: var(--tpl-navy);
		font: 600 var(--tpl-fs-14) var(--tpl-font-body);
		cursor: pointer;
	}

	.menu__icon--close,
	.menu__label--close,
	.hdr.is-open .menu__icon--open,
	.hdr.is-open .menu__label--open {
		display: none;
	}

	.hdr.is-open .menu__icon--close,
	.hdr.is-open .menu__label--close {
		display: inline;
	}

	/* Không có JS: "Đóng" là link riêng (href="#"), chỉ hiện khi bảng menu đang là :target. */
	.menu--close,
	html:not(.js) .hdr:has(.mnav:target) .menu--open {
		display: none;
	}

	html:not(.js) .hdr:has(.mnav:target) .menu--close {
		display: inline-flex;
	}

	/* Tấm giấy menu thả xuống dưới header, cách hai mép 8px; nền phía sau tối mờ. */
	.hdr.is-open .mnav,
	html:not(.js) .mnav:target {
		position: absolute;
		top: 100%;
		right: 8px;
		left: 8px;
		display: block;
		padding: 8px;
		border-radius: var(--tpl-radius);
		background: #fff;
		box-shadow: 0 0 0 100vmax var(--tpl-scrim);
	}

	.mnav__list {
		display: flex;
		flex-direction: column;
		gap: 4px;
	}

	.mnav__list a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 56px;
		padding: 0 16px;
		border-radius: var(--tpl-radius);
		background: var(--tpl-plate-2);
		color: var(--tpl-navy);
		font-family: var(--tpl-font-display);
		font-stretch: 112%;
		font-weight: 700;
		font-size: var(--tpl-fs-22);
	}

	.mnav__list a[aria-current] {
		background: var(--tpl-navy);
		color: #fff;
	}

	/* Mũi tên "→" không có trong Be Vietnam Pro: dự phòng "sans-serif" như reference (không system-ui). */
	.mnav__list a span {
		font-family: "Be Vietnam Pro", sans-serif;
		font-size: var(--tpl-fs-17);
		font-weight: 500;
		color: var(--tpl-blue);
	}

	.mnav__list a[aria-current] span {
		color: #fff;
	}

	.mact {
		display: grid;
		gap: 8px;
		margin-top: 12px;
	}

	.mact .btn {
		width: 100%;
		min-height: 52px;
	}

	.mwho {
		margin: 12px 4px 4px;
		font-size: var(--tpl-fs-14);
		text-align: center;
		color: var(--tpl-soft);
	}

	.foot {
		margin-top: var(--tpl-section);
	}

	/* Link chân trang: lưới 2 cột, mỗi link là ô cao 44px (đủ vùng bấm). */
	.flinks {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4px;
		margin-top: 20px;
	}

	.flinks a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0 12px;
		border-radius: var(--tpl-radius);
		background: var(--tpl-plate-2);
	}

	.fpanel {
		display: block;
		padding: 40px 22px 24px;
	}

	.fpanel .f2 {
		margin-top: 36px;
	}

	.fpanel .f1__logo {
		width: 170px;
	}

	.fpanel .sign {
		font-size: var(--tpl-fs-22);
	}

	.stamp {
		display: none;
	}

	.paper__body {
		padding: 28px 20px 32px;
	}
}

@media (max-width: 600px) {
	html:has(body.admin-bar) {
		--tpl-adminbar: 0px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lt *,
	.lt *::before,
	.lt *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* 9. Trang chủ ------------------------------------------------------------------ */

/* Hiện lên lần lượt khi tải trang (CSS, như reference). Chỉ khi có .js-motion; bắt đầu ở opacity 0.01
   (không phải 0) để trình duyệt vẽ ngay và tính LCP sớm. */
@keyframes tpl-rise {
	from {
		opacity: 0.01;
		transform: translateY(22px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.js-motion .fx-rise {
	animation: tpl-rise 0.9s var(--tpl-ease) both;
}

.js-motion .d1 {
	animation-delay: 0.08s;
}

/* Trễ tối đa 0.15s (THEME-SANG.md §10): khối đầu trang không chờ lâu. */
.js-motion .d2 {
	animation-delay: 0.12s;
}

.js-motion .d3 {
	animation-delay: 0.15s;
}

/* 9.1 Khối mở đầu: hai tấm giấy. */
.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
	height: 820px;
	padding: 0 12px;
}

.card {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.card .inner {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 48px 56px;
}

.card .logo {
	width: 250px;
	height: auto;
	margin-bottom: 40px;
}

.card h1 {
	max-width: 13.5em;
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--tpl-fs-50);
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--tpl-navy);
}

.card .lead {
	max-width: 36ch;
	margin-top: 20px;
	font-size: var(--tpl-fs-17);
	color: var(--tpl-ink-2);
}

.card .acts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

/* 9.2 Bản vẽ bố trí đèn. */
.plot {
	display: flex;
	flex-direction: column;
	padding: 22px 22px 18px;
}

.plot-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

/* Không có JS: bản vẽ ở trạng thái mặc định, ẩn hàng nút và thanh trượt. */
html:not(.js) .plot-top {
	display: none;
}

.plot-top .t {
	font-size: var(--tpl-fs-14);
	font-weight: 600;
	color: var(--tpl-navy);
}

.chips {
	display: flex;
	gap: 6px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate);
	color: var(--tpl-ink);
	font: 500 var(--tpl-fs-14) var(--tpl-font-body);
	cursor: pointer;
	transition: background-color 0.2s;
}

.chip:hover {
	background: var(--tpl-tint);
}

.chip[aria-pressed="true"] {
	background: var(--tpl-navy);
	color: #fff;
}

.chip .dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
}

.dot--warm {
	background: #ffb000;
}

.dot--cool {
	background: #8fb0e6;
}

.dot--red {
	background: #ff3b30;
}

.dot--green {
	background: #22c162;
}

.dot--blue {
	background: #1f63e0;
}

.pan {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-ink-2);
}

.pan input {
	width: 180px;
	height: 44px;
	accent-color: var(--tpl-blue);
}

.plot svg.draw {
	flex: 1;
	width: 100%;
	min-height: 0;
	margin: 12px 0 8px;
}

/* Màu tia và quầng: biến --tpl-beam (main.js đổi); COB giữ vàng trắng. */
.plot .c-f {
	fill: var(--tpl-beam, #1f63e0);
}

.plot .c-s {
	stroke: var(--tpl-beam, #1f63e0);
}

.plot .pool {
	mix-blend-mode: multiply;
	transition: cx 0.5s var(--tpl-ease), fill 0.3s;
}

.plot line.c-s {
	transition: x2 0.5s var(--tpl-ease), stroke 0.3s;
}

.plot .cob {
	mix-blend-mode: multiply;
}

.sway {
	animation: tpl-sway 7s ease-in-out infinite alternate;
}

@keyframes tpl-sway {
	from {
		transform: translateX(-6px);
	}

	to {
		transform: translateX(6px);
	}
}

.plot-foot {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 8px;
}

.legend {
	padding: 14px 16px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate-2);
}

.legend__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-ink);
	transition: color 0.15s;
}

a.legend__row:hover {
	color: var(--tpl-blue);
}

.legend__row svg {
	flex: none;
}

.legend__row b {
	margin-left: auto;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--tpl-soft);
}

.tblock {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
}

.tblock div {
	padding: 10px 14px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate-2);
}

.tblock div:first-child {
	grid-column: 1 / -1;
	background: var(--tpl-navy);
	color: #fff;
}

.tblock dt {
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.tblock div:first-child dt {
	color: #b9cadc;
}

.tblock dd {
	font-size: var(--tpl-fs-14);
	font-weight: 600;
}

.tblock div:first-child dd {
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--tpl-fs-22);
	line-height: 1.2;
}

/* 9.3 Sáu dòng thiết bị: các phiếu nhô lên từ đáy nền navy. */
.field {
	position: relative;
	height: 980px;
	margin: 0 12px;
	overflow: hidden;
	border-radius: var(--tpl-radius);
	background: var(--tpl-navy);
	color: #fff;
}

.field .txt {
	position: absolute;
	top: 96px;
	left: 18%;
	max-width: 660px;
}

.field .h2 {
	font-size: var(--tpl-fs-50);
	line-height: 1.06;
	color: #fff;
}

.field .txt p {
	margin-top: 20px;
	font-size: var(--tpl-fs-22);
	line-height: 1.4;
	color: #d5e1ee;
}

.slips {
	position: absolute;
	right: 12px;
	bottom: -48px;
	left: 12px;
	display: flex;
	align-items: flex-end;
	gap: 12px;
}

.slip {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-width: 0;
	padding: 18px 18px 64px;
	border-radius: var(--tpl-radius) var(--tpl-radius) 0 0;
	background: #fff;
	color: var(--tpl-ink);
	transition: transform 0.4s var(--tpl-ease);
}

.slip:hover {
	transform: translateY(-14px) !important;
}

.slip .ph {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	height: 170px;
	padding: 14px;
	border-radius: 6px;
	background: var(--tpl-plate);
}

.slip .ph img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.slip h3 {
	margin-top: 16px;
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--tpl-fs-22);
	line-height: 1.15;
	color: var(--tpl-navy);
}

.slip .rule {
	display: block;
	margin: 10px 0 8px;
	overflow: hidden;
	font-size: var(--tpl-fs-14);
	letter-spacing: 0.2em;
	white-space: nowrap;
	color: #66768a;
}

.slip li {
	padding: 2px 0;
	font-size: var(--tpl-fs-14);
	line-height: 1.45;
}

.slip .more {
	margin-top: 12px;
	font-size: var(--tpl-fs-14);
	font-weight: 600;
	color: var(--tpl-blue);
}

.s1 {
	height: 470px;
}

.s2 {
	height: 550px;
	transform: rotate(-1.5deg);
}

.s3 {
	height: 500px;
}

.s4 {
	height: 440px;
}

.s5 {
	height: 580px;
	transform: rotate(1.2deg);
}

.s6 {
	height: 610px;
}

/* 9.4 Tìm theo tên máy. */
.finder {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: start;
	gap: 24px;
}

.fleft {
	grid-column: 1 / span 5;
	container-type: inline-size;
}

.fleft .big34 {
	margin-top: 64px;
	font-family: var(--tpl-font-display);
	font-stretch: 125%;
	font-weight: 800;
	max-width: 460px;
	font-size: 62cqw;
	line-height: 0.86;
	letter-spacing: -0.05em;
	color: var(--tpl-blue);
}

.fleft p:not(.big34) {
	max-width: 460px;
	margin-top: 28px;
	font-size: var(--tpl-fs-22);
	line-height: 1.4;
}

.fleft .btn {
	margin-top: 28px;
}

.bars {
	display: flex;
	flex-direction: column;
	grid-column: 7 / span 6;
	gap: 6px;
}

.bar {
	border-radius: var(--tpl-radius);
	background: #fff;
}

.bar summary {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 60px;
	padding: 0 20px;
	font-size: var(--tpl-fs-17);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.bar summary::-webkit-details-marker {
	display: none;
}

.bar summary .n {
	font-size: var(--tpl-fs-14);
	font-weight: 500;
	color: var(--tpl-soft);
}

.bar summary .pm {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--tpl-plate);
	color: var(--tpl-navy);
	transition: transform 0.3s;
}

.bar[open] summary .pm {
	background: var(--tpl-blue);
	color: #fff;
	transform: rotate(45deg);
}

.bar ul {
	padding: 2px 20px 18px;
}

.bar li a {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
	font-size: var(--tpl-fs-17);
	transition: color 0.15s;
}

.bar li a:hover {
	color: var(--tpl-blue);
}

.bar__tags {
	font-size: var(--tpl-fs-14);
	font-variant-numeric: tabular-nums;
	text-align: right;
	color: var(--tpl-soft);
}

/* 9.5 Công trình: lưới ô ảnh + dải chữ. */
.ghead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.ghead p {
	max-width: 440px;
}

.tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 12px;
	padding-inline: 12px;
}

.tile {
	margin: 0;
}

.tile__link {
	display: block;
}

.tile .pic {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--tpl-radius) var(--tpl-radius) 0 0;
	background: var(--tpl-plate);
}

.tile .pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--tpl-ease);
}

.tile__link:hover .pic img {
	transform: scale(1.05);
}

.tile .strip {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 8px;
	min-height: 88px;
	padding: 12px 14px;
	border-radius: 0 0 var(--tpl-radius) var(--tpl-radius);
	font-size: var(--tpl-fs-14);
}

.tile .strip .r1 {
	display: flex;
	justify-content: space-between;
	font-weight: 600;
}

.tile .strip .r2 {
	display: flex;
	justify-content: space-between;
	opacity: 0.85;
}

.p1 .strip {
	background: var(--tpl-navy);
	color: #fff;
}

.p2 .strip {
	background: var(--tpl-blue);
	color: #fff;
}

/* Chữ trắng mờ 85% trên nền xanh chỉ đạt 4.33:1 — dải xanh để chữ trắng đậm đủ (đạt AA 4.5:1). */
.p2 .strip .r2 {
	opacity: 1;
}

.p3 .strip {
	background: var(--tpl-tint);
	color: var(--tpl-navy);
}

.p4 .strip {
	background: #fff;
	color: var(--tpl-navy);
}

/* 9.6 Về T&P: lá thư. */
.letter {
	width: 640px;
	margin: 0 auto;
}

.letter .sheet {
	padding: 60px;
	border-radius: var(--tpl-radius) var(--tpl-radius) 0 0;
}

.letter .av {
	width: 96px;
}

.letter .av img {
	width: 100%;
	height: auto;
}

.letter .h2 {
	margin-top: 28px;
}

.letter p.t {
	margin-top: 18px;
	font-size: var(--tpl-fs-17);
	line-height: 1.6;
}

.lfacts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	margin-top: 28px;
}

.lfacts div {
	padding: 12px 14px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate-2);
}

.lfacts dt {
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.lfacts dd {
	margin-top: 2px;
	font-size: var(--tpl-fs-14);
	font-weight: 600;
}

/* Link sang trang Giới thiệu (góp ý 26/11): kiểu link xanh như hàng link ở khối mở đầu, vùng bấm 44px. */
.letter .lmore {
	margin-top: 20px;
	font-size: var(--tpl-fs-14);
	font-weight: 600;
}

.letter .lmore a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--tpl-blue);
}

.letter .lmore a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.letter .sig {
	margin-top: 32px;
	font-size: var(--tpl-fs-22);
	font-weight: 600;
	color: var(--tpl-navy);
}

.letter .role {
	margin-top: 2px;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.scal {
	display: block;
	width: 100%;
	height: 18px;
	margin-top: -1px;
}

.tear {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
	margin-top: 10px;
	padding: 12px 20px;
	border-top: 5px dotted var(--tpl-ground);
	border-radius: 0 0 var(--tpl-radius) var(--tpl-radius);
	background: #fff;
}

.tear .mail {
	font-weight: 600;
	color: var(--tpl-navy);
}

/* 9.7 Dịch vụ & chính sách: tấm thẻ đặt thẳng trên nền xanh (bỏ nghiêng theo góp ý khách 26/11/2026). */
.blue {
	position: relative;
	margin: var(--tpl-section) 12px 0;
	padding-top: 96px;
	overflow: hidden;
	border-radius: var(--tpl-radius);
	background: var(--tpl-blue);
}

.pcard {
	position: relative;
	width: 56%;
	margin: 0 auto -48px;
	padding: 56px 56px 120px;
	border-radius: var(--tpl-radius);
	background: #fff;
	text-align: center;
}

.pcard .svc {
	margin-top: 24px;
	font-size: var(--tpl-fs-22);
	line-height: 1.7;
	color: var(--tpl-navy);
}

.pcard .tip {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 21 / 9;
	margin: 32px auto 0;
	padding: 18px;
	border-radius: 6px;
	background: var(--tpl-plate);
}

.pcard .tip img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.pcard .pol {
	margin-top: 30px;
	font-size: var(--tpl-fs-17);
	line-height: 1.75;
}

.pcard .pol b {
	font-weight: 600;
	color: var(--tpl-navy);
}

.pcard .std {
	margin-top: 26px;
	font-size: var(--tpl-fs-14);
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--tpl-blue);
}

/* 9.8 Liên hệ: coupon navy có lỗ đục ở giữa. */
.coupon {
	position: relative;
	display: grid;
	grid-template-columns: 46% 54%;
	width: calc(100% * 10 / 12);
	min-height: 560px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--tpl-radius);
	background: var(--tpl-navy);
	color: #fff;
}

.coupon .nt,
.coupon .nb {
	position: absolute;
	left: 46%;
	width: 28px;
	height: 28px;
	margin-left: -14px;
	border-radius: 50%;
	background: var(--tpl-ground);
}

.coupon .nt {
	top: -14px;
}

.coupon .nb {
	bottom: -14px;
}

.coupon .perf {
	position: absolute;
	top: 22px;
	bottom: 22px;
	left: 46%;
	margin-left: -2px;
	border-left: 5px dotted var(--tpl-ground);
}

.cl {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	padding: 48px;
}

.cl .h2 {
	font-size: var(--tpl-fs-50);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
}

.cl p,
.cl__lead {
	color: #c9d7e6;
}

.cl__lead {
	margin-top: 16px;
}

.phones li {
	margin-top: 12px;
}

.phones .lb {
	display: block;
	font-size: var(--tpl-fs-14);
	color: #9fb4ca;
}

.phones a {
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--tpl-fs-22);
	transition: color 0.2s;
}

.phones a:hover {
	color: #8fb4ff;
}

.cr {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: 48px;
}

.cbox {
	padding: 16px 18px;
	border-radius: var(--tpl-radius);
	background: #1a5179;
}

.cbox .lb {
	font-size: var(--tpl-fs-14);
	color: #afc3d7;
}

.cbox .big {
	display: inline-block;
	margin-top: 4px;
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--tpl-fs-22);
	line-height: 1.25;
	transition: color 0.2s;
}

a.cbox .big:hover,
.cbox a.big:hover {
	color: #8fb4ff;
}

/* Email: Be Vietnam Pro, không ngắt giữa chữ (chỉ xuống dòng ở chỗ <wbr> trước "@" nếu thiếu chỗ). */
.cbox .em {
	font-family: var(--tpl-font-body);
	font-stretch: 100%;
	font-weight: 600;
	font-size: 20px;
	letter-spacing: 0;
	overflow-wrap: normal;
	word-break: normal;
}

/* Reference khai báo min-height 56px nhưng bị .lt a.btn đè — thiết kế hiển thị 48px như mọi nút. */
.lt .cr .send {
	width: 100%;
	margin-top: 6px;
}

.cr .two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.cr .maplink {
	padding: 8px 0;
	font-size: var(--tpl-fs-14);
	font-weight: 600;
	text-align: center;
	color: #c9d7e6;
}

.cr .maplink:hover {
	color: #fff;
}

/* 9.9 Lightbox (thẻ <dialog>): nền #0B1B2B 92%, nút đóng trắng. */
.lightbox {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 16px 20px 24px;
	border: 0;
	background: rgba(11, 27, 43, 0.92);
	color: #fff;
	font-family: var(--tpl-font-body);
}

.lightbox[open] {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 12px;
}

.lightbox::backdrop {
	background: rgba(11, 27, 43, 0.5);
}

.lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.lightbox__count {
	margin: 0;
	font-size: var(--tpl-fs-14);
	font-variant-numeric: tabular-nums;
	color: #c9d7e6;
}

.lightbox__close {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--tpl-radius);
	background: #fff;
	color: var(--tpl-navy);
	font: 600 var(--tpl-fs-14) var(--tpl-font-body);
	cursor: pointer;
}

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 0;
	margin: 0;
	padding-inline: 64px;
}

.lightbox__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100vh - 150px);
	object-fit: contain;
}

.lightbox__caption {
	margin-top: 12px;
	font-size: var(--tpl-fs-14);
	text-align: center;
	color: #c9d7e6;
}

.lightbox__nav {
	position: absolute;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--tpl-navy);
	cursor: pointer;
	transform: translateY(-50%);
}

.lightbox__nav--prev {
	left: 12px;
}

.lightbox__nav--next {
	right: 12px;
}

.lightbox__nav[hidden] {
	display: none;
}

/* 9.10 Trang chủ — tablet (≤ 1100px). */
@media (max-width: 1100px) {
	.hero {
		grid-template-columns: 1fr;
		height: auto;
	}

	.plot {
		min-height: 760px;
	}

	.card {
		min-height: 640px;
	}

	.field {
		height: auto;
		padding: 72px 0 0;
	}

	.field .txt {
		position: static;
		max-width: 760px;
		padding: 0 40px;
	}

	/* Phiếu cùng hàng cao bằng nhau (§14.4): lưới kéo giãn, danh sách chiếm phần còn lại, dòng "N mẫu →"
	   dồn xuống đáy; tên danh mục tối thiểu 2 dòng để đường gạch đứt thẳng hàng. */
	.slips {
		position: static;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: stretch;
		gap: 12px;
		margin-top: 48px;
		padding: 0 16px 16px;
	}

	.slip {
		height: auto !important;
		padding-bottom: 20px;
		border-radius: var(--tpl-radius);
	}

	.slip h3 {
		min-height: 2.3em;
	}

	.slip ul {
		flex: 1;
	}

	.slip .more {
		margin-top: auto;
		padding-top: 12px;
	}

	.s2,
	.s5 {
		transform: none;
	}

	.finder {
		display: block;
	}

	.bars {
		margin-top: 48px;
	}

	.fleft .big34 {
		font-size: 40cqw;
	}

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

	.pcard {
		width: 80%;
	}

	.coupon {
		width: 100%;
	}

	.cl .h2 {
		font-size: var(--tpl-fs-32);
	}

	.cl,
	.cr {
		padding: 36px;
	}
}

/* 9.11 Trang chủ — mobile (≤ 760px). */
@media (max-width: 760px) {
	.hero {
		padding: 0 12px;
	}

	.plot {
		min-height: 0;
		padding: 16px 14px 14px;
	}

	/* Bỏ chiều cao cố định: SVG theo tỉ lệ viewBox, hết khoảng trắng trên dưới. */
	.plot svg.draw {
		flex: none;
		height: auto;
		margin: 16px 0 12px;
		aspect-ratio: 640 / 420;
	}

	/* Chữ trong bản vẽ (12 m, 8 m, Khán giả): 24 đơn vị SVG để đọc được khi thu nhỏ. */
	.plot svg.draw text {
		font-size: 24px;
	}

	.tblock {
		display: none;
	}

	.plot-foot {
		grid-template-columns: 1fr;
	}

	.chips {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 4px;
		width: 100%;
	}

	.chip {
		flex-direction: column;
		gap: 4px;
		min-height: 54px;
		padding: 6px 0;
		font-size: var(--tpl-fs-14);
	}

	.pan {
		width: 100%;
	}

	.pan input {
		flex: 1;
		width: auto;
	}

	.card {
		min-height: 0;
	}

	.card .inner {
		padding: 32px 16px;
	}

	.card .logo {
		width: 180px;
		margin-bottom: 28px;
	}

	.card h1 {
		font-size: 24px;
		text-wrap: balance;
	}

	.card .acts {
		flex-direction: column;
		width: 100%;
	}

	.field .txt {
		padding: 0 22px;
	}

	.field .h2 {
		font-size: var(--tpl-fs-32);
	}

	.field .txt p {
		font-size: var(--tpl-fs-17);
	}

	.slips {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 0 12px 12px;
	}

	.slip {
		padding: 12px 12px 16px;
	}

	.slip .ph {
		height: 110px;
	}

	.slip h3 {
		font-size: var(--tpl-fs-17);
	}

	.slip .more .x {
		display: none;
	}

	.fleft p:not(.big34) {
		font-size: var(--tpl-fs-17);
	}

	.fleft .big34 {
		margin-top: 16px;
	}

	.bar summary {
		min-height: 56px;
		padding: 0 16px;
	}

	.bar ul {
		padding: 0 16px 14px;
	}

	.bar li a {
		flex-direction: column;
		gap: 2px;
		font-size: var(--tpl-fs-17);
	}

	.bar__tags {
		text-align: left;
	}

	.ghead {
		display: block;
	}

	.ghead p {
		margin-top: 12px;
	}

	.tiles {
		gap: 20px 8px;
		padding-inline: 8px;
	}

	.tile .strip {
		min-height: 0;
		font-size: var(--tpl-fs-14);
	}

	.tile .strip .r1 {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 2px 10px;
	}

	.letter {
		width: auto;
		margin: 0 12px;
	}

	.letter .sheet {
		padding: 28px 22px;
	}

	.lfacts {
		grid-template-columns: 1fr;
	}

	.tear {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.blue {
		margin-top: var(--tpl-section);
		padding-top: 56px;
	}

	.pcard {
		width: 92%;
		padding: 28px 22px 96px;
		text-align: left;
	}

	.pcard .h2 {
		font-size: var(--tpl-fs-22);
	}

	.pcard .svc,
	.pcard .pol {
		font-size: var(--tpl-fs-17);
	}

	.coupon {
		display: block;
		width: auto;
		margin: 0 12px;
	}

	.coupon .nt,
	.coupon .nb,
	.coupon .perf {
		display: none;
	}

	.cr {
		padding-top: 44px;
		border-top: 5px dotted var(--tpl-ground);
	}

	.cr .two {
		grid-template-columns: 1fr;
	}

	.cbox .big,
	.cbox .em {
		font-size: var(--tpl-fs-17);
	}

	.cl,
	.cr {
		padding: 28px 22px;
	}

	.cl .h2 {
		font-size: var(--tpl-fs-32);
	}

	.cr {
		padding-top: 44px;
	}

	.lightbox__figure {
		padding-inline: 0;
	}
}

/* 10. Danh sách sản phẩm ------------------------------------------------------- */
.cat-sheet {
	margin: 0 12px;
}

.cat-sheet .in {
	padding: 44px 48px 32px;
}

.ch {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: start;
	gap: 24px;
}

/* Đầu trang danh sách (§14.3): h1 cột trái 5/12; cột phải 7/12 (tối đa 720px) gồm số thiết bị,
   các đoạn giới thiệu và câu ghi chú giá cỡ nhỏ có kẻ trên. */
.ch h1 {
	grid-column: 1 / span 5;
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--tpl-fs-50);
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--tpl-navy);
}

.ch .side {
	grid-column: 6 / span 7;
	max-width: 720px;
}

.ch .side b {
	display: block;
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-size: var(--tpl-fs-22);
	color: var(--tpl-blue);
}

.ch .intro {
	margin-top: 12px;
	line-height: 1.65;
}

.ch .intro p + p {
	margin-top: 12px;
}

.ch .pnote {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #d6e0ec;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.ch .side a {
	font-weight: 600;
	color: var(--tpl-blue);
}

.tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 36px;
}

.fchips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.fc {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate);
	color: var(--tpl-ink);
	font: 500 var(--tpl-fs-14) var(--tpl-font-body);
	cursor: pointer;
	transition: background-color 0.2s;
}

.fc:hover {
	background: var(--tpl-tint);
}

/* Mục đang xem: link aria-current (không JS) hoặc nút aria-pressed (có JS). */
.fc[aria-current],
.fc[aria-pressed="true"] {
	background: var(--tpl-navy);
	color: #fff;
}

/* Số đếm: reference làm mờ 60% (chỉ 4.42:1) — dùng màu chữ phụ để đạt AA 4.5:1. */
.fc small {
	margin-left: 6px;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.fc[aria-current] small,
.fc[aria-pressed="true"] small {
	color: #c9d7e6;
}

.srch {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 320px;
	min-height: 48px;
	padding: 0 14px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate);
	color: var(--tpl-ink-2);
}

.srch:focus-within {
	outline: 2px solid var(--tpl-blue);
	outline-offset: 3px;
}

.srch input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	border: 0;
	outline: none;
	background: none;
	color: var(--tpl-ink);
	font: 400 var(--tpl-fs-17) var(--tpl-font-body);
}

.srch input::placeholder {
	color: #6b7a8b;
}

.list {
	margin: 12px 12px 0;
}

.pgrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.empty {
	padding: 64px 0;
	font-size: var(--tpl-fs-17);
	text-align: center;
}

/* Thẻ sản phẩm. */
.pc {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--tpl-radius);
	background: #fff;
	transition: transform 0.3s var(--tpl-ease);
}

.pc[hidden] {
	display: none;
}

.pc:hover {
	transform: translateY(-4px);
}

.pc .pl {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	min-height: 0;
	padding: 13%;
	overflow: hidden;
	background: var(--tpl-plate);
	transition: background-color 0.3s;
}

.pc:hover .pl {
	background: var(--tpl-tint);
}

.pc .pl img {
	position: absolute;
	top: 13%;
	left: 13%;
	width: 74%;
	height: 74%;
	object-fit: contain;
	transition: transform 0.5s var(--tpl-ease);
}

.pc:hover .pl img {
	transform: scale(1.05);
}

.pc .ct {
	position: absolute;
	top: 10px;
	left: 12px;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.pc .no {
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.pc .bd {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 16px 16px 18px;
}

.pc__title {
	font-size: var(--tpl-fs-17);
	font-weight: 600;
	line-height: 1.3;
	color: var(--tpl-ink);
}

.pc .tg {
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

/* Giá: số tiền không bao giờ xuống dòng; thẻ quá hẹp thì chỉ "/cái" xuống dòng (<wbr>). */
.pc .pr {
	margin-top: auto;
	padding-top: 12px;
	font-size: var(--tpl-fs-17);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--tpl-navy);
}

.pr__value,
.pc .pr small {
	white-space: nowrap;
}

.pc .pr small {
	margin-left: 2px;
	font-size: var(--tpl-fs-14);
	font-weight: 400;
	color: var(--tpl-soft);
}

.pc .ask {
	margin-top: auto;
	padding-top: 12px;
	font-size: var(--tpl-fs-14);
	font-weight: 600;
	color: var(--tpl-blue);
}

/* Coupon nhỏ cuối trang. */
.mini {
	position: relative;
	display: grid;
	grid-template-columns: 58% 42%;
	margin: var(--tpl-section) 12px 0;
	overflow: hidden;
	border-radius: var(--tpl-radius);
	background: var(--tpl-navy);
	color: #fff;
}

.mini .nt,
.mini .nb {
	position: absolute;
	left: 58%;
	width: 28px;
	height: 28px;
	margin-left: -14px;
	border-radius: 50%;
	background: var(--tpl-ground);
}

.mini .nt {
	top: -14px;
}

.mini .nb {
	bottom: -14px;
}

.mini .perf {
	position: absolute;
	top: 22px;
	bottom: 22px;
	left: 58%;
	margin-left: -2px;
	border-left: 5px dotted var(--tpl-ground);
}

.mini .l {
	padding: 48px;
}

.mini .h2 {
	color: #fff;
}

.mini .l p {
	max-width: 520px;
	margin-top: 12px;
	color: #c9d7e6;
}

.mini .r {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	padding: 48px;
}

/* Theo sau .mini: footer giữ khoảng cách 144/96px như mọi trang. */

@media (max-width: 1100px) {
	.ch h1 {
		grid-column: 1 / -1;
	}

	.ch .side {
		grid-column: 1 / -1;
	}

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

@media (max-width: 760px) {
	.cat-sheet .in {
		padding: 28px 20px 22px;
	}

	.ch {
		display: block;
	}

	.ch h1 {
		font-size: var(--tpl-fs-32);
		text-wrap: balance;
	}

	.ch .side {
		margin-top: 16px;
	}

	.ch .intro {
		font-size: 16px;
	}

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

	.srch {
		width: 100%;
	}

	.list {
		margin: 8px 12px 0;
	}

	.pgrid {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.pc .ct {
		display: none;
	}

	.pc .bd {
		padding: 12px 12px 14px;
	}

	.pc__title {
		font-size: 16px;
	}

	.mini {
		display: block;
		margin-top: 64px;
	}

	.mini .nt,
	.mini .nb,
	.mini .perf {
		display: none;
	}

	.mini .l,
	.mini .r {
		padding: 28px 22px;
	}

	.mini .r {
		border-top: 5px dotted var(--tpl-ground);
	}
}

/* 11. Chi tiết sản phẩm — phiếu thông số --------------------------------------- */
.crumb {
	padding: 8px 32px 16px;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.crumb a {
	display: inline-block;
	padding: 8px 0;
}

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

.ds {
	margin: 0 12px;
}

/* Khung tên. */
.tb {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 4px;
	padding: 12px;
}

.tb div {
	padding: 12px 16px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate-2);
}

.tb div:first-child {
	background: var(--tpl-navy);
	color: #fff;
}

.tb dt {
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.tb div:first-child dt {
	color: #b9cadc;
}

.tb dd {
	font-size: var(--tpl-fs-17);
	font-weight: 600;
}

.dbody {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	padding: 20px 36px 48px;
}

.dmedia {
	grid-column: 1 / span 7;
	min-width: 0;
}

/* Ảnh chính + quầng sáng (gradient duy nhất được phép, theo màu LED đang chọn). */
.dimg {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	padding: 9%;
	overflow: hidden;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate);
}

.dimg .glow {
	position: absolute;
	top: 16%;
	left: 28%;
	width: 44%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--tpl-glow, #9db4d8);
	opacity: 0.42;
	filter: blur(64px);
	transition: background-color 0.4s;
}

[data-glow="red"] {
	--tpl-glow: #ff3b30;
}

[data-glow="green"] {
	--tpl-glow: #22c162;
}

[data-glow="blue"] {
	--tpl-glow: #1f63e0;
}

[data-glow="white"],
[data-glow="tint"] {
	--tpl-glow: #9db4d8;
}

.dimg__main {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.dimg__main img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.dimg .no {
	position: relative;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	padding: 6px;
	border: 2px solid transparent;
	border-radius: 6px;
	background: var(--tpl-plate);
	cursor: pointer;
}

.thumb[aria-pressed="true"] {
	border-color: var(--tpl-navy);
}

.thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.dinfo {
	grid-column: 8 / span 5;
	min-width: 0;
	padding-top: 8px;
}

.dinfo h1 {
	margin-top: 8px;
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--tpl-fs-50);
	line-height: 1.06;
	letter-spacing: -0.025em;
	color: var(--tpl-navy);
}

.dinfo .desc {
	margin-top: 18px;
}

/* 3 ô số lớn: cùng hàng nếu vừa; giá trị dài không vừa thì ô tự xuống hàng (2 + 1 trải ngang).
   Giá trị không bao giờ ngắt giữa một từ (keep-all; cụm có gạch nối giữ một dòng). */
.kf {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 28px;
}

.kf div {
	display: flex;
	flex: 1 1 0;
	flex-direction: column-reverse;
	justify-content: flex-end;
	padding: 16px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate-2);
}

.kf dd {
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--tpl-fs-32);
	line-height: 1;
	color: var(--tpl-blue);
	word-break: keep-all;
	overflow-wrap: normal;
	hyphens: none;
}

.kf dt {
	margin-top: 8px;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

/* Màu LED (chỉ sản phẩm có đèn màu RGB). */
.leds {
	margin-top: 24px;
}

.leds p {
	margin-bottom: 8px;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.leds .row {
	display: flex;
	gap: 8px;
}

.cb {
	width: 44px;
	height: 44px;
	border: 3px solid #fff;
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.15s;
}

.cb:hover {
	transform: scale(1.08);
}

.cb[aria-pressed="true"] {
	outline: 2px solid var(--tpl-navy);
	outline-offset: 2px;
}

.cb--red {
	background: #ff3b30;
}

.cb--green {
	background: #22c162;
}

.cb--blue {
	background: #1f63e0;
}

.cb--white {
	background: #9db4d8;
}

/* Giá: không bao giờ xuống dòng. */
.price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: 28px;
	padding: 16px 18px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate-2);
}

.price b {
	font-size: var(--tpl-fs-22);
	font-weight: 600;
	white-space: nowrap;
	color: var(--tpl-navy);
}

.price b small {
	margin-left: 3px;
	font-size: 15px;
	font-weight: 400;
	color: var(--tpl-soft);
}

.price span:not(.num) {
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.dinfo .acts {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.dinfo .acts .btn {
	flex: 1;
}

.warr {
	margin-top: 14px;
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

/* Bảng thông số. */
.specs {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	padding: 0 36px 56px;
}

.specs .h2 {
	grid-column: 1 / span 4;
}

.specs table {
	grid-column: 5 / span 8;
	border-collapse: collapse;
	font-size: var(--tpl-fs-17);
}

.specs th,
.specs td {
	padding: 14px 0;
	border-bottom: 1px solid #d6e0ec;
	text-align: left;
	vertical-align: top;
}

.specs th {
	width: 38%;
	padding-right: 24px;
	font-weight: 500;
	color: var(--tpl-soft);
}

.specs td {
	font-variant-numeric: tabular-nums;
}

/* Cuống xé. */
.stub {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 36px;
	border-top: 5px dotted var(--tpl-ground);
	background: var(--tpl-plate-2);
}

.stub p {
	font-size: var(--tpl-fs-17);
	font-weight: 500;
}

.stub .a {
	display: flex;
	flex: none;
	gap: 8px;
}

/* Reference để nút bị ép (chữ trong nút xuống dòng ở tablet): giữ nút một dòng, câu bên trái nhường chỗ. */
.stub .a .btn {
	white-space: nowrap;
}

/*
 * Giới thiệu sản phẩm (field "Giới thiệu chi tiết", khách viết tự do): giữa bảng thông số và cuống xé.
 * Nội dung đến từ trình soạn thảo nên phải chịu được mọi thẻ: h2–h4, danh sách, trích dẫn, ảnh có/không
 * chú thích ([caption] in style="width" nội tuyến), thư viện ảnh ([gallery] hoặc khối), video oEmbed.
 * Chọn bằng ".ds .more": class "more" còn dùng cho dòng "N mẫu →" của phiếu danh mục trang chủ (.slip .more).
 */
.ds .more {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	padding: 56px 36px;
	border-top: 1px solid #d6e0ec;
}

.ds .more .h2 {
	grid-column: 1 / span 4;
}

.prose {
	grid-column: 5 / span 8;
	min-width: 0;
	max-width: 760px;
	font-size: var(--tpl-fs-17);
	line-height: 1.65;
	color: var(--tpl-ink);
	overflow-wrap: break-word;
}

.prose > * + * {
	margin-top: 20px;
}

.prose h2,
.prose h3 {
	margin-top: 40px;
	font-family: var(--tpl-font-display);
	font-size: var(--tpl-fs-22);
	font-weight: 700;
	font-stretch: 112%;
	line-height: 1.25;
	color: var(--tpl-navy);
}

.prose h4,
.prose h5,
.prose h6 {
	margin-top: 32px;
	font-size: var(--tpl-fs-17);
	font-weight: 600;
	color: var(--tpl-navy);
}

.prose > :first-child {
	margin-top: 0;
}

.prose ul {
	padding-left: 22px;
	list-style: disc;
}

.prose ol {
	padding-left: 22px;
	list-style: decimal;
}

.prose li + li {
	margin-top: 6px;
}

.prose strong,
.prose b {
	font-weight: 600;
}

.prose a {
	color: var(--tpl-blue);
	text-decoration: underline;
}

.prose blockquote {
	padding-left: 18px;
	border-left: 3px solid #d6e0ec;
	color: var(--tpl-ink-2);
}

.prose figure {
	/* Giữ margin-top của "> * + *" (khoảng cách với đoạn văn trên). */
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}

/* [caption] in style="width: Npx" nội tuyến: cho co theo cột. */
.prose .wp-caption {
	width: auto !important;
	max-width: 100%;
}

.prose img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 760px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate);
	object-fit: contain;
}

.prose figcaption {
	margin-top: 8px;
	font-size: var(--tpl-fs-14);
	line-height: 1.5;
	color: var(--tpl-soft);
}

/* Ảnh mở lightbox (main.js gắn data-lightbox): con trỏ phóng to, không gạch chân. */
.prose a[data-lightbox] {
	display: block;
	text-decoration: none;
	cursor: zoom-in;
}

/* Thư viện ảnh: [gallery] (div.gallery > figure.gallery-item) hoặc khối (figure.wp-block-gallery). */
.prose .gallery,
.prose .wp-block-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.prose .gallery br {
	display: none;
}

.prose .gallery-item,
.prose .wp-block-gallery > figure {
	margin: 0;
}

.prose .gallery img,
.prose .wp-block-gallery img {
	aspect-ratio: 4 / 3;
}

.prose .wp-block-gallery > figcaption {
	grid-column: 1 / -1;
}

/* Video (YouTube… qua oEmbed): khung 16:9, rộng hết cột. */
.prose iframe,
.prose video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--tpl-radius);
	background: var(--tpl-ink);
}

@media (max-width: 1100px) {

	.ds .more .h2,
	.prose {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {

	.ds .more {
		gap: 16px;
		padding: 40px 16px;
	}

	.prose {
		font-size: 16px;
	}

	.prose .gallery,
	.prose .wp-block-gallery {
		grid-template-columns: 1fr;
	}
}

.rel {
	margin-top: 120px;
}

.rel .h2 {
	margin-bottom: 28px;
	padding: 0 32px;
}

.rel .pgrid {
	margin: 0 12px;
}

@media (max-width: 1100px) {
	.dmedia {
		grid-column: 1 / span 6;
	}

	.dinfo {
		grid-column: 7 / span 6;
	}

	.dinfo h1 {
		font-size: var(--tpl-fs-32);
	}

	.kf dd {
		font-size: var(--tpl-fs-22);
	}

	.dinfo .acts {
		flex-direction: column;
	}

	.specs .h2,
	.specs table {
		grid-column: 1 / -1;
	}

	.tb {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.crumb {
		padding: 6px 16px 12px;
	}

	.tb {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding: 8px;
	}

	.tb div:first-child {
		grid-column: 1 / -1;
	}

	.tb div {
		padding: 10px 12px;
	}

	.price {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.dbody {
		display: block;
		padding: 12px 16px 36px;
	}

	.dinfo {
		margin-top: 24px;
	}

	.kf div {
		padding: 12px;
	}

	.specs {
		display: block;
		padding: 0 16px 36px;
	}

	.specs table {
		width: 100%;
		margin-top: 18px;
		font-size: 16px;
	}

	/* Mỗi dòng xếp dọc: nhãn 14px ở trên, giá trị 16px ở dưới (không còn cột nhãn 44% ép giá trị xuống dòng). */
	.specs table,
	.specs tbody,
	.specs tr {
		display: block;
	}

	.specs tr {
		padding: 12px 0;
		border-bottom: 1px solid #d6e0ec;
	}

	.specs th,
	.specs td {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
	}

	.specs th {
		margin-bottom: 2px;
		font-size: var(--tpl-fs-14);
	}

	.stub {
		flex-direction: column;
		align-items: stretch;
		padding: 20px 16px;
	}

	.stub .a {
		flex-direction: column;
	}

	.rel {
		margin-top: 64px;
	}

	.rel .h2 {
		padding: 0 16px;
	}
}

/* 12. Công trình, trang chung -------------------------------------------------- */
.projects {
	margin-top: 12px;
}

.pgallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 32px;
}

.pgallery__item {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	background: var(--tpl-plate);
	cursor: zoom-in;
}

.pgallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--tpl-ease);
}

.pgallery__item:hover img {
	transform: scale(1.05);
}

.paper__acts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.paper__empty {
	margin-top: 20px;
}

.paper__list--results {
	margin-top: 28px;
}

.paper__list--results li {
	padding: 10px 0;
	border-bottom: 1px solid #d6e0ec;
}

/* Ô tìm của WordPress (get_search_form) trong tấm giấy. */
.paper .search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.paper .search-form label {
	flex: 1 1 240px;
}

.paper .search-field {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate);
	color: var(--tpl-ink);
	font: 400 var(--tpl-fs-17) var(--tpl-font-body);
}

.paper .search-submit {
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--tpl-radius);
	background: var(--tpl-blue);
	color: #fff;
	font: 600 var(--tpl-fs-14) var(--tpl-font-body);
	cursor: pointer;
}

.paper .search-submit:hover {
	background: var(--tpl-blue-hover);
}

@media (max-width: 1100px) {
	.pgallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.pgallery {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.paper__acts {
		flex-direction: column;
	}
}

/* 13. Trang Giới thiệu (/gioi-thieu/, THEME-SANG.md §14.2) ---------------------
   Class riêng có tiền tố "gt-" (tránh trùng .ch, .prose, .lead… của trang danh sách / chi tiết). */
.gt-cover {
	padding-top: 8px;
}

.gt-cv {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	padding: 64px 56px 56px;
}

.gt-cv-l {
	grid-column: 1 / span 7;
}

.gt-who {
	font-size: var(--tpl-fs-17);
	font-weight: 600;
	color: var(--tpl-blue);
}

.gt-cv h1 {
	margin-top: 14px;
	font-family: var(--tpl-font-display);
	font-size: var(--tpl-fs-50);
	font-weight: 800;
	font-stretch: 112%;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--tpl-navy);
	text-wrap: balance;
}

.gt-lead {
	max-width: 620px;
	margin-top: 20px;
	font-size: var(--tpl-fs-22);
	line-height: 1.5;
}

.gt-toc {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	max-width: 640px;
	margin-top: 36px;
}

.gt-toc a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 16px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate-2);
	font-size: var(--tpl-fs-14);
	font-weight: 600;
	color: var(--tpl-navy);
	transition: background 0.2s;
}

.gt-toc a:hover {
	background: var(--tpl-tint);
}

.gt-toc b {
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	color: var(--tpl-blue);
}

.gt-cv-r {
	display: flex;
	flex-direction: column;
	grid-column: 9 / span 4;
	gap: 8px;
}

.gt-date {
	padding: 22px 24px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-navy);
	color: #fff;
}

.gt-date span {
	display: block;
	font-size: var(--tpl-fs-14);
	color: #c9d7e6;
}

.gt-date b {
	display: block;
	margin-top: 6px;
	font-family: var(--tpl-font-display);
	font-size: var(--tpl-fs-50);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1;
	letter-spacing: -0.03em;
}

.gt-facts {
	display: grid;
	gap: 8px;
}

.gt-facts div {
	padding: 14px 18px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate-2);
}

.gt-facts dt {
	font-size: var(--tpl-fs-14);
	color: var(--tpl-soft);
}

.gt-facts dd {
	margin-top: 2px;
	font-weight: 600;
	color: var(--tpl-ink);
}

/* Các chương: số lớn + tiêu đề trái (4/12), nội dung phải (8/12). */
.gt-book {
	margin-top: 12px;
}

.gt-pages {
	padding: 0 56px;
}

.gt-ch {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	padding: 64px 0;
	border-top: 1px solid #d6e0ec;
}

.gt-pages > .gt-ch:first-child {
	border-top: 0;
}

.gt-no {
	grid-column: 1 / span 4;
}

.gt-no b {
	display: block;
	font-family: var(--tpl-font-display);
	font-size: var(--tpl-fs-50);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--tpl-blue);
}

.gt-no .h2 {
	margin-top: 14px;
	text-wrap: balance;
}

.gt-prose {
	grid-column: 5 / span 8;
	max-width: 760px;
	font-size: var(--tpl-fs-17);
	line-height: 1.7;
}

.gt-prose p + p {
	margin-top: 18px;
}

/* Dải 6 dòng thiết bị (ảnh đại diện danh mục, link sang danh mục). */
.gt-pstrip {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-column: 1 / -1;
	gap: 8px;
	margin-top: 16px;
}

.gt-pp {
	display: block;
	height: 100%;
	padding: 12px 12px 14px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-plate-2);
	transition: background 0.2s;
}

.gt-pp:hover {
	background: var(--tpl-tint);
}

.gt-ph {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
}

.gt-ph img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.gt-pn {
	display: block;
	margin-top: 10px;
	font-size: var(--tpl-fs-14);
	font-weight: 600;
	color: var(--tpl-navy);
}

/* Chương 03: khối navy thương hiệu TPL. */
.gt-brand {
	margin-top: 12px;
}

.gt-bf {
	position: relative;
	overflow: hidden;
	padding: 80px 56px 56px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-navy);
	color: #fff;
}

.gt-bf-top {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.gt-no3 {
	font-size: var(--tpl-fs-14);
	font-weight: 600;
	color: #c9d7e6;
}

.gt-no3 b {
	margin-right: 10px;
	font-family: var(--tpl-font-display);
	font-stretch: 112%;
	color: #fff;
}

.gt-bmark {
	width: 200px;
	height: auto;
	margin: 28px auto 0;
}

.gt-bf h2 {
	margin-top: 26px;
	font-family: var(--tpl-font-display);
	font-size: var(--tpl-fs-50);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.gt-tag {
	margin-top: 16px;
	font-size: var(--tpl-fs-22);
	line-height: 1.45;
	color: var(--tpl-tint);
	text-wrap: balance;
}

.gt-bf-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 40px;
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: var(--tpl-fs-17);
	line-height: 1.7;
	color: #e4ecf6;
}

.gt-vmv {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 48px;
}

.gt-vc {
	padding: 28px 28px 30px;
	border-radius: var(--tpl-radius);
	background: #fff;
	color: var(--tpl-ink);
}

.gt-vc h3 {
	font-family: var(--tpl-font-display);
	font-size: var(--tpl-fs-22);
	font-weight: 700;
	font-stretch: 112%;
	color: var(--tpl-navy);
}

.gt-vc p {
	margin-top: 10px;
	line-height: 1.6;
}

.gt-vals {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 14px;
}

.gt-vals li {
	padding: 8px 12px;
	border-radius: var(--tpl-radius);
	background: var(--tpl-tint);
	font-size: var(--tpl-fs-14);
	font-weight: 600;
	color: var(--tpl-navy);
}

/* Câu kết in lớn. */
.gt-quote {
	margin: 0;
	padding: 56px 0;
	border-top: 1px solid #d6e0ec;
	text-align: center;
}

.gt-quote p {
	max-width: 900px;
	margin: 0 auto;
	font-family: var(--tpl-font-display);
	font-size: var(--tpl-fs-32);
	font-weight: 700;
	font-stretch: 112%;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--tpl-navy);
	text-wrap: balance;
}

/* Coupon "Làm việc với T&P": sát khối trên hơn coupon của trang danh sách. */
.mini.gt-mini {
	margin: 72px var(--tpl-gutter) 0;
}

@media (max-width: 1100px) {

	.gt-cv {
		padding: 48px 40px;
	}

	.gt-cv-l {
		grid-column: 1 / -1;
	}

	.gt-cv-r {
		display: grid;
		grid-column: 1 / -1;
		grid-template-columns: 1fr 2fr;
		gap: 8px;
	}

	.gt-pages {
		padding: 0 40px;
	}

	.gt-no,
	.gt-prose {
		grid-column: 1 / -1;
	}

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

	.gt-bf {
		padding: 64px 40px 40px;
	}

	.gt-bf-cols,
	.gt-vmv {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {

	.gt-cover,
	.gt-book,
	.gt-brand {
		padding-inline: 12px;
	}

	.gt-cv {
		gap: 28px;
		padding: 32px 20px 24px;
	}

	.gt-cv h1 {
		font-size: var(--tpl-fs-32);
	}

	.gt-lead {
		font-size: var(--tpl-fs-17);
	}

	.gt-toc {
		grid-template-columns: 1fr;
		margin-top: 24px;
	}

	.gt-cv-r {
		display: flex;
	}

	.gt-date b {
		font-size: var(--tpl-fs-32);
	}

	.gt-pages {
		padding: 0 20px;
	}

	.gt-ch {
		gap: 16px;
		padding: 40px 0;
	}

	.gt-no b {
		font-size: var(--tpl-fs-32);
	}

	.gt-no .h2 {
		margin-top: 8px;
	}

	.gt-prose {
		font-size: 16px;
	}

	.gt-pstrip {
		grid-template-columns: 1fr 1fr;
	}

	.gt-bf {
		padding: 48px 20px 20px;
	}

	.gt-bmark {
		width: 150px;
	}

	.gt-bf h2 {
		font-size: var(--tpl-fs-32);
	}

	.gt-tag {
		font-size: var(--tpl-fs-17);
	}

	.gt-bf-cols {
		margin-top: 36px;
		padding-top: 28px;
		font-size: 16px;
	}

	.gt-vmv {
		margin-top: 32px;
	}

	.gt-vc {
		padding: 22px 20px;
	}

	.gt-quote {
		padding: 40px 0;
	}

	.gt-quote p {
		font-size: var(--tpl-fs-22);
	}

	.mini.gt-mini {
		margin: 64px 12px 0;
	}
}
