/*
Theme Name: Luc Diep — Kien truc xanh
Theme URI: https://kientruc-mau-04.mauwebsitedep.net/
Description: Mau website kien truc xanh va cong trinh ben vung (kientruc-mau-04). Theme con cua vinasite, chay WooCommerce o che do danh muc.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: kientruc-mau-04
*/

/* =====================================================================
 * LỤC DIỆP — kiến trúc xanh, công trình bền vững
 *
 * Nền GIẤY SÁNG, không phải nền tối. Xanh rêu sẫm chỉ dùng cho CHỮ, nét và
 * điểm nhấn; nó không bao giờ phủ kín một trang. Hai màu còn lại là gỗ sáng
 * (số liệu, đường gạch dưới) và đất nung (nhãn nhỏ, trạng thái đang xem).
 *
 * Phông: Source Sans 3 — sans nhân văn, bụng chữ mở, nét có nhịp của chữ viết
 * tay. Khai cho CẢ trang phụ (giỏ hàng, thanh toán, tài khoản), nếu không
 * chúng chạy phông mặc định của theme mẹ.
 * ===================================================================== */

:root {
	--nen:      #FBFAF6;   /* giấy sáng */
	--nen-2:    #F3F0E7;   /* be nhạt — dải xen kẽ */
	--nen-la:   #ECF0E6;   /* xanh lá rất nhạt — khối dữ liệu môi trường */
	--reu:      #2E4034;   /* xanh rêu sẫm — chữ và nét chính */
	--reu-2:    #445C49;
	--reu-mo:   #6E8472;
	--go:       #C9A063;   /* gỗ sáng */
	--go-nhat:  #E8DAC0;
	--dat:      #B3502F;   /* đất nung */
	--chu:      #232B25;
	--chu-mo:   #5E6A61;
	--vien:     #E0DCCE;
	--trang:    #FFFFFF;

	--rong:     1200px;
	--bo:       3px;
	--dong:     1.65;
	--chuyen:   .22s cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------------------------------------------ *
 * NỀN CHUNG
 * ------------------------------------------------------------------ */
body.ld-shop {
	margin: 0;
	background: var(--nen);
	color: var(--chu);
	font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: var(--dong);
	-webkit-font-smoothing: antialiased;
}

/* Trang phụ của WooCommerce dựng bằng block — phông phải khai cả cho chúng. */
body.ld-shop input,
body.ld-shop select,
body.ld-shop textarea,
body.ld-shop button,
body.ld-shop .wp-block-group,
body.ld-shop .wc-block-components-button,
body.ld-shop .woocommerce {
	font-family: inherit;
}

body.ld-shop * { box-sizing: border-box; }
body.ld-shop img { max-width: 100%; height: auto; display: block; }

/*
 * 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 (`body.ld-shop h1`) vừa thắng được, vừa để tiêu đề tự đúng màu trong
 * mọi khối — không phải liệt kê từng ngoại lệ.
 */
body.ld-shop h1,
body.ld-shop h2,
body.ld-shop h3,
body.ld-shop h4 {
	color: inherit;
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -.012em;
	margin: 0 0 .5em;
}

body.ld-shop a { color: var(--reu); }

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

.ld-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--reu);
	color: #fff;
	padding: 12px 18px;
	z-index: 99;
}
.ld-skip:focus { left: 0; }

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

/* ------------------------------------------------------------------ *
 * NÚT
 * ------------------------------------------------------------------ */
.ld-nut {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: var(--bo);
	border: 1.5px solid var(--reu);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background var(--chuyen), color var(--chuyen), border-color var(--chuyen);
}
/*
 * Hai lớp (`body.ld-shop .ld-nut--dac`) chứ không một.
 *
 * Theme mẹ có luật riêng cho liên kết trong `.vs-scope`, thắng khai báo một
 * lớp — hậu quả là chữ trên nút nhận đúng màu nền của nút và biến mất hẳn.
 */
