/*
 * Site Homestead - kieu dang rieng cua trang bai.
 *
 * Cot chu rong 760px theo ban thiet ke. Moi khoi san pham la mot the vien lien
 * mot net, khong bong do, mang so thu tu to o goc trai - cung mot dang so voi
 * bang "Product rundown" o dau bai, de mat lan theo so ma di.
 */

.hs-article {
	max-width: var(--col);
	margin: 0 auto;
	padding: 26px 16px 60px;
}

.hs-article__head {
	border-bottom: 3px double var(--line-2);
	padding-bottom: 20px;
	margin-bottom: 26px;
}

.hs-article__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(28px, 5.4vw, 40px);
	line-height: 1.18;
	letter-spacing: -.005em;
	color: var(--accent);
}

.hs-byline {
	margin: 16px 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
}
.hs-byline a { text-decoration: none; color: var(--ink); }
.hs-byline a:hover { text-decoration: underline; }
.hs-byline__sep { color: var(--line-2); }

/* ------------------------------------------------------------------ */
/* Van xuoi                                                            */
/* ------------------------------------------------------------------ */

.hs-body { font-size: 17px; }
.hs-body p { margin: 0 0 1.15em; }
.hs-body a { color: var(--accent); text-underline-offset: 2px; }

.hs-lede p:first-child::first-letter {
	float: left;
	font-family: var(--display);
	font-weight: 700;
	font-size: 3.1em;
	line-height: .86;
	padding: 4px 10px 0 0;
	color: var(--accent);
}

.hs-prose ul,
.hs-prose ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.hs-prose li { margin: 0 0 .35em; }

.hs-prose figure {
	margin: 22px 0;
	border: 1px solid var(--line);
	background: var(--surface);
	padding: 12px;
}
.hs-prose figure img {
	width: 100%;
	max-height: 360px;
	object-fit: contain;
	margin: 0 auto;
}
.hs-prose figcaption {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid var(--line);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
	text-align: center;
}

/* Nhan "Best for:" / "Pros" / "Cons" cua bai goc */
.hs-lbl {
	margin: 18px 0 6px !important;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.hs-lbl strong { font-weight: 700; color: var(--ink); }
.hs-lbl--best { text-transform: none; letter-spacing: 0; font-size: 15px; }
.hs-lbl--pro strong { color: var(--accent); }
.hs-lbl--con strong { color: var(--sun); }

.hs-ul { list-style: none; padding-left: 0 !important; }
.hs-ul li { position: relative; padding-left: 22px; }
.hs-ul li::before {
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
}
.hs-ul--pro li::before { content: "+"; color: var(--accent); }
.hs-ul--con li::before { content: "\2212"; color: var(--sun); }

/* ------------------------------------------------------------------ */
/* Bang so sanh cua bai goc                                            */
/* ------------------------------------------------------------------ */

.hs-tablewrap {
	margin: 20px 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--line-2);
	background: var(--surface);
}
.hs-tablewrap table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	min-width: 520px;
}
.hs-tablewrap th,
.hs-tablewrap td {
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
	padding: 9px 12px;
	text-align: left;
	vertical-align: top;
}
.hs-tablewrap th {
	background: var(--bg);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}
.hs-tablewrap tr:last-child td { border-bottom: 0; }
.hs-tablewrap th:last-child,
.hs-tablewrap td:last-child { border-right: 0; }

/* ------------------------------------------------------------------ */
/* NUOC DI RIENG: bang "Product rundown"                               */
/* ------------------------------------------------------------------ */

.hs-rundown {
	margin: 0 0 40px;
	background: var(--surface);
	border: 1px solid var(--line-2);
	border-top: 4px solid var(--accent);
	padding: 20px 18px 8px;
}

.hs-rundown__head {
	margin: 0;
	font-family: var(--display);
	font-weight: 700;
	font-size: 22px;
	line-height: 1.2;
	color: var(--accent);
}

