/*
Theme Name: VinaSite Mỹ phẩm 02 — Ánh Ngọc
Theme URI: https://vinasite.com.vn/
Description: Mẫu website bán hàng mỹ phẩm, nền tối và nhấn vàng ngọc trai. Giao diện con của vinasite, chạy WooCommerce: trang chủ nhiều khối, trang cửa hàng, chi tiết sản phẩm, giới thiệu và liên hệ. Mẫu demo của VinaSite.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: mypham-mau-02
*/

/* =====================================================================
 * Ánh Ngọc — mẫu website bán hàng mỹ phẩm.
 *
 * Cố ý khác hẳn mọi mẫu bán hàng đã có trong bộ: đây là mẫu DUY NHẤT dựng
 * trên NỀN TỐI.
 *
 * Hai mẫu mỹ phẩm kia tránh trùng ở cả bốn điểm nhận diện:
 *   · Nhiên Thảo (banhang-mau-02): nền trắng, phông Afacad, be + xanh rêu,
 *     nút tròn hẳn, logo chữ đặt bên trái.
 *   · Sương (mypham-mau-01): nền trắng ngả tím, tiêu đề Cormorant Garamond,
 *     tím oải hương, thẻ bo đều 22px, dấu nhận diện là giọt nước không khung.
 *
 * Ở đây: nền tím mực #0F0B14, một màu nhấn vàng ngọc trai, tiêu đề Prata
 * (serif Didone nét thanh nét đậm chênh nhau rất mạnh, không mẫu nào dùng),
 * thẻ và ảnh BO LỆCH hai góc đối nhau trong khi nút gần vuông, dấu nhận diện
 * là viên ngọc mài cạnh nằm trong vòng tròn. Nhìn hai giây là phân biệt được.
 *
 * Ngoại lệ duy nhất của nền tối: giỏ hàng, thanh toán và tài khoản — xem khối
 * "TRANG TIỆN ÍCH" ở cuối tệp.
 * ===================================================================== */

:root {
	--ag-ink: #0F0B14;          /* nền trang */
	--ag-surface: #171120;      /* nền thẻ, dải phụ */
	--ag-surface-2: #1F1729;    /* nền ô nhập, ô ảnh */
	--ag-line: #2E2439;         /* đường kẻ */
	--ag-text: #F4F0F7;         /* tiêu đề, chữ chính */
	--ag-body: #B9B0C6;         /* chữ nội dung */
	--ag-muted: #857C92;        /* chữ phụ */

	--ag-gold: #D8B36A;         /* màu nhấn duy nhất */
	--ag-gold-soft: #EBD6A8;
	--ag-gold-dim: #B4914C;
	--ag-rose: #E0899C;         /* nhãn giảm giá, giá đã giảm */

	/* Trang giỏ hàng / thanh toán / tài khoản đảo sang nền sáng. */
	--ag-paper: #FBF8F4;
	--ag-paper-ink: #19131F;
	--ag-paper-line: #E4DDD4;

	--ag-serif: "Prata", Georgia, "Times New Roman", serif;
	--ag-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--ag-max: 1240px;
	--ag-gut: clamp(16px, 3.2vw, 36px);
	--ag-pad: clamp(56px, 6vw, 108px);
	--ag-r: 26px 0 26px 0;      /* thẻ và ảnh: bo LỆCH hai góc đối nhau */
	--ag-r-sm: 10px;            /* ô nhập */
	--ag-r-btn: 4px;            /* nút: gần vuông, ngược hẳn với thẻ bo tròn */
	--ag-shadow: 0 24px 60px -34px rgba(0, 0, 0, .9);
}

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

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

/*
 * `color: inherit` với hai lớp chứ không phải một màu cố định: theme mẹ có luật
 * riêng cho `h1`–`h3` trong nội dung (màu xanh của nó) và luật ấy thắng mọi
 * khai báo một lớp. Khai ở đây thắng lại, mà cho thừa kế thì tiêu đề tự đúng
 * màu trong cả khối nền tối lẫn khối nền giấy — không phải liệt kê ngoại lệ.
 */
/* Prata chỉ có MỘT độ đậm (400). Khai 600 hay 700 ở bất cứ đâu dùng phông này
   là trình duyệt tự bôi đậm giả — nét dày ra nhưng chỗ nối bị bệt, thấy rõ nhất
   ở dấu tiếng Việt. Mọi tiêu đề đều để 400. */
body.ag-shop h1, body.ag-shop h2, body.ag-shop h3 {
	margin: 0; color: inherit; font-family: var(--ag-serif);
	font-weight: 400; line-height: 1.2; letter-spacing: 0; }

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

.ag-skip { position: absolute; z-index: 100; top: 10px; left: 10px; transform: translateY(-200%);
	border-radius: var(--ag-r-btn); padding: 11px 16px; background: var(--ag-gold);
	color: var(--ag-ink); font-weight: 700; }
.ag-skip:focus { transform: translateY(0); }

/* Đầu trang dính nên mọi neo `#id` phải chừa chỗ, nếu không mục nhảy tới nằm
   khuất dưới thanh điều hướng. */
.ag-main, .ag-main [id] { scroll-margin-top: 108px; }

/* Vòng tiêu điểm của bàn phím phải thấy được trên nền tối. */
body.ag-shop :focus-visible { outline: 2px solid var(--ag-gold); outline-offset: 3px; }

/* =====================================================================
 * NÚT
 * Gần vuông (4px) giữa một trang toàn thẻ bo 24px — đó là dấu nhận diện của
 * mẫu này, không phải sơ suất.
 * ===================================================================== */
.ag-btn {
	min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	border: 1px solid var(--ag-gold); border-radius: var(--ag-r-btn); padding: 0 28px;
	background: var(--ag-gold); color: var(--ag-ink) !important;
	font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
	transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s cubic-bezier(.22,.8,.3,1);
}
.ag-btn:hover { background: var(--ag-gold-soft); border-color: var(--ag-gold-soft); transform: translateY(-2px); }
.ag-btn svg { width: 16px; height: 16px; transition: transform .25s cubic-bezier(.22,.8,.3,1); }
.ag-btn:hover svg { transform: translateX(3px); }

