/*
 * Site Lightbox - kieu dang chung.
 *
 * Y do: nen xam nhat, khoi trang, duong ke rat manh. Anh san pham cua Amazon
 * gan nhu luon nen trang, nen khung anh phai co nen rieng hoi dam hon nen
 * trang thi vien anh moi hien ra.
 */

:root {
	--bg: #f5f6f7;
	--surface: #ffffff;
	--ink: #14161a;
	--muted: #5f6772;
	--line: #dfe3e8;
	--accent: #0a5ca8;
	--accent-soft: #e7eff8;
	--stage: #eef1f3;
	--warm: #8a5b00;

	--serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

	--wrap: 1180px;
	--art: 860px;
	--gut: 16px;
	--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: 16px;
	line-height: 1.6;
	overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

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

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

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

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

.site-head {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	position: sticky; top: 0; z-index: 30;
}

.head-bar {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 14px var(--gut) 10px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand {
	font-family: var(--serif);
	font-size: 27px;
	line-height: 1;
	color: var(--ink);
	letter-spacing: -0.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	/* Ten site la mot tu dai khong co khoang trang; thieu min-width:0 thi o be
	   ngang 375px no day ca hang dau trang tran ra ngoai man hinh. */
	min-width: 0;
}
.brand:hover { text-decoration: none; color: var(--accent); }

.head-search { flex: 0 1 300px; min-width: 0; }

.search-form { display: flex; gap: 6px; }
.search-form input[type="search"] {
	flex: 1 1 auto; min-width: 0;
	font: inherit; font-size: 14px;
	padding: 7px 10px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--bg);
	color: var(--ink);
}
.search-form input[type="search"]::placeholder { color: var(--muted); }
.search-form button {
	font: inherit; font-size: 14px; font-weight: 600;
	padding: 7px 14px;
	border: 1px solid var(--accent);
	background: var(--accent); color: #fff;
	border-radius: var(--r); cursor: pointer;
}
.search-form button:hover { background: #084b8a; }

.site-nav {
	border-top: 1px solid var(--line);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gut);
	display: flex; gap: 20px;
	list-style: none;
	white-space: nowrap;
}
.site-nav a {
	display: block;
	padding: 9px 0;
	font-size: 13px; font-weight: 600;
	letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--muted);
	border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); text-decoration: none; }

/* ---------------------------------------------------------------- */
/* Khung chung                                                       */
/* ---------------------------------------------------------------- */

.site-main { display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gut) 8px; }
.wrap-narrow { max-width: 760px; }

