/*
 * gac-2026.css — HỆ THỐNG THIẾT KẾ tudonghoatoancau.com (WSU). Nạp SAU CÙNG (inc/tai-nguyen.php, ưu tiên 200).
 * Tài liệu hệ thống thiết kế + hướng dẫn thương hiệu: he-thong-thiet-ke/v3.html · bản trình 25/11/2026.
 *
 * LỚP (thứ tự là một phần của thiết kế — lớp sau thắng lớp trước khi cùng độ ưu tiên; ĐỪNG chuyển mục sang lớp khác khi chưa so computed):
 *   A. NỀN        A1 token + nền tảng (màu chữ, bảng màu, thang chữ, khoảng cách) · A2 khung & lề mép
 *   B. KHUNG TRANG B1 đầu trang (header máy tính/điện thoại, menu, hotline, đầu trang dính)
 *   C. THÀNH PHẦN  C1 tiêu đề khối/thanh bên/breadcrumb · C2 thành phần dùng chung (số liệu, cam kết, phân trang, mục lục, BẢNG DÙNG CHUNG,
 *                  đồng bộ thẻ/breadcrumb/phân trang) · C3 form · C4 thẻ sản phẩm · C5 nút hệ thống + tìm kiếm + 404 · C6 video nhẹ
 *                  · C7 slider dạng hàng · C8 mua hàng (nút mua, bong bóng giỏ, nút nổi Gọi/Zalo/Lên đầu)
 *   D. TRANG       D1 trang chủ · D2 giới thiệu · D3 dịch vụ · D4 dự án · D5 danh mục SP · D6 chi tiết SP · D7 tin tức/bài viết · D8 thương hiệu
 *                  · D9 liên hệ · D10 giỏ hàng/thanh toán · D11 tài liệu
 *   E. LỚP ĐÈ CUỐI E1 vùng chạm điện thoại · E2 thang chữ (gom cỡ lẻ) · E3 tương thích Flatsome 3.20 — cố ý đứng cuối để đè mọi nơi
 *
 * QUY ƯỚC
 *   - Dùng token --gac-* (màu, cỡ chữ, khoảng cách 4·8·12·16·24·32·48·64, bo 8/12/16, --gac-khoi nhịp khối); không ghi cứng giá trị mới.
 *   - Tiền tố đủ hẹp (#header, .gac-*, lớp gắn trên phần tử UX Builder) để không lan; thành phần dùng chung → C, riêng 1 trang → D.
 *   - !important CHỈ khi phải thắng style nội tuyến (UX Builder, TinyMCE, JS) hoặc luật dev cũ nhiều lớp/!important — ghi lý do cuối dòng.
 *     (25/11: đo từng !important trên 103 trang × 390/1440 bằng cong-cu/kiem-important.mjs, gỡ 83 cái thừa (342 → 259); giữ lại 3 cái
 *      đo riêng thì thừa nhưng gỡ cùng lúc làm đổi giao diện (bẫy "bỏ cặp"). So computed cả lô Chromium + WebKit + đầu trang dính = 0 khác.)
 *   - Luật dev cũ (styles.css, style.css) ĐÓNG BĂNG: không thêm mới; sai thì sửa/xoá tận gốc ở đó thay vì chồng luật đè ở đây.
 *   - 27/11: dò khai báo THUA bằng cascade thật của Chromium (cong-cu/css-thua-cdp.mjs, 93 trang × 3 khổ × đầu trang dính) → bỏ 75 ở đây
 *     (+90 styles.css, 13 style.css); gộp 18 cặp luật lặp (cong-cu/gop-luat-trung.py); CSS trong CSDL (Flatsome › Custom CSS) chuyển vào B1/C2/C8.
 *     So computed gộp cả 3 tệp: 95 trang × 390/600/768/900/1024/1200/1440 Chromium + 390/1440 WebKit = 0 khác.
 *   - Mỗi lần sửa: so-css-tai-cho (computed) · kiem-css-de (luật có ăn) · do-sat-nhau + do-chi-tiet + kiem-bang-pixel (chi tiết nhỏ) · thu-thao-tac.
 */
/* ============================================================
   A1. TOKEN & NỀN TẢNG
   ============================================================ */
:root {
	--gac-xanh: #012869;
	--gac-do: #da251c;
	--gac-vien: #dde3ea;
	--gac-nen-nhat: #f3f6f9;
	--gac-bong: 0 6px 18px rgba(1, 40, 105, .08);
	--gac-khung: 1310px; /* = .container Flatsome (site_width 1340 − 30): mép chữ trùng lưới toàn site (đo 23/11 ở 1280→1920) */

	/* ---- HỆ THỐNG THIẾT KẾ 2026 (PDF thiết kế làm gốc, chuẩn hoá chỗ PDF chưa chuẩn) — tài liệu: ~/Desktop/cuteo/tudonghoatoancau/he-thong-thiet-ke/ ----
	   Phông: Be Vietnam Pro (đủ tiếng Việt). Không dùng 900 (không có tệp → đậm giả), không dùng text-transform: capitalize (sai chuẩn tiếng Việt). */
	--gac-chu: #050a30;          /* chữ nội dung (PDF) */
	--gac-chu-phu: #5b6475;      /* chữ phụ, ngày tháng, chú thích */
	--gac-cam: #f29c1f;          /* nhấn ấm: đồng hồ khuyến mãi, hotline */
	/* Thang chữ (máy tính → điện thoại 390px co theo khung nhìn) */
	--gac-c-xs: 12px;   /* nhãn, chú thích, thẻ */
	--gac-c-sm: 14px;   /* chữ phụ, mục menu con, mô tả thẻ */
	--gac-c-md: 16px;   /* nội dung */
	--gac-c-lg: 18px;   /* đoạn dẫn, tiêu đề thẻ */
	--gac-c-xl: clamp(18px, 1.1vw + 14px, 20px);   /* tiêu đề nhỏ */
	--gac-c-2xl: clamp(20px, .38vw + 18.5px, 24px); /* tiêu đề khối (PDF 22–23) */
	--gac-c-3xl: clamp(24px, .76vw + 21px, 32px);   /* tiêu đề trang */
	--gac-c-4xl: clamp(28px, 1.15vw + 23.5px, 40px);/* số liệu lớn, tiêu đề phụ banner (PDF 45) */
	--gac-c-5xl: clamp(36px, 2.67vw + 25.6px, 64px);/* tiêu đề banner */
	--gac-dong: 1.6; --gac-dong-tieu-de: 1.3; --gac-dong-lon: 1.15;
	/* Khoảng cách: bội số 4 */
	--gac-k1: 4px; --gac-k2: 8px; --gac-k3: 12px; --gac-k4: 16px; --gac-k5: 24px; --gac-k6: 32px; --gac-k7: 48px; --gac-k8: 64px;
	--gac-vien-bang: #c5cedb; /* viền bảng nội dung: đậm hơn --gac-vien để thấy rõ ô (tương phản 1,6:1 trên trắng) */
	--gac-vien-o: #cfd6e0; /* viền ô nhập (form, tìm kiếm, 404) */
	--gac-khoi: 64px; /* nhịp dọc: khoảng trắng THẤY ĐƯỢC giữa 2 khối liền nhau (điện thoại 40) — Sếp duyệt N03 24/11 */
	/* Bo góc */
	--gac-bo-nho: 8px; --gac-bo: 12px; --gac-bo-lon: 16px;
}
/* —— NỀN TẢNG */
b, strong { font-weight: 700; } /* trình duyệt mặc định "bolder" → 900 (không có tệp phông) → đậm giả, dày bất thường */
@media (max-width: 849px) { :root { --gac-khoi: 40px; } }
/* Trang chủ: giãn nhịp giữa các khối cho mắt nghỉ (khách T11.2026 mục 4) — chỉ trang chủ, trang khác giữ 64/40 */
body.home { --gac-khoi: 88px; }
@media (max-width: 849px) { body.home { --gac-khoi: 56px; } }
/* Màu chữ (Sếp duyệt N01/N17 24/11): 7 sắc đen/xám (Flatsome #0a0a0a, tiêu đề #000, ô bảng #666…) → --gac-chu. html: thắng CSS tuỳ biến Flatsome in sau. Màu khách tự tô trong bài (style="") giữ nguyên. */
html body { color: var(--gac-chu); }
html :is(h1, h2, h3, h4, h5, h6) { color: var(--gac-chu); }
/* Bảng trong nội dung: Flatsome td #666 + 0,9em → chữ bảng nhạt hơn đoạn văn ngay trên */
/* Bảng: xem C2 — BẢNG DÙNG CHUNG */
/* —— LỀ HAI BÊN MÀN 850–1360px (Sếp 23/11 "sát mép"): trước khung 1310 chạm sát còn 15px — nâng lên 32px (15 cột + 17 khung).
   Chỉ khung ngoài cùng (container, hàng cấp 1); màn rộng vẫn khung 1310 như cũ; nền section vẫn tràn hết bề ngang. */
@media (min-width: 850px) {
	:root { --gac-le-ngoai: 17px; } /* token lề ngoài khung: 0 điện thoại/máy tính bảng, 17 máy tính */
	html .container:not(.col .container):not(.row .container), .row:not(.col .row):not(.container .row):not(.row-full-width):not(.row-collapse .row) { max-width: min(var(--gac-khung), calc(100% - 2 * var(--gac-le-ngoai, 0px))); }
	/* Hàng "row-large" (khe cột 30px: trang SP, bài viết, chuyên mục tin, danh mục) — Flatsome cho rộng hơn khung 30px để MÉP CHỮ vẫn trùng lưới;
	   luật trên bóp về 1310 → nội dung lệch vào 15px so với breadcrumb/tiêu đề (đo 24/11: ảnh SP 95 ≠ 80). Trả lại +30px. */
	.row.row-large:not(.col .row):not(.container .row) { max-width: calc(min(var(--gac-khung), 100% - 2 * var(--gac-le-ngoai, 0px)) + 30px) !important; } /* !important: luật trên có độ ưu tiên (0,9,0) do các :not() */
}

/* Chuỗi dài không dấu cách (email, URL, mã hàng) xuống dòng thay vì tràn/cắt ở màn 320px.
   break-word không đổi bề rộng tối thiểu → bảng/cột không bị bóp. */
:where(p, li, dd, dt, blockquote, figcaption, td, th) { overflow-wrap: break-word; }

/* ============================================================
   A2. KHUNG & LỀ MÉP (một đường mép mọi trang: 15px điện thoại, 32px máy tính 850–1360, khung 1310)
   ============================================================ */
/* —— Thẳng mép toàn site (đo 23/11): khi màn hẹp hơn khung, Flatsome để chữ trong hàng row-large thụt 30px,
   row-small lồi 10px so với mép 15px của logo/hàng thường. Bù đúng hàng cấp ngoài, chỉ trong khoảng bị lệch. */
/* (24/11) Bù thụt 30px hàng row-large ở 850–1339 đã bỏ — sửa gốc ở mục 1: hàng row-large rộng hơn khung 30px như thiết kế Flatsome. */
@media (min-width: 850px) and (max-width: 1199px) { /* khổ máy tính bảng ngang: 7 thẻ/hàng quá hẹp → 5 thẻ, tên dài không bị cắt */
	.archive .row.cat-child-list .col.col_sl { flex-basis: 20%; max-width: 20%; }
}
/* Đường mép nội dung thống nhất mọi trang (32px máy tính / 15px điện thoại, khung 1310):
   - hàng row-small cấp ngoài (cột chỉ đệm 9,8px) bù 5,2px; - khung Thư viện tài liệu (WSU Tools, 1130px) theo khung chung — chỉnh từ theme, không sửa plugin */
.row.row-small:not(.col .row):not(.container .row):not(.row-collapse .row) { padding-left: 5.2px; padding-right: 5.2px; }
.gtl .gtl-khung { max-width: min(var(--gac-khung), calc(100% - 2 * var(--gac-le-ngoai, 0px))); }

/* ============================================================
   B1. ĐẦU TRANG — header máy tính, hotline, thanh menu, menu thả xuống, lối tắt, đầu trang dính, logo, menu trượt điện thoại
   ============================================================ */
/* —— HEADER (máy tính ≥ 850px; điện thoại giữ header cũ) */
#header .header-wrapper {
	background: #eef3f8 url(../img/nen-dau-trang-2026.svg) center top / cover no-repeat;
}
@media (min-width: 850px) {
	#header #masthead .header-inner { max-width: min(var(--gac-khung), calc(100% - 2 * var(--gac-le-ngoai, 0px))); }
	#header #masthead { height: 112px; }
	/* Ảnh logo có lề trong suốt: 250px để phần chữ GAC ≈153px như thiết kế */
	#header #logo { width: clamp(108px, 11.1vw, 160px) !important; } /* logo 2026 đã cắt lề trong suốt: cùng cỡ nét như cũ (170–250 × 0,635) */
	#header #logo img.header_logo { width: 100%; max-height: none; height: auto; }

	/* Ô tìm kiếm to + nút tìm tròn xanh */
	#header .header-search-form .searchform-wrapper { width: 100%; min-width: 0; max-width: 100%; }
	#header .header-search-form .searchform .search-field {
		height: 38px; border-radius: 19px; border: 1px solid var(--gac-vien); padding: 0 56px 0 18px;
		box-shadow: none; font-size: 14px; background: #fff;
	}
	#header .header-search-form .searchform .flex-row > .flex-col:last-child { position: absolute; right: 2px; top: 2px; }
	#header .header-search-form .searchform .ux-search-submit {
		width: 48px; height: 34px; min-height: 34px; border-radius: 17px; margin: 0; padding: 0;
		background-color: var(--gac-xanh) !important; color: #fff !important; box-shadow: none; /* Flatsome .form-flat ép nền trong suốt + màu currentColor bằng !important → biểu tượng đen trên nền navy */
	}
	#header .header-search-form .searchform .ux-search-submit:hover { background-color: #02378f !important; }
	#header .header-search-form .searchform .ux-search-submit i { font-size: 16px; top: 0; }

	/* Thanh menu: thẻ trắng bo góc, chia đều, vạch ngăn, mục đang xem đỏ + gạch đỏ ở đáy thẻ */
	#header #wide-nav { background: transparent; box-shadow: none; min-height: 0; padding: 0 0 6px; }
	#header #wide-nav > .flex-row.container {
		max-width: min(var(--gac-khung), calc(100% - 2 * var(--gac-le-ngoai, 0px))); padding: 0; background: #fff; border-radius: 8px; box-shadow: var(--gac-bong);
		min-height: 56px; overflow: visible; position: relative;
	}
	#header #wide-nav > .flex-row.container > .flex-col.flex-left { width: 100%; background: transparent; flex: 1 1 auto; }
	#header #wide-nav ul.header-bottom-nav { --gac-dem: clamp(6px, 1.25vw, 18px); display: flex; flex-wrap: nowrap; width: 100%;  align-items: stretch; justify-content: stretch; padding: 0;  }
	#header #wide-nav ul.header-bottom-nav > li {
		 margin: 0;  display: block; min-height: 56px; /* KHÔNG position + KHÔNG flex: menu con xổ (absolute) phải nằm ngay dưới thẻ a, neo theo khung */ flex: 1 1 auto; padding: 0 var(--gac-dem); text-align: center;
	}
	/* Vạch ngăn bằng nền (li::before/::after của mục có menu con là mũi tên xổ xuống của Flatsome) */
	#header #wide-nav ul.header-bottom-nav > li + li { background: linear-gradient(var(--gac-vien), var(--gac-vien)) left center / 1px 22px no-repeat; }
	#header #wide-nav ul.header-bottom-nav > li > a.nav-top-link {
		position: relative; display: flex; align-items: center; height: 56px;
		color: var(--gac-xanh); font-weight: 700; font-size: clamp(12px, 1.12vw, 16px); line-height: 20px; padding: 0; letter-spacing: 0; justify-content: center;
	}
	#header #wide-nav ul.header-bottom-nav > li > a.nav-top-link i.icon-angle-down { margin-left: 8px; font-size: 14px; opacity: 1; }
	#header #wide-nav ul.header-bottom-nav > li:hover > a.nav-top-link,
	#header #wide-nav ul.header-bottom-nav > li.current-menu-item > a.nav-top-link,
	#header #wide-nav ul.header-bottom-nav > li.current-menu-ancestor > a.nav-top-link,
	#header #wide-nav ul.header-bottom-nav > li.current-menu-parent > a.nav-top-link { color: var(--gac-do); }
	/* Gạch đỏ ở đáy thẻ: đặt ở a::after (li::after/::before của mục có menu con là mũi tên xổ của Flatsome), neo theo li */
	#header #wide-nav ul.header-bottom-nav > li.current-menu-item > a.nav-top-link::after,
	#header #wide-nav ul.header-bottom-nav > li.current-menu-ancestor > a.nav-top-link::after,
	#header #wide-nav ul.header-bottom-nav > li.current-menu-parent > a.nav-top-link::after {
		content: ""; position: absolute; left: calc(-1 * var(--gac-dem)); right: calc(-1 * var(--gac-dem)); bottom: 0; height: 3px; background: var(--gac-do); border-radius: 2px 2px 0 0;
	}
	/* Mũi tên trắng của menu xổ (Flatsome vẽ bằng li::before/::after) che giữa gạch đỏ; thiết kế không có → ẩn */
	#header #wide-nav ul.header-bottom-nav > li.has-dropdown::before,
	#header #wide-nav ul.header-bottom-nav > li.has-dropdown::after { display: none; }
	/* Megamenu Sản phẩm: giữ 6 cột như cũ (02/10/2026), Cáp lập trình xuống cuối hàng 2 — bám theo link thay vì id mục menu */
	#header #wide-nav ul.header-bottom-nav > li.has-dropdown > ul.nav-dropdown:has(> li.nav-dropdown-col ~ li.nav-dropdown-col) > li.nav-dropdown-col:has(> a[href$="/cap-lap-trinh-ket-noi/"]) { order: 1; }
}
/* Laptop nhỏ / máy tính bảng ngang (850–1199px): hộp hotline gọn */
@media (min-width: 850px) and (max-width: 1199px) {
	#header .html_top_right_text .icon-box-text .contents { font-size: 14px; }
	#header .html_top_right_text .icon-box-img { width: 34px !important; }
}
/* —— HỘP HOTLINE (đầu trang + mọi nơi dùng .icon-hotline) =====
   Hệ thống thiết kế: cặp "nhãn: số" xếp LƯỚI 2 CỘT → các số thẳng hàng dù nhãn dài ngắn khác nhau (Miền Bắc / Miền Nam);
   chữ số đều bề rộng; đậm 700 (trước 900 — phông không có, trình duyệt làm đậm giả). Nội dung khách sửa ở Tuỳ biến (giữ nguyên HTML). */
.icon-hotline .contents:not(:has(> .contents)) {
	display: grid; grid-template-columns: max-content max-content; column-gap: .6em; row-gap: 2px; justify-content: center; align-items: baseline; /* 2 dòng số cách nhau đủ (đo sát 5,4px) */
	text-align: left; font-variant-numeric: tabular-nums;
}
.icon-hotline .contents:not(:has(> .contents)) > strong { display: contents; font-weight: 700; }
.icon-hotline .contents:not(:has(> .contents)) a { display: inline-flex; justify-self: end; } /* nhãn canh TRÁI, số canh PHẢI (Sếp 23/11) → 2 số thẳng mép phải dù chữ số rộng khác nhau; bỏ dấu cách thừa đầu link */
.icon-hotline .contents { font-weight: 700; }
/* Khách T11.2026 mục 1 "cho bé lại": chữ 18→15px, khung + biểu tượng gọn theo (biểu tượng canh giữa chiều cao khung) */
@media (min-width: 850px) {
	#header .html_top_right_text .icon-hotline .contents { font-size: 15px; line-height: 1.3; }
	#header .html_top_right_text .icon-hotline .icon-box-text.last-reset { padding: 4px 12px 4px 22px; border-radius: 12px; }
	#header .html_top_right_text .icon-hotline .icon-box-img { width: 32px !important; top: 50%; left: -16px; transform: translateY(-50%); }
}
/* Sếp 24/11 "đôi khi rớt dòng, F5 lại hết": khoá cứng — nhãn + số không bao giờ xuống dòng (kể cả lúc CSS lưới/:has() chưa áp, phông chưa tải), ô hotline không bị ô tìm kiếm ép co */
.icon-hotline .contents strong, .icon-hotline .contents a { white-space: nowrap; }
/* —— MENU THẢ XUỐNG (máy tính) — cùng bo góc + bóng với thanh menu, chữ giữ đúng kiểu người nhập =====
   Menu thường: 1 cột dọc; mục có mục con = tiêu đề nhóm (vd Tài liệu → Hỗ trợ kỹ thuật) — trước Flatsome dựng thành cột, mục lẻ bị ép hẹp.
   Menu lớn (Sản phẩm): thẳng 2 mép với thẻ thanh menu. */
@media (min-width: 850px) {
	#header #wide-nav ul.header-bottom-nav .nav-dropdown {
		border: 0; border-radius: var(--gac-bo-nho); box-shadow: 0 12px 32px rgba(1, 40, 105, .14); padding: var(--gac-k3) 0; margin-top: 0;
	}
	#header #wide-nav ul.header-bottom-nav > li > ul.nav-dropdown:not(:has(> li.nav-dropdown-col ~ li.nav-dropdown-col)) { min-width: 260px; display: block; }
	#header #wide-nav ul.header-bottom-nav > li > ul.nav-dropdown:not(:has(> li.nav-dropdown-col ~ li.nav-dropdown-col)) > li { display: block; width: auto; min-width: 0; padding: 0; }
	#header #wide-nav ul.header-bottom-nav .nav-dropdown li a {
		display: block; padding: 10px var(--gac-k5); margin: 0; border: 0; color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 20px; font-weight: 500; text-transform: none;
	}
	#header #wide-nav ul.header-bottom-nav .nav-dropdown li a:hover,
	#header #wide-nav ul.header-bottom-nav .nav-dropdown li.current-menu-item > a { color: var(--gac-do); background: var(--gac-nen-nhat); }
	/* Tiêu đề nhóm (mục có mục con) */
	#header #wide-nav ul.header-bottom-nav .nav-dropdown li.nav-dropdown-col > a {
		font-size: var(--gac-c-xs); line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gac-xanh);
		padding-top: var(--gac-k3); padding-bottom: var(--gac-k2); background: none;
	}
	#header #wide-nav ul.header-bottom-nav > li > ul.nav-dropdown:not(:has(> li.nav-dropdown-col ~ li.nav-dropdown-col)) > li.nav-dropdown-col { margin-top: var(--gac-k2); border-top: 1px solid var(--gac-vien); }
	#header #wide-nav ul.header-bottom-nav .nav-dropdown li.nav-dropdown-col > ul { padding: 0; }
	#header #wide-nav ul.header-bottom-nav .nav-dropdown li.nav-dropdown-col > ul > li > a { border-bottom: 0; }
	/* Menu lớn Sản phẩm: tiêu đề cột navy chữ hoa, mục con cách đều, vạch mảnh */
	#header #wide-nav ul.header-bottom-nav > li > ul.nav-dropdown:has(> li.nav-dropdown-col ~ li.nav-dropdown-col) { padding: var(--gac-k5) var(--gac-k3); }
	#header #wide-nav ul.header-bottom-nav > li > ul.nav-dropdown:has(> li.nav-dropdown-col ~ li.nav-dropdown-col) > li.nav-dropdown-col { padding: 0 var(--gac-k3) var(--gac-k4); }
	#header #wide-nav ul.header-bottom-nav > li > ul.nav-dropdown:has(> li.nav-dropdown-col ~ li.nav-dropdown-col) > li.nav-dropdown-col > a { font-size: var(--gac-c-sm); padding: var(--gac-k2) 0; margin-bottom: var(--gac-k1); border: 0; background: linear-gradient(var(--gac-do), var(--gac-do)) left bottom / 32px 2px no-repeat, linear-gradient(var(--gac-vien), var(--gac-vien)) left bottom / 100% 1px no-repeat; }
	#header #wide-nav ul.header-bottom-nav > li > ul.nav-dropdown:has(> li.nav-dropdown-col ~ li.nav-dropdown-col) > li.nav-dropdown-col > ul > li > a { padding: 8px 0; background: none; }
	#header #wide-nav ul.header-bottom-nav > li > ul.nav-dropdown:has(> li.nav-dropdown-col ~ li.nav-dropdown-col) > li.nav-dropdown-col > ul > li > a:hover { color: var(--gac-do); background: none; }
}
@media (min-width: 850px) {
	/* Menu lớn: neo theo THẺ thanh menu (không theo mục li) → 2 mép menu = 2 mép thẻ ở mọi khổ (đo 23/11: trước tràn hết màn ở ≤1280, thụt 15px ở ≥1440) */
	#header #wide-nav ul.header-bottom-nav,
	#header #wide-nav ul.header-bottom-nav > li:has(> ul.nav-dropdown > li.nav-dropdown-col ~ li.nav-dropdown-col) { position: static; }
	#header #wide-nav ul.header-bottom-nav > li:hover > ul.nav-dropdown:has(> li.nav-dropdown-col ~ li.nav-dropdown-col),
	#header #wide-nav ul.header-bottom-nav > li.current-dropdown > ul.nav-dropdown:has(> li.nav-dropdown-col ~ li.nav-dropdown-col) {
		position: absolute !important; left: 0 !important; right: 0 !important; width: auto !important; max-width: none !important; top: 100%; transform: none !important; margin-left: 0 !important;
	}
}
/* —— LỐI TẮT ĐẦU TRANG (Thư viện ảnh / Hỏi đáp) — 2 ô CÙNG khuôn: biểu tượng ô vuông 24px, nhãn 1 dòng chữ hoa 12/600, cách đều =====
   Trước: dev cũ đặt cứng 85px / 60px → "Thư viện ảnh" xuống 2 dòng, "Hỏi đáp" 1 dòng, biểu tượng lệch tâm. */
@media (min-width: 850px) {
	#header .header-main .flex-right li.header-block { width: auto; margin: 0 0 0 var(--gac-k4); }
	#header .header-main .flex-right li.header-block .icon-box { display: flex; flex-direction: column; align-items: center; gap: 6px; }
	#header .header-main .flex-right li.header-block .icon-box-img { width: 24px !important; height: 24px; margin: 0; }
	#header .header-main .flex-right li.header-block .icon-box-img img { width: 24px; height: 24px; padding: 0; object-fit: contain; } /* bỏ padding-top .2em của Flatsome: làm vòng "Hỏi đáp" co còn 20.8px + tụt 1.6px */
	/* Cân thị giác (Sếp 24/11 "làm cho bằng nhau"): ô vuông kín khung trông to hơn vòng tròn cùng khung ~27% diện tích + nét đậm hơn → thu ô vuông còn 21px, giữ tâm (padding 1.5px) — nét 1.1px ≈ vòng tròn 1.14px */
	#header .header-main .flex-right li.header-block .icon-box-img img[src$="/Union.svg"] { padding: 1.5px; }
	#header .header-main .flex-right li.header-block .icon-box-text { padding: 0; }
	#header .header-main .flex-right li.header-block .icon-box-text * {
		margin: 0; white-space: nowrap; font-size: var(--gac-c-xs); line-height: 16px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--gac-xanh);
	}
	#header .header-main .flex-right li.header-block a:hover .icon-box-text * { color: var(--gac-do); }
}
/* —— THANH MENU — mỗi mục 1 ô co giãn đều, CHỮ CANH GIỮA Ô (Sếp 23/11: trước space-between dồn khoảng dư sau chữ → chữ lệch trái trong ô,
   khoảng hai bên vạch ngăn không đều, mép trái ≠ mép phải). Vạch ngăn nằm giữa 2 chữ; gạch đỏ mục đang xem = trọn ô. */
@media (min-width: 850px) {
}
/* —— ĐẦU TRANG DÍNH (khi cuộn, máy tính) — gọn, mọi thành phần canh giữa dọc trong khung 72px, lề trên = lề dưới
   (Sếp 23/11: trước Flatsome ép 70px — ô tìm dính mép trên (top 0), dòng gợi ý lòi khỏi khung, logo/hotline/biểu tượng lệch nhau) */