.ag-btn--ghost { background: transparent; border-color: rgba(216,179,106,.5); color: var(--ag-gold) !important; }
.ag-btn--ghost:hover { background: var(--ag-gold); border-color: var(--ag-gold); color: var(--ag-ink) !important; }

/* Liên kết dạng chữ, gạch chân mọc từ trái. */
.ag-link { position: relative; display: inline-flex; align-items: center; gap: 8px;
	color: var(--ag-gold); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ag-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left center;
	transition: transform .28s cubic-bezier(.22,.8,.3,1); }
.ag-link:hover::after, .ag-link:focus-visible::after { transform: scaleX(1); }
.ag-link svg { width: 14px; height: 14px; transition: transform .25s cubic-bezier(.22,.8,.3,1); }
.ag-link:hover svg { transform: translateX(3px); }

.ag-eyebrow { margin: 0 0 16px; display: flex; align-items: center; gap: 10px;
	color: var(--ag-gold); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.ag-eyebrow::before { content: ''; width: 26px; height: 1px; flex: none; background: currentColor; }

/* =====================================================================
 * DẢI THÔNG BÁO + ĐẦU TRANG
 * ===================================================================== */
.ag-bar { border-bottom: 1px solid var(--ag-line); background: var(--ag-surface);
	color: var(--ag-body); font-size: 13px; }
.ag-bar__in { min-height: 38px; display: flex; justify-content: center; align-items: center; gap: 20px;
	padding: 8px 0; text-align: center; }
.ag-bar strong { color: var(--ag-gold); font-weight: 700; }
.ag-bar a { display: inline-flex; align-items: center; gap: 6px; color: var(--ag-text) !important;
	font-weight: 600; white-space: nowrap; transition: color .2s ease; }
.ag-bar a svg { width: 14px; height: 14px; transition: transform .25s cubic-bezier(.22,.8,.3,1); }
.ag-bar a:hover { color: var(--ag-gold) !important; }
.ag-bar a:hover svg { transform: translateX(4px); }

.ag-head {
	position: sticky; top: 0; z-index: 50;
	background: rgba(15, 11, 20, .86);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--ag-line);
	transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* Đã cuộn qua: nền đặc hơn và một bóng đổ sâu. Chiều cao GIỮ NGUYÊN — phần tử
   dính vẫn chiếm chỗ trong dòng chảy, thu lại là cả trang nhích lên một nhịp. */
.ag-head.is-stuck { background: rgba(15, 11, 20, .97); border-bottom-color: rgba(216,179,106,.22);
	box-shadow: 0 18px 40px -26px rgba(0,0,0,.95); }

/*
 * Bố cục đầu trang: thương hiệu trái, MENU DỒN VỀ PHẢI cạnh nhóm công cụ (Nếp
 * đặt menu ở giữa, Minh Nhã đặt logo ở giữa). Mục đang xem đánh dấu bằng một
 * CHẤM VÀNG phía trên chữ chứ không gạch chân.
 */
.ag-head__row { min-height: 88px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }

.ag-brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.ag-brand__mark { width: 44px; height: 44px; flex: none; }
.ag-brand__mark svg { width: 100%; height: 100%; transition: transform .45s cubic-bezier(.22,.8,.3,1); }
.ag-brand:hover .ag-brand__mark svg { transform: rotate(10deg); }
.ag-brand__text { display: block; }
.ag-brand__name { display: block; color: var(--ag-text); font-family: var(--ag-serif);
	font-size: 26px; font-weight: 400; line-height: 1.1; white-space: nowrap; }
.ag-brand__tag { display: block; max-height: 16px; margin-top: 3px; overflow: hidden; color: var(--ag-gold);
	font-size: 9.5px; font-weight: 700; letter-spacing: .26em; white-space: nowrap;
	transition: opacity .25s ease, max-height .25s ease, margin-top .25s ease; }
.ag-head.is-stuck .ag-brand__tag { opacity: 0; max-height: 0; margin-top: 0; }

.ag-nav ul { display: flex; justify-content: flex-end; align-items: center; gap: 28px;
	list-style: none; margin: 0; padding: 0; }
.ag-nav a { position: relative; display: inline-block; padding: 12px 0; color: var(--ag-body);
	font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	white-space: nowrap; transition: color .2s ease; }
.ag-nav a::before { content: ''; position: absolute; left: 50%; top: 0; width: 5px; height: 5px;
	margin-left: -2.5px; border-radius: 50%; background: var(--ag-gold);
	transform: scale(0); transition: transform .28s cubic-bezier(.22,.8,.3,1); }
.ag-nav a:hover, .ag-nav a:focus-visible { color: var(--ag-text); }
.ag-nav a:hover::before, .ag-nav a:focus-visible::before { transform: scale(1); }
.ag-nav a[aria-current="page"] { color: var(--ag-gold); }
.ag-nav a[aria-current="page"]::before { transform: scale(1); }

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

.ag-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 14px;
	border: 1px solid var(--ag-line); border-radius: 999px; background: var(--ag-surface-2);
	transition: border-color .25s ease, box-shadow .25s ease; }
.ag-search:focus-within { border-color: var(--ag-gold); box-shadow: 0 0 0 3px rgba(216,179,106,.14); }
.ag-search svg { width: 17px; height: 17px; flex: none; color: var(--ag-muted); transition: color .25s ease; }
.ag-search:focus-within svg { color: var(--ag-gold); }
.ag-search input { width: 130px; border: 0; outline: 0; background: transparent; color: var(--ag-text);
	font-size: 14px; transition: width .3s cubic-bezier(.22,.8,.3,1); }
