/*
Theme Name: VinaSite Nội thất 04 — Trục Thép
Theme URI: https://mauwebsitedep.net/
Description: Mẫu website nội thất văn phòng và công trình (B2B): xanh dương công nghiệp với xám thép, phông sans chắc, bố cục nhiều thông tin — bảng thông số, khối dự án minh hoạ, quy trình đo vẽ — thi công — bàn giao. Giao diện con của vinasite, chạy WooCommerce. Mẫu demo của VinaSite.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: noithat-mau-04
*/

/* =====================================================================
 * 0. BIẾN
 * Xanh dương công nghiệp + xám thép. Không gradient, không bo góc lớn:
 * mẫu này cố ý khác hẳn ba mẫu nội thất còn lại trong bộ (01 nâu be ấm,
 * 02 trắng xám Scandinavian, 03 nền tối đồng kim).
 * ===================================================================== */
:root {
	--tth-nen:      #ffffff;
	--tth-nen2:     #f2f5f8;   /* dải nền xám thép rất nhạt */
	--tth-nen3:     #e6ecf2;   /* ô bảng, nền nhãn */
	--tth-toi:      #0e1c2a;   /* nền tối: dải đầu trang, chân trang, khối gọi */
	--tth-toi2:     #16293c;

	--tth-muc:      #0f1c29;   /* tiêu đề — 16,3:1 trên nền trắng */
	--tth-than:     #35475a;   /* chữ nội dung — 9,1:1 */
	--tth-mo:       #5c6f82;   /* chữ phụ — 5,4:1 */
	--tth-vien:     #d5dde5;
	--tth-vien2:    #bcc8d4;

	--tth-xanh:     #0b5cab;   /* xanh công nghiệp — nút, liên kết, giá — 6,6:1 */
	--tth-xanh-d:   #084785;
	--tth-xanh-n:   #e8f0f9;   /* nền nhạt của xanh */
	--tth-thep:     #46586b;   /* xám thép đậm — nhãn phụ, viền nhấn */
	--tth-vang:     #c97a0a;   /* vàng công trường — chỉ dùng cho nhãn, 4,6:1 */
	--tth-vang-n:   #fdf3e2;
	--tth-do:       #b43527;   /* giá giảm — 6,0:1 */

	/* Chữ trên nền tối. */
	--tth-sang:     #e9eef4;   /* 14,2:1 trên nền tối */
	--tth-sang2:    #b4c2d1;   /* 8,3:1 */
	--tth-sang3:    #8699ac;   /* 5,3:1 */

	--tth-wrap:     1280px;
	--tth-r:        3px;       /* bo góc — gần như vuông, đúng giọng công nghiệp */
	--tth-head:     'Barlow', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--tth-sans:     'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* =====================================================================
 * 1. NỀN CHUNG
 * ===================================================================== */
body.tth-shop {
	margin: 0;
	background: var(--tth-nen);
	color: var(--tth-than);
	font-family: var(--tth-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Theme mẹ có luật riêng cho h1–h3 trong nội dung, thắng mọi khai báo một lớp.
   Hai lớp 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.tth-shop h1,
body.tth-shop h2,
body.tth-shop h3,
body.tth-shop h4 {
	color: inherit;
	font-family: var(--tth-head);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.01em;
	margin: 0;
}

/* Phông phải đặt cho CẢ trang phụ (giỏ hàng, thanh toán, tài khoản), nếu không
   chúng chạy phông của theme mẹ. */
body.tth-shop .vs-scope,
body.tth-shop .vs-scope p,
body.tth-shop .vs-scope li,
body.tth-shop .vs-scope td,
body.tth-shop .vs-scope th,
body.tth-shop .vs-scope label,
body.tth-shop input,
body.tth-shop select,
body.tth-shop textarea,
body.tth-shop button {
	font-family: var(--tth-sans);
}

/*
 * Màu liên kết mặc định CHỈ đặt cho vùng nội dung và cho khối của WooCommerce.
 * Khai cho mọi thẻ `a` thì luật ấy (hai thẻ + một lớp) thắng hầu hết luật một
 * lớp của theme — nút, chip, menu và chân trang đều bị nhuộm xanh theo. Mỗi
 * thành phần ở dưới đã tự đặt màu của nó rồi.
 */
body.tth-shop .tth-page__body a,
body.tth-shop .woocommerce a,
body.tth-shop .woocommerce-page .woocommerce a { color: var(--tth-xanh); }
body.tth-shop img { max-width: 100%; height: auto; display: block; }
body.tth-shop *, body.tth-shop *::before, body.tth-shop *::after { box-sizing: border-box; }

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

.tth-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--tth-xanh);
	color: #fff;
	padding: 10px 18px;
	z-index: 999;
}
.tth-skip:focus { left: 8px; top: 8px; }

/* Nhãn chữ nhỏ in hoa — dấu nhận diện của mẫu này, dùng lại ở mọi khối. */
.tth-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--tth-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tth-xanh);
	margin: 0 0 14px;
}
.tth-eyebrow::before {
	content: '';
	width: 22px;
	height: 2px;
	background: var(--tth-xanh);
}
.tth-eyebrow--sang { color: var(--tth-sang3); }
.tth-eyebrow--sang::before { background: var(--tth-sang3); }