body.ld-shop .ld-nut--dac { background: var(--reu); color: #fff; }
body.ld-shop .ld-nut--dac:hover { background: var(--reu-2); border-color: var(--reu-2); color: #fff; }
body.ld-shop .ld-nut--vien { background: transparent; color: var(--reu); }
body.ld-shop .ld-nut--vien:hover { background: var(--reu); color: #fff; }
body.ld-shop .ld-cta .ld-nut--dac { color: #27331F; }
body.ld-shop .ld-cta .ld-nut--vien { color: #EAF0E8; }
body.ld-shop .ld-cta .ld-nut--vien:hover { color: #fff; }
.ld-nut--nho { padding: 9px 18px; font-size: 15px; }

/* ------------------------------------------------------------------ *
 * 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à bóng đổ.
 * ------------------------------------------------------------------ */
.ld-bar {
	background: var(--reu);
	color: #E9EFE8;
	font-size: 14.5px;
}
.ld-bar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	padding-top: 7px;
	padding-bottom: 7px;
}
.ld-bar strong { color: var(--go); font-weight: 600; }
.ld-bar a {
	color: #E9EFE8;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
.ld-bar a svg { width: 15px; height: 15px; }
.ld-bar a:hover { color: var(--go); }

.ld-head {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(251, 250, 246, .92);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--vien);
	transition: background var(--chuyen), box-shadow var(--chuyen);
}
.ld-head.is-stuck {
	background: var(--nen);
	box-shadow: 0 6px 24px rgba(46, 64, 52, .09);
}

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

.ld-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	color: var(--reu);
	flex: 0 0 auto;
}
.ld-brand__mark { display: flex; }
.ld-brand__name {
	display: block;
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.1;
}
.ld-brand__tag {
	display: block;
	font-size: 10.5px;
	letter-spacing: .13em;
	color: var(--dat);
	font-weight: 600;
	margin-top: 3px;
	transition: opacity var(--chuyen);
}
.ld-head.is-stuck .ld-brand__tag { opacity: 0; }

.ld-nav { margin-left: auto; }
.ld-nav ul {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.ld-nav a {
	position: relative;
	text-decoration: none;
	color: var(--chu);
	font-size: 16px;
	font-weight: 600;
	padding: 6px 0;
	display: inline-block;
	white-space: nowrap;
}
.ld-nav a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--go);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--chuyen);
}
.ld-nav a:hover::after,
.ld-nav a[aria-current="page"]::after { transform: scaleX(1); }
.ld-nav a[aria-current="page"] { color: var(--reu); }

.ld-tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.ld-search {
	display: flex;
	align-items: center;
	gap: 7px;
	border: 1px solid var(--vien);
	background: var(--trang);
	border-radius: var(--bo);
	padding: 0 10px;
	height: 42px;
	max-width: 230px;
}
.ld-search svg { width: 17px; height: 17px; color: var(--reu-mo); flex: 0 0 auto; }
.ld-search input {
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 15px;
	width: 125px;
	min-width: 0;
	color: var(--chu);
}
.ld-search button {
	border: 0;
	background: transparent;
	color: var(--reu);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	padding: 0 2px;
}
.ld-search button:hover { color: var(--dat); }

/* Giỏ hàng cố ý KHÔNG có trong đầu trang: đây là hồ sơ công trình, không phải
   cửa hàng. Lối liên hệ duy nhất là nút đặt lịch. */
.ld-head__cta { flex: 0 0 auto; }

.ld-burger {
	display: none;
	border: 1px solid var(--vien);
	background: var(--trang);
	border-radius: var(--bo);
	width: 42px; height: 42px;
	cursor: pointer;
	padding: 0;
	align-items: center;
	justify-content: center;
}
.ld-burger span[aria-hidden] { display: block; width: 19px; }
.ld-burger i {
	display: block;
	height: 2px;
	background: var(--reu);
	margin: 4px 0;
	border-radius: 2px;
}

/* ------------------------------------------------------------------ *
 * TRANG CHỦ — HERO
 * ------------------------------------------------------------------ */
.ld-hero { padding: 76px 0 0; }
.ld-hero__grid {
	display: grid;
	grid-template-columns: 1.02fr .98fr;
	gap: 56px;
	align-items: center;
}
.ld-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--dat);
	margin-bottom: 18px;
}
.ld-eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--dat);
}
.ld-hero h1 {
	font-size: clamp(34px, 4.3vw, 54px);
	color: var(--reu);
	margin-bottom: 20px;
}
.ld-hero h1 em {
	font-style: normal;
	color: var(--dat);
	box-shadow: inset 0 -.26em 0 var(--go-nhat);
}
.ld-hero__sub {
	font-size: 18.5px;
	color: var(--chu-mo);
	max-width: 50ch;
	margin: 0 0 30px;
}
.ld-hero__nut { display: flex; flex-wrap: wrap; gap: 12px; }