.ag-search input::placeholder { color: var(--ag-muted); }
.ag-search:focus-within input { width: 184px; }
.ag-search button { height: 32px; border: 0; border-radius: 999px; padding: 0 15px; background: var(--ag-gold);
	color: var(--ag-ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; cursor: pointer;
	transition: background .2s ease; }
.ag-search button:hover { background: var(--ag-gold-soft); }

.ag-cart { position: relative; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
	padding: 0 4px; color: var(--ag-text); font-size: 12.5px; font-weight: 600; letter-spacing: .1em;
	text-transform: uppercase; white-space: nowrap; transition: color .2s ease; }
.ag-cart:hover { color: var(--ag-gold); }
.ag-cart svg { width: 22px; height: 22px; flex: none; transition: transform .3s cubic-bezier(.22,.8,.3,1); }
.ag-cart:hover svg { transform: translateY(-2px); }
.ag-cart__n { min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px;
	border-radius: 999px; background: var(--ag-gold); color: var(--ag-ink); font-size: 11.5px; font-weight: 800; }
/* Giỏ rỗng thì không hiện số 0 — nó không cho biết điều gì. */
.ag-cart__n[data-ag-n="0"] { display: none; }
.ag-cart__n.is-bump { animation: ag-bump .45s cubic-bezier(.22,.8,.3,1); }
@keyframes ag-bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

.ag-burger { width: 44px; height: 44px; display: none; align-items: center; justify-content: center;
	border: 1px solid var(--ag-line); border-radius: var(--ag-r-btn); background: var(--ag-surface-2);
	color: var(--ag-text); cursor: pointer; transition: border-color .2s ease; }
.ag-burger:hover { border-color: var(--ag-gold); }
.ag-burger span { position: relative; display: block; width: 19px; height: 13px; }
.ag-burger i { position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor;
	transition: transform .3s cubic-bezier(.22,.8,.3,1), opacity .2s ease; }
.ag-burger i:nth-child(1) { top: 0; }
.ag-burger i:nth-child(2) { top: 5.7px; }
.ag-burger i:nth-child(3) { top: 11.4px; }
.ag-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5.7px) rotate(45deg); }
.ag-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.ag-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5.7px) rotate(-45deg); }

/* =====================================================================
 * CHÂN TRANG
 * ===================================================================== */
.ag-foot { border-top: 1px solid var(--ag-line); background: var(--ag-surface); color: var(--ag-body); }
.ag-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 50px; padding: 70px 0 54px; }
.ag-foot p { margin: 0; }
.ag-foot__desc { max-width: 330px; margin-top: 20px; color: var(--ag-muted); font-size: 14.5px; line-height: 1.8; }
.ag-foot h2 { margin: 0 0 18px; color: var(--ag-text); font-family: var(--ag-sans); font-size: 11.5px;
	font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ag-foot ul { list-style: none; margin: 0; padding: 0; }
.ag-foot li + li { margin-top: 12px; }
.ag-foot li, .ag-foot a { color: var(--ag-body); font-size: 14.5px; }
.ag-foot a:hover { color: var(--ag-gold); }
/* Trượt bằng transform nên các dòng bên cạnh không bị xô. */
.ag-foot__col a span { display: inline-block; transition: transform .25s cubic-bezier(.22,.8,.3,1); }
.ag-foot__col a:hover span, .ag-foot__col a:focus-visible span { transform: translateX(5px); }

.ag-foot__lh { margin-top: 24px; }
.ag-foot__lh li { display: flex; align-items: center; gap: 11px; }
.ag-foot__lh svg { width: 17px; height: 17px; flex: none; color: var(--ag-gold); }

.ag-foot__bot { border-top: 1px solid var(--ag-line); padding: 18px 0; color: var(--ag-muted); font-size: 13px; }
.ag-foot__bot .ag-wrap { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.ag-foot__bot a { color: var(--ag-body); text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
 * HIỆN DẦN KHI CUỘN TỚI
 * Lớp ẩn do kịch bản gắn vào, KHÔNG viết sẵn trong HTML — tắt JavaScript thì
 * trang vẫn hiện đầy đủ chứ không trắng trơn, và trình thu thập của Google
 * luôn thấy nội dung.
 * ===================================================================== */
.ag-rise { opacity: 0; transform: translateY(20px);
	transition: opacity .65s ease, transform .65s cubic-bezier(.22,.8,.3,1); }
.ag-rise.is-in { opacity: 1; transform: none; }

/* =====================================================================
 * ĐẦU TRANG CON (cửa hàng, danh mục, sản phẩm, trang tĩnh)
 * ===================================================================== */
/*
 * Theme mẹ đặt màu chữ cho `.vs-scope` — bộ khung nội dung của nó, mà mọi mẫu
 * trang ở đây đều nằm trong. Đó là một lớp, nên nó thắng mọi khai báo thừa kế
 * của ta, và trên nền tối thì chữ ra gần như vô hình (màu #201D1A trên nền
 * #171120). Khai lại với HAI lớp để thắng lại.
 *
 * Riêng tiêu đề trang phải khai riêng: luật `body.ag-shop h1,h2,h3 { color:
 * inherit }` ở đầu tệp có độ ưu tiên cao hơn một lớp `.ag-page__title`, nên
 * không khai hai lớp ở đây thì tiêu đề vẫn thừa kế màu của theme mẹ.
 */
body.ag-shop .ag-page { color: var(--ag-body); }
body.ag-shop .ag-page__title { color: var(--ag-text); }

.ag-page__head { padding: 56px 0 46px; border-bottom: 1px solid var(--ag-line); background: var(--ag-surface); }
.ag-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ag-muted); font-size: 13px; }
.ag-crumb a:hover { color: var(--ag-gold); }
.ag-crumb span[aria-hidden] { color: var(--ag-line); }
.ag-page__title { margin-top: 14px; color: var(--ag-text); font-size: clamp(34px, 4.3vw, 56px); font-weight: 400; }
.ag-page__sub { max-width: 640px; margin: 14px 0 0; color: var(--ag-body); font-size: 16px; }

/* =====================================================================
 * CỬA HÀNG
 * ===================================================================== */
.ag-shop { padding: 38px 0 var(--ag-pad); }
.ag-shop__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
	gap: 16px; margin-bottom: 30px; }
.ag-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.ag-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 18px;
	border: 1px solid var(--ag-line); border-radius: 999px; color: var(--ag-body); font-size: 13.5px;
	font-weight: 600; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.ag-chip span { color: var(--ag-muted); font-size: 12px; font-weight: 700; }
.ag-chip:hover { border-color: var(--ag-gold); color: var(--ag-text); }
.ag-chip.is-on { background: var(--ag-gold); border-color: var(--ag-gold); color: var(--ag-ink); }
.ag-chip.is-on span { color: rgba(15,11,20,.6); }

.ag-shop__sort form.woocommerce-ordering { margin: 0; }
.ag-shop__sort select, body.ag-shop .woocommerce-ordering select {
	min-height: 40px; border: 1px solid var(--ag-line); border-radius: 999px; padding: 0 14px;
	background: var(--ag-surface-2); color: var(--ag-text); font-size: 13.5px; }

