/*
Theme Name: VinaSite Mỹ phẩm 06 — Trầm Hương
Theme URI: https://vinasite.com.vn/
Description: Mẫu website bán nước hoa và mỹ phẩm cao cấp, nền nâu đen với nhấn vàng đồng. Giao diện con của vinasite, chạy WooCommerce: trang chủ nhiều khối, trang cửa hàng, chi tiết sản phẩm, giới thiệu và liên hệ. Mẫu demo của VinaSite.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: mypham-mau-06
*/

/* =====================================================================
 * Trầm Hương — mẫu website bán nước hoa và mỹ phẩm cao cấp.
 *
 * Bốn quy ước dựng nên toàn bộ phần nhìn của mẫu này, giữ nguyên từ đầu
 * đến cuối, cố ý không giống mẫu mỹ phẩm nào khác trong bộ:
 *
 *   1. KHÔNG BO GÓC Ở BẤT CỨ ĐÂU. Mọi ảnh, ô nhập, nút, thẻ đều vuông
 *      góc. Ánh Ngọc (mypham-mau-02) bo lệch hai góc đối nhau, Sương
 *      (mypham-mau-01) bo đều 22px — nhìn hai giây là phân biệt được.
 *   2. KHÔNG CÓ THẺ NỀN. Sản phẩm, danh mục, khối nội dung đều đặt thẳng
 *      trên nền trang; thứ duy nhất phân vùng là ĐƯỜNG KẺ 1px. Các mẫu
 *      khác dùng thẻ có nền sáng hơn nền trang.
 *   3. CHỈ MỘT HỌ PHÔNG SANS CHO TIÊU ĐỀ, độ đậm 200–300, VIẾT HOA và
 *      GIÃN KÝ TỰ 0.2–0.34em. Không một chữ serif nào trong mẫu —
 *      Ánh Ngọc dùng serif Prata, Sương dùng Cormorant Garamond.
 *   4. CHUYỂN ĐỘNG CHẬM: 0.6s–1.2s, đường cong gần như tuyến tính ở
 *      cuối. Ảnh phóng rất nhẹ (1.04) trong 1.2s thay vì nảy nhanh.
 *
 * Bảng màu: nâu đen #0B0908 + vàng đồng #C28A4B. Không hồng, không tím,
 * không xanh bạc hà, không nền kem.
 *
 * Ngoại lệ duy nhất của nền tối: giỏ hàng, thanh toán và tài khoản —
 * xem khối "TRANG TIỆN ÍCH" ở cuối tệp.
 * ===================================================================== */

