/*
Theme Name: Thợ Nhà — mẫu website cải tạo và sửa chữa nhà
Theme URI: https://xaydung-mau-04.mauwebsitedep.net/
Description: Mẫu website cho đội thợ cải tạo và sửa chữa nhà: khối ảnh trước/sau, bảng giá tham khảo, khối gọi thợ trong 2 giờ và câu hỏi thường gặp. Chạy WooCommerce ở chế độ danh mục — khách đặt lịch khảo sát chứ không mua qua giỏ hàng.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: xaydung-mau-04
*/

/* =====================================================================
 * BIẾN
 *
 * Xanh ngọc và cam đều là MÀU SÁNG. Chữ trắng đặt lên chúng rơi xuống
 * khoảng 3,2–3,7:1, dưới mức 4,5:1. Nên bảng màu này tách đôi:
 *
 *   - Nền đặc, chữ trắng  → dùng `--tnh-ngoc-d` (xanh ngọc đậm, 6,0:1).
 *   - Nền cam tươi        → dùng chữ TỐI `--tnh-tren-cam` (6,9:1).
 *
 * `--tnh-ngoc` và `--tnh-cam` chỉ dùng cho viền, biểu tượng, chữ cỡ lớn và
 * mảng trang trí — không bao giờ làm nền cho chữ nhỏ màu trắng.
 * ===================================================================== */
:root {
	--tnh-nen:       #ffffff;
	--tnh-nen-ngoc:  #f1faf8;
	--tnh-nen-am:    #fff7ee;

	--tnh-muc:       #0f2f2c;
	--tnh-than:      #3a5a56;
	--tnh-mo:        #627d79;
	--tnh-vien:      #d8e9e5;
	--tnh-vien-dam:  #b9d9d3;

	--tnh-ngoc:      #0d9488;
	--tnh-ngoc-d:    #0b6f67;
	--tnh-ngoc-dd:   #07443f;
	--tnh-ngoc-n:    #e2f3f0;

	--tnh-cam:       #f08a24;
	--tnh-cam-d:     #d9700c;
	--tnh-cam-n:     #fff1e0;
	--tnh-tren-cam:  #2a1708;

	--tnh-do:        #b4321f;

	--tnh-bo:        20px;
	--tnh-bo-nho:    14px;
	--tnh-pill:      999px;

	--tnh-bong:      0 2px 4px rgba(15, 47, 44, .04), 0 10px 24px rgba(15, 47, 44, .07);
	--tnh-bong-cao:  0 6px 12px rgba(15, 47, 44, .07), 0 22px 46px rgba(15, 47, 44, .12);

	--tnh-rong:      1240px;
}

/* =====================================================================
 * NỀN CHUNG
 * ===================================================================== */
