/*
Theme Name: Thức Gian — Thiết kế nội thất căn hộ & nhà ở
Theme URI: https://kientruc-mau-02.mauwebsitedep.net/
Description: Mẫu website thiết kế nội thất căn hộ và nhà ở (kientruc-mau-02). Theme con của vinasite, chạy WooCommerce ở chế độ danh mục — mỗi sản phẩm là một gói thiết kế, không bán qua giỏ hàng. Nền trắng ngà và be, nhấn xanh olive nhạt, tiêu đề phông serif nhẹ, bố cục theo phong cách sống.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: kientruc-mau-02
*/

/* =====================================================================
 * 1. BIẾN MÀU VÀ NỀN TẢNG
 *
 * Bảng màu: trắng ngà làm nền chính, be làm nền khối phụ, xanh olive nhạt làm
 * màu nhấn duy nhất. Không có màu thứ hai để nhấn — nội thất nhà ở cần một
 * trang nhìn êm, và mỗi màu nhấn thêm vào là một chỗ tranh nhau với ảnh phòng.
 *
 * Bo góc: 4px cho thẻ và ảnh, 999px cho nút. Hai giá trị ấy là dấu nhận diện
 * của mẫu này — nút viên thuốc trên nền be, thẻ gần như vuông.
 * ===================================================================== */
