/*
 * Site Household - kieu dang chung.
 *
 * Nen kem giay am, chu tieu de Fraunces, chu than bai Hanken Grotesk, diem
 * nhan do gach. Anh san pham luon dat tren o mau trang vi anh Amazon deu nen
 * trang: de len nen kem se thay mot o trang vuong lo ra giua trang.
 */

:root {
	--bg: #fbf7f0;
	--surface: #ffffff;
	--ink: #241f1a;
	--muted: #6b6156;
	--line: #e6ddcf;
	--accent: #b8342f;
	--accent-dk: #8f2622;

	--serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1160px;
	--art: 720px;
	--r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.62;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.16; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hh-skip {
	position: absolute; left: -9999px; top: 0; z-index: 99;
	background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.hh-skip:focus { left: 0; }

/* ---------------------------------------------------------------- */
/* Chu nho dung chung                                                */
/* ---------------------------------------------------------------- */

.hh-kicker {
	font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
	font-weight: 700; color: var(--accent); margin: 0 0 8px;
}

.hh-eyebrow {
	font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
	font-weight: 700; color: var(--accent); margin: 0 0 6px;
}

.hh-fine { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 6px 0 0; }
.hh-fine--wide { max-width: 62ch; }

.hh-mini { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.hh-mini__n {
	font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--ink);
}

/* ---------------------------------------------------------------- */
/* Dau trang                                                         */
/* ---------------------------------------------------------------- */

.hh-head { background: var(--surface); border-bottom: 1px solid var(--line); }

.hh-head__top {
	max-width: var(--wrap); margin: 0 auto; padding: 18px 16px 14px;
	display: grid; gap: 10px; justify-items: center; text-align: center;
}

.hh-head__brand {
	font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 6vw, 40px);
	letter-spacing: -0.02em; text-decoration: none; text-transform: uppercase;
}

.hh-head__side { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0; }

.hh-nav { border-top: 1px solid var(--line); background: var(--surface); }
.hh-nav ul {
	max-width: var(--wrap); margin: 0 auto; padding: 0 16px;
	list-style: none; display: flex; gap: 20px; flex-wrap: nowrap;
	overflow-x: auto; scrollbar-width: none;
}
.hh-nav ul::-webkit-scrollbar { display: none; }
.hh-nav li { flex: 0 0 auto; }
.hh-nav a {
	display: block; padding: 11px 0; text-decoration: none; white-space: nowrap;
	font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
	border-bottom: 2px solid transparent;
}
.hh-nav a:hover, .hh-nav a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------------------------------------------------------------- */
/* O tim kiem                                                        */
/* ---------------------------------------------------------------- */

.hh-search { display: flex; gap: 6px; max-width: 330px; width: 100%; }
.hh-search input {
	flex: 1 1 auto; min-width: 0; font: inherit; font-size: 14px;
	padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
	background: var(--bg); color: var(--ink);
}
.hh-search button {
	flex: 0 0 auto; font: inherit; font-size: 12px; font-weight: 700;
	letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
	padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ink);
	background: var(--ink); color: #fff;
}
.hh-search button:hover { background: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------------- */
/* Khung trang                                                       */
/* ---------------------------------------------------------------- */

.hh-main { display: block; }
.hh-wrap { max-width: var(--wrap); margin: 0 auto; padding: 28px 16px 64px; }
.hh-sec { margin: 0 0 54px; }
.hh-sec--rail { margin-bottom: 38px; }

.hh-bhead { border-top: 2px solid var(--ink); padding-top: 12px; margin: 0 0 22px; }
.hh-bhead__h { font-size: clamp(22px, 3.4vw, 30px); }
.hh-bhead__note { font-size: 13px; color: var(--muted); margin: 8px 0 0; max-width: 60ch; }

.hh-phead { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin: 0 0 26px; }
.hh-phead__h { font-size: clamp(28px, 6vw, 46px); }
.hh-phead__count {
	font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--muted); margin: 10px 0 0;
}
.hh-phead__dek { color: var(--muted); margin: 12px 0 0; max-width: 62ch; }
.hh-phead__form { margin: 16px 0 0; }

/* ---------------------------------------------------------------- */
/* Bai mo dau                                                        */
/* ---------------------------------------------------------------- */