body.tnh-site {
	margin: 0;
	background: var(--tnh-nen);
	color: var(--tnh-than);
	font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 17px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/*
 * Theme mẹ có luật riêng cho h1–h3 trong nội dung và nhuộm chúng xanh dương,
 * thắng mọi khai báo một lớp. Hai lớp (`body.tnh-site h1`) 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.tnh-site h1,
body.tnh-site h2,
body.tnh-site h3,
body.tnh-site h4,
body.tnh-site h5,
body.tnh-site h6 {
	color: inherit;
	font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -.005em;
	margin: 0 0 .5em;
}

/* Phông phải đặt cho CẢ trang phụ, không thì giỏ hàng, thanh toán và tài khoản
   chạy phông mặc định của theme mẹ. */
body.tnh-site input,
body.tnh-site select,
body.tnh-site textarea,
body.tnh-site button,
body.tnh-site table,
body.tnh-site .woocommerce,
body.tnh-site .wc-block-components-button,
body.tnh-site .wp-block-button__link {
	font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
}

/*
 * Màu liên kết mặc định bọc trong `:where()`, KHÔNG viết thẳng
 * `body.tnh-site a`.
 *
 * `:where()` không góp gì vào độ ưu tiên, nên luật này chỉ nặng bằng một thẻ
 * `a` trần và mọi luật một lớp (`.tnh-btn--ngoc`, `.tnh-foot__col a`,
 * `.tnh-bar__tel`…) đều thắng được nó. Viết thẳng `body.tnh-site a` thì nó
 * nặng hơn tất cả những luật ấy: chữ trên nút xanh ngọc và mọi liên kết ở
 * chân trang bị nhuộm cùng màu nền, nhìn như nút rỗng.
 */
:where(body.tnh-site) a {
	color: var(--tnh-ngoc-d);
	text-underline-offset: 3px;
}
:where(body.tnh-site) a:hover { color: var(--tnh-ngoc-dd); }

body.tnh-site img { max-width: 100%; height: auto; }
body.tnh-site p { margin: 0 0 1em; }

:focus-visible {
	outline: 3px solid var(--tnh-cam-d);
	outline-offset: 2px;
	border-radius: 6px;
}

.tnh-wrap {
	width: min(100% - 40px, var(--tnh-rong));
	margin-inline: auto;
}

.tnh-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--tnh-ngoc-d);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 var(--tnh-bo-nho) 0;
}
.tnh-skip:focus { left: 0; color: #fff; }

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

/* =====================================================================
 * NÚT
 * Bo tròn hết cỡ: bảng màu đã tươi, nút tròn giữ cho giao diện thân thiện
 * đúng với người đọc là chủ nhà chứ không phải ban quản lý dự án.
 * ===================================================================== */
.tnh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 26px;
	border: 2px solid transparent;
	border-radius: var(--tnh-pill);
	font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.tnh-btn svg { width: 19px; height: 19px; flex: none; }
.tnh-btn:hover { transform: translateY(-2px); }

.tnh-btn--cam { background: var(--tnh-cam); color: var(--tnh-tren-cam); box-shadow: 0 6px 16px rgba(217, 112, 12, .28); }
.tnh-btn--cam:hover { background: var(--tnh-cam-d); color: var(--tnh-tren-cam); }

.tnh-btn--ngoc { background: var(--tnh-ngoc-d); color: #fff; }
.tnh-btn--ngoc:hover { background: var(--tnh-ngoc-dd); color: #fff; }

.tnh-btn--trang { background: #fff; color: var(--tnh-ngoc-dd); border-color: var(--tnh-vien-dam); }
.tnh-btn--trang:hover { background: var(--tnh-ngoc-n); color: var(--tnh-ngoc-dd); }

.tnh-btn--vien { background: transparent; color: var(--tnh-ngoc-dd); border-color: var(--tnh-ngoc); }
.tnh-btn--vien:hover { background: var(--tnh-ngoc-n); color: var(--tnh-ngoc-dd); }

.tnh-btn--rong { width: 100%; }

/* Nhãn nhỏ trên đầu mỗi khối. */
.tnh-eyebrow {
	margin: 0 0 10px;
	font-family: "Baloo 2", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tnh-ngoc-d);
}

/* =====================================================================
 * DẢI THÔNG BÁO + ĐẦU TRANG
 * ===================================================================== */
.tnh-bar {
	background: var(--tnh-ngoc-dd);
	color: #e6f4f2;
	font-size: 14.5px;
}
.tnh-bar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 42px;
	padding: 7px 0;
}
.tnh-bar strong { color: #fff; }
.tnh-bar__tel {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #ffd9a8;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.tnh-bar__tel:hover { color: #fff; text-decoration: underline; }
.tnh-bar__tel svg { width: 17px; height: 17px; }

.tnh-head {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid var(--tnh-vien);
	transition: box-shadow .2s ease, background-color .2s ease;
}
.tnh-head.is-stuck {
	background: #fff;
	box-shadow: 0 8px 26px rgba(15, 47, 44, .09);
}
.tnh-head__row {
	display: flex;
	align-items: center;
	gap: 22px;
	min-height: 80px;
}

.tnh-brand,
.tnh-brand:hover {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--tnh-muc);
	flex: none;
}
.tnh-brand__mark { display: flex; }
.tnh-brand__text { display: flex; flex-direction: column; }
.tnh-brand__name {
	font-family: "Baloo 2", system-ui, sans-serif;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.1;
}
.tnh-brand__tag {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .13em;
	color: var(--tnh-ngoc-d);
}

.tnh-nav { margin-left: auto; }
.tnh-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tnh-nav a {
	display: block;
	padding: 9px 13px;
	border-radius: var(--tnh-pill);
	color: var(--tnh-than);
	font-weight: 700;
	font-size: 15.5px;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.tnh-nav a:hover { background: var(--tnh-ngoc-n); color: var(--tnh-ngoc-dd); }
.tnh-nav a[aria-current="page"] { background: var(--tnh-ngoc-n); color: var(--tnh-ngoc-dd); }

.tnh-tools { display: flex; align-items: center; gap: 12px; flex: none; }
.tnh-head__cta { padding: 11px 20px; font-size: 15px; }

.tnh-burger {
	display: none;
	width: 46px; height: 46px;
	padding: 0;
	background: var(--tnh-ngoc-n);
	border: 0;
	border-radius: 14px;
	cursor: pointer;
}
.tnh-burger span[aria-hidden] {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
}
.tnh-burger i {
	display: block;
	width: 20px; height: 2.5px;
	border-radius: 2px;
	background: var(--tnh-ngoc-dd);
}

/* =====================================================================
 * TRANG CHỦ — HERO
 * ===================================================================== */
.tnh-hero {
	position: relative;
	background:
		radial-gradient(60% 90% at 88% 10%, var(--tnh-cam-n) 0%, rgba(255, 241, 224, 0) 60%),
		linear-gradient(180deg, var(--tnh-nen-ngoc) 0%, #fff 100%);
	padding: 64px 0 76px;
	overflow: hidden;
}
.tnh-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	gap: 54px;
	align-items: center;
}
.tnh-hero h1 {
	margin: 0 0 18px;
	color: var(--tnh-muc);
	font-size: clamp(34px, 4.4vw, 54px);
	font-weight: 800;
}
.tnh-hero h1 em {
	font-style: normal;
	color: var(--tnh-ngoc-d);
}
.tnh-hero__lead {
	max-width: 54ch;
	font-size: 18.5px;
	color: var(--tnh-than);
}
.tnh-hero__nut {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 26px 0 22px;
}
.tnh-hero__ghi {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 600;
	color: var(--tnh-mo);
}
.tnh-hero__ghi li { display: flex; align-items: center; gap: 7px; }
.tnh-hero__ghi svg { width: 18px; height: 18px; color: var(--tnh-ngoc); flex: none; }

.tnh-hero__anh {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: var(--tnh-bong-cao);
	aspect-ratio: 4 / 3;
	background: var(--tnh-ngoc-n);
}
.tnh-hero__anh img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Thẻ nổi "2 giờ" — đặt ngoài khung ảnh để không bị `overflow: hidden` cắt. */
.tnh-hero__the {
	position: absolute;
	left: -26px;
	bottom: 30px;
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 14px 20px;
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--tnh-bong-cao);
	max-width: 76%;
}
.tnh-hero__the b {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	flex: none;
	border-radius: 14px;
	background: var(--tnh-cam);
	color: var(--tnh-tren-cam);
	font-family: "Baloo 2", system-ui, sans-serif;
	font-size: 17px;
}
.tnh-hero__the span {
	font-size: 14.5px;
	line-height: 1.35;
	color: var(--tnh-muc);
	font-weight: 600;
}
.tnh-hero__khung { position: relative; }

/* =====================================================================
 * DẢI CAM KẾT
 * ===================================================================== */
.tnh-camket { padding: 0 0 8px; margin-top: -34px; position: relative; z-index: 2; }
.tnh-camket__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.tnh-camket__o {
	display: flex;
	gap: 13px;
	padding: 20px 20px 18px;
	background: #fff;
	border: 1px solid var(--tnh-vien);
	border-radius: var(--tnh-bo);
	box-shadow: var(--tnh-bong);
}
.tnh-camket__o svg {
	width: 28px; height: 28px;
	flex: none;
	color: var(--tnh-ngoc);
}
.tnh-camket__o h3 {
	margin: 0 0 3px;
	font-size: 17.5px;
	color: var(--tnh-muc);
}
.tnh-camket__o p { margin: 0; font-size: 14.5px; color: var(--tnh-mo); line-height: 1.5; }

/* =====================================================================
 * KHỐI CHUNG
 * ===================================================================== */
.tnh-kh { padding: 72px 0; }
.tnh-kh--ngoc { background: var(--tnh-nen-ngoc); }
.tnh-kh--am { background: var(--tnh-nen-am); }

.tnh-kh__dau { max-width: 62ch; margin: 0 0 36px; }
.tnh-kh__dau--giua { margin-inline: auto; text-align: center; }
.tnh-kh__dau h2 {
	margin: 0 0 12px;
	color: var(--tnh-muc);
	font-size: clamp(27px, 3.1vw, 38px);
	font-weight: 800;
}
.tnh-kh__dau p { margin: 0; font-size: 17px; color: var(--tnh-mo); }

/* =====================================================================
 * TRƯỚC / SAU
 *
 * Hai ảnh đặt CẠNH NHAU, mỗi ảnh một nhãn. Thanh kéo so sánh trông hay trên
 * máy tính nhưng trên điện thoại nó cướp cử chỉ vuốt của trang và hay kẹt ở
 * giữa; hai ảnh cạnh nhau thì ai cũng đọc được ngay, kể cả trình đọc màn hình.
 * ===================================================================== */
.tnh-ts { display: grid; gap: 30px; }
.tnh-ts__muc {
	background: #fff;
	border: 1px solid var(--tnh-vien);
	border-radius: var(--tnh-bo);
	box-shadow: var(--tnh-bong);
	overflow: hidden;
}
.tnh-ts__anh {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3px;
	background: var(--tnh-vien);
}
.tnh-ts__o { position: relative; margin: 0; }
.tnh-ts__o img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--tnh-ngoc-n);
}
.tnh-ts__nhan {
	position: absolute;
	left: 14px; top: 14px;
	padding: 6px 15px;
	border-radius: var(--tnh-pill);
	font-family: "Baloo 2", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
}
.tnh-ts__nhan--truoc { background: #fff; color: var(--tnh-muc); border: 1px solid var(--tnh-vien-dam); }
.tnh-ts__nhan--sau { background: var(--tnh-cam); color: var(--tnh-tren-cam); }

.tnh-ts__chu { padding: 22px 26px 24px; }
.tnh-ts__chu h3 { margin: 0 0 6px; font-size: 21px; color: var(--tnh-muc); }
.tnh-ts__chu p { margin: 0 0 12px; font-size: 15.5px; color: var(--tnh-mo); }
.tnh-ts__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tnh-ts__meta li {
	padding: 5px 13px;
	border-radius: var(--tnh-pill);
	background: var(--tnh-ngoc-n);
	color: var(--tnh-ngoc-dd);
	font-size: 13.5px;
	font-weight: 700;
}

/* =====================================================================
 * BẢNG GIÁ
 * ===================================================================== */
.tnh-gia-bang {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--tnh-vien);
	border-radius: var(--tnh-bo);
	overflow: hidden;
}
.tnh-gia-bang caption {
	caption-side: bottom;
	padding: 14px 4px 0;
	font-size: 14px;
	color: var(--tnh-mo);
	text-align: left;
}
.tnh-gia-bang th,
.tnh-gia-bang td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid var(--tnh-vien);
	font-size: 15.5px;
}
.tnh-gia-bang thead th {
	background: var(--tnh-ngoc-dd);
	color: #fff;
	font-family: "Baloo 2", system-ui, sans-serif;
	font-size: 15px;
	letter-spacing: .02em;
}
.tnh-gia-bang tbody tr:last-child th,
.tnh-gia-bang tbody tr:last-child td { border-bottom: 0; }
.tnh-gia-bang tbody tr:nth-child(even) { background: var(--tnh-nen-ngoc); }
.tnh-gia-bang tbody th { font-weight: 700; color: var(--tnh-muc); }
.tnh-gia-bang td.tnh-gia-bang__so {
	white-space: nowrap;
	font-weight: 700;
	color: var(--tnh-ngoc-dd);
}
.tnh-gia-bang td small { display: block; font-weight: 400; color: var(--tnh-mo); }