.ag-trong { padding: 44px 0; color: var(--ag-body); }

/* --- Lưới và thẻ sản phẩm (dùng chung cho cửa hàng, danh mục, liên quan) --- */
body.ag-shop ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 26px; margin: 0; padding: 0; list-style: none; }
body.ag-shop ul.products::before, body.ag-shop ul.products::after { display: none; }
body.ag-shop ul.products li.product { position: relative; float: none; width: auto; margin: 0; min-width: 0; }

/* `overflow: hidden` đặt ở thẻ <a> bọc ngoài để phần ảnh phóng ra bị cắt gọn
   trong khung bo 24px. */
body.ag-shop ul.products li.product > a { display: block; overflow: hidden; border-radius: var(--ag-r); }
body.ag-shop ul.products li.product a img {
	width: 100%; aspect-ratio: 3 / 4; margin: 0; object-fit: cover;
	border-radius: var(--ag-r); background: var(--ag-surface-2);
	transition: transform .55s cubic-bezier(.22,.8,.3,1); }
body.ag-shop ul.products li.product:hover a img { transform: scale(1.05); }

/* Nhãn "Sale!" mặc định của WooCommerce bị tắt: theme đã có nhãn riêng ở
   `ag_nhan()` (inc/shop.php), để cả hai thì hai nhãn chồng lên nhau. */
body.ag-shop span.onsale { display: none; }

.ag-tags { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; gap: 6px; }
.ag-tag { display: inline-flex; align-items: center; height: 25px; padding: 0 11px; border-radius: 999px;
	background: var(--ag-gold); color: var(--ag-ink); font-size: 10.5px; font-weight: 800;
	letter-spacing: .12em; text-transform: uppercase; }
.ag-tag--sale { background: var(--ag-rose); }

body.ag-shop ul.products li.product .woocommerce-loop-product__title {
	padding: 16px 0 0; color: var(--ag-text); font-family: var(--ag-serif);
	font-size: 20px; font-weight: 400; line-height: 1.3; }
body.ag-shop ul.products li.product .price { display: block; margin: 6px 0 0; color: var(--ag-text);
	font-size: 15.5px; font-weight: 700; }
body.ag-shop ul.products li.product .price del { margin-right: 8px; color: var(--ag-muted); font-weight: 500; }
body.ag-shop ul.products li.product .price ins { text-decoration: none; color: var(--ag-rose); }
body.ag-shop ul.products li.product .button { margin-top: 14px; }

/* Nút trong lưới và mọi nút của WooCommerce dùng chung một kiểu. */
body.ag-shop ul.products li.product .button,
body.ag-shop a.button, body.ag-shop button.button, body.ag-shop input.button,
body.ag-shop .button.alt, body.ag-shop #place_order {
	min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--ag-gold); border-radius: var(--ag-r-btn); padding: 0 22px;
	background: transparent; color: var(--ag-gold); font-size: 12px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; line-height: 1;
	/* Thẻ sản phẩm hẹp lại ở lưới ba cột; không chặn thì "Thêm vào giỏ" gãy hai
	   dòng và nút cao gấp đôi các nút bên cạnh. */
	white-space: nowrap;
	transition: background .22s ease, color .22s ease, transform .22s cubic-bezier(.22,.8,.3,1); }
body.ag-shop ul.products li.product .button:hover,
body.ag-shop a.button:hover, body.ag-shop button.button:hover, body.ag-shop input.button:hover,
body.ag-shop .button.alt:hover, body.ag-shop #place_order:hover {
	background: var(--ag-gold); color: var(--ag-ink); transform: translateY(-2px); }

body.ag-shop .woocommerce-pagination { grid-column: 1 / -1; margin-top: 46px; }
body.ag-shop .woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; border: 0; }
body.ag-shop .woocommerce-pagination li { border: 0; }
body.ag-shop .woocommerce-pagination a, body.ag-shop .woocommerce-pagination span {
	min-width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--ag-line);
	border-radius: 999px; color: var(--ag-body); font-size: 14px; font-weight: 600; }
body.ag-shop .woocommerce-pagination a:hover { border-color: var(--ag-gold); color: var(--ag-gold); }
body.ag-shop .woocommerce-pagination span.current { background: var(--ag-gold); border-color: var(--ag-gold); color: var(--ag-ink); }

/* Thông báo của WooCommerce trên nền tối. */
body.ag-shop .woocommerce-message, body.ag-shop .woocommerce-info, body.ag-shop .woocommerce-error {
	border-top: 2px solid var(--ag-gold); border-radius: var(--ag-r-sm);
	background: var(--ag-surface); color: var(--ag-body); }
body.ag-shop .woocommerce-message a, body.ag-shop .woocommerce-info a { color: var(--ag-gold); }

/* =====================================================================
 * CHI TIẾT SẢN PHẨM
 * ===================================================================== */
.ag-single__wrap { padding: 46px 0 var(--ag-pad); }
body.ag-shop div.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
body.ag-shop div.product div.images, body.ag-shop div.product div.summary { float: none; width: 100%; margin: 0; }
body.ag-shop div.product div.images img { width: 100%; border-radius: var(--ag-r); }
body.ag-shop div.product .woocommerce-product-gallery__wrapper { margin: 0; }
body.ag-shop div.product p.price, body.ag-shop div.product span.price {
	margin: 0 0 18px; color: var(--ag-text); font-size: 30px; font-weight: 700; }
body.ag-shop div.product p.price del { margin-right: 10px; color: var(--ag-muted); font-size: 21px; font-weight: 500; }
body.ag-shop div.product p.price ins { text-decoration: none; color: var(--ag-rose); }
body.ag-shop div.product .woocommerce-product-details__short-description {
	margin-bottom: 24px; color: var(--ag-body); font-size: 16.5px; }
body.ag-shop div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 26px; }
body.ag-shop .quantity input.qty { width: 86px; min-height: 44px; border: 1px solid var(--ag-line);
	border-radius: var(--ag-r-sm); padding: 0 12px; background: var(--ag-surface-2); color: var(--ag-text);
	text-align: center; font-size: 15px; }