:root {
	--th-ink: #0B0908;          /* nền trang — nâu đen */
	--th-panel: #141010;        /* dải nền phụ */
	--th-panel-2: #1B1512;      /* ô nhập, nền ảnh lúc chưa tải */
	--th-line: #2C231B;         /* đường kẻ — thứ duy nhất chia vùng */
	--th-line-soft: #1E1815;

	--th-text: #F3EDE4;         /* tiêu đề, chữ chính */
	--th-body: #B9ACA0;         /* chữ nội dung — 6.4:1 trên nền #0B0908 */
	--th-muted: #8A7D71;        /* chữ phụ — 4.6:1, chỉ dùng cỡ ≥13px */

	--th-copper: #C28A4B;       /* màu nhấn duy nhất — vàng đồng */
	--th-copper-soft: #E0B583;
	--th-copper-dim: #7A5631;
	--th-sale: #D08A6A;         /* nhãn giảm giá, giá đã giảm */

	/* Giỏ hàng / thanh toán / tài khoản đảo sang nền sáng. */
	--th-paper: #F7F3ED;
	--th-paper-ink: #17120F;
	--th-paper-line: #DED5C8;

	--th-display: "Raleway", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--th-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--th-max: 1280px;
	--th-gut: clamp(18px, 4vw, 48px);
	--th-pad: clamp(72px, 9vw, 152px);   /* rất nhiều khoảng trắng */

	--th-slow: .72s cubic-bezier(.22, .61, .36, 1);
	--th-zoom: 1.2s cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.th-shop {
	margin: 0;
	background: var(--th-ink);
	color: var(--th-body);
	font: 300 16px/1.75 var(--th-sans);
	-webkit-font-smoothing: antialiased;
}
body.th-shop a { color: inherit; text-decoration: none; }
body.th-shop img { display: block; max-width: 100%; height: auto; }
body.th-shop button, body.th-shop input, body.th-shop select, body.th-shop textarea { font: inherit; }

/*
 * `color: inherit` với HAI lớp: theme mẹ có luật riêng cho `h1`–`h3` trong
 * nội dung (màu xanh của nó) và luật ấy thắng mọi khai báo một lớp. Khai ở
 * đây thắng lại, mà cho thừa kế thì tiêu đề tự đúng màu trong cả khối nền
 * tối lẫn khối nền giấy — không phải liệt kê từng ngoại lệ.
 */
body.th-shop h1, body.th-shop h2, body.th-shop h3 {
	margin: 0;
	color: inherit;
	font-family: var(--th-display);
	font-weight: 200;
	line-height: 1.22;
	letter-spacing: .04em;
}

/*
 * Hệ quả của luật `inherit` ngay trên: nó có HAI lớp nên thắng mọi khai báo
 * màu một lớp của chính mẫu này (`.th-title`, `.th-page__title`…), khiến mọi
 * tiêu đề tụt xuống màu chữ nội dung. Gom các tiêu đề cần sáng hơn vào một
 * chỗ, cũng với hai lớp, để thắng lại — vẫn không phải dùng `!important`.
 */
body.th-shop .th-title,
body.th-shop .th-hero__title,
body.th-shop .th-page__title,
body.th-shop .th-cat__name,
body.th-shop .th-note h3,
body.th-shop .th-prose h2,
body.th-shop .th-foot__col h2,
body.th-shop .woocommerce-Tabs-panel h2,
body.th-shop .related.products > h2,
body.th-shop .up-sells > h2 { color: var(--th-text); }

body.th-shop .th-hero__title em { color: var(--th-copper); }

.th-wrap { width: min(var(--th-max), calc(100% - var(--th-gut) * 2)); margin-inline: auto; }

.th-skip { position: absolute; z-index: 100; top: 10px; left: 10px; transform: translateY(-200%);
	padding: 12px 18px; background: var(--th-copper); color: #120D08;
	font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.th-skip:focus { transform: translateY(0); }

/* Đầu trang dính nên mọi neo `#id` phải chừa chỗ. */
.th-main, .th-main [id] { scroll-margin-top: 120px; }

/* Vòng tiêu điểm phải thấy rõ trên nền tối. */
body.th-shop :focus-visible { outline: 2px solid var(--th-copper); outline-offset: 4px; }

::selection { background: var(--th-copper); color: #120D08; }

/* =====================================================================
 * CHỮ DÙNG CHUNG
 * Mọi nhãn nhỏ đều VIẾT HOA + GIÃN KÝ TỰ. Đó là dấu nhận diện của mẫu,
 * nên gom thành ba lớp dùng lại khắp nơi thay vì khai lặp.
 * ===================================================================== */
.th-eyebrow {
	margin: 0 0 18px;
	color: var(--th-copper);
	font-family: var(--th-display);
	font-size: 11.5px; font-weight: 400;
	letter-spacing: .34em; text-transform: uppercase;
}

/* Nhãn giữa hai nét kẻ — dùng ở đầu mỗi khối trang chủ. */
.th-rule-label {
	display: flex; align-items: center; justify-content: center; gap: 20px;
	color: var(--th-copper);
	font-family: var(--th-display);
	font-size: 11.5px; font-weight: 400;
	letter-spacing: .34em; text-transform: uppercase;
}
.th-rule-label::before, .th-rule-label::after {
	content: ''; height: 1px; width: min(120px, 14vw); background: var(--th-line);
}

.th-title { font-size: clamp(28px, 4vw, 48px); letter-spacing: .1em; text-transform: uppercase; color: var(--th-text); }
.th-title--big { font-size: clamp(34px, 6vw, 72px); letter-spacing: .12em; }

.th-lede { max-width: 62ch; margin: 22px auto 0; color: var(--th-body); font-size: 16.5px; }

/* =====================================================================
 * NÚT VÀ LIÊN KẾT
 * Nút là KHUNG KẺ 1px, nền trong suốt, chữ hoa giãn ký tự. Nút đặc chỉ
 * dùng cho một hành động mỗi trang (thêm vào giỏ, gửi biểu mẫu).
 * ===================================================================== */
.th-btn {
	min-height: 54px;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	border: 1px solid var(--th-copper-dim); padding: 0 34px;
	background: transparent; color: var(--th-copper) !important;
	font-family: var(--th-display);
	font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
	white-space: nowrap; cursor: pointer;
	transition: background var(--th-slow), border-color var(--th-slow), color var(--th-slow);
}
.th-btn:hover { background: var(--th-copper); border-color: var(--th-copper); color: #120D08 !important; }
.th-btn svg { width: 15px; height: 15px; transition: transform var(--th-slow); }
.th-btn:hover svg { transform: translateX(5px); }

.th-btn--solid { background: var(--th-copper); border-color: var(--th-copper); color: #120D08 !important; }
.th-btn--solid:hover { background: var(--th-copper-soft); border-color: var(--th-copper-soft); }

.th-btn--light { border-color: rgba(243,237,228,.34); color: var(--th-text) !important; }
.th-btn--light:hover { background: var(--th-text); border-color: var(--th-text); color: #120D08 !important; }

/*
 * Liên kết chữ: nét kẻ nằm sẵn, chạy từ trái sang khi rê chuột.
 *
 * `white-space: nowrap` là BẮT BUỘC ở đây. Chữ giãn ký tự 0.26em làm trình
 * duyệt tính bề rộng nội tại hụt mất khoảng giãn của ký tự cuối, nên hộp
 * inline-flex co lại vài pixel và dòng chữ tự gãy thành ba dòng giữa chỗ
 * rộng thênh thang. Mọi chỗ dùng chữ giãn ký tự trong mẫu này đều phải khoá
 * xuống dòng như vậy.
 */
.th-link {
	position: relative; display: inline-flex; align-items: center; gap: 10px;
	color: var(--th-copper);
	font-family: var(--th-display);
	font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
	white-space: nowrap;
}
.th-link::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
	background: currentColor; transform: scaleX(.18); transform-origin: left center;
	transition: transform var(--th-slow);
}
.th-link:hover::after, .th-link:focus-visible::after { transform: scaleX(1); }

/* =====================================================================
 * DẢI THÔNG BÁO + ĐẦU TRANG
 *
 * Đầu trang DÍNH nhưng CHIỀU CAO KHÔNG ĐỔI khi cuộn: phần tử 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à đường kẻ dưới đậm lên.
 *
 * Tên thương hiệu đặt GIỮA, menu bên trái, công cụ bên phải — khác hẳn
 * mọi mẫu bán hàng khác trong bộ (đều đặt logo bên trái).
 * ===================================================================== */
.th-bar {
	border-bottom: 1px solid var(--th-line-soft);
	background: var(--th-ink);
	font-size: 12px; letter-spacing: .08em;
}
.th-bar__in { min-height: 40px; display: flex; justify-content: center; align-items: center; gap: 18px;
	padding: 9px 0; text-align: center; color: var(--th-muted); }
.th-bar strong { color: var(--th-copper); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.th-bar a { display: inline-flex; align-items: center; gap: 7px; color: var(--th-body) !important;
	white-space: nowrap; transition: color var(--th-slow); }
.th-bar a svg { width: 13px; height: 13px; transition: transform var(--th-slow); }
.th-bar a:hover { color: var(--th-copper) !important; }
.th-bar a:hover svg { transform: translateX(4px); }

.th-head {
	position: sticky; top: 0; z-index: 60;
	border-bottom: 1px solid var(--th-line-soft);
	background: rgba(11, 9, 8, .86);
	backdrop-filter: blur(10px);
	transition: background var(--th-slow), border-color var(--th-slow);
}
.th-head.is-stuck { background: rgba(11, 9, 8, .97); border-bottom-color: var(--th-line); }

.th-head__row {
	min-height: 86px;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}

.th-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 9px; justify-self: center; }
.th-brand__mark { display: block; line-height: 0; }
.th-brand__name {
	font-family: var(--th-display); font-size: 19px; font-weight: 300;
	letter-spacing: .42em; text-indent: .42em; text-transform: uppercase; color: var(--th-text);
}
.th-brand__tag {
	font-family: var(--th-display); font-size: 9.5px; font-weight: 400;
	letter-spacing: .3em; text-indent: .3em; text-transform: uppercase; color: var(--th-muted);
	transition: opacity var(--th-slow);
}
.th-head.is-stuck .th-brand__tag { opacity: 0; }

.th-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); margin: 0; padding: 0; list-style: none; }
.th-nav a {
	position: relative; display: block; padding: 6px 0;
	font-family: var(--th-display); font-size: 11.5px; font-weight: 500;
	letter-spacing: .2em; text-transform: uppercase; color: var(--th-body);
	transition: color var(--th-slow);
}
.th-nav a::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--th-copper);
	transform: scaleX(0); transform-origin: left center; transition: transform var(--th-slow);
}
.th-nav a:hover { color: var(--th-text); }
.th-nav a:hover::after, .th-nav a[aria-current="page"]::after { transform: scaleX(1); }
.th-nav a[aria-current="page"] { color: var(--th-copper); }

.th-tools { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }

.th-search { position: relative; display: flex; align-items: center; }
.th-search svg { position: absolute; left: 12px; width: 15px; height: 15px; color: var(--th-muted); pointer-events: none; }
.th-search input {
	width: clamp(140px, 15vw, 210px); height: 42px;
	border: 1px solid var(--th-line); padding: 0 12px 0 34px;
	background: transparent; color: var(--th-text);
	font-size: 13px; letter-spacing: .06em;
	transition: border-color var(--th-slow), background var(--th-slow);
}
.th-search input::placeholder { color: var(--th-muted); }
.th-search input:focus { outline: none; border-color: var(--th-copper-dim); background: var(--th-panel); }
.th-search button {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.th-cart { position: relative; display: inline-flex; align-items: center; gap: 9px; color: var(--th-body);
	transition: color var(--th-slow); }
.th-cart:hover { color: var(--th-copper); }
.th-cart svg { width: 21px; height: 21px; }
.th-cart__label { font-family: var(--th-display); font-size: 11.5px; font-weight: 500;
	letter-spacing: .2em; text-transform: uppercase; }
.th-cart__n {
	min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
	padding: 0 5px; background: var(--th-copper); color: #120D08;
	font-size: 11px; font-weight: 600; letter-spacing: 0;
}
.th-cart__n[data-th-n="0"] { display: none; }
.th-cart__n.is-bump { animation: th-bump .5s cubic-bezier(.22,.61,.36,1); }
@keyframes th-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.th-burger { display: none; border: 1px solid var(--th-line); padding: 11px; background: transparent; cursor: pointer; }
.th-burger span[aria-hidden] { display: block; width: 18px; }
.th-burger i { display: block; height: 1px; background: var(--th-text); transition: transform var(--th-slow), opacity var(--th-slow); }
.th-burger i + i { margin-top: 5px; }
.th-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.th-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.th-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

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

/* =====================================================================
 * TRANG CHỦ — HERO
 * Ảnh phủ kín, phủ thêm hai lớp tối: một lớp dọc cho chữ bên trái, một
 * lớp ngang để chân hero chìm vào nền trang, không thấy đường cắt.
 * ===================================================================== */
.th-hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end;
	overflow: hidden; background: var(--th-panel-2); }
.th-hero__bg { position: absolute; inset: 0; }
.th-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.th-hero__bg::after {
	content: ''; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(11,9,8,.94) 0%, rgba(11,9,8,.72) 42%, rgba(11,9,8,.18) 78%),
		linear-gradient(0deg, var(--th-ink) 0%, rgba(11,9,8,0) 36%);
}
/* KHÔNG đặt `width: 100%` ở đây: phần tử này đeo cả lớp `th-wrap`, mà luật
   viết sau trong tệp sẽ thắng và kéo khối chữ ra sát mép màn hình. */