.tnh-bang-cuon { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* =====================================================================
 * QUY TRÌNH
 * ===================================================================== */
.tnh-qt {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	counter-reset: tnh-qt;
}
.tnh-qt__o {
	position: relative;
	padding: 28px 22px 24px;
	background: #fff;
	border: 1px solid var(--tnh-vien);
	border-radius: var(--tnh-bo);
}
.tnh-qt__o::before {
	counter-increment: tnh-qt;
	content: counter(tnh-qt);
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	margin-bottom: 14px;
	border-radius: 14px;
	background: var(--tnh-ngoc-n);
	color: var(--tnh-ngoc-dd);
	font-family: "Baloo 2", system-ui, sans-serif;
	font-size: 20px;
	font-weight: 800;
}
.tnh-qt__o h3 { margin: 0 0 6px; font-size: 19px; color: var(--tnh-muc); }
.tnh-qt__o p { margin: 0; font-size: 15px; color: var(--tnh-mo); }

/* =====================================================================
 * CÂU HỎI THƯỜNG GẶP
 * ===================================================================== */
.tnh-hoi { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.tnh-hoi details {
	background: #fff;
	border: 1px solid var(--tnh-vien);
	border-radius: var(--tnh-bo-nho);
	overflow: hidden;
}
.tnh-hoi summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 22px;
	cursor: pointer;
	list-style: none;
	font-family: "Baloo 2", system-ui, sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: var(--tnh-muc);
}
.tnh-hoi summary::-webkit-details-marker { display: none; }
.tnh-hoi summary::after {
	content: "";
	flex: none;
	width: 11px; height: 11px;
	border-right: 2.5px solid var(--tnh-ngoc);
	border-bottom: 2.5px solid var(--tnh-ngoc);
	transform: rotate(45deg) translate(-3px, -3px);
	transition: transform .18s ease;
}
.tnh-hoi details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.tnh-hoi details[open] summary { background: var(--tnh-ngoc-n); }
.tnh-hoi__tl { padding: 4px 22px 20px; font-size: 16px; }
.tnh-hoi__tl p:last-child { margin-bottom: 0; }

/* =====================================================================
 * KHỐI GỌI THỢ (trên chân trang)
 * ===================================================================== */
.tnh-goi {
	background: var(--tnh-ngoc-d);
	color: #e8f6f4;
	padding: 56px 0;
}
.tnh-goi__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
.tnh-goi__txt { max-width: 62ch; }
.tnh-goi .tnh-eyebrow { color: #ffd9a8; }
.tnh-goi__h { margin: 0 0 10px; color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.tnh-goi__txt p { margin: 0; font-size: 16.5px; }
.tnh-goi__nut { display: flex; flex-wrap: wrap; gap: 12px; }

/* =====================================================================
 * CHÂN TRANG
 * ===================================================================== */
.tnh-foot {
	background: var(--tnh-ngoc-dd);
	color: #bfdcd8;
	font-size: 15.5px;
}
.tnh-foot__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	padding: 56px 0 44px;
}
.tnh-foot .tnh-brand,
.tnh-foot .tnh-brand:hover { color: #fff; }
.tnh-foot .tnh-brand__tag { color: #ffd9a8; }
.tnh-foot__desc { margin: 16px 0 20px; max-width: 46ch; line-height: 1.65; }
.tnh-foot__lh { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tnh-foot__lh li { display: flex; align-items: center; gap: 10px; }
.tnh-foot__lh svg { width: 19px; height: 19px; flex: none; color: #ffd9a8; }
.tnh-foot__lh a { color: #fff; text-decoration: none; font-weight: 700; }
.tnh-foot__lh a:hover { color: #ffd9a8; text-decoration: underline; }

.tnh-foot__col h2 {
	margin: 0 0 16px;
	color: #fff;
	font-size: 17px;
	letter-spacing: .02em;
}
.tnh-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tnh-foot__col a { color: #bfdcd8; text-decoration: none; }
.tnh-foot__col a:hover { color: #fff; text-decoration: underline; }

.tnh-foot__bot {
	border-top: 1px solid rgba(255, 255, 255, .13);
	padding: 18px 0 24px;
	font-size: 13.8px;
	color: #9ec8c3;
}
.tnh-foot__bot p { margin: 0 0 4px; }
.tnh-foot__bot a { color: #ffd9a8; }

/* =====================================================================
 * ĐẦU TRANG PHỤ (danh sách, chi tiết, trang tĩnh)
 * ===================================================================== */
.tnh-page__head {
	background: linear-gradient(180deg, var(--tnh-nen-ngoc) 0%, #fff 100%);
	border-bottom: 1px solid var(--tnh-vien);
	padding: 38px 0 42px;
}
.tnh-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 14px;
	color: var(--tnh-mo);
}
.tnh-crumb a { color: var(--tnh-ngoc-d); text-decoration: none; }
.tnh-crumb a:hover { text-decoration: underline; }
.tnh-page__title {
	margin: 0;
	color: var(--tnh-muc);
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 800;
}
.tnh-page__sub { margin: 10px 0 0; max-width: 68ch; color: var(--tnh-mo); }
.tnh-page__body { padding: 40px 0 64px; }
.tnh-page__body h2 { color: var(--tnh-muc); margin-top: 1.6em; }
.tnh-page__body h3 { color: var(--tnh-muc); }

/* =====================================================================
 * TRANG DANH SÁCH DỊCH VỤ (WooCommerce)
 * ===================================================================== */
.tnh-shop { padding: 34px 0 64px; }
.tnh-shop__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 26px;
}
.tnh-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.tnh-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 17px;
	border: 1.5px solid var(--tnh-vien-dam);
	border-radius: var(--tnh-pill);
	background: #fff;
	color: var(--tnh-than);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.tnh-chip span { color: var(--tnh-mo); font-weight: 600; font-size: 13px; }
.tnh-chip:hover { border-color: var(--tnh-ngoc); color: var(--tnh-ngoc-dd); }
.tnh-chip.is-on { background: var(--tnh-ngoc-d); border-color: var(--tnh-ngoc-d); color: #fff; }
.tnh-chip.is-on span { color: #c9e8e4; }

.tnh-shop__sort select,
.tnh-site .woocommerce-ordering select {
	padding: 10px 14px;
	border: 1.5px solid var(--tnh-vien-dam);
	border-radius: var(--tnh-pill);
	background: #fff;
	color: var(--tnh-muc);
	font-size: 15px;
	font-weight: 600;
}
.tnh-site .woocommerce-ordering { margin: 0; }

.tnh-site ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tnh-site ul.products::before,
.tnh-site ul.products::after { display: none; }
.tnh-site ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--tnh-vien);
	border-radius: var(--tnh-bo);
	overflow: hidden;
	box-shadow: var(--tnh-bong);
	transition: transform .18s ease, box-shadow .18s ease;
}
.tnh-site ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--tnh-bong-cao);
}
.tnh-site ul.products li.product > a.woocommerce-LoopProduct-link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.tnh-site ul.products li.product img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0;
	background: var(--tnh-ngoc-n);
}
.tnh-site ul.products li.product .woocommerce-loop-product__title {
	padding: 16px 18px 0;
	margin: 0 0 6px;
	font-family: "Baloo 2", system-ui, sans-serif;
	font-size: 18.5px;
	font-weight: 600;
	color: var(--tnh-muc);
	line-height: 1.3;
}
.tnh-site ul.products li.product .price {
	display: block;
	padding: 0 18px;
	margin: 0 0 14px;
	color: var(--tnh-ngoc-dd);
	font-size: 18px;
	font-weight: 800;
}
.tnh-site ul.products li.product .price .tnh-gia__tu,
.tnh-site .tnh-gia__tu {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tnh-mo);
	text-transform: lowercase;
}
.tnh-site ul.products li.product .tnh-btn {
	margin: auto 18px 18px;
	font-size: 15px;
	padding: 11px 18px;
}

/* Nhãn danh mục trên thẻ dịch vụ. */
.tnh-the__dm {
	display: inline-block;
	margin: 14px 18px 0;
	padding: 4px 12px;
	border-radius: var(--tnh-pill);
	background: var(--tnh-cam-n);
	color: #8a4a06;
	font-size: 12.5px;
	font-weight: 700;
}

.tnh-trong {
	padding: 40px 0;
	color: var(--tnh-mo);
	font-size: 17px;
}

.tnh-site .woocommerce-pagination { margin-top: 36px; }
.tnh-site .woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tnh-site .woocommerce-pagination ul li { border: 0; margin: 0; }
.tnh-site .woocommerce-pagination a,
.tnh-site .woocommerce-pagination span.current {
	display: grid;
	place-items: center;
	min-width: 42px; height: 42px;
	padding: 0 12px;
	border: 1.5px solid var(--tnh-vien-dam);
	border-radius: var(--tnh-pill);
	background: #fff;
	color: var(--tnh-than);
	font-weight: 700;
	text-decoration: none;
}
.tnh-site .woocommerce-pagination span.current {
	background: var(--tnh-ngoc-d);
	border-color: var(--tnh-ngoc-d);
	color: #fff;
}

/* =====================================================================
 * TRANG CHI TIẾT DỊCH VỤ
 * ===================================================================== */
.tnh-single__wrap { padding: 38px 0 64px; }

/*
 * `body.tnh-site.single-product`, KHÔNG phải `.tnh-site .single-product`.
 * WooCommerce gắn lớp `single-product` lên chính thẻ `<body>` — viết cách nhau
 * là đòi một phần tử con, nên cả khối luật im lặng không chạy và trang dịch vụ
 * rơi về bố cục hai cột thả nổi mặc định của plugin.
 */
body.tnh-site.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 44px;
	margin: 0;
}
body.tnh-site.single-product div.product .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0;
}
body.tnh-site.single-product div.product .woocommerce-product-gallery img {
	border-radius: var(--tnh-bo);
	display: block;
}
body.tnh-site.single-product div.product .summary {
	width: 100% !important;
	float: none !important;
	margin: 0;
}
body.tnh-site.single-product div.product .summary .price {
	display: block;
	margin: 0 0 18px;
	color: var(--tnh-ngoc-dd);
	font-size: 30px;
	font-weight: 800;
	font-family: "Baloo 2", system-ui, sans-serif;
}
body.tnh-site.single-product div.product .woocommerce-product-details__short-description {
	font-size: 17.5px;
	color: var(--tnh-than);
}
body.tnh-site.single-product div.product .product_meta {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--tnh-vien);
	font-size: 14.5px;
	color: var(--tnh-mo);
}
body.tnh-site.single-product div.product .product_meta a { color: var(--tnh-ngoc-d); }
/* WooCommerce in SKU và danh mục thành hai `<span>` liền nhau, không có khoảng
   trắng nào ở giữa — để mặc định thì ra "…NHA-TAMDanh mục:". */
body.tnh-site.single-product div.product .product_meta > span { display: block; margin-bottom: 4px; }

/* Khối đặt lịch trong cột tóm tắt. */
.tnh-dat {
	margin: 20px 0 0;
	padding: 20px 22px;
	background: var(--tnh-nen-ngoc);
	border: 1px solid var(--tnh-vien);
	border-radius: var(--tnh-bo);
}
.tnh-dat p { margin: 0 0 14px; font-size: 15px; color: var(--tnh-than); }
.tnh-dat__nut { display: flex; flex-wrap: wrap; gap: 10px; }

.tnh-site .woocommerce-tabs { grid-column: 1 / -1; margin-top: 8px; }
.tnh-site .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	border: 0;
}
.tnh-site .woocommerce-tabs ul.tabs::before,
.tnh-site .woocommerce-tabs ul.tabs::after { display: none; }
.tnh-site .woocommerce-tabs ul.tabs li {
	margin: 0; padding: 0;
	background: #fff;
	border: 1.5px solid var(--tnh-vien-dam);
	border-radius: var(--tnh-pill);
}
.tnh-site .woocommerce-tabs ul.tabs li::before,
.tnh-site .woocommerce-tabs ul.tabs li::after { display: none; }
.tnh-site .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 9px 20px;
	color: var(--tnh-than);
	font-weight: 700;
	text-decoration: none;
}
.tnh-site .woocommerce-tabs ul.tabs li.active {
	background: var(--tnh-ngoc-d);
	border-color: var(--tnh-ngoc-d);
}
.tnh-site .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.tnh-site .woocommerce-tabs .panel h2 { font-size: 23px; color: var(--tnh-muc); }
.tnh-site .woocommerce-tabs .panel { max-width: 76ch; }

.tnh-site .related.products {
	grid-column: 1 / -1;
	margin-top: 26px;
	padding-top: 34px;
	border-top: 1px solid var(--tnh-vien);
}
.tnh-site .related.products > h2 { font-size: 25px; color: var(--tnh-muc); margin-bottom: 20px; }
.tnh-site .related.products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* =====================================================================
 * TRANG GIỚI THIỆU
 * ===================================================================== */
.tnh-gt__mo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
	gap: 46px;
	align-items: center;
	padding: 56px 0;
}
.tnh-gt__mo img { border-radius: var(--tnh-bo); box-shadow: var(--tnh-bong); display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.tnh-gt__mo h2 { color: var(--tnh-muc); font-size: clamp(25px, 2.8vw, 34px); }

.tnh-gt__so {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.tnh-gt__so div {
	padding: 24px 22px;
	background: #fff;
	border: 1px solid var(--tnh-vien);
	border-radius: var(--tnh-bo);
}
.tnh-gt__so b {
	display: block;
	margin-bottom: 4px;
	font-family: "Baloo 2", system-ui, sans-serif;
	font-size: 20px;
	color: var(--tnh-ngoc-dd);
}
.tnh-gt__so p { margin: 0; font-size: 15px; color: var(--tnh-mo); }

.tnh-gt__ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tnh-gt__ds li { display: flex; gap: 12px; }
.tnh-gt__ds svg { width: 22px; height: 22px; flex: none; color: var(--tnh-ngoc); margin-top: 3px; }
.tnh-gt__ds b { display: block; color: var(--tnh-muc); font-family: "Baloo 2", system-ui, sans-serif; font-size: 17.5px; }

/* =====================================================================
 * TRANG LIÊN HỆ
 * ===================================================================== */
.tnh-lh__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 44px;
	padding: 48px 0 64px;
	align-items: start;
}
.tnh-lh__the {
	display: grid;
	gap: 14px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}
.tnh-lh__the li {
	display: flex;
	gap: 14px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--tnh-vien);
	border-radius: var(--tnh-bo-nho);
}
.tnh-lh__the svg { width: 24px; height: 24px; flex: none; color: var(--tnh-ngoc); margin-top: 2px; }
.tnh-lh__the b { display: block; color: var(--tnh-muc); font-family: "Baloo 2", system-ui, sans-serif; font-size: 17px; }
.tnh-lh__the a { font-weight: 700; }