:root {
	--tgn-nen: #FBF7F0;
	--tgn-be: #EFE6D8;
	--tgn-be-2: #E6DAC7;
	--tgn-vien: #DDD2BE;
	--tgn-olive: #7E8A62;
	--tgn-olive-nhat: #A3AD88;
	--tgn-olive-dam: #5D6747;
	--tgn-muc: #332F28;
	--tgn-muc-2: #6A6459;
	--tgn-muc-3: #948D80;
	--tgn-trang: #FFFFFF;
	--tgn-bo: 4px;
	--tgn-bo-nut: 999px;
	--tgn-wrap: 1200px;
	--tgn-serif: 'Lora', Georgia, 'Times New Roman', serif;
	--tgn-sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Phông phải đặt cho CẢ trang phụ, không chỉ trang chủ: `body.tgn` có ở mọi
   trang nên giỏ hàng, thanh toán và tài khoản cũng chạy đúng hai phông này. */
body.tgn {
	margin: 0;
	background: var(--tgn-nen);
	color: var(--tgn-muc);
	font-family: var(--tgn-sans);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/*
 * Theme mẹ có luật riêng cho h1–h3 trong nội dung và nhuộm chúng xanh lá, thắng
 * mọi khai báo một lớp. Khai bằng HAI lớp (`body.tgn h1`) thì vừa thắng được,
 * vừa để tiêu đề tự đúng màu trong cả khối nền sáng lẫn nền tối — khỏi phải
 * liệt kê từng ngoại lệ.
 */
body.tgn h1,
body.tgn h2,
body.tgn h3,
body.tgn h4 {
	color: inherit;
	font-family: var(--tgn-serif);
	font-weight: 500;
	line-height: 1.24;
	letter-spacing: -0.01em;
	margin: 0;
}

body.tgn h1 { font-size: clamp(30px, 4.2vw, 50px); }
body.tgn h2 { font-size: clamp(25px, 3vw, 36px); }
body.tgn h3 { font-size: 20px; }

body.tgn p { margin: 0 0 16px; }
body.tgn a { color: var(--tgn-olive-dam); text-decoration: none; }
body.tgn a:hover { color: var(--tgn-muc); }
body.tgn img { max-width: 100%; height: auto; display: block; }
body.tgn *:focus-visible { outline: 2px solid var(--tgn-olive); outline-offset: 3px; }

.tgn-wrap {
	max-width: var(--tgn-wrap);
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
	width: 100%;
}

.tgn-sec { padding: 86px 0; }
.tgn-sec--be { background: var(--tgn-be); }
.tgn-sec--trang { background: var(--tgn-trang); }

.tgn-skip {
	position: absolute;
	left: -9999px;
	background: var(--tgn-muc);
	color: #fff;
	padding: 10px 18px;
	z-index: 200;
}
.tgn-skip:focus { left: 16px; top: 12px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Nhãn khối: chữ hoa nhỏ, giãn chữ, kèm một gạch ngắn — dùng ở mọi khối để
   trang có một nhịp mở đầu thống nhất. */
.tgn-nhan {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--tgn-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tgn-olive-dam);
	margin: 0 0 16px;
}
.tgn-nhan::before {
	content: '';
	width: 28px;
	height: 1px;
	background: var(--tgn-olive-nhat);
	flex: none;
}

.tgn-dan { max-width: 620px; color: var(--tgn-muc-2); }
.tgn-dan--giua { margin: 0 auto; text-align: center; }
.tgn-dan--giua .tgn-nhan { justify-content: center; }

/* =====================================================================
 * 2. NÚT
 * ===================================================================== */
.tgn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 28px;
	border: 1px solid var(--tgn-olive);
	border-radius: var(--tgn-bo-nut);
	background: var(--tgn-olive);
	color: #fff;
	font-family: var(--tgn-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	/* Nút của WooCommerce gãy hai dòng ở lưới ba cột trên tablet nếu để chữ tự
	   xuống dòng — giữ một dòng. */
	white-space: nowrap;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.tgn-btn:hover { background: var(--tgn-olive-dam); border-color: var(--tgn-olive-dam); color: #fff; }

.tgn-btn--vien { background: transparent; color: var(--tgn-muc); border-color: var(--tgn-vien); }
.tgn-btn--vien:hover { background: var(--tgn-muc); border-color: var(--tgn-muc); color: #fff; }

.tgn-btn--nho { padding: 10px 20px; font-size: 13px; }

/* =====================================================================
 * 3. ĐẦU TRANG
 *
 * Hai tầng: dải liên hệ nền be ở trên, thanh điều hướng nền trắng ngà DÍNH ở
 * dưới. Thanh dính giữ NGUYÊN chiều cao khi cuộn — phần tử `position: sticky`
 * vẫn chiếm chỗ trong dòng chảy, nên thu chiều cao lúc đang cuộn là kéo cả
 * trang bên dưới nhích lên một nhịp thấy rõ. Chỉ thêm bóng.
 *
 * KHÔNG có biểu tượng giỏ hàng — xem chú thích đầu `inc/shop.php`.
 * ===================================================================== */
.tgn-top {
	background: var(--tgn-be-2);
	color: var(--tgn-muc-2);
	font-size: 12.5px;
	border-bottom: 1px solid var(--tgn-vien);
}
.tgn-top__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 40px;
	flex-wrap: wrap;
}
.tgn-top__l { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tgn-top a { color: var(--tgn-muc-2); }
.tgn-top a:hover { color: var(--tgn-olive-dam); }
.tgn-top__demo {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tgn-olive-dam);
}

.tgn-head {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--tgn-nen);
	border-bottom: 1px solid var(--tgn-vien);
	transition: box-shadow .2s ease;
}
.tgn-head.la-dinh { box-shadow: 0 6px 26px rgba(51, 47, 40, .09); }
.tgn-head__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: 78px;
}

.tgn-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--tgn-muc); }
.tgn-logo svg { border-radius: var(--tgn-bo); flex: none; }
.tgn-logo__t { display: flex; flex-direction: column; line-height: 1.2; }
.tgn-logo__n {
	font-family: var(--tgn-serif);
	font-size: 23px;
	font-weight: 500;
	letter-spacing: 0.01em;
	/* Tên hai chữ không được xuống dòng: ở 375px nó gãy làm hai dòng và đẩy
	   chiều cao đầu trang lên hẳn một nấc. */
	white-space: nowrap;
}
.tgn-logo__s {
	font-size: 11.5px;
	font-weight: 300;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tgn-muc-3);
}

.tgn-nav { display: flex; align-items: center; gap: 30px; }
.tgn-nav a {
	position: relative;
	font-size: 14.5px;
	font-weight: 400;
	color: var(--tgn-muc);
	padding: 6px 0;
}
.tgn-nav a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--tgn-olive);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .22s ease;
}
.tgn-nav a:hover::after,
.tgn-nav a[aria-current="page"]::after { transform: scaleX(1); }
.tgn-nav a[aria-current="page"] { color: var(--tgn-olive-dam); }

.tgn-head__cta { display: flex; align-items: center; gap: 14px; }
.tgn-head__tel { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.tgn-head__tel span:first-child {
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tgn-muc-3);
}
.tgn-head__tel span:last-child { font-size: 15px; font-weight: 500; color: var(--tgn-muc); }