.th-hero__in { position: relative; padding: clamp(90px, 14vh, 150px) 0 clamp(56px, 8vh, 92px); }
.th-hero__box { max-width: 640px; }
.th-hero__title { font-size: clamp(36px, 6.4vw, 78px); font-weight: 200; letter-spacing: .14em;
	text-transform: uppercase; color: var(--th-text); }
.th-hero__title em { display: block; font-style: normal; color: var(--th-copper); }
.th-hero__sub { margin: 26px 0 0; max-width: 46ch; color: var(--th-body); font-size: 16.5px; }
.th-hero__act { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Nét kẻ dọc chạy xuống, nhắc người xem cuộn tiếp. Chỉ trang trí. */
.th-hero__cue { position: absolute; right: var(--th-gut); bottom: 0; display: flex; flex-direction: column;
	align-items: center; gap: 12px; color: var(--th-muted);
	font-family: var(--th-display); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
.th-hero__cue span { writing-mode: vertical-rl; }
.th-hero__cue i { display: block; width: 1px; height: 70px; background: linear-gradient(var(--th-copper), transparent); }

/* =====================================================================
 * KHỐI CHUNG CỦA TRANG CHỦ
 * ===================================================================== */
.th-sec { padding: var(--th-pad) 0; }
.th-sec--line { border-top: 1px solid var(--th-line-soft); }
.th-sec--panel { background: var(--th-panel); }
.th-sec__head { text-align: center; margin-bottom: clamp(44px, 5vw, 76px); }
.th-sec__head .th-title { margin-top: 24px; }
.th-sec__more { margin: clamp(36px, 4vw, 60px) 0 0; text-align: center; }

/* ── Danh mục: ba ảnh dọc, chữ nằm DƯỚI ảnh, không đè lên ảnh ───────── */
.th-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 40px); }
.th-cat { display: block; }
.th-cat__fig { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
	background: var(--th-panel-2); border: 1px solid var(--th-line); }