.tnh-form {
	padding: 28px 28px 30px;
	background: var(--tnh-nen-ngoc);
	border: 1px solid var(--tnh-vien);
	border-radius: var(--tnh-bo);
}
.tnh-form h2 { margin: 0 0 6px; color: var(--tnh-muc); font-size: 24px; }
.tnh-form__note { margin: 0 0 20px; font-size: 14.5px; color: var(--tnh-mo); }
.tnh-form__hang { display: grid; gap: 16px; margin-bottom: 16px; }
.tnh-form__hang--doi { grid-template-columns: 1fr 1fr; }
.tnh-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--tnh-muc);
}
.tnh-form input,
.tnh-form select,
.tnh-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1.5px solid var(--tnh-vien-dam);
	border-radius: var(--tnh-bo-nho);
	background: #fff;
	color: var(--tnh-muc);
	font-size: 16px;
	box-sizing: border-box;
}
.tnh-form textarea { min-height: 120px; resize: vertical; }
.tnh-form input:focus,
.tnh-form select:focus,
.tnh-form textarea:focus { border-color: var(--tnh-ngoc); }
.tnh-form .tnh-btn { margin-top: 4px; }

/* =====================================================================
 * LỜI NHẮN SAU KHI GỬI BIỂU MẪU
 * ===================================================================== */