.hh-lead { display: grid; gap: 22px; align-items: center; }

.hh-lead__fig {
	position: relative; display: block; background: var(--surface);
	border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
	aspect-ratio: 4 / 3;
}
.hh-lead__fig img { width: 100%; height: 100%; object-fit: contain; padding: 22px; }

.hh-lead__h { font-size: clamp(26px, 5vw, 42px); margin: 0 0 12px; }
.hh-lead__h a { text-decoration: none; }
.hh-lead__h a:hover { color: var(--accent); }
.hh-lead__dek { color: var(--muted); margin: 0 0 14px; }
.hh-lead__go a {
	font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
	color: var(--accent); text-decoration: none; border-bottom: 2px solid var(--accent);
	padding-bottom: 2px;
}

@media (min-width: 860px) {
	.hh-lead { grid-template-columns: 1.25fr 1fr; gap: 38px; }
}

/* The diem noi tren goc anh */
.hh-score {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
	padding: 10px 14px; text-align: center; min-width: 116px;
}
.hh-score--float { position: absolute; left: 14px; bottom: 14px; box-shadow: 0 6px 18px rgba(36, 31, 26, 0.12); }
.hh-score__num { font-family: var(--serif); font-weight: 900; font-size: 30px; line-height: 1; margin: 0; }
.hh-score__num span { font-size: 14px; font-weight: 600; color: var(--muted); }
.hh-score__src {
	font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--muted); margin: 6px 0 0; line-height: 1.4;
}

/* ---------------------------------------------------------------- */
/* Huy hieu, gia, nut mua                                            */
/* ---------------------------------------------------------------- */

.hh-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.hh-badge__mark {
	background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}
.hh-badge__rule { font-size: 12px; color: var(--muted); }
.hh-badge--art { margin: 14px 0 16px; }

.hh-price { margin: 0 0 12px; font-size: 15px; }
.hh-price__now { font-family: var(--serif); font-weight: 700; font-size: 22px; }
.hh-price__old { color: var(--muted); }
.hh-price__off { color: var(--accent); font-weight: 700; font-size: 13px; }
.hh-price--sm .hh-price__now { font-size: 17px; }

.hh-buy {
	display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
	font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 12px 20px; border-radius: 999px;
}
.hh-buy:hover { background: var(--accent-dk); }
.hh-buy__p { font-weight: 600; opacity: 0.85; }

/* ---------------------------------------------------------------- */
/* Luoi the bai                                                      */
/* ---------------------------------------------------------------- */