.th-cat__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--th-zoom); }
.th-cat:hover .th-cat__fig img { transform: scale(1.04); }
.th-cat__fig::after { content: ''; position: absolute; inset: 0; background: rgba(11,9,8,.22);
	transition: background var(--th-slow); }
.th-cat:hover .th-cat__fig::after { background: rgba(11,9,8,0); }
.th-cat__name { margin: 20px 0 0; font-family: var(--th-display); font-size: 14px; font-weight: 400;
	letter-spacing: .26em; text-transform: uppercase; color: var(--th-text); }
.th-cat__n { margin: 8px 0 0; color: var(--th-muted); font-size: 13px; letter-spacing: .1em; }

/* ── Lưới sản phẩm ──────────────────────────────────────────────────
 * Không thẻ nền, không viền quanh thẻ: chỉ ảnh, rồi chữ bên dưới. Cột
 * thưa (3 cột ở màn rộng thay vì 4) cho đúng ý "rất nhiều khoảng trắng".
 * ------------------------------------------------------------------- */
.th-grid, body.th-shop ul.products {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: clamp(30px, 3.4vw, 56px) clamp(18px, 2.6vw, 40px);
	margin: 0; padding: 0; list-style: none;
}
body.th-shop ul.products::before, body.th-shop ul.products::after { content: none; }

/*
 * `[class]` trong chọn tử không phải thừa.
 *
 * WooCommerce đặt bề rộng thẻ sản phẩm bằng luật `.woocommerce
 * ul.products.columns-3 li.product { width: 30.75% }` — BỐN lớp, thắng
 * `body.th-shop ul.products li.product` (ba lớp). Trong lưới grid, 30.75% ấy
 * tính theo ô 400px nên thẻ co về 123px, nằm lọt thỏm giữa ô. Thêm `[class]`
 * là đủ bốn "lớp" ở vế của mình mà không phải viết `!important`.
 */
body.th-shop ul.products[class] li.product {
	width: auto; margin: 0; padding: 0; float: none; clear: none; text-align: left;
}

body.th-shop li.product a.woocommerce-LoopProduct-link { display: block; }
body.th-shop li.product img {
	width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin: 0;
	border: 1px solid var(--th-line); background: var(--th-panel-2);
	transition: transform var(--th-zoom), border-color var(--th-slow);
}
body.th-shop li.product:hover img { transform: scale(1.03); border-color: var(--th-copper-dim); }
/* Ảnh phóng trong khung: khung cắt phần thừa, không đẩy lưới. */
body.th-shop li.product .th-fig { display: block; overflow: hidden; }

body.th-shop li.product .woocommerce-loop-product__title {
	margin: 18px 0 0; padding: 0;
	font-family: var(--th-display); font-size: 13.5px; font-weight: 400;
	letter-spacing: .2em; text-transform: uppercase; color: var(--th-text);
	transition: color var(--th-slow);
}
body.th-shop li.product:hover .woocommerce-loop-product__title { color: var(--th-copper); }
body.th-shop li.product .price {
	display: block; margin: 10px 0 0; color: var(--th-copper);
	font-size: 14.5px; font-weight: 400; letter-spacing: .08em;
}
body.th-shop li.product .price del { margin-right: 10px; color: var(--th-muted); opacity: 1; }
body.th-shop li.product .price ins { background: none; color: var(--th-sale); text-decoration: none; }

/* Nhãn: chữ nhỏ giãn ký tự trên ảnh, KHÔNG có nền — đúng quy ước "chỉ nét kẻ". */
.th-tags { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; gap: 8px; }
.th-tag {
	padding: 5px 10px; border: 1px solid var(--th-copper); background: rgba(11,9,8,.72);
	color: var(--th-copper);
	font-family: var(--th-display); font-size: 9.5px; font-weight: 500;
	letter-spacing: .24em; text-transform: uppercase;
}
.th-tag--sale { border-color: var(--th-sale); color: var(--th-sale); }
body.th-shop li.product { position: relative; }

/* Nút "Thêm vào giỏ" trên lưới: chỉ là một dòng chữ có nét kẻ. */
body.th-shop li.product .button, body.th-shop li.product .added_to_cart {
	display: inline-block; margin: 14px 0 0; padding: 0 0 5px;
	border: 0; border-bottom: 1px solid var(--th-copper-dim); background: transparent;
	color: var(--th-copper); font-family: var(--th-display); font-size: 11px; font-weight: 500;
	letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
	transition: color var(--th-slow), border-color var(--th-slow);
}
body.th-shop li.product .button:hover, body.th-shop li.product .added_to_cart:hover {
	color: var(--th-copper-soft); border-color: var(--th-copper-soft);
}
body.th-shop li.product .button.loading { opacity: .6; }

/* ── Khối kể chuyện: ảnh một bên, chữ một bên ───────────────────────── */
.th-story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 88px); }
.th-story__fig { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--th-line); }
.th-story__fig img { width: 100%; height: 100%; object-fit: cover; }
.th-story__box .th-title { margin-bottom: 24px; }
.th-story__box p { margin: 0 0 18px; }
.th-story__box p:last-of-type { margin-bottom: 30px; }

/* ── Ba ghi chú hương: thuần chữ, chia bằng nét kẻ dọc ──────────────── */
.th-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--th-line); }
.th-note { padding: clamp(32px, 4vw, 56px) clamp(20px, 2.6vw, 44px); border-left: 1px solid var(--th-line); }
.th-note:first-child { border-left: 0; }
.th-note__i { display: block; color: var(--th-copper-dim); font-family: var(--th-display);
	font-size: 11px; letter-spacing: .3em; }