.tgn-mo-menu {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--tgn-vien);
	border-radius: var(--tgn-bo-nut);
	background: transparent;
	cursor: pointer;
	padding: 0;
	position: relative;
}
.tgn-mo-menu span {
	display: block;
	width: 17px;
	height: 1.5px;
	margin: 3.5px auto;
	background: var(--tgn-muc);
	transition: transform .2s ease, opacity .2s ease;
}
.tgn-head.la-mo .tgn-mo-menu span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.tgn-head.la-mo .tgn-mo-menu span:nth-child(2) { opacity: 0; }
.tgn-head.la-mo .tgn-mo-menu span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* =====================================================================
 * 4. HERO
 *
 * Ảnh phòng chiếm trọn bề ngang, thẻ chữ nền trắng ngà đè lên một góc. Kiểu
 * này cho ảnh phòng được xem đúng tỉ lệ thật của nó — đặt chữ lên giữa ảnh thì
 * phải phủ một lớp tối, mà phủ tối là mất hết sắc của nội thất.
 * ===================================================================== */
.tgn-hero { position: relative; background: var(--tgn-be); }
.tgn-hero__anh { position: relative; height: clamp(360px, 56vw, 640px); overflow: hidden; }
.tgn-hero__anh img { width: 100%; height: 100%; object-fit: cover; }
.tgn-hero__in { position: relative; }
.tgn-hero__hop {
	background: var(--tgn-nen);
	border-radius: var(--tgn-bo);
	padding: 44px 46px 40px;
	max-width: 620px;
	margin: -118px 0 0;
	position: relative;
	z-index: 2;
	box-shadow: 0 20px 48px rgba(51, 47, 40, .1);
}
.tgn-hero__hop h1 { margin: 0 0 18px; }
.tgn-hero__hop h1 em { font-style: italic; color: var(--tgn-olive-dam); }
.tgn-hero__mo { color: var(--tgn-muc-2); margin: 0 0 26px; }
.tgn-hero__nut { display: flex; gap: 12px; flex-wrap: wrap; }
.tgn-hero__so {
	display: flex;
	gap: 36px;
	flex-wrap: wrap;
	margin: 34px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--tgn-vien);
}
.tgn-hero__so div { max-width: 170px; }
.tgn-hero__so b {
	display: block;
	font-family: var(--tgn-serif);
	font-size: 19px;
	font-weight: 500;
	color: var(--tgn-olive-dam);
}
.tgn-hero__so span { font-size: 13px; color: var(--tgn-muc-2); line-height: 1.55; display: block; }

/* =====================================================================
 * 5. KHỐI "CHỌN PHONG CÁCH"
 *
 * Khối mở đầu của mẫu này. Khách thiết kế nội thất hầu như luôn bắt đầu bằng
 * "tôi thích kiểu này" chứ không bằng "tôi cần gói mấy mét vuông", nên phong
 * cách đứng trước gói thiết kế trên trang chủ.
 * ===================================================================== */
.tgn-pc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.tgn-pc__o {
	background: var(--tgn-trang);
	border-radius: var(--tgn-bo);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .24s ease, box-shadow .24s ease;
}
.tgn-pc__o:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(51, 47, 40, .1); }
.tgn-pc__anh { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tgn-be-2); }
.tgn-pc__anh img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tgn-pc__o:hover .tgn-pc__anh img { transform: scale(1.04); }
.tgn-pc__in { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.tgn-pc__in h3 { margin: 0 0 10px; }
.tgn-pc__in p { font-size: 14px; color: var(--tgn-muc-2); margin: 0 0 16px; line-height: 1.65; }
.tgn-pc__go {
	margin-top: auto;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tgn-olive-dam);
}

/* =====================================================================
 * 6. THẺ GÓI THIẾT KẾ VÀ LƯỚI
 * ===================================================================== */
