/*
Theme Name: VinaSite Gia dụng 05 — Trao Lộc
Theme URI: https://vinasite.com.vn/
Description: Mẫu website bán đồ gia dụng làm quà tặng: gói quà theo dịp tân gia, cưới hỏi, lễ tết và quà doanh nghiệp, khắc tên theo yêu cầu, hộp quà trọn bộ. Nền kem với nhấn nâu đồng, tiêu đề serif chân nhỏ. Giao diện con của vinasite, chạy WooCommerce với giỏ hàng thật. Mẫu demo của VinaSite.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: giadung-mau-05
*/

/* =====================================================================
 * Trao Lộc — mẫu website bán đồ gia dụng làm quà tặng, hàng biếu.
 *
 * NĂM QUY ƯỚC dựng nên toàn bộ phần nhìn, giữ nguyên từ đầu đến cuối và cố
 * ý không giống mẫu gia dụng nào khác trong bộ:
 *
 *   1. NỀN KEM ĐẬM (#FAF4E9), thẻ trắng ngà (#FFFCF6), nâu đồng CHỈ LÀ ĐIỂM
 *      NHẤN. Trầm Hương (mypham-mau-06) cũng dùng nâu + đồng nhưng nền tối
 *      hẳn; ở đây nền sáng, chỉ chân trang và hai dải CTA là nâu đậm.
 *   2. VIỀN KÉP: mỗi khung ảnh lớn và mỗi thẻ dịp có thêm một đường kẻ 1px
 *      lùi vào 7px (.tl-khung::after). Đây là dấu nhận ra mẫu này trong hai
 *      giây — không mẫu nào khác trong bộ dùng viền kép.
 *   3. DẤU TRÁM ◆ làm vật phân cách ở dải đầu trang, đường dẫn phân cấp và
 *      nhãn khối, thay cho gạch chéo hay gạch ngang.
 *   4. BO GÓC 3px — gần vuông. Thiệp mời và hộp quà giấy đều có góc thật,
 *      bo 14px như mẫu thời trang là mất ngay vẻ trang trọng.
 *   5. TIÊU ĐỀ SERIF CHÂN NHỎ (Faustina), chữ thường, không giãn ký tự. Giãn
 *      ký tự chỉ dành cho nhãn nhỏ viết hoa.
 *
 * TƯƠNG PHẢN: nâu đồng trên nền kem là chỗ dễ rớt nhất. Hai màu chữ phụ đã
 * tính lại cho đạt 4.5:1 trên nền kem — `--tl-muted` #7E6349 đạt 5.1:1 và
 * `--tl-dong` #93602E đạt 4.85:1. KHÔNG làm nhạt thêm hai màu này.
 * ===================================================================== */

:root {
	--tl-kem: #FAF4E9;         /* nền trang — kem đậm */
	--tl-nga: #FFFCF6;         /* thẻ, ô nhập — trắng ngà */
	--tl-kem-sau: #F2E8D6;     /* dải nền phụ, nền ảnh lúc chưa tải */

	--tl-nau: #35261A;         /* nền đậm: chân trang, dải CTA, nút chính */
	--tl-nau-sau: #241A12;     /* dải đáy chân trang */

	--tl-muc: #2B2017;         /* tiêu đề, chữ chính trên nền kem */
	--tl-than: #4E3C2E;        /* chữ nội dung — 8.0:1 trên nền kem */
	--tl-muted: #7E6349;       /* chữ phụ, nhãn — 5.1:1 trên nền kem */

	--tl-dong: #93602E;        /* nâu đồng — màu nhấn trên nền sáng, 4.85:1 */
	--tl-dong-sang: #D9A96A;   /* nâu đồng trên nền nâu đậm — 6.9:1 */
	--tl-dong-mo: #C08A4E;     /* viền, dấu trám, nét trang trí */
	--tl-giam: #9B3B22;        /* nhãn giảm giá, giá đã giảm — 5.6:1 */

	--tl-ke: #E3D6C0;          /* đường kẻ chính */
	--tl-ke-mo: #EFE5D4;       /* đường kẻ nhạt, viền trong của khung kép */
	--tl-ke-dam: rgba(53, 38, 26, .22);

	--tl-chu: "Faustina", Georgia, "Times New Roman", serif;
	--tl-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

	--tl-r: 3px;               /* bo góc duy nhất của cả mẫu */
	--tl-w: 1240px;            /* bề rộng khung nội dung */
	--tl-nhanh: .28s cubic-bezier(.2, .7, .3, 1);
}

/* =====================================================================
 * NỀN CHUNG
 * ===================================================================== */

body.tl-site {
	margin: 0;
	background: var(--tl-kem);
	color: var(--tl-than);
	font-family: var(--tl-sans);
	font-size: 16px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
}

/*
 * `color: inherit` chứ không một màu cố định: theme mẹ có luật riêng nhuộm
 * h1–h3 màu xanh của nó, thắng mọi luật một lớp. Hai lớp (body.tl-site h1)
 * vừa thắng được, vừa để tiêu đề tự lấy đúng màu trong cả khối nền kem lẫn
 * khối nền nâu — không phải liệt kê từng ngoại lệ.
 */
body.tl-site h1,
body.tl-site h2,
body.tl-site h3,
body.tl-site h4,
body.tl-site h5,
body.tl-site h6 {
	margin: 0;
	color: inherit;
	font-family: var(--tl-chu);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
}

body.tl-site p { margin: 0 0 1em; }
body.tl-site img { display: block; max-width: 100%; height: auto; }
body.tl-site button,
body.tl-site input,
body.tl-site select,
body.tl-site textarea { font: inherit; color: inherit; }