.band { max-width: var(--wrap); margin: 0 auto; padding: 30px var(--gut); }
.band-tint { max-width: none; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-tint > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.band-head { margin-bottom: 18px; }
.band-title { font-size: 30px; }
.band-note { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

.page-head { margin-bottom: 24px; }
.page-eye { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; font-weight: 600; }
.page-title { font-size: 40px; }
.page-note { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.page-intro { margin-top: 12px; color: var(--muted); max-width: 62ch; }
.page-search { margin-top: 16px; max-width: 420px; }
.empty { color: var(--muted); }

/* ---------------------------------------------------------------- */
/* Bai mo dau o trang chu                                            */
/* ---------------------------------------------------------------- */

.lead {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 28px var(--gut) 8px;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 28px; align-items: center;
}
.lead-shot {
	display: block;
	background: var(--stage);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 22px;
}
.lead-img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.lead-eye { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 8px; }
.lead-title { font-size: 44px; }
.lead-title a { color: var(--ink); }
.lead-title a:hover { color: var(--accent); text-decoration: none; }
.lead-sum { margin: 12px 0 0; color: var(--muted); }
.lead-meta { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- */
/* Dai anh mau                                                       */
/* ---------------------------------------------------------------- */

.strip { max-width: var(--wrap); margin: 0 auto; padding: 26px var(--gut); }
.strip-scroll {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(180px, 1fr);
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
}
.strip-cell {
	display: block;
	background: var(--stage);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 12px;
}
.strip-cell img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }

/* ---------------------------------------------------------------- */
/* The bai                                                           */
/* ---------------------------------------------------------------- */

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
	display: flex; flex-direction: column;
}
.card-shot { display: block; background: var(--stage); padding: 16px; border-bottom: 1px solid var(--line); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.card-text { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.card-eye { margin: 0; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.card-title { font-size: 21px; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--accent); text-decoration: none; }
.card-meta { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }

.rows { display: grid; gap: 14px; }
.row {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r);
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 16px;
	padding: 12px;
	align-items: center;
}
.row-shot { display: block; background: var(--stage); border-radius: var(--r); padding: 10px; }
.row-img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.row-text { min-width: 0; }
.row-title { font-size: 20px; }
.row-title a { color: var(--ink); }
.row-title a:hover { color: var(--accent); text-decoration: none; }
.row-sum { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.row-meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------------------------------------------------------------- */
/* Vien diem, gia                                                    */
/* ---------------------------------------------------------------- */

.chip {
	display: inline-flex; align-items: baseline; gap: 4px;
	font-size: 13px;
	padding: 3px 9px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--bg);
	color: var(--ink);
	max-width: 100%;
}
.chip-score { background: var(--accent-soft); border-color: #cfe0f0; }
.chip-num { font-weight: 700; }
.chip-star { color: var(--accent); }
.chip-note { color: var(--muted); font-size: 11px; letter-spacing: 0.02em; }
.chip-price .price-now { font-weight: 700; }
.chip-price .price-was { color: var(--muted); }
.chip-price .price-off { color: var(--warm); font-weight: 600; }
.chip-flag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chip-out { color: var(--warm); }

/* ---------------------------------------------------------------- */
/* O chuyen muc                                                      */
/* ---------------------------------------------------------------- */

.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tiles a {
	display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 12px 14px;
	color: var(--ink);
}
.tiles a:hover { border-color: var(--accent); text-decoration: none; }
.tile-name { font-weight: 600; font-size: 15px; }
.tile-n { color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------- */
/* Phan trang                                                        */
/* ---------------------------------------------------------------- */

.pager { margin: 28px 0 8px; }
.pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pager a, .pager span {
	display: block;
	padding: 7px 13px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--surface);
	font-size: 14px;
	color: var(--ink);
}
.pager a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.pager .current { background: var(--accent); border-color: var(--accent); color: #fff; }

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

.site-foot {
	background: var(--surface);
	border-top: 1px solid var(--line);
	margin-top: 36px;
	padding: 32px var(--gut) 28px;
}
.foot-grid {
	max-width: var(--wrap); margin: 0 auto;
	display: grid; gap: 24px;
	grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
}
.foot-name { font-family: var(--serif); font-size: 26px; margin: 0; }
.foot-num { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.foot-head { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 14px; }
.foot-col a { color: var(--ink); }
.foot-col a:hover { color: var(--accent); }
.foot-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.disclosure, .foot-legal {
	max-width: var(--wrap); margin: 24px auto 0;
	color: var(--muted); font-size: 12px; line-height: 1.6;
}
.foot-legal { margin-top: 8px; }

/* ---------------------------------------------------------------- */
/* Man hinh hep                                                      */
/* ---------------------------------------------------------------- */

@media (max-width: 860px) {
	.lead { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 20px; }
	.lead-title { font-size: 34px; }
	.page-title { font-size: 32px; }
	.band-title { font-size: 25px; }
	.foot-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
	.head-bar { flex-wrap: wrap; gap: 10px; }
	.head-search { flex: 1 1 100%; }
	.brand { font-size: 24px; }
	.grid { gap: 14px; }
	.grid-3, .grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
	.row { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
	.row-title { font-size: 18px; }
	.lead-shot { padding: 14px; }
	.strip-scroll { grid-auto-columns: minmax(150px, 1fr); }
}


/* === 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.                                */
/* ------------------------------------------------------------------ */
.lb-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;
}
.lb-foot-pages a {
	color: inherit;
	text-decoration: none;
	opacity: .82;
}
.lb-foot-pages a:hover,
.lb-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. */
.lb-lg { white-space: nowrap; }
.lb-lg__mark { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; margin-right: 0.36em; }
.lb-lg__tld { font-weight: 400; opacity: .5; }

/* --- Lien ket chan trang --------------------------------------------- */
/* Viet .lb-mang .lb-mang__h chu khong phai .lb-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. */
.lb-mang { margin: 22px 0 0; }
.lb-mang .lb-mang__h { margin: 0 0 8px; font-size: max(11px, .8em); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.lb-mang .lb-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; }
.lb-mang .lb-mang__list li { margin: 0; padding: 0; flex: 0 0 auto; width: auto; max-width: 100%; }
.lb-mang .lb-mang__list li::before { content: none; }
.lb-mang .lb-mang__list a { text-decoration: none; }
.lb-mang .lb-mang__list a:hover,
.lb-mang .lb-mang__list a:focus { text-decoration: underline; }