@media (min-width: 850px) {
	#header .header-wrapper.stuck #masthead, #header .header-wrapper.stuck .header-main { height: 72px !important; }
	#header .header-wrapper.stuck #masthead .header-inner { align-items: center; }
	#header .header-wrapper.stuck #masthead .flex-col { align-self: center; }
	#header .header-wrapper.stuck #logo { width: auto !important; }
	#header .header-wrapper.stuck #logo img.header_logo { height: 36px !important; width: auto; max-height: 36px !important; }
	#header .header-wrapper.stuck .header-search-form .cus_search { display: none; }
	#header .header-wrapper.stuck .header-search-form, #header .header-wrapper.stuck .header-search-form .searchform-wrapper { margin: 0; }
	#header .header-wrapper.stuck .icon-hotline .icon-box-text { padding-top: 3px; padding-bottom: 3px; }
	#header .header-wrapper.stuck .icon-hotline .contents { font-size: var(--gac-c-md); line-height: 1.3; }
	#header .header-wrapper.stuck .icon-hotline .icon-box-img { top: 50% !important; transform: translateY(-50%); }
	#header .header-wrapper.stuck .header-main .flex-right li.header-block .icon-box-text * { font-size: var(--gac-c-xs); }
	#header .header-wrapper.stuck #wide-nav { padding-bottom: 8px; }
}
/* Đầu trang dính trên điện thoại / máy tính bảng: 158px → ~112px (ẩn dòng gợi ý, logo nhỏ lại) — giữ ô tìm kiếm (thao tác chính) */
@media (max-width: 849px) {
	#header .header-wrapper.stuck #masthead, #header .header-wrapper.stuck .header-main { height: 60px !important; }
	#header .header-wrapper.stuck #logo img.header_logo { max-height: 38px !important; width: auto; }
	#header .header-wrapper.stuck .cus_search { display: none !important; }
	#header .header-wrapper.stuck #wide-nav { min-height: 0; padding: 3px 0; } /* ô tìm cách trên = dưới 8px */
	#header .header-wrapper.stuck #wide-nav .searchform { margin: 0; }
}
/* —— MENU TRƯỢT ĐIỆN THOẠI — thứ bậc chữ đúng (cấp 1 > mục con), lề phải; trước cấp 1 13px xám nhạt, mục con 17px sát mép phải */
.mobile-sidebar .nav-sidebar > li > a { padding-right: 48px; color: var(--gac-xanh); font-size: var(--gac-c-md); font-weight: 700; letter-spacing: 0; min-height: 54px; display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
.mobile-sidebar .nav-sidebar > li.current-menu-item > a, .mobile-sidebar .nav-sidebar > li > a:hover { color: var(--gac-do); }
.mobile-sidebar .nav-sidebar-ul > li > a { padding-right: 16px; color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 20px; font-weight: 500; text-transform: none; }
.mobile-sidebar .nav-sidebar-ul > li.menu-item-has-children > a { color: var(--gac-xanh); font-size: var(--gac-c-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mobile-sidebar .nav-sidebar-ul .nav-sidebar-ul > li > a { font-size: var(--gac-c-sm); font-weight: 400; text-transform: none; color: var(--gac-chu); }
.mobile-sidebar .nav-sidebar .toggle { color: var(--gac-xanh); }
.mobile-sidebar .nav-sidebar > li.menu-item-has-children { position: relative; }
.mobile-sidebar .nav-sidebar > li.menu-item-has-children > .toggle { position: absolute; top: 0; right: 4px; height: 54px; width: 44px; margin: 0; display: flex; align-items: center; justify-content: center; } /* mũi tên mở rộng luôn cùng hàng, canh giữa dọc với chữ cấp 1 (vùng chạm 44×54) */
@media (max-width: 849px) { #header #logo img.header_logo { max-height: 50px !important; width: auto; } } /* điện thoại: nét logo cao 50px như trước (ảnh cũ 62px gồm lề) */
/* —— ĐẦU TRANG (máy tính): logo | ô tìm (≤440px) | hotline | biểu tượng, khe bằng nhau 32px
   (Sếp 23/11 "các thành phần cần được chia đều": trước khe 30 / 167 / 46px) */
@media (min-width: 850px) {
	#masthead .header-inner > .flex-col.logo { margin-right: 32px; }
	#masthead .flex-left.flex-grow > ul { width: 100%; }
	#masthead .flex-left.flex-grow > ul > li.header-search-form { flex: 0 1 440px; width: auto; max-width: none; margin: 0 !important; } /* khách T11.2026 mục 1 "cho ngắn lại": tối đa 440px (trước giãn hết chỗ trống, 650px ở 1440) — chỗ trống dồn giữa ô tìm và hotline */
	#masthead .flex-right > ul > li.html.custom { flex: none; margin-left: 52px !important; margin-right: 0; } /* 32 + 20 vòng điện thoại lòi trái */
	#masthead .flex-left.flex-grow .header-search-form-wrapper, #masthead .flex-left.flex-grow .searchform-wrapper { width: 100%; max-width: none; }
	#masthead .flex-right > ul > li.html.custom + li.header-block { margin-left: 32px; }
}
/* 850–1099px: đầu trang không đủ chỗ cho chữ dưới 2 biểu tượng (trước rớt dòng, đè thanh menu) → chỉ biểu tượng, chữ vẫn còn cho trình đọc màn hình */
@media (min-width: 850px) and (max-width: 1099px) {
	#masthead .flex-right li.header-block .icon-box-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	#masthead .flex-right li.header-block { flex: none; }
	#masthead .flex-left.flex-grow > ul > li.header-search-form { min-width: 0; }
	#masthead .flex-left.flex-grow, #masthead .flex-left.flex-grow .searchform .flex-col.flex-grow { min-width: 0; } /* cột co được (mặc định min-width:auto = bề rộng ô nhập → ép đè biểu tượng ở 850px) */
}

/* —— MENU LỚN "Thiết bị tự động hoá" (chuyển nguyên văn từ Flatsome › Advanced › Custom CSS 27/11/2026 — trước nằm trong CSDL) */
/* Megamenu Thiết bị tự động hoá: 6 cột, Cáp lập trình xuống cuối hàng 2 cho các hàng cao tương đương (02/10/2026; thay bản 7 cột 23/09) */
.header-wrapper div#wide-nav ul.nav.header-nav.header-bottom-nav.nav-left.nav-uppercase > li.has-dropdown > ul.nav-dropdown-full{max-width:1280px!important;display:flex!important;flex-wrap:wrap}
.header-wrapper div#wide-nav ul.nav.header-nav.header-bottom-nav.nav-left.nav-uppercase > li.has-dropdown > ul.nav-dropdown-full > li.nav-dropdown-col{min-width:calc(100% / 6);width:calc(100% / 6)}
.header-wrapper div#wide-nav ul.nav.header-nav.header-bottom-nav.nav-left.nav-uppercase > li.has-dropdown > ul.nav-dropdown-full > li#menu-item-22907{order:1}

/* ============================================================
   C1. TIÊU ĐỀ KHỐI / THANH BÊN, BREADCRUMB, ĐẦU TRANG (H1 hiển thị)
   ============================================================ */
/* —— THÀNH PHẦN 2026 DÙNG CHUNG (theo thiet-ke-website.pdf) — trang dựng bằng phần tử gốc UX Builder + tên lớp dưới đây =====
   Trang chủ 2026 / Giới thiệu 2026: cong-cu/jobs/db-gd2-trang-chu.php. Khách sửa chữ, ảnh, liên kết trực tiếp trong UX Builder. */
/* Tiêu đề khối: [ux_text class="gac-tieu-de"]<h2>…</h2><a>Xem tất cả</a> — vạch đỏ + chữ navy in hoa, thẳng lưới 1310 */
.gac-tieu-de { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: min(var(--gac-khung), calc(100% - 2 * var(--gac-le-ngoai, 0px))); margin: var(--gac-khoi) auto 28px; padding: 0 15px; }
.gac-tieu-de > * { margin: 0; }
.gac-tieu-de h2 { position: relative; padding-left: 18px; color: var(--gac-xanh); font-size: 20px; line-height: 28px; font-weight: 700; text-transform: uppercase; }
.gac-tieu-de h2::before { content: ""; position: absolute; left: 0; top: -4px; bottom: -4px; width: 6px; background: var(--gac-do); }
.gac-tieu-de a { display: inline-flex; align-items: center; gap: 6px; color: var(--gac-do); font-size: 14px; font-weight: 600; white-space: nowrap; }
.gac-tieu-de a::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); } /* N08: mũi tên = dấu hiệu bấm được */
.gac-tieu-de a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Nhịp dọc (N03): khối liền trước tiêu đề khối còn lề đáy riêng (cột đệm dưới 6/20/30px, section đệm 30px) cộng thêm vào --gac-khoi
   → trước đo 56–130px. Trừ đúng phần đệm thừa đó để khoảng trắng THẤY ĐƯỢC = --gac-khoi (đo lại bằng nhip sau mỗi lần sửa khối). */
.row:has(> .col):has(+ .gac-tieu-de) { margin-bottom: -30px; }                     /* cột Flatsome mặc định đệm dưới 30px */
.row.row-small:has(+ .gac-tieu-de), .row.row-collapse:has(+ .gac-tieu-de), .row.gac-tin:has(+ .gac-tieu-de) { margin-bottom: 0; }
.row.gac-dm:has(+ .gac-tieu-de) { margin-bottom: -6px; }
.row.gac-doi-tac:has(+ .gac-tieu-de) { margin-bottom: -20px; }
.row.gac-tv-khoi:has(+ .gac-tieu-de) { margin-bottom: -50px; }
.section.sec_kms:has(+ .gac-tieu-de) { padding-bottom: 0 !important; }
@media (max-width: 849px) {
	html .slider-wrapper.gac-du-an-truot { margin-bottom: -18px; } /* N03: thanh tiến trình + nút cách đáy thêm 22px */
	.gac-gt-sm .gac-gt-sm__khoi:last-child { padding-bottom: 0; } /* khối chữ cuối xếp dưới ảnh: bỏ đệm thừa trước khối sau; giữa 2 khối vẫn đệm 28 đều 2 phía vạch kẻ */
}
/* —— QUY CHUẨN TOÀN SITE (4 trang thiết kế 2026 = bộ quy chuẩn): tiêu đề thanh bên / khối theo kiểu vạch đỏ + navy in hoa,
   nút phụ viền đỏ. Áp cho thành phần theme in ra ở mọi trang (thanh bên SP/bài, "Bài viết cùng chuyên mục", tiêu đề Flatsome). */
.widget-title, .title_re, .section-title-normal .section-title-main, .viewnew .text.title_tin { 
	position: relative; display: block; margin: 0 0 14px; padding-left: 14px; color: var(--gac-xanh); font-size: 18px; line-height: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: 0;
}
.widget-title::before, .title_re::before, .section-title-normal .section-title-main::before, .viewnew .text.title_tin::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; background: var(--gac-do); }
.widget .is-divider, .section-title-normal > b { display: none; }
.section-title-normal { border-bottom: 0; }
.title_re { font-size: 20px; line-height: 28px; margin: 32px 0 18px; }
/* —— ĐẦU TRANG (danh mục / thẻ / thương hiệu sản phẩm) — breadcrumb nhỏ xám + H1 hiển thị kiểu tiêu đề trang (vạch đỏ, navy, chữ hoa) =====
   Trước: H1 bị ẩn, chỉ còn breadcrumb in đậm "BIẾN TẦN" 14px làm tiêu đề → trang không có thứ bậc chữ. */
.shop-page-title.category-page-title .page-title-inner { padding-top: var(--gac-k5); padding-bottom: 0; min-height: 0; }
nav.rank-math-breadcrumb, nav.rank-math-breadcrumb.uppercase { margin: 0; }
nav.rank-math-breadcrumb * { font-size: var(--gac-c-sm); line-height: 20px; color: var(--gac-chu-phu); font-weight: 400; }
nav.rank-math-breadcrumb a:hover { color: var(--gac-do); }
nav.rank-math-breadcrumb .separator { margin: 0 6px; font-weight: 400; } /* Flatsome ".breadcrumbs .separator {300}" làm dấu "/" ở trang Woo mảnh hơn trang thường — quét chồng/đè 27/11 */
nav.rank-math-breadcrumb span.last { color: var(--gac-chu); font-weight: 500; }
.gac-dau-trang { padding-top: var(--gac-k3); }
.gac-tieu-trang {
	position: relative; margin: 0 0 var(--gac-k5); padding-left: 20px; color: var(--gac-xanh);
	font-size: var(--gac-c-3xl); line-height: var(--gac-dong-tieu-de); font-weight: 700; text-transform: uppercase;
}
.gac-tieu-trang::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 6px; background: var(--gac-do); }
/* QUY TẮC CHUNG (27/11/2026): từ tiêu đề trang (H1 .gac-tieu-trang) tới nội dung đầu tiên = var(--gac-k5) 24px ở MỌI trang danh sách / trang tĩnh.
   Trước: lề dưới H1 24px + đệm trên 30px của khung Flatsome ngay sau (.category-page-row / .page-wrapper) = 54px; Tin tức 12 + 30 = 42px. */
.gac-dau-trang + main > :is(.category-page-row, .page-wrapper, .content-area):first-child { padding-top: 0; }
.gac-dau-trang + main > .category-shop-listing:first-child { margin-top: 0; } /* trang Cửa hàng (lưới danh mục cấp 1): lề trên 30px dev cũ */
.gac-dau-trang + main :is(.content-area, .page-inner) > .section:first-child { padding-top: 0 !important; } /* trang dựng UX Builder mở đầu bằng [section] trơn (Liên hệ, 8 trang giới thiệu hãng /xinje/ /delta/…): đệm 30px mặc định */
/* —— CHUYỂN TỪ "CSS BỔ SUNG" (Tuỳ biến, lưu trong CSDL) VÀO THEME 23/11/2026 — chỉ giữ luật còn dùng; bản gốc: goi-cap-nhat/luu-tru-css-20261123/css-bo-sung.css =====
   Bỏ: .um-field-label (Ultimate Member không bật), .wpdm-download-link (Download Manager đã gỡ),
   ẩn "Trang chủ" trong breadcrumb danh mục (nay danh mục có đầu trang chuẩn: breadcrumb đủ + H1). */