.tnh-toast {
	position: fixed;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	z-index: 90;
	width: min(560px, calc(100vw - 32px));
	padding: 16px 20px;
	background: var(--tnh-muc);
	color: #e8f6f4;
	border-radius: var(--tnh-bo-nho);
	box-shadow: var(--tnh-bong-cao);
	font-size: 15px;
	box-sizing: border-box;
}
.tnh-toast a { color: #ffd9a8; font-weight: 700; }

/* =====================================================================
 * GIỎ HÀNG · THANH TOÁN · TÀI KHOẢN
 *
 * WooCommerce 8 trở đi dựng ba trang này bằng *block*, lấy màu từ `theme.json`
 * chứ không từ CSS của theme con — nút mặc định ra xanh dương. Khai lại cho
 * khớp nút của theme. Mẫu này chạy chế độ danh mục nên ba trang gần như không
 * ai tới, nhưng chúng vẫn phải hiện đúng màu chứ không được vỡ.
 * ===================================================================== */
.tnh-site .wc-block-components-button,
.tnh-site .wc-block-cart__submit-button,
.tnh-site .wc-block-components-checkout-place-order-button,
.tnh-site .woocommerce a.button,
.tnh-site .woocommerce button.button,
.tnh-site .woocommerce input.button,
.tnh-site .woocommerce .button.alt {
	background: var(--tnh-ngoc-d) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--tnh-pill) !important;
	padding: 13px 26px !important;
	font-family: "Baloo 2", "Nunito", system-ui, sans-serif !important;
	font-weight: 700 !important;
	white-space: nowrap;
}
.tnh-site .wc-block-components-button:hover,
.tnh-site .wc-block-cart__submit-button:hover,
.tnh-site .wc-block-components-checkout-place-order-button:hover,
.tnh-site .woocommerce a.button:hover,
.tnh-site .woocommerce button.button:hover,
.tnh-site .woocommerce .button.alt:hover {
	background: var(--tnh-ngoc-dd) !important;
	color: #fff !important;
}
.tnh-site .wc-block-components-button__text { color: inherit; }