.tgn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.tgn-the {
	background: var(--tgn-trang);
	border-radius: var(--tgn-bo);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform .24s ease, box-shadow .24s ease;
}
.tgn-the:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(51, 47, 40, .11); }
.tgn-the__anh { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tgn-be-2); }
.tgn-the__anh img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tgn-the:hover .tgn-the__anh img { transform: scale(1.045); }
.tgn-the__nhan {
	position: absolute;
	left: 14px;
	top: 14px;
	background: rgba(251, 247, 240, .94);
	color: var(--tgn-muc);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: var(--tgn-bo-nut);
}
.tgn-the__in { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.tgn-the__pc {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tgn-olive-dam);
	margin: 0 0 9px;
}
.tgn-the__t { font-size: 20px; margin: 0 0 10px; }
.tgn-the__t a { color: var(--tgn-muc); }
.tgn-the__t a:hover { color: var(--tgn-olive-dam); }
.tgn-the__d { font-size: 14px; color: var(--tgn-muc-2); line-height: 1.65; margin: 0 0 18px; }
.tgn-the__chan {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--tgn-vien);
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.tgn-the__go { font-size: 13px; font-weight: 500; color: var(--tgn-olive-dam); white-space: nowrap; }

/* Giá: "từ 320.000 ₫/m²". Hai chữ nhỏ bọc quanh con số để mắt đọc đúng rằng
   đây là ĐƠN GIÁ khởi điểm, không phải tổng tiền của gói. */
.tgn-gia {
	font-family: var(--tgn-serif);
	font-size: 18px;
	font-weight: 500;
	color: var(--tgn-muc);
	white-space: nowrap;
}
.tgn-gia i {
	font-family: var(--tgn-sans);
	font-style: normal;
	font-size: 12px;
	font-weight: 400;
	color: var(--tgn-muc-3);
}
.tgn-gia .woocommerce-Price-amount { font-family: var(--tgn-serif); }
.tgn-gia--lh { font-size: 15px; color: var(--tgn-olive-dam); }

/* =====================================================================
 * 7. ẢNH PHÒNG THEO BỘ
 *
 * Bốn bộ phòng, bộ đầu chiếm hai ô để khối không thành một dãy ô bằng nhau.
 * ===================================================================== */