.th-note h3 { margin: 16px 0 12px; font-size: 17px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--th-text); font-weight: 300; }
.th-note p { margin: 0; font-size: 15px; }

/* ── Khối nhận bản tin cuối trang chủ ───────────────────────────────── */
.th-cta { text-align: center; }
.th-cta__form { margin: 36px auto 0; max-width: 520px; display: flex; gap: 0; }
.th-cta__form input[type="email"] {
	flex: 1; height: 56px; border: 1px solid var(--th-line); border-right: 0; padding: 0 18px;
	background: var(--th-panel-2); color: var(--th-text); font-size: 14px; letter-spacing: .06em;
}
.th-cta__form input[type="email"]::placeholder { color: var(--th-muted); }
.th-cta__form input[type="email"]:focus { outline: none; border-color: var(--th-copper-dim); }
.th-cta__form button { height: 56px; }
.th-cta__note { margin: 16px auto 0; max-width: 60ch; color: var(--th-muted); font-size: 13px; }

/* Khối gọi nhanh thay cho biểu mẫu trên điện thoại. */
.th-call { display: none; margin-top: 30px; text-align: center; }
.th-call p { margin: 0 0 16px; color: var(--th-body); }

/* =====================================================================
 * TRANG TRONG: DẢI ĐẦU TRANG, ĐƯỜNG DẪN
 * ===================================================================== */
.th-page__head { padding: clamp(48px, 6vw, 88px) 0 clamp(26px, 3vw, 42px); border-bottom: 1px solid var(--th-line-soft); }
.th-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--th-muted);
	font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.th-crumb a { transition: color var(--th-slow); }
.th-crumb a:hover { color: var(--th-copper); }
.th-page__title { margin-top: 20px; font-size: clamp(28px, 4.4vw, 52px); letter-spacing: .12em;
	text-transform: uppercase; color: var(--th-text); }
.th-page__sub { margin: 18px 0 0; max-width: 66ch; color: var(--th-body); }

/* =====================================================================
 * TRANG CỬA HÀNG
 * ===================================================================== */
.th-shopwrap { padding: clamp(34px, 4vw, 56px) 0 var(--th-pad); }
.th-shop__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 18px; margin-bottom: clamp(30px, 4vw, 52px); padding-bottom: 20px;
	border-bottom: 1px solid var(--th-line); }
.th-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.th-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
	border: 1px solid var(--th-line); color: var(--th-body);
	font-family: var(--th-display); font-size: 11px; font-weight: 500;
	letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
	transition: border-color var(--th-slow), color var(--th-slow);
}
.th-chip span { color: var(--th-muted); font-family: var(--th-sans); font-size: 11px; letter-spacing: 0; }
.th-chip:hover { border-color: var(--th-copper-dim); color: var(--th-text); }
.th-chip.is-on { border-color: var(--th-copper); color: var(--th-copper); }
.th-chip.is-on span { color: var(--th-copper-dim); }

.th-shop__sort select {
	height: 44px; border: 1px solid var(--th-line); padding: 0 14px;
	background: var(--th-panel-2); color: var(--th-body); font-size: 13px; letter-spacing: .06em;
}
.th-shop__sort select:focus { outline: none; border-color: var(--th-copper-dim); }
body.th-shop .woocommerce-ordering { margin: 0; }

.th-trong { padding: 60px 0; color: var(--th-muted); }

/* Phân trang */
body.th-shop .woocommerce-pagination { margin-top: clamp(44px, 5vw, 72px); }
body.th-shop .woocommerce-pagination ul { display: flex; gap: 8px; margin: 0; padding: 0; border: 0; list-style: none; }
body.th-shop .woocommerce-pagination li { border: 0; margin: 0; }
body.th-shop .woocommerce-pagination a, body.th-shop .woocommerce-pagination span {
	min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--th-line); background: transparent; color: var(--th-body);
	font-size: 13px; letter-spacing: .08em;
	transition: border-color var(--th-slow), color var(--th-slow);
}
body.th-shop .woocommerce-pagination a:hover { border-color: var(--th-copper-dim); color: var(--th-copper); }
body.th-shop .woocommerce-pagination span.current { border-color: var(--th-copper); color: var(--th-copper); }

/* =====================================================================
 * TRANG CHI TIẾT SẢN PHẨM
 * ===================================================================== */
.th-single__wrap { padding: clamp(36px, 4.4vw, 68px) 0 var(--th-pad); }

body.th-shop div.product { display: grid; grid-template-columns: 1.05fr 1fr;
	gap: clamp(30px, 4.6vw, 76px); }
body.th-shop div.product .woocommerce-product-gallery { float: none; width: auto; margin: 0; }
body.th-shop div.product .woocommerce-product-gallery__wrapper { margin: 0; }
body.th-shop div.product .woocommerce-product-gallery img { border: 1px solid var(--th-line); }
body.th-shop div.product .entry-summary { float: none; width: auto; margin: 0; }

/*
 * Nhãn "Giảm giá!" mặc định của WooCommerce trên ảnh sản phẩm: hình tròn nền
 * xanh lá, lạc hẳn bảng màu. Trên lưới thì nhãn ấy đã gỡ bằng `remove_action`
 * (inc/shop.php), còn ở trang chi tiết thì WooCommerce in trực tiếp nên phải
 * khai lại cho khớp nhãn riêng của mẫu. Chọn tử cần `.product` để đủ hai lớp,
 * nếu không luật `.woocommerce span.onsale` của plugin thắng.
 */
body.th-shop .product span.onsale {
	position: absolute; z-index: 2; top: 14px; left: 14px; right: auto;
	min-width: 0; min-height: 0; margin: 0; padding: 6px 12px;
	border: 1px solid var(--th-sale); border-radius: 0;
	background: rgba(11, 9, 8, .72); color: var(--th-sale);
	font-family: var(--th-display); font-size: 9.5px; font-weight: 500; line-height: 1.5;
	letter-spacing: .24em; text-transform: uppercase;
}