body.ag-shop div.product form.cart .button { background: var(--ag-gold); color: var(--ag-ink); }
body.ag-shop div.product form.cart .button:hover { background: var(--ag-gold-soft); border-color: var(--ag-gold-soft); }
body.ag-shop div.product .product_meta { padding-top: 22px; border-top: 1px solid var(--ag-line);
	color: var(--ag-muted); font-size: 14px; }
body.ag-shop div.product .product_meta a { color: var(--ag-gold); }

/*
 * `div.product` là lưới hai cột, nên MỌI khối đi sau phần tóm tắt đều là con
 * của lưới ấy. Không cho chúng trải hết hàng thì chúng rơi vào một ô hẹp: lưới
 * sản phẩm liên quan bốn cột bị nhét vào nửa bề ngang, tên sản phẩm xuống dòng
 * từng chữ một và nút vỡ thành ba dòng.
 */
body.ag-shop div.product .woocommerce-tabs,
body.ag-shop div.product .related,
body.ag-shop div.product .upsells { grid-column: 1 / -1; }

body.ag-shop .woocommerce-tabs { margin-top: 60px; }
body.ag-shop .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; border: 0; }
body.ag-shop .woocommerce-tabs ul.tabs::before { display: none; }
body.ag-shop .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 1px solid var(--ag-line);
	border-radius: 999px; background: transparent; }
body.ag-shop .woocommerce-tabs ul.tabs li::before, body.ag-shop .woocommerce-tabs ul.tabs li::after { display: none; }
body.ag-shop .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 20px; color: var(--ag-body);
	font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
body.ag-shop .woocommerce-tabs ul.tabs li.active { background: var(--ag-gold); border-color: var(--ag-gold); }
body.ag-shop .woocommerce-tabs ul.tabs li.active a { color: var(--ag-ink); }
body.ag-shop .woocommerce-Tabs-panel h2 { margin: 0 0 14px; color: var(--ag-text); font-size: 28px; }
body.ag-shop .woocommerce-Tabs-panel p { max-width: 780px; margin: 0; color: var(--ag-body); font-size: 16.5px; }

body.ag-shop div.product .related { margin-top: 68px; }
body.ag-shop div.product .related > h2 { margin: 0 0 26px; color: var(--ag-text);
	font-size: clamp(26px, 2.8vw, 36px); }
body.ag-shop div.product .related ul.products { width: 100%; }

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

.ag-paper { background: var(--ag-paper); color: var(--ag-paper-ink); }
.ag-paper .ag-page__body { padding: clamp(28px, 4vw, 52px) 0 var(--ag-pad); }
.ag-paper .ag-wrap > * { max-width: 100%; }
body.ag-shop .ag-paper h1, body.ag-shop .ag-paper h2, body.ag-shop .ag-paper h3 { color: var(--ag-paper-ink); }
.ag-paper a { color: #8A6A1E; }
.ag-paper a:hover { color: var(--ag-paper-ink); }

body.ag-shop .ag-paper .wc-block-components-button:not(.is-link),
body.ag-shop .ag-paper .wc-block-cart__submit-button,
body.ag-shop .ag-paper .wc-block-components-checkout-place-order-button,
body.ag-shop .ag-paper a.button, body.ag-shop .ag-paper button.button,
body.ag-shop .ag-paper input.button, body.ag-shop .ag-paper .button.alt,
body.ag-shop .ag-paper #place_order {
	min-height: 50px; border: 1px solid var(--ag-paper-ink); border-radius: var(--ag-r-btn); padding: 0 26px;
	background: var(--ag-paper-ink); color: var(--ag-paper); font-size: 13px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase;
	transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s cubic-bezier(.22,.8,.3,1); }
body.ag-shop .ag-paper .wc-block-components-button:not(.is-link):hover,
body.ag-shop .ag-paper .wc-block-cart__submit-button:hover,
body.ag-shop .ag-paper .wc-block-components-checkout-place-order-button:hover,
body.ag-shop .ag-paper a.button:hover, body.ag-shop .ag-paper button.button:hover,
body.ag-shop .ag-paper input.button:hover, body.ag-shop .ag-paper .button.alt:hover,
body.ag-shop .ag-paper #place_order:hover {
	background: var(--ag-gold-dim); border-color: var(--ag-gold-dim); color: #fff; transform: translateY(-2px); }

body.ag-shop .ag-paper .wc-block-components-totals-item__value,
body.ag-shop .ag-paper .wc-block-components-product-price { color: var(--ag-paper-ink); font-weight: 700; }
body.ag-shop .ag-paper .wc-block-cart-items__row { border-color: var(--ag-paper-line); }
body.ag-shop .ag-paper .wc-block-components-product-name { color: var(--ag-paper-ink); font-weight: 600; }
body.ag-shop .ag-paper .wc-block-components-product-name:hover { color: var(--ag-gold-dim); }
body.ag-shop .ag-paper .wc-block-components-text-input input,
body.ag-shop .ag-paper .wc-block-components-address-form input,
body.ag-shop .ag-paper .wc-block-components-quantity-selector { border-radius: var(--ag-r-sm); }
body.ag-shop .ag-paper .wc-block-components-panel__button { color: var(--ag-paper-ink); }

/*
 * Lưới sản phẩm lọt vào vùng nền giấy: khối "Mới trong cửa hàng" của giỏ hàng
 * rỗng, và các gợi ý ở trang tài khoản. Thẻ sản phẩm vốn khai màu cho nền tối,
 * không đảo lại thì tên và giá ra chữ sáng trên nền sáng. Nút thì để nguyên
 * luật nút của vùng giấy ở trên, cho khớp với nút "Tiến hành thanh toán".
 */