.hs-rundown__hint {
	margin: 5px 0 14px;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

.hs-rundown__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.hs-rundown table {
	width: 100%;
	border-collapse: collapse;
}
.hs-rundown thead th {
	border-top: 1px solid var(--line-2);
	border-bottom: 1px solid var(--line-2);
	padding: 7px 8px;
	text-align: left;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}
.hs-rundown tbody td {
	border-bottom: 1px solid var(--line);
	padding: 12px 8px;
	vertical-align: middle;
}
.hs-rundown tbody tr:last-child td { border-bottom: 0; }
.hs-rundown tbody tr:hover td { background: var(--bg); }

.hs-rundown__no { width: 1%; white-space: nowrap; }
/*
 * Cung ly do nhu .hs-mini__no o main.css: var(--line-2) la mau duong ke,
 * #cdbfa6 tren nen trang chi duoc 1.81. O day con nang hon vi day la LIEN KET
 * nhay xuong khoi san pham - nguoi doc phai thay moi bam duoc.
 */
.hs-rundown__no a {
	display: block;
	font-family: var(--display);
	font-weight: 700;
	font-size: 26px;
	line-height: 1;
	color: #8d7f66;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}
.hs-rundown tbody tr:hover .hs-rundown__no a { color: var(--accent); }

.hs-rundown__cell { display: flex; align-items: center; gap: 12px; }
.hs-rundown__thumb {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	object-fit: contain;
	border: 1px solid var(--line);
	background: #fff;
	padding: 3px;
}
.hs-rundown__text { min-width: 0; }
.hs-rundown__name {
	display: block;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
}
.hs-rundown__name:hover { color: var(--accent); text-decoration: underline; }
.hs-rundown__use {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--muted);
}
.hs-rundown__price { width: 1%; white-space: nowrap; text-align: right; }

/* ------------------------------------------------------------------ */
/* Khoi san pham                                                       */
/* ------------------------------------------------------------------ */

.hs-block {
	border: 1px solid var(--line-2);
	background: var(--surface);
	padding: 0 20px 18px;
	margin: 0 0 34px;
}

.hs-entry {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	margin: 0 -20px 18px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
	scroll-margin-top: 16px;
}
.hs-entry__no {
	font-family: var(--display);
	font-weight: 700;
	font-size: 34px;
	line-height: 1;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}
.hs-entry__body { min-width: 0; }
.hs-entry__name {
	display: block;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(19px, 3.2vw, 24px);
	line-height: 1.25;
	color: var(--ink);
}
.hs-entry__use {
	display: block;
	margin-top: 5px;
	font-family: var(--body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sun);
}

.hs-rail {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 0 0 18px;
	margin: 0 0 18px;
	border-bottom: 1px solid var(--line);
}
.hs-rail__plate {
	margin: 0;
	border: 1px solid var(--line);
	padding: 10px;
	background: #fff;
}
.hs-rail__plate img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
.hs-rail__plate figcaption {
	margin-top: 8px;
	padding-top: 7px;
	border-top: 1px solid var(--line);
	font-size: 11px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
	text-align: center;
}

.hs-rail__facts > p { margin: 0 0 10px; }
.hs-rail__facts > p:last-child { margin-bottom: 0; }

.hs-rail__flag {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.hs-rail__why {
	font-size: 11px;
	letter-spacing: .04em;
	color: var(--muted);
}

.hs-rail__rate {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
}
.hs-rail__word {
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink);
}

.hs-rail__line {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
}
.hs-rail__bit { font-size: 12px; }
.hs-rail__k {
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.hs-rail__v { font-weight: 600; }

.hs-block .hs-prose > *:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Muc thuong                                                          */
/* ------------------------------------------------------------------ */

.hs-sec { margin: 0 0 34px; }

.hs-shead {
	margin: 0 0 16px;
	padding-bottom: 8px;
	border-bottom: 3px double var(--line-2);
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(21px, 3.6vw, 27px);
	line-height: 1.22;
	color: var(--accent);
	scroll-margin-top: 16px;
}
.hs-shead--guide .hs-shead__text::before,
.hs-shead--faq .hs-shead__text::before {
	content: "\00a7";
	color: var(--line-2);
	margin-right: 10px;
}

.hs-sec--guide .hs-prose {
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent);
	padding: 18px 20px;
}
.hs-sec--guide .hs-prose > *:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* FAQ bang the <details>, khong dung JavaScript                       */
/* ------------------------------------------------------------------ */

.hs-faq {
	border-top: 1px solid var(--line-2);
	background: var(--surface);
	border-left: 1px solid var(--line);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.hs-faq__item + .hs-faq__item { border-top: 1px solid var(--line); }

.hs-faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 14px 16px;
	font-family: var(--display);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.35;
}
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary::after {
	content: "+";
	margin-left: auto;
	font-size: 20px;
	line-height: 1;
	color: var(--accent);
}
.hs-faq__item[open] summary::after { content: "\2212"; }
.hs-faq summary:hover { color: var(--accent); }

.hs-faq__a {
	padding: 0 16px 14px;
	font-size: 16px;
}
.hs-faq__a > *:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Cuoi bai                                                            */
/* ------------------------------------------------------------------ */

.hs-note {
	border: 1px solid var(--line-2);
	border-top: 4px solid var(--line-2);
	background: var(--surface);
	padding: 18px 20px;
	margin: 36px 0 26px;
}
.hs-note__head {
	margin: 0 0 10px;
	font-family: var(--display);
	font-weight: 700;
	font-size: 16px;
	color: var(--ink);
}
.hs-note p { margin: 0 0 9px; font-size: 14px; color: var(--muted); }
.hs-note p:last-child { margin-bottom: 0; }

.hs-author {
	display: flex;
	align-items: center;
	gap: 14px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 16px 0;
	margin-bottom: 26px;
}
.hs-author__mark {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border: 1px solid var(--accent);
	color: var(--accent);
	font-family: var(--display);
	font-weight: 700;
	font-size: 16px;
}
.hs-author__name { display: block; font-weight: 600; }
.hs-author__more { display: block; font-size: 13px; }
.hs-author__more a { color: var(--muted); }

.hs-tags { margin-bottom: 30px; }
.hs-tags__head {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}
.hs-tags ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hs-tags a {
	display: inline-block;
	border: 1px solid var(--line-2);
	background: var(--surface);
	padding: 5px 12px;
	font-size: 13px;
	text-decoration: none;
}
.hs-tags a:hover { border-color: var(--accent); color: var(--accent); }

.hs-panel--near { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Be ngang nho                                                        */
/* ------------------------------------------------------------------ */

@media (max-width: 720px) {
	.hs-rail { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.hs-rail__plate { max-width: 230px; }
	.hs-rail__plate img { aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
	.hs-article { padding: 20px 14px 44px; }
	.hs-body { font-size: 16px; }

	.hs-block { padding: 0 14px 16px; }
	.hs-entry { margin: 0 -14px 16px; padding: 14px; gap: 10px; }
	.hs-entry__no { font-size: 26px; }

	.hs-rundown { padding: 16px 14px 6px; }
	.hs-rundown tbody td { padding: 10px 6px; }
	.hs-rundown__no a { font-size: 20px; }
	.hs-rundown__cell { gap: 9px; }
	.hs-rundown__thumb { width: 38px; height: 38px; }
	.hs-rundown__name { font-size: 14px; }
	.hs-rundown__price .hs-price { font-size: 16px; }

	.hs-tablewrap table { min-width: 460px; }
	.hs-sec--guide .hs-prose { padding: 14px; }
}

/*
 * Chu trong nut mua.
 *
 * Luat `.hs-body a` co do uu tien 0,1,1, cao hon luat `.hs-buy` (0,1,0),
 * nen neu khong co dong nay thi chu nut lay mau nhan - dung bang mau
 * nen cua chinh no, va nut thanh mot khoi mau dac khong doc duoc chu.
 * Do duoc truoc khi sua: tuong phan 1,00.
 */
.hs-body a.hs-buy { color: #fff; }