body.th-shop div.product .price { margin: 0 0 22px; color: var(--th-copper);
	font-family: var(--th-display); font-size: 26px; font-weight: 300; letter-spacing: .06em; }
body.th-shop div.product .price del { margin-right: 12px; color: var(--th-muted); font-size: 18px; }
body.th-shop div.product .price ins { background: none; color: var(--th-sale); text-decoration: none; }

body.th-shop div.product .woocommerce-product-details__short-description { margin-bottom: 28px; color: var(--th-body); }
body.th-shop div.product .woocommerce-product-details__short-description p { margin: 0 0 12px; }

body.th-shop div.product form.cart { margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
body.th-shop div.product form.cart .quantity input[type="number"] {
	width: 84px; height: 54px; border: 1px solid var(--th-line); padding: 0 10px;
	background: var(--th-panel-2); color: var(--th-text); text-align: center; font-size: 15px;
}
body.th-shop div.product form.cart button.single_add_to_cart_button {
	min-height: 54px; border: 1px solid var(--th-copper); padding: 0 40px;
	background: var(--th-copper); color: #120D08;
	font-family: var(--th-display); font-size: 12px; font-weight: 600;
	letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
	transition: background var(--th-slow), border-color var(--th-slow);
}
body.th-shop div.product form.cart button.single_add_to_cart_button:hover {
	background: var(--th-copper-soft); border-color: var(--th-copper-soft);
}

body.th-shop .product_meta { padding-top: 22px; border-top: 1px solid var(--th-line);
	color: var(--th-muted); font-size: 13px; letter-spacing: .06em; }
body.th-shop .product_meta > span { display: block; margin-bottom: 8px; }
body.th-shop .product_meta a { color: var(--th-body); }
body.th-shop .product_meta a:hover { color: var(--th-copper); }

/* Thẻ Mô tả / Thông tin thêm */
body.th-shop .woocommerce-tabs { grid-column: 1 / -1; margin-top: clamp(44px, 5vw, 80px);
	padding-top: clamp(30px, 3.4vw, 50px); border-top: 1px solid var(--th-line); }
body.th-shop div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 30px;
	padding: 0; border: 0; list-style: none; }
body.th-shop div.product .woocommerce-tabs ul.tabs::before { content: none; }
body.th-shop div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
body.th-shop div.product .woocommerce-tabs ul.tabs li::before, body.th-shop div.product .woocommerce-tabs ul.tabs li::after { content: none; }
/* Thẻ đang mở: WooCommerce tô nền trắng bằng luật năm lớp, phải khai riêng
   thì mới đè được. */
body.th-shop div.product .woocommerce-tabs ul.tabs li.active {
	background: none; border: 0; box-shadow: none;
}
body.th-shop div.product .woocommerce-tabs ul.tabs li a {
	display: block; padding: 0 0 8px; border-bottom: 1px solid transparent; color: var(--th-muted);
	font-family: var(--th-display); font-size: 12px; font-weight: 500;
	letter-spacing: .24em; text-transform: uppercase;
	transition: color var(--th-slow), border-color var(--th-slow);
}
body.th-shop div.product .woocommerce-tabs ul.tabs li.active a, body.th-shop div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--th-copper); border-bottom-color: var(--th-copper);
}
body.th-shop .woocommerce-Tabs-panel h2 { margin: 0 0 16px; font-size: 20px; letter-spacing: .18em;
	text-transform: uppercase; color: var(--th-text); font-weight: 300; }
body.th-shop .woocommerce-Tabs-panel p { max-width: 76ch; }

/* Sản phẩm liên quan */
body.th-shop .related.products, body.th-shop .up-sells {
	grid-column: 1 / -1; margin-top: clamp(50px, 6vw, 96px);
	padding-top: clamp(34px, 4vw, 58px); border-top: 1px solid var(--th-line);
}
body.th-shop .related.products > h2, body.th-shop .up-sells > h2 {
	margin: 0 0 clamp(26px, 3vw, 44px); text-align: center;
	font-size: clamp(20px, 2.4vw, 28px); letter-spacing: .24em; text-transform: uppercase;
	color: var(--th-text); font-weight: 200;
}

/* Thông báo của WooCommerce */
body.th-shop .woocommerce-message, body.th-shop .woocommerce-info, body.th-shop .woocommerce-error {
	margin: 0 0 26px; padding: 16px 20px; border: 0; border-left: 2px solid var(--th-copper);
	background: var(--th-panel); color: var(--th-body); font-size: 14.5px; list-style: none;
}
body.th-shop .woocommerce-message::before, body.th-shop .woocommerce-info::before,
body.th-shop .woocommerce-error::before { content: none; }
body.th-shop .woocommerce-message .button, body.th-shop .woocommerce-info .button {
	margin-left: 14px; border: 1px solid var(--th-copper-dim); padding: 8px 18px; background: transparent;
	color: var(--th-copper); font-family: var(--th-display); font-size: 11px;
	letter-spacing: .2em; text-transform: uppercase;
}

/* =====================================================================
 * TRANG GIỚI THIỆU + LIÊN HỆ
 * ===================================================================== */
.th-hero-sm { position: relative; min-height: 46vh; display: flex; align-items: flex-end; overflow: hidden; }
.th-hero-sm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.th-hero-sm::after { content: ''; position: absolute; inset: 0;
	background: linear-gradient(0deg, var(--th-ink) 2%, rgba(11,9,8,.55) 60%, rgba(11,9,8,.3) 100%); }
.th-hero-sm__in { position: relative; z-index: 1; padding: 0 0 clamp(34px, 5vw, 60px); }

.th-prose { max-width: 74ch; }
.th-prose p { margin: 0 0 18px; }
.th-prose h2 { margin: 42px 0 16px; font-size: clamp(21px, 2.4vw, 28px); letter-spacing: .2em;
	text-transform: uppercase; color: var(--th-text); font-weight: 300; }
.th-prose ul { margin: 0 0 18px; padding-left: 18px; }
.th-prose li { margin-bottom: 10px; }

.th-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
	margin: clamp(44px, 5vw, 72px) 0 0; border-top: 1px solid var(--th-line); }