.ld-hero__anh {
	position: relative;
	border-radius: var(--bo);
	overflow: hidden;
	background: var(--nen-2);
	aspect-ratio: 4 / 3;
}
.ld-hero__anh img { width: 100%; height: 100%; object-fit: cover; }
.ld-hero__the {
	position: absolute;
	left: 18px; bottom: 18px; right: 18px;
	background: rgba(251, 250, 246, .94);
	border-radius: var(--bo);
	padding: 14px 16px;
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-size: 14.5px;
	color: var(--chu-mo);
}
.ld-hero__the b {
	font-size: 26px;
	color: var(--reu);
	line-height: 1;
	flex: 0 0 auto;
}

/* ------------------------------------------------------------------ *
 * KHỐI DỮ LIỆU MÔI TRƯỜNG — dấu nhận diện của mẫu này
 *
 * Bốn cột ngăn nhau bằng nét dọc mảnh, số đặt to bằng xanh rêu, đơn vị bằng
 * màu gỗ. Dòng ghi chú cuối khối là BẮT BUỘC: những con số kiểu này rất dễ bị
 * đọc thành cam kết đã kiểm định.
 * ------------------------------------------------------------------ */
.ld-mt { margin-top: 80px; background: var(--nen-la); padding: 56px 0 46px; }
.ld-mt__dau {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 34px;
}
.ld-mt__dau h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--reu); margin: 0; }
.ld-mt__dau p { margin: 0; color: var(--chu-mo); max-width: 46ch; font-size: 16px; }

.ld-mt__luoi {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.ld-mt__o { padding: 4px 26px; border-left: 1px solid rgba(46, 64, 52, .16); }
.ld-mt__o:first-child { padding-left: 0; border-left: 0; }
.ld-mt__so {
	display: flex;
	align-items: baseline;
	gap: 5px;
	font-size: clamp(38px, 4.4vw, 52px);
	font-weight: 700;
	color: var(--reu);
	line-height: 1;
	letter-spacing: -.02em;
}
.ld-mt__dv { font-size: 18px; font-weight: 600; color: var(--go); letter-spacing: 0; }
.ld-mt__ten {
	font-size: 16px;
	font-weight: 700;
	color: var(--chu);
	margin: 14px 0 6px;
}
.ld-mt__mo-ta { font-size: 14.5px; color: var(--chu-mo); margin: 0; line-height: 1.55; }

.ld-mt__ghi-chu {
	margin: 34px 0 0;
	padding: 14px 16px;
	border-left: 3px solid var(--dat);
	background: rgba(255, 255, 255, .62);
	font-size: 14.5px;
	color: var(--chu-mo);
}
.ld-mt__ghi-chu strong { color: var(--dat); }

/* ------------------------------------------------------------------ *
 * KHỐI CHUNG CỦA TRANG CHỦ
 * ------------------------------------------------------------------ */
.ld-khoi { padding: 80px 0; }
.ld-khoi--be { background: var(--nen-2); }
.ld-dau {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 36px;
}
.ld-dau h2 { font-size: clamp(25px, 2.8vw, 34px); color: var(--reu); margin: 0; }
.ld-dau p { margin: 8px 0 0; color: var(--chu-mo); max-width: 56ch; }
.ld-dau a {
	font-weight: 600;
	text-decoration: none;
	color: var(--dat);
	white-space: nowrap;
	border-bottom: 2px solid var(--go-nhat);
	padding-bottom: 2px;
}
.ld-dau a:hover { border-color: var(--dat); }

/* Ba nhóm công trình */
.ld-nhom {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.ld-nhom__o {
	position: relative;
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: var(--bo);
	overflow: hidden;
	background: var(--trang);
	border: 1px solid var(--vien);
}
.ld-nhom__anh { aspect-ratio: 4 / 3; overflow: hidden; background: var(--nen-2); }
.ld-nhom__anh img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}
.ld-nhom__o:hover .ld-nhom__anh img { transform: scale(1.045); }
.ld-nhom__in { padding: 20px 22px 24px; }
.ld-nhom__in h3 { font-size: 20px; color: var(--reu); margin: 0 0 7px; }
.ld-nhom__in p { margin: 0; font-size: 15px; color: var(--chu-mo); }
.ld-nhom__n {
	display: inline-block;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--dat);
	text-transform: uppercase;
}

