/* =========================================================================
   Site Gear Guide - trang bai viet
   ========================================================================= */

.gd-art { padding-bottom: 6px; }

/* ---- Dau bai ---------------------------------------------------------- */

.gd-arthead { padding: 16px 0 20px; }
.gd-eyebrow--art { margin-bottom: 8px; font-size: 14px; }
.gd-arthead__title { font-size: clamp(27px, 4.2vw, 44px); line-height: 1.12; }
.gd-arthead__dek { margin: 13px 0 0; font-size: 17px; color: var(--ink-2); max-width: 780px; }
.gd-arthead__by { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.gd-arthead__by p { margin: 0; font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; }
.gd-arthead__by a { color: var(--ink); font-weight: 700; text-decoration: none; }
.gd-arthead__by a:hover { color: var(--brand); }

/* ---- Tam the mo dau --------------------------------------------------- */

.gd-verdict {
	border: 1px solid var(--line);
	border-top: 4px solid var(--brand);
	border-radius: var(--r);
	background: #fff;
	margin: 0 0 30px;
	overflow: hidden;
}
.gd-verdict__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 0; }
/* O luoi mac dinh la `min-width: auto` nen no khong co nho hon be rong noi
   dung ben trong: dai anh nho cuon ngang se keo ca tam the rong ra khoi man
   hinh. Phai dat ve 0 thi cuon ngang moi nam gon trong dai anh. */
.gd-verdict__grid > * { min-width: 0; }

.gd-verdict__media { padding: 20px; border-right: 1px solid var(--line); background: var(--grey); }
.gd-verdict__credit { margin: 9px 0 0; font-size: 11px; color: var(--ink-3); text-align: center; }

.gd-verdict__main { padding: 20px 22px; }
.gd-verdict__kicker { margin: 0 0 8px; font-family: var(--cond); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }

.gd-verdict__score { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Nhan nay de nguoi doc khong nham sao la diem cua toa soan. */
.gd-verdict__lab { flex: 0 0 100%; font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.gd-verdict__num { font-size: 27px; font-weight: 900; letter-spacing: -0.03em; }
.gd-verdict__out { font-size: 13px; color: var(--ink-3); }
.gd-verdict__src { margin: 6px 0 0; font-size: 11.5px; color: var(--ink-3); max-width: 420px; }

.gd-verdict__text { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }
.gd-verdict__text p:last-child { margin-bottom: 0; }

.gd-verdict__points { list-style: none; margin: 14px 0 0; padding: 0; }
.gd-verdict__points li { position: relative; padding-left: 23px; margin-bottom: 7px; font-size: 14.5px; }
.gd-verdict__points li::before {
	content: '';
	position: absolute; left: 3px; top: 0.6em;
	width: 7px; height: 7px; border-radius: 2px; background: var(--brand);
}

/* ---- Thu vien anh ----------------------------------------------------- */

.gd-media--gal { aspect-ratio: 1 / 1; border-color: var(--line); }
/*
 * `position: relative` la phan bat buoc, khong phai trang tri.
 *
 * Trong moi nut anh co mot <span class="screen-reader-text"> dat
 * position:absolute. Phan tu absolute duoc cat boi to tien gan nhat CO
 * position khac static, chu khong phai boi to tien co overflow. Thieu dong
 * nay thi cac span o anh thu 4, 5 thoat ra ngoai va keo rong ca trang - do
 * bang Chrome that o khung 375px: trang bai cuon ngang 97px, phan tu xa nhat
 * o toa do 472px.
 */
.gd-gal__thumbs { position: relative; list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gd-gal__thumbs::-webkit-scrollbar { display: none; }
.gd-gal__thumbs a {
	display: block; width: 54px; height: 54px; flex: none;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	overflow: hidden;
}
.gd-gal__thumbs a.is-on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.gd-gal__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* ---- O gia ------------------------------------------------------------ */

.gd-deal { margin: 18px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--grey); padding: 14px 16px; }
.gd-deal__head { margin: 0 0 9px; font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.gd-deal__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gd-deal__price { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -0.03em; }
.gd-deal__nop { font-size: 15px; font-weight: 700; color: var(--ink-3); letter-spacing: 0; }
.gd-deal__where { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gd-deal__flag { border-radius: 100px; padding: 2px 9px; font-size: 11px; font-weight: 700; }
.gd-deal__flag--prime { background: var(--brand-lt); color: var(--brand-dk); }
.gd-deal__flag--stock { background: #e8f6ee; color: var(--deal-dk); }
.gd-deal__btn {
	margin-left: auto;
	background: var(--deal); color: #fff;
	padding: 12px 24px; border-radius: 100px;
	font-size: 14.5px; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.gd-deal__btn:hover { background: var(--deal-dk); }
.gd-deal__fine { margin: 10px 0 0; font-size: 11px; color: var(--ink-3); }
.gd-deal--compact { margin-top: 28px; }

/* ---- Uu va nhuoc trong tam the --------------------------------------- */

.gd-pc { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.gd-pc__col { padding: 16px 22px 18px; }
.gd-pc__col--no { border-left: 1px solid var(--line); }
.gd-pc__head { margin: 0 0 10px; font-family: var(--cond); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.gd-pc__col--yes .gd-pc__head { color: var(--pro); }
.gd-pc__col--no .gd-pc__head { color: var(--con); }
.gd-pc ul { list-style: none; margin: 0; padding: 0; }
.gd-pc li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 14.5px; line-height: 1.5; }
.gd-pc li::before { position: absolute; left: 0; top: 0; font-weight: 800; font-size: 15px; line-height: 1.5; }
.gd-pc__col--yes li::before { content: '+'; color: var(--pro); }
.gd-pc__col--no li::before { content: '\2212'; color: var(--con); }

/* ---- Thanh nhay muc --------------------------------------------------- */

.gd-toc { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 0 0 26px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gd-toc__head { font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.gd-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.gd-toc a {
	display: inline-block; padding: 5px 12px;
	background: var(--grey); border: 1px solid var(--line); border-radius: 100px;
	font-size: 12.5px; font-weight: 600; text-decoration: none; color: var(--ink-2);
}
.gd-toc a:hover { border-color: var(--brand); color: var(--brand); background: #fff; }

/* ---- Than bai --------------------------------------------------------- */

.gd-prose { font-size: 17px; line-height: 1.7; }
.gd-prose > p { margin: 0 0 1.1em; }

.gd-prose h2 { font-size: clamp(21px, 2.5vw, 27px); margin: 1.9em 0 0.5em; scroll-margin-top: 66px; }
.gd-prose h3 { font-size: 18.5px; margin: 1.5em 0 0.4em; }

.gd-prose a { color: var(--brand); text-decoration: none; border-bottom: 1px solid rgba(11, 87, 255, 0.32); }
.gd-prose a:hover { border-bottom-color: var(--brand); }

.gd-prose ul, .gd-prose ol { margin: 0 0 1.15em; padding-left: 0; list-style: none; }
.gd-prose ul > li, .gd-prose ol > li { position: relative; padding-left: 22px; margin-bottom: 0.45em; }
.gd-prose ul > li::before {
	content: '';
	position: absolute; left: 3px; top: 0.66em;
	width: 7px; height: 7px; border-radius: 2px; background: var(--brand);
}
.gd-prose ol { counter-reset: gdol; }
.gd-prose ol > li { counter-increment: gdol; }
.gd-prose ol > li::before {
	content: counter(gdol) '.';
	position: absolute; left: 0; top: 0;
	font-weight: 800; font-size: 14px; color: var(--brand);
}

.gd-prose blockquote { margin: 1.5em 0; padding: 0 0 0 18px; border-left: 3px solid var(--brand); color: var(--ink-2); }

.gd-prose figure { margin: 1.6em 0; }
.gd-prose figure img { margin-inline: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.gd-prose figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-3); text-align: center; }

/* ---- Bang thong so ---------------------------------------------------- */

.gd-specs { margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gd-specs table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.gd-specs th, .gd-specs td { padding: 10px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.gd-specs th { width: 42%; font-weight: 600; color: var(--ink-3); font-size: 13.5px; background: var(--grey); }
.gd-specs tr:last-child th, .gd-specs tr:last-child td { border-bottom: 0; }
.gd-specs__note { margin: 0; padding: 9px 16px; background: var(--grey); border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); }

/* ---- Cap o "nen mua / can can nhac" ----------------------------------- */

.gd-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 1.9em 0; }
.gd-fit__col { border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px 16px; }
.gd-fit__col--yes { background: #f2faf5; border-color: #cfe9da; }
.gd-fit__col--no { background: #fff8ef; border-color: #f0dfc4; }
.gd-fit__kicker { margin: 16px 0 0; font-family: var(--cond); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.gd-fit__col--yes .gd-fit__kicker { color: var(--pro); }
.gd-fit__col--no .gd-fit__kicker { color: #b45309; }
.gd-prose .gd-fit__col h2 { font-size: 17px; margin: 2px 0 10px; letter-spacing: -0.01em; }
.gd-fit__col p, .gd-fit__col li { font-size: 14.5px; }
.gd-fit__col p:last-child { margin-bottom: 0; }

/* Quy tac chung cua than bai la `.gd-prose ul > li::before` = (0,1,3). Do uu
   tien dem SO LUONG CLASS truoc so luong the, nen `.gd-fit__col--yes li::before`
   = (0,1,2) se THUA. Phai viet du hai class, va xoa lai cac thuoc tinh ma
   quy tac kia da dat (background, width, height, border-radius). */
.gd-prose .gd-fit__col--yes li::before,
.gd-prose .gd-fit__col--no li::before {
	background: none;
	width: auto; height: auto; border-radius: 0;
	left: 0; top: 0;
	font-weight: 800; font-size: 14px; line-height: 1.6;
}
.gd-prose .gd-fit__col--yes li::before { content: '\2713'; color: var(--pro); }
.gd-prose .gd-fit__col--no li::before { content: '!'; color: #b45309; }

/* ---- Ket luan --------------------------------------------------------- */

.gd-bottom { margin: 1.9em 0; padding: 4px 20px 16px; background: var(--brand-lt); border: 1px solid #cddcff; border-radius: var(--r); }
.gd-prose .gd-bottom h2 { margin-top: 16px; }
.gd-bottom__body p:last-child { margin-bottom: 0; }

/* ---- Nhan xet nguoi mua ---------------------------------------------- */

.gd-says { margin: 34px 0 0; }
.gd-says__head { font-size: clamp(20px, 2.4vw, 25px); scroll-margin-top: 66px; }
.gd-says__note { margin: 7px 0 16px; font-size: 12.5px; color: var(--ink-3); }
.gd-says__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gd-says__item { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--grey); }
.gd-says__title { margin: 9px 0 6px; font-size: 14.5px; font-weight: 800; }
.gd-says blockquote { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.gd-says figcaption { margin-top: 11px; font-size: 11.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gd-says__ok { background: #e8f6ee; color: var(--deal-dk); border-radius: 100px; padding: 2px 8px; font-weight: 700; }
.gd-says__date { flex: 0 0 100%; }

/* ---- FAQ -------------------------------------------------------------- */

.gd-faq { margin: 1.1em 0 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gd-faq__item + .gd-faq__item { border-top: 1px solid var(--line); }
.gd-faq__item summary {
	list-style: none; cursor: pointer;
	display: flex; align-items: flex-start; gap: 12px;
	padding: 14px 18px;
	font-size: 15.5px; font-weight: 700; line-height: 1.4;
}
.gd-faq__item summary::-webkit-details-marker { display: none; }
.gd-faq__item summary span { flex: 1; }
.gd-faq__item summary::after { content: '+'; font-size: 19px; line-height: 1.2; color: var(--brand); flex: none; }
.gd-faq__item[open] summary::after { content: '\2212'; }
.gd-faq__item[open] summary { padding-bottom: 4px; }
.gd-faq__answer { padding: 0 48px 16px 18px; font-size: 15px; color: var(--ink-2); }
.gd-faq__answer p:last-child { margin-bottom: 0; }

/* ---- The, tieu su, truoc sau ----------------------------------------- */

.gd-arttags { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gd-arttags > span { font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.gd-arttags a { display: inline-block; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 100px; font-size: 12.5px; text-decoration: none; }
.gd-arttags a:hover { border-color: var(--brand); color: var(--brand); }

.gd-bio { display: flex; gap: 15px; align-items: flex-start; margin: 24px 0 0; padding: 18px; background: var(--grey); border: 1px solid var(--line); border-radius: var(--r); }
.gd-bio__kicker { margin: 0 0 4px; font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.gd-bio__name { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.gd-bio__name a { text-decoration: none; }
.gd-bio__desc { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
.gd-bio__more { margin: 0; font-size: 12.5px; }
.gd-bio__more a { color: var(--brand); text-decoration: none; font-weight: 700; }

.gd-nextprev { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.gd-nextprev--one { grid-template-columns: 1fr; }
.gd-nextprev__item { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.gd-nextprev__item:hover { border-color: var(--brand); }
.gd-nextprev__item--next { text-align: right; }
.gd-nextprev__dir { display: block; font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 5px; }
.gd-nextprev__title { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.35; }

/* ---- Thich ung -------------------------------------------------------- */

@media (max-width: 900px) {
	.gd-verdict__grid { grid-template-columns: 1fr; }
	.gd-verdict__media { border-right: 0; border-bottom: 1px solid var(--line); }
	.gd-verdict__media .gd-media--gal { max-width: min(360px, 100%); margin-inline: auto; }
	.gd-says__grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
	.gd-prose { font-size: 16px; }
	.gd-pc { grid-template-columns: 1fr; }
	.gd-pc__col--no { border-left: 0; border-top: 1px solid var(--line); }
	.gd-fit { grid-template-columns: 1fr; gap: 14px; }
	.gd-deal__row { flex-direction: column; align-items: flex-start; gap: 10px; }
	.gd-deal__btn { margin-left: 0; width: 100%; text-align: center; }
	.gd-nextprev { grid-template-columns: 1fr; }
	.gd-nextprev__item--next { text-align: left; }
	.gd-bio { flex-direction: column; }
	.gd-faq__answer { padding-right: 18px; }
	.gd-specs th { width: 45%; }
}