.th-fact { padding: clamp(28px, 3.4vw, 44px) clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--th-line); }
.th-fact:first-child { border-left: 0; }
.th-fact b { display: block; color: var(--th-copper); font-family: var(--th-display);
	font-size: clamp(26px, 3.2vw, 38px); font-weight: 200; letter-spacing: .06em; }
.th-fact span { display: block; margin-top: 10px; color: var(--th-muted); font-size: 13px;
	letter-spacing: .14em; text-transform: uppercase; }

.th-lh { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); }
.th-lh__list { margin: 0; padding: 0; list-style: none; }
.th-lh__list li { padding: 22px 0; border-top: 1px solid var(--th-line); }
.th-lh__list li:first-child { border-top: 0; padding-top: 0; }
.th-lh__k { display: block; color: var(--th-muted); font-family: var(--th-display); font-size: 11px;
	letter-spacing: .26em; text-transform: uppercase; }
.th-lh__v { display: block; margin-top: 8px; color: var(--th-text); font-size: 17px; letter-spacing: .04em; }
.th-lh__v a:hover { color: var(--th-copper); }

.th-form { display: grid; gap: 18px; }
.th-form label { display: block; margin-bottom: 8px; color: var(--th-muted);
	font-family: var(--th-display); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.th-form input, .th-form textarea {
	width: 100%; border: 1px solid var(--th-line); padding: 14px 16px;
	background: var(--th-panel-2); color: var(--th-text); font-size: 15px;
	transition: border-color var(--th-slow);
}
.th-form input:focus, .th-form textarea:focus { outline: none; border-color: var(--th-copper-dim); }
.th-form textarea { min-height: 150px; resize: vertical; }
.th-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.th-form__note { margin: 0; color: var(--th-muted); font-size: 13px; }
.th-lh__note { margin-top: 22px; }

/* Lời nhắn sau khi bấm gửi biểu mẫu mẫu. */
.th-toast { position: fixed; z-index: 90; left: 50%; bottom: 26px; transform: translateX(-50%);
	width: min(560px, calc(100% - 32px)); padding: 16px 20px;
	border: 1px solid var(--th-copper-dim); background: var(--th-panel); color: var(--th-body);
	font-size: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }

/* =====================================================================
 * CHÂN TRANG
 * ===================================================================== */
.th-foot { border-top: 1px solid var(--th-line); background: var(--th-ink); }
.th-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
	gap: clamp(28px, 3.4vw, 60px); padding: clamp(56px, 6vw, 96px) 0 clamp(40px, 4vw, 64px); }
.th-foot__brand .th-brand { align-items: flex-start; }
.th-foot__desc { margin: 20px 0 24px; max-width: 42ch; color: var(--th-muted); font-size: 14.5px; }
.th-foot__lh { margin: 0; padding: 0; list-style: none; }
.th-foot__lh li { display: flex; align-items: center; gap: 11px; margin-bottom: 12px;
	color: var(--th-body); font-size: 14.5px; }
.th-foot__lh svg { width: 16px; height: 16px; flex: none; color: var(--th-copper-dim); }
.th-foot__lh a:hover { color: var(--th-copper); }

.th-foot__col h2 { margin: 0 0 20px; color: var(--th-text); font-family: var(--th-display);
	font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.th-foot__col ul { margin: 0; padding: 0; list-style: none; }
.th-foot__col li { margin-bottom: 12px; }
.th-foot__col a { position: relative; display: inline-block; color: var(--th-muted); font-size: 14.5px;
	transition: color var(--th-slow); }
.th-foot__col a span { position: relative; }
.th-foot__col a span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
	background: var(--th-copper-dim); transform: scaleX(0); transform-origin: left center;
	transition: transform var(--th-slow); }
.th-foot__col a:hover { color: var(--th-copper); }
.th-foot__col a:hover span::after { transform: scaleX(1); }

.th-sub { display: flex; margin-top: 18px; }
.th-sub__in { flex: 1; height: 50px; border: 1px solid var(--th-line); border-right: 0; padding: 0 14px;
	background: var(--th-panel-2); color: var(--th-text); font-size: 14px; }
.th-sub__in::placeholder { color: var(--th-muted); }
.th-sub__in:focus { outline: none; border-color: var(--th-copper-dim); }
.th-sub__go { height: 50px; padding: 0 22px; border: 1px solid var(--th-copper); background: var(--th-copper);
	color: #120D08; font-family: var(--th-display); font-size: 11px; font-weight: 600;
	letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
	transition: background var(--th-slow), border-color var(--th-slow); }
.th-sub__go:hover { background: var(--th-copper-soft); border-color: var(--th-copper-soft); }
.th-sub__note { margin: 14px 0 0; color: var(--th-muted); font-size: 12.5px; }

.th-foot__bot { border-top: 1px solid var(--th-line-soft); }
.th-foot__bot .th-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
	padding: 24px 0; }
.th-foot__bot p { margin: 0; color: var(--th-muted); font-size: 12.5px; letter-spacing: .06em; }
.th-foot__bot a { color: var(--th-body); }
.th-foot__bot a:hover { color: var(--th-copper); }

/* =====================================================================
 * HIỆN DẦN KHI CUỘN TỚI
 * Lớp `is-reveal` 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 đủ và trình thu thập luôn thấy nội
 * dung. Chuyển động chậm (1.1s) và đi rất ngắn (14px), đúng ý "tiết chế".
 * ===================================================================== */
.is-reveal { opacity: 0; transform: translateY(14px); }
.is-reveal.is-in { opacity: 1; transform: none;
	transition: opacity 1.1s cubic-bezier(.22,.61,.36,1), transform 1.1s cubic-bezier(.22,.61,.36,1); }