/* Quy trình bốn bước */
.ld-buoc {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	counter-reset: ld-b;
}
.ld-buoc__o {
	padding-top: 22px;
	border-top: 2px solid var(--reu);
	counter-increment: ld-b;
}
.ld-buoc__o::before {
	content: "0" counter(ld-b);
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--go);
	letter-spacing: .08em;
	margin-bottom: 10px;
}
.ld-buoc__o h3 { font-size: 18.5px; color: var(--reu); margin: 0 0 7px; }
.ld-buoc__o p { margin: 0; font-size: 15px; color: var(--chu-mo); }

/* Khối triết lý: ảnh + danh sách */
.ld-triet {
	display: grid;
	grid-template-columns: .95fr 1.05fr;
	gap: 56px;
	align-items: center;
}
.ld-triet__anh {
	border-radius: var(--bo);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--nen-2);
}
.ld-triet__anh img { width: 100%; height: 100%; object-fit: cover; }
.ld-triet h2 { font-size: clamp(25px, 2.8vw, 34px); color: var(--reu); }
.ld-triet__ds { list-style: none; margin: 24px 0 0; padding: 0; }
.ld-triet__ds li {
	position: relative;
	padding: 0 0 18px 32px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--vien);
}
.ld-triet__ds li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.ld-triet__ds li::before {
	content: "";
	position: absolute;
	left: 0; top: 7px;
	width: 15px; height: 15px;
	border-radius: 50% 0 50% 50%;
	background: var(--go);
}
.ld-triet__ds b { display: block; color: var(--reu); font-size: 17px; }
.ld-triet__ds span { color: var(--chu-mo); font-size: 15.5px; }

/* Dải gọi hành động cuối trang chủ */
.ld-cta {
	background: var(--reu);
	color: #EAF0E8;
	padding: 62px 0;
}
.ld-cta__in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}
.ld-cta h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 8px; }
.ld-cta p { margin: 0; color: #C8D4C6; max-width: 56ch; }
.ld-cta .ld-nut--dac { background: var(--go); border-color: var(--go); color: #27331F; }
.ld-cta .ld-nut--dac:hover { background: #D8B47C; border-color: #D8B47C; color: #27331F; }
.ld-cta .ld-nut--vien { color: #EAF0E8; border-color: rgba(234, 240, 232, .55); }
.ld-cta .ld-nut--vien:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ------------------------------------------------------------------ *
 * ĐẦU TRANG CON + ĐƯỜNG DẪN PHÂN CẤP
 * ------------------------------------------------------------------ */
.ld-page__head {
	background: var(--nen-2);
	border-bottom: 1px solid var(--vien);
	padding: 40px 0 44px;
}
.ld-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--chu-mo);
	margin-bottom: 14px;
}
.ld-crumb a { color: var(--chu-mo); text-decoration: none; }
.ld-crumb a:hover { color: var(--dat); }
.ld-page__title { font-size: clamp(27px, 3.2vw, 40px); color: var(--reu); margin: 0; }
.ld-page__sub { margin: 12px 0 0; color: var(--chu-mo); max-width: 70ch; }
.ld-page__body { padding: 44px 0 72px; }
.ld-page__body h2 { color: var(--reu); margin-top: 1.4em; }

/* ------------------------------------------------------------------ *
 * LƯỚI CÔNG TRÌNH (WooCommerce)
 * ------------------------------------------------------------------ */
.ld-shop-body { padding: 36px 0 76px; }

.ld-bar-loc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 22px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--vien);
}
.ld-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.ld-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 15px;
	border: 1px solid var(--vien);
	border-radius: 999px;
	background: var(--trang);
	color: var(--chu);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	transition: all var(--chuyen);
}
.ld-chip span { color: var(--reu-mo); font-weight: 600; font-size: 13px; }
.ld-chip:hover { border-color: var(--reu-mo); }
.ld-chip.is-on { background: var(--reu); border-color: var(--reu); color: #fff; }
.ld-chip.is-on span { color: var(--go); }

body.ld-shop .woocommerce-ordering select,
.ld-sort select {
	border: 1px solid var(--vien);
	background: var(--trang);
	border-radius: var(--bo);
	padding: 9px 12px;
	font-size: 15px;
	font-family: inherit;
	color: var(--chu);
	max-width: 100%;
}

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

body.ld-shop ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	background: var(--trang);
	border: 1px solid var(--vien);
	border-radius: var(--bo);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 0;
	transition: border-color var(--chuyen), box-shadow var(--chuyen);
}
body.ld-shop ul.products li.product:hover {
	border-color: var(--reu-mo);
	box-shadow: 0 10px 30px rgba(46, 64, 52, .08);
}
body.ld-shop ul.products li.product > a.woocommerce-LoopProduct-link {
	display: block;
	text-decoration: none;
	color: inherit;
}
body.ld-shop ul.products li.product img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0;
	transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}