/*
 * BẪY ĐỘ ƯU TIÊN: viết `body.tl-site a` thì luật này mạnh hơn mọi luật một
 * lớp của chính theme con, nên mọi liên kết trong nút, thẻ, menu lại phải
 * khai màu lần nữa. `:where()` giữ độ ưu tiên bằng 0 — luật nào của theme
 * cũng thắng nó, mà vẫn đè được theme mẹ vì xuất hiện sau.
 */
:where(body.tl-site) a { color: var(--tl-dong); text-decoration: none; }
:where(body.tl-site) a:hover { color: var(--tl-muc); }

body.tl-site :focus-visible {
	outline: 2px solid var(--tl-dong);
	outline-offset: 2px;
}

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

/* Khối nội dung: nhịp dọc một mối, dùng lại ở mọi trang. */
.tl-khoi { padding: 86px 0; }
.tl-khoi--mong { padding: 58px 0; }
.tl-khoi--kem { background: var(--tl-kem-sau); }
.tl-khoi--nau { background: var(--tl-nau); color: #F4EADB; }
.tl-khoi--nau .tl-nhan-khoi { color: var(--tl-dong-sang); }
.tl-khoi--nau .tl-dan { color: #CDBBA6; }

/* Nhãn nhỏ viết hoa — chỗ DUY NHẤT được giãn ký tự. */
.tl-nhan-khoi {
	margin: 0 0 14px;
	color: var(--tl-dong);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.tl-nhan-khoi span { color: var(--tl-dong-mo); }

.tl-tieu {
	max-width: 760px;
	color: var(--tl-muc);
	font-size: clamp(27px, 3.4vw, 40px);
}
.tl-khoi--nau .tl-tieu { color: #FBF3E6; }

.tl-dan {
	max-width: 660px;
	margin: 16px 0 0;
	color: var(--tl-muted);
	font-size: 16.5px;
}

.tl-dau-khoi { margin-bottom: 42px; }
.tl-dau-khoi--hang {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}

/* =====================================================================
 * VIỀN KÉP — dấu nhận diện của mẫu
 *
 * Đường kẻ thứ hai vẽ bằng ::after nên không chiếm chỗ trong bố cục và
 * không cần thêm một thẻ bọc nào trong HTML.
 * ===================================================================== */
.tl-khung {
	position: relative;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-nga);
}
.tl-khung::after {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px solid var(--tl-ke-mo);
	border-radius: 1px;
	pointer-events: none;
}
.tl-khung--anh { padding: 7px; border-color: var(--tl-dong-mo); background: var(--tl-kem-sau); }
.tl-khung--anh::after { inset: 14px; border-color: rgba(255, 252, 246, .55); }

/* =====================================================================
 * NÚT
 * Phải có `body.tl-site` ở đầu: luật `.tl-trang__than a` và các luật một lớp
 * khác của theme mẹ sẽ nhuộm lại chữ trong nút nếu không.
 * ===================================================================== */
body.tl-site .tl-nut {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 14px 26px;
	border: 1px solid var(--tl-nau);
	border-radius: var(--tl-r);
	background: var(--tl-nau);
	color: #FBF3E6;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background var(--tl-nhanh), color var(--tl-nhanh), border-color var(--tl-nhanh);
}
body.tl-site .tl-nut:hover { background: var(--tl-dong); border-color: var(--tl-dong); color: #FFF8EC; }

body.tl-site .tl-nut--vien {
	background: transparent;
	border-color: var(--tl-dong-mo);
	color: var(--tl-muc);
}
body.tl-site .tl-nut--vien:hover { background: var(--tl-nga); border-color: var(--tl-dong); color: var(--tl-dong); }

body.tl-site .tl-nut--sang {
	background: var(--tl-dong-sang);
	border-color: var(--tl-dong-sang);
	color: #2B1C10;
}
body.tl-site .tl-nut--sang:hover { background: #E8BE83; border-color: #E8BE83; color: #2B1C10; }

body.tl-site .tl-nut svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

.tl-hang-nut { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* =====================================================================
 * DẢI MẢNH TRÊN CÙNG
 * ===================================================================== */
.tl-dai {
	background: var(--tl-nau);
	color: #CDBBA6;
	font-size: 12.5px;
	letter-spacing: .04em;
}
.tl-dai__trong {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 40px;
}
.tl-dai p { margin: 0; }
.tl-dai span { margin: 0 8px; color: var(--tl-dong-mo); font-size: 9px; vertical-align: 2px; }
body.tl-site .tl-dai a { color: var(--tl-dong-sang); font-weight: 600; }
body.tl-site .tl-dai a:hover { color: #FFF8EC; }

/* =====================================================================
 * ĐẦU TRANG
 *
 * Dính, chiều cao KHÔNG đổi khi cuộn: phần tử `position: sticky` vẫn chiếm
 * chỗ trong dòng chảy, 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õ. Cảm giác gọn lại tạo bằng nền đặc hơn và bóng
 * đổ nhẹ.
 * ===================================================================== */
.tl-hd {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(250, 244, 233, .96);
	border-bottom: 1px solid var(--tl-ke);
	backdrop-filter: saturate(1.2) blur(6px);
	transition: box-shadow var(--tl-nhanh), background var(--tl-nhanh);
}
.tl-hd.la-dinh {
	background: var(--tl-kem);
	box-shadow: 0 1px 0 var(--tl-ke), 0 10px 26px rgba(53, 38, 26, .07);
}
.tl-hd__trong {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: 84px;
}

.tl-logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.tl-logo svg { flex: none; border-radius: 9px; }
.tl-logo__ten {
	display: block;
	color: var(--tl-muc);
	font-family: var(--tl-chu);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.1;
}
.tl-logo__phu {
	display: block;
	margin-top: 3px;
	color: var(--tl-muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .2em;
}
.tl-logo--ft .tl-logo__ten { color: #FBF3E6; }
.tl-logo--ft .tl-logo__phu { color: var(--tl-dong-mo); }

.tl-menu { margin-left: auto; }
.tl-menu ul { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.tl-menu li { position: relative; }
/* Dấu trám phân cách — cùng ký hiệu với dải trên và đường dẫn phân cấp. */
.tl-menu li + li::before {
	content: "◆";
	position: absolute;
	left: -2px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--tl-ke);
	font-size: 7px;
}
.tl-menu a {
	display: block;
	padding: 10px 17px;
	color: var(--tl-than);
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	transition: color var(--tl-nhanh);
}
.tl-menu a:hover { color: var(--tl-dong); }
.tl-menu li.la-hien a { color: var(--tl-muc); font-weight: 700; }

.tl-hd__phai { display: flex; align-items: center; gap: 12px; }

.tl-gio {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-nga);
	color: var(--tl-muc);
	transition: border-color var(--tl-nhanh), color var(--tl-nhanh);
}
.tl-gio:hover { border-color: var(--tl-dong); color: var(--tl-dong); }
.tl-gio svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.tl-gio__n {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--tl-dong);
	color: #FFF8EC;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	box-sizing: border-box;
}
/* Giỏ rỗng thì không treo con số 0 lên biểu tượng. */
.tl-gio__n[data-tl-n="0"] { display: none; }
.tl-gio__n.la-nhay { animation: tl-nhay .42s ease; }
@keyframes tl-nhay {
	0% { transform: scale(1); }
	45% { transform: scale(1.32); }
	100% { transform: scale(1); }
}

.tl-mo-menu {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-nga);
	color: var(--tl-muc);
	cursor: pointer;
}
.tl-mo-menu svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }

/* =====================================================================
 * HERO
 * ===================================================================== */
.tl-hero { padding: 76px 0 84px; }
.tl-hero__trong {
	display: grid;
	grid-template-columns: 1.04fr .96fr;
	gap: 58px;
	align-items: center;
}
.tl-hero h1 {
	color: var(--tl-muc);
	font-size: clamp(33px, 4.4vw, 54px);
	font-weight: 600;
	line-height: 1.12;
}
.tl-hero__mo {
	max-width: 520px;
	margin: 22px 0 0;
	font-size: 17px;
	color: var(--tl-than);
}

/* Ba điểm tin cậy — viết chung chung, không nêu con số đơn hàng hay đối tác. */
.tl-hero__y { display: grid; gap: 13px; margin: 32px 0 0; padding: 0; list-style: none; }
.tl-hero__y li {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	color: var(--tl-than);
	font-size: 15px;
}
.tl-hero__y svg { flex: none; width: 19px; height: 19px; margin-top: 3px; stroke: var(--tl-dong); fill: none; }

.tl-hero__anh { position: relative; }
.tl-hero__anh img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 1px;
}
/* Tấm thẻ nhỏ gài lên ảnh: nhắc đúng một câu, không phải nhãn khuyến mại. */
.tl-hero__the {
	position: absolute;
	left: -18px;
	bottom: 34px;
	max-width: 232px;
	padding: 17px 19px;
	border: 1px solid var(--tl-dong-mo);
	border-radius: var(--tl-r);
	background: var(--tl-nau);
	color: #F4EADB;
	box-shadow: 0 16px 34px rgba(53, 38, 26, .16);
}
.tl-hero__the b {
	display: block;
	margin-bottom: 5px;
	color: var(--tl-dong-sang);
	font-family: var(--tl-chu);
	font-size: 17px;
}
.tl-hero__the span { font-size: 13px; color: #CDBBA6; }

/* =====================================================================
 * KHỐI CHỌN QUÀ THEO DỊP
 * Biểu mẫu GET lọc thật — xem tl_in_form_loc() trong inc/shop.php.
 * ===================================================================== */
.tl-dip__luoi {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.tl-dip__the {
	display: block;
	padding: 26px 22px 24px;
	text-decoration: none;
	transition: transform var(--tl-nhanh), border-color var(--tl-nhanh);
}
.tl-dip__the:hover { transform: translateY(-3px); border-color: var(--tl-dong-mo); }
.tl-dip__the svg { width: 28px; height: 28px; margin-bottom: 16px; stroke: var(--tl-dong); fill: none; }
.tl-dip__the h3 { color: var(--tl-muc); font-size: 21px; }
.tl-dip__the p { margin: 9px 0 0; color: var(--tl-muted); font-size: 14px; line-height: 1.6; }
.tl-dip__the b {
	display: block;
	margin-top: 14px;
	color: var(--tl-dong);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tl-loc-form {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 16px;
	align-items: end;
	margin: 0 0 38px;
	padding: 22px 24px;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-nga);
}
.tl-loc-form__o { margin: 0; }
.tl-loc-form label {
	display: block;
	margin-bottom: 7px;
	color: var(--tl-muted);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.tl-loc-form select,
.tl-chon select,
body.tl-site .woocommerce-ordering select {
	width: 100%;
	padding: 12px 38px 12px 14px;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background-color: var(--tl-kem);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393602E' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px 16px;
	color: var(--tl-muc);
	font-size: 15px;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	cursor: pointer;
}
.tl-loc-form__nut { margin: 0; }
.tl-loc-form__nut button {
	width: 100%;
	padding: 13px 28px;
	border: 1px solid var(--tl-nau);
	border-radius: var(--tl-r);
	background: var(--tl-nau);
	color: #FBF3E6;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--tl-nhanh), border-color var(--tl-nhanh);
}
.tl-loc-form__nut button:hover { background: var(--tl-dong); border-color: var(--tl-dong); }

/* =====================================================================
 * HỘP QUÀ TRỌN BỘ — ba món nổi bật, thẻ ngang
 * ===================================================================== */
.tl-bo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tl-bo__the { display: flex; flex-direction: column; overflow: hidden; }
.tl-bo__the > a { display: block; overflow: hidden; }
.tl-bo__the img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.tl-bo__the:hover img { transform: scale(1.04); }
.tl-bo__than { padding: 22px 24px 26px; }
.tl-bo__than h3 { font-size: 20px; }
.tl-bo__than h3 a { color: var(--tl-muc); }
.tl-bo__mon {
	display: grid;
	gap: 7px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	color: var(--tl-than);
	font-size: 14px;
}
.tl-bo__mon li { display: flex; gap: 9px; align-items: flex-start; }
.tl-bo__mon li::before {
	content: "◆";
	flex: none;
	margin-top: 1px;
	color: var(--tl-dong-mo);
	font-size: 8px;
	line-height: 1.9;
}
.tl-bo__gia {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 18px 0 0;
	color: var(--tl-muc);
	font-family: var(--tl-chu);
	font-size: 20px;
	font-weight: 700;
}
.tl-bo__gia del { color: var(--tl-muted); font-size: 15px; font-weight: 500; }
.tl-bo__gia ins { text-decoration: none; color: var(--tl-giam); }

/* =====================================================================
 * KHẮC TÊN THEO YÊU CẦU
 * Ô xem trước chỉ đổi chữ trong một thẻ <text> của SVG — không gọi mạng,
 * không gửi gì đi, không lưu gì lại.
 * ===================================================================== */
.tl-khac__trong {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.tl-khac__buoc { display: grid; gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: tl-b; }
.tl-khac__buoc li {
	display: grid;
	grid-template-columns: 38px 1fr;
	gap: 16px;
	align-items: start;
	counter-increment: tl-b;
}
.tl-khac__buoc li::before {
	content: counter(tl-b);
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--tl-dong-mo);
	border-radius: 50%;
	color: var(--tl-dong);
	font-family: var(--tl-chu);
	font-size: 16px;
	font-weight: 700;
}
.tl-khac__buoc b { display: block; color: var(--tl-muc); font-family: var(--tl-chu); font-size: 18px; }
.tl-khac__buoc span { display: block; margin-top: 4px; color: var(--tl-muted); font-size: 14.5px; }

.tl-tam { padding: 28px; }
.tl-tam svg { width: 100%; height: auto; }
.tl-tam__o { margin: 22px 0 0; }
.tl-tam__o label {
	display: block;
	margin-bottom: 8px;
	color: var(--tl-muted);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.tl-tam__o input {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-kem);
	color: var(--tl-muc);
	font-size: 15px;
	box-sizing: border-box;
}
.tl-tam__ghi { margin: 12px 0 0; color: var(--tl-muted); font-size: 13px; }

/* =====================================================================
 * QUÀ DOANH NGHIỆP
 * Bốn ví dụ viết CHUNG CHUNG theo ngành. Không nêu tên doanh nghiệp nào,
 * không nêu số đơn đã giao — khối này là chỗ dễ sinh danh sách khách hàng
 * bịa nhất trong cả mẫu.
 * ===================================================================== */
.tl-dn__luoi {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 40px;
}
.tl-dn__o {
	padding: 24px 22px;
	border: 1px solid rgba(217, 169, 106, .3);
	border-radius: var(--tl-r);
	background: rgba(255, 252, 246, .05);
}
.tl-dn__o b {
	display: block;
	margin-bottom: 8px;
	color: var(--tl-dong-sang);
	font-family: var(--tl-chu);
	font-size: 18px;
}
.tl-dn__o span { color: #CDBBA6; font-size: 14px; }
.tl-dn__ghi { margin: 30px 0 0; color: #B6A491; font-size: 13.5px; font-style: italic; }

/* =====================================================================
 * DẢI GỌI CUỐI TRANG
 * ===================================================================== */
.tl-cta__trong {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	flex-wrap: wrap;
}
.tl-cta h2 { font-size: clamp(25px, 3vw, 34px); }
.tl-cta p { margin: 12px 0 0; color: #CDBBA6; max-width: 560px; }

/* =====================================================================
 * LƯỚI SẢN PHẨM (WooCommerce)
 * Ba cột — hộp quà là ảnh vuông, bốn cột thì ảnh nhỏ quá không thấy món gì
 * bên trong.
 * ===================================================================== */
body.tl-site ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.tl-site ul.products::before,
body.tl-site ul.products::after { content: none; display: none; }
body.tl-site ul.products li.product {
	position: relative;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0 0 24px;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-nga);
	text-align: left;
	transition: border-color var(--tl-nhanh), transform var(--tl-nhanh);
}
body.tl-site ul.products li.product:hover { border-color: var(--tl-dong-mo); transform: translateY(-3px); }
/*
 * BẪY ĐÃ GẶP: dưới 768px, `woocommerce-smallscreen.css` đặt
 * `.woocommerce ul.products[class*=columns-] li.product { width: 48% }`.
 * Luật ấy có bốn lớp nên thắng `body.tl-site ul.products li.product` ở trên,
 * và thẻ sản phẩm co lại còn nửa ô lưới — nhìn như lưới hai cột bị hỏng một
 * bên. Phải khai lại với đúng kiểu chọn có `[class*="columns-"]` mới đè được.
 */
body.tl-site ul.products[class*="columns-"] li.product {
	width: auto;
	float: none;
	margin: 0;
}

body.tl-site ul.products li.product > a { display: block; overflow: hidden; }
body.tl-site ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0;
	background: var(--tl-kem-sau);
	transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
body.tl-site ul.products li.product:hover a img { transform: scale(1.04); }

body.tl-site ul.products li.product .woocommerce-loop-product__title {
	padding: 20px 22px 0;
	color: var(--tl-muc);
	font-family: var(--tl-chu);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}
body.tl-site ul.products li.product a { color: var(--tl-muc); }
.tl-the__mon {
	margin: 7px 0 0;
	padding: 0 22px;
	color: var(--tl-muted);
	font-size: 13px;
	letter-spacing: .02em;
}
body.tl-site ul.products li.product .price {
	display: block;
	margin: 12px 0 0;
	padding: 0 22px;
	color: var(--tl-muc);
	font-family: var(--tl-chu);
	font-size: 19px;
	font-weight: 700;
}
body.tl-site ul.products li.product .price del { margin-right: 8px; color: var(--tl-muted); font-size: 15px; font-weight: 500; }
body.tl-site ul.products li.product .price ins { text-decoration: none; color: var(--tl-giam); }
body.tl-site ul.products li.product .button { margin: 16px 22px 0; }

/* Nhãn góc ảnh. Nhãn `onsale` mặc định của WooCommerce ẩn đi — đã có nhãn
   riêng gọn hơn ở `tl_nhan_the()`. */
body.tl-site span.onsale { display: none; }
.tl-nhan {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
}
.tl-nhan__o {
	padding: 5px 11px;
	border-radius: 2px;
	background: var(--tl-nau);
	color: #F4EADB;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.tl-nhan__o--giam { background: var(--tl-giam); }

/* Nút của WooCommerce: `white-space: nowrap` vì "Thêm vào giỏ" gãy hai dòng
   ở lưới ba cột trên tablet. */
body.tl-site ul.products li.product .button,
body.tl-site a.button,
body.tl-site button.button,
body.tl-site input.button,
body.tl-site .button.alt,
body.tl-site #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: 1px solid var(--tl-nau);
	border-radius: var(--tl-r);
	background: var(--tl-nau);
	color: #FBF3E6;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background var(--tl-nhanh), border-color var(--tl-nhanh);
}
body.tl-site ul.products li.product .button:hover,
body.tl-site a.button:hover,
body.tl-site button.button:hover,
body.tl-site input.button:hover,
body.tl-site .button.alt:hover,
body.tl-site #place_order:hover {
	background: var(--tl-dong);
	border-color: var(--tl-dong);
	color: #FFF8EC;
}
body.tl-site a.added_to_cart {
	display: inline-block;
	margin: 10px 22px 0;
	color: var(--tl-dong);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: underline;
}

body.tl-site .woocommerce-pagination { grid-column: 1 / -1; margin-top: 46px; }
body.tl-site .woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; border: 0; }
body.tl-site .woocommerce-pagination li { border: 0; }
body.tl-site .woocommerce-pagination a,
body.tl-site .woocommerce-pagination span {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-nga);
	color: var(--tl-than);
	font-size: 14.5px;
}
body.tl-site .woocommerce-pagination span.current { background: var(--tl-nau); border-color: var(--tl-nau); color: #FBF3E6; }

/* =====================================================================
 * DẢI ĐẦU TRANG PHỤ (cửa hàng, nhóm quà, sản phẩm, trang tĩnh)
 * ===================================================================== */
.tl-dau {
	padding: 46px 0 40px;
	border-bottom: 1px solid var(--tl-ke);
	background: var(--tl-kem-sau);
}
.tl-dau__h { color: var(--tl-muc); font-size: clamp(27px, 3.4vw, 40px); }
.tl-dau__mo { max-width: 720px; margin: 14px 0 0; color: var(--tl-muted); font-size: 16px; }
.tl-crumb {
	margin-bottom: 14px;
	color: var(--tl-muted);
	font-size: 13px;
	letter-spacing: .02em;
}
.tl-crumb span[aria-hidden] { margin: 0 9px; color: var(--tl-dong-mo); font-size: 8px; vertical-align: 2px; }
body.tl-site .tl-crumb a { color: var(--tl-muted); }
body.tl-site .tl-crumb a:hover { color: var(--tl-dong); }

/* =====================================================================
 * TRANG CỬA HÀNG
 * ===================================================================== */
.tl-shop__than { padding: 48px 0 92px; }
.tl-loc {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	flex-wrap: wrap;
	margin-bottom: 34px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--tl-ke);
}
.tl-loc__dm { display: flex; flex-wrap: wrap; gap: 9px; }
.tl-loc__dm a {
	display: inline-block;
	padding: 9px 17px;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-nga);
	color: var(--tl-than);
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color var(--tl-nhanh), color var(--tl-nhanh);
}
.tl-loc__dm a:hover { border-color: var(--tl-dong-mo); color: var(--tl-dong); }
.tl-loc__dm a.la-chon { background: var(--tl-nau); border-color: var(--tl-nau); color: #FBF3E6; }
.tl-chon { min-width: 220px; }
.tl-chon form { margin: 0; }
body.tl-site .woocommerce-ordering { margin: 0; }
.tl-trong-rong { padding: 50px 0; color: var(--tl-muted); font-size: 16px; }

/* Dòng nhắc mức giá đang lọc + chỗ bỏ lọc. */
.tl-loc-dang {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 26px;
	color: var(--tl-than);
	font-size: 14px;
}
.tl-loc-dang b { color: var(--tl-muc); }
.tl-loc-dang a {
	padding: 5px 12px;
	border: 1px solid var(--tl-dong-mo);
	border-radius: var(--tl-r);
	color: var(--tl-dong);
	font-size: 13px;
	font-weight: 600;
}

/* =====================================================================
 * TRANG CHI TIẾT SẢN PHẨM
 * ===================================================================== */
.tl-sp__than { padding: 48px 0 92px; }
body.tl-site .woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
body.tl-site .woocommerce div.product div.images,
body.tl-site .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
body.tl-site .woocommerce div.product div.images img {
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-nga);
}
body.tl-site .woocommerce div.product p.price,
body.tl-site .woocommerce div.product span.price {
	margin: 0 0 20px;
	color: var(--tl-muc);
	font-family: var(--tl-chu);
	font-size: 29px;
	font-weight: 700;
}
body.tl-site .woocommerce div.product p.price del { color: var(--tl-muted); font-size: 20px; font-weight: 500; }
body.tl-site .woocommerce div.product p.price ins { text-decoration: none; color: var(--tl-giam); }
body.tl-site .woocommerce-product-details__short-description { color: var(--tl-than); font-size: 16.5px; }

/* Bảng thông số — bốn dòng, luôn cùng bốn nhãn cho mọi sản phẩm. */
.tl-ts { display: grid; gap: 0; margin: 24px 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--tl-ke); }
.tl-ts li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	padding: 12px 0;
	border-bottom: 1px solid var(--tl-ke-mo);
}
.tl-ts small { color: var(--tl-muted); font-size: 13.5px; }
.tl-ts b { color: var(--tl-muc); font-size: 14.5px; font-weight: 600; text-align: right; }

/* Danh sách món trong bộ — đọc từ cùng meta với con số trên lưới. */
.tl-mon { margin: 0 0 24px; padding: 20px 22px; }
.tl-mon h2 {
	margin-bottom: 12px;
	color: var(--tl-muc);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .02em;
}
.tl-mon ol { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: var(--tl-than); font-size: 14.5px; }
.tl-ghi-chu { margin: 0 0 22px; color: var(--tl-muted); font-size: 13.5px; }

body.tl-site .woocommerce div.product form.cart { margin: 0 0 22px; display: flex; gap: 12px; flex-wrap: wrap; }
body.tl-site .woocommerce div.product form.cart div.quantity { margin: 0; }
body.tl-site .quantity input.qty {
	width: 76px;
	padding: 12px 10px;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-nga);
	color: var(--tl-muc);
	text-align: center;
}
body.tl-site .woocommerce div.product .product_meta {
	padding-top: 18px;
	border-top: 1px solid var(--tl-ke);
	color: var(--tl-muted);
	font-size: 13.5px;
}
body.tl-site .woocommerce div.product .product_meta > span { display: block; margin-bottom: 5px; }

body.tl-site .woocommerce-tabs { grid-column: 1 / -1; margin-top: 18px; }
body.tl-site .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	border-bottom: 1px solid var(--tl-ke);
	list-style: none;
}
body.tl-site .woocommerce-tabs ul.tabs::before { content: none; }
body.tl-site .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
}
body.tl-site .woocommerce-tabs ul.tabs li::before,
body.tl-site .woocommerce-tabs ul.tabs li::after { content: none; display: none; }
body.tl-site .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 11px 18px;
	color: var(--tl-muted);
	font-size: 14.5px;
	font-weight: 600;
}
body.tl-site .woocommerce-tabs ul.tabs li.active a {
	color: var(--tl-muc);
	border-bottom: 2px solid var(--tl-dong);
}
body.tl-site .woocommerce-tabs .panel h2 { margin-bottom: 14px; font-size: 23px; color: var(--tl-muc); }
body.tl-site .woocommerce-tabs .panel { color: var(--tl-than); }