.single-post .rank-math-breadcrumb .last,
.single-product .rank-math-breadcrumb .last { display: none; } /* mục cuối = H1 ngay dưới. WSU 23/11: thôi ẩn "Trang chủ" ở trang SP (mọi trang khác đều bắt đầu bằng Trang chủ) */
/* —— CHI TIẾT SẢN PHẨM + CỘT PHẢI (23/11) */
/* Breadcrumb: mục cuối bị ẩn → ẩn luôn dấu ngăn đứng trước (trước để thừa "/" cuối dòng) */
.single-product .rank-math-breadcrumb .separator:has(+ .last),
.single-post .rank-math-breadcrumb .separator:has(+ .last) { display: none; }
/* —— Sửa khai báo THUA (đo bằng kiem-css-de 23/11 — luật Flatsome/dev cũ đè luật hệ thống thiết kế) */
span.widget-title, .widget .widget-title { font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: 0; } /* Flatsome span.widget-title 16/600/0.8px → 2 kiểu tiêu đề cột phải */
.single-product aside#nav_menu-3 span.widget-title.shop-sidebar { margin-bottom: 14px; }
/* N09: tiêu đề khối "Giá trị khác biệt" (UX Block trong cột phải, <p><strong>) cùng kiểu widget-title: vạch đỏ, 18/700 navy */
aside.block_widget .col-inner > p:first-child { position: relative; margin-bottom: 14px; padding-left: 14px; }
aside.block_widget .col-inner > p:first-child::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; background: var(--gac-do); }
aside.block_widget .col-inner > p:first-child strong { font-size: 18px; line-height: 26px; color: var(--gac-xanh); }
/* —— ĐẦU TRANG cho trang tĩnh (header.php .gac-dau-trang--trang): breadcrumb + H1; ẩn hàng breadcrumb cũ dev đặt trong nội dung */
.gac-dau-trang--trang { padding-top: var(--gac-k5); }
.gac-dau-trang--trang .rank-math-breadcrumb { margin-bottom: var(--gac-k3); }
/* Trang mẫu mặc định có H1 trong nội dung (Chính sách bảo hành/giao hàng/công nợ…): breadcrumb (header.php) + H1 nội dung = kiểu tiêu đề trang */
.gac-dau-trang--bc { padding-top: var(--gac-k5); }
/* Khách 27/11: breadcrumb thay tiêu đề lớn — 5 trang chung + danh mục SP + thương hiệu (inc/thiet-lap.php gac_bc_thay_h1) — H1 giữ cho máy tìm kiếm, ẩn khỏi mắt */
.gac-bc-thay-h1 .gac-dau-trang:not(.gac-dau-trang--trang) { padding: 0; } /* khung chỉ còn H1 ẩn (danh mục SP) → không chừa khoảng trống */
/* Breadcrumb trong hero nền tối trang Tài liệu (inc/thiet-lap.php) — cùng cỡ breadcrumb toàn site, chữ trắng, cách tiêu đề 14px như banner Dịch vụ */
.gtl-dau__bc { margin: 0 0 14px; text-align: center; }
.gtl-dau__bc nav.rank-math-breadcrumb * { color: rgba(255, 255, 255, .8); }
.gtl-dau__bc nav.rank-math-breadcrumb span.last { color: #fff; }
.gtl-dau__bc nav.rank-math-breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gac-bc-thay-h1 h1.gac-tieu-trang { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Nhịp chung: breadcrumb cách thanh menu 24, cách nội dung 24 (đo 27/11: 24–30 / 12–39 tuỳ khuôn trang) */
.gac-bc-thay-h1 .gac-dau-trang--trang .rank-math-breadcrumb, .gac-bc-thay-h1 .blog_featured .rank-math-breadcrumb { margin-bottom: var(--gac-k5); }
.gac-bc-thay-h1 .blog-wrapper.blog-archive { padding-top: var(--gac-k5); } /* Tin tức: khung bài đệm 30 */
.gac-bc-thay-h1 .shop-page-title .page-title-inner > .flex-col { padding-top: 0; padding-bottom: 0; }
.gac-bc-thay-h1:is(.tax-product_cat, .tax-product_brand) .shop-page-title .page-title-inner { padding-bottom: var(--gac-k5); } /* khách 27/11: danh mục SP + thương hiệu — nội dung đầu (thẻ danh mục con, mô tả, bộ lọc) sát breadcrumb */ /* cửa hàng ĐT: cột tiêu đề Flatsome đệm 5 trên + 5 dưới */
body:has(.gac-dau-trang--bc) #content h1:first-of-type, body:has(.gac-dau-trang--bc) .page-wrapper h1:first-of-type {
	position: relative; margin: var(--gac-k3) 0 var(--gac-k5) !important; padding-left: 20px; color: var(--gac-xanh);
	font-size: var(--gac-c-3xl); line-height: var(--gac-dong-tieu-de); font-weight: 700; text-transform: uppercase; text-align: left; margin-top: var(--gac-k3);
}
body:has(.gac-dau-trang--bc) #content h1:first-of-type::before, body:has(.gac-dau-trang--bc) .page-wrapper h1:first-of-type::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 6px; background: var(--gac-do); }
body:has(.gac-dau-trang--bc) #content, body:has(.gac-dau-trang--bc) .page-wrapper { padding-top: 0; }
body:has(.gac-dau-trang--bc) #content :is(ul, ol) { margin-left: 0; padding-left: 20px; } /* danh sách thụt 20px chuẩn, thẳng mép thân bài */

/* ============================================================
   C2. THÀNH PHẦN DÙNG CHUNG — đồng hồ đếm ngược, số liệu, cam kết, danh sách thanh bên, phân trang, mục lục
   ============================================================ */
/* —— ĐỒNG HỒ ĐẾM NGƯỢC (UX Block Khuyến mãi sốc 13881 — phần tử gốc [ux_countdown]) =====
   Hệ thống thiết kế: ô vuông cố định, SỐ CANH GIỮA 2 CHIỀU, chữ số đều bề rộng (không nhảy khi đếm), nhãn canh giữa DƯỚI từng ô,
   "Chỉ còn:" canh giữa theo chiều cao ô (PDF đặt lệch — sửa theo chuẩn). Màu nền ô: chỉnh trong UX Builder (giữ nguyên). */
.sec_kms .row_sale .ux-timer.light { --o: 64px; display: flex; justify-content: center; align-items: flex-start; gap: 12px; margin: 8px auto 32px; max-width: none; font-size: var(--gac-c-3xl) !important; }
.sec_kms .row_sale .ux-timer.light::before { content: "Chỉ còn:"; display: flex; align-items: center; height: var(--o); margin-right: 4px; font-size: 18px; font-weight: 600; color: #050a30; }
.sec_kms .row_sale .ux-timer.light > span {
	position: relative; display: flex; align-items: center; justify-content: center; width: var(--o); height: var(--o); margin: 0; padding: 0;
	border-radius: 12px; font-size: inherit; font-weight: 700; line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
	background-color: var(--gac-do) !important; /* khách T11.2026: nền đỏ chữ trắng (màu cam đặt trong UX Builder bằng style="" → cần !important) */
}
.sec_kms .row_sale .ux-timer.light > span strong {
	position: absolute; top: calc(100% + 8px); left: -8px; right: -8px; display: block; opacity: 1;
	font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; text-align: center; color: #050a30;
}
@media (max-width: 549px) {
	.sec_kms .row_sale .ux-timer.light { --o: 52px; gap: 8px; }
	.sec_kms .row_sale .ux-timer.light::before { font-size: var(--gac-c-sm); }
}
/* —— SỐ LIỆU (hàng UX Builder lớp gac-so-lieu, 3 cột) — hệ thống thiết kế: LƯỚI CỘT BẰNG NHAU phủ trọn bề ngang khối, số + nhãn CANH GIỮA
   chung 1 trục, vạch ngăn mảnh giữa cột, nhãn tự cân dòng. (PDF: canh trái + dàn 2 đầu → khoảng hở không đều — đã chuẩn hoá) */
.row.gac-so-lieu { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0 !important; max-width: none; }
.row.gac-so-lieu::before, .row.gac-so-lieu::after { display: none; } /* clearfix Flatsome thành 1 ô lưới thừa → 4 cột */
.row.gac-so-lieu > .col { max-width: none; flex: none; width: auto; padding: 0 var(--gac-k3); text-align: center; }
.row.gac-so-lieu > .col + .col { border-left: 1px solid var(--gac-vien); }
.gac-so-lieu p { margin: 0; }
.gac-so-lieu__so { color: var(--gac-do); line-height: var(--gac-dong-lon); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gac-so-lieu__nhan { margin-top: var(--gac-k3) !important; color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 20px; text-wrap: balance; }
@media (max-width: 549px) {
	.row.gac-so-lieu > .col { padding: 0 var(--gac-k2); }
	.gac-so-lieu__nhan { font-size: var(--gac-c-xs); line-height: 16px; }
}
/* Số trong vòng tròn: cỡ chữ theo ĐƯỜNG KÍNH vòng (container query) — vòng lõi đỏ = 60% → chữ ≤ 12% đường kính để "20.000+" có lề đều (trước chạm mép ở 1440) */
@supports (font-size: 1cqi) { .row.gac-so-vong .col-inner > .text:has(> .gac-so-vong__so) { container-type: inline-size; }  }
/* Mục lục bài viết ở trang danh mục (assets/js/muc-luc-danh-muc.js) — theo hệ thống thiết kế */
.gac-toc {
	display: table; max-width: 100%; box-sizing: border-box; margin: 0 0 var(--gac-k5); padding: var(--gac-k3) var(--gac-k5) var(--gac-k3) var(--gac-k4);
	background: var(--gac-nen-nhat); border: 1px solid var(--gac-vien); border-radius: var(--gac-bo-nho);
	font-size: var(--gac-c-md); line-height: var(--gac-dong); color: var(--gac-chu);
}
.gac-toc .gac-toc__head { display: flex; align-items: center; justify-content: space-between; gap: var(--gac-k3); }
.gac-toc .gac-toc__title { margin: 0; color: var(--gac-xanh); font-size: var(--gac-c-md); line-height: 24px; font-weight: 700; }
.gac-toc .gac-toc__btn, button.gac-toc__btn {
	flex-shrink: 0; min-height: 0; margin: 0; padding: 2px 10px; background: #fff; border: 1px solid var(--gac-vien); border-radius: 999px;
	color: var(--gac-chu); font-size: var(--gac-c-xs); line-height: 20px; font-weight: 500; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.gac-toc .gac-toc__btn:hover { border-color: var(--gac-do); color: var(--gac-do); }
.gac-toc nav ul { margin: 0; padding-left: 0; list-style: none; }
.gac-toc nav ul ul { margin-top: var(--gac-k1); padding-left: var(--gac-k4); }
.gac-toc nav li { margin: 6px 0; padding: 0; }
.gac-toc nav a { display: inline-block; color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 20px; font-weight: 500; text-decoration: none; }
.gac-toc nav ul ul a { font-weight: 400; color: var(--gac-chu-phu); }
.gac-toc nav a:hover { color: var(--gac-do); }
.gac-toc.is-collapsed nav { display: none; }
.gac-toc.is-collapsed .gac-toc__head { margin-bottom: 0; }
@media (max-width: 549px) { .gac-toc { display: block; width: 100%; padding: var(--gac-k3); } .gac-toc nav a { overflow-wrap: anywhere; } }
/* Phân trang: ô 40px (điện thoại 44px — vùng chạm tối thiểu), bo góc, cách đều */
ul.page-numbers.nav-pagination.links.text-center { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gac-k2); } /* wrap: trang giữa (‹ 1 2 3 4 5 … 23 ›) điện thoại 460px > 360 → bị cắt 2 đầu (25/11) */
ul.page-numbers.nav-pagination.links.text-center li { margin: 0; }
ul.page-numbers.nav-pagination.links.text-center li a,
ul.page-numbers.nav-pagination.links.text-center li span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 var(--gac-k2);
	border-radius: var(--gac-bo-nho); font-size: var(--gac-c-sm); font-weight: 600; line-height: 1;
}
ul.page-numbers.nav-pagination.links.text-center li a { background: var(--gac-nen-nhat); color: var(--gac-chu); border: 1px solid var(--gac-vien); }
ul.page-numbers.nav-pagination.links.text-center li span.dots { background: none; color: var(--gac-chu-phu); }
@media (max-width: 549px) { ul.page-numbers.nav-pagination.links.text-center li a, ul.page-numbers.nav-pagination.links.text-center li span { min-width: 44px; height: 44px; } }
/* Danh sách bài viết ở cột phải: chữ màu nội dung, đỏ khi rê chuột (trước toàn chữ đỏ dài, nặng mắt) */
.widget_recent_entries ul li { padding: var(--gac-k2) 0; border-color: var(--gac-vien); }
.widget_recent_entries ul li a { color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 20px; font-weight: 500; }
.widget_recent_entries ul li a:hover { color: var(--gac-do); }
/* "Tin tức xem nhiều nhất" (widget cột phải) = cùng kiểu danh sách bài cột phải */
.widget_bai_viet_xem_nhieu ul { margin: 0; padding: 0; list-style: none; }
.widget_bai_viet_xem_nhieu ul li { margin: 0; padding: var(--gac-k2) 0; border-bottom: 1px solid var(--gac-vien); }
.widget_bai_viet_xem_nhieu ul li .title { color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 20px; font-weight: 500; }
.widget_bai_viet_xem_nhieu ul li a:hover .title { color: var(--gac-do); }
/* —— DANH SÁCH LIÊN KẾT CỘT PHẢI (menu widget: Thể loại, Danh sách dịch vụ…) — chữ màu nội dung, đỏ khi rê chuột, vạch mảnh */
.post-sidebar .widget_nav_menu ul.menu > li > a,
.shop-sidebar .widget_nav_menu ul.menu > li > a { color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 20px; font-weight: 500; padding: var(--gac-k2) 0; }
.post-sidebar .widget_nav_menu ul.menu > li > a:hover,
.shop-sidebar .widget_nav_menu ul.menu > li > a:hover,
.post-sidebar .widget_nav_menu ul.menu > li.current-menu-item > a { color: var(--gac-do); }
.post-sidebar .widget_nav_menu ul.menu > li, .shop-sidebar .widget_nav_menu ul.menu > li { border-color: var(--gac-vien); }
/* Biểu tượng mục menu (plugin Menu Icons, ảnh SVG 150px) — trước chỉ có cỡ 16px trong khối .class_menu cũ; menu Thể loại chuyển vào thanh bên
   thì mất → icon phóng 150px (Sếp báo 24/11). Áp cho MỌI menu thanh bên. */
.widget_nav_menu ul.menu > li > a:has(> img._mi) { display: flex; align-items: center; gap: var(--gac-k2); }
.widget_nav_menu ul.menu > li > a > img._mi { flex: none; width: 16px; height: 16px; margin: 0; object-fit: contain; }
/* —— CAM KẾT (hàng r_icon_border: Trang chủ dưới banner, cuối mọi danh mục SP…) — ĐÚNG PDF =====
   MỘT thẻ trắng bóng mềm, 4 mục chia vạch dọc mảnh, biểu tượng ĐỎ trong vòng hồng 70px, chữ navy đậm 17px.
   Điện thoại/máy tính bảng: vẫn 1 thẻ, lưới 2×2 có vạch ngăn. (Biểu tượng đỏ: job db-gd3-cam-ket.php) */
.row.r_icon_border { display: flex; flex-wrap: wrap; width: auto; max-width: min(var(--gac-khung), calc(100% - 2 * var(--gac-le-ngoai, 0px))); margin: var(--gac-k6) auto !important; padding: 0; background: #fff; border-radius: var(--gac-bo-nho); box-shadow: 0 4px 20px rgba(1, 40, 105, .08); }
.row.r_icon_border > .col { padding: 0; }
.row.r_icon_border > .col + .col { background: linear-gradient(var(--gac-vien), var(--gac-vien)) left center / 1px 56px no-repeat; }
.r_icon_border .col-inner { height: auto; padding: 18px 24px 18px 32px; border: 0; background: none; box-shadow: none; border-radius: 0; }
.r_icon_border .col-inner .icon-box { display: flex; align-items: center; }
.r_icon_border .col-inner .icon-box-img { flex: none; width: 70px !important; height: 70px; margin: 0 20px 0 0; border-radius: 50%; background: #fdeeee; display: flex; align-items: center; justify-content: center; }
.r_icon_border .col-inner .icon-box-img .icon, .r_icon_border .col-inner .icon-box-img .icon-inner { display: flex; align-items: center; justify-content: center; }
.r_icon_border .col-inner .icon-box-img img { width: 38px; height: 38px; object-fit: contain; }
.r_icon_border .col-inner .icon-box-text { padding: 0; }
.r_icon_border .col-inner .icon-box h3 { margin: 0; color: var(--gac-xanh); font-size: var(--gac-c-lg); line-height: 24px; font-weight: 700; text-transform: uppercase; }
.gac-cam-ket.r_icon_border { margin-top: var(--gac-k5) !important; }
@media (max-width: 1199px) { .r_icon_border .col-inner { padding: 16px; } .r_icon_border .col-inner .icon-box-img { width: 56px !important; height: 56px; margin-right: 14px; } .r_icon_border .col-inner .icon-box-img img { width: 30px; height: 30px; } .r_icon_border .col-inner .icon-box h3 { font-size: 15px; line-height: 20px; } }
@media (max-width: 849px) {
	.row.r_icon_border { display: grid !important; grid-template-columns: 1fr 1fr; margin-left: 15px !important; margin-right: 15px !important; }
	.row.r_icon_border::before, .row.r_icon_border::after { display: none; }
	.row.r_icon_border > .col { max-width: none; flex: none; width: auto; background: none !important; }
	.row.r_icon_border > .col:nth-child(2n) { border-left: 1px solid var(--gac-vien); }
	.row.r_icon_border > .col:nth-child(n+3) { border-top: 1px solid var(--gac-vien); }
	.r_icon_border .col-inner { padding: 14px 12px; }
	.r_icon_border .col-inner .icon-box-img { width: 44px !important; height: 44px; margin-right: 10px; }
	.r_icon_border .col-inner .icon-box-img img { width: 24px; height: 24px; }
	.r_icon_border .col-inner .icon-box h3 { font-size: var(--gac-c-sm); line-height: 20px; }
}
/* —— RESPONSIVE (đo kiem-responsive 23/11: 15 trang × 360/390/768/1024) */
/* Số liệu: cỡ số co theo bề ngang cột (container query) — trước "4.000+"/"Từ 2016" tràn cột ở 768–1024 (khối Về chúng tôi chỉ nửa bề ngang) */
.row.gac-so-lieu > .col > .col-inner { container-type: inline-size; }
@supports (font-size: 1cqi) { .gac-so-lieu__so { font-size: min(var(--gac-c-4xl), 24cqi); } }
/* Chữ tối thiểu 12px */
@media (max-width: 549px) { .sec_kms .row_sale .ux-timer.light > span strong { font-size: 12px; left: -10px; right: -10px; } }

/* —— BẢNG DÙNG CHUNG (Sếp 24/11: "đồng bộ style các bảng, dùng chung 1 kiểu") ================================
   Kiểm kê 24/11 (cong-cu/kiem-ke-bang.mjs): 5 kiểu — bảng nội dung khách nhập (border="1/3" → viền nổi 3D, ô #ececec nhạt, chữ #666, đệm 8/5),
   bảng thông số ngắn dưới giá (không khung, nhãn #666), bảng Tài liệu (plugin), bảng giỏ hàng (Woo), bảng LadiPage (trang landing — giữ nguyên).
   MỘT kiểu: khung 1px --gac-vien-bang bo 8; ô đệm 10/12, chữ 14/1,5 --gac-chu; hàng đầu = hàng tiêu đề (nền --gac-nen-nhat, 600, navy);
   kẻ dọc + ngang cùng màu. Viền vẽ bằng cạnh trên/trái của bảng + cạnh phải/dưới của ô → ô gộp (rowspan/colspan) không bị viền đôi.
   Biến thể "thông số" (bảng border="0" ở khối giá SP): không khung, chỉ kẻ ngang, nhãn chữ phụ. */
:is(.entry-content, .woocommerce-Tabs-panel, .mota_bottom, .term-description, .page-wrapper, .tab-panels, .gac-noi-dung) table:not([border="0"]):not([class*="ladi"]):not(.shop_table):not(.gtl-bang__table) {
	border-collapse: separate !important; border-spacing: 0 !important; /* !important: TinyMCE ghi style="border-collapse: collapse" nội tuyến → viền ngoài gộp, nửa nằm ngoài bảng bị overflow:hidden cắt mất (mất viền trên + trái, Sếp bắt 25/11) */
	border: 0 !important; outline: 1px solid var(--gac-vien-bang); outline-offset: -1px; /* KHUNG = outline nằm trong: vẽ TRÊN các ô và bo theo border-radius → 4 góc liền nét.
	   Trước: viền phải/dưới do ô vẽ, bị bo cắt → 2 góc phải hở cung (soi mắt 25/11, máy đo điểm ảnh không bắt). Ô mép ngoài vẫn vẽ phải/dưới trùng đúng vị trí khung. */
	border-radius: var(--gac-bo-nho); overflow: hidden; margin-bottom: var(--gac-k5); }
/* TinyMCE kéo cột ghi style="width: 100.8%" (82 bảng, 25/11): bảng rộng hơn khung 1–3px → khung cuộn cắt mất viền phải + góc bo phải trên điện thoại.
   Kéo về 100%; bảng thật sự rộng (ô tối thiểu 7,5em, bảng 139%) vẫn nở theo nội dung vì bảng không co dưới bề rộng tối thiểu. */
:is(.entry-content, .woocommerce-Tabs-panel, .mota_bottom, .term-description, .page-wrapper, .tab-panels, .gac-noi-dung) table:is([style*="width: 100."], [style*="width:100."], [style*="width: 101"], [style*="width:101"]) { width: 100% !important; }
:is(.entry-content, .woocommerce-Tabs-panel, .mota_bottom, .term-description, .page-wrapper, .tab-panels, .gac-noi-dung) table[style*="margin-left"] { margin-left: 0 !important; } /* nút "thụt lề" TinyMCE + width 100% → bảng lòi mép phải 40px (Chính sách giao hàng) */
/* Bảng dán từ Word/TinyMCE mang height gõ tay (vd /bien-tan-mitsubishi/ bảng mã lỗi height:1789px, tự nhiên 634 → mỗi hàng trống ~90px; hàng SP Xinje tr 252px / tự nhiên 202) → cao theo nội dung. Chỉ trong vùng nội dung; nội dung khách không đổi (25/11/2026) */
:is(.entry-content, .mota_bottom, .term-description, .woocommerce-Tabs-panel, .product-short-description, .tab-panels) :is(table, tr, td, th)[style*="height"] { height: auto !important; }
/* Ảnh trong nội dung có height gõ tay (vd /plc-delta/ style="width:700px;height:500px"): điện thoại thu bề ngang còn 335px nhưng giữ cao 500 → méo (tỉ lệ 0,67 thay 1,40). Cao theo tỉ lệ gốc. */
:is(.entry-content, .mota_bottom, .term-description, .woocommerce-Tabs-panel, .product-short-description, .tab-panels) img[style*="height"] { height: auto !important; }
:is(.entry-content, .woocommerce-Tabs-panel, .mota_bottom, .term-description, .gac-noi-dung) :is(.agent-turn, .text-message, .agent-turn .flex) { display: block; min-width: 0; max-width: 100%; } /* HTML dán từ ChatGPT (64 bài): lớp Tailwind trùng .flex/.items-end của Flatsome → khối flex giãn theo bảng, chữ bị cắt (PLC Xinje XC1 điện thoại) */
:is(.entry-content, .woocommerce-Tabs-panel, .mota_bottom, .term-description, .page-wrapper, .tab-panels, .gac-noi-dung) table:not([border="0"]):not([class*="ladi"]):not(.shop_table):not(.gtl-bang__table) :is(td, th) {
	border: 0 !important; border-right: 1px solid var(--gac-vien-bang) !important; border-bottom: 1px solid var(--gac-vien-bang) !important;
	padding: 10px 12px !important; color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 1.5; vertical-align: middle !important; height: auto !important; } /* !important: bảng dán từ trình soạn mang style="padding:8px; vertical-align:top; height:42px" nội tuyến */
:is(.entry-content, .woocommerce-Tabs-panel, .mota_bottom, .term-description, .page-wrapper, .tab-panels, .gac-noi-dung) table:not([border="0"]):not([class*="ladi"]):not(.shop_table):not(.gtl-bang__table) :is(thead > tr > *, tr:first-child > th) , :is(.entry-content, .woocommerce-Tabs-panel, .mota_bottom, .term-description, .page-wrapper, .tab-panels, .gac-noi-dung) table:not([border="0"]):not([class*="ladi"]):not(.shop_table):not(.gtl-bang__table):not(:has(thead)) > tbody:first-of-type > tr:first-child > * {
	background: var(--gac-nen-nhat); color: var(--gac-xanh); font-weight: 600; }
:is(.entry-content, .woocommerce-Tabs-panel, .mota_bottom, .term-description, .page-wrapper, .tab-panels, .gac-noi-dung) table:not([border="0"]):not([class*="ladi"]):not(.shop_table):not(.gtl-bang__table) :is(td, th) > :is(p, ul, ol):last-child { margin-bottom: 0; }
/* Điện thoại: bảng rộng hơn màn thì cuộn ngang trong khung (.table_overflow của gac.js); mỗi ô tối thiểu 7,5em để chữ không vỡ từng chữ,
   cột tên tài liệu (.tai-lieu-col) 14em. Thay mẹo cũ của dev (mọi ô 100px !important + 1 ô 300px → bảng 5 cột rộng 1.501px). */
@media (max-width: 549px) {
	:is(.entry-content, .woocommerce-Tabs-panel, .mota_bottom, .term-description, .page-wrapper, .tab-panels, .gac-noi-dung) table:not([border="0"]):not([class*="ladi"]):not(.shop_table):not(.gtl-bang__table) :is(td, th) { min-width: 7.5em; }
	:is(.entry-content, .woocommerce-Tabs-panel, .mota_bottom, .term-description, .page-wrapper, .tab-panels, .gac-noi-dung) table td.tai-lieu-col { min-width: 14em; }
}
/* Bảng mã lỗi class="tai-lieu" (~20 bài/SP sửa chữa) trên điện thoại: rộng 179,6% để cuộn ngang trong .table_overflow
   (chuyển từ Flatsome › Custom CSS Mobile 27/11/2026) */
@media (max-width: 549px) { .tai-lieu { width: 179.6248% !important; } }
/* tr:last-child > * và :last-child giữ viền phải/dưới: chính là cạnh phải/dưới của khung (bo góc nhờ overflow:hidden của bảng) */
/* Biến thể thông số (khối giá SP: Thương hiệu / Bảo hành / Output) */
.product-info table[border="0"], .product-info table:not([border]) { width: 100%; table-layout: fixed; border: 0; border-collapse: collapse; } /* bảng dán từ Google Sheets mang <col width=100>: tự giãn 400px > khung 360 điện thoại, cột phải bị khung cuộn cắt (có từ web gốc) */
.product-info :is(table[border="0"], table:not([border])) :is(col:first-child, tr > td:first-child) { width: 42%; }
.product-info .table_overflow:has(> table[border="0"], > table:not([border])) { margin-bottom: var(--gac-k5); } .product-info :is(table[border="0"], table:not([border])) { margin-bottom: 0; } /* khung cuộn dev cũ lề 50px + bảng 1em → 64px trống trước Khuyến mãi */
.product-info table[border="0"] :is(td, th), .product-info table:not([border]) :is(td, th) { padding: 10px 12px 10px 0; border: 0; border-bottom: 1px solid var(--gac-vien-bang); color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 1.5; }
.product-info table[border="0"] td:first-child, .product-info table:not([border]) td:first-child { color: var(--gac-chu-phu); }

/* —— ĐỒNG BỘ THÀNH PHẦN (Sếp 24/11 "rà kỹ thành phần dùng chung, quy về 1 kiểu") — kiểm kê: cong-cu/kiem-ke-thanh-phan.mjs (37 trang × 2 khổ)
   THẺ SẢN PHẨM: 5 kiểu (Khuyến mãi sốc viền #eee đệm 5px; Flash sale / SP nổi bật danh mục không viền góc vuông; lưới chuẩn) → 1 kiểu lưới chuẩn:
   viền --gac-vien, bo 8, nền trắng, ảnh sát mép, chữ đệm 10/12/14. Thẻ dự án trượt ở trang chủ giữ nền xám theo PDF, chỉ bo 8. */
html body :is(.sec_kms .slide_kms, .row.hotsale, .sanpham_noibat .devvn-row-slider) .product-small.box { padding: 0; border: 1px solid var(--gac-vien); border-radius: var(--gac-bo-nho); overflow: hidden; background: #fff; }
.gac-du-an-truot .product-small.box { border-radius: var(--gac-bo-nho); overflow: hidden; }
.row.hotsale > .col > .col-inner { border-radius: var(--gac-bo-nho); } /* Flash sale: ô bọc nền trắng vuông dưới thẻ bo 8 → bo theo (góc lộ) */
/* THẺ BÀI VIẾT: bo 12 / 0 → 8 (cùng thẻ SP, thẻ tin trang chủ) */
.post-item .box, .post-item .box .box-image, .post-item .box .image-cover { border-radius: var(--gac-bo-nho); }
.post-item .box { overflow: hidden; }
/* BREADCRUMB: trang tìm SP (thanh tiêu đề Flatsome .breadcrumbs) 18,4px đậm 700 #222 chữ HOA; dấu "/" theo cỡ nav 16px → 1 kiểu 14px chữ phụ */
nav.rank-math-breadcrumb, nav.rank-math-breadcrumb.breadcrumbs { font-size: var(--gac-c-sm); line-height: 20px; color: var(--gac-chu-phu); font-weight: 400; text-transform: none; letter-spacing: 0; }
/* PHÂN TRANG: 2 kiểu chữ (600 / 700) → 600 */
/* HỎI ĐÁP (accordion): viền #ddd → --gac-vien */
.accordion .accordion-item, .accordion-title { border-color: var(--gac-vien); }

/* —— CHÂN TRANG · khối liên hệ (Sếp 25/11 "icon điện thoại và Miền Bắc 0961… không thẳng trục"): đo theo NÉT, biểu tượng thấp hơn tâm chữ 3,3–4,8px
   (Flatsome .icon-box-img img{padding-top:.2em} + mẹo padding-top 10px của dev cũ). Be Vietnam Pro: tâm chữ hoa = tâm dòng → biểu tượng đặt giữa ĐÚNG dòng chữ đầu
   (cao 1 dòng 14px × 1,6), hàng có nút Zalo thì giữa cả hàng. Nút Zalo ghim cột phải cố định → 2 hàng thẳng mép (trước lệch theo độ dài số). */
/* Biểu tượng + chữ .icons_ft (chân trang + trang Liên hệ .clog_info_ft — dev cũ viết chung 1 luật cho 2 nơi, sửa phải sửa cả 2): hộp biểu tượng cao đúng 1 dòng chữ, biểu tượng canh giữa hộp → thẳng tâm DÒNG ĐẦU
   kể cả khi chữ xuống nhiều dòng (địa chỉ). Bỏ padding-top .2em của Flatsome (đẩy biểu tượng lệch xuống 2–3px). */
.icons_ft { align-items: flex-start; }
.icons_ft .icon-box-img { display: flex; align-items: center; height: 1.6rem; } /* = 1 dòng chữ nội dung 16/1,6 */
.icons_ft .icon-box-img > .icon { width: 100%; }
.icons_ft .icon-box-img img { display: block; padding-top: 0; }
footer .col_info .icons_ft .icon-box-img { height: calc(14px * 1.6); } /* chữ chân trang 14/1,6 */
/* Hàng điện thoại + nút Zalo (thay flex/float của dev cũ: hàng Miền Bắc rớt số xuống dòng ở 1440, cả 2 hàng ở 1024, nút Zalo co nhỏ):
   nhãn + số luôn 1 dòng, cao bằng nút Zalo (32px) → biểu tượng (cao 32) thẳng tâm số; đủ chỗ thì nút đứng cạnh, thiếu thì xuống dưới thẳng mép trái.
   Nhãn cùng bề rộng + chữ số đều bề rộng → 2 hàng dài bằng nhau → 2 nút Zalo thẳng cột ở mọi khổ. */
:is(footer, .clog_info_ft) .col_info .icons_ft.iconflex .icon-box-img { height: 32px; }
:is(footer, .clog_info_ft) .col_info .icons_ft.iconflex .icon-box-text.last-reset { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--gac-k2); }
:is(footer, .clog_info_ft) .col_info .icons_ft.iconflex .txt_call { margin: 0; line-height: 32px; flex: 1 0 auto; /* khối nhãn + số giãn hết chỗ trống của dòng → nút Zalo luôn sát mép phải khi cùng dòng (2 nút thẳng cột dù 2 số dài khác nhau — phông cắt gọn không có chữ số đều bề rộng), rớt dòng thì về đầu dòng dưới */ } /* mỗi dòng cao 32 = nút Zalo → dòng đầu luôn thẳng tâm biểu tượng, kể cả khi cột hẹp (850–1000px) nhãn và số xuống 2 dòng */
:is(footer, .clog_info_ft) .col_info .icons_ft.iconflex .txt_call :is(strong, a) { white-space: nowrap; }
:is(footer, .clog_info_ft) .col_info .icons_ft.iconflex .txt_call > p { margin: 0; }
:is(footer, .clog_info_ft) .col_info .icons_ft.iconflex .icon-box-text .img { width: auto !important; margin: 0; } /* !important: UX Builder in #image_xxx{width:30%} */
:is(footer, .clog_info_ft) .col_info .icons_ft.iconflex .icon-box-text .img img { display: block; width: auto; height: 32px; } /* cỡ gốc 92×32 */
:is(footer, .clog_info_ft) .col_info .icons_ft .txt_call strong { display: inline-block; min-width: 5.3em; } /* "Miền Bắc:" / "Miền Nam:" cùng bề rộng */
.clog_info_ft .col_info .icons_ft.iconflex .txt_call { flex: 0 0 auto; min-width: min(13em, 100%); } /* trang Liên hệ cột rộng: không đẩy nút ra mép xa — nhãn + số cùng bề rộng 13em (số dài nhất 204,5px ở 16px) */

/* ============================================================
   C3. FORM NHẬP LIỆU + BÁO LỖI (CF7, Woo, bình luận, tài liệu)
   ============================================================ */
.gscf7-frontend-gdpr-notice { display: none !important; } /* thông báo GDPR của CF7 Google Sheets Connector */
@media (max-width: 550px) { .label_check p { grid-template-columns: repeat(2, 1fr); } } /* ô chọn trong form đăng ký (8 trang) */
/* Nút gửi form (CF7) = nút chính của hệ thống: nền navy, bo 8px, cao 44px, chữ 14/600 */
body .wpcf7 :is(input.wpcf7-submit, button.wpcf7-submit, input[type=submit]) { min-height: 44px; height: 44px; padding: 0 var(--gac-k6) !important; border: 0 !important; border-radius: var(--gac-bo-nho) !important; background: var(--gac-xanh) !important; color: #fff !important; font-size: var(--gac-c-sm) !important; font-weight: 600; letter-spacing: .02em; line-height: 44px; box-shadow: none !important; }
body .wpcf7 :is(input.wpcf7-submit, button.wpcf7-submit, input[type=submit]):hover { background: var(--gac-do) !important; }
/* —— FORM NHẬP LIỆU — MỘT KIỂU toàn site (Sếp 23/11: trước 4 kiểu: vuông 35px có bóng / bo 5px / gạch dưới / mặc định) =====
   Ô: cao 44, bo 8, viền mảnh, chữ 15; nhãn 14/600; khi nhập: viền navy + quầng nhạt; ô dài ≥120. Ô tìm kiếm đầu trang giữ kiểu viên thuốc riêng (thiết kế PDF). */
body :is(.wpcf7, .woocommerce, .comment-form, .gtl-form) :is(input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=password], input[type=date], input[type=search]:not(.search-field), select, textarea):not(.select2-search__field) {
	height: 44px; min-height: 44px; margin: 0; padding: 0 14px; border: 1px solid var(--gac-vien-o) !important; border-radius: var(--gac-bo-nho) !important; background: #fff !important; font-weight: 400;
	box-shadow: none !important; color: var(--gac-chu); font-size: var(--gac-c-md); line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
body :is(.wpcf7, .woocommerce, .comment-form, .gtl-form) textarea:not(.select2-search__field) { height: 160px !important; min-height: 120px !important; padding: 12px 14px !important; resize: vertical; }
body :is(.wpcf7, .woocommerce, .comment-form, .gtl-form) :is(input, select, textarea, #gac-uu-tien):focus { outline: 0; border-color: var(--gac-xanh) !important; box-shadow: 0 0 0 3px rgba(1, 40, 105, .12) !important; }
body :is(.wpcf7, .woocommerce, .comment-form, .gtl-form) :is(input, textarea)::placeholder { color: #8a93a3; opacity: 1; }
body .wpcf7 label, body .wpcf7 .form_lh strong, body .woocommerce form .form-row label { margin-bottom: 6px; color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 20px; font-weight: 600; }
body .wpcf7 .wpcf7-form-control-wrap { display: block; margin-bottom: var(--gac-k4); /* nhóm ô cách nhau 16px (trước nhãn dính ô trên) */ }
body .wpcf7 .wpcf7-not-valid-tip {   color: var(--gac-do); margin-top: 4px; font-size: var(--gac-c-xs); line-height: 18px; }
body .wpcf7 label abbr.required { color: var(--gac-do); text-decoration: none; border: 0; } /* 26/11: dấu * ô bắt buộc (khách chọn mục 9) */
body .wpcf7 label .optional { color: var(--gac-chu-phu); font-weight: 400; }
/* Nút chính form: CF7 + Woo cùng kiểu */
body .woocommerce :is(button.button, input.button, a.button.alt, button.button.alt) { min-height: 44px; border-radius: var(--gac-bo-nho); font-size: var(--gac-c-sm); font-weight: 600; text-transform: none; letter-spacing: 0; background-color: var(--gac-xanh); color: #fff; } /* màu chính Flatsome (Tuỳ biến) = đỏ → nút Đăng nhập/Đăng ký/Đặt lại mật khẩu đỏ, lệch hệ nút (chính = xanh) */
body .woocommerce :is(button.button, input.button, a.button.alt, button.button.alt):hover { background-color: #001d4d; color: #fff; }
/* —— LỖI NHẬP LIỆU (Woo + chung) — trước: tóm tắt lỗi chữ đỏ canh giữa không khung, lỗi dưới ô chữ đen, ô không đổi viền */
.woocommerce-NoticeGroup .woocommerce-error, .woocommerce-error { margin: 0 0 var(--gac-k5); padding: var(--gac-k4) var(--gac-k5); list-style: none; border: 1px solid #f3c2bf; border-left: 4px solid var(--gac-do); border-radius: var(--gac-bo-nho); background: #fdf2f1; color: var(--gac-chu); text-align: left; }
.woocommerce-error li { margin: 0; text-align: left; font-size: var(--gac-c-sm); line-height: 22px; }
.woocommerce-error li strong { color: var(--gac-do); }
.woocommerce-error .message-container { text-align: left !important; padding: 0; }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select, .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: var(--gac-do) !important; }
.woocommerce .checkout-inline-error-message { margin: 4px 0 0; color: var(--gac-do); font-size: var(--gac-c-xs); line-height: 18px; }
/* CF7 cùng kiểu lỗi với Woo: ô lỗi viền đỏ; hộp phản hồi đỏ nhạt (lỗi) / xanh lá (đã gửi) thay viền vàng mặc định */
body :is(.wpcf7) :is(input, textarea, select, #gac-uu-tien).wpcf7-not-valid { border-color: var(--gac-do) !important; }
/* #gac-uu-tien (không tồn tại) chỉ để nâng độ ưu tiên: luật ô chung có input[type=search]:not(.search-field) trong :is() → (0,3,2),
   trước đó viền xanh khi nhập (focus) và viền đỏ khi lỗi KHÔNG BAO GIỜ thắng (đo CDP 23/11). */
body .wpcf7 form .wpcf7-response-output { margin: var(--gac-k4) 0 0; padding: var(--gac-k3) var(--gac-k4); border: 1px solid #f3c2bf !important; border-left: 4px solid var(--gac-do) !important; border-radius: var(--gac-bo-nho); background: #fdf2f1; color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 22px; text-align: left; }
body .wpcf7 form.sent .wpcf7-response-output { border-color: #b7e1c4 !important; border-left-color: #1a8a43 !important; background: #effaf2; }

/* ============================================================
   C4. THẺ SẢN PHẨM (lưới danh mục, khuyến mãi, tìm kiếm)
   ============================================================ */
/* Thẻ sản phẩm: tên 2 dòng (máy tính) / 3 dòng (điện thoại) — trước cắt mất mã model; giá "Liên hệ" */
.product-small.col .product-small.box { border-color: var(--gac-vien); border-radius: var(--gac-bo-nho); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.product-small.col .product-small.box:hover { border-color: transparent; box-shadow: var(--gac-bong); }
.product-small .box-text p.name.product-title.woocommerce-loop-product__title a { font-size: var(--gac-c-sm); line-height: 20px; height: 40px; }
.product-small .box-text p.name.product-title.woocommerce-loop-product__title a:hover { color: var(--gac-do); }
@media (max-width: 549px) {
	.product-small .box-text p.name.product-title.woocommerce-loop-product__title a { -webkit-line-clamp: 3; height: 60px; }
}
/* Giá: "Liên hệ" cùng cỡ / đậm / đường chân chữ với số tiền (trước mảnh hơn, thấp hơn 4px) */
.price-wrapper .gac-gia-lh { display: block; line-height: 1; }
.price-wrapper .gac-gia-lh .amount { display: block; font-size: inherit; line-height: 1; font-weight: 700; } /* cùng kiểu khối + cao dòng với số tiền (.amount display:block, lh 1) */
.box-text .price-wrapper a.gac-gia-lh { margin: 0; line-height: 1; } /* Flatsome .box-text a { margin-top: .1em } đẩy "Liên hệ" thấp hơn số tiền 1,4px */
.product-small .box-text p.name.product-title.woocommerce-loop-product__title a.woocommerce-LoopProduct-link { color: var(--gac-chu); }
.product-small .box-text p.name.product-title.woocommerce-loop-product__title a.woocommerce-LoopProduct-link:hover { color: var(--gac-do); }
.product-small .box-text .title-wrapper { height: auto !important; min-height: 0; } /* dev cũ cố định 50px → tên 3 dòng (điện thoại) tràn, giá đè chữ */
.product-small .box-text p.name.product-title.woocommerce-loop-product__title { height: auto !important; max-height: none; -webkit-line-clamp: unset; display: block; overflow: visible; } /* thẻ p bọc tên bị ép 50px + kẹp 2 dòng → dòng 3 bị cắt nửa; kẹp dòng để ở thẻ a */
.product-small .price { flex-wrap: wrap; column-gap: 8px; row-gap: 2px; }
/* N07: chữ trong thẻ cách mép 12px (trước 5/10px), tên ↔ giá 6px (trước dính 1px), cỡ token 14 (trước 14,4) */
.products .product-small.box .box-text-products { font-size: var(--gac-c-sm); }
.product-small.box .box-text .title-wrapper { margin-bottom: 6px; } /* mọi thẻ SP (cả khối Sản phẩm UX Builder trên trang đích — 25/11 tên 2 dòng dính "Liên hệ" 4,4px) */
/* Dòng Thương hiệu / Danh mục / Thẻ dưới giá (Sếp 24/11): chip đệm 5px nằm trong dòng chữ → tràn khỏi hộp dòng, chữ không nằm giữa 2 vạch chấm,
   dòng có chip cao 39 / không chip 33. → mỗi dòng flex canh giữa dọc, cao tối thiểu 40, đệm đều 6/6; chip 28px; Thẻ cùng kiểu chip */
.product_meta > span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--gac-k2); min-height: 40px; margin: 0; padding: 6px 0; }
.product_meta > span > a, .product_meta .gac-meta__gt > a, .product_meta .gac-the { display: inline-flex; align-items: center; min-height: 28px; margin: 0; padding: 0 var(--gac-k3); border-radius: 99px; background: #eff4ff; color: var(--gac-xanh); line-height: 20px; }
.product_meta > span > a:hover, .product_meta .gac-meta__gt > a:hover { background: var(--gac-xanh); color: #fff; }
/* Danh mục / Thẻ: nhãn trái + cụm viên phải (inc/woocommerce.php tách) — viên dài gói chữ cạnh nhãn, viên thứ 2 xuống hàng thẳng dưới viên đầu (điện thoại trước: nhãn đứng trơ 1 dòng, viên rớt về dưới nhãn) */
.product_meta > span:has(> .gac-meta__gt) { flex-wrap: nowrap; align-items: flex-start; }
.product_meta .gac-meta__nhan { flex: none; line-height: 28px; }
.product_meta .gac-meta__gt { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.product_meta .gac-meta__gt > a, .product_meta .gac-meta__gt > .gac-the { max-width: 100%; padding-top: 4px; padding-bottom: 4px; white-space: normal; }
/* N02: giá + "Liên hệ" đỏ thương hiệu (4,9:1) — ở trang SP thẻ a lấy màu liên kết #9f1009 */
.price a.gac-gia-lh, .price a.gac-gia-lh .amount { color: var(--gac-do); }
.single-product .product-info p.price.product-page-price { line-height: 1.2; } .single-product .product-info p.price.product-page-price a.gac-gia-lh { display: inline-block; vertical-align: baseline; } /* "Liên hệ" cùng hàng nhãn "Giá niêm yết:" như giá thật (Sếp 25/11) */ /* giá giảm + giá gốc gạch: hẹp thì xuống dòng (trước điện thoại cắt mất "4.300.00…") */

/* ============================================================
   C5. TÌM KIẾM + 404 + NÚT gac-nut
   ============================================================ */
/* Nút nền màu (đỏ / navy: Đăng nhập, Quay lại cửa hàng, nút form trang đích…): Flatsome đặt viền đen trong suốt 5% → quầng sẫm mảnh quanh mép,
   nhìn "lem" (soát độ nét 27/11). Cùng nhóm selector + độ ưu tiên với Flatsome → nút có viền riêng (.is-outline, bảng lọc…) không bị ảnh hưởng. */
.button, input[type="button"].button, input[type="reset"].button, input[type="submit"], input[type="submit"].button { border-color: transparent; }
/* Trang kết quả tìm kiếm chung: khối sản phẩm phía trên danh sách bài viết */
.gac-tk-sp { margin-bottom: var(--gac-k6); }
.colLeft .gac-tieu-de { margin: 0 0 var(--gac-k4); padding: 0; max-width: none; }
.colLeft .gac-tieu-de h2 { font-size: var(--gac-c-xl); line-height: 28px; }
/* —— 404 + KHÔNG CÓ KẾT QUẢ */
.gac-404 { max-width: 720px; margin: 0 auto; padding: var(--gac-k8) 0; text-align: center; }
.gac-404__ma { margin: 0; color: var(--gac-xanh); opacity: .12; font-size: clamp(96px, 12vw, 160px); line-height: 1; font-weight: 800; }
.gac-404__tieu-de { margin: calc(-1 * var(--gac-k5)) 0 var(--gac-k3); color: var(--gac-xanh); font-size: var(--gac-c-3xl); line-height: var(--gac-dong-tieu-de); font-weight: 700; }
.gac-404__mo-ta { margin: 0 auto var(--gac-k5); color: var(--gac-chu-phu); font-size: var(--gac-c-md); }
.gac-404__tim { display: flex; gap: var(--gac-k2); max-width: 560px; margin: 0 auto var(--gac-k5); }
.gac-404__tim input[type=search] { flex: 1; height: 44px; margin: 0; padding: 0 14px; border: 1px solid var(--gac-vien-o); color: var(--gac-chu); border-radius: var(--gac-bo-nho); box-shadow: none; font-size: var(--gac-c-md); }
.gac-404__tim input[type=search]:focus { border-color: var(--gac-xanh); box-shadow: 0 0 0 3px rgba(1, 40, 105, .12); outline: 0; }
.gac-404 .gac-404__tim button[type=submit], .gac-nut { display: inline-flex; align-items: center; justify-content: center; height: 44px; margin: 0; padding: 0 var(--gac-k5); border: 1.5px solid var(--gac-xanh); border-radius: var(--gac-bo-nho); background: var(--gac-xanh); color: #fff; font-size: var(--gac-c-sm); font-weight: 600; text-transform: none; letter-spacing: 0; }
.gac-nut--phu { background: #fff; color: var(--gac-xanh); }
.gac-404 .gac-404__tim button[type=submit]:hover, .gac-nut:hover { background: var(--gac-do); border-color: var(--gac-do); color: #fff; }
.gac-404__loi { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gac-k3); }
.gac-khong-kq { padding: var(--gac-k5); border: 1px solid var(--gac-vien); border-radius: var(--gac-bo); background: var(--gac-nen-nhat); }
.gac-khong-kq__tieu-de { margin: 0 0 var(--gac-k2); color: var(--gac-xanh); font-size: var(--gac-c-xl); }

/* —— NÚT HỆ THỐNG (N06, Sếp duyệt 24/11): 3 cỡ 36 / 44 / 52, bo 8, chữ 600 viết thường; chính = nền navy, phụ = viền navy, mua = đỏ.
   Áp cho nút Flatsome / CF7 do nội dung in ra (trước 36 biến thể: cao 22–66, bo 0/6/8/50/99). */
#content a.button.primary:not(.is-link):not(.gac-nut), .wpcf7 input.wpcf7-submit { min-height: 44px; line-height: 42px; padding: 0 var(--gac-k5); border-radius: var(--gac-bo-nho) !important; font-size: var(--gac-c-sm); font-weight: 600; text-transform: none; letter-spacing: 0; }
.wpcf7 input.wpcf7-submit { min-width: 160px; }
.gac-nut--nho { height: 36px; padding: 0 var(--gac-k4); font-size: 13px; }
.gac-nut--lon { height: 52px; padding: 0 var(--gac-k6); font-size: var(--gac-c-md); }
.gac-nut--mua { background: var(--gac-do); border-color: var(--gac-do); }

/* ============================================================
   C6. VIDEO YOUTUBE NHẸ (inc/video-nhe.php) — ảnh bìa 16:9 + nút phát; bấm mới tải trình phát
   ============================================================ */
.gac-yt { position: relative; max-width: 100%; margin: 0 0 var(--gac-k5); aspect-ratio: 16 / 9; border-radius: var(--gac-bo-nho); overflow: hidden; background: #0b0f1a; }
.gac-yt__nut, .gac-yt__khung { display: block; width: 100%; height: 100%; border: 0; }
.gac-yt__nut img { width: 100%; height: 100%; margin: 0; object-fit: cover; }
.gac-yt__phat { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: rgba(0, 0, 0, .7); transition: background-color .2s; }
.gac-yt__phat::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.gac-yt__nut:hover .gac-yt__phat, .gac-yt__nut:focus-visible .gac-yt__phat { background: #ff0000; }
.gac-yt__nut:focus-visible { outline: 3px solid var(--gac-cam); outline-offset: -3px; }

/* ============================================================
   C7. SLIDER DẠNG HÀNG (Flatsome row slider, danh mục con, tin liên quan, slider trang tìm kiếm) — nút mũi tên KHÔNG BAO GIỜ đè thẻ.
   Trước: nút 30–36px nằm TRÊN thẻ đầu/cuối, chỉ hiện khi rê chuột (Sếp báo ở slider khách hàng 24/11; soát mọi slider còn 4 chỗ cùng lỗi).
   KIỂU NÚT dùng chung cả danh mục trượt trang chủ [ux_slider class="gac-dm-truot"] (27/11); VỊ TRÍ nút của khối đó riêng (Sếp: mũi tên NGOÀI khối,
   thẻ không bị ngắn đi) — xem mục Danh mục TRƯỢT.
   Cách chung (như slider khách hàng): chừa 2 rãnh hai bên cho nút tròn 40px luôn hiện, mép nút trùng mép cột (hàng có lề âm 10/12/15px).
   Điện thoại ≤549: ẩn nút, bỏ rãnh, vẫn vuốt + chấm trang.
   ============================================================ */
/* Banner đầu trang chủ: bỏ cặp mũi tên trước/sau, giữ chấm (khách T11.2026 mục 2) */
.row_banner .flickity-prev-next-button { display: none; }
/* MỌI nút mũi tên slider: hình mũi tên gốc Flickity vẽ lệch trong khung 100×100 (‹ chiếm x 10→70, tâm 40) → đặt giữa nút vẫn lệch 10% bề rộng
   (đo 27/11: 1,6–2px ở cả 5 slider; Sếp báo "lệch mũi tên với vòng tròn"). Bù bằng `translate` riêng (không đụng `transform` canh giữa của từng slider). */
.flickity-prev-next-button.previous svg { translate: 10% 0; }
.flickity-prev-next-button.next svg { translate: -10% 0; }
@media (min-width: 550px) {
	.row.flickity-enabled:not(.gac-khach-hang) { --lr: 15px; padding-left: calc(var(--lr) + 48px); padding-right: calc(var(--lr) + 48px); }
	.row.row-small.flickity-enabled:not(.gac-khach-hang) { --lr: 10px; }
	.row.cat-child-list.flickity-enabled { --lr: 12px; }
	:is(.row.flickity-enabled:not(.gac-khach-hang), .gac-dm-truot > .slider.flickity-enabled) > .flickity-prev-next-button { top: 50% !important; width: 40px !important; height: 40px !important; min-height: 0; margin: 0; padding: 0; transform: translateY(-50%) !important; opacity: 1 !important; visibility: visible !important; border: 1px solid var(--gac-vien); border-radius: 50%; background: #fff; color: var(--gac-xanh); box-shadow: none; }
	.row.flickity-enabled:not(.gac-khach-hang) > .flickity-prev-next-button.previous { left: var(--lr) !important; right: auto !important; }
	.row.flickity-enabled:not(.gac-khach-hang) > .flickity-prev-next-button.next { right: var(--lr) !important; left: auto !important; }
	:is(.row.flickity-enabled:not(.gac-khach-hang), .gac-dm-truot > .slider.flickity-enabled) > .flickity-prev-next-button svg { position: absolute !important; left: 50% !important; top: 50% !important; width: 16px !important; height: 16px !important; margin: 0; padding: 0; transform: translate(-50%, -50%); background: none; border: 0; }
	:is(.row.flickity-enabled:not(.gac-khach-hang), .gac-dm-truot > .slider.flickity-enabled) > .flickity-prev-next-button path { fill: currentColor; }
	:is(.row.flickity-enabled:not(.gac-khach-hang), .gac-dm-truot > .slider.flickity-enabled) > .flickity-prev-next-button:hover { border-color: var(--gac-do); background: var(--gac-do); color: #fff; }
	:is(.row.flickity-enabled:not(.gac-khach-hang), .gac-dm-truot > .slider.flickity-enabled) > .flickity-prev-next-button:disabled { opacity: .35 !important; }
}
@media (max-width: 549px) {
	:is(.row.flickity-enabled:not(.gac-khach-hang), .gac-dm-truot > .slider.flickity-enabled) > .flickity-prev-next-button { display: none !important; }
}
/* Banner đầu trang chủ: dãy chấm trang ở đáy (cặp mũi tên đã bỏ theo khách T11.2026 — luật kiểu nút 25/11 gỡ 27/11, ẩn ở C7 đầu mục). */
.home .slider-wrapper:is(.hide-for-small, .show-for-small) .flickity-page-dots { bottom: 14px; pointer-events: none; } .home .slider-wrapper:is(.hide-for-small, .show-for-small) .flickity-page-dots .dot { pointer-events: auto; width: 10px; height: 10px; margin: 0 5px; border: 0; background: var(--gac-xanh); opacity: .3; /* chấm trắng trên ảnh sáng: gần như không thấy */ }
.home .slider-wrapper:is(.hide-for-small, .show-for-small) .flickity-page-dots .dot.is-selected { background: var(--gac-do); opacity: 1; }

/* ============================================================
   C8. MUA HÀNG (Sếp 24/11) — hàng nút trang SP, bong bóng giỏ hàng nổi, ảnh bay vào giỏ, dòng báo
   ============================================================ */
/* Hàng nút: [– 1 +] [THÊM VÀO GIỎ HÀNG] [MUA NGAY] — cùng cao 48, khe 12, bo góc thương hiệu; điện thoại: số lượng + Thêm vào giỏ cùng hàng, Mua ngay hết hàng dưới */
.product-info form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--gac-k3); }
.product-info form.cart .quantity { margin: 0 !important; height: 48px; border: 1px solid var(--gac-vien); border-radius: var(--gac-bo-nho); overflow: hidden; background: #fff; }
.product-info form.cart .quantity input.minus, .product-info form.cart .quantity input.plus { width: 36px; height: 100% !important; margin: 0; padding: 0 !important; border: 0 !important; background: var(--gac-nen-nhat); color: var(--gac-xanh); font-size: var(--gac-c-lg); box-shadow: none; }
.product-info form.cart .quantity input.minus:hover, .product-info form.cart .quantity input.plus:hover { background: #e3e9f1; }
.product-info form.cart .quantity input.qty { height: 100% !important; margin: 0; border: 0 !important; box-shadow: none; font-size: var(--gac-c-md); font-weight: 700; color: var(--gac-chu); }
.product-info form.cart .single_add_to_cart_button, .product-info form.cart .gac-mua-ngay { flex: 1 1 auto; min-width: 0; height: 48px; min-height: 48px; margin: 0 !important; padding: 0 16px; border-radius: var(--gac-bo-nho); line-height: 48px; white-space: nowrap; font-size: var(--gac-c-md); font-weight: 600; letter-spacing: 0; text-transform: none; } /* nút lớn hệ thống 48 / 16 / 600, chữ thường (N06) */
.product-info form.cart .single_add_to_cart_button { border: 1px solid var(--gac-xanh); background: #fff; color: var(--gac-xanh); line-height: 44px; }
.product-info form.cart .single_add_to_cart_button:hover { background: var(--gac-xanh); color: #fff; }
.product-info form.cart .gac-mua-ngay { border: 0; background: var(--gac-do); color: #fff; box-shadow: 0 4px 14px rgba(218, 37, 28, .28); }
.product-info form.cart .gac-mua-ngay:hover { background: #b81d16; color: #fff; }
.product-info form.cart .single_add_to_cart_button.loading { opacity: .7; pointer-events: none; }
@media (max-width: 549px) {
	.product-info form.cart .gac-mua-ngay { flex-basis: 100%; order: 3; }
	.product-info form.cart .single_add_to_cart_button { min-width: 0; }
}

/* Bong bóng giỏ hàng: ngay TRÊN bong bóng Gọi, cùng cỡ + cùng khe 18px (Gọi: đáy 150px/54px máy tính · 76px/42px điện thoại). Ẩn khi giỏ trống. */
a.gac-gio-noi { position: fixed; z-index: 999; right: 20px; bottom: 222px; display: none; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gac-xanh); color: #fff; box-shadow: 0 0 0 6px rgba(1, 40, 105, .14); transition: transform .2s; } /* thẳng tâm cột nút Gọi/Zalo (đo: Gọi/Zalo x=1366–1420 ở 1440 → right 20); vòng sáng cùng kiểu 2 nút kia thay bóng đổ (Sếp 24/11: nhìn lệch, méo) */
a.gac-gio-noi.co-hang { display: flex; }
a.gac-gio-noi:hover { color: #fff; transform: scale(1.06); }
a.gac-gio-noi:focus-visible { outline: 3px solid var(--gac-do); outline-offset: 3px; }
.gac-gio-noi__dem { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border: 2px solid #fff; border-radius: 11px; background: var(--gac-do); color: #fff; font-size: var(--gac-c-xs); line-height: 18px; font-weight: 700; text-align: center; }
a.gac-gio-noi.nay { animation: gac-gio-nay .5s ease; }
@keyframes gac-gio-nay { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 65% { transform: scale(.92); } 100% { transform: scale(1); } }
@media (max-width: 849px) { a.gac-gio-noi { right: 12px; bottom: 136px; width: 42px; height: 42px; } a.gac-gio-noi svg { width: 22px; height: 22px; } }
.gac-gio-bay { position: fixed; z-index: 10000; object-fit: contain; background: #fff; box-shadow: 0 8px 24px rgba(1, 40, 105, .25); pointer-events: none; }
/* Dòng báo nhỏ cạnh bong bóng sau khi thêm (thay dòng báo tải lại trang) */
.gac-gio-tb { position: fixed; z-index: 1000; right: 76px; bottom: 228px; max-width: calc(100vw - 100px); padding: 10px 14px; border-radius: var(--gac-bo-nho); background: var(--gac-xanh); color: #fff; font-size: var(--gac-c-sm); line-height: 20px; box-shadow: 0 6px 18px rgba(1, 40, 105, .25); opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.gac-gio-tb.hien { opacity: 1; transform: none; pointer-events: auto; }
.gac-gio-tb a { margin-left: 6px; color: #fff; font-weight: 700; text-decoration: underline; }
@media (max-width: 849px) { .gac-gio-tb { right: 62px; bottom: 138px; } }
@media (prefers-reduced-motion: reduce) { a.gac-gio-noi.nay { animation: none; } .gac-gio-tb { transition: none; } }
/* Điện thoại: Giỏ hàng + Thanh toán ẩn bong bóng Gọi/Zalo — đứng trong dải ngang cột số tiền (đo 390px: nút x 336–378, Tạm tính/Tổng x 274–375 → che khi cuộn).
   Khách vẫn gọi được từ số ở đầu/chân trang. Giữ ở trang "Đặt hàng thành công". (F1, 25/11 — Sếp: việc tự làm được thì làm) */
@media (max-width: 849px) { body.woocommerce-cart .cta-box, body.woocommerce-checkout:not(.woocommerce-order-received) .cta-box { display: none; } }

/* Dòng báo Woo khi tải lại trang (Thêm vào giỏ không JS, lỗi kho…): trước tràn hết bề ngang màn (0→1440) và nút "Xem giỏ hàng" bị ẩn */
.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-notices-wrapper .woocommerce-error, .woocommerce-notices-wrapper .woocommerce-info,
.message-wrapper .woocommerce-message { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gac-k3); max-width: calc(min(var(--gac-khung), 100% - 2 * var(--gac-le-ngoai, 0px)) - 30px); margin: var(--gac-k4) auto; padding: var(--gac-k3) var(--gac-k4); border: 1px solid #b7e1c4; border-radius: var(--gac-bo-nho); color: var(--gac-chu); font-size: var(--gac-c-sm); }
.message-wrapper .woocommerce-message .button.wc-forward, .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward { display: inline-flex !important; order: 2; margin: 0 0 0 auto; min-height: 36px; padding: 0 14px; border-radius: var(--gac-bo-nho); background: var(--gac-xanh); color: #fff; font-size: var(--gac-c-sm); }
.woocommerce-notices-wrapper .woocommerce-error { border-color: #f3c2bf; background: #fdf0ef; }
.woocommerce-notices-wrapper .woocommerce-info { border-color: #c9d8ef; background: #f0f5fc; }

/* —— Giỏ hàng / Thanh toán (Sếp 24/11 "đơn giản, đẹp, theo style web") */
/* Ô số lượng trong giỏ: cùng kiểu trang SP (trước 2 khối navy hẹp 20px kẹp ô số) */
.woocommerce-cart-form .quantity { display: inline-flex; height: 40px; margin: 0; border: 1px solid var(--gac-vien); border-radius: var(--gac-bo-nho); overflow: hidden; background: #fff; }
.woocommerce-cart-form .quantity input.minus, .woocommerce-cart-form .quantity input.plus { width: 32px; height: 100% !important; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 0; background: var(--gac-nen-nhat) !important; color: var(--gac-xanh) !important; font-size: var(--gac-c-md); box-shadow: none; }
.woocommerce-cart-form .quantity input.minus:hover, .woocommerce-cart-form .quantity input.plus:hover { background: #e3e9f1 !important; }
.woocommerce-cart-form .quantity input.qty { width: 40px !important; height: 100% !important; margin: 0; border: 0 !important; box-shadow: none; font-weight: 700; }
.woocommerce-cart-form .product-name a { color: var(--gac-chu); font-weight: 500; }
.woocommerce-cart-form .product-name a:hover { color: var(--gac-do); }
/* Khung "Đơn hàng của bạn": viền đỏ dày 2px → thẻ trắng viền mảnh bo góc + bóng nhẹ như thẻ khác của web */
.woocommerce-checkout .col-inner.has-border, .woocommerce-checkout .checkout-sidebar .col-inner { border: 1px solid var(--gac-vien) !important; border-radius: var(--gac-bo); box-shadow: var(--gac-bong); }
/* Biểu mẫu 2 cột trên máy tính; điện thoại 1 cột */
.woocommerce-billing-fields__field-wrapper { display: flex !important; flex-wrap: wrap; justify-content: space-between; flex-direction: row !important; }
.woocommerce-billing-fields__field-wrapper::before, .woocommerce-billing-fields__field-wrapper::after { display: none !important; }
.woocommerce-billing-fields__field-wrapper > .form-row { width: 100%; float: none; order: 0 !important; } /* styles.css cũ xếp lại bằng order (SĐT 2, địa chỉ 3, email 4) — thứ tự nay do PHP (inc/woocommerce.php) */
.woocommerce-billing-fields__field-wrapper > .form-row-first, .woocommerce-billing-fields__field-wrapper > .form-row-last { width: calc(50% - 10px); margin-left: 0; margin-right: 0; }
@media (max-width: 549px) { .woocommerce-billing-fields__field-wrapper > .form-row-first, .woocommerce-billing-fields__field-wrapper > .form-row-last { width: 100%; } }
/* Ô tick "Lấy hoá đơn VAT" */
.gac-hd-chon { margin-top: var(--gac-k2); }
.gac-hd-chon label.checkbox { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; border: 1px solid var(--gac-vien); border-radius: var(--gac-bo-nho); background: var(--gac-nen-nhat); color: var(--gac-xanh); font-weight: 600; cursor: pointer; }
.gac-hd-chon label.checkbox input { width: 18px; height: 18px; margin: 0; accent-color: var(--gac-xanh); }
.gac-hd-chon .optional { display: none; }
.woocommerce-billing-fields__field-wrapper select, .woocommerce-billing-fields__field-wrapper .select2-container .select2-selection--single { height: 44px !important; min-height: 44px; border-radius: var(--gac-bo-nho); } /* bằng ô nhập 44px (trước 38–40) */
.woocommerce-cart a.gac-gio-noi, .woocommerce-checkout a.gac-gio-noi { display: none !important; } /* đang ở giỏ/thanh toán: bong bóng giỏ thừa, đè nút "Tiến hành thanh toán" trên điện thoại */

/* === GAC nút nổi 26/09/2026 — bắt đầu === */
/* Nút nổi Gọi / Zalo / Lên đầu trang (Sếp chốt 26/09/2026). (27/11/2026: chuyển từ Flatsome › Custom CSS vào đây.) */
/* Điện thoại + máy tính bảng dọc: 2 nút 42px, vòng toả 8px như máy tính (khe 18px để không chạm), biểu tượng
   theo đúng tỉ lệ máy tính và nằm giữa tâm; bỏ "Lên đầu trang" cho gọn. */
@media (max-width: 849px) {
	#top-link.back-to-top { display: none !important; }
	#supportButton-phone,
	#supportButton-zalo {
		right: 12px !important; left: auto !important; top: auto !important;
		width: 42px !important; height: 42px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
		display: flex !important; align-items: center; justify-content: center;
	}
	#supportButton-zalo { bottom: 16px !important; animation: gac-toa-zalo-8 2.2s infinite !important; }
	#supportButton-phone { bottom: 76px !important; animation: gac-toa-goi-8 2.2s infinite !important; }
	#supportButton-phone svg { width: 16px !important; height: 16px !important; margin: 0 !important; position: static !important; display: block !important; }
	#supportButton-zalo img { width: 33px !important; height: 33px !important; margin: 0 !important; position: static !important; display: block !important; }
	#supportOptions-phone { right: 64px !important; bottom: 76px !important; }
	#supportOptions-zalo { right: 64px !important; bottom: 16px !important; }
}
/* Máy tính: giữ cỡ nút, 3 nút chung trục giữa, cách đều 18px (vòng toả 8px không chạm nhau), cả cụm sát góc dưới phải. */
@media (min-width: 850px) {
	#supportButton-phone,
	#supportButton-zalo { right: 20px !important; left: auto !important; top: auto !important; margin: 0 !important; }
	#supportButton-zalo { bottom: 78px !important; animation: gac-toa-zalo-8 2.2s infinite !important; }
	#supportButton-phone { bottom: 150px !important; animation: gac-toa-goi-8 2.2s infinite !important; }
	#top-link.back-to-top {
		right: 27px !important; left: auto !important; top: auto !important; bottom: 20px !important;
		width: 40px !important; height: 40px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
		transform: none !important;
		display: flex !important; align-items: center; justify-content: center;
	}
	#supportButton-phone { display: flex !important; align-items: center; justify-content: center; padding: 0 !important; }
	#supportButton-phone svg { flex: none; width: 19px !important; height: 19px !important; margin: 0 !important; position: static !important; display: block !important; }
	/* Nét mũi tên trong phông biểu tượng lệch trái ~0,5px và thấp ~1px (đo điểm ảnh 26/09) → bù để nằm đúng tâm. */
	#top-link.back-to-top i { position: static !important; top: auto !important; margin: 0 !important; line-height: 1 !important; font-size: 18px !important; transform: translate(0.5px, -1px) !important; }
	#supportOptions-phone { right: 86px !important; bottom: 150px !important; }
	#supportOptions-zalo { right: 86px !important; bottom: 78px !important; }
}
@keyframes gac-toa-goi-8 { 0% { box-shadow: 0 0 0 0 rgba(36, 184, 0, .35); } 70%, 100% { box-shadow: 0 0 0 8px rgba(36, 184, 0, 0); } }
@keyframes gac-toa-zalo-8 { 0% { box-shadow: 0 0 0 0 rgba(22, 108, 233, .35); } 70%, 100% { box-shadow: 0 0 0 8px rgba(22, 108, 233, 0); } }
/* === GAC nút nổi 26/09/2026 — kết thúc === */

/* ============================================================
   C9. NỘI DUNG SOẠN THẢO — thang chữ chuẩn cho bài viết, tab SP, mô tả danh mục, trang chính sách (Sếp 27/11 "quy định dạng gõ tay về CSS chung").
   Chữ gốc 16px, các bậc ≈ ×1,25: đoạn 16/1,7 · H2 24 (ĐT 20) · H3 20 (ĐT 18) · H4 18 (ĐT 16) · bảng 14 · ghi chú 14. Tiêu đề navy, chữ thường màu chữ.
   Định dạng gõ tay (cỡ, phông, màu, đậm 400, canh đều) đã làm sạch trong dữ liệu + khi lưu (inc/dinh-dang.php); lớp chuẩn thay thế:
   .gac-nd-lon / .gac-nd-lon-2 (tiêu đề giả gõ tay 20–24 / ≥24px → dáng H3 / H2), .gac-nd-do (chữ đỏ nhấn mạnh), .gac-nd-nho (ghi chú nhỏ).
   ============================================================ */
:is(.single-post .entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .gac-trang-soan .page-wrapper .row-main > .col > .col-inner) :is(p, li) { font-size: var(--gac-c-md); line-height: 1.7; }
:is(.single-post .entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .gac-trang-soan .page-wrapper .row-main > .col > .col-inner) :is(td, th) :is(p, li) { font-size: inherit; line-height: inherit; } /* trong bảng theo cỡ bảng (14) */
:is(.single-post .entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .gac-trang-soan .page-wrapper .row-main > .col > .col-inner) h2 { font-size: var(--gac-c-2xl); line-height: 1.35; font-weight: 700; color: var(--gac-xanh); }
:is(.single-post .entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .gac-trang-soan .page-wrapper .row-main > .col > .col-inner) h3 { font-size: var(--gac-c-xl); line-height: 1.4; font-weight: 700; color: var(--gac-xanh); }
:is(.single-post .entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .gac-trang-soan .page-wrapper .row-main > .col > .col-inner) h4 { font-size: var(--gac-c-lg); line-height: 1.45; font-weight: 700; color: var(--gac-chu); }
:is(.single-post .entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .gac-trang-soan .page-wrapper .row-main > .col > .col-inner) :is(h5, h6) { font-size: var(--gac-c-md); line-height: 1.5; font-weight: 700; color: var(--gac-chu); }
:is(.single-post .entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .gac-trang-soan .page-wrapper .row-main > .col > .col-inner) :is(h2, h3, h4, h5, h6) :is(span, strong, b, em, a) { font-weight: inherit; } /* "font-weight:400" dán từ Docs từng làm tiêu đề mất đậm */
@media (max-width: 549px) { :is(.single-post .entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .gac-trang-soan .page-wrapper .row-main > .col > .col-inner) h4 { font-size: var(--gac-c-md); } }
.gac-nd-lon { font-size: var(--gac-c-xl); line-height: 1.4; font-weight: 700; color: var(--gac-xanh); }   /* tiêu đề giả 20–24px gõ tay → dáng H3 */
.gac-nd-lon-2 { font-size: var(--gac-c-2xl); line-height: 1.35; font-weight: 700; color: var(--gac-xanh); } /* tiêu đề giả ≥ 24px gõ tay → dáng H2 */
.gac-nd-do { color: var(--gac-do); }
.gac-nd-nho { font-size: var(--gac-c-sm); line-height: 1.6; color: var(--gac-chu-phu); }
.single-product .product-short-description :is(h2, h3, h4) { font-size: var(--gac-c-md); line-height: 1.5; font-weight: 700; color: var(--gac-xanh); }
.single-product .product-short-description :is(h2, h3, h4) * { font-size: inherit; } /* luật cũ styles.css ".product-short-description * {14px}" ép cả <b> trong tiêu đề */ /* mô tả ngắn cạnh ảnh SP: tiêu đề gọn 16 (trước H2 14 = chữ thường) */
div#ez-toc-container { padding: var(--gac-k4) var(--gac-k5); border: 1px solid var(--gac-vien); border-radius: var(--gac-bo-nho); background: var(--gac-nen-nhat); box-shadow: none; } /* khung Mục lục theo màu web (plugin: nền #f9f9f9 viền #aaa, góc vuông) */
div#ez-toc-container p.ez-toc-title { font-size: var(--gac-c-lg) !important; font-weight: 700; } /* p + div: thắng CSS nội tuyến "div#ez-toc-container .ez-toc-title {font-weight:500}" của plugin (in sau tệp này) — quét chồng/đè 27/11 */ /* Mục lục (Easy TOC): plugin in 120% / 95% (19,2 · 15,2 · 14,4px) qua CSS nội tuyến → thang 18 / 14 */
#ez-toc-container :is(li, li a) { font-size: var(--gac-c-sm) !important; line-height: 1.6; }
/* Lưới an toàn: cỡ / phông gõ tay còn sót (nội dung chưa qua bộ làm sạch) theo thang chung */
:is(.single-post .entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .gac-trang-soan .page-wrapper .row-main > .col > .col-inner) [style*="font-size"]:not(table, td, th) { font-size: inherit !important; }
:is(.single-post .entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .gac-trang-soan .page-wrapper .row-main > .col > .col-inner) [style*="font-family"] { font-family: inherit !important; }

/* ============================================================
   D1. TRANG CHỦ
   ============================================================ */
/* Danh mục thiết bị: [row class="gac-dm"] 5 × [ux_image_box class="gac-dm__the"] — thẻ nền #f7f8f9, vạch #0269b7, mép thẻ = mép thẻ menu */
.row.gac-dm { padding: 0 12px; }
.row.gac-dm > .col { padding: 0 3px 6px; }
.gac-dm__the { height: 100%; background: #f7f8f9; border-radius: var(--gac-bo-nho); overflow: hidden; } /* N07: thẻ bo 8 */
.gac-dm__the .box-image { border-bottom: 2px solid #0269b7; }
.gac-dm__the .box-image img { width: 100%; aspect-ratio: 276 / 272; object-fit: contain; padding: 7%; transition: transform .3s; }
.gac-dm__the:hover .box-image img { transform: scale(1.05); }
.gac-dm__the .box-text { padding: 0 12px; }
.gac-dm__the h3 { display: flex; align-items: center; justify-content: center; min-height: 124px; margin: 0; text-align: center; font-size: 18px; line-height: 24px; font-weight: 700; text-transform: uppercase; }
.gac-dm__the h3 a { color: var(--gac-xanh); }
.gac-dm__the:hover h3 a { color: var(--gac-do); }
/* Danh mục TRƯỢT (khách T11.2026 mục 5): [ux_slider class="gac-dm-truot"] 12 × [ux_image_box class="gac-dm__the"] — 4 ô / lần (máy tính bảng 3,
   ĐT ~2 + lộ mép thẻ kế để biết vuốt được). Thẻ rộng trọn khung như lưới cũ. Nút: kiểu chung C7; VỊ TRÍ (Sếp 27/11 "mũi tên nằm bên ngoài,
   không làm khối ngắn đi"): ≥1400px nằm hẳn NGOÀI 2 mép khối, cách mép thẻ 12px; 850–1399 lề chỉ 17–43px không đủ chỗ → cặp nút lên
   góc phải HÀNG TIÊU ĐỀ (không đè thẻ); ĐT ẩn nút (vuốt). Ảnh danh mục nền trắng hoà vào nền thẻ (multiply). */
.gac-dm-truot { max-width: min(var(--gac-khung), calc(100% - 2 * var(--gac-le-ngoai, 0px))); margin: 0 auto; padding: 0 15px; } /* mép thẻ = mép tiêu đề khối (đệm 15) */
.gac-dm-truot .flickity-slider > .gac-dm__the { width: calc(25% - 4.5px) !important; height: auto; margin: 0 6px 0 0; } /* 4 thẻ + 3 khe 6px = đúng bề ngang; khe sau thẻ cuối nằm ngoài khung */ /* !important: Flatsome ép ".flickity-slider > div:not(.col) {width:100% !important}"; height:100% (lưới cũ) → Flickity đo 0 */
.gac-dm-truot .flickity-viewport { overflow: hidden; }
.gac-dm-truot .gac-dm__the .box-image img { mix-blend-mode: multiply; }
@media (min-width: 1400px) {
	.gac-dm-truot > .slider.flickity-enabled > .flickity-prev-next-button.previous { left: -52px !important; right: auto !important; } /* nút 40 cách mép thẻ 12px (Sếp 27/11 "gần khối hơn") */
	.gac-dm-truot > .slider.flickity-enabled > .flickity-prev-next-button.next { right: -52px !important; left: auto !important; }
}
@media (min-width: 550px) and (max-width: 1399.98px) {
	.gac-dm-truot > .slider.flickity-enabled > .flickity-prev-next-button { top: -62px !important; transform: none !important; } /* giữa hàng tiêu đề (cao 28 + cách 28) */
	.gac-dm-truot > .slider.flickity-enabled > .flickity-prev-next-button.previous { right: 48px !important; left: auto !important; }
	.gac-dm-truot > .slider.flickity-enabled > .flickity-prev-next-button.next { right: 0 !important; left: auto !important; } /* mép nút = mép phải thẻ cuối */
}
@media (min-width: 550px) and (max-width: 849px) { .gac-dm-truot > .slider.flickity-enabled > .flickity-prev-next-button { top: -53px !important; } } /* tiêu đề ĐT/bảng: cao 26 + cách 20 */
@media (max-width: 1099px) { .gac-dm-truot .flickity-slider > .gac-dm__the { width: calc(33.333% - 4px) !important; } }
@media (max-width: 549px) {
	.gac-dm-truot .flickity-slider > .gac-dm__the { width: calc(45% - 6px) !important; } /* ~2 thẻ + lộ mép thẻ kế */
}
/* Về chúng tôi (trang chủ): [row class="gac-ve" style="collapse"] chữ + 3 số liệu | ảnh */
.row.gac-ve { background: #f5f7f9; }
.gac-ve__chu > .col-inner { padding: 36px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; height: 100%; }
.gac-ve__mo-ta p { margin: 0; color: var(--gac-chu); font-size: var(--gac-c-lg); line-height: 1.7; } /* đoạn dẫn: canh trái (PDF canh đều + giãn chữ → khe trắng, khó đọc trên điện thoại) */
.gac-ve__anh > .col-inner, .gac-ve__anh .img, .gac-ve__anh .img-inner { height: 100%; }
.gac-ve__anh img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
/* Ảnh trượt (khách T11.2026 mục 6): khung ảnh cao bằng cột chữ (máy tính), ĐT tỉ lệ 3:2 */
.gac-ve__truot, .gac-ve__truot > .slider, .gac-ve__truot .flickity-viewport { height: 100% !important; min-height: 280px; }
.gac-ve__truot .flickity-slider > .img { width: 100%; height: 100%; margin: 0; }
.gac-ve__truot .flickity-prev-next-button { display: none; } /* ảnh trượt: chỉ chấm + vuốt/kéo, như banner đầu trang (bỏ nút trắng trần mặc định Flatsome — lệch chuẩn nút web) */
.gac-ve__truot .flickity-page-dots { bottom: 12px; }
.gac-ve__truot .flickity-page-dots .dot { background: #fff; border-color: #fff; opacity: .6; }
.gac-ve__truot .flickity-page-dots .dot.is-selected { background: var(--gac-do); border-color: var(--gac-do); opacity: 1; }
@media (max-width: 849px) { .gac-ve__truot, .gac-ve__truot > .slider, .gac-ve__truot .flickity-viewport { height: auto !important; aspect-ratio: 3 / 2; } }
/* Dự án (trang chủ): [ux_products style="vertical" class="gac-du-an"] — Flatsome gắn lớp gac-du-an lên CHÍNH THẺ (.box), không lên hàng.
   Theo PDF: thẻ ngang ảnh 50% | khối chữ nền xám nhạt, chữ canh giữa dọc, tiêu đề đậm, mô tả xám 2 dòng, "Xem thêm" + nút tròn đỏ mũi tên. */
/* Thẻ SP cao đều THEO TỪNG HÀNG (Flatsome "equalize-box" ép mọi thẻ cao bằng thẻ cao nhất CẢ TRANG → thẻ tên 1 dòng trống ~100px dưới) */
.row.equalize-box > .product-small.col:not(:has(.gac-du-an)) > .col-inner { height: 100%; }
.row.equalize-box .product-small.box:not(.gac-du-an) { display: flex; flex-direction: column; height: 100%; }
.row.equalize-box .product-small.box:not(.gac-du-an) > .box-text { height: auto !important; flex: 1 1 auto; }
/* Flatsome "equalize" gán height lớn nhất cho MỌI .price-wrapper — đo bằng jQuery nên đo cả khối đang display:none (mô tả + Xem thêm của thẻ dự án, cao 89px)
   → thẻ dịch vụ có giá/"Liên hệ" cao vọt, kéo cả hàng trống ~110px (Sếp 25/11, /dich-vu-ky-thuat/). Thẻ đã cao đều nhờ flex ở trên; tiêu đề vẫn được cân → giá vẫn thẳng hàng. */
.row.equalize-box .price-wrapper { height: auto !important; }
/* … thẻ Flash Sale ([hotsale]: .col thường, không .product-small) trước được đều nhờ chính height đó → khung thẻ cao hết cột (cột đã đều do flex) */
.row.hotsale.equalize-box > .col > .col-inner { height: 100%; }
/* Ảnh SP trong lưới: ảnh không vuông (inc/woocommerce.php đổi sang cỡ không cắt) đặt TRỌN trong ô vuông, nền trắng; ảnh vuông không đổi */
.product-small:not(.gac-du-an) .box-image img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.product-small.box.gac-du-an { display: flex; height: 100%; border: 0; background: var(--gac-nen-nhat); }
.box.gac-du-an .box-image { flex: 0 0 50%; width: 50% !important; max-width: 50%; }
.box.gac-du-an .box-image img { width: 100%; height: 100%; min-height: 253px; object-fit: cover; }
.box.gac-du-an .box-text { display: flex; flex-direction: column; justify-content: center; width: auto; flex: 1; padding: var(--gac-k5) !important; }
.product-small.box.gac-du-an .box-text p.name.product-title.woocommerce-loop-product__title { margin: 0; }
.product-small.box.gac-du-an .box-text p.name.product-title.woocommerce-loop-product__title a { height: auto; color: var(--gac-chu); font-size: var(--gac-c-md); line-height: 22px; font-weight: 700; }
.product-small.box.gac-du-an .box-text p.name.product-title.woocommerce-loop-product__title a:hover { color: var(--gac-do); }
.box-text p.gac-du-an__mo-ta, .gac-du-an__mo-ta { margin: var(--gac-k2) 0 var(--gac-k4); color: var(--gac-chu-phu); font-size: var(--gac-c-sm); line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.box-text a.gac-xem-them, .gac-xem-them { display: flex; align-items: center; justify-content: space-between; color: var(--gac-chu-phu); font-size: var(--gac-c-sm); }
.gac-xem-them:hover { color: var(--gac-do); }
.gac-xem-them::after { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--gac-do) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m10 7 5 5-5 5'/%3E%3C/svg%3E") center / 14px no-repeat; }
/* Dịch vụ kỹ thuật: [section class="gac-dv-khung"] (nền xám) > [row class="gac-dv"] 5 × [ux_banner class="gac-dv__the"] */
.row.gac-dv > .col { padding-bottom: 0; }
.gac-dv__the { border-radius: 6px; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.gac-dv__the .banner-bg::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, rgba(23, 69, 214, 0) 0%, rgba(23, 69, 214, .88) 62%, rgba(18, 56, 196, .96) 100%); }
.gac-dv__the .text-box { padding: 0 14px 22px; }
.gac-dv__the .text p { margin: 0; color: #fff; font-size: 18px; line-height: 26px; text-align: left; }
/* 4 thẻ (Sếp 27/11 "font nhỏ hơn, đừng xuống hàng bất đồng bộ"): cỡ chữ co theo BỀ RỘNG THẺ để tên dài nhất "Sửa chữa máy móc công nghiệp"
   luôn 1 dòng (máy tính + máy tính bảng); điện thoại không đủ chỗ → mọi thẻ chừa sẵn 2 dòng, dòng đầu các tên thẳng hàng. */
.gac-dv--4 .gac-dv__the { container-type: inline-size; }
.gac-dv--4 .gac-dv__the .text p { font-size: clamp(13px, calc(6.1cqi - 2px), 18px); line-height: 1.4; white-space: nowrap; }
@media (max-width: 549px) {
	.gac-dv--4 .gac-dv__the .text p { font-size: var(--gac-c-sm); line-height: 20px; min-height: 40px; white-space: normal; text-wrap: balance; }
}
@media (max-width: 374px) { .gac-dv--4 .gac-dv__the .text p { font-size: 13px; } } /* 320: tên dài 14px gãy 3 dòng */
/* Tin tức & sự kiện: 2 [blog_posts] — 1 bài lớn | 3 bài nhỏ ảnh trái; 2 cột luôn bằng đáy */
/* Tin tức trang chủ: [row class="gac-tin"] 2 cột — trái [blog_posts class="gac-tin__lon"] 1 bài lớn, phải [blog_posts style="vertical" class="gac-tin__ds"] 3 bài.
   Lớp gac-tin__lon / gac-tin__ds nằm TRÊN hàng blog_posts. Cân bằng (Sếp 23/11): cột phải = LƯỚI 3 HÀNG BẰNG NHAU, tổng cao = đúng thẻ lớn bên trái;
   ảnh thẻ nhỏ lấp đầy chiều cao thẻ (trước nổi giữa, hở trên dưới), chữ canh giữa dọc.
   Sếp 27/11 "hình bài viết bị cắt mất nội dung": ảnh bài viết chuẩn 4:3 (800×600) — khung ảnh theo đúng 4:3 (bài lớn: image_height 75% trong
   UX Builder; thẻ nhỏ: bề ngang = chiều cao hàng × 4/3, tối đa 48% thẻ) thay vì 16:9 / 36% bề ngang (cắt mất chữ, logo trong ảnh). */
.row.gac-tin { align-items: stretch; }
.row.gac-tin > .col { padding-bottom: 0; }
.row.gac-tin > .col > .col-inner { height: 100%; }
.row.gac-tin__lon, .row.gac-tin__ds { height: 100%; margin: 0 !important; }
.row.gac-tin__lon::before, .row.gac-tin__lon::after, .row.gac-tin__ds::before, .row.gac-tin__ds::after { display: none; }
.row.gac-tin__lon > .col { flex: 1 1 100%; width: 100%; max-width: 100%; padding: 0; } /* KHÔNG để width auto: cột lấy bề ngang tự nhiên của ảnh → tràn đè cột phải (Sếp báo 23/11) */
.row.gac-tin__ds > .col { max-width: none; flex: none; width: auto; min-width: 0; padding: 0; }
.row.gac-tin > .col, .row.gac-tin > .col > .col-inner, .row.gac-tin__lon .box, .row.gac-tin__lon .box-image, .row.gac-tin__ds .box { min-width: 0; max-width: 100%; }
.row.gac-tin__lon .box-image img { width: 100%; }
.row.gac-tin__lon > .col, .row.gac-tin__lon .col-inner, .row.gac-tin__lon .box { height: 100%; }
.row.gac-tin__lon .box, .row.gac-tin__ds .box { border: 1px solid var(--gac-vien); border-radius: var(--gac-bo-nho); overflow: hidden; background: #fff; }
.row.gac-tin__lon .box { display: flex; flex-direction: column; }
.row.gac-tin__lon .box-image { width: 100%; flex: none; }
.row.gac-tin__lon .box-text { flex: 1 1 auto; padding: var(--gac-k5) !important; }
.row.gac-tin__ds { display: grid !important; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: var(--gac-k4); }
.row.gac-tin__ds .col-inner, .row.gac-tin__ds .box { height: 100%; }
.row.gac-tin__ds .box { display: flex; align-items: stretch; }
.row.gac-tin__ds .box-image { flex: 0 0 auto; width: auto !important; max-width: 48%; height: 100%; aspect-ratio: 4 / 3; } /* !important: Flatsome ghi width:33% inline-css theo image_width */
.row.gac-tin__ds .box-image .image-cover { height: 100%; padding-top: 0 !important; }
.row.gac-tin__ds .box-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.row.gac-tin__ds .box-text { display: flex; flex-direction: column; justify-content: center; flex: 1; width: auto; padding: var(--gac-k3) var(--gac-k5) !important; }
/* Máy tính bảng 550–1023: 2 cột quá hẹp — ảnh 4:3 cao theo hàng sẽ tràn quá nửa thẻ (đo: cắt 24–62%) → 1 cột: bài lớn trên, 3 bài dưới
   (ảnh 4:3 rộng 36% bên trái, chiều cao thẻ theo ảnh — không còn ép bằng thẻ lớn). */
@media (min-width: 550px) and (max-width: 1023px) {
	.row.gac-tin > .col { flex-basis: 100%; max-width: 100%; }
	.row.gac-tin > .col + .col { padding-top: var(--gac-k4); }
	.row.gac-tin__lon .box { flex-direction: row; } /* bài lớn cả bề ngang: ảnh 4:3 nửa trái + chữ (4:3 trọn bề ngang cao quá màn) */
	.row.gac-tin__lon .box-image { flex: 0 0 50%; width: 50% !important; }
	.row.gac-tin__lon .box-text { display: flex; flex-direction: column; justify-content: center; }
	.row.gac-tin__ds { grid-template-rows: none; }
	.row.gac-tin__ds .box-image { width: 36% !important; max-width: none; height: auto; }
	.row.gac-tin__ds .box-image .image-cover { height: auto; padding-top: 75% !important; }
}
/* Điện thoại (Sếp duyệt 27/11, đề xuất mục 5): 3 tin bên phải ẢNH TRÊN – CHỮ DƯỚI, ảnh 4:3 thấy trọn chữ trong ảnh banner
   (trước ô ảnh 36% cao theo tiêu đề 5 dòng → cắt mất chữ hai bên). Máy tính / máy tính bảng giữ lưới 3 hàng cân thẻ lớn (Sếp 23/11). */
@media (max-width: 549px) {
	.row.gac-tin__ds { grid-template-rows: none; }
	.row.gac-tin__ds .box { flex-direction: column; }
	.row.gac-tin__ds .box-image { flex: none; width: 100% !important; max-width: none; height: auto; aspect-ratio: auto; } /* !important: thắng width ở trên */
	.row.gac-tin__ds .box-image .image-cover { height: auto; padding-top: 75% !important; } /* 4:3 như ảnh bài viết; !important: thắng padding-top 0 !important ở trên */
	.row.gac-tin__ds .box-text { padding: var(--gac-k4) !important; }
	.row.gac-tin__lon .box-text { padding: var(--gac-k4) !important; } /* cùng lề chữ với 3 thẻ dưới (trước 24 vs 16 — mép chữ lệch 8px) */
}
.gac-tin .post-title { margin: 0 0 var(--gac-k2); color: var(--gac-chu); line-height: 22px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gac-tin .post-title a { color: inherit; }
.gac-tin .box:hover .post-title { color: var(--gac-do); }
.row.gac-tin__lon .post-title { line-height: 28px; }
.gac-tin .from_the_blog_excerpt { margin: 0 0 var(--gac-k2); color: var(--gac-chu-phu); font-size: var(--gac-c-sm); line-height: 20px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gac-tin .button.is-link { margin: 0; padding: 0; min-height: 0; line-height: 20px; color: var(--gac-do); font-weight: 600; text-transform: none; letter-spacing: 0; }
.gac-tin .is-divider { display: none; }
/* Nhà phân phối / đối tác (UX Block "Đối tác thương hiệu 2026"): 6 × [ux_image] thẻ logo bo góc */
.row.gac-doi-tac > .col { padding-bottom: 20px; }
.gac-doi-tac .img-inner { display: flex; align-items: center; justify-content: center; aspect-ratio: 200 / 134; padding: 18px; border: 1px solid #d8e0ee; border-radius: 14px; background: #f6f8fc; transition: box-shadow .2s, border-color .2s; }
.gac-doi-tac .img-inner img { max-width: 88%; max-height: 64%; width: auto; height: auto; object-fit: contain; }
.gac-doi-tac a:hover .img-inner { border-color: #b9c7de; box-shadow: var(--gac-bong); }
/* Khách hàng tiêu biểu: [ux_gallery type="slider" class="gac-khach-hang"] tự chạy */
.row.gac-khach-hang { margin: 0 auto 40px; }
/* Theo PDF: logo màu dàn đều trên nền trắng — không khung, không lớp phủ xám (overlay .15 của Flatsome), không chú thích.
   Logo đã cắt lề đều (job db-gd3-khach-hang.php) → cùng độ lớn thị giác: cao tối đa 64px, rộng tối đa trọn ô. */
.row.gac-khach-hang .gallery-box .overlay, .row.gac-khach-hang .gallery-box .box-text { display: none !important; }
.row.gac-khach-hang .gallery-box, .row.gac-khach-hang .gallery-box .box-image { background: none; border: 0; box-shadow: none; }
.row.gac-khach-hang .gallery-box .box-image { display: flex; align-items: center; justify-content: center; height: 88px; padding: 0 var(--gac-k3); }
.row.gac-khach-hang .gallery-box .box-image > div, .row.gac-khach-hang .gallery-box .box-image a { align-items: center; justify-content: center; width: 100%; height: 100%; }
.row.gac-khach-hang .gallery-box img { width: auto !important; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
/* Sếp 25/11: tự cuộn từng logo (2,5 s), rê chuột thì dừng, cầm chuột kéo được, KHÔNG mũi tên (tuỳ chọn Flickity đặt ở inc/ux-builder.php).
   Logo thẳng mép lưới (không còn rãnh 48px chừa cho nút); con trỏ "bàn tay" báo kéo được. */
.row.gac-khach-hang.slider.flickity-enabled .flickity-viewport { cursor: grab; }
.row.gac-khach-hang.slider.flickity-enabled .flickity-viewport.is-pointer-down { cursor: grabbing; }
/* NGAY HÀNG (Sếp 24/11): khối CÓ NỀN/VIỀN đặt thẳng trên .row (Cam kết, Về chúng tôi, Khuyến mãi sốc) rộng bằng cả hàng 1310 → mép thẻ
   tràn 15px so với mép nội dung các khối lưới (tiêu đề, danh mục, dự án, tin: 80→1360 ở 1440). Thu về đúng mép cột. */
@media (min-width: 850px) {
	.row.r_icon_border, .row.gac-ve, .sec_kms .row.row_sale, .row.gac-dv-tab { max-width: calc(min(var(--gac-khung), 100% - 2 * var(--gac-le-ngoai, 0px)) - 30px) !important; }
}
@media (max-width: 549px) { .row.gac-khach-hang .gallery-box .box-image { height: 64px; } .row.gac-khach-hang .gallery-box img { max-height: 44px; } }
/* ----- Máy tính bảng / điện thoại ----- */
@media (min-width: 1100px) {
	.row.gac-dm > .col, .row.gac-dv > .col { flex-basis: 20%; max-width: 20%; }
	.row.gac-dv.gac-dv--4 > .col { flex-basis: 25%; max-width: 25%; } /* khách T11.2026 mục 8: 4 dịch vụ */
}
@media (max-width: 1099px) {
	.row.gac-dm > .col, .row.gac-dv > .col { flex-basis: 33.333%; max-width: 33.333%; }
}
@media (min-width: 550px) and (max-width: 1099px) { .row.gac-dv.gac-dv--4 > .col { flex-basis: 50%; max-width: 50%; } } /* ≤549 là lưới 2×2 riêng (mục điện thoại) — luật này (0,4,0) từng đè, thẻ co còn 87px */
@media (max-width: 849px) {
	.gac-tieu-de { margin: var(--gac-khoi) auto 20px; }
	.gac-tieu-de h2 { font-size: 18px; line-height: 26px; padding-left: 16px; }
	.gac-tieu-de h2::before { width: 5px; }
	/* (25/11) bỏ flex-basis/max-width 50%: khối cam kết điện thoại đã là lưới 2×2 ở mục THÀNH PHẦN — luật này chỉ thua nhờ đứng trước, đổi thứ tự là vỡ */
	.row.gac-cam-ket > .col > .col-inner { padding: 12px; }
	.row.gac-cam-ket .icon-box-img .icon-inner img { width: 26px; height: 26px; } /* thắng .r_icon_border … img 24px nhờ độ ưu tiên (0,4,1) — không phụ thuộc thứ tự */
	.product-small.box.gac-du-an { flex-direction: column; }
	.box.gac-du-an .box-image { flex-basis: auto; width: 100% !important; max-width: none; }
	.box.gac-du-an .box-image img { min-height: 0; aspect-ratio: 4 / 3; }
	.box.gac-du-an .box-text { padding: var(--gac-k4) !important; }
}
@media (max-width: 549px) {
	.gac-dm__the h3 { min-height: 72px; font-size: 14px; line-height: 20px; }
	.gac-ve__chu > .col-inner { padding: 22px 16px; }
	.gac-ve__mo-ta p { font-size: var(--gac-c-md); line-height: 1.75; }
	.gac-dv__the .text p { font-size: var(--gac-c-sm); line-height: 20px; }
}
/* Khuyến mãi sốc — ĐIỆN THOẠI (Sếp 24/11 "ngay hàng thẳng lối"): khung viền đỏ chạm sát 2 mép màn (0→390) trong khi mọi khối khác cách 15px;
   ô slide còn đệm 15px + cột 10px → thẻ SP lùi 46→344; Flatsome ẩn nút slider ≤549px nhưng vẫn chừa 60px trống đáy khung → hiện lại cặp nút (khách
   biết còn trang sau, không chỉ dựa vào vuốt). */
@media (max-width: 549px) {
	.sec_kms .row.row_sale { width: auto; margin: 0 15px; }
	.sec_kms .row_sale .col.show-for-small, .sec_kms .slide_kms .flickity-slider > .row > .col { padding: 0 !important; } /* 3 lớp cột lồng nhau mỗi lớp đệm 10–15px */
	.sec_kms .slide_kms .flickity-slider > .row > .col .row { margin: 0 -5px; width: auto; }
	.sec_kms .slide_kms .flickity-slider .product-small.col { padding: 0 5px 10px; }
	.sec_kms .slider-wrapper.slide_kms .flickity-prev-next-button { display: block; }
	.sec_kms .slide_kms .box-text-products { text-align: left; } /* giá canh giữa còn tên canh trái → 2 trục lệch trong 1 thẻ */
}
/* Khối "Khuyến mãi sốc" (block 13881): hàng con lồng trong cột không đệm → lề âm làm tràn 4px mỗi bên khi màn hẹp hơn khung (lỗi có sẵn; đo 23/11 ở 390–1280) */
@media (max-width: 1339.98px) {
	.sec_kms .row_sale .row { margin-left: 0; margin-right: 0; }
}
/* —— KHUYẾN MÃI SỐC — cặp nút trượt DƯỚI lưới, canh giữa (trước đè lên viền đỏ, ở 1024 tràn khỏi màn; đặt giữa slider thì che tên/giá thẻ) =====
   Tròn trắng 40px viền mảnh, rê chuột đỏ. */
.sec_kms .slide_kms .slider.flickity-enabled { padding-bottom: 60px; } /* chỗ cho cặp nút dưới lưới */
.sec_kms .slide_kms .flickity-prev-next-button,
.sec_kms .row_sale .slide_kms .previous, .sec_kms .row_sale .slide_kms .next {
	top: auto !important; bottom: 8px; width: 40px; height: 40px !important; margin: 0; padding: 11px; border-radius: 50%; background: #fff; color: var(--gac-xanh);
	border: 1px solid var(--gac-vien); box-shadow: none; opacity: 1; transform: none !important; transition: background .2s, color .2s, border-color .2s;
}
.sec_kms .slide_kms .flickity-prev-next-button.previous { left: calc(50% - 48px) !important; right: auto !important; }
.sec_kms .slide_kms .flickity-prev-next-button.next { right: calc(50% - 48px) !important; left: auto !important; }
.sec_kms .row_sale .slide_kms .slider .flickity-prev-next-button svg { position: absolute !important; left: 50% !important; top: 50% !important; width: 18px !important; height: 18px !important; margin: 0; padding: 0; transform: translate(-50%, -50%); background: none; border: 0 !important; border-radius: 0; box-shadow: none; } /* chính giữa nút; bỏ vòng tròn xám của slider-nav-circle + luật cũ style.css */
.sec_kms .slide_kms .flickity-prev-next-button path { fill: currentColor; }
.sec_kms .slide_kms .flickity-prev-next-button:hover { background: var(--gac-do); border-color: var(--gac-do); color: #fff; }
/* —— DỰ ÁN (Trang chủ) — slider [ux_slider class="gac-du-an-truot"] nhiều trang 2×2 theo PDF:
   thanh tiến trình (chấm Flickity = các đoạn bằng nhau, đoạn đang xem đỏ) + cặp mũi tên nhỏ góc phải dưới */
.gac-du-an-truot .slider.flickity-enabled { padding-bottom: 48px; }
.gac-du-an-truot .flickity-page-dots { position: absolute; left: 0; right: 88px; bottom: 18px; display: flex; gap: 0; margin: 0; padding: 0; line-height: 0; }
.gac-du-an-truot .flickity-page-dots .dot { flex: 1 1 0; height: 3px; margin: 0; border: 0; border-radius: 0; background: var(--gac-vien); opacity: 1; }
.gac-du-an-truot .flickity-page-dots .dot.is-selected { background: var(--gac-do); }
.gac-du-an-truot .flickity-prev-next-button { top: auto !important; bottom: 4px; width: 32px; height: 32px; margin: 0; padding: 8px; transform: none !important;  border-radius: 50%; background: transparent; color: var(--gac-do); opacity: 1 !important; visibility: visible !important; }
.gac-du-an-truot .flickity-prev-next-button.previous { left: auto !important; right: 40px !important; }
.gac-du-an-truot .flickity-prev-next-button.next { left: auto !important; right: 0 !important; } /* luật left của Flatsome đẩy nút ra ngoài mép slider */
.gac-du-an-truot .slider .flickity-prev-next-button svg { position: absolute !important; left: 50% !important; top: 50% !important; width: 16px !important; height: 16px !important; margin: 0; padding: 0; transform: translate(-50%, -50%); background: none; border: 0; border-radius: 0; }
.gac-du-an-truot .flickity-prev-next-button path { fill: currentColor; }
.gac-du-an-truot .flickity-prev-next-button:hover { background: var(--gac-nen-nhat); }
.gac-du-an-truot .flickity-prev-next-button:disabled { opacity: .3 !important; cursor: default; } /* trang đầu/cuối: nút mờ thay vì biến mất (cặp nút luôn đủ 2) */
.gac-du-an-truot .flickity-slider > .row { width: 100%; max-width: none !important; margin: 0; padding: 0 !important; } /* luật khung chung (.row không nằm trong .col → trừ lề 2×17px) trúng cả hàng TRONG slider → hàng hụt 34px, thẻ lệch 95→1311 so với lưới 80→1360 (đo 24/11) */
.gac-du-an-truot .flickity-slider > .row > .col { padding: 0 0 20px; }
@media (min-width: 850px) { .gac-du-an-truot .flickity-slider > .row.large-columns-2 > .col:nth-child(odd) { padding-right: 10px; } .gac-du-an-truot .flickity-slider > .row.large-columns-2 > .col:nth-child(even) { padding-left: 10px; } }
.slider-wrapper.gac-du-an-truot { max-width: min(var(--gac-khung), calc(100% - 2 * var(--gac-le-ngoai, 0px))); margin: 0 auto -4px; padding: 0 15px; } /* đáy -4: nhịp dọc N03 (thanh tiến trình có lề dưới riêng) */ /* phần tử đứng ngoài container → giữ đúng lưới 1310 như tiêu đề khối */
.sec_kms .row_sale .slide_kms .slider .flickity-prev-next-button { color: var(--gac-xanh); }
.sec_kms .row_sale .slide_kms .slider .flickity-prev-next-button:hover { color: #fff !important; }
.sec_kms .row_sale .slide_kms .slider .flickity-prev-next-button svg path { fill: currentColor; }
/* —— ĐIỆN THOẠI: lưới 2 cột cân đối (Danh mục thiết bị, Dịch vụ kỹ thuật) — khe đều 12px hai chiều, thẻ lẻ cuối canh giữa
   (trước: khe dọc 0 / khe ngang ~30px, thẻ thứ 5 lệch trái) */
@media (max-width: 549px) {
	.row.gac-dm, .row.gac-dv { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 15px; margin: 0 !important; width: auto; max-width: none; }
	.row.gac-dm::before, .row.gac-dm::after, .row.gac-dv::before, .row.gac-dv::after { display: none; }
	.row.gac-dm > .col, .row.gac-dv > .col { max-width: none; flex: none; width: auto; padding: 0; }
	.row.gac-dm > .col:last-child:nth-child(odd), .row.gac-dv > .col:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
	.gac-du-an-truot .flickity-page-dots { right: 0; } /* không có mũi tên trên điện thoại → thanh tiến trình hết bề ngang */
}

/* Khối Dịch vụ kỹ thuật (N10, Sếp duyệt 24/11): tiêu đề nằm trên nền trắng còn dải xám bắt đầu dưới tiêu đề, thẻ cách mép dải 12px
   → kéo dải xám lên bao cả tiêu đề (nền tràn 2 bên bằng box-shadow + clip-path), dải đệm 48 trên / 48 dưới */
.gac-tieu-de:has(+ .gac-dv-khung) { margin-bottom: 0; padding-top: var(--gac-k7); padding-bottom: 28px; background: #f4f4f4; box-shadow: 0 0 0 100vmax #f4f4f4; clip-path: inset(0 -100vmax); }
.section.gac-dv-khung { padding-top: 0 !important; padding-bottom: var(--gac-k7) !important; }
@media (max-width: 849px) { .gac-tieu-de:has(+ .gac-dv-khung) { padding-top: var(--gac-k6); padding-bottom: 20px; } .section.gac-dv-khung { padding-bottom: var(--gac-k6) !important; } }

/* ============================================================
   D2. GIỚI THIỆU
   ============================================================ */
/* —— GIỚI THIỆU 2026 */
.gac-gt-banner { background-color: #0a3a8c !important; }
.gac-gt-banner .section-bg { background-size: auto 100%; background-position: right center; background-repeat: no-repeat; } /* Flatsome in ảnh nền Section bằng background-image: giữ trọn toà nhà bên phải */
.gac-gt-banner .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0a3a8c 0%, #0a3a8c 36%, rgba(10, 58, 140, .55) 46%, rgba(10, 58, 140, 0) 62%); }
.gac-gt-banner .text { color: #fff; }
.gac-gt-banner .gac-duong { margin: 0 0 22px; font-size: var(--gac-c-sm); }
.gac-gt-banner .gac-duong a { color: #fff; }
.gac-gt-banner h1 { margin: 0; color: #fff; font-size: var(--gac-c-5xl); line-height: 1.05; font-weight: 800; text-transform: uppercase; }
.gac-gt-banner h1 span { display: block; margin-top: 8px; font-size: var(--gac-c-3xl); line-height: 1.2; }
.gac-gt-banner__mo-ta { margin: 22px 0 0; font-size: var(--gac-c-xl); line-height: 1.5; }
.gac-gt-ve__ten { margin: 0 0 18px; color: var(--gac-xanh); font-size: var(--gac-c-4xl); line-height: 1.25; font-weight: 800; text-transform: uppercase; }
.gac-gt-ve__chu p:not(.gac-gt-ve__ten) { color: var(--gac-chu); font-size: var(--gac-c-lg); line-height: 1.7; }
.gac-gt-ve .img-inner img { border-radius: 4px; }
.row.gac-so-vong { margin-top: 24px; }
.gac-so-vong__so { position: relative; display: flex; align-items: center; justify-content: center; width: min(200px, 100%); aspect-ratio: 1; margin: 0 auto 30px; border-radius: 50%; color: #fff; font-weight: 800; line-height: 1; letter-spacing: -.5px;
	background: radial-gradient(circle closest-side, #e60012 0 59%, #f3b9bd 60% 70%, #fbe3e4 71% 99%, transparent 100%); font-size: var(--gac-c-2xl); /* 19,8 trên điện thoại */ } /* co theo cột: vòng màu tính theo % bán kính */
.gac-so-vong__so::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gac-do); border-color: transparent transparent var(--gac-do) var(--gac-do); transform: rotate(10deg); animation: gac-xoay-cung 14s linear infinite; animation-play-state: paused; will-change: transform; }
.gac-so-vong__so sup { font-size: max(var(--gac-c-xs), .5em); top: -.8em; margin-left: 2px; } /* tối thiểu 12px: điện thoại .5em = 9px gần như không thấy dấu + */
.gac-so-vong__nhan { margin: 0; text-align: center; color: var(--gac-xanh); font-size: 16px; font-weight: 700; text-transform: uppercase; }
.gac-nut-vien.button { margin: 8px 0 0; border: 1px solid var(--gac-xanh); background: #fff; color: var(--gac-xanh); } /* N06: nút phụ hệ thống (trước viền đỏ 2px góc vuông) */
.gac-nut-vien.button:hover { background: var(--gac-xanh) !important; color: #fff !important; }
.gac-gt-sm .img-inner img { width: 100%; border-radius: 4px; }
.gac-gt-sm__ten p { margin: 10px 0 0; color: #5b6475; font-size: 14px; }
.gac-gt-sm__ten strong { color: var(--gac-xanh); }
.gac-gt-sm__khoi { padding: 28px 0 28px 16px; }
.gac-gt-sm__khoi + .gac-gt-sm__khoi { border-top: 2px solid #dfe3ea; }
.gac-gt-sm__khoi h3 { margin: 0 0 18px; color: var(--gac-xanh); font-size: 18px; font-weight: 700; text-transform: uppercase; }
.gac-gt-sm__khoi p { color: var(--gac-chu); font-size: var(--gac-c-md); line-height: 1.75; }
.gac-gt-sm__khoi > :last-child { margin-bottom: 0; } /* vạch kẻ giữa Sứ mệnh / Tầm nhìn cách chữ đều 2 phía (đệm 28) */
.gac-gt-video .img { position: relative; }
.gac-gt-video .img-inner img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.gac-gt-video a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(0, 0, 0, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 26px no-repeat; border: 2px solid #fff; transition: background-color .2s; }
.gac-gt-video a:hover::after { background-color: var(--gac-do); }
.gac-gt-nn > .col > .col-inner { height: 100%; border: 1px solid var(--gac-vien); border-radius: var(--gac-bo-nho); overflow: hidden; background: #fff; }
.gac-gt-nn .img-inner img { width: 100%; aspect-ratio: 1000 / 563; object-fit: cover; }
.gac-gt-nn .text { padding: 16px 20px; }
.gac-gt-nn .text p { margin: 0; color: var(--gac-chu); font-size: var(--gac-c-md); line-height: 1.7; }
.gac-gt-cc { margin: 0 auto; }
.gac-gt-cc .gallery-box img { object-fit: contain !important; background: #fff; }
/* Hành trình phát triển (PDF): nền xám rất nhạt (bg_color của Section) + dải 5 mốc / khung = vòng tròn viền đỏ 70px, biểu tượng navy,
   đường đỏ nối mép vòng; năm đỏ đậm; mô tả 14px giữa. Dải cuộn ngang khi nhiều mốc hơn chỗ (scroll-snap); nút trước / sau do gac.js thêm. */
.gac-gt-ht-vo { position: relative; max-width: calc(min(var(--gac-khung), 100% - 2 * var(--gac-le-ngoai, 0px)) - 30px); margin: 0 auto; padding: 0 44px; } /* mép nút = mép lưới (như .row.gac-ve) */
.row.gac-gt-ht { flex-wrap: nowrap; width: 100%; max-width: none; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.row.gac-gt-ht::-webkit-scrollbar { display: none; }
.row.gac-gt-ht > .col { position: relative; flex: 0 0 20%; max-width: 20%; padding: 0 12px; scroll-snap-align: start; }
.row.gac-gt-ht > .col:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: calc(50% + 35px); width: calc(100% - 70px); height: 2px; background: var(--gac-do); }
.gac-gt-ht .text { text-align: center; }
.gac-gt-ht .gac-gt-ht__icon { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; margin: 0 auto 16px; border: 2px solid var(--gac-do); border-radius: 50%; background: #fff; color: var(--gac-xanh); }
.gac-gt-ht__icon svg { display: block; width: 26px; height: 26px; fill: currentColor; }
.gac-gt-ht .gac-gt-ht__nam { margin: 0 0 6px; color: var(--gac-do); font-size: var(--gac-c-xl); font-weight: 800; line-height: 1.3; }
.gac-gt-ht .text p:not([class]) { margin: 0; color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 1.55; }
.gac-gt-ht__nut.button, .gac-gt-ht__nut { position: absolute; top: 19px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--gac-xanh); color: #fff; box-shadow: none; cursor: pointer; }
.gac-gt-ht__nut::before { content: ""; position: absolute; inset: -6px; } /* vùng chạm 44px */
.gac-gt-ht__nut--truoc { left: 0; }
.gac-gt-ht__nut--sau { right: 0; }
.gac-gt-ht__nut svg { width: 14px; height: 14px; fill: currentColor; }
.gac-gt-ht__nut:disabled { opacity: .3; cursor: default; }
.gac-gt-ht-vo--khong-cuon { padding: 0; } .gac-gt-ht-vo--khong-cuon .gac-gt-ht__nut { display: none; } /* đủ chỗ hiện hết mốc → ẩn nút (Sếp 25/11), mốc dàn đủ lưới */
/* 3 thẻ năng lực (dưới dải mốc, chung nền): ảnh bo 12px tỉ lệ PDF, tiêu đề đỏ in hoa giữa, mô tả giữa */
.row.gac-gt-nl { align-items: flex-start; margin-top: var(--gac-k7); } /* tiêu đề 2 dòng ở khổ hẹp không đẩy lệch ảnh */
.gac-gt-nl > .col { padding-bottom: 0; }
.gac-gt-nl .img-inner img { width: 100%; aspect-ratio: 812 / 452; object-fit: cover; border-radius: var(--gac-bo); }
.gac-gt-nl .text { text-align: center; }
.gac-gt-nl h3 { margin: var(--gac-k5) 0 var(--gac-k3); color: var(--gac-do); font-size: var(--gac-c-xl); font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.gac-gt-nl .text p { margin: 0; color: var(--gac-chu); font-size: var(--gac-c-md); line-height: 1.75; }
.page-template-page-gt .mfp-container { padding: 0; }
/* Sứ mệnh & Tầm nhìn: 2 khối chữ ngắn cạnh ảnh cao 540px → canh giữa theo ảnh (PDF) */
@media (min-width: 850px) { .row.gac-gt-sm { align-items: center; } }
/* Khối logo đối tác là khối cuối trang → chạm chân trang (cách 20px); chừa đúng khoảng giữa các khối */
.page-template-page-gt .content-area { padding-bottom: var(--gac-k5); }
/* Popup "Xem Profile" (sách lật dFlip): bỏ viền trắng 20px bao quanh khung xám (2 lớp khung) → 1 khung bo góc; cách mép màn 16px trên máy nhỏ */
#pdf_flip.lightbox-content { width: calc(100% - 32px); padding: 0 !important; border-radius: var(--gac-bo); overflow: hidden; }
/* Số liệu vòng tròn (Giới thiệu): vòng cung đỏ XOAY CHẬM khi khối đang trong màn hình (JS gắn .dang-hien, assets/js/gac.js);
   người dùng bật "giảm chuyển động" → đứng yên. */
@keyframes gac-xoay-cung { from { transform: rotate(10deg); } to { transform: rotate(370deg); } }
.gac-so-vong__so.dang-hien::before { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .gac-so-vong__so::before { animation: none; } }
/* Bất đối xứng (Sếp 23/11): mỗi vòng tốc độ / góc xuất phát / chiều quay khác nhau → không bao giờ chạy cùng nhịp */
.row.gac-so-vong > .col:nth-child(4n+1) .gac-so-vong__so::before { animation-duration: 14s; animation-delay: -2s; }
.row.gac-so-vong > .col:nth-child(4n+2) .gac-so-vong__so::before { animation-duration: 19s; animation-delay: -11s; animation-direction: reverse; }
.row.gac-so-vong > .col:nth-child(4n+3) .gac-so-vong__so::before { animation-duration: 11s; animation-delay: -6s; }
.row.gac-so-vong > .col:nth-child(4n+4) .gac-so-vong__so::before { animation-duration: 23s; animation-delay: -17s; animation-direction: reverse; }
@media (max-width: 849px) {
	.gac-gt-banner .section-bg { background-size: cover !important; }
	.gac-gt-banner .section-bg::after { background: linear-gradient(90deg, rgba(10, 58, 140, .92) 0%, rgba(10, 58, 140, .75) 60%, rgba(10, 58, 140, .35) 100%); }
	.gac-gt-sm__khoi { padding-left: 0; }
	.row.gac-gt-ht > .col { flex-basis: 33.333%; max-width: 33.333%; } /* thua ở <550 (luật 50% bên dưới) nhưng THẮNG ở 550–849: giữ */
	.row.gac-gt-nl { margin-top: var(--gac-k6); }
}
@media (max-width: 549px) {
	.row.gac-gt-ht > .col { flex-basis: 50%; max-width: 50%; padding: 0 6px; }
	.gac-gt-ht-vo { padding: 0 36px; }
	.gac-gt-nl > .col + .col { padding-top: var(--gac-k6); } /* thẻ xếp chồng */
	.gac-gt-ve__chu p:not(.gac-gt-ve__ten) { font-size: var(--gac-c-md); line-height: 1.75; }
}

/* ============================================================
   D3. DỊCH VỤ (danh mục cây Dịch vụ kỹ thuật)
   ============================================================ */
/* —— TRANG DỊCH VỤ (danh mục cây "Dịch vụ kỹ thuật", inc/dich-vu.php): UX Block "Banner Dịch vụ 2026" = [section class="gac-dv-banner"] + [row class="gac-dv-tab"] */
.gac-dv-banner .section-bg { background-size: auto 100%; background-position: right center; background-repeat: no-repeat; }
.gac-dv-banner .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #eef3f8 0%, #f2f6fa 34%, rgba(242, 246, 250, .55) 46%, rgba(242, 246, 250, 0) 58%); }
.gac-dv-banner .section-content { display: flex; align-items: center; min-height: inherit; }
.gac-dv-banner .section-content > .row { width: 100%; }
.gac-dv-banner__tieu-de { position: relative; margin: 0; padding-top: 22px; color: #d61f26; font-size: var(--gac-c-5xl); line-height: 1.1; font-weight: 800; text-transform: uppercase; }
.gac-dv-banner__tieu-de::before { content: ""; position: absolute; left: 0; top: 0; width: 54px; height: 4px; background: var(--gac-do); }
.gac-dv-banner__mo-ta { margin: 18px 0 0; color: var(--gac-xanh); font-size: var(--gac-c-xl); line-height: 1.45; font-weight: 600; }
@media (max-width: 849px) { .gac-dv-banner__mo-ta { text-wrap: balance; } } /* điện thoại: <br> cứng (nội dung khối, không có dấu cách → không ẩn được) làm chữ "hóa" lẻ 1 dòng (390px) → chia đều dòng */
.row.gac-dv-tab { position: relative; z-index: 2; max-width: min(var(--gac-khung), calc(100% - 2 * var(--gac-le-ngoai, 0px))); margin: -64px auto 32px !important; padding: 14px; background: #fff; border-radius: 12px; box-shadow: 0 8px 28px rgba(1, 40, 105, .12); }
.row.gac-dv-tab > .col { padding: 0; }
.row.gac-dv-tab > .col + .col::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: #dde3ea; }
.gac-dv-tab__muc { position: relative; height: 100%; min-height: 110px; padding: 0 24px; border-radius: var(--gac-bo-nho); display: flex; align-items: center; transition: background .2s; }
.gac-dv-tab__muc .icon-box-img { width: 40px !important; margin-right: 20px; } /* PDF: biểu tượng navy 40–44px */
.gac-dv-tab__muc .icon-box-img svg { display: block; width: 100%; height: auto; aspect-ratio: 1; padding-top: 0; fill: var(--gac-xanh); color: var(--gac-xanh); } /* khối + bỏ padding .2em Flatsome: hộp biểu tượng = đúng cỡ hình → canh giữa với chữ (25/11 lệch 4–9px); cỡ theo hộp 40 / 28 điện thoại (trước svg 40 tràn hộp 28) */ /* SVG nhúng: Flatsome ép fill = màu chữ (đen) */
.gac-dv--sua-chua-thiet-bi .gac-dv-tab--sua-chua-thiet-bi svg, .gac-dv--sua-chua-may-moc-cong-nghiep .gac-dv-tab--sua-chua-may-moc-cong-nghiep svg, .gac-dv--thiet-ke-thi-cong-tu-dien .gac-dv-tab--thiet-ke-thi-cong-tu-dien svg { fill: #fff; color: #fff; }
.gac-dv-tab__muc .icon-box-text p { margin: 0; color: var(--gac-xanh); font-size: var(--gac-c-xl); line-height: 1.35; font-weight: 600; text-wrap: balance; } /* PDF ~22px đậm vừa, tự cân dòng */
.gac-dv-tab__muc:hover { background: #f3f6fa; }
.gac-dv--sua-chua-thiet-bi .gac-dv-tab--sua-chua-thiet-bi,
.gac-dv--sua-chua-may-moc-cong-nghiep .gac-dv-tab--sua-chua-may-moc-cong-nghiep,
.gac-dv--thiet-ke-thi-cong-tu-dien .gac-dv-tab--thiet-ke-thi-cong-tu-dien { background: linear-gradient(180deg, #1f5fd8 0%, #0e3fae 100%); box-shadow: 0 6px 16px rgba(14, 63, 174, .35); }
.gac-dv--sua-chua-thiet-bi .gac-dv-tab--sua-chua-thiet-bi::after,
.gac-dv--sua-chua-may-moc-cong-nghiep .gac-dv-tab--sua-chua-may-moc-cong-nghiep::after,
.gac-dv--thiet-ke-thi-cong-tu-dien .gac-dv-tab--thiet-ke-thi-cong-tu-dien::after { content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -10px; border: 10px solid transparent; border-bottom: 0; border-top-color: #0e3fae; }
.gac-dv--sua-chua-thiet-bi .gac-dv-tab--sua-chua-thiet-bi p,
.gac-dv--sua-chua-may-moc-cong-nghiep .gac-dv-tab--sua-chua-may-moc-cong-nghiep p,
.gac-dv--thiet-ke-thi-cong-tu-dien .gac-dv-tab--thiet-ke-thi-cong-tu-dien p { color: #fff; }
/* Theo thiết kế: trang Dịch vụ không có đường dẫn, đoạn mô tả đầu, thanh lọc/sắp xếp, hàng cam kết cuối (mô tả SEO cuối trang vẫn giữ) */
.gac-dv .shop-page-title, .gac-dv .rank-math-breadcrumb:not(.gac-dv-banner__bc *), .gac-dv .woocommerce-breadcrumb, .gac-dv .mota_top, .gac-dv .custom_fitler { display: none !important; }
.gac-dv .row.r_icon_border { display: none !important; } /* trang Dịch vụ không có hàng cam kết (PDF) — mọi khổ; (0,3,0) thắng luật lưới 2×2 điện thoại .row.r_icon_border. Sếp duyệt 25/11 */
.gac-dv .category-page-row, .gac-dv .gac-dau-trang + main > .category-page-row:first-child { padding-top: 8px; } /* trang Dịch vụ: tiêu đề nằm trong banner, khối 4 ô ngay trên — giữ 8px (không theo quy tắc 24px dưới H1) */
.gac-dv-trong { max-width: 860px; margin: 0 0 var(--gac-k7); font-size: var(--gac-c-md); line-height: var(--gac-dong); color: var(--gac-chu); } /* 26/11: tab Dịch vụ chưa có nội dung → mô tả danh mục */
.gac-dv-trong p:last-child { margin-bottom: 0; }
@media (max-width: 849px) {
	.gac-dv-banner .section-bg { background-size: cover !important; }
	.gac-dv-banner .section-bg::after { background: rgba(242, 246, 250, .8); }
	.row.gac-dv-tab { width: auto; margin: -20px 15px 16px !important; padding: 6px; }
	.row.gac-dv-tab > .col + .col::before { display: none; }
	.gac-dv-tab__muc { min-height: 58px; padding: 0 10px; }
	.gac-dv-tab__muc .icon-box-img { width: 28px !important; margin-right: 8px !important; }
	.gac-dv-tab__muc .icon-box-text p { font-size: 14px; }
}

/* Đường dẫn trong banner Dịch vụ (N15, inc/dich-vu.php) — cùng kiểu breadcrumb toàn site, cách vạch đỏ tiêu đề 14px */
.gac-dv-banner__bc { margin: 0 0 14px; }

/* ============================================================
   D4. DỰ ÁN
   ============================================================ */
/* —— TRANG DỰ ÁN (page-du-an.php, inc/du-an.php) */
/* Banner Dự án: [section class="gac-da-banner"] (UX Builder) — ảnh nền neo phải, phủ sáng dần sang trái; chữ navy */
.gac-da-banner .section-bg { background-size: auto 100%; background-position: right center; background-repeat: no-repeat; }
.gac-da-banner .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #e9eff6 0%, #eef3f8 40%, rgba(238, 243, 248, .6) 50%, rgba(238, 243, 248, 0) 62%); }
.gac-da-banner .section-content { display: flex; align-items: center; min-height: inherit; }
.gac-da-banner .section-content > .row { width: 100%; }
.gac-da-banner .gac-duong { margin: 0 0 26px; color: #1d2330; font-size: var(--gac-c-sm); }
.gac-da-banner .gac-duong a { color: #1d2330; }
.gac-da-banner h1 { margin: 0; color: var(--gac-xanh); font-size: var(--gac-c-5xl); line-height: 1.05; font-weight: 800; text-transform: uppercase; }
.gac-da-banner__phu { position: relative; margin: 22px 0 0; padding-bottom: 22px; color: var(--gac-xanh); font-size: var(--gac-c-2xl); line-height: 1.3; font-weight: 500; }
.gac-da-banner__phu::after { content: ""; position: absolute; left: 0; bottom: 0; width: 54px; height: 4px; background: var(--gac-do); }
.gac-da-banner__mo-ta { max-width: 640px; margin: 20px 0 0; color: #1d2330; font-size: var(--gac-c-lg); line-height: 1.6; }
.gac-da-than { max-width: min(var(--gac-khung), calc(100% - 2 * var(--gac-le-ngoai, 0px))); margin: 0 auto; padding: 40px 15px 72px; }
.gac-da-than .gac-tieu-de { max-width: none; margin: 0; padding: 0 0 14px; }
.gac-da-loc-dau { display: flex; align-items: center; justify-content: space-between; border-bottom: 3px solid #e3e6ea; }
.gac-da-loc-dau__nut { width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--gac-xanh); position: relative; cursor: pointer; }
.gac-da-loc-dau__nut::after { content: ""; position: absolute; left: 10px; top: 11px; width: 8px; height: 8px; border: solid #fff; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.gac-da-loc-dau__nut[hidden] { display: block !important; visibility: hidden; }
.gac-da-loc { display: flex; gap: 24px; margin: 22px 0 48px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: 2px; }
.gac-da-loc::-webkit-scrollbar { display: none; }
.gac-da-loc__nut { flex: 1 0 auto; min-width: 170px; display: flex; align-items: center; justify-content: center; gap: 14px; height: 66px; padding: 0 18px; border-radius: 8px; background: #eef1f5; color: var(--gac-xanh); font-size: 18px; scroll-snap-align: start; transition: background .2s, color .2s; }
.gac-da-loc__nut svg { flex: none; }
.gac-da-loc__nut:hover { background: #e2e8f0; color: var(--gac-xanh); }
.gac-da-loc__nut.is-chon { background: var(--gac-xanh); color: #fff; }
.gac-da-luoi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gac-da-the { display: flex; flex-direction: column; border: 1px solid var(--gac-vien); border-radius: var(--gac-bo-nho); overflow: hidden; background: #fff; color: var(--gac-chu); transition: box-shadow .2s; }
.gac-da-the:hover { box-shadow: var(--gac-bong); color: var(--gac-do); }
.gac-da-the__anh { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f1f3f6; }
.gac-da-the__anh img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gac-da-the:hover .gac-da-the__anh img { transform: scale(1.04); }
.gac-da-the__ten { display: block; padding: 12px 12px 14px; font-size: 14px; line-height: 24px; }
.gac-da-the__ten > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.gac-da-trang { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
/* Cùng kiểu phân trang danh mục SP / tin (ô 40px viền mảnh, 44px điện thoại) — trước ô 30px không viền, dưới chuẩn chạm */
.gac-da-trang .page-numbers { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--gac-vien); border-radius: var(--gac-bo-nho); background: var(--gac-nen-nhat); color: var(--gac-chu); }
.gac-da-trang .page-numbers.current { border-color: var(--gac-xanh); background: var(--gac-xanh); color: #fff; }
.gac-da-trang .page-numbers.dots { border-color: transparent; background: transparent; }
@media (max-width: 549px) { .gac-da-trang .page-numbers { min-width: 44px; height: 44px; } }
.gac-da-trang a.page-numbers:hover { background: #dfe6ef; }
.gac-da-trong { padding: 40px 0; text-align: center; color: #5b6475; }
@media (max-width: 1099px) {
	.gac-da-luoi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gac-da-loc { gap: 12px; }
}
@media (max-width: 849px) {
	.gac-da-banner .section-bg { background-size: cover !important; }
	.gac-da-banner .section-bg::after { background: rgba(238, 243, 248, .82); }
	.gac-da-banner__mo-ta { font-size: var(--gac-c-md); }
	.gac-da-than { padding: 28px 15px 48px; }
	.gac-da-loc { margin: 16px 0 24px; }
	.gac-da-loc__nut { min-width: 0; height: 48px; font-size: var(--gac-c-sm); gap: 8px; padding: 0 14px; }
	.gac-da-loc__nut svg { width: 22px; height: 22px; }
}
@media (max-width: 549px) {
	.gac-da-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.gac-da-the__ten { font-size: var(--gac-c-sm); line-height: 20px; padding: 8px 8px 10px; }
	.gac-da-the__ten > span { min-height: 38px; }
}

/* ============================================================
   D5. DANH MỤC SẢN PHẨM
   ============================================================ */
/* Mô tả cuối danh mục thu gọn "Xem thêm"/"Thu gọn" (JS: assets/js/danh-muc.js).
   Gom từ <style> viết thẳng trong mẫu (23/11); nút đổi từ xanh ngọc #00baf2 (ngoài bảng màu) sang viền đỏ thương hiệu như nút "Xem Profile". */
.mota_bottom { overflow: hidden; position: relative; padding-bottom: 5px; }
.devvn_readmore_taxonomy_flatsome { position: absolute; z-index: 10; bottom: 0; width: 100%; text-align: center; cursor: pointer; background: #fff; }
.devvn_readmore_taxonomy_flatsome::before { content: ""; display: block; height: 70px; margin-top: -45px; background: linear-gradient(to bottom, rgba(255, 255, 255, .5) 20%, rgba(255, 255, 255, .95) 80%); }
.devvn_readmore_taxonomy_flatsome_less::before { display: none; }
.devvn_readmore_taxonomy_flatsome a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 var(--gac-k5); border: 1.5px solid var(--gac-do); border-radius: 999px; background: #fff; color: var(--gac-do); font-size: var(--gac-c-sm); font-weight: 600; }
.devvn_readmore_taxonomy_flatsome a:hover { background: var(--gac-do); color: #fff; }
.devvn_readmore_taxonomy_flatsome a::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.devvn_readmore_taxonomy_flatsome_less a::after { margin-top: 4px; transform: rotate(-135deg); }
/* Danh mục con đầu trang danh mục (category-right-sidebar.php): thẻ cao bằng nhau cả khi thành thanh trượt (Flickity) — đo 23/11: 201–248px lệch */
/* Không cho ô Flickity cao 100% (vòng đo chiều cao → thẻ bẹp): tiêu đề luôn chiếm đúng 3 dòng (tên dài nhất 46 ký tự, đo 0 tên bị cắt ở 390–1440) → mọi thẻ cao bằng nhau, không cần JS. */
.archive .row.cat-child-list .cat-child-item img { display: block; width: 100%; object-fit: contain !important; } /* styles.css scale-down: ảnh nhỏ không phóng → ô lệch cỡ (70px cạnh 140px, đo trang Dịch vụ 24/11) */
.archive .row.cat-child-list .cat-child-item h4 { line-height: 20px; height: 60px; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* —— TRANG DANH MỤC SẢN PHẨM — chuẩn hoá theo hệ thống thiết kế (23/11) */
/* Hàng danh mục con: thẳng lưới (trước lệch 3px mỗi bên), bỏ vạch ngăn dài lố lưới */
.archive .row.cat-child-list { margin-left: -12px; margin-right: -12px; border-bottom: 0; margin-bottom: var(--gac-k3); }
.archive .row.cat-child-list .col.col_sl .cat-child-item { border-color: var(--gac-vien); border-radius: var(--gac-bo); transition: box-shadow .2s, border-color .2s; }
.archive .row.cat-child-list .col.col_sl .cat-child-item:hover { border-color: transparent; box-shadow: var(--gac-bong); }
.archive .row.cat-child-list .col.col_sl .cat-child-item h4 { color: var(--gac-chu); font-size: var(--gac-c-sm); font-weight: 600; }
/* Nút mở rộng "Xem thêm" đầu danh mục = cùng kiểu nút mở rộng cuối danh mục (viên thuốc viền đỏ + mũi tên) */
.mota_top .text-center a[href="#mota_bot"] {
	display: inline-flex; align-items: center; gap: 6px; height: 40px; margin-top: var(--gac-k2); padding: 0 var(--gac-k5);
	border: 1.5px solid var(--gac-do); border-radius: 999px; color: var(--gac-do); font-size: var(--gac-c-sm); font-weight: 600;
}
.mota_top .text-center a[href="#mota_bot"]:hover { background: var(--gac-do); color: #fff; }
/* Nút lọc điện thoại: cùng kiểu chip với nút sắp xếp (trước chữ hoa + biểu tượng, lệch kiểu) */
.btn-filter.mobile-filter > .fa-filter { vertical-align: 0; position: relative; top: -.05em; } /* va:middle canh theo nửa chữ thường → biểu tượng thấp hơn tâm chữ hoa 1,7px (đo 25/11) */
.shop-page-title .page-title-inner .flex-col.medium-text-center { text-align: left !important; } /* breadcrumb điện thoại không canh giữa */
/* Danh mục con thành THANH TRƯỢT (assets/js/danh-muc.js: ≤768px > 2 mục · 769–1024px > 4 · > 1024px > 7) — dựng sẵn đúng hình dạng thanh trượt
   TRƯỚC khi Flickity chạy (1 hàng, không xuống dòng): trước lưới 2 hàng cao 525px co về 266px → CLS 0,544 ở /bien-tan/ điện thoại (đo 24/11). Điều kiện đếm mục bằng :has(nth-child) khớp đúng ngưỡng JS. */
@media (max-width: 768px) { .archive .row.cat-child-list:has(> .col:nth-child(3)):not(.flickity-enabled) { flex-wrap: nowrap; overflow: hidden; } }
@media (min-width: 769px) and (max-width: 1024px) { .archive .row.cat-child-list:has(> .col:nth-child(5)):not(.flickity-enabled) { flex-wrap: nowrap; overflow: hidden; } }
@media (min-width: 1025px) { .archive .row.cat-child-list:has(> .col:nth-child(8)):not(.flickity-enabled) { flex-wrap: nowrap; overflow: hidden; } }

/* —— MÔ TẢ DANH MỤC (N04, Sếp duyệt 24/11): đoạn cách đoạn 5px, tiêu đề cách đoạn trên 5px / dưới 10px → lơ lửng.
   Luật gần: khoảng TRÊN tiêu đề ≈ 3 lần khoảng DƯỚI; đoạn cách đoạn 1em. */
:is(.mota_bottom, .term-description) p { margin-bottom: var(--gac-k4) !important; }
:is(.mota_bottom, .term-description) h2 { margin: 36px 0 12px; }
:is(.mota_bottom, .term-description) h3 { margin: 28px 0 10px; }
:is(.mota_bottom, .term-description) h4 { margin: 24px 0 8px; }
:is(.mota_bottom, .term-description) > :is(h2, h3, h4):first-child, .mota_bottom .gac-toc + :is(h2, h3, h4) { margin-top: var(--gac-k4) !important; }
:is(.mota_bottom, .term-description) :is(ul, ol) { margin-bottom: var(--gac-k4); }
:is(.mota_bottom, .term-description) li { margin-bottom: 6px; }
/* Khối cam kết cuối trang danh mục (N12): nằm trong .container nên luật khung 1310−30 trừ lề 2 lần → thụt 32px mỗi bên so với lưới SP */
@media (min-width: 850px) { .container .row.r_icon_border:not(.gac-cam-ket) { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; } }

/* —— BỘ LỌC + SẮP XẾP (inc/bo-loc.php [woo_taxonomy_filter] · woocommerce/loop/orderby.php · assets/js/bo-loc.js) — 1 KHỐI DUY NHẤT.
   27/11/2026: viết lại theo mẫu sàn lớn (Thế Giới Di Động, FPT Shop, Tiki, Shopee, Amazon); bỏ ~55 luật cũ rải ở styles.css/style.css
   (xanh dương #0073aa / #3b82f6 / #1d4ed8, đỏ #dc3545, xám #eee — ngoài bảng màu) + 5 style="" viết thẳng trong mẫu. Mốc 850/851 (styles.css cũ ẩn
   bộ lọc máy tính ≤850; giữ nguyên mốc này cho cả khối, lệch 1px với 849 của Flatsome là có nút mà không có bảng).
   MÁY TÍNH: hàng ô lọc (tối đa 6 ô, còn lại sau nút "+ N bộ lọc") — ô đang chọn viền navy + số đếm tròn; ô thả xuống: danh sách > 12 có ô tìm nhanh,
             tên | số lượng, nút "Bỏ chọn" + "Xem kết quả" (đỏ) · dòng "đang lọc" (×, Xóa tất cả) · hàng sắp xếp: đang chọn gạch chân đỏ, phải = tổng SP.
   ĐIỆN THOẠI: thanh 2 nút "Bộ lọc (n)" | "Sắp xếp: <đang chọn>" → bảng trượt từ dưới (.gac-bang); dòng "đang lọc" ngay dưới thanh. */
.custom_fitler .sortoder p.woocommerce-result-count { display: none; } /* "Hiển thị 1–12 của 907 kết quả" của Woo: thay bằng tổng SP gọn ở hàng sắp xếp */
.custom_fitler .orderby-list { display: flex; flex-wrap: wrap; gap: var(--gac-k1) var(--gac-k5); margin: 0; padding: 0; list-style: none; }
.custom_fitler .orderby-list li { margin: 0; }
.custom_fitler .orderby-link[data-orderby="menu_order"] { display: none; } /* "Mặc định" chỉ có trong bảng sắp xếp điện thoại */
.custom_fitler .filter .active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gac-k2); margin: 0; color: var(--gac-chu); font-size: var(--gac-c-sm); }
.custom_fitler .filter .active-filters .filter-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px 0 12px; border: 1px solid var(--gac-xanh); border-radius: var(--gac-bo-nho); background: var(--gac-nen-nhat); color: var(--gac-xanh); font-size: var(--gac-c-sm); font-weight: 500; line-height: 1.2; }
.custom_fitler .filter .active-filters .filter-tag span.remove-filter { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gac-xanh); color: #fff; font-size: var(--gac-c-sm); line-height: 1; cursor: pointer; }
.custom_fitler .filter .active-filters .filter-tag:hover span.remove-filter { background: var(--gac-do); }
.custom_fitler .filter .active-filters .clear-all-filters { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--gac-k1); color: var(--gac-do); font-size: var(--gac-c-sm); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.custom_fitler .filter .active-filters .clear-all-filters:hover { color: var(--gac-xanh); }

/* Máy tính */
@media (min-width: 851px) {
	.custom_fitler .woo-filter-wrapper { display: flex; flex-direction: column; gap: var(--gac-k4); margin: 0 0 var(--gac-k5); }
	.custom_fitler .btn-filter.mobile-filter, .custom_fitler .gac-sx-mo, .gac-bang { display: none !important; } /* !important: thắng [hidden]=false của JS nếu đổi khổ lúc đang mở */
	.custom_fitler .desktop-filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gac-k2) 10px; }
	.custom_fitler .desktop-filter:not(.is-mo-het) .gac-loc-dd--an { display: none; }
	.custom_fitler .filter-dropdown { position: relative; }
	.custom_fitler .filter-dropdown .filter-toggle {
		display: flex; align-items: center; gap: var(--gac-k2); height: 40px; min-height: 0; margin: 0; padding: 0 var(--gac-k4); border: 1px solid var(--gac-vien-o); border-radius: var(--gac-bo-nho);
		background: #fff; box-shadow: none; color: var(--gac-chu); font-size: var(--gac-c-sm); font-weight: 500; line-height: 1; letter-spacing: 0; text-transform: none; cursor: pointer;
	}
	.custom_fitler .filter-dropdown .filter-toggle:hover, .custom_fitler .filter-dropdown.open .filter-toggle { border-color: var(--gac-xanh); }
	.custom_fitler .filter-dropdown.is-chon .filter-toggle { border-color: var(--gac-xanh); background: var(--gac-nen-nhat); color: var(--gac-xanh); font-weight: 600; }
	.gac-loc-dd__dem { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gac-xanh); color: #fff; font-size: var(--gac-c-xs); font-weight: 700; }
	.gac-loc-dd__gt { max-width: 260px; overflow: hidden; font-weight: 500; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; } /* "Nhãn: giá trị" khi chọn 1 giá trị; dài → "…", đủ chữ ở title + dòng đang lọc */
	.gac-loc-dd__gt b { font-weight: 700; }
	.gac-loc-dd__mui { font-size: 10px; transition: transform .2s; }
	.custom_fitler .filter-dropdown.open .gac-loc-dd__mui { transform: rotate(180deg); }
	.custom_fitler .filter-dropdown .filter-dropdown-content {
		position: absolute; top: calc(100% + 6px); left: 0; z-index: 999; display: none; width: 340px; padding: var(--gac-k3);
		border: 1px solid var(--gac-vien); border-radius: var(--gac-bo); background: #fff; box-shadow: 0 12px 32px rgba(1, 40, 105, .14);
	}
	.custom_fitler .filter-dropdown.open .filter-dropdown-content { display: block; }
	.custom_fitler .filter-dropdown.is-phai .filter-dropdown-content { right: 0; left: auto; } /* ô gần mép phải: bảng mở sang trái, không tràn khỏi màn (bo-loc.js) */
	.custom_fitler .gac-loc-dd__tim { width: 100%; height: 40px; margin: 0 0 var(--gac-k2); padding: 0 var(--gac-k3); border: 1px solid var(--gac-vien-o); border-radius: var(--gac-bo-nho); box-shadow: none; font-size: var(--gac-c-sm); }
	.custom_fitler .gac-loc-dd__tim:focus { border-color: var(--gac-xanh); outline: none; }
	/* flex-wrap (KHÔNG grid): Safari tính sai chiều cao hàng lưới trong khung cuộn max-height → chữ nhiều dòng đè nhau (Sếp 27/11) */
	.custom_fitler .filter-dropdown .lable_content { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 2px var(--gac-k2); max-height: 264px; overflow-y: auto; overscroll-behavior: contain; }
	.custom_fitler .filter-dropdown .lable_content label { display: flex; flex: 0 0 calc(50% - var(--gac-k2) / 2); align-items: center; gap: var(--gac-k2); min-width: 0; min-height: 36px; margin: 0; padding: 6px var(--gac-k2); border-radius: 6px; line-height: 1.35; color: var(--gac-chu); font-size: var(--gac-c-sm); font-weight: 400; cursor: pointer; user-select: none; }
	.custom_fitler .filter-dropdown .lable_content label[hidden] { display: none; }
	.custom_fitler .filter-dropdown .lable_content label:hover { background: var(--gac-nen-nhat); }
	.custom_fitler .filter-dropdown .lable_content input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--gac-xanh); }
	.custom_fitler .filter-dropdown .lable_content label:has(input:checked) { color: var(--gac-xanh); font-weight: 600; }
	.custom_fitler .filter-dropdown .lable_content--1cot label { flex-basis: 100%; }
	.gac-loc-dd__ten { min-width: 0; overflow-wrap: anywhere; }
	.gac-loc-dd__sl { margin-left: auto; color: var(--gac-chu-phu); font-size: var(--gac-c-xs); font-weight: 400; }
	.custom_fitler .filter-dropdown .filter-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gac-k2); margin-top: var(--gac-k3); padding-top: var(--gac-k3); border-top: 1px solid var(--gac-vien); }
	.custom_fitler .filter-dropdown .filter-actions button { height: 40px; min-height: 0; margin: 0; padding: 0 var(--gac-k3); border-radius: var(--gac-bo-nho); font-size: var(--gac-c-sm); font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: none; }
	.custom_fitler .filter-dropdown .filter-actions .btn-clear { border: 1px solid var(--gac-vien-o); background: #fff; color: var(--gac-chu); }
	.custom_fitler .filter-dropdown .filter-actions .btn-apply { border: 0; background: var(--gac-do); color: #fff; }
	.custom_fitler .filter-dropdown .filter-actions .btn-apply:hover { background: #b81d16; }
	.custom_fitler .gac-loc-them-bo { height: 40px; min-height: 0; margin: 0; padding: 0 var(--gac-k2); border: 0; background: none; color: var(--gac-do); font-size: var(--gac-c-sm); font-weight: 600; letter-spacing: 0; text-transform: none; }
	.custom_fitler .gac-loc-them-bo:hover { text-decoration: underline; text-underline-offset: 3px; }
	.custom_fitler .filter_apply:empty, .custom_fitler .filter_apply:not(:has(.active-filters)) { display: none; }
	.custom_fitler .sortoder { margin: 0; padding-top: var(--gac-k3); border-top: 1px solid var(--gac-vien); }
	.custom_fitler .sortoder .title_od { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gac-k2) var(--gac-k4); }
	.custom_fitler .sortoder .title_order { color: var(--gac-chu-phu); font-size: var(--gac-c-sm); }
	.custom_fitler .sortoder .woocommerce-ordering { margin: 0; }
	.custom_fitler .orderby-link { display: inline-flex; align-items: center; min-height: 32px; border-bottom: 2px solid transparent; color: var(--gac-chu); font-size: var(--gac-c-sm); font-weight: 500; }
	.custom_fitler .orderby-link:hover { color: var(--gac-do); }
	.custom_fitler .orderby-link.active { border-bottom-color: var(--gac-do); color: var(--gac-do); font-weight: 600; }
	.custom_fitler .gac-sx-tong { margin-left: auto; color: var(--gac-chu-phu); font-size: var(--gac-c-sm); }
	.custom_fitler .gac-sx-tong strong { color: var(--gac-chu); font-weight: 600; }
}

/* Điện thoại / máy tính bảng ≤850 */
@media (max-width: 850px) {
	.custom_fitler .desktop-filter { display: none; }
	.custom_fitler .woo-filter-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gac-k2); margin: 0 0 var(--gac-k4); padding: 0; }
	.custom_fitler .woo-filter-wrapper > .filter_apply { grid-column: 1 / -1; order: 3; } /* dòng "đang lọc" xuống dưới thanh 2 nút */
	.custom_fitler .woo-filter-wrapper > .filter_apply:not(:has(.active-filters)) { display: none; }
	.custom_fitler .woo-filter-wrapper > .filter_apply .active-filters { padding-top: var(--gac-k1); }
	.custom_fitler .woo-filter-wrapper > .sortoder { min-width: 0; margin: 0; }
	.custom_fitler .woo-filter-wrapper .sortoder .title_od, .custom_fitler .woo-filter-wrapper .sortoder .gac-sx-tong { display: none; }
	.custom_fitler .woo-filter-wrapper .btn-filter.gac-loc-mo, .custom_fitler .woo-filter-wrapper .gac-sx-mo {
		display: flex; align-items: center; justify-content: center; gap: var(--gac-k2); width: 100%; height: 44px; min-height: 0; margin: 0; padding: 0 var(--gac-k3);
		border: 1px solid var(--gac-vien-o); border-radius: var(--gac-bo-nho); background: #fff; box-shadow: none; color: var(--gac-xanh);
		font-size: var(--gac-c-sm); font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: none; white-space: nowrap;
	}
	.custom_fitler .woo-filter-wrapper .btn-filter.gac-loc-mo.is-dang-loc { border-color: var(--gac-xanh); background: var(--gac-nen-nhat); }
	.gac-loc-mo__dem { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gac-do); color: #fff; font-size: var(--gac-c-xs); font-weight: 700; }
	.gac-sx-mo__bt { flex: none; }
	.gac-sx-mo__chu { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
	.gac-sx-mo__mui { flex: none; font-size: 11px; }
}

/* Bảng trượt từ dưới (dùng chung: Bộ lọc, Sắp xếp) */
.gac-bang { position: fixed; inset: 0; z-index: 100000; }
.gac-bang[hidden] { display: none; }
.gac-bang__nen { position: absolute; inset: 0; background: rgba(5, 10, 48, .5); opacity: 0; transition: opacity .2s; }
.gac-bang__khung { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; max-height: 88vh; max-height: 88dvh; margin: 0; border-radius: var(--gac-bo-lon) var(--gac-bo-lon) 0 0; background: #fff; transform: translateY(100%); transition: transform .22s ease-out; }
.gac-bang.is-mo .gac-bang__nen { opacity: 1; }
.gac-bang.is-mo .gac-bang__khung { transform: none; }
.gac-bang__dau { display: flex; flex: none; align-items: center; justify-content: space-between; padding: var(--gac-k1) var(--gac-k2) var(--gac-k1) var(--gac-k4); border-bottom: 1px solid var(--gac-vien); }
.gac-bang__dau h3 { margin: 0; color: var(--gac-xanh); font-size: var(--gac-c-lg); line-height: var(--gac-dong-tieu-de); }
.gac-bang .gac-bang__dong { width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; background: none; color: var(--gac-chu); font-size: 28px; font-weight: 400; line-height: 1; }
.gac-bang__than { flex: 1 1 auto; min-height: 0; padding: 0 var(--gac-k4); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.gac-bang__chan { display: grid; flex: none; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gac-k3); padding: var(--gac-k3) var(--gac-k4) calc(var(--gac-k3) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--gac-vien); background: #fff; }
.gac-bang .gac-bang__nut { height: 48px; min-height: 0; margin: 0; padding: 0 var(--gac-k3); border-radius: var(--gac-bo-nho); font-size: var(--gac-c-md); font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: none; }
.gac-bang .gac-bang__nut--phu { border: 1px solid var(--gac-vien-o); background: #fff; color: var(--gac-chu); }
.gac-bang .gac-bang__nut--chinh { border: 0; background: var(--gac-do); color: #fff; }
html.gac-khoa-cuon, html.gac-khoa-cuon body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .gac-bang__nen, .gac-bang__khung { transition: none; } }
/* Nhóm thông số (thu gọn được) + ô chọn */
.gac-loc-nhom { border-bottom: 1px solid var(--gac-vien); }
.gac-loc-nhom:last-child { border-bottom: 0; }
.gac-loc-nhom__dau { display: flex; align-items: center; gap: var(--gac-k2); min-height: 52px; color: var(--gac-chu); font-size: var(--gac-c-md); font-weight: 600; list-style: none; cursor: pointer; }
.gac-loc-nhom__dau::-webkit-details-marker { display: none; }
.gac-loc-nhom__dau::after { content: ""; width: 8px; height: 8px; margin: -4px 4px 0 auto; border: solid var(--gac-chu-phu); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.gac-loc-nhom[open] > .gac-loc-nhom__dau::after { margin-top: 4px; transform: rotate(-135deg); }
.gac-loc-nhom__dem { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gac-xanh); color: #fff; font-size: var(--gac-c-xs); font-weight: 700; }
.gac-loc-nhom__dem[hidden] { display: none; }
.gac-loc-nhom__ds { display: flex; flex-wrap: wrap; gap: var(--gac-k2); padding: 0 0 var(--gac-k4); }
.gac-bang .gac-loc-chon { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 0; padding: 0 var(--gac-k3); border: 1px solid var(--gac-vien-o); border-radius: var(--gac-bo-nho); background: #fff; color: var(--gac-chu); font-size: var(--gac-c-sm); font-weight: 500; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.gac-loc-chon__sl { color: var(--gac-chu-phu); font-size: var(--gac-c-xs); font-weight: 400; }
.gac-bang .gac-loc-chon[aria-pressed="true"] { border-color: var(--gac-xanh); background: var(--gac-nen-nhat); box-shadow: inset 0 0 0 1px var(--gac-xanh); color: var(--gac-xanh); font-weight: 600; }
.gac-bang .gac-loc-chon[aria-pressed="true"]::before { content: ""; width: 5px; height: 10px; margin: -3px 2px 0 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gac-bang .gac-loc-chon--an { display: none; }
.gac-bang .gac-loc-them { min-height: 40px; margin: 0; padding: 0 var(--gac-k2); border: 0; background: none; color: var(--gac-do); font-size: var(--gac-c-sm); font-weight: 600; letter-spacing: 0; text-transform: none; }
/* Danh sách sắp xếp */
.gac-sx-ds { margin: 0; padding: var(--gac-k1) 0 calc(var(--gac-k3) + env(safe-area-inset-bottom, 0px)); list-style: none; }
.gac-sx-ds li { margin: 0; }
.gac-sx-ds a { display: flex; align-items: center; min-height: 52px; padding: 0 var(--gac-k4); color: var(--gac-chu); font-size: var(--gac-c-md); }
.gac-sx-ds li + li a { border-top: 1px solid var(--gac-vien); }
.gac-sx-ds a[aria-current] { color: var(--gac-do); font-weight: 600; }
.gac-sx-ds a[aria-current]::after { content: ""; width: 6px; height: 12px; margin: -4px 4px 0 auto; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ============================================================
   D6. CHI TIẾT SẢN PHẨM + CỘT PHẢI
   ============================================================ */
/* TAB SẢN PHẨM (Mô tả sản phẩm · Hỗ trợ kỹ thuật) — MỘT bộ luật (Sếp 27/11 "viền lem, không sắc nét"). Trước: 4 nguồn chồng nhau —
   Flatsome .nav-tabs (viền xám 2px trên + 1px hai bên), styles.css (nền đỏ cả li lẫn a, margin !important), gac-2026 (bo góc cả li và a +
   overflow) → viền xám nằm trên nền đỏ thành vệt mờ ở mép, 2 lớp bo răng cưa, cao lẻ 44,39px. Nay: tab là khối đặc KHÔNG viền, bo 8 chỉ ở thẻ a,
   cao đúng 44px; một vạch đỏ 2px dưới hàng tab nối liền khung nội dung (viền khung 1px, không viền trên). */
.woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: var(--gac-k1); margin: 0; padding: 0; border-bottom: 2px solid var(--gac-do); }
.woocommerce-tabs ul.tabs > li { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.woocommerce-tabs ul.tabs > li > a { display: flex; align-items: center; height: 44px; margin: 0; padding: 0 var(--gac-k5); border: 0; border-radius: var(--gac-bo-nho) var(--gac-bo-nho) 0 0; background: var(--gac-nen-nhat); color: var(--gac-chu-phu); font-size: var(--gac-c-sm); font-weight: 700; line-height: 1; }
.woocommerce-tabs ul.tabs > li > a:hover { color: var(--gac-do); }
.woocommerce-tabs ul.tabs > li.active > a { background: var(--gac-do); color: #fff; }
.woocommerce-tabs ul.tabs + .tab-panels { border: 1px solid var(--gac-vien); border-top: 0; }
@media (max-width: 549px) { .woocommerce-tabs ul.tabs > li { flex: 1 1 0; width: auto; min-width: 0; } .woocommerce-tabs ul.tabs > li > a { justify-content: center; padding: 0 var(--gac-k2); text-align: center; line-height: 1.25; } }
@media (max-width: 374px) { .woocommerce-tabs ul.tabs > li > a { font-size: var(--gac-c-xs); } } /* 320: tên tab 1 dòng */ /* ĐT: Flatsome (small-nav-collapse) xếp tab dọc cả bề ngang → 2 tab chia đôi hàng ngang như máy tính */
/* Khối "Giá trị khác biệt" (UX Block 11603, cột phải SP) = thành phần CAM KẾT xếp dọc: 1 thẻ trắng, vạch ngang mảnh, biểu tượng đỏ trong vòng hồng */
.shop-sidebar .block_widget .col-inner > p:first-child { margin-bottom: var(--gac-k3); }
.shop-sidebar .block_widget .col-inner > p:first-child strong { font-weight: 700; text-transform: uppercase; } /* cỡ 18/26 + màu theo luật chung C1 — 27/11 Sếp duyệt: trước 16px, lệch 2 tiêu đề widget 18px cùng cột */
.shop-sidebar aside.widget.block_widget .col-inner:has(> .icon-box.featured-box) { background: #fff; border-radius: var(--gac-bo-nho); box-shadow: var(--gac-bong); padding: var(--gac-k2) var(--gac-k4) var(--gac-k4); }
.shop-sidebar aside.widget.block_widget .icon-box.featured-box { display: flex; align-items: center; margin: 0; padding: var(--gac-k3) 0; border-radius: 0; background: none; box-shadow: none; }
.shop-sidebar aside.widget.block_widget .icon-box.featured-box .icon-box-img { flex: none; width: 44px !important; height: 44px; margin: 0 var(--gac-k3) 0 0; border-radius: 50%; background: #fdeeee; display: flex; align-items: center; justify-content: center; }
.shop-sidebar aside.widget.block_widget .icon-box.featured-box .icon-box-img img { width: 24px; height: 24px; object-fit: contain; }
.shop-sidebar aside.widget.block_widget .icon-box.featured-box .icon-box-text { padding: 0; }
.shop-sidebar aside.widget.block_widget .icon-box.featured-box .icon-box-text p { margin: 0; color: var(--gac-xanh); font-size: var(--gac-c-sm); line-height: 20px; font-weight: 700; }
.single-product .shop-sidebar aside.widget.block_widget .icon-box.featured-box { border: 0; }
.single-product .shop-sidebar aside.widget.block_widget .icon-box.featured-box + .icon-box.featured-box { border-top: 1px solid var(--gac-vien); }

.product.product_cat-du-an-ky-thuat .price-wrapper, .product-small.product_cat-du-an-ky-thuat .price-wrapper { display: none; } /* dự án đã làm: không có giá (inc/woocommerce.php) */

/* —— SP giá "Liên hệ": 2 nút ngay dưới giá (N13, inc/woocommerce.php) — kế thừa .gac-nut */
.gac-sp-cta { display: flex; flex-wrap: wrap; gap: var(--gac-k2); margin: var(--gac-k1) 0 var(--gac-k5); }
.gac-sp-cta .gac-nut { gap: var(--gac-k2); }
@media (max-width: 549px) { .gac-sp-cta .gac-nut { flex: 1 1 0; padding: 0 var(--gac-k3); } }

/* —— SẢN PHẨM LIÊN QUAN (27/11, inc/woocommerce.php gac_sp_lien_quan_ids) — 8 SP, luôn đúng 2 hàng: máy tính 4 cột (8) · 550–849px 3 cột (6) · <550px 2 cột (4).
   Khối cách phần trên 1 nhịp khối như các khối khác của trang; thẻ SP dùng thẻ chuẩn C4. */
.gac-sp-lien-quan { margin-top: var(--gac-khoi); }
.gac-sp-lien-quan + .related-products-wrapper { padding-top: calc(var(--gac-khoi) - 36px); } /* khối "Thông tin hữu ích" ngay sau: khe giữa 2 khối = 1 nhịp (64 / 40). 36 = đáy thẻ SP + lề trên tiêu đề (styles.css 15px) */
@media (min-width: 550px) and (max-width: 849px) { .gac-sp-lien-quan .products > .product-small:nth-child(n+7) { display: none; } }
@media (max-width: 549px) { .gac-sp-lien-quan .products > .product-small:nth-child(n+5) { display: none; } }

/* ============================================================
   D7. TIN TỨC (danh sách) + BÀI VIẾT
   ============================================================ */
/* Gom từ <style> viết thẳng trong mẫu (23/11/2026): bài viết (content-single.php) + hộp sách lật Catalog trang Giới thiệu (page-gt.php) */
.single-post .colLeft { padding-bottom: 0; }
.post_conten2.col .nd ul { margin-left: 20px; margin-bottom: 0; }
/* —— TIN TỨC (danh sách) — thẻ ngang: chữ canh ĐẦU ảnh (trước canh giữa dọc → khoảng trắng lớn), tiêu đề 18/700, trích đoạn 2 dòng */
.blog_featured .rank-math-breadcrumb { margin-bottom: var(--gac-k3); }
.blog_featured > .col:has(> .gac-tieu-trang) { padding-bottom: 0; } /* cùng quy tắc 24px dưới tiêu đề trang (trước 12 + đệm cột 30 = 42px) */
.colLeft .post-item .box-vertical { display: flex; align-items: stretch; gap: var(--gac-k5); border-radius: var(--gac-bo-nho); }
.colLeft .post-item .box-vertical .box-image { flex: 0 0 40%; width: 40% !important; border-radius: var(--gac-bo); overflow: hidden; }
/* Ảnh đại diện bài = banner CÓ CHỮ → không được cắt (Sếp báo 24/11: khung cố định 260px + cover cắt mất chữ 9–35%).
   Khung 4:3 (668/850 ảnh đại diện là 4:3 → vừa khít); ảnh lệch tỉ lệ (1:1, 16:9…) hiện trọn trên nền nhạt. */
.colLeft .post-item .box-image .image-cover { padding-top: 75% !important; background: var(--gac-nen-nhat); }
.colLeft .post-item .box-image .image-cover img { object-fit: contain; }
.colLeft .post-item .box-vertical .box-text { display: block; width: auto; flex: 1; padding: var(--gac-k2) 0 !important; vertical-align: top; }
.colLeft .post-item .box-vertical .box-text .post-title { margin: 0 0 var(--gac-k2); font-size: var(--gac-c-lg); line-height: 26px; font-weight: 700; }
.colLeft .post-item .box-vertical .box-text .post-title a { color: var(--gac-chu); }
.colLeft .post-item .box-vertical:hover .post-title a { color: var(--gac-do); }
.colLeft .post-item .box-vertical .from_the_blog_excerpt { margin: 0; color: var(--gac-chu-phu); font-size: var(--gac-c-sm); line-height: 22px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 549px) {
	.colLeft .post-item .box-vertical { flex-direction: column; gap: var(--gac-k3); }
	.colLeft .post-item .box-vertical .box-image { flex-basis: auto; width: 100% !important; }
	.colLeft .post-item .box-vertical .box-text { padding: 0 !important; }
}
/* —— BÀI VIẾT (chi tiết) — khoảng thở breadcrumb / tiêu đề / nội dung */
.single-post .rank-math-breadcrumb { margin-bottom: var(--gac-k3); }
.blog-single .entry-title { margin-bottom: var(--gac-k5); color: var(--gac-chu); font-size: var(--gac-c-3xl); line-height: var(--gac-dong-tieu-de); }
.post-meta.is-small, .box-blog-post .post-meta { font-size: var(--gac-c-xs) !important; }

/* Tiêu đề trong NỘI DUNG dán từ Word/Google Docs mang cỡ chữ nội tuyến (<h2><b style="font-size:14.4px">) → H2 nhỏ bằng chữ thường,
   mất thứ bậc (448 bài/trang/SP, đo 24/11). Chữ bên trong tiêu đề theo cỡ của tiêu đề; GIỮ màu tác giả tô. Chỉ vùng nội dung (không đụng khối UX Builder trang chủ / trang đích). */
:is(.entry-content, .woocommerce-Tabs-panel, .term-description, .mota_top, .mota_bottom, .product-short-description, .page-wrapper .text) :is(h1, h2, h3, h4, h5, h6) :is(span, b, strong, em, i, font)[style*="font-size"] { font-size: inherit !important; line-height: inherit; }

/* —— KHỐI NỔI BẬT ĐẦU CHUYÊN MỤC TIN (khối UX "uxblock_new": 1 bài lớn + "Tin tức xem nhiều") — nằm trong .colLeft (24/11), KHÔNG còn
   dưới .blog_featured nên mất luật cũ của styles.css (.blog_featured .uxblock_new .col → hàng cách 74px). Tiêu đề khối: có khối viết
   chữ trần, có khối bọc <p> → định kiểu CHÍNH ô .title_tin, con bên trong kế thừa. Bài lớn: bỏ chữ đè lên ảnh (ảnh đại diện là banner
   có chữ → chữ chồng chữ), ảnh hiện trọn khung 4:3, tiêu đề + ngày bên dưới như thẻ tin thường. */
.gac-tin-noi-bat .uxblock_new { margin: 0 0 var(--gac-k6) !important; background: none; }
.gac-tin-noi-bat .uxblock_new .post-item { padding: 0; } /* thẳng mép với danh sách bài bên dưới (đo: cùng x=95 / 15) */
.gac-tin-noi-bat .uxblock_new .row { margin-left: 0; margin-right: 0; }
.gac-tin-noi-bat .uxblock_new > .col.viewnew { padding-left: var(--gac-k5) !important; } /* hàng row-collapse: cột danh sách dính sát ảnh */
@media (max-width: 549px) { .gac-tin-noi-bat .uxblock_new > .col.viewnew { padding: var(--gac-k6) 0 0 !important; } }
.gac-tin-noi-bat .box-overlay .box-image { border-radius: var(--gac-bo); overflow: hidden; }
.gac-tin-noi-bat .box-overlay .overlay { display: none; }
.gac-tin-noi-bat .box-overlay .box-text { position: static; padding: var(--gac-k3) 0 0 !important; background: none; }
.gac-tin-noi-bat .box-overlay.dark .post-title { margin: 0 0 var(--gac-k2); color: var(--gac-chu); font-size: var(--gac-c-lg); line-height: 26px; font-weight: 700; text-transform: none; text-shadow: none; }
.gac-tin-noi-bat .box-overlay.dark:hover .post-title { color: var(--gac-do); }
.gac-tin-noi-bat .box-overlay.dark .post-meta { color: var(--gac-chu-phu); opacity: 1; text-shadow: none; }
.gac-tin-noi-bat .box-overlay .is-divider, .gac-tin-noi-bat .box-overlay .button.is-link { display: none; }
.gac-tin-noi-bat .row-box-shadow-1 .col-inner, .gac-tin-noi-bat .row-box-shadow-1 .col-inner:hover { box-shadow: none; }
.viewnew .text.title_tin { margin: 0 0 var(--gac-k2); padding: 0 0 0 14px; } /* cùng kiểu tiêu đề thanh bên (luật .widget-title phía trên) */
.viewnew .text.title_tin > *, .viewnew .title_tin * { margin: 0; padding: 0; font: inherit; text-transform: inherit; }
.viewnew .blog_tin_Noavata .post-item { padding: 0; }
.viewnew .blog_tin_Noavata .box { padding: var(--gac-k3) 0; border-top: 1px solid var(--gac-vien); }
.viewnew .blog_tin_Noavata .box .box-text.text-left { padding: 0 !important; }
.viewnew .blog_tin_Noavata .box .box-text.text-left h5.post-title.is-large.uppercase { display: flex; align-items: flex-start; gap: var(--gac-k3); margin: 0; color: var(--gac-chu); font-size: var(--gac-c-sm); line-height: 20px; font-weight: 500; }
.viewnew .blog_tin_Noavata .box .box-text.text-left h5.post-title.is-large.uppercase::before { flex: none; margin: 1px 0 0; width: 18px; height: 18px; line-height: 18px; font-size: var(--gac-c-xs); font-weight: 700; }
.viewnew .blog_tin_Noavata .box:hover h5.post-title { color: var(--gac-do) !important; }

/* Nút "Xem thêm" trong thẻ tin (Flatsome is-small = 10,9px → token nhãn 12px) */
.blog-post-inner .button.is-link { font-size: var(--gac-c-xs); }

/* Danh sách tin (N16, template-parts/posts/archive-list.php): ngày đăng chữ phụ dưới tiêu đề, trích đoạn tối đa 3 dòng */
.post-item .box-text .post-meta { margin: 0 0 var(--gac-k2); color: var(--gac-chu-phu); opacity: 1; }
.post-item .box-text .post-meta + .is-divider { display: none; }
.post-item .from_the_blog_excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   D8. THƯƠNG HIỆU
   ============================================================ */
/* —— LƯỚI THƯƠNG HIỆU (trang "Mua theo thương hiệu", [thuonghieu]) = cùng kiểu thẻ Đối tác (PDF): ô cố định, logo canh giữa, cùng độ lớn thị giác */
.row.gac-th-luoi { justify-content: center; } /* hàng cuối thiếu ô (7 logo / 4 cột) canh giữa — cân đối */
.row.gac-th-luoi > .col { padding-bottom: var(--gac-k5); }
.gac-th-o { display: flex; align-items: center; justify-content: center; aspect-ratio: 200 / 120; padding: 24px 32px; border: 1px solid #d8e0ee; border-radius: 14px; background: #f6f8fc; transition: box-shadow .2s, border-color .2s; }
.gac-th-o:hover { border-color: transparent; box-shadow: var(--gac-bong); }
.gac-th-o img { display: block; width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
@media (max-width: 549px) { .gac-th-o { padding: 16px 18px; } .gac-th-o img { max-height: 44px; } }

/* ============================================================
   D9. LIÊN HỆ
   ============================================================ */
/* —— LIÊN HỆ: 2 cột mở đầu bằng tiêu đề CÙNG kiểu, cùng hàng (trước: trái có vạch đỏ + gạch chân + thụt 14px, phải chữ nhỏ 14px khác kiểu) */
.clog_info_ft .section-title-container { margin-bottom: var(--gac-k5); }
.clog_info_ft .section-title .section-title-main, .clog_info_ft .col_info > .col-inner > .titlesbupper:first-child p { padding: 0; border: 0; margin: 0; color: var(--gac-xanh); font-size: var(--gac-c-lg); line-height: 26px; font-weight: 700; text-transform: uppercase; }
.clog_info_ft .section-title .section-title-main::before, .clog_info_ft .section-title .section-title-main::after, .clog_info_ft .section-title::after, .clog_info_ft .section-title b { display: none; }
.clog_info_ft .col_info > .col-inner > .titlesbupper:first-child { margin-bottom: var(--gac-k5); }
@media (min-width: 850px) { .row.clog_info_ft > .col:nth-child(odd) { padding-right: 24px; } .row.clog_info_ft > .col:nth-child(even) { padding-left: 24px; } } /* khe 2 cột 20 → 48px; hàng có 4 cột (form, thông tin, 2 bản đồ) → áp cả cặp bản đồ (trước lệch 14px với cặp trên) */
@media (max-width: 849px) { .row.clog_info_ft > .col.col_info { order: -1; margin-bottom: var(--gac-k6); } } /* điện thoại: số gọi / Zalo lên trước form 6 ô (liên hệ nhanh nhất ở đầu) */
.gac-ban-do__ten { margin: var(--gac-k6) 0 var(--gac-k3); color: var(--gac-xanh); font-size: var(--gac-c-md); line-height: 24px; font-weight: 700; text-transform: uppercase; }
.clog_info_ft iframe { display: block; border-radius: var(--gac-bo-nho); }

/* ============================================================
   D10. GIỎ HÀNG / THANH TOÁN / NHẬN ĐƠN
   ============================================================ */
/* —— GIỎ HÀNG / THANH TOÁN — theo hệ nút + form chung (rà 23/11 như người mua thật) */
.woocommerce .quantity input.qty { width: 44px !important; min-width: 0; padding: 0 2px !important; text-align: center; } /* luật form chung đệm 14px → ô 30px chỉ còn 2px, số "1" biến mất */
.cart_totals .table_overflow, .woocommerce-cart-form .table_overflow { margin-bottom: 0; } /* vỏ bảng (JS dev cũ) mb50 → khe 66px giữa tiêu đề và dòng tổng */
.woocommerce-cart-form .shop_table th { white-space: nowrap; }
/* nút phụ: viền xanh, nền trắng (giống .gac-nut--phu) — trước đỏ viền / hồng nhạt / xám lẫn lộn */
.woocommerce-cart-form .continue-shopping .button, .woocommerce-cart-form button[name="update_cart"], .woocommerce button[name="apply_coupon"], .checkout_coupon button.button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0 var(--gac-k3) var(--gac-k3) 0; padding: 0 var(--gac-k5);
	border: 1.5px solid var(--gac-xanh) !important; border-radius: var(--gac-bo-nho); background: #fff !important; color: var(--gac-xanh) !important;
	font-size: var(--gac-c-sm); line-height: 1.2; font-weight: 600; text-transform: none; letter-spacing: 0; opacity: 1; box-shadow: none;
}
.woocommerce-cart-form .continue-shopping .button:hover, .woocommerce-cart-form button[name="update_cart"]:not(:disabled):hover, .woocommerce button[name="apply_coupon"]:hover { background: var(--gac-xanh) !important; color: #fff !important; }
.woocommerce-cart-form button[name="update_cart"]:disabled { opacity: .45; cursor: not-allowed; }
.woocommerce button[name="apply_coupon"] { width: 100%; margin-right: 0; }
/* nút chính cả quy trình: Tiến hành thanh toán / Đặt hàng — cùng cỡ 48px, hết bề ngang khung tóm tắt */
.wc-proceed-to-checkout .checkout-button, #place_order { height: auto; display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; border-radius: var(--gac-bo-nho); background: var(--gac-xanh) !important; color: #fff !important; font-size: var(--gac-c-md); font-weight: 700; text-transform: none; letter-spacing: 0; }
.wc-proceed-to-checkout .checkout-button:hover, #place_order:hover { background: #001d4d !important; }
.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle .woocommerce-info, .woocommerce-form-coupon-toggle .woocommerce-info { text-align: left; } /* đoạn văn canh trái như toàn site */
.cart_totals thead th, .woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3, #order_review_heading, .woocommerce-shipping-fields h3 { color: var(--gac-xanh); } /* tiêu đề khối Woo đen → xanh như mọi tiêu đề */
@media (max-width: 849px) { .woocommerce-cart .woocommerce > .row > .col:first-child { padding-bottom: var(--gac-k5); } }
.woocommerce-info .message-container.medium-text-center { text-align: left !important; } /* Flatsome canh giữa thông báo "Bạn đã có tài khoản?…" */
#order_review .table_overflow { margin-bottom: var(--gac-k5); } /* vỏ bảng mb50 → khe 64px trước nút Đặt hàng */
.woocommerce-checkout .woocommerce-privacy-policy-text { margin-top: var(--gac-k4); }
.woocommerce-checkout .woocommerce-privacy-policy-text p { margin: 0; color: var(--gac-chu-phu); font-size: var(--gac-c-sm); line-height: 22px; }
/* Trang nhận đơn: H1 "Đặt hàng thành công" (header.php) → bỏ dải bước Flatsome chỉ còn "HOÀN TẤT ĐƠN HÀNG" đen canh giữa; điện thoại: hộp "Cảm ơn… đã được nhận" lên ĐẦU (trước ở cuối trang) */
.woocommerce-order-received .checkout-page-title, .woocommerce-order-received .checkout-breadcrumbs { display: none; }
@media (max-width: 849px) { .woocommerce-order-received .row.woocommerce-order > .col.large-5 { order: -1; margin-bottom: var(--gac-k5); } }
.woocommerce-order-received .woocommerce-order h2 { color: var(--gac-xanh); font-size: var(--gac-c-xl); }

/* ============================================================
   D11. TÀI LIỆU (plugin gac-tai-lieu)
   ============================================================ */
/* —— TRANG TÀI LIỆU (plugin gac-tai-lieu) — màu theo nhận diện: chính = navy, nhấn = đỏ (trước xanh dương #0b63d8 riêng của plugin) */
.gtl {
	--gtl-chinh: var(--gac-xanh); --gtl-chinh-dam: #02378f; --gtl-chinh-nhat: #e8edf6; --gtl-do: var(--gac-do); --gtl-chu: var(--gac-chu);
}
.gtl .gtl-duoi { font-size: var(--gac-c-xs); letter-spacing: .02em; } /* nhãn định dạng tệp (PDF/RAR) — chữ hoa đậm; token nhỏ nhất 12px (trước 10 → 11) */

/* ============================================================
   E1. ĐIỆN THOẠI — vùng chạm ≥ 40px
   ============================================================ */
/* Vùng chạm ≥ 40px trên điện thoại (đo kiem-responsive 23/11; dev cũ để link chân trang 25px) */
@media (max-width: 849px) {
	footer .ux-menu-link__link, .footer-secondary .ux-menu-link__link { min-height: 40px !important; align-items: center; }
	.flickity-prev-next-button { min-width: 40px; min-height: 40px; }
	.row.cat-child-list .flickity-prev-next-button, .devvn-row-slider .flickity-prev-next-button { width: 40px !important; height: 40px !important; }
	.gac-da-loc-dau__nut { min-width: 40px; min-height: 40px; }
	.gac-toc .gac-toc__btn, button.gac-toc__btn { min-height: 36px; padding: 6px 14px; }
	/* Kiểm 24/11 (320–414): vùng chạm vô hình ::after (định vị tuyệt đối) — bố cục không đổi 1px, chỉ vùng bấm lớn ra */
	:is(footer .icons_ft .icon-box-text a, footer .icons_ft .icon-box-img a, .box-text .price-wrapper a.gac-gia-lh, .product_meta a, .blog-post-inner .post-title a) { position: relative; }
	:is(footer .icons_ft .icon-box-text a, .box-text .price-wrapper a.gac-gia-lh, .product_meta a, .blog-post-inner .post-title a)::after { content: ""; position: absolute; inset: -11px 0; }
	footer .icons_ft .icon-box-img a::after { content: ""; position: absolute; inset: -5px 0; }
	.blog-post-inner .button.is-link { position: relative; }
	.blog-post-inner .button.is-link::after { content: ""; position: absolute; inset: -6px 0; }
}

/* Chân trang máy tính: mỗi mục menu cao 54px (đệm 16px trên/dưới, có từ trước) → cột "Chính sách" 8 mục dài 430px, thưa hơn hẳn cột thông tin bên trái.
   Máy tính dùng chuột → 36px là đủ (điện thoại giữ ≥40px ở mục 20). */
@media (min-width: 850px) { footer .block_ft .col .ux-menu-link__link { padding-top: 7px; padding-bottom: 7px; } } /* đè styles.css "footer .block_ft .col .ux-menu-link__link{padding:16px 0}" */

/* ============================================================
   E2. THANG CHỮ — gom cỡ lẻ do theme/WooCommerce/khối cũ in ra về token (Sếp 24/11 "chia font-size hợp lý toàn web").
   Đo 7.686 khối chữ đang hiện × 32 loại trang × 1440/390px: 20 nhóm cỡ ngoài thang (9,5 → 25,6px). Thang: 12 nhãn · 14 phụ · 16 nội dung ·
   18 tiêu đề thẻ · 20 tiêu đề nhỏ · 24 tiêu đề khối · 32 tiêu đề trang · 40 số liệu · 64 banner (điện thoại co theo clamp ở :root).
   ============================================================ */
.box-category .count, .product-category .count { margin-top: var(--gac-k1); font-size: var(--gac-c-xs); } /* cách tên danh mục 4px (trước dính 4,7px nét chữ) */
.wp-caption .wp-caption-text { padding: var(--gac-k2) var(--gac-k3); font-size: var(--gac-c-sm); } /* dải chú thích nền xám liền dưới ảnh (Flatsome): đệm đều 8/12, chữ giữa dải; cỡ token 14 (trước 14,4) */          /* "216 Sản phẩm" 10,1 / 9,5px */
.badge .post-date-month, .badge .post-date-day + .post-date-month { font-size: var(--gac-c-xs); } /* "Th10" 11,2 */
.product-info .product_meta, .product-info .product_meta > span, .product-info .product_meta a { font-size: var(--gac-c-sm); } /* SKU / Danh mục 12,8 */
.widget_nav_menu ul.menu > li > a > span { font-size: var(--gac-c-sm) !important; }                 /* menu Thể loại trang SP 13 */
.single-product .product-info h1.product-title.product_title { font-size: var(--gac-c-2xl); line-height: var(--gac-dong-tieu-de); } /* tên SP 25 (styles.css) → 24/20 */
.sanpham_noibat > .title { font-size: var(--gac-c-2xl) !important; }                                /* "Sản phẩm nổi bật" 25 / 22 */
.sec_kms .title_s p { font-size: var(--gac-c-2xl) !important; }                                     /* "Số lượng có hạn…" 22 */
.blog-post-inner h5.post-title.is-large { font-size: var(--gac-c-md); }                             /* bài liên quan 16,6 / 13,6 */
.from_the_blog_excerpt, .page-box .box-text-inner p, .woocommerce-privacy-policy-text p, .box-category h5.header-title { font-size: var(--gac-c-sm); } /* 14,4 / 13,6 */
.product-small .price-wrapper .price, .product-small .price-wrapper .price .amount, .product-small .price-wrapper .price .gac-gia-lh { font-size: var(--gac-c-md); } /* giá 14,4 / 13,6 — giá là thông tin chính của thẻ */
.product-small .price-wrapper .price del, .product-small .price-wrapper .price del .amount { font-size: var(--gac-c-sm) !important; }
@media (max-width: 549px) { .product-small .price-wrapper .price, .product-small .price-wrapper .price .amount, .product-small .price-wrapper .price .gac-gia-lh { font-size: var(--gac-c-sm) !important; } }
.accordion-title, .accordion-title span { font-size: var(--gac-c-lg); }                             /* Hỏi đáp 17,6 */
.page-wrapper > .row-main > .col > .col-inner > h2 { font-size: var(--gac-c-2xl); line-height: var(--gac-dong-tieu-de); } /* trang chính sách H2 25,6 / 19,2 */
@media (max-width: 549px) { .gac-so-lieu__so { font-size: var(--gac-c-3xl) !important; } }          /* 24,6 → 24 */
/* Chân trang: tiêu đề cột 16 đậm; chữ thông tin 14; số hotline 16 (trước toàn bộ 15 / 15,2px, không thứ bậc) */
footer .titlesbupper p, footer .titlesbupper p b { font-size: var(--gac-c-md) !important; }
footer .icon-box-text, footer .icon-box-text p, footer .icon-box-text strong, footer .icon-box-text b, footer .icon-box-text span, footer .icon-box-text a,
footer .text li, footer .text li span, footer .text p strong, footer .text p b { font-size: var(--gac-c-sm) !important; }
footer .icon-box-text .text.strong, footer .icon-box-text .text.strong * { font-size: var(--gac-c-md) !important; }
.clog_info_ft .col_info .titlesbupper p, .clog_info_ft .col_info .titlesbupper p b { font-size: var(--gac-c-lg); } /* mọi tiêu đề nhóm trong khối = 18 (trước tiêu đề đầu 18, tiêu đề sau 15) */
/* Trang Liên hệ — khối thông tin: chữ nội dung 16 (cùng khung chân trang nên trước cũng 15) */
.clog_info_ft .col_info .icon-box-text, .clog_info_ft .col_info .icon-box-text *, .clog_info_ft .col_info .text li, .clog_info_ft .col_info .text li *, .clog_info_ft .col_info .text p b, .clog_info_ft .col_info .text p strong { font-size: var(--gac-c-md) !important; }

/* ============================================================
   E3. TƯƠNG THÍCH FLATSOME 3.20 — phải đứng cuối
   ============================================================ */
/* E3 · Flatsome 3.20 (24/11): ảnh nền Section in bằng <img class="bg"> (object-fit:cover) thay vì background-image → luật background-size/position ở
   .gac-gt-banner / .gac-dv-banner / .gac-da-banner (§ trên) không còn tác dụng, ảnh bị phủ kín + phóng to. Trả đúng hình 3.17:
   máy tính = "auto 100%, right center" (cao đủ khung, dính phải); ≤849 = "cover, right center". Bản 3.17 không có img.bg → luật này không chạm. */
:is(.gac-gt-banner, .gac-dv-banner, .gac-da-banner) .section-bg img.bg { top: 0; left: auto; right: 0; width: auto; max-width: none; height: 100%; object-fit: fill; }
@media (max-width: 849px) {
	:is(.gac-gt-banner, .gac-dv-banner, .gac-da-banner) .section-bg img.bg { left: 0; width: 100%; object-fit: cover; object-position: right center; }
}