body.ld-shop ul.products li.product:hover img { transform: scale(1.04); }
body.ld-shop ul.products li.product .woocommerce-loop-product__title {
	font-size: 19px;
	font-weight: 700;
	color: var(--reu);
	margin: 0;
	padding: 18px 20px 0;
}
body.ld-shop ul.products li.product .ld-tom-tat {
	padding: 7px 20px 0;
	margin: 0;
	font-size: 14.5px;
	color: var(--chu-mo);
}
body.ld-shop ul.products li.product .price {
	display: block;
	padding: 12px 20px 0;
	margin: 0;
	color: var(--chu);
	font-size: 16px;
	font-weight: 700;
}
body.ld-shop ul.products li.product .ld-nut {
	margin: 16px 20px 20px;
	align-self: flex-start;
}
body.ld-shop ul.products li.product .ld-nhom-nhan {
	display: inline-block;
	margin: 16px 20px 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dat);
}

.ld-gia__tu { font-weight: 600; color: var(--chu-mo); font-size: 14px; }
.ld-gia__dv { font-weight: 600; color: var(--chu-mo); font-size: 14px; }

body.ld-shop .woocommerce-pagination ul {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 42px 0 0;
	border: 0;
	justify-content: center;
}
body.ld-shop .woocommerce-pagination ul li { border: 0; margin: 0; }
body.ld-shop .woocommerce-pagination a,
body.ld-shop .woocommerce-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px; height: 42px;
	padding: 0 12px;
	border: 1px solid var(--vien);
	border-radius: var(--bo);
	background: var(--trang);
	color: var(--chu);
	text-decoration: none;
	font-weight: 600;
}
body.ld-shop .woocommerce-pagination span.current {
	background: var(--reu);
	border-color: var(--reu);
	color: #fff;
}

.ld-trong {
	padding: 50px 0;
	color: var(--chu-mo);
	font-size: 17px;
}

/* ------------------------------------------------------------------ *
 * TRANG CHI TIẾT CÔNG TRÌNH
 * ------------------------------------------------------------------ */
.ld-single__wrap { padding: 44px 0 76px; }

body.ld-shop div.product {
	display: grid;
	grid-template-columns: 1.06fr .94fr;
	gap: 50px;
	align-items: start;
}
body.ld-shop div.product .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}
body.ld-shop div.product .woocommerce-product-gallery img { border-radius: var(--bo); }
body.ld-shop div.product .summary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}
body.ld-shop div.product .woocommerce-product-details__short-description {
	font-size: 18px;
	color: var(--chu);
	margin-bottom: 20px;
}
body.ld-shop div.product p.price {
	font-size: 22px;
	font-weight: 700;
	color: var(--reu);
	margin: 0 0 6px;
}

.ld-tuvan {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--vien);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.ld-tuvan__note {
	flex: 1 1 100%;
	margin: 6px 0 0;
	font-size: 14.5px;
	color: var(--chu-mo);
	padding-left: 14px;
	border-left: 3px solid var(--go);
}
.ld-tuvan__note strong { color: var(--dat); }

body.ld-shop div.product .product_meta {
	grid-column: 1 / -1;
	font-size: 14.5px;
	color: var(--chu-mo);
}
body.ld-shop div.product .product_meta a { color: var(--dat); }

/* Thẻ Mô tả / Thông số */
body.ld-shop div.product .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: 10px;
}
body.ld-shop div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0 0 22px;
	padding: 0 0 0 0;
	border-bottom: 1px solid var(--vien);
}
body.ld-shop div.product .woocommerce-tabs ul.tabs::before { content: none; }
body.ld-shop div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}
body.ld-shop div.product .woocommerce-tabs ul.tabs li::before,
body.ld-shop div.product .woocommerce-tabs ul.tabs li::after { content: none; }
body.ld-shop div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 11px 18px;
	font-weight: 700;
	color: var(--chu-mo);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
body.ld-shop div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--reu);
	border-bottom-color: var(--go);
}
body.ld-shop div.product .woocommerce-tabs .panel > h2 { display: none; }
body.ld-shop div.product .woocommerce-tabs .panel {
	max-width: 76ch;
	font-size: 17px;
	color: var(--chu);
}