.tnh-site .woocommerce-message,
.tnh-site .woocommerce-info,
.tnh-site .woocommerce-error,
.tnh-site .wc-block-components-notice-banner {
	border-top-color: var(--tnh-ngoc) !important;
	border-radius: var(--tnh-bo-nho);
	background: var(--tnh-ngoc-n);
	color: var(--tnh-muc);
}
.tnh-site .woocommerce-error { background: #fdecea; border-top-color: var(--tnh-do) !important; }

.tnh-site .woocommerce form .form-row input.input-text,
.tnh-site .woocommerce form .form-row textarea,
.tnh-site .woocommerce form .form-row select,
.tnh-site .wc-block-components-text-input input {
	border-radius: var(--tnh-bo-nho);
	border: 1.5px solid var(--tnh-vien-dam);
	padding: 12px 15px;
}

/* =====================================================================
 * HIỆU ỨNG
 *
 * 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.
 * ===================================================================== */
.tnh-rise {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .5s ease, transform .5s ease;
}
.tnh-rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.tnh-rise { opacity: 1 !important; transform: none !important; transition: none !important; }
	.tnh-btn:hover,
	.tnh-site ul.products li.product:hover { transform: none; }
	.tnh-hoi summary::after { transition: none; }
	* { scroll-behavior: auto !important; }
}