body.ag-shop .ag-paper ul.products li.product .woocommerce-loop-product__title,
body.ag-shop .ag-paper ul.products li.product .price { color: var(--ag-paper-ink); }
body.ag-shop .ag-paper ul.products li.product .price del { color: #8A8178; }
body.ag-shop .ag-paper ul.products li.product .price ins { color: #B0506A; }
body.ag-shop .ag-paper ul.products li.product a img { background: #EFEAE3; }
body.ag-shop .ag-paper .ag-tag { background: var(--ag-paper-ink); color: var(--ag-paper); }
body.ag-shop .ag-paper .ag-tag--sale { background: #B0506A; }

/* Bảng giỏ hàng bản cổ điển (nếu quản trị viên đổi về shortcode). */
body.ag-shop .ag-paper table.shop_table { border-color: var(--ag-paper-line); }
body.ag-shop .ag-paper table.shop_table th { color: var(--ag-paper-ink); }
body.ag-shop .ag-paper .woocommerce-message, body.ag-shop .ag-paper .woocommerce-info,
body.ag-shop .ag-paper .woocommerce-error {
	border-top-color: var(--ag-gold-dim); background: #fff; color: var(--ag-paper-ink); }
body.ag-shop .ag-paper .woocommerce-message a, body.ag-shop .ag-paper .woocommerce-info a { color: #8A6A1E; }
body.ag-shop .ag-paper input[type="text"], body.ag-shop .ag-paper input[type="email"],
body.ag-shop .ag-paper input[type="tel"], body.ag-shop .ag-paper input[type="password"],
body.ag-shop .ag-paper textarea, body.ag-shop .ag-paper select {
	border: 1px solid var(--ag-paper-line); border-radius: var(--ag-r-sm); padding: 11px 14px;
	background: #fff; color: var(--ag-paper-ink); }

/* =====================================================================
 * Ô NHẬN BẢN TIN + LỜI NHẮN
 * ===================================================================== */
.ag-sub { display: flex; gap: 9px; margin-top: 18px; }
.ag-sub__in { flex: 1 1 auto; min-width: 0; height: 46px; border: 1px solid var(--ag-line);
	border-radius: var(--ag-r-sm); padding: 0 16px; background: var(--ag-surface-2); color: var(--ag-text);
	font-size: 14.5px; transition: border-color .25s ease, box-shadow .25s ease; }
.ag-sub__in::placeholder { color: var(--ag-muted); }
.ag-sub__in:focus { outline: 0; border-color: var(--ag-gold); box-shadow: 0 0 0 3px rgba(216,179,106,.14); }
.ag-sub__go { height: 46px; flex: none; border: 0; border-radius: var(--ag-r-btn); padding: 0 20px;
	background: var(--ag-gold); color: var(--ag-ink); font-size: 12px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
	transition: background .2s ease, transform .2s ease; }
.ag-sub__go:hover { background: var(--ag-gold-soft); transform: translateY(-1px); }
.ag-sub__note { margin: 13px 0 0; color: var(--ag-muted); font-size: 12.5px; line-height: 1.7; }

/* Tự ẩn sau 8 giây: lời nhắn chỉ xác nhận một thao tác, để mãi thì che góc màn
   hình. Trình đọc màn hình đã đọc nó ngay lúc xuất hiện nhờ `role="status"`. */
.ag-toast { position: fixed; z-index: 80; right: 18px; bottom: 18px; max-width: 340px;
	border: 1px solid var(--ag-line); border-top: 2px solid var(--ag-gold); border-radius: var(--ag-r-sm);
	padding: 15px 17px; background: var(--ag-surface); color: var(--ag-body); font-size: 14px; line-height: 1.65;
	box-shadow: var(--ag-shadow);
	animation: ag-toast-in .35s cubic-bezier(.22,.8,.3,1) both, ag-toast-out .45s ease 8s both; }
@keyframes ag-toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ag-toast-out { to { opacity: 0; visibility: hidden; } }

/* --- Cửa hàng và sản phẩm ở màn hình hẹp --- */
@media (max-width: 1100px) {
	body.ag-shop ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	body.ag-shop div.product { grid-template-columns: 1fr; gap: 26px; }
	.ag-page__head { padding: 42px 0 34px; }
}
@media (max-width: 640px) {
	body.ag-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
	body.ag-shop ul.products li.product .woocommerce-loop-product__title { font-size: 18px; }
	body.ag-shop ul.products li.product .price { font-size: 14.5px; }
	.ag-shop__bar { gap: 12px; }
	.ag-chips { gap: 7px; }
	.ag-chip { min-height: 36px; padding: 0 14px; font-size: 13px; }
}

/* =====================================================================
 * TRANG CHỦ
 * ===================================================================== */
.ag-sec { padding: var(--ag-pad) 0; }
.ag-sec--soft { background: var(--ag-surface); }
.ag-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 38px; }
.ag-sec__head h2 { color: var(--ag-text); font-size: clamp(30px, 3.6vw, 48px); }

/* --- Hero: chia đôi chữ / ảnh (Nếp dùng ảnh tràn nền, mẫu này không) --- */
.ag-hero { padding: clamp(48px, 6vw, 86px) 0 clamp(48px, 6vw, 92px); overflow: hidden; }
.ag-hero__in { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(32px, 5vw, 76px); }
.ag-hero__copy { max-width: 580px; }
.ag-hero h1 { color: var(--ag-text); font-size: clamp(36px, 4.9vw, 64px); font-weight: 400; }
/* Prata không có bản nghiêng: để `italic` là trình duyệt tự nghiêng giả, chữ
   méo và dấu lệch. Nhấn bằng màu, không bằng kiểu chữ. */
.ag-hero h1 em { font-style: normal; color: var(--ag-gold); }
.ag-hero__sub { max-width: 500px; margin: 22px 0 0; color: var(--ag-body); font-size: clamp(16px, 1.1vw, 18px); }
.ag-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ag-hero__note { margin: 26px 0 0; color: var(--ag-muted); font-size: 13px; }

.ag-hero__media { position: relative; }
.ag-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
	border-radius: var(--ag-r); background: var(--ag-surface-2); }
/* Khung vàng lệch sau ảnh: một nét đồ hoạ, không thêm lượt tải nào. */
.ag-hero__media::before { content: ''; position: absolute; z-index: -1; inset: 26px -26px -26px 26px;
	border: 1px solid rgba(216,179,106,.4); border-radius: var(--ag-r); }
.ag-hero__chip { position: absolute; left: -18px; bottom: 34px; display: grid; gap: 2px;
	padding: 16px 22px; border: 1px solid var(--ag-line); border-radius: var(--ag-r-sm);
	background: rgba(23,17,32,.94); backdrop-filter: blur(8px); box-shadow: var(--ag-shadow); }
.ag-hero__chip strong { color: var(--ag-text); font-size: 15px; font-weight: 700; }
.ag-hero__chip span { color: var(--ag-gold); font-size: 12px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; }

/* --- Dải cam kết --- */
.ag-promise { border-block: 1px solid var(--ag-line); background: var(--ag-surface); }
.ag-promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ag-promise__item { display: flex; align-items: flex-start; gap: 13px; padding: 28px 24px 28px 0; }
.ag-promise__item + .ag-promise__item { padding-left: 24px; border-left: 1px solid var(--ag-line); }
.ag-promise svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--ag-gold); }
.ag-promise strong { display: block; color: var(--ag-text); font-size: 15px; font-weight: 700; }
.ag-promise span { display: block; margin-top: 3px; color: var(--ag-muted); font-size: 13.5px; line-height: 1.6; }

/* --- Danh mục --- */
.ag-dm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ag-dm__item { position: relative; display: block; overflow: hidden; border-radius: var(--ag-r);
	background: var(--ag-surface-2); }
.ag-dm__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
	transition: transform .6s cubic-bezier(.22,.8,.3,1); }
.ag-dm__item:hover img { transform: scale(1.06); }
.ag-dm__item::after { content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(10,7,14,.88) 0%, rgba(10,7,14,.2) 50%, transparent 100%); }
.ag-dm__label { position: absolute; z-index: 2; inset: auto 0 0; padding: 26px 24px; }
.ag-dm__label strong { display: block; color: var(--ag-text); font-family: var(--ag-serif);
	font-size: 25px; font-weight: 400; }
.ag-dm__label span { display: block; margin-top: 5px; color: var(--ag-gold); font-size: 12px;
	font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* --- Nghi thức chăm sóc: ba bước, đánh số bằng ::before --- */
.ag-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ag-steps__item { position: relative; padding: 34px 28px 30px; border: 1px solid var(--ag-line);
	border-radius: var(--ag-r); background: var(--ag-surface);
	transition: border-color .25s ease, transform .25s cubic-bezier(.22,.8,.3,1); }
.ag-steps__item:hover { border-color: rgba(216,179,106,.45); transform: translateY(-4px); }
.ag-steps__item h3 { margin: 0 0 10px; color: var(--ag-text); font-size: 24px; }
.ag-steps__item p { margin: 0; color: var(--ag-body); font-size: 15.5px; }
.ag-steps__no { display: block; margin-bottom: 14px; color: var(--ag-gold); font-family: var(--ag-serif);
	font-size: 38px; font-weight: 400; line-height: 1; }

/* --- Câu chuyện --- */
.ag-story { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.ag-story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--ag-r); }
.ag-story__copy h2 { color: var(--ag-text); font-size: clamp(28px, 3.2vw, 42px); }
.ag-story__copy p { margin: 20px 0 0; color: var(--ag-body); font-size: 16.5px; }
.ag-story__copy .ag-btn { margin-top: 30px; }

/* --- Khối biểu mẫu: CHỈ trên máy tính --- */
.ag-dangky { padding: var(--ag-pad) 0; border-top: 1px solid var(--ag-line); background: var(--ag-surface); }
.ag-dangky__in { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.ag-dangky__art svg { width: 100%; height: auto; }
.ag-dangky__copy h2 { color: var(--ag-text); font-size: clamp(28px, 3.2vw, 42px); }
.ag-dangky__copy > p { max-width: 520px; margin: 18px 0 0; color: var(--ag-body); font-size: 16.5px; }
.ag-dangky__form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ag-dangky__field { flex: 1 1 260px; min-width: 0; height: 52px; border: 1px solid var(--ag-line);
	border-radius: var(--ag-r-sm); padding: 0 18px; background: var(--ag-surface-2); color: var(--ag-text);
	font-size: 15.5px; transition: border-color .25s ease, box-shadow .25s ease; }
.ag-dangky__field::placeholder { color: var(--ag-muted); }
.ag-dangky__field:focus { outline: 0; border-color: var(--ag-gold); box-shadow: 0 0 0 3px rgba(216,179,106,.14); }
.ag-dangky__form .ag-btn { flex: none; min-height: 52px; }
.ag-dangky__note { margin: 15px 0 0; color: var(--ag-muted); font-size: 13px; }

/* Khối gọi nhanh thay cho biểu mẫu trên điện thoại. */
.ag-goi { display: none; }
.ag-goi .ag-wrap { display: grid; gap: 16px; justify-items: start; }
.ag-goi p { margin: 0; color: var(--ag-body); font-size: 16px; }
.ag-goi strong { color: var(--ag-text); }

@media (max-width: 1020px) {
	.ag-hero__in { grid-template-columns: 1fr; }
	.ag-hero__copy { max-width: none; }
	.ag-hero__media { order: -1; }
	.ag-hero__media img { aspect-ratio: 16 / 10; }
	.ag-hero__media::before { display: none; }
	.ag-hero__chip { left: auto; right: 16px; bottom: 16px; }
	.ag-promise__grid { grid-template-columns: repeat(2, 1fr); }
	.ag-promise__item:nth-child(3) { padding-left: 0; border-left: 0; }
	.ag-promise__item:nth-child(n+3) { border-top: 1px solid var(--ag-line); }
	.ag-dm { grid-template-columns: 1fr 1fr; }
	.ag-dm__item:first-child { grid-column: 1 / -1; }
	.ag-dm__item:first-child img { aspect-ratio: 16 / 9; }
	.ag-steps { grid-template-columns: 1fr; }
	.ag-story { grid-template-columns: 1fr; }
	.ag-story__media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 960px) {
	/*
	 * Gõ email trên điện thoại là việc thừa khi bấm gọi nhanh hơn hẳn, nên dưới
	 * 960px biểu mẫu ẩn hẳn và khối gọi nhanh thế chỗ. `display: none` cũng gỡ
	 * luôn khỏi thứ tự tiêu điểm bàn phím, không cần thêm `inert`.
	 */
	.ag-dangky__art, .ag-dangky__form, .ag-dangky__note { display: none; }
	.ag-dangky__in { grid-template-columns: 1fr; }
	.ag-goi { display: block; margin-top: 28px; }
}
@media (max-width: 760px) {
	.ag-sec__head { flex-direction: column; align-items: flex-start; gap: 14px; }
	.ag-promise__grid { grid-template-columns: 1fr; }
	.ag-promise__item { padding: 20px 0; }
	.ag-promise__item + .ag-promise__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--ag-line); }
	.ag-dm { grid-template-columns: 1fr; }
	.ag-dm__item:first-child img { aspect-ratio: 3 / 4; }
	.ag-dm__label { padding: 20px 18px; }
	.ag-dm__label strong { font-size: 22px; }
	.ag-hero__chip { padding: 12px 16px; }
}