body.ld-shop .related.products {
	grid-column: 1 / -1;
	margin-top: 54px;
	padding-top: 42px;
	border-top: 1px solid var(--vien);
}
body.ld-shop .related.products > h2 {
	font-size: 25px;
	color: var(--reu);
	margin-bottom: 26px;
}

/* ------------------------------------------------------------------ *
 * TRANG GIỚI THIỆU + LIÊN HỆ
 * ------------------------------------------------------------------ */
.ld-gt__anh {
	border-radius: var(--bo);
	overflow: hidden;
	aspect-ratio: 16 / 7;
	background: var(--nen-2);
	margin-bottom: 44px;
}
.ld-gt__anh img { width: 100%; height: 100%; object-fit: cover; }

.ld-gt__hai {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: start;
}
.ld-gt__hai h2 { color: var(--reu); margin-top: 0; }
.ld-gt__hai p { color: var(--chu-mo); }

.ld-gt__the {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 54px;
}
.ld-gt__the > div {
	background: var(--trang);
	border: 1px solid var(--vien);
	border-radius: var(--bo);
	padding: 24px 22px;
}
.ld-gt__the h3 { font-size: 18px; color: var(--reu); margin: 0 0 8px; }
.ld-gt__the p { margin: 0; font-size: 15px; color: var(--chu-mo); }

.ld-lh__grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 50px;
	align-items: start;
}
.ld-lh__ds { list-style: none; margin: 0 0 28px; padding: 0; }
.ld-lh__ds li {
	padding: 16px 0;
	border-bottom: 1px solid var(--vien);
	display: flex;
	gap: 16px;
	align-items: baseline;
}
.ld-lh__ds b {
	flex: 0 0 120px;
	color: var(--reu);
	font-size: 14px;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.ld-lh__ds a { color: var(--dat); text-decoration: none; font-weight: 600; }
.ld-lh__ds a:hover { text-decoration: underline; }

.ld-form {
	background: var(--trang);
	border: 1px solid var(--vien);
	border-radius: var(--bo);
	padding: 28px;
}
.ld-form h2 { font-size: 22px; color: var(--reu); margin: 0 0 6px; }
.ld-form__note { font-size: 14.5px; color: var(--chu-mo); margin: 0 0 20px; }
.ld-form label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--reu);
	margin-bottom: 6px;
}
.ld-form .ld-o { margin-bottom: 16px; }
.ld-form input,
.ld-form textarea,
.ld-form select {
	width: 100%;
	border: 1px solid var(--vien);
	border-radius: var(--bo);
	padding: 11px 13px;
	font-size: 16px;
	font-family: inherit;
	color: var(--chu);
	background: var(--nen);
}
.ld-form input:focus,
.ld-form textarea:focus,
.ld-form select:focus { outline: 2px solid var(--go); outline-offset: 1px; }
.ld-form textarea { min-height: 112px; resize: vertical; }

/* Khối gọi nhanh thay biểu mẫu trên điện thoại */
.ld-goi-nhanh { display: none; }

/* ------------------------------------------------------------------ *
 * CHÂN TRANG
 * ------------------------------------------------------------------ */