/* =====================================================================
 * BỀ NGANG
 * ===================================================================== */
@media (max-width: 1180px) {
	.tnh-site ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tnh-camket__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tnh-nav a { padding: 9px 10px; font-size: 15px; }
}

@media (max-width: 1020px) {
	.tnh-nav {
		position: absolute;
		left: 0; right: 0;
		top: 100%;
		display: none;
		padding: 10px 20px 18px;
		background: #fff;
		border-bottom: 1px solid var(--tnh-vien);
		box-shadow: 0 16px 30px rgba(15, 47, 44, .12);
	}
	.tnh-nav.is-open { display: block; }
	.tnh-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.tnh-nav a { padding: 12px 14px; border-radius: var(--tnh-bo-nho); font-size: 16.5px; }

	.tnh-burger { display: grid; place-items: center; }
	.tnh-head__row { position: relative; min-height: 72px; }
	.tnh-head__cta { display: none; }

	.tnh-hero__grid { grid-template-columns: 1fr; gap: 34px; }
	.tnh-hero__the { left: 16px; }
	.tnh-gt__mo,
	.tnh-lh__grid { grid-template-columns: 1fr; gap: 32px; }
	body.tnh-site.single-product div.product { grid-template-columns: 1fr; gap: 30px; }
	.tnh-qt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tnh-camket { margin-top: 0; padding-top: 28px; }
}