/* =====================================================================
 * TRANG TIỆN ÍCH: GIỎ HÀNG, THANH TOÁN, TÀI KHOẢN
 *
 * Ba trang này do WooCommerce dựng bằng KHỐI (block). Khối lấy màu chữ,
 * viền và nền từ theme.json chứ không từ CSS của theme con, nên trên nền
 * tối chúng ra chữ sẫm trên nền sẫm ở hàng chục chỗ nhỏ. Thay vì đuổi
 * theo từng lớp, vùng nội dung ĐẢO sang nền giấy sáng — khối trở về đúng
 * môi trường mặc định của nó, ta chỉ phải chỉnh lại màu nút.
 *
 * Không có `page.php` riêng thì ba trang này rơi về `page.php` của theme
 * mẹ, kéo theo dải đầu trang gradient xanh — lạc hẳn khỏi bảng màu.
 * ===================================================================== */
.th-page__body { padding: clamp(34px, 4vw, 56px) 0 var(--th-pad); }

.th-paper { background: var(--th-paper); color: var(--th-paper-ink); }
.th-paper .th-page__body { padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
body.th-shop .th-paper h1, body.th-shop .th-paper h2, body.th-shop .th-paper h3 { color: var(--th-paper-ink); }
.th-paper a { color: #7A5631; }
.th-paper a:hover { color: var(--th-paper-ink); }
.th-paper input, .th-paper textarea, .th-paper select {
	background: #FFFFFF; color: var(--th-paper-ink); border-color: var(--th-paper-line); }

body.th-shop .th-paper .wc-block-components-button:not(.is-link),
body.th-shop .th-paper .wc-block-cart__submit-button,
body.th-shop .th-paper .wc-block-components-checkout-place-order-button,
body.th-shop .th-paper a.button, body.th-shop .th-paper button.button,
body.th-shop .th-paper input.button, body.th-shop .th-paper .button.alt,
body.th-shop .th-paper #place_order {
	min-height: 52px; border: 1px solid var(--th-paper-ink); border-radius: 0; padding: 0 30px;
	background: var(--th-paper-ink); color: var(--th-paper);
	font-family: var(--th-display); font-size: 12px; font-weight: 600;
	letter-spacing: .24em; text-transform: uppercase;
	transition: background var(--th-slow), border-color var(--th-slow), color var(--th-slow);
}
body.th-shop .th-paper .wc-block-components-button:not(.is-link):hover,
body.th-shop .th-paper .wc-block-cart__submit-button:hover,
body.th-shop .th-paper .wc-block-components-checkout-place-order-button:hover,
body.th-shop .th-paper a.button:hover, body.th-shop .th-paper button.button:hover,
body.th-shop .th-paper input.button:hover, body.th-shop .th-paper .button.alt:hover,
body.th-shop .th-paper #place_order:hover {
	background: var(--th-copper-dim); border-color: var(--th-copper-dim); color: #FFFFFF;
}

/* =====================================================================
 * MÀN HÌNH HẸP
 * ===================================================================== */
@media (max-width: 1100px) {
	.th-grid, body.th-shop ul.products { grid-template-columns: repeat(2, 1fr); }
	body.th-shop div.product { grid-template-columns: 1fr; }
	.th-story { grid-template-columns: 1fr; }
	.th-lh { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
	.th-head__row { min-height: 72px; grid-template-columns: auto 1fr auto; }
	.th-brand { justify-self: start; align-items: flex-start; }
	.th-brand__name { font-size: 16px; letter-spacing: .3em; text-indent: .3em; }

	/* Menu điện thoại: tấm phủ kín màn, chữ to, mỗi mục một dòng. */
	.th-nav {
		position: fixed; z-index: 70; inset: 0; display: none;
		padding: 92px var(--th-gut) 40px; background: var(--th-ink); overflow-y: auto;
	}
	.th-nav.is-open { display: block; }
	.th-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.th-nav li { border-bottom: 1px solid var(--th-line); }
	.th-nav a { padding: 20px 0; font-size: 15px; letter-spacing: .24em; }
	.th-nav a::after { content: none; }

	.th-burger { display: block; order: 3; }
	.th-search { display: none; }
	.th-cart__label { display: none; }
	.th-tools { gap: 14px; }

	.th-cats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
	.th-cat__name { font-size: 12px; letter-spacing: .18em; }
	.th-notes, .th-facts { grid-template-columns: 1fr; }
	.th-note, .th-fact { border-left: 0; border-top: 1px solid var(--th-line); }
	.th-note:first-child, .th-fact:first-child { border-top: 0; }
	.th-form__row { grid-template-columns: 1fr; }
}

/*
 * Dưới 960px: biểu mẫu ẩn hẳn, khối gọi nhanh thế chỗ. `display: none` cũng
 * gỡ ô nhập khỏi thứ tự tiêu điểm bàn phím — không có cảnh tab vào một ô vô
 * hình. Gõ email trên điện thoại là việc thừa khi bấm gọi nhanh hơn hẳn.
 */
@media (max-width: 960px) {
	.th-cta__form, .th-cta__note, .th-form, .th-foot__news { display: none; }
	.th-call { display: block; }
}

@media (max-width: 760px) {
	.th-bar__in { flex-direction: column; gap: 6px; }
	.th-hero { min-height: 76vh; }
	.th-hero__cue { display: none; }
	.th-cats { grid-template-columns: 1fr; gap: 26px; }
	.th-foot__grid { grid-template-columns: 1fr 1fr; }
	.th-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
	/* Một cột: ảnh to hết bề ngang, đúng tinh thần ít nhưng rõ. */
	.th-grid, body.th-shop ul.products { grid-template-columns: 1fr; gap: 36px; }
	.th-foot__grid { grid-template-columns: 1fr; }
	.th-hero__act { flex-direction: column; align-items: stretch; }
	.th-btn { width: 100%; }
	body.th-shop div.product form.cart { flex-direction: column; }
	body.th-shop div.product form.cart button.single_add_to_cart_button { width: 100%; }
}

/* =====================================================================
 * XIN BỚT CHUYỂN ĐỘNG
 * ===================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	body.th-shop *, body.th-shop *::before, body.th-shop *::after {
		animation-duration: .001ms !important; animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.is-reveal { opacity: 1; transform: none; }
}