/* =====================================================================
 * TRANG GIỚI THIỆU
 * ===================================================================== */
.ag-gt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ag-gt__item { padding: 30px 28px; border: 1px solid var(--ag-line); border-radius: var(--ag-r);
	background: var(--ag-ink); transition: border-color .25s ease, transform .25s cubic-bezier(.22,.8,.3,1); }
.ag-gt__item:hover { border-color: rgba(216,179,106,.45); transform: translateY(-4px); }
.ag-gt__item h3 { margin: 0 0 10px; color: var(--ag-text); font-size: 22px; }
.ag-gt__item p { margin: 0; color: var(--ag-body); font-size: 15.5px; }

.ag-gt__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
	padding: 44px; border: 1px solid var(--ag-line); border-radius: var(--ag-r); background: var(--ag-surface); }
.ag-gt__cta h2 { color: var(--ag-text); font-size: clamp(25px, 2.6vw, 34px); }
.ag-gt__cta p { max-width: 540px; margin: 12px 0 0; color: var(--ag-body); font-size: 16px; }
.ag-gt__cta-btn { display: flex; flex-wrap: wrap; gap: 11px; }

/* =====================================================================
 * TRANG LIÊN HỆ
 * ===================================================================== */
.ag-lh { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 68px); align-items: start; }
.ag-lh h2 { color: var(--ag-text); font-size: clamp(26px, 2.8vw, 36px); }
.ag-lh__list { list-style: none; margin: 28px 0 0; padding: 0; }
.ag-lh__list li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-top: 1px solid var(--ag-line); }
.ag-lh__list li:last-child { border-bottom: 1px solid var(--ag-line); }
.ag-lh__list svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--ag-gold); }
.ag-lh__list strong { display: block; margin-bottom: 3px; color: var(--ag-muted); font-size: 11.5px;
	font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ag-lh__list span { color: var(--ag-text); font-size: 16.5px; }
.ag-lh__list a { color: var(--ag-text); }
.ag-lh__list a:hover { color: var(--ag-gold); }
.ag-lh__anh { width: 100%; margin-top: 32px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--ag-r); }