.tgn-bo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.tgn-bo__o {
	position: relative;
	border-radius: var(--tgn-bo);
	overflow: hidden;
	display: block;
	min-height: 290px;
	background: var(--tgn-be-2);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.tgn-bo__o:first-child { grid-column: span 2; }
.tgn-bo__o img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tgn-bo__o:hover img { transform: scale(1.05); }
.tgn-bo__in {
	position: relative;
	z-index: 2;
	margin: 0 18px 18px;
	background: rgba(251, 247, 240, .95);
	border-radius: var(--tgn-bo);
	padding: 18px 20px;
	max-width: 330px;
}
.tgn-bo__in h3 { font-size: 19px; margin: 0 0 6px; }
.tgn-bo__in p { font-size: 13.5px; color: var(--tgn-muc-2); line-height: 1.6; margin: 0; }

/* =====================================================================
 * 8. QUY TRÌNH SÁU BƯỚC
 *
 * Danh sách đánh số bằng phông serif cỡ lớn, xếp hai cột. Số to là thứ duy
 * nhất dẫn mắt ở khối này nên không thêm viền hay nền cho từng bước.
 * ===================================================================== */
.tgn-qt { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 48px; margin-top: 40px; }
.tgn-qt__b {
	display: grid;
	grid-template-columns: 62px 1fr;
	gap: 18px;
	padding: 26px 0;
	border-top: 1px solid var(--tgn-vien);
}
.tgn-qt__s {
	font-family: var(--tgn-serif);
	font-size: 40px;
	font-weight: 400;
	line-height: 1;
	color: var(--tgn-olive-nhat);
}
.tgn-qt__b h3 { margin: 0 0 8px; }
.tgn-qt__b p { font-size: 14.5px; color: var(--tgn-muc-2); margin: 0; line-height: 1.7; }

/* =====================================================================
 * 9. KHỐI PHÍ THIẾT KẾ VÀ KHỐI CHỮ ĐỨNG CẠNH ẢNH
 * ===================================================================== */
.tgn-doi { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tgn-doi__anh { border-radius: var(--tgn-bo); overflow: hidden; background: var(--tgn-be-2); }
.tgn-doi__anh img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.tgn-ds { list-style: none; margin: 24px 0 0; padding: 0; }
.tgn-ds li {
	position: relative;
	padding: 0 0 14px 26px;
	font-size: 14.5px;
	color: var(--tgn-muc-2);
	line-height: 1.7;
}
.tgn-ds li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 11px;
	width: 10px;
	height: 1px;
	background: var(--tgn-olive);
}

.tgn-phi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.tgn-phi__o {
	background: var(--tgn-nen);
	border: 1px solid var(--tgn-vien);
	border-radius: var(--tgn-bo);
	padding: 28px 26px;
}
.tgn-phi__o h3 { margin: 0 0 12px; }
.tgn-phi__g {
	font-family: var(--tgn-serif);
	font-size: 26px;
	color: var(--tgn-olive-dam);
	display: block;
	margin: 0 0 4px;
}
.tgn-phi__o small { font-size: 12px; color: var(--tgn-muc-3); display: block; margin-bottom: 14px; }
.tgn-phi__o p { font-size: 14px; color: var(--tgn-muc-2); margin: 0; line-height: 1.65; }

/* =====================================================================
 * 10. DẢI GỌI HÀNH ĐỘNG
 * ===================================================================== */
.tgn-cta { background: var(--tgn-olive); color: #fff; padding: 74px 0; }
.tgn-cta__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	flex-wrap: wrap;
}
.tgn-cta h2 { margin: 0 0 12px; }
.tgn-cta p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 560px; }
.tgn-cta .tgn-nhan { color: rgba(255, 255, 255, .8); }
.tgn-cta .tgn-nhan::before { background: rgba(255, 255, 255, .5); }
.tgn-cta__nut { display: flex; gap: 12px; flex-wrap: wrap; }
.tgn-cta .tgn-btn { background: var(--tgn-nen); border-color: var(--tgn-nen); color: var(--tgn-muc); }
.tgn-cta .tgn-btn:hover { background: var(--tgn-muc); border-color: var(--tgn-muc); color: #fff; }
.tgn-cta .tgn-btn--vien { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.tgn-cta .tgn-btn--vien:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* =====================================================================
 * 11. CHÂN TRANG
 * ===================================================================== */
.tgn-foot { background: var(--tgn-muc); color: rgba(255, 255, 255, .74); padding: 66px 0 0; font-size: 14.5px; }
.tgn-foot__g { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 48px; }
.tgn-foot h3 {
	font-family: var(--tgn-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 18px;
}
.tgn-foot ul { list-style: none; margin: 0; padding: 0; }
.tgn-foot li { margin-bottom: 11px; }
.tgn-foot a { color: rgba(255, 255, 255, .74); }
.tgn-foot a:hover { color: #fff; }
.tgn-foot .tgn-logo { color: #fff; margin-bottom: 18px; }
.tgn-foot .tgn-logo__s { color: rgba(255, 255, 255, .55); }
.tgn-foot__gt { font-size: 14px; line-height: 1.75; margin: 0; }
.tgn-foot__lh li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.tgn-foot__lh b {
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
}
.tgn-foot__d {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, .13);
	font-size: 13px;
}
.tgn-foot__demo {
	background: #2A261F;
	color: rgba(255, 255, 255, .56);
	font-size: 12.5px;
	line-height: 1.7;
	padding: 18px 0;
}

/* =====================================================================
 * 12. TRANG DANH SÁCH VÀ TRANG TĨNH
 * ===================================================================== */
.tgn-page__head { background: var(--tgn-be); padding: 52px 0 46px; border-bottom: 1px solid var(--tgn-vien); }
.tgn-page__title { margin: 12px 0 0; }
.tgn-crumb { font-size: 13px; color: var(--tgn-muc-3); display: flex; gap: 9px; flex-wrap: wrap; }
.tgn-crumb a { color: var(--tgn-muc-2); }
.tgn-page__body { padding: 56px 24px 86px; }
.tgn-page__body h2, .tgn-page__body h3 { margin: 30px 0 12px; }

.tgn-shop__loc {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 26px 0 30px;
}
.tgn-shop__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tgn-shop__tabs a {
	font-size: 13.5px;
	padding: 9px 18px;
	border: 1px solid var(--tgn-vien);
	border-radius: var(--tgn-bo-nut);
	color: var(--tgn-muc-2);
	background: var(--tgn-trang);
}
.tgn-shop__tabs a:hover { border-color: var(--tgn-olive-nhat); color: var(--tgn-muc); }
.tgn-shop__tabs a.la-chon { background: var(--tgn-olive); border-color: var(--tgn-olive); color: #fff; }
.tgn-shop__dem { font-size: 13px; color: var(--tgn-muc-3); }

/* Ô sắp xếp của WooCommerce. Chỉ còn MỘT ô trên trang: ô mặc định đã gỡ trong
   `inc/shop.php` vì `archive-product.php` tự in ô này trong hàng lọc. */
.tgn-shop__sx select,
.tgn-shop__sx .orderby {
	font-family: var(--tgn-sans);
	font-size: 13.5px;
	color: var(--tgn-muc);
	padding: 9px 14px;
	border: 1px solid var(--tgn-vien);
	border-radius: var(--tgn-bo-nut);
	background: var(--tgn-trang);
	max-width: 100%;
}
.tgn-shop__sx form { margin: 0; }

.tgn-phan-trang { display: flex; gap: 8px; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
.tgn-phan-trang .page-numbers {
	min-width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--tgn-vien);
	border-radius: var(--tgn-bo-nut);
	background: var(--tgn-trang);
	color: var(--tgn-muc-2);
	font-size: 14px;
	padding: 0 12px;
	box-sizing: border-box;
}
.tgn-phan-trang .page-numbers.current { background: var(--tgn-olive); border-color: var(--tgn-olive); color: #fff; }
.tgn-trong { color: var(--tgn-muc-2); padding: 40px 0 80px; }

/* =====================================================================
 * 13. TRANG CHI TIẾT GÓI
 * ===================================================================== */
.tgn-sp { padding: 48px 0 86px; }
.tgn-sp__g { display: grid; grid-template-columns: 1.08fr 1fr; gap: 52px; align-items: start; }
.tgn-sp__anh { border-radius: var(--tgn-bo); overflow: hidden; background: var(--tgn-be-2); }
.tgn-sp__anh img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tgn-sp__dm {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tgn-olive-dam);
	margin: 0 0 12px;
}
.tgn-sp__g h1 { margin: 0 0 16px; font-size: clamp(27px, 3.2vw, 38px); }
.tgn-sp__ngan { color: var(--tgn-muc-2); margin: 0 0 22px; }
.tgn-sp__gia {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	padding: 18px 0;
	border-top: 1px solid var(--tgn-vien);
	border-bottom: 1px solid var(--tgn-vien);
	margin: 0 0 24px;
}
.tgn-sp__gia small { font-size: 12.5px; color: var(--tgn-muc-3); }
.tgn-sp__nut { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.tgn-tb-khung { overflow-x: auto; }
.tgn-tb { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tgn-tb th, .tgn-tb td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--tgn-vien); vertical-align: top; }
.tgn-tb th { width: 42%; font-weight: 500; color: var(--tgn-muc-2); font-family: var(--tgn-sans); }
.tgn-tb td { color: var(--tgn-muc); }

.tgn-sp__meta { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--tgn-muc-3); line-height: 1.65; }

.tgn-sp__mo { max-width: 780px; margin: 62px 0 0; }
.tgn-sp__mo h2 { margin: 0 0 16px; }
.tgn-sp__mo p { color: var(--tgn-muc-2); }
.tgn-lq { margin-top: 76px; }
.tgn-lq h2 { margin: 0 0 30px; }

/* =====================================================================
 * 14. TRANG GIỚI THIỆU VÀ LIÊN HỆ
 * ===================================================================== */
.tgn-gt__anh { border-radius: var(--tgn-bo); overflow: hidden; margin-top: 44px; background: var(--tgn-be-2); }
.tgn-gt__anh img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

.tgn-khoi3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }

.tgn-lh__g { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: start; }
.tgn-lh__tt { list-style: none; margin: 26px 0 0; padding: 0; }
.tgn-lh__tt li { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-top: 1px solid var(--tgn-vien); }
.tgn-lh__tt b {
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tgn-muc-3);
}
.tgn-lh__tt span, .tgn-lh__tt a { font-size: 16px; color: var(--tgn-muc); }

.tgn-form {
	background: var(--tgn-trang);
	border-radius: var(--tgn-bo);
	padding: 34px 34px 36px;
}
.tgn-form__h { margin: 0 0 8px; }
.tgn-form__g { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.tgn-form label { display: block; font-size: 12.5px; font-weight: 500; color: var(--tgn-muc-2); margin-bottom: 7px; }
.tgn-form input,
.tgn-form select,
.tgn-form textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: var(--tgn-sans);
	font-size: 14.5px;
	font-weight: 300;
	color: var(--tgn-muc);
	padding: 12px 14px;
	border: 1px solid var(--tgn-vien);
	border-radius: var(--tgn-bo);
	background: var(--tgn-nen);
}
.tgn-form input:focus, .tgn-form select:focus, .tgn-form textarea:focus { border-color: var(--tgn-olive-nhat); }
.tgn-form__rong { grid-column: 1 / -1; }
.tgn-form textarea { min-height: 112px; resize: vertical; }
.tgn-form__chan { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tgn-form__chan small { font-size: 12px; color: var(--tgn-muc-3); line-height: 1.6; }

.tgn-goi-nhanh { display: none; }

.tgn-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	max-width: min(560px, calc(100vw - 32px));
	background: var(--tgn-muc);
	color: #fff;
	border-radius: var(--tgn-bo);
	padding: 16px 20px;
	font-size: 13.5px;
	line-height: 1.6;
	z-index: 150;
	box-sizing: border-box;
	box-shadow: 0 18px 40px rgba(51, 47, 40, .26);
}

/* =====================================================================
 * 15. NÚT TRÊN BA TRANG BLOCK CỦA WOOCOMMERCE
 *
 * WooCommerce 8 trở đi dựng Giỏ hàng · Thanh toán bằng *block*, lấy màu từ
 * `theme.json` chứ không từ CSS của theme con, nên nút "Tiến hành thanh toán"
 * mặc định ra xanh dương. Khai lại cho khớp nút của mẫu.
 * ===================================================================== */
body.tgn .wc-block-components-button,
body.tgn .wc-block-cart__submit-button,
body.tgn .wc-block-components-checkout-place-order-button,
body.tgn .woocommerce a.button,
body.tgn .woocommerce button.button,
body.tgn .woocommerce input.button {
	background: var(--tgn-olive) !important;
	border: 1px solid var(--tgn-olive) !important;
	border-radius: var(--tgn-bo-nut) !important;
	color: #fff !important;
	font-family: var(--tgn-sans) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	padding: 13px 28px !important;
	box-shadow: none !important;
}
body.tgn .wc-block-components-button:hover,
body.tgn .wc-block-cart__submit-button:hover,
body.tgn .wc-block-components-checkout-place-order-button:hover,
body.tgn .woocommerce a.button:hover,
body.tgn .woocommerce button.button:hover {
	background: var(--tgn-olive-dam) !important;
	border-color: var(--tgn-olive-dam) !important;
}
body.tgn .wc-block-components-button__text { color: #fff !important; }
body.tgn .woocommerce-message,
body.tgn .woocommerce-info,
body.tgn .wc-block-components-notice-banner {
	border-top-color: var(--tgn-olive) !important;
	border-radius: var(--tgn-bo);
	font-family: var(--tgn-sans);
}
body.tgn .woocommerce-message::before,
body.tgn .woocommerce-info::before { color: var(--tgn-olive); }
body.tgn .wc-block-components-totals-item__value,
body.tgn .woocommerce-Price-amount { font-family: var(--tgn-serif); }

/* =====================================================================
 * 16. HIỆU ỨNG
 *
 * Lớp ẩn `tgn-an` do KỊCH BẢN gắn vào, không viết sẵn trong HTML — tắt
 * JavaScript thì trang vẫn hiện đầy đủ. Mọi hiệu ứng tắt hẳn khi người xem xin
 * bớt chuyển động.
 * ===================================================================== */
.tgn-an { opacity: 0; transform: translateY(14px); }
.tgn-hien { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

@media (prefers-reduced-motion: reduce) {
	body.tgn * { transition: none !important; animation: none !important; }
	.tgn-an { opacity: 1; transform: none; }
}

/* =====================================================================
 * 17. BỀ NGANG NHỎ
 *
 * Bốn mốc: 1100px (lưới ba cột co lại), 960px (menu gập, biểu mẫu nhường chỗ
 * cho khối gọi nhanh), 760px, 560px.
 * ===================================================================== */
@media (max-width: 1100px) {
	.tgn-pc { grid-template-columns: repeat(2, 1fr); }
	.tgn-foot__g { grid-template-columns: 1fr 1fr; gap: 36px; }
	.tgn-sp__g { grid-template-columns: 1fr; gap: 34px; }
	.tgn-doi { gap: 38px; }
}

@media (max-width: 960px) {
	.tgn-sec { padding: 64px 0; }
	.tgn-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--tgn-nen);
		border-bottom: 1px solid var(--tgn-vien);
		box-shadow: 0 16px 32px rgba(51, 47, 40, .1);
		padding: 8px 24px 18px;
	}
	.tgn-head.la-mo .tgn-nav { display: flex; }
	.tgn-nav a { padding: 13px 0; border-bottom: 1px solid var(--tgn-vien); }
	.tgn-nav a:last-child { border-bottom: 0; }
	.tgn-nav a::after { display: none; }
	.tgn-mo-menu { display: block; }
	.tgn-head__tel { display: none; }
	.tgn-head__in { min-height: 68px; }
	.tgn-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
	.tgn-qt { grid-template-columns: 1fr; gap: 0; }
	.tgn-doi { grid-template-columns: 1fr; gap: 30px; }
	.tgn-phi { grid-template-columns: 1fr; }
	.tgn-khoi3 { grid-template-columns: 1fr; }
	.tgn-bo { grid-template-columns: 1fr 1fr; }
	.tgn-bo__o:first-child { grid-column: span 2; }
	.tgn-lh__g { grid-template-columns: 1fr; gap: 34px; }

	/*
	 * Biểu mẫu TẮT dưới 960px, đúng như chuẩn của bộ mẫu: gõ email trên điện
	 * thoại là việc thừa khi bấm gọi nhanh hơn hẳn. Ẩn bằng `display: none` nên
	 * biểu mẫu cũng rời khỏi thứ tự tiêu điểm bàn phím — không có cảnh tab vào
	 * một ô nhập vô hình.
	 */
	.tgn-form { display: none; }
	.tgn-goi-nhanh {
		display: block;
		background: var(--tgn-trang);
		border-radius: var(--tgn-bo);
		padding: 28px 26px 30px;
	}
	.tgn-goi-nhanh h3 { margin: 0 0 10px; }
	.tgn-goi-nhanh p { font-size: 14px; color: var(--tgn-muc-2); margin: 0 0 18px; }
}

@media (max-width: 760px) {
	.tgn-wrap { padding: 0 18px; }
	.tgn-sec { padding: 54px 0; }
	.tgn-hero__anh { height: clamp(280px, 52vw, 420px); }
	.tgn-hero__hop { margin: -56px 0 0; padding: 30px 26px 30px; }
	.tgn-top__l { gap: 14px; }
	.tgn-top__in { min-height: 36px; padding: 6px 0; }
	.tgn-page__head { padding: 36px 0 32px; }
	.tgn-page__body { padding: 40px 18px 64px; }
	.tgn-form__g { grid-template-columns: 1fr; }
	.tgn-bo { grid-template-columns: 1fr; }
	.tgn-bo__o:first-child { grid-column: span 1; }
	.tgn-bo__o { min-height: 240px; }
	.tgn-bo__in { max-width: none; }
	.tgn-foot { padding-top: 48px; }
	.tgn-foot__g { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
	.tgn-sp__mo { margin-top: 44px; }
	.tgn-lq { margin-top: 54px; }
}

@media (max-width: 560px) {
	.tgn-grid { grid-template-columns: 1fr; }
	.tgn-pc { grid-template-columns: 1fr; }
	.tgn-hero__so { gap: 22px; }
	.tgn-hero__so div { max-width: none; }
	.tgn-logo__s { display: none; }
	.tgn-logo__n { font-size: 19px; }
	.tgn-logo svg { width: 36px; height: 36px; }
	.tgn-head__cta .tgn-btn--nho { padding: 9px 14px; font-size: 12.5px; }
	.tgn-head__in { gap: 12px; }
	.tgn-top__demo { display: none; }
	.tgn-cta { padding: 54px 0; }
	.tgn-qt__b { grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 0; }
	.tgn-qt__s { font-size: 30px; }
}