/* Nút. Góc gần vuông, chữ in hoa hẹp — khác hẳn nút bo tròn của các mẫu kia. */
.tth-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 24px;
	border: 1px solid var(--tth-xanh);
	border-radius: var(--tth-r);
	background: var(--tth-xanh);
	color: #fff;
	font-family: var(--tth-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease;
}
.tth-btn:hover { background: var(--tth-xanh-d); border-color: var(--tth-xanh-d); color: #fff; }
.tth-btn svg { width: 16px; height: 16px; flex: none; }

.tth-btn--vien {
	background: transparent;
	color: var(--tth-xanh);
	border-color: var(--tth-vien2);
}
.tth-btn--vien:hover { background: var(--tth-xanh-n); color: var(--tth-xanh-d); border-color: var(--tth-xanh); }

.tth-btn--sang {
	background: #fff;
	border-color: #fff;
	color: var(--tth-toi);
}
.tth-btn--sang:hover { background: var(--tth-sang2); border-color: var(--tth-sang2); color: var(--tth-toi); }

.tth-btn--troi {
	background: transparent;
	border-color: rgba(255,255,255,.4);
	color: var(--tth-sang);
}
.tth-btn--troi:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* =====================================================================
 * 2. DẢI THÔNG BÁO + ĐẦU TRANG
 * Đầu trang DÍNH nhưng chiều cao KHÔNG đổi khi cuộn: `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õ.
 * ===================================================================== */
.tth-bar {
	background: var(--tth-toi);
	color: var(--tth-sang2);
	font-size: 13px;
}
.tth-bar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
	flex-wrap: wrap;
}
.tth-bar strong { color: #fff; font-weight: 600; }
.tth-bar__lh {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}
.tth-bar__lh a {
	color: var(--tth-sang);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.tth-bar__lh a:hover { color: #fff; text-decoration: underline; }
.tth-bar__lh svg { width: 14px; height: 14px; flex: none; }

.tth-head {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--tth-nen);
	border-bottom: 1px solid var(--tth-vien);
	transition: box-shadow .2s ease;
}
.tth-head.is-stuck { box-shadow: 0 2px 14px rgba(15,28,41,.1); }

.tth-head__row {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}

.tth-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--tth-muc);
	flex: none;
}
.tth-brand__mark { display: block; line-height: 0; }
.tth-brand__text { display: flex; flex-direction: column; }
.tth-brand__name {
	font-family: var(--tth-head);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.1;
}
.tth-brand__tag {
	font-family: var(--tth-head);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tth-mo);
	margin-top: 2px;
}

.tth-nav { margin-left: auto; }
.tth-nav ul {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.tth-nav a {
	position: relative;
	display: block;
	padding: 6px 0;
	color: var(--tth-than);
	font-family: var(--tth-head);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
}
.tth-nav a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--tth-xanh);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .18s ease;
}
.tth-nav a:hover { color: var(--tth-xanh); }
.tth-nav a:hover::after,
.tth-nav a[aria-current="page"]::after { transform: scaleX(1); }
.tth-nav a[aria-current="page"] { color: var(--tth-xanh); }

.tth-tools {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.tth-search {
	display: flex;
	align-items: center;
	gap: 7px;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen2);
	padding: 0 10px;
	height: 40px;
}
.tth-search svg { width: 17px; height: 17px; color: var(--tth-mo); flex: none; }
.tth-search input {
	border: 0;
	background: transparent;
	outline: 0;
	width: 136px;
	font-size: 14px;
	color: var(--tth-muc);
}
.tth-search button {
	border: 0;
	background: transparent;
	color: var(--tth-xanh);
	font-family: var(--tth-head);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	cursor: pointer;
	padding: 0 2px;
}

.tth-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 13px;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	color: var(--tth-muc);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}
.tth-cart:hover { border-color: var(--tth-xanh); color: var(--tth-xanh); }
.tth-cart svg { width: 19px; height: 19px; }
.tth-cart__n {
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--tth-xanh);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}
.tth-cart__n[data-tth-n="0"] { display: none; }
.tth-cart__n.is-bump { animation: tth-bump .4s ease; }
@keyframes tth-bump {
	0% { transform: scale(1); }
	40% { transform: scale(1.3); }
	100% { transform: scale(1); }
}

/* Nút xin báo giá trên đầu trang: nhỏ hơn nút trong nội dung một nấc, và tự ẩn
   khi hàng đầu trang hết chỗ — số điện thoại vẫn còn ở dải tối phía trên. */
.tth-head__cta { padding: 11px 18px; font-size: 13px; }

.tth-burger {
	display: none;
	width: 42px;
	height: 40px;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	cursor: pointer;
	padding: 0;
}
.tth-burger span[aria-hidden] {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
}
.tth-burger i { display: block; width: 18px; height: 2px; background: var(--tth-muc); }

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

/* =====================================================================
 * 3. TRANG CHỦ
 * ===================================================================== */
.tth-main { display: block; }

/* 3.1 Hero: cột chữ bên trái, ảnh công trình bên phải, dải số liệu bên dưới. */
.tth-hero { border-bottom: 1px solid var(--tth-vien); background: var(--tth-nen); }
.tth-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(32px, 4vw, 64px);
	align-items: center;
	padding: clamp(44px, 5vw, 76px) 0;
}
.tth-hero__text { min-width: 0; }
.tth-hero h1 {
	font-size: clamp(34px, 4.6vw, 54px);
	color: var(--tth-muc);
	margin-bottom: 18px;
}
.tth-hero h1 em {
	font-style: normal;
	color: var(--tth-xanh);
}
.tth-hero__sub {
	font-size: 17px;
	color: var(--tth-than);
	margin: 0 0 26px;
	max-width: 54ch;
}
.tth-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.tth-hero__media {
	position: relative;
	min-width: 0;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	overflow: hidden;
}
.tth-hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tth-hero__note {
	position: absolute;
	left: 0;
	bottom: 0;
	background: var(--tth-toi);
	color: var(--tth-sang);
	font-family: var(--tth-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 9px 16px;
}

/* Dải số liệu: bốn ô ngăn nhau bằng đường kẻ, không thẻ, không bóng. */
.tth-so {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--tth-vien);
	background: var(--tth-nen2);
}
.tth-so__o {
	padding: 22px 24px;
	border-left: 1px solid var(--tth-vien);
	min-width: 0;
}
.tth-so__o:first-child { border-left: 0; }
.tth-so__n {
	display: block;
	font-family: var(--tth-head);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 700;
	color: var(--tth-muc);
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}
.tth-so__l {
	display: block;
	font-size: 13px;
	color: var(--tth-mo);
	margin-top: 4px;
}

/* 3.2 Khối chung */
.tth-sec { padding: clamp(48px, 5.5vw, 84px) 0; }
.tth-sec--xam { background: var(--tth-nen2); border-top: 1px solid var(--tth-vien); border-bottom: 1px solid var(--tth-vien); }
.tth-sec--toi { background: var(--tth-toi); color: var(--tth-sang2); }
.tth-sec--toi h2, .tth-sec--toi h3 { color: var(--tth-sang); }

.tth-sec__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}
.tth-sec__head > div { min-width: 0; }
.tth-sec__head h2 {
	font-size: clamp(26px, 3vw, 36px);
	color: var(--tth-muc);
}
.tth-sec--toi .tth-sec__head h2 { color: var(--tth-sang); }
.tth-sec__sub {
	margin: 10px 0 0;
	color: var(--tth-mo);
	max-width: 62ch;
}
.tth-sec--toi .tth-sec__sub { color: var(--tth-sang3); }
.tth-sec__more {
	font-family: var(--tth-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--tth-xanh);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}
.tth-sec__more svg { width: 15px; height: 15px; }
.tth-sec__more:hover { text-decoration: underline; }

/* 3.3 Ba nhóm hàng — thẻ ngang, ảnh trên, nhãn mã nhóm dưới. */
.tth-nhom {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.tth-nhom__o {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	text-decoration: none;
	overflow: hidden;
	min-width: 0;
	transition: border-color .18s ease, transform .18s ease;
}
.tth-nhom__o:hover { border-color: var(--tth-xanh); transform: translateY(-3px); }
.tth-nhom__anh { overflow: hidden; }
.tth-nhom__anh img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .4s ease;
}
.tth-nhom__o:hover .tth-nhom__anh img { transform: scale(1.04); }
.tth-nhom__than { padding: 20px 22px 22px; }
.tth-nhom__ma {
	font-family: var(--tth-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	color: var(--tth-mo);
}
.tth-nhom__ten {
	font-size: 21px;
	color: var(--tth-muc);
	margin: 6px 0 8px;
}
.tth-nhom__mo { font-size: 14px; color: var(--tth-than); margin: 0 0 14px; }
.tth-nhom__di {
	font-family: var(--tth-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--tth-xanh);
}

/* 3.4 Bảng thông số — khối đặc trưng nhất của mẫu B2B này. */
.tth-bang-boc {
	overflow-x: auto;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
}
.tth-bang {
	width: 100%;
	min-width: 660px;
	border-collapse: collapse;
	font-size: 14.5px;
}
.tth-bang th, .tth-bang td {
	text-align: left;
	padding: 14px 18px;
	border-bottom: 1px solid var(--tth-vien);
	vertical-align: top;
}
.tth-bang thead th {
	background: var(--tth-toi);
	color: var(--tth-sang);
	font-family: var(--tth-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	border-bottom: 0;
}
.tth-bang tbody tr:nth-child(even) { background: var(--tth-nen2); }
.tth-bang tbody tr:last-child th, .tth-bang tbody tr:last-child td { border-bottom: 0; }
.tth-bang tbody th {
	font-family: var(--tth-head);
	font-weight: 600;
	color: var(--tth-muc);
	width: 190px;
}
.tth-bang td { color: var(--tth-than); font-variant-numeric: tabular-nums; }
.tth-bang__note { margin: 14px 0 0; font-size: 13.5px; color: var(--tth-mo); }

/* 3.5 Quy trình bốn bước */
.tth-qt {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	overflow: hidden;
}
.tth-qt__b {
	padding: 26px 24px 28px;
	border-left: 1px solid var(--tth-vien);
	min-width: 0;
}
.tth-qt__b:first-child { border-left: 0; }
.tth-qt__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--tth-r);
	background: var(--tth-xanh-n);
	color: var(--tth-xanh);
	font-family: var(--tth-head);
	font-size: 17px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	margin-bottom: 14px;
}
.tth-qt__t { font-size: 18px; color: var(--tth-muc); margin-bottom: 8px; }
.tth-qt__m { font-size: 14px; color: var(--tth-than); margin: 0; }
.tth-qt__tg {
	display: inline-block;
	margin-top: 12px;
	font-family: var(--tth-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tth-vang);
	background: var(--tth-vang-n);
	padding: 4px 9px;
	border-radius: var(--tth-r);
}

/* 3.6 Dự án minh hoạ */
.tth-da {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.tth-da__o {
	border: 1px solid rgba(255,255,255,.14);
	border-radius: var(--tth-r);
	background: var(--tth-toi2);
	overflow: hidden;
	min-width: 0;
}
.tth-da__o img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tth-da__than { padding: 20px 22px 22px; }
.tth-da__t { font-size: 19px; color: var(--tth-sang); margin-bottom: 12px; }
.tth-ts__dong {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 7px 0;
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: 14px;
}
.tth-ts__dong dt { color: var(--tth-sang3); margin: 0; }
.tth-ts__dong dd { color: var(--tth-sang); margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.tth-da__dl { margin: 0; }
.tth-da__note { margin: 20px 0 0; font-size: 13.5px; color: var(--tth-sang3); }

/* Khối dự án khi đặt trên nền sáng (trang Giới thiệu). */
.tth-sec--xam .tth-da__o { background: var(--tth-nen); border-color: var(--tth-vien); }
.tth-sec--xam .tth-da__t { color: var(--tth-muc); }
.tth-sec--xam .tth-ts__dong { border-top-color: var(--tth-vien); }
.tth-sec--xam .tth-ts__dong dt { color: var(--tth-mo); }
.tth-sec--xam .tth-ts__dong dd { color: var(--tth-muc); }
.tth-sec--xam .tth-da__note { color: var(--tth-mo); }

/* 3.7 Khối cam kết — bốn ô có biểu tượng */
.tth-ck {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.tth-ck__o {
	padding: 24px;
	border: 1px solid var(--tth-vien);
	border-top: 3px solid var(--tth-xanh);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	min-width: 0;
}
.tth-ck__o svg { width: 26px; height: 26px; color: var(--tth-xanh); margin-bottom: 12px; }
.tth-ck__t { font-size: 17px; color: var(--tth-muc); margin-bottom: 7px; }
.tth-ck__m { font-size: 14px; margin: 0; color: var(--tth-than); }

/* 3.8 Khối yêu cầu báo giá */
.tth-bg__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}
.tth-bg__text { min-width: 0; }
.tth-bg__text h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.tth-bg__text p { color: var(--tth-sang3); margin: 0 0 20px; }
.tth-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	background: var(--tth-toi2);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: var(--tth-r);
	padding: 24px;
}
.tth-form label {
	display: block;
	font-family: var(--tth-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tth-sang3);
	margin-bottom: 6px;
}
.tth-form__o { min-width: 0; }
.tth-form__o--rong { grid-column: 1 / -1; }
.tth-form input,
.tth-form select,
.tth-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: var(--tth-r);
	background: rgba(255,255,255,.06);
	color: var(--tth-sang);
	font-size: 15px;
}
.tth-form input::placeholder, .tth-form textarea::placeholder { color: var(--tth-sang3); }
.tth-form input:focus, .tth-form select:focus, .tth-form textarea:focus {
	outline: 2px solid var(--tth-xanh);
	outline-offset: 1px;
}
.tth-form textarea { resize: vertical; min-height: 92px; }
.tth-form select option { color: #111; }
.tth-form__note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--tth-sang3); }
.tth-form .tth-btn { grid-column: 1 / -1; }

/* Khối gọi nhanh thay biểu mẫu trên điện thoại. */
.tth-goi { display: none; }
.tth-goi__o {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--tth-toi2);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: var(--tth-r);
	padding: 22px;
}
.tth-goi__o p { margin: 0; color: var(--tth-sang3); font-size: 14px; }

/* =====================================================================
 * 4. TRANG TRONG (khung chung cho cửa hàng, sản phẩm, trang tĩnh)
 * ===================================================================== */
.tth-page__head {
	background: var(--tth-nen2);
	border-bottom: 1px solid var(--tth-vien);
	padding: 30px 0 34px;
}
.tth-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: var(--tth-mo);
	margin-bottom: 12px;
}
.tth-crumb a { color: var(--tth-mo); text-decoration: none; }
.tth-crumb a:hover { color: var(--tth-xanh); text-decoration: underline; }
.tth-page__title {
	font-size: clamp(27px, 3.4vw, 40px);
	color: var(--tth-muc);
}
.tth-page__sub { margin: 10px 0 0; color: var(--tth-mo); max-width: 70ch; }

.tth-page__body {
	padding: 36px 0 60px;
	min-height: 220px;
}
.tth-page__body h2 { font-size: 24px; color: var(--tth-muc); margin: 28px 0 12px; }
.tth-page__body h3 { font-size: 19px; color: var(--tth-muc); margin: 22px 0 10px; }
.tth-page__body p { margin: 0 0 14px; }
.tth-page__body a { color: var(--tth-xanh); }
.tth-page__body table { border-collapse: collapse; width: 100%; }
.tth-page__body th, .tth-page__body td { border: 1px solid var(--tth-vien); padding: 10px 12px; }

.tth-trong {
	padding: 40px 0 60px;
	color: var(--tth-mo);
}

/* =====================================================================
 * 5. CỬA HÀNG + LƯỚI SẢN PHẨM
 * ===================================================================== */
.tth-shop-body { padding: 28px 0 64px; }

.tth-shop__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-bottom: 20px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--tth-vien);
}
.tth-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tth-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	color: var(--tth-than);
	font-family: var(--tth-head);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.tth-chip span {
	font-size: 12px;
	color: var(--tth-mo);
	font-variant-numeric: tabular-nums;
}
.tth-chip:hover { border-color: var(--tth-xanh); color: var(--tth-xanh); }
.tth-chip.is-on { background: var(--tth-xanh); border-color: var(--tth-xanh); color: #fff; }
.tth-chip.is-on span { color: rgba(255,255,255,.75); }

.tth-shop__sort .woocommerce-ordering { margin: 0; }
.tth-shop__sort select,
body.tth-shop .woocommerce-ordering select {
	padding: 9px 12px;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	color: var(--tth-than);
	font-size: 14px;
	max-width: 100%;
}

body.tth-shop ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
body.tth-shop ul.products::before,
body.tth-shop ul.products::after { content: none; }

body.tth-shop ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	width: auto;
	float: none;
	min-width: 0;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease;
}
body.tth-shop ul.products li.product:hover {
	border-color: var(--tth-xanh);
	box-shadow: 0 6px 20px rgba(15,28,41,.08);
}
body.tth-shop ul.products li.product a img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0;
	transition: transform .4s ease;
}
body.tth-shop ul.products li.product:hover a img { transform: scale(1.04); }

body.tth-shop ul.products li.product .woocommerce-loop-product__link {
	display: block;
	text-decoration: none;
	color: inherit;
}
body.tth-shop ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--tth-head);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tth-muc);
	padding: 16px 18px 0;
	margin: 0;
}
body.tth-shop ul.products li.product .price {
	display: block;
	padding: 8px 18px 0;
	color: var(--tth-xanh);
	font-family: var(--tth-head);
	font-size: 18px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
body.tth-shop ul.products li.product .price del {
	color: var(--tth-mo);
	font-size: 14px;
	font-weight: 500;
	margin-right: 7px;
}
body.tth-shop ul.products li.product .price ins {
	text-decoration: none;
	color: var(--tth-do);
}
body.tth-shop ul.products li.product .button,
body.tth-shop ul.products li.product .added_to_cart {
	margin: 14px 18px 18px;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border: 1px solid var(--tth-vien2);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	color: var(--tth-xanh);
	font-family: var(--tth-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
body.tth-shop ul.products li.product .button:hover,
body.tth-shop ul.products li.product .added_to_cart:hover {
	background: var(--tth-xanh);
	border-color: var(--tth-xanh);
	color: #fff;
}
body.tth-shop ul.products li.product .button.loading { opacity: .6; }
body.tth-shop ul.products li.product .added_to_cart { margin-top: 0; }

/* Nhãn Mới / Giảm giá */
.tth-tags {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	gap: 6px;
}
.tth-tag {
	font-family: var(--tth-head);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: var(--tth-r);
	background: var(--tth-toi);
	color: #fff;
}
.tth-tag--sale { background: var(--tth-do); }
body.tth-shop span.onsale { display: none; }

/* Phân trang */
body.tth-shop nav.woocommerce-pagination { margin: 36px 0 0; }
body.tth-shop nav.woocommerce-pagination ul {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
	justify-content: center;
	flex-wrap: wrap;
}
body.tth-shop nav.woocommerce-pagination ul li { border: 0; margin: 0; overflow: visible; }
body.tth-shop nav.woocommerce-pagination a,
body.tth-shop nav.woocommerce-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	color: var(--tth-than);
	font-weight: 600;
	text-decoration: none;
}
body.tth-shop nav.woocommerce-pagination span.current {
	background: var(--tth-xanh);
	border-color: var(--tth-xanh);
	color: #fff;
}

/* =====================================================================
 * 6. CHI TIẾT SẢN PHẨM
 * ===================================================================== */
.tth-single__wrap { padding: 34px 0 64px; }

body.tth-shop div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 54px);
	align-items: start;
}
body.tth-shop div.product .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0;
	min-width: 0;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	overflow: hidden;
}
body.tth-shop div.product .woocommerce-product-gallery img { width: 100%; }
body.tth-shop div.product .summary {
	width: 100% !important;
	float: none !important;
	margin: 0;
	min-width: 0;
}
body.tth-shop div.product .summary .price {
	display: block;
	font-family: var(--tth-head);
	font-size: 30px;
	font-weight: 700;
	color: var(--tth-xanh);
	font-variant-numeric: tabular-nums;
	margin: 0 0 14px;
}
body.tth-shop div.product .summary .price del { color: var(--tth-mo); font-size: 20px; font-weight: 500; }
body.tth-shop div.product .summary .price ins { text-decoration: none; color: var(--tth-do); }
body.tth-shop div.product .woocommerce-product-details__short-description {
	color: var(--tth-than);
	border-left: 3px solid var(--tth-xanh);
	padding-left: 16px;
	margin: 0 0 22px;
}
body.tth-shop div.product form.cart {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 22px;
	padding: 20px;
	background: var(--tth-nen2);
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
}
body.tth-shop div.product form.cart .quantity input {
	width: 78px;
	height: 46px;
	padding: 0 10px;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	font-size: 15px;
	text-align: center;
}
body.tth-shop div.product form.cart button.button {
	padding: 13px 26px;
	border: 1px solid var(--tth-xanh);
	border-radius: var(--tth-r);
	background: var(--tth-xanh);
	color: #fff;
	font-family: var(--tth-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}
body.tth-shop div.product form.cart button.button:hover { background: var(--tth-xanh-d); border-color: var(--tth-xanh-d); }
body.tth-shop div.product .product_meta {
	font-size: 14px;
	color: var(--tth-mo);
	border-top: 1px solid var(--tth-vien);
	padding-top: 16px;
}
body.tth-shop div.product .product_meta > span { display: block; margin-bottom: 5px; }
body.tth-shop div.product .product_meta a { color: var(--tth-xanh); }

/* Bảng thông số chung, nằm trong cột tóm tắt của trang sản phẩm. */
.tth-sp-ts {
	margin: 0 0 22px;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	overflow: hidden;
}
.tth-sp-ts__t {
	background: var(--tth-nen2);
	border-bottom: 1px solid var(--tth-vien);
	padding: 11px 16px;
	font-family: var(--tth-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tth-thep);
}
.tth-sp-ts dl { margin: 0; padding: 6px 16px 12px; }
.tth-sp-ts .tth-ts__dong { border-top-color: var(--tth-vien); }
.tth-sp-ts .tth-ts__dong:first-child { border-top: 0; }
.tth-sp-ts .tth-ts__dong dt { color: var(--tth-mo); }
.tth-sp-ts .tth-ts__dong dd { color: var(--tth-muc); font-weight: 500; }

/* Thẻ Mô tả / Thông tin thêm */
body.tth-shop .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: 44px;
	border-top: 1px solid var(--tth-vien);
	padding-top: 28px;
}
body.tth-shop .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}
body.tth-shop .woocommerce-tabs ul.tabs::before { content: none; }
body.tth-shop .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
}
body.tth-shop .woocommerce-tabs ul.tabs li::before,
body.tth-shop .woocommerce-tabs ul.tabs li::after { content: none; }
body.tth-shop .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 10px 18px;
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	color: var(--tth-than);
	font-family: var(--tth-head);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
body.tth-shop .woocommerce-tabs ul.tabs li.active a {
	background: var(--tth-toi);
	border-color: var(--tth-toi);
	color: #fff;
}
body.tth-shop .woocommerce-tabs .panel h2 { font-size: 22px; color: var(--tth-muc); margin: 0 0 12px; }
body.tth-shop .woocommerce-tabs table.shop_attributes { width: 100%; border-collapse: collapse; }
body.tth-shop .woocommerce-tabs table.shop_attributes th,
body.tth-shop .woocommerce-tabs table.shop_attributes td {
	border: 1px solid var(--tth-vien);
	padding: 10px 14px;
	text-align: left;
}

/* Sản phẩm liên quan */
body.tth-shop .related, body.tth-shop .up-sells {
	grid-column: 1 / -1;
	margin-top: 44px;
	border-top: 1px solid var(--tth-vien);
	padding-top: 28px;
}
body.tth-shop .related > h2, body.tth-shop .up-sells > h2 {
	font-size: 24px;
	color: var(--tth-muc);
	margin: 0 0 20px;
}

/* =====================================================================
 * 7. THÔNG BÁO + NÚT KIỂU BLOCK CỦA WOOCOMMERCE
 * Giỏ hàng / thanh toán dựng bằng block, lấy màu từ theme.json chứ không từ
 * CSS của theme con — không khai lại thì nút ra xanh dương mặc định của Woo.
 * ===================================================================== */
body.tth-shop .woocommerce-message,
body.tth-shop .woocommerce-info,
body.tth-shop .woocommerce-error {
	border-top: 3px solid var(--tth-xanh);
	background: var(--tth-nen2);
	color: var(--tth-than);
	padding: 14px 18px;
	margin: 0 0 20px;
	border-radius: var(--tth-r);
	list-style: none;
}
body.tth-shop .woocommerce-error { border-top-color: var(--tth-do); }
body.tth-shop .woocommerce-message a.button,
body.tth-shop .woocommerce-info a.button {
	float: right;
	margin-left: 12px;
	color: var(--tth-xanh);
	font-weight: 600;
	text-decoration: underline;
}

body.tth-shop .wc-block-components-button,
body.tth-shop .wc-block-cart__submit-button,
body.tth-shop .wc-block-components-checkout-place-order-button,
body.tth-shop a.checkout-button {
	background-color: var(--tth-xanh) !important;
	border-color: var(--tth-xanh) !important;
	color: #fff !important;
	border-radius: var(--tth-r) !important;
	font-family: var(--tth-head) !important;
	font-weight: 600 !important;
	letter-spacing: .05em;
	text-transform: uppercase;
}
body.tth-shop .wc-block-components-button:hover,
body.tth-shop .wc-block-cart__submit-button:hover,
body.tth-shop .wc-block-components-checkout-place-order-button:hover,
body.tth-shop a.checkout-button:hover {
	background-color: var(--tth-xanh-d) !important;
	border-color: var(--tth-xanh-d) !important;
}
body.tth-shop .wc-block-components-product-price,
body.tth-shop .wc-block-components-totals-item__value { color: var(--tth-muc); }

/* Lời nhắn sau khi gửi biểu mẫu mẫu. */
.tth-toast {
	position: fixed;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	z-index: 120;
	max-width: min(560px, calc(100vw - 32px));
	background: var(--tth-toi);
	color: var(--tth-sang);
	border-left: 3px solid var(--tth-xanh);
	border-radius: var(--tth-r);
	padding: 14px 18px;
	font-size: 14px;
	box-shadow: 0 10px 30px rgba(15,28,41,.3);
}

/* =====================================================================
 * 8. CHÂN TRANG
 * ===================================================================== */
.tth-foot {
	background: var(--tth-toi);
	color: var(--tth-sang2);
	padding: 54px 0 0;
}
.tth-foot__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 36px;
	padding-bottom: 44px;
}
.tth-foot__brand { min-width: 0; }
.tth-foot .tth-brand { color: var(--tth-sang); }
.tth-foot .tth-brand__name { color: #fff; }
.tth-foot .tth-brand__tag { color: var(--tth-sang3); }
.tth-foot__desc { font-size: 14px; color: var(--tth-sang3); margin: 16px 0 18px; }
.tth-foot__lh { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.tth-foot__lh li { display: flex; align-items: center; gap: 10px; }
.tth-foot__lh svg { width: 16px; height: 16px; color: var(--tth-sang3); flex: none; }
.tth-foot__lh a { color: var(--tth-sang); text-decoration: none; }
.tth-foot__lh a:hover { text-decoration: underline; }

.tth-foot__col { min-width: 0; }
.tth-foot__col h2 {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tth-sang3);
	margin: 0 0 16px;
}
.tth-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tth-foot__col a { color: var(--tth-sang2); text-decoration: none; font-size: 14.5px; }
.tth-foot__col a span { position: relative; }
.tth-foot__col a span::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .18s ease;
}
.tth-foot__col a:hover { color: #fff; }
.tth-foot__col a:hover span::after { transform: scaleX(1); }

.tth-sub { display: flex; gap: 8px; margin: 0 0 10px; flex-wrap: wrap; }
.tth-sub__in {
	flex: 1 1 150px;
	min-width: 0;
	padding: 11px 13px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: var(--tth-r);
	background: rgba(255,255,255,.06);
	color: var(--tth-sang);
	font-size: 14px;
}
.tth-sub__in::placeholder { color: var(--tth-sang3); }
.tth-sub__go {
	padding: 11px 18px;
	border: 1px solid var(--tth-xanh);
	border-radius: var(--tth-r);
	background: var(--tth-xanh);
	color: #fff;
	font-family: var(--tth-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
}
.tth-sub__go:hover { background: var(--tth-xanh-d); }
.tth-sub__note { font-size: 12.5px; color: var(--tth-sang3); margin: 0; }

.tth-foot__bot {
	border-top: 1px solid rgba(255,255,255,.12);
	padding: 18px 0 24px;
	font-size: 13px;
	color: var(--tth-sang3);
}
.tth-foot__bot p { margin: 0 0 4px; }
.tth-foot__bot a { color: var(--tth-sang2); }

/* =====================================================================
 * 9. TRANG GIỚI THIỆU / LIÊN HỆ
 * ===================================================================== */
.tth-gt__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}
.tth-gt__grid img {
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.tth-gt__text { min-width: 0; }
.tth-gt__text p { margin: 0 0 14px; }
.tth-gt__text p:last-child { margin-bottom: 0; }

.tth-lh__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}
.tth-lh__the {
	border: 1px solid var(--tth-vien);
	border-radius: var(--tth-r);
	background: var(--tth-nen);
	padding: 26px;
	min-width: 0;
}
.tth-lh__the h2 { font-size: 20px; color: var(--tth-muc); margin-bottom: 16px; }
.tth-lh__ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tth-lh__ds li { display: flex; gap: 13px; }
.tth-lh__ds svg { width: 20px; height: 20px; color: var(--tth-xanh); flex: none; margin-top: 3px; }
.tth-lh__ds b { display: block; color: var(--tth-muc); font-family: var(--tth-head); font-size: 14px; }
.tth-lh__ds a { color: var(--tth-xanh); text-decoration: none; }
.tth-lh__ds a:hover { text-decoration: underline; }
.tth-lh__canh { min-width: 0; }

/* Biểu mẫu trên nền sáng (trang Liên hệ). */
.tth-form--sang {
	background: var(--tth-nen);
	border-color: var(--tth-vien);
}
.tth-form--sang label { color: var(--tth-thep); }
.tth-form--sang input,
.tth-form--sang select,
.tth-form--sang textarea {
	background: var(--tth-nen2);
	border-color: var(--tth-vien);
	color: var(--tth-muc);
}
.tth-form--sang input::placeholder, .tth-form--sang textarea::placeholder { color: var(--tth-mo); }
.tth-form--sang .tth-form__note { color: var(--tth-mo); }
.tth-goi--sang .tth-goi__o { background: var(--tth-nen2); border-color: var(--tth-vien); }
.tth-goi--sang .tth-goi__o p { color: var(--tth-mo); }

/* =====================================================================
 * 10. HIỆN DẦN
 * Lớp ẩn do kịch bản gắn vào chứ không viết sẵn trong HTML — tắt JavaScript
 * thì trang vẫn hiện đầy đủ, và trình thu thập của Google luôn thấy nội dung.
 * ===================================================================== */
.tth-rise {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .5s ease, transform .5s ease;
}
.tth-rise.is-in { opacity: 1; transform: none; }

/* =====================================================================
 * 11. BỀ NGANG NHỎ DẦN
 * ===================================================================== */
/* Hàng đầu trang chật trước cả lưới sản phẩm: sáu mục menu, ô tìm kiếm, giỏ
   hàng và nút báo giá cộng lại đã quá 1232px nội dung của khung 1280. Bỏ nút
   báo giá trước — số điện thoại vẫn còn ở dải tối ngay phía trên. */
@media (max-width: 1500px) {
	.tth-head__cta { display: none; }
	.tth-nav ul { gap: 18px; }
	.tth-search input { width: 104px; }
}

@media (max-width: 1180px) {
	body.tth-shop ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tth-nav ul { gap: 14px; }
	.tth-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.tth-foot__news { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
	.tth-head__row { flex-wrap: wrap; gap: 14px; min-height: 68px; }
	.tth-burger { display: block; order: 3; }
	.tth-tools { order: 2; margin-left: auto; }
	.tth-search { display: none; }
	.tth-nav {
		order: 4;
		flex-basis: 100%;
		margin-left: 0;
		display: none;
		border-top: 1px solid var(--tth-vien);
		padding: 10px 0 14px;
	}
	.tth-nav.is-open { display: block; }
	.tth-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.tth-nav a { padding: 11px 2px; border-bottom: 1px solid var(--tth-vien); }
	.tth-nav li:last-child a { border-bottom: 0; }
	.tth-nav a::after { content: none; }

	.tth-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.tth-hero__media { order: -1; }
	.tth-so { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tth-so__o:nth-child(3) { border-left: 0; }
	.tth-so__o:nth-child(n+3) { border-top: 1px solid var(--tth-vien); }

	.tth-nhom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tth-nhom__o:last-child { grid-column: 1 / -1; }
	.tth-qt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tth-qt__b:nth-child(3) { border-left: 0; }
	.tth-qt__b:nth-child(n+3) { border-top: 1px solid var(--tth-vien); }
	.tth-da { grid-template-columns: minmax(0, 1fr); }
	.tth-ck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tth-bg__grid, .tth-gt__grid, .tth-lh__grid { grid-template-columns: minmax(0, 1fr); }

	body.tth-shop div.product { grid-template-columns: minmax(0, 1fr); }
}

/* Biểu mẫu tắt trên điện thoại: gõ cả đoạn yêu cầu trên màn nhỏ 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. */
@media (max-width: 960px) {
	.tth-form { display: none; }
	.tth-goi { display: block; }
	.tth-foot__news { display: none; }
}

@media (max-width: 760px) {
	.tth-wrap { padding: 0 16px; }
	body.tth-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.tth-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
	.tth-bar__in { justify-content: center; text-align: center; padding: 7px 0; }
	.tth-sec__head { margin-bottom: 22px; }
}

@media (max-width: 520px) {
	.tth-brand__tag { display: none; }
	.tth-cart__label { display: none; }
	.tth-nhom { grid-template-columns: minmax(0, 1fr); }
	.tth-nhom__o:last-child { grid-column: auto; }
	.tth-qt { grid-template-columns: minmax(0, 1fr); }
	.tth-qt__b { border-left: 0; }
	.tth-qt__b + .tth-qt__b { border-top: 1px solid var(--tth-vien); }
	.tth-ck { grid-template-columns: minmax(0, 1fr); }
	.tth-so { grid-template-columns: minmax(0, 1fr); }
	.tth-so__o { border-left: 0; }
	.tth-so__o + .tth-so__o { border-top: 1px solid var(--tth-vien); }
	.tth-foot__grid { grid-template-columns: minmax(0, 1fr); }
	body.tth-shop ul.products { grid-template-columns: minmax(0, 1fr); }
	.tth-hero__cta .tth-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	body.tth-shop *,
	body.tth-shop *::before,
	body.tth-shop *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.tth-rise { opacity: 1; transform: none; }
}