body.tl-site .related.products, body.tl-site .up-sells {
	grid-column: 1 / -1;
	margin-top: 64px;
	padding-top: 44px;
	border-top: 1px solid var(--tl-ke);
}
body.tl-site .related.products > h2, body.tl-site .up-sells > h2 {
	margin-bottom: 28px;
	color: var(--tl-muc);
	font-size: 27px;
}

/* =====================================================================
 * TRANG GIỚI THIỆU, LIÊN HỆ
 * ===================================================================== */
.tl-gt__hai {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 56px;
	align-items: center;
}
.tl-gt__anh img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1px; }
.tl-so { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.tl-so__o { padding: 24px 22px; }
.tl-so__o b {
	display: block;
	color: var(--tl-dong);
	font-family: var(--tl-chu);
	font-size: 17px;
}
.tl-so__o span { display: block; margin-top: 7px; color: var(--tl-muted); font-size: 14px; }

.tl-lh__luoi { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.tl-lh__o { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.tl-lh__o li { display: flex; gap: 14px; align-items: flex-start; }
.tl-lh__o svg { flex: none; width: 22px; height: 22px; margin-top: 3px; stroke: var(--tl-dong); fill: none; }
.tl-lh__o b { display: block; color: var(--tl-muc); font-size: 15px; }
.tl-lh__o span, .tl-lh__o a { display: block; margin-top: 2px; font-size: 15px; }
.tl-lh__o span { color: var(--tl-muted); }

.tl-bm { padding: 28px; }
.tl-bm__hang { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tl-bm p { margin: 0 0 16px; }
.tl-bm label {
	display: block;
	margin-bottom: 7px;
	color: var(--tl-muted);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.tl-bm input,
.tl-bm select,
.tl-bm textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--tl-ke);
	border-radius: var(--tl-r);
	background: var(--tl-kem);
	color: var(--tl-muc);
	font-size: 15px;
	box-sizing: border-box;
}
.tl-bm textarea { min-height: 128px; resize: vertical; }
.tl-bm button {
	width: 100%;
	padding: 14px 26px;
	border: 1px solid var(--tl-nau);
	border-radius: var(--tl-r);
	background: var(--tl-nau);
	color: #FBF3E6;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.tl-bm button:hover { background: var(--tl-dong); border-color: var(--tl-dong); }
.tl-bm__ghi { margin: 14px 0 0; color: var(--tl-muted); font-size: 13px; }

/* Khối gọi nhanh — chỉ hiện dưới 900px, nơi biểu mẫu bị ẩn. */
.tl-goi-nhanh { display: none; }

/* =====================================================================
 * TRANG TĨNH: GIỎ HÀNG, THANH TOÁN, TÀI KHOẢN
 *
 * WooCommerce 8 trở đi dựng ba trang này bằng *block* và 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. Giỏ hàng của mẫu này chạy thật nên chắc
 * chắn gặp — phải khai lại cả ba lớp nút của khối.
 * ===================================================================== */
.tl-trang__than { padding: 48px 0 92px; }
.tl-trang__than h2, .tl-trang__than h3 { margin: 28px 0 12px; color: var(--tl-muc); }
.tl-trang__than table { width: 100%; border-collapse: collapse; }
.tl-trang__than th, .tl-trang__than td {
	padding: 13px 10px;
	border-bottom: 1px solid var(--tl-ke);
	text-align: left;
}

body.tl-site .wc-block-components-button,
body.tl-site .wc-block-cart__submit-button,
body.tl-site .wc-block-components-checkout-place-order-button,
body.tl-site .wp-block-button__link {
	border: 1px solid var(--tl-nau) !important;
	border-radius: var(--tl-r) !important;
	background: var(--tl-nau) !important;
	color: #FBF3E6 !important;
	font-family: var(--tl-sans) !important;
	font-weight: 600 !important;
	box-shadow: none !important;
}
body.tl-site .wc-block-components-button:hover,
body.tl-site .wc-block-cart__submit-button:hover,
body.tl-site .wc-block-components-checkout-place-order-button:hover,
body.tl-site .wp-block-button__link:hover {
	background: var(--tl-dong) !important;
	border-color: var(--tl-dong) !important;
	color: #FFF8EC !important;
}
body.tl-site .wc-block-components-button__text { color: inherit !important; }
body.tl-site .wc-block-components-product-name,
body.tl-site .wc-block-components-totals-item__value,
body.tl-site .wc-block-components-order-summary-item__description { color: var(--tl-muc); }
body.tl-site .wc-block-components-text-input input,
body.tl-site .wc-block-components-textarea,
body.tl-site .wc-block-components-combobox-control input,
body.tl-site .woocommerce input.input-text,
body.tl-site .woocommerce select,
body.tl-site .woocommerce textarea {
	border: 1px solid var(--tl-ke) !important;
	border-radius: var(--tl-r) !important;
	background: var(--tl-nga) !important;
	color: var(--tl-muc) !important;
}
body.tl-site .wc-block-components-sidebar-layout .wc-block-components-sidebar,
body.tl-site .wc-block-cart__sidebar,
body.tl-site .wc-block-components-totals-wrapper {
	background: var(--tl-nga);
	border-radius: var(--tl-r);
}
body.tl-site .woocommerce-message,
body.tl-site .woocommerce-info,
body.tl-site .woocommerce-error,
body.tl-site .wc-block-components-notice-banner {
	margin: 0 0 24px;
	border: 1px solid var(--tl-ke);
	border-left: 3px solid var(--tl-dong);
	border-radius: var(--tl-r);
	background: var(--tl-nga);
	color: var(--tl-than);
}
body.tl-site .woocommerce-message a,
body.tl-site .woocommerce-info a { color: var(--tl-dong); font-weight: 600; }

/* =====================================================================
 * CHÂN TRANG
 * ===================================================================== */
.tl-ft { padding: 72px 0 0; background: var(--tl-nau); color: #CDBBA6; }
.tl-ft__luoi {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
	gap: 44px;
	padding-bottom: 54px;
}
.tl-ft h3 {
	margin: 0 0 16px;
	color: #FBF3E6;
	font-family: var(--tl-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.tl-ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tl-ft__gt { margin: 18px 0 0; color: #B6A491; font-size: 14.5px; }
body.tl-site .tl-ft a { color: #CDBBA6; font-size: 14.5px; }
body.tl-site .tl-ft a:hover { color: var(--tl-dong-sang); }
.tl-ft__lh b { color: #FBF3E6; font-weight: 600; }
.tl-ft__lh li { font-size: 14.5px; }
.tl-chi-may { margin-top: 26px; }
.tl-chi-may h3 { margin-bottom: 10px; }
.tl-ban-tin { display: flex; gap: 9px; }
.tl-ban-tin input {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid rgba(217, 169, 106, .35);
	border-radius: var(--tl-r);
	background: rgba(255, 252, 246, .06);
	color: #FBF3E6;
	font-size: 14px;
}
.tl-ban-tin input::placeholder { color: #9C8B79; }
.tl-ban-tin button {
	padding: 12px 18px;
	border: 1px solid var(--tl-dong-sang);
	border-radius: var(--tl-r);
	background: var(--tl-dong-sang);
	color: #2B1C10;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}
.tl-ban-tin button:hover { background: #E8BE83; }
.tl-ft__day {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 22px 0;
	border-top: 1px solid rgba(217, 169, 106, .2);
	color: #A8967F;
	font-size: 13px;
}
.tl-ft__day p { margin: 0; }

/* Lời nhắn sau khi bấm Đăng ký nhận bản tin. */
.tl-toast {
	position: fixed;
	left: 50%;
	bottom: 22px;
	z-index: 90;
	transform: translateX(-50%);
	width: calc(100% - 36px);
	max-width: 560px;
	padding: 16px 20px;
	border: 1px solid var(--tl-dong-mo);
	border-radius: var(--tl-r);
	background: var(--tl-nau);
	color: #F4EADB;
	font-size: 14px;
	box-shadow: 0 16px 36px rgba(53, 38, 26, .24);
}

/* =====================================================================
 * HIỆN DẦN KHI CUỘN TỚI
 * Lớp ẩn 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 đủ, và trình thu thập của Google luôn thấy nội dung.
 * ===================================================================== */
.tl-hien.la-an { opacity: 0; transform: translateY(16px); }
.tl-hien.la-ro {
	opacity: 1;
	transform: none;
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}

/* =====================================================================
 * BỀ NGANG NHỎ
 * Bốn mốc, đo ở 1920 / 1440 / 768 / 375px: không chỗ nào tràn ngang.
 * ===================================================================== */
@media (max-width: 1100px) {
	.tl-hero__trong { gap: 40px; }
	.tl-dip__luoi, .tl-dn__luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tl-ft__luoi { grid-template-columns: 1fr 1fr; gap: 36px; }
	.tl-menu a { padding: 10px 13px; font-size: 14px; }
}

@media (max-width: 980px) {
	.tl-hd__trong { min-height: 72px; }
	.tl-mo-menu { display: inline-flex; }
	.tl-menu {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		margin: 0;
		padding: 10px 24px 20px;
		border-bottom: 1px solid var(--tl-ke);
		background: var(--tl-kem);
		box-shadow: 0 18px 34px rgba(53, 38, 26, .1);
	}
	.tl-menu.la-mo { display: block; }
	.tl-menu ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.tl-menu li + li::before { content: none; }
	.tl-menu li + li { border-top: 1px solid var(--tl-ke-mo); }
	.tl-menu a { padding: 13px 2px; font-size: 15.5px; }

	.tl-hero__trong, .tl-khac__trong, .tl-gt__hai, .tl-lh__luoi { grid-template-columns: 1fr; }
	.tl-hero { padding: 48px 0 56px; }
	.tl-hero__the { left: 14px; bottom: 14px; }
	.tl-khoi { padding: 62px 0; }
	.tl-bo { grid-template-columns: 1fr; }
	body.tl-site .woocommerce div.product { grid-template-columns: 1fr; gap: 34px; }
	body.tl-site ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

	/* Dải mảnh trên cùng ẩn: ở bề ngang này nó chiếm mất nhịp đầu của trang. */
	.tl-dai { display: none; }

	/*
	 * Biểu mẫu đăng ký và biểu mẫu liên hệ ẩn dưới 900px, thay bằng khối gọi
	 * nhanh. `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.
	 */
	.tl-bm, .tl-chi-may { display: none; }
	.tl-goi-nhanh {
		display: block;
		padding: 26px 24px;
		border: 1px solid var(--tl-ke);
		border-radius: var(--tl-r);
		background: var(--tl-nga);
	}
	.tl-goi-nhanh h3 { margin-bottom: 8px; color: var(--tl-muc); font-size: 20px; }
	.tl-goi-nhanh p { color: var(--tl-muted); font-size: 14.5px; }
}

@media (max-width: 760px) {
	.tl-wrap { padding: 0 18px; }
	.tl-loc-form { grid-template-columns: 1fr; gap: 14px; }
	.tl-bm__hang { grid-template-columns: 1fr; }
	.tl-so { grid-template-columns: 1fr; }
	.tl-loc { flex-direction: column; align-items: stretch; }
	.tl-chon { min-width: 0; }
	.tl-ft__luoi { grid-template-columns: 1fr; gap: 32px; }
	.tl-khoi { padding: 52px 0; }
	.tl-hero__anh img { aspect-ratio: 1 / 1; }
}

@media (max-width: 560px) {
	.tl-dip__luoi, .tl-dn__luoi { grid-template-columns: 1fr; }
	body.tl-site ul.products { grid-template-columns: 1fr; }
	.tl-hero__the { position: static; max-width: none; margin-top: 16px; box-shadow: none; }
	.tl-hang-nut .tl-nut { width: 100%; justify-content: center; }
}

/* =====================================================================
 * XIN BỚT CHUYỂN ĐỘNG
 * ===================================================================== */
@media (prefers-reduced-motion: reduce) {
	body.tl-site * { animation-duration: .001s !important; transition-duration: .001s !important; }
	.tl-hien.la-an { opacity: 1; transform: none; }
	body.tl-site ul.products li.product:hover a img,
	.tl-bo__the:hover img { transform: none; }
	body.tl-site ul.products li.product:hover,
	.tl-dip__the:hover { transform: none; }
}