.hh-grid { display: grid; gap: 30px 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.hh-card__fig {
	position: relative; display: block; background: var(--surface);
	border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
	aspect-ratio: 1 / 1;
}
.hh-card__fig img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.hh-card__rank {
	position: absolute; left: 0; top: 0; background: var(--ink); color: #fff;
	font-family: var(--serif); font-weight: 700; font-size: 14px; padding: 4px 10px;
}
.hh-card__body { padding: 14px 2px 0; }
.hh-card__h { font-size: 19px; line-height: 1.25; }
.hh-card__h a { text-decoration: none; }
.hh-card__h a:hover { color: var(--accent); }
.hh-card__dek { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* ---------------------------------------------------------------- */
/* Dai chuyen muc ngang                                              */
/* ---------------------------------------------------------------- */

.hh-catrail {
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	padding: 12px 0; margin: 0 0 26px;
}
.hh-catrail ul {
	list-style: none; display: flex; gap: 10px; flex-wrap: nowrap;
	overflow-x: auto; scrollbar-width: none; padding: 2px;
}
.hh-catrail ul::-webkit-scrollbar { display: none; }
.hh-catrail li { flex: 0 0 auto; }
.hh-catrail a {
	display: flex; align-items: baseline; gap: 7px; white-space: nowrap;
	background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
	padding: 8px 15px; text-decoration: none; font-size: 13px; font-weight: 600;
}
.hh-catrail a:hover { border-color: var(--accent); color: var(--accent); }
.hh-catrail a span { font-size: 11px; color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------- */
/* Bang xep theo diem nguoi mua                                      */
/* ---------------------------------------------------------------- */

.hh-sec--band {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
	padding: 26px 20px;
}
.hh-rank { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.hh-rank__i { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
.hh-rank__fig {
	display: block; background: var(--bg); border: 1px solid var(--line);
	border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1;
}
.hh-rank__fig img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.hh-rank__n {
	font-family: var(--serif); font-weight: 900; font-size: 13px; color: var(--accent);
	margin: 0 0 4px; letter-spacing: 0.1em;
}
.hh-rank__h { font-size: 16px; line-height: 1.28; }
.hh-rank__h a { text-decoration: none; }
.hh-rank__h a:hover { color: var(--accent); }

/* ---------------------------------------------------------------- */
/* Dai so lieu                                                       */
/* ---------------------------------------------------------------- */

.hh-trust { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.hh-trust__i { border-top: 2px solid var(--line); padding-top: 12px; }
.hh-trust__n { display: block; font-family: var(--serif); font-weight: 900; font-size: 30px; }
.hh-trust__t { display: block; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- */
/* Phan trang, duong dan, khoi rong                                  */
/* ---------------------------------------------------------------- */

.hh-pager { margin: 40px 0 0; }
.hh-pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hh-pager a, .hh-pager span {
	display: block; padding: 9px 14px; border: 1px solid var(--line);
	border-radius: 999px; background: var(--surface); text-decoration: none; font-size: 14px;
}
.hh-pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.hh-pager a:hover { border-color: var(--accent); color: var(--accent); }

.hh-crumbs {
	display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px;
	font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.hh-crumbs a { text-decoration: none; }
.hh-crumbs a:hover { color: var(--accent); }

.hh-empty {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
	padding: 28px 20px; margin: 0 0 26px;
}
.hh-empty p { margin: 0 0 14px; color: var(--muted); }

/* ---------------------------------------------------------------- */
/* Cot bai - dung chung cho trang bai va trang tinh                   */
/* ---------------------------------------------------------------- */

/*
 * Phan nay nam o main.css chu khong o article.css: trang tinh cung dung cot
 * nay, ma article.css chi duoc nap o trang bai.
 */

.hh-art { max-width: var(--art); margin: 0 auto; padding: 28px 16px 64px; }
.hh-art__head { margin: 0 0 22px; }
.hh-art__h { font-size: clamp(28px, 6.4vw, 44px); line-height: 1.1; }
.hh-art__by { font-size: 13px; color: var(--muted); margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.hh-art__by a { color: var(--ink); }

.hh-body { font-size: 18px; line-height: 1.72; }
.hh-body p { margin: 0 0 1.15em; }
.hh-body a { color: var(--accent-dk); text-underline-offset: 2px; }
.hh-body h2 { font-size: clamp(23px, 4.6vw, 30px); margin: 1.9em 0 0.6em; }
.hh-body h3 { font-size: 19px; margin: 1.5em 0 0.5em; }
.hh-body ul, .hh-body ol { margin: 0 0 1.2em; padding-left: 1.25em; }
.hh-body li { margin: 0 0 0.45em; }
.hh-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 1.4em; }
.hh-body th, .hh-body td { border-bottom: 1px solid var(--line); padding: 9px 8px; text-align: left; vertical-align: top; }
.hh-body img { border-radius: var(--r); }

/* ---------------------------------------------------------------- */
/* Chan trang                                                        */
/* ---------------------------------------------------------------- */

.hh-foot { background: var(--surface); border-top: 1px solid var(--line); margin-top: 20px; }
.hh-foot__in {
	max-width: var(--wrap); margin: 0 auto; padding: 40px 16px 28px;
	display: grid; gap: 28px;
}
.hh-foot__name { font-family: var(--serif); font-weight: 900; font-size: 22px; text-transform: uppercase; margin: 0 0 8px; }
.hh-foot__blurb { color: var(--muted); font-size: 14px; max-width: 42ch; margin: 0; }
.hh-foot__h {
	font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
	font-weight: 700; margin: 0 0 10px;
}
.hh-foot__col ul { list-style: none; display: grid; gap: 7px; }
.hh-foot__col a { font-size: 14px; color: var(--muted); text-decoration: none; }
.hh-foot__col a:hover { color: var(--accent); }
.hh-foot__rule {
	max-width: var(--wrap); margin: 0 auto; padding: 18px 16px 34px;
	border-top: 1px solid var(--line);
}
.hh-foot__note { font-size: 12px; color: var(--muted); margin: 0 0 8px; max-width: 78ch; }
.hh-foot__copy { font-size: 12px; color: var(--muted); margin: 0; }

@media (min-width: 760px) {
	.hh-foot__in { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---------------------------------------------------------------- */
/* Dien thoai hep                                                    */
/* ---------------------------------------------------------------- */

@media (max-width: 420px) {
	body { font-size: 16px; }
	.hh-grid { gap: 26px 16px; grid-template-columns: 1fr; }
	.hh-rank__i { grid-template-columns: 70px 1fr; }
	.hh-head__side { display: none; }
	.hh-head__side--r { display: block; width: 100%; }
	.hh-head__top { padding-bottom: 12px; }
}


/* === de mau chu huy hieu plugin === */
/*
 * Huy hieu cua plugin dat chu cung mau voi nen (nen la chinh mau do pha 10%
 * do duc), nen tuong phan chi 2.5-4.1 - duoi chuan AA 4.5, rieng nhan
 * 'Prime' gan nhu khong doc duoc.
 *
 * Chi doi MAU CHU, giu nguyen nen cua plugin. Dung hai lop cung ten de co do
 * uu tien cao hon luat goc ma khong phai dung !important.
 *
 * Khong sua tep CSS cua plugin: ban cap nhat sau nay se ghi de len.
 */
.acms-badge.acms-badge--prime   { color: #01607f; }
.acms-badge.acms-badge--danger  { color: #a81b1b; }
.acms-badge.acms-badge--success { color: #10693a; }
.acms-badge.acms-badge--warning { color: #8a5a06; }
.acms-badge.acms-badge--info    { color: #0b5e86; }


/* === mau chu phu cua plugin === */
/*
 * Plugin lay mau chu phu tu `var(--color-text-muted, #9ca3af)`. Khong theme
 * nao dat bien do nen no roi ve #9ca3af - tren nen trang chi duoc 2.54, duoi
 * chuan. Do bang Chrome that: nhan "/10", "ACMS Score" va dong "Updated: ..."
 * deu dinh.
 *
 * #6b7280 duoc 4.83, va chinh plugin cung dung mau nay o cho khac.
 */
:root { --color-text-muted: #6b7280; }

/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */
/* Day lien ket trang tinh o chan trang.                                */
/* Mau chu ke thua cua chan trang: chu chan trang da qua vong do tuong  */
/* phan, con mau nhan cua site thi chua.                                */
/* ------------------------------------------------------------------ */
.hh-foot-pages {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 13px;
	line-height: 1.6;
}
.hh-foot-pages a {
	color: inherit;
	text-decoration: none;
	opacity: .82;
}
.hh-foot-pages a:hover,
.hh-foot-pages a:focus {
	opacity: 1;
	text-decoration: underline;
}

/* --- Logo thuong hieu ------------------------------------------------ */
/* Dau hieu do bang em nen no lon nho theo chinh co chu cua ten site. */
.hh-lg { white-space: nowrap; }
.hh-lg__mark { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; margin-right: 0.36em; }
.hh-lg__tld { font-weight: 400; opacity: .5; }

/* --- Lien ket chan trang --------------------------------------------- */
/* Viet .hh-mang .hh-mang__h chu khong phai .hh-mang__h: luat cua theme
   kieu .xx-foot__disclosure p co do uu tien (0,1,1), cao hon (0,1,0), nen ban
   ngan gon bi de mat. Da do that moi biet.

   Khong dung opacity de lam mo: no keo do tuong phan xuong duoi nguong doc
   duoc o phan lon theme. Phan cap bang co chu la du, va co san toi thieu 11px
   vi co theme dat khoi cong bo chi 12px. */
.hh-mang { margin: 22px 0 0; }
.hh-mang .hh-mang__h { margin: 0 0 8px; font-size: max(11px, .8em); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hh-mang .hh-mang__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: max(11px, .8em); line-height: 1.6; }
.hh-mang .hh-mang__list li { margin: 0; padding: 0; flex: 0 0 auto; width: auto; max-width: 100%; }
.hh-mang .hh-mang__list li::before { content: none; }
.hh-mang .hh-mang__list a { text-decoration: none; }
.hh-mang .hh-mang__list a:hover,
.hh-mang .hh-mang__list a:focus { text-decoration: underline; }