.ld-foot {
	background: var(--reu);
	color: #C8D4C6;
	padding: 62px 0 0;
	margin-top: 0;
}
.ld-foot__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 36px;
	padding-bottom: 44px;
}
.ld-foot h3 {
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--go);
	margin: 0 0 16px;
}
.ld-foot ul { list-style: none; margin: 0; padding: 0; }
.ld-foot li { margin-bottom: 10px; }
.ld-foot a {
	color: #C8D4C6;
	text-decoration: none;
	display: inline-block;
	transition: transform var(--chuyen), color var(--chuyen);
}
.ld-foot a:hover { color: #fff; transform: translateX(3px); }
.ld-foot__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.ld-foot__brand span { font-size: 20px; font-weight: 700; color: #fff; }
.ld-foot__gt { font-size: 15px; color: #AEBCAC; max-width: 38ch; margin: 0; }
.ld-foot__day { font-size: 15px; }
.ld-foot__day b { display: block; font-size: 17px; }
.ld-foot__day b a { color: #fff; font-weight: 700; }

.ld-foot__cuoi {
	border-top: 1px solid rgba(255, 255, 255, .14);
	padding: 20px 0 26px;
	font-size: 14px;
	color: #A6B4A5;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	justify-content: space-between;
}
.ld-foot__demo {
	background: rgba(201, 160, 99, .16);
	border-left: 3px solid var(--go);
	padding: 13px 15px;
	font-size: 14px;
	color: #DCE4DA;
	margin: 0 0 24px;
}

/* ------------------------------------------------------------------ *
 * LỜI NHẮN NỔI
 * ------------------------------------------------------------------ */
.ld-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 90;
	max-width: min(560px, calc(100vw - 32px));
	background: var(--reu);
	color: #EAF0E8;
	border-radius: var(--bo);
	padding: 15px 20px;
	font-size: 15px;
	box-shadow: 0 14px 40px rgba(35, 43, 37, .26);
}

/* ------------------------------------------------------------------ *
 * TRANG 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ên nút mặc định ra xanh dương. Phải khai lại
 * từng lớp của khối.
 * ------------------------------------------------------------------ */
body.ld-shop .wc-block-components-button,
body.ld-shop .wc-block-cart__submit-button,
body.ld-shop .wc-block-components-checkout-place-order-button,
body.ld-shop .wp-block-button__link,
body.ld-shop .woocommerce button.button,
body.ld-shop .woocommerce a.button,
body.ld-shop .woocommerce input.button {
	background: var(--reu) !important;
	color: #fff !important;
	border: 1.5px solid var(--reu) !important;
	border-radius: var(--bo) !important;
	font-family: inherit !important;
	font-weight: 600 !important;
	white-space: nowrap;
}
/*
 * Trang Giỏ hàng rỗng tự in một khối sản phẩm dựng bằng block. Lưới của khối
 * ấy dùng lề âm, nên ở bề ngang 768px nó đẩy trang rộng thêm 8px. Dựng lại
 * bằng grid để không còn lề âm nào.
 */
body.ld-shop .wc-block-grid__products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.ld-shop .wc-block-grid__product {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
@media (max-width: 900px) {
	body.ld-shop .wc-block-grid__products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	body.ld-shop .wc-block-grid__products { grid-template-columns: 1fr; }
}

body.ld-shop .wc-block-components-button:hover,
body.ld-shop .wc-block-cart__submit-button:hover,
body.ld-shop .wc-block-components-checkout-place-order-button:hover,
body.ld-shop .wp-block-button__link:hover,
body.ld-shop .woocommerce button.button:hover,
body.ld-shop .woocommerce a.button:hover,
body.ld-shop .woocommerce input.button:hover {
	background: var(--reu-2) !important;
	border-color: var(--reu-2) !important;
}
body.ld-shop .wc-block-components-button__text { color: inherit; }
body.ld-shop a.wc-block-components-totals-coupon-link,
body.ld-shop .wc-block-components-product-name { color: var(--reu); }

body.ld-shop .woocommerce-message,
body.ld-shop .woocommerce-info,
body.ld-shop .woocommerce-error {
	border-top-color: var(--go);
	background: var(--nen-2);
	color: var(--chu);
	border-radius: var(--bo);
}
body.ld-shop .woocommerce-message::before,
body.ld-shop .woocommerce-info::before { color: var(--go); }

body.ld-shop .woocommerce form .form-row input.input-text,
body.ld-shop .woocommerce form .form-row textarea,
body.ld-shop .woocommerce form .form-row select {
	border: 1px solid var(--vien);
	border-radius: var(--bo);
	padding: 10px 12px;
	font-family: inherit;
	background: var(--trang);
}

/* ------------------------------------------------------------------ *
 * 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.
 * ------------------------------------------------------------------ */
.ld-hien { opacity: 0; transform: translateY(14px); }
.ld-hien.is-vao {
	opacity: 1;
	transform: none;
	transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------ *
 * BỀ NGANG NHỎ DẦN
 * ------------------------------------------------------------------ */
/*
 * Menu không được gãy chữ (`white-space: nowrap` ở trên), nên khi bề ngang hẹp
 * dần thì phải bỏ bớt thứ khác trong đầu trang để nhường chỗ: ô tìm kiếm trước,
 * rồi tới nút đặt lịch. Dưới 960px cả menu cũng thu về nút ba gạch.
 */
@media (max-width: 1280px) {
	.ld-head .ld-search { display: none; }
}
@media (max-width: 1140px) {
	.ld-head__cta { display: none; }
}

@media (max-width: 1100px) {
	.ld-hero__grid,
	.ld-triet,
	.ld-gt__hai,
	.ld-lh__grid { grid-template-columns: 1fr; gap: 36px; }
	.ld-mt__luoi { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
	.ld-mt__o:nth-child(3) { padding-left: 0; border-left: 0; }
	.ld-buoc { grid-template-columns: repeat(2, 1fr); gap: 28px; }
	.ld-foot__grid { grid-template-columns: 1fr 1fr; }
	body.ld-shop div.product { grid-template-columns: 1fr; gap: 32px; }
	body.ld-shop ul.products { grid-template-columns: repeat(2, 1fr); }
	.ld-nhom { grid-template-columns: 1fr; }
	.ld-gt__the { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
	.ld-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--nen);
		border-bottom: 1px solid var(--vien);
		box-shadow: 0 16px 34px rgba(46, 64, 52, .12);
		display: none;
		margin-left: 0;
	}
	.ld-nav.is-mo { display: block; }
	.ld-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; }
	.ld-nav li { border-bottom: 1px solid var(--vien); }
	.ld-nav li:last-child { border-bottom: 0; }
	.ld-nav a { padding: 14px 0; display: block; }
	.ld-nav a::after { display: none; }
	.ld-burger { display: inline-flex; }
	.ld-head__row { position: relative; }
	.ld-head .ld-search { display: none; }
	.ld-head__cta .ld-nut { padding: 10px 16px; font-size: 15px; }

	/*
	 * Biểu mẫu TẮT dưới 960px, thay bằng khối gọi nhanh: gõ thông tin trên điện
	 * thoại là việc thừa khi bấm gọi nhanh hơn hẳn. Ẩn bằng `display: none` nên
	 * biểu mẫu cũng rời khỏi thứ tự tiêu điểm bàn phím — không có cảnh tab vào
	 * một ô nhập vô hình.
	 */
	.ld-form { display: none; }
	.ld-goi-nhanh {
		display: block;
		background: var(--trang);
		border: 1px solid var(--vien);
		border-radius: var(--bo);
		padding: 24px;
	}
	.ld-goi-nhanh h2 { font-size: 21px; color: var(--reu); margin: 0 0 8px; }
	.ld-goi-nhanh p { margin: 0 0 18px; font-size: 15px; color: var(--chu-mo); }
	.ld-goi-nhanh .ld-nut { width: 100%; margin-bottom: 10px; }
}

@media (max-width: 760px) {
	body.ld-shop { font-size: 16.5px; }
	.ld-wrap { padding: 0 18px; }
	.ld-hero { padding-top: 48px; }
	.ld-khoi { padding: 56px 0; }
	.ld-mt { margin-top: 56px; padding: 44px 0 36px; }
	.ld-mt__luoi { grid-template-columns: 1fr; row-gap: 28px; }
	.ld-mt__o { padding-left: 0; border-left: 0; border-top: 1px solid rgba(46, 64, 52, .16); padding-top: 22px; }
	.ld-mt__o:first-child { border-top: 0; padding-top: 4px; }
	.ld-buoc { grid-template-columns: 1fr; gap: 22px; }
	.ld-foot__grid { grid-template-columns: 1fr; gap: 30px; }
	.ld-bar__in { font-size: 13.5px; }
	.ld-bar__in span { max-width: 62%; }
	.ld-hero__the { position: static; margin-top: 12px; }
	.ld-lh__ds li { flex-direction: column; gap: 4px; }
	.ld-lh__ds b { flex: none; }
}

@media (max-width: 560px) {
	body.ld-shop ul.products { grid-template-columns: 1fr; gap: 22px; }

	/*
	 * Dòng mô tả dưới tên thương hiệu dài 275px vì giãn chữ .13em — ở bề ngang
	 * 375px nó đẩy nút menu lệch ra ngoài 0,8px, đủ để trang cuộn ngang được.
	 * Ẩn hẳn: dòng ấy đã có trong dải thông báo ngay phía trên.
	 */
	.ld-brand__tag { display: none; }
	.ld-head__row { gap: 14px; }
	.ld-bar__in a span { display: none; }
	.ld-head__cta { display: none; }
	.ld-hero__nut .ld-nut { flex: 1 1 100%; }
	.ld-cta__in { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ *
 * AI XIN BỚT CHUYỂN ĐỘNG THÌ KHÔNG THẤY GÌ CHẠY
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	body.ld-shop *,
	body.ld-shop *::before,
	body.ld-shop *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
	.ld-hien { opacity: 1; transform: none; }
}