.ag-form { margin-top: 26px; }
.ag-form__row { display: grid; gap: 7px; margin: 0 0 16px; }
.ag-form__row label { color: var(--ag-text); font-size: 13px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; }
.ag-form input, .ag-form textarea {
	width: 100%; border: 1px solid var(--ag-line); border-radius: var(--ag-r-sm); padding: 12px 15px;
	background: var(--ag-surface-2); color: var(--ag-text); font-size: 16px;
	transition: border-color .22s ease, box-shadow .22s ease; }
.ag-form input { min-height: 48px; }
.ag-form textarea { resize: vertical; min-height: 130px; }
.ag-form input:focus, .ag-form textarea:focus { outline: 0; border-color: var(--ag-gold);
	box-shadow: 0 0 0 3px rgba(216,179,106,.14); }
.ag-form__note { margin: 15px 0 0; color: var(--ag-muted); font-size: 13px; line-height: 1.7; }

.ag-goi--lh { padding: 0 0 var(--ag-pad); }

@media (max-width: 1020px) {
	.ag-gt { grid-template-columns: 1fr 1fr; }
	.ag-lh { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
	/* Cùng quy tắc với khối biểu mẫu ở trang chủ: dưới 960px thì gọi, không gõ. */
	.ag-lh__form { display: none; }
	.ag-goi--lh { display: block; }
}
@media (max-width: 680px) {
	.ag-gt { grid-template-columns: 1fr; }
	.ag-gt__cta { padding: 28px 22px; }
}

/* =====================================================================
 * MÀN HÌNH HẸP — ĐẦU TRANG VÀ CHÂN TRANG
 * ===================================================================== */
@media (max-width: 1180px) {
	.ag-search { display: none; }
	.ag-nav ul { gap: 20px; }
}
@media (max-width: 1000px) {
	.ag-head__row { grid-template-columns: 1fr auto; }
	.ag-burger { display: inline-flex; }
	.ag-nav { position: absolute; inset: 100% 0 auto; display: none; padding: 10px var(--ag-gut) 20px;
		border-bottom: 1px solid var(--ag-line); background: var(--ag-ink);
		box-shadow: 0 22px 40px -26px rgba(0,0,0,.95); }
	/* Chỉ chạy lúc mở. Đóng thì ẩn ngay, vì `display: none` cắt mọi chuyển cảnh. */
	.ag-nav.is-open { display: block; animation: ag-drop .28s cubic-bezier(.22,.8,.3,1) both; }
	@keyframes ag-drop { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: translateY(0); } }
	.ag-nav ul { display: grid; gap: 0; }
	.ag-nav a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--ag-line); font-size: 13px; }
	.ag-nav a::before { display: none; }
	.ag-foot__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
	.ag-foot__news { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.ag-head__row { min-height: 72px; gap: 12px; }
	.ag-brand__mark { width: 38px; height: 38px; }
	.ag-brand__name { font-size: 25px; }
	.ag-cart__label { display: none; }
	.ag-bar a { display: none; }
	.ag-bar__in { min-height: 34px; font-size: 12.5px; }
	.ag-foot__grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding: 50px 0 38px; }
	.ag-foot__brand { grid-column: 1 / -1; }
	/* Cùng quy tắc với biểu mẫu ở trang chủ và trang liên hệ: trên điện thoại
	   không bắt khách gõ email. Giấu cả cột — để lại mỗi tiêu đề "Nhận bản tin"
	   mà không có ô nhập thì chẳng để làm gì. */
	.ag-foot__news { display: none; }
	.ag-foot__bot .ag-wrap { flex-direction: column; align-items: flex-start; gap: 7px; }
}

/* Ai xin bớt chuyển động thì không thấy gì chạy. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