@media (max-width: 820px) {
	.tnh-bar__msg { display: none; }
	.tnh-bar__in { justify-content: center; }
	.tnh-ts__chu { padding: 18px 20px 20px; }
	.tnh-goi__in { gap: 26px; }
	.tnh-gt__so { grid-template-columns: 1fr; }
	.tnh-foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.tnh-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
	body.tnh-site { font-size: 16.5px; }
	.tnh-wrap { width: min(100% - 32px, var(--tnh-rong)); }
	.tnh-kh { padding: 52px 0; }
	.tnh-hero { padding: 40px 0 56px; }

	.tnh-site ul.products,
	.tnh-site .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.tnh-site ul.products li.product .woocommerce-loop-product__title { font-size: 16.5px; padding: 13px 14px 0; }
	.tnh-site ul.products li.product .price { padding: 0 14px; font-size: 16.5px; }
	.tnh-site ul.products li.product .tnh-btn { margin: auto 14px 14px; font-size: 14px; padding: 10px 12px; }
	.tnh-the__dm { margin: 12px 14px 0; }

	.tnh-camket__grid { grid-template-columns: 1fr; }
	.tnh-qt { grid-template-columns: 1fr; }
	.tnh-form__hang--doi { grid-template-columns: 1fr; }
	.tnh-form { padding: 22px 20px 24px; }
	.tnh-goi__nut { width: 100%; }
	.tnh-goi__nut .tnh-btn { flex: 1 1 100%; }
	.tnh-hero__nut .tnh-btn { flex: 1 1 100%; }
	.tnh-hero__the { position: static; max-width: none; margin-top: 14px; }
	.tnh-foot__grid { grid-template-columns: 1fr; }
	.tnh-site .woocommerce-tabs ul.tabs li a { padding: 8px 15px; font-size: 15px; }
}

@media (max-width: 420px) {
	/* `.tnh-ts__anh` CỐ Ý giữ hai cột ở mọi bề ngang: xếp chồng lên nhau thì
	   "trước" và "sau" không còn nhìn cạnh nhau được nữa, mà đó chính là lý do
	   khối này tồn tại. Hai ảnh ~180px vẫn đủ để thấy khác biệt. */
	.tnh-site ul.products,
	.tnh-site .related.products ul.products { grid-template-columns: 1fr; }
	.tnh-brand__name { font-size: 22px; }
}
