:root {
  --brand: #e30f2b;
  --brand-strong: #e30f2b;
  --brand-dark: #c00a22;
  --brand-tint: #fdecee;
  --shopee: #ee4d2d;
  --shopee-dark: #d73211;
  --shopee-tint: #fff4f1;
  --ink: #1f2933;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --line: #e5e7eb;
  --ok: #15803d;
  --warn: #b45309;
  --wrap: 1200px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .05);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.5rem, 2.5vw + 1rem, 2.25rem); }
h2 { font-size: clamp(1.25rem, 1.5vw + .9rem, 1.6rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid var(--line); padding: .5rem .6rem; text-align: left; vertical-align: top; }
th { background: var(--bg-soft); }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn, .btn-cta {
  display: inline-block; padding: .6rem 1.1rem; border-radius: 8px; font-weight: 600;
  background: var(--brand-strong); color: #fff; border: 1px solid var(--brand-strong); line-height: 1.2; cursor: pointer;
}
.btn:hover, .btn-cta:hover { background: var(--brand-dark); text-decoration: none; }
.btn-cta { background: var(--shopee); border-color: var(--shopee); }
.btn-cta:hover { background: var(--shopee-dark); border-color: var(--shopee-dark); }
.btn-outline { background: transparent; color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand-strong); color: #fff; }
.btn-cta { font-size: 1.05rem; padding: .8rem 1.4rem; }

/* Header */
.site-header { background: var(--brand); border-bottom: 1px solid var(--brand-dark); position: sticky; top: 0; z-index: 50; }
.header-bar { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; white-space: nowrap; }
.brand img { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-kicker { font-size: .72rem; font-weight: 600; opacity: .9; }
.brand-name { font-size: 1.4rem; font-weight: 900; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.search-form { display: flex; flex: 1; min-width: 0; max-width: 560px; margin-left: auto; position: relative; }
.search-form input { flex: 1; min-width: 0; padding: .62rem 1rem .62rem 2.5rem; border: 0; border-radius: 999px; font: inherit; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.search-form input::placeholder { color: var(--muted); }
.search-form input:focus { outline: 2px solid #fff; outline-offset: 2px; }
.search-form button { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; padding: .3rem; border: 0; background: transparent; color: var(--muted); border-radius: 50%; cursor: pointer; font: inherit; }
.search-form button:hover { color: var(--brand-dark); }
.search-form.inline { max-width: 460px; margin: 1rem auto; }
.search-form.inline input { border: 1px solid var(--line); box-shadow: none; }
.search-form.inline input:focus { outline-color: var(--brand); }
.menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; -webkit-appearance: none; appearance: none; }
/* Fixed width: Safari on iPhone sizes the children of a button to their content, so auto-width bars collapsed to nothing. */
.menu-toggle span { display: block; flex: none; width: 24px; height: 2px; background: var(--ink); }
.site-nav { border-top: 1px solid var(--line); background: var(--bg-soft); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list a { display: flex; align-items: center; gap: 8px; padding: .6rem .8rem; color: var(--ink); font-weight: 500; }
.nav-icon { display: inline-flex; color: var(--brand-dark); }
.nav-icon svg { width: 18px; height: 18px; }
.nav-chev { display: none; margin-left: auto; color: var(--muted); }
.nav-list a:hover { color: var(--brand-dark); text-decoration: none; }
.sub-list { list-style: none; margin: 0; padding: .3rem 0; display: none; position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); z-index: 60; }
.has-children:hover .sub-list, .has-children:focus-within .sub-list { display: block; }

/* Sections and grids */
.site-main { min-height: 60vh; padding: 1.25rem 0 2rem; }
.section { margin: 1.75rem auto; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.section-head h2 { margin: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product-card .card-media img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; padding: 8px; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 1.02rem; margin: 0; }
.card-title a { color: var(--ink); }
.card-excerpt { margin: 0; color: var(--muted); font-size: .93rem; }
.card-meta, .card-foot { margin: 0; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { background: var(--brand-tint); color: var(--brand-dark); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.type { color: var(--muted); }
.score { color: var(--brand-dark); font-weight: 700; }
.price { font-weight: 700; color: var(--ink); }
.price-old { color: var(--muted); text-decoration: line-through; margin-left: 6px; font-weight: 400; font-size: .9em; }
.shopee-line { font-size: .85rem; color: var(--muted); }
.card .btn-cta { margin-top: auto; text-align: center; font-size: .95rem; padding: .55rem .9rem; }

/* Breadcrumb */
.breadcrumb { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin: 0 .3rem; }

/* Article */
.article-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.article-layout:not(.with-sidebar) > div { width: 100%; max-width: 780px; margin-inline: auto; }
.article-head h1 { margin-bottom: .4rem; }
.article-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.article-hero { margin: 0 0 1.2rem; }
.article-hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
.article-hero figcaption, .ai-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; text-align: center; }
.article-body .ai-figure { margin: 1.5rem 0; }
.article-body .ai-figure img { width: 100%; margin: 0; aspect-ratio: 3 / 2; object-fit: cover; }
.article-body { font-size: 1.05rem; line-height: 1.75; }
.article-body .news-source { margin-top: 1.5rem; font-style: italic; color: var(--muted, #6b7280); }
.article-body p, .article-body li { overflow-wrap: anywhere; }
.article-body img { border-radius: 8px; margin: 1rem 0; }
.article-body h2 { margin-top: 1.8rem; }
.article-body table { font-size: .95rem; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.2rem 0; background: var(--bg-soft); }
.box h2, .box h3 { margin-top: 0; }
.rating-box { display: flex; align-items: center; gap: 1rem; }
.rating-box .big { font-size: 2.2rem; font-weight: 800; color: var(--brand-dark); line-height: 1; }
.pros-cons { display: grid; gap: 12px; grid-template-columns: 1fr; }
.pros-cons ul { margin: .3rem 0 0; }
.pros h3 { color: var(--ok); }
.cons h3 { color: #b91c1c; }
.disclosure, .disclosure-inline { font-size: .85rem; color: var(--muted); }
.cta-block { margin: 1.2rem 0; padding: 1rem; border: 1px dashed var(--shopee); border-radius: var(--radius); background: var(--shopee-tint); }
.cta-block .btn-cta { display: block; text-align: center; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1rem 0; }
.table-wrap table th:first-child, .table-wrap table td:first-child { position: sticky; left: 0; background: var(--bg-soft); min-width: 120px; }
.compare-table th { text-align: center; }
.compare-table img { width: 90px; height: 90px; object-fit: contain; margin: 0 auto 6px; }

/* Article foot: tags and reader rating */
.article-foot { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem 2rem; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: .95rem; }
.article-tags .tag-label { font-weight: 700; }
.article-tags a { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: .3rem .75rem; color: var(--ink); }
.article-tags a:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; }
.rating-widget { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-left: auto; }
.rate-now { display: flex; align-items: flex-end; gap: 4px; margin: 0 14px 0 0; color: var(--ink); font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive; font-size: 1.05rem; transform: rotate(-5deg); }
.stars { display: flex; gap: 2px; }
.star { background: none; border: 0; padding: 2px; cursor: pointer; color: #f5b301; line-height: 0; }
.star svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .1s ease; }
.star:hover svg { transform: scale(1.15); }
.star.on svg { fill: currentColor; }
.rating-summary { margin: 0; color: var(--muted); font-size: .95rem; }

/* Product page */
.product-top { display: grid; gap: 20px; grid-template-columns: 1fr; }
.product-top img { width: 100%; max-height: 420px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product-top .price { font-size: 1.5rem; }
.block-shopee { border-left: 4px solid var(--shopee); }
.block-editorial { border-left: 4px solid var(--brand); }
.specs th { width: 36%; }

/* Filters, pagination, search */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; }
.filters select, .filters input { padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; min-width: 0; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 1.5rem 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.pagination .current { background: var(--brand-strong); color: #fff; border-color: var(--brand-strong); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .9rem; }
.chips a:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; }

/* Ads */
.ad { margin: 1rem 0; text-align: center; }
.ad:empty { display: none; }
.ad.desktop-only { display: none; }
.float-cta { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); padding: .75rem 1.15rem; border-radius: 999px; background: var(--shopee); color: #fff; font-weight: 700; font-size: .98rem; box-shadow: 0 6px 20px rgba(238, 77, 45, .35), 0 1px 3px rgba(0, 0, 0, .12); white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.float-cta:hover { background: var(--shopee-dark); text-decoration: none; transform: translateY(-1px); }
.float-cta svg { flex: none; }
.float-cta span { overflow: hidden; text-overflow: ellipsis; }

.back-to-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--brand-strong); color: #fff; box-shadow: var(--shadow); cursor: pointer; z-index: 45; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--brand-dark); }
.back-to-top.above-cta { bottom: 76px; }

/* Footer */
.site-footer { margin-top: 2rem; background: var(--bg-soft); border-top: 1px solid var(--line); padding: 2rem 0 1rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.footer-brand { font-weight: 800; font-size: 1.2rem; margin-bottom: .3rem; }
.footer-heading { font-size: 1rem; margin-bottom: .5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: .25rem 0; }
.footer-links a { color: var(--ink); }
.footer-bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.footer-connect { text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--ink); transition: transform .15s ease; }
.social:hover { transform: translateY(-2px); text-decoration: none; }
.social-facebook { background: #1877f2; }
.social-zalo { background: #0068ff; }
.social-tiktok { background: #010101; }
.social-youtube { background: #ff0000; }
.social-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.social-shopee { background: var(--shopee); }

/* Error page */
.error-page { text-align: center; padding: 2rem 0; }
.error-code { font-size: 4rem; font-weight: 800; color: var(--line); margin: 0; line-height: 1; }
.error-page .grid { text-align: left; margin-top: 1rem; }

/* Preview banner */
.preview-banner { background: #fef3c7; color: #92400e; padding: .6rem 1rem; text-align: center; font-weight: 600; }

@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pros-cons { grid-template-columns: 1fr 1fr; }
  .product-top { grid-template-columns: 1fr 1.2fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  /* Desktop renders at 80 % so the 1200px layout reads like a browser zoomed out, as the owner asked. */
  body { zoom: .8; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .article-layout.with-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
  .ad.desktop-only { display: block; }
  .ad.mobile-only { display: none; }
  .float-cta { right: 24px; bottom: 24px; padding: .85rem 1.4rem; font-size: 1.02rem; }
  .back-to-top.above-cta { bottom: 88px; }
}
@media (max-width: 1023px) {
  .menu-toggle { display: flex; }
  .site-nav { display: none; }
  body.menu-open .site-nav { display: block; }
  .nav-list { flex-direction: column; padding: .5rem 0; gap: 2px; }
  .nav-list a { padding: .8rem .7rem; border-radius: 10px; font-size: 1.02rem; }
  .nav-list a:hover { background: var(--brand-tint); color: var(--brand-dark); }
  .nav-icon svg { width: 22px; height: 22px; }
  .nav-chev { display: block; }
  .sub-list { display: block; position: static; border: 0; box-shadow: none; padding-left: 1.6rem; background: transparent; }
  .sub-list a { padding: .55rem .7rem; font-size: .96rem; }
  .sub-list .nav-icon svg { width: 18px; height: 18px; }
  .article-foot { flex-direction: column; }
  .rating-widget { align-items: flex-start; margin-left: 0; }
  .rate-now { margin: 0 0 0 10px; }
  .search-form { max-width: none; }
}
@media (max-width: 639px) {
  .brand img { width: 38px; height: 38px; }
  .brand-kicker { font-size: .62rem; }
  .brand-name { font-size: 1.12rem; }
  .header-bar { gap: 8px; }
  .search-form input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Articles: no AI caption; the "Ưu điểm" section is a highlighted box */
.article-hero figcaption, .ai-figure figcaption { display: none; }
.article-body .hl-pros { background: #ecfdf3; border-left: 4px solid var(--ok, #16a34a); margin: 0; padding: .55rem 1rem; }
.article-body h2.hl-pros { margin-top: 1.8rem; padding-top: 1rem; border-radius: 10px 10px 0 0; color: #166534; }
.article-body h2.hl-pros::before { content: "✓ "; }
.article-body ul.hl-pros { padding-left: 2.2rem; border-radius: 0 0 10px 10px; padding-bottom: 1rem; }
.article-body p.hl-pros:last-child { border-radius: 0 0 10px 10px; }
.pros-cons .pros { background: #ecfdf3; border: 1px solid #bbf7d0; border-radius: 10px; padding: .7rem 1rem; }

/* Video review in a phone frame */
.video-review { margin: 2rem 0; }
.video-row { display: flex; gap: 22px; justify-content: center; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x mandatory; }
.phone { margin: 0; flex: 0 0 auto; width: min(240px, 70vw); scroll-snap-align: center; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: linear-gradient(160deg, #1f2937, #000); }
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.video-play-icon { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.92); }
.video-play-icon::after { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #111; }
.video-play:focus-visible { outline: 3px solid var(--brand, #0a7); outline-offset: -3px; }
.phone figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Compact rating under the article title */
.rating-widget.compact { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 1rem; }
.rating-widget.compact .star svg { width: 24px; height: 24px; }
.rating-widget.compact .rating-summary { font-size: .9rem; }
.rate-hint { font-size: .85rem; color: var(--muted); }
.rating-widget.compact.voted .rate-hint { display: none; }

/* Home: Nổi bật nhất + Xem nhiều tuần qua */
.hd { position: relative; display: inline-block; margin: 0 0 1rem; padding-bottom: 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: #1c2434; }
.hot-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.hot-lead { position: relative; border-radius: 8px; overflow: hidden; background: #111; }
.hot-lead-link { position: relative; display: block; color: #fff; aspect-ratio: 4 / 3.3; }
.hot-lead-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hot-lead-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,0) 68%); }
.hot-badge { position: absolute; z-index: 2; top: 14px; left: 14px; background: var(--brand-strong); color: #fff; font-weight: 700; font-size: .95rem; padding: 5px 12px; border-radius: 6px; }
.hot-lead-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.hot-lead-title { font-size: 1.2rem; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hot-lead-excerpt { font-size: .88rem; line-height: 1.5; opacity: .92; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: .82rem; color: var(--muted); }
.hot-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hot-lead .hot-meta { color: rgba(255,255,255,.92); font-size: .9rem; }
.hot-side { display: flex; flex-direction: column; gap: 14px; }
.hot-item { display: flex; gap: 14px; align-items: flex-start; }
.hot-thumb { flex: 0 0 38%; max-width: 190px; border-radius: 6px; overflow: hidden; }
.hot-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.hot-item h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hot-item h3 a, .hot-card h3 a { color: var(--ink); }
.hot-item h3 a:hover, .hot-card h3 a:hover { color: var(--brand-dark); }
.hot-meta svg { color: var(--brand-dark); flex: none; }
.hot-lead .hot-meta svg { color: #fff; }
.hot-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.hot-row::-webkit-scrollbar { display: none; }
.hot-card { flex: 0 0 44%; scroll-snap-align: start; min-width: 0; }
.hot-card-img { display: block; border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.hot-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hot-card h3 { margin: 0 0 6px; font-size: .95rem; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-card .hot-meta { flex-direction: column; gap: 3px; }
@media (min-width: 640px) {
  .hot-card { flex-basis: calc((100% - 2 * 14px) / 3.2); }
  .hot-lead-title { font-size: 1.5rem; }
  .hot-lead-link { aspect-ratio: 16 / 10; }
}
@media (min-width: 900px) {
  .hot-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; }
  .hot-lead-link { aspect-ratio: auto; height: 100%; min-height: 380px; }
  .hot-card { flex-basis: calc((100% - 4 * 14px) / 5); }
}

/* Carousel arrows: same blue circle as the back-to-top button, shown on hover */
.hot-carousel { position: relative; }
.hot-arrow { position: absolute; top: 28%; z-index: 3; width: 44px; height: 44px; display: none; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--brand-strong); color: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; transition: opacity .15s ease; }
.hot-arrow:hover { background: var(--brand-dark); }
.hot-prev { left: -8px; }
.hot-next { right: -8px; }
.hot-carousel:hover .hot-arrow, .hot-carousel:focus-within .hot-arrow { opacity: 1; }
@media (hover: hover) and (min-width: 640px) { .hot-arrow { display: flex; } }

.pros-cons .cons { background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: .7rem 1rem; }
.pros-cons .pros li::marker { color: var(--ok); }
.pros-cons .cons li::marker { color: #b91c1c; }

/* Cons section: a light red block, the counterpart of the pros block */
.article-body .hl-cons { background: #fef4f4; border-left: 4px solid #e57373; margin: 0; padding: .55rem 1rem; }
.article-body h2.hl-cons { margin-top: 1.4rem; padding-top: 1rem; border-radius: 10px 10px 0 0; color: #b42318; }
.article-body h2.hl-cons::before { content: "✕ "; }
.article-body ul.hl-cons { padding-left: 2.2rem; border-radius: 0 0 10px 10px; padding-bottom: 1rem; }
.article-body p.hl-cons:last-child { border-radius: 0 0 10px 10px; }
.article-body h2.hl-pros + .hl-pros, .article-body .hl-pros + .hl-pros { margin-top: 0; }
.video-review { margin-top: 1.6rem; }

/* Silver phone frame with a full-screen button */
.phone-body { position: relative; border-radius: 46px; padding: 8px; background: linear-gradient(135deg, #f4f5f7 0%, #c8cbd1 28%, #eceef1 52%, #b4b8bf 78%, #dfe1e5 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), inset 0 0 0 2px rgba(120,124,132,.45), 0 16px 34px rgba(31,41,51,.28); }
.phone-body::before, .phone-body::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(180deg, #e8eaed, #a9adb4); }
.phone-body::before { left: -3px; top: 92px; height: 48px; }
.phone-body::after { right: -3px; top: 122px; height: 72px; }
.phone-island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; background: #000; border-radius: 999px; z-index: 3; }
.phone-screen { position: relative; aspect-ratio: 9 / 19; border-radius: 38px; overflow: hidden; background: #000; border: 5px solid #0a0a0b; box-sizing: border-box; }
.phone-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-expand { position: absolute; z-index: 4; right: 10px; bottom: 10px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; backdrop-filter: blur(4px); }
.video-expand:hover { background: rgba(0,0,0,.75); }
.video-expand:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.phone-screen:fullscreen, .phone-screen.is-fullscreen { border: 0; border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; height: 100dvh; }
.phone-screen.is-fullscreen { position: fixed; inset: 0; z-index: 1000; }
.phone-screen:fullscreen .video-expand, .phone-screen.is-fullscreen .video-expand { top: 14px; right: 14px; bottom: auto; }

/* Phone frame on small screens: bigger touch target, safe full-screen sizing */
@media (max-width: 639px) {
  .phone { width: min(260px, 72vw); }
  .video-expand { width: 42px; height: 42px; right: 8px; bottom: 8px; }
  .video-expand svg { width: 20px; height: 20px; }
  .phone-screen.is-fullscreen .video-expand, .phone-screen:fullscreen .video-expand { top: max(14px, env(safe-area-inset-top)); right: 14px; width: 44px; height: 44px; }
}

/* Video ngắn nổi bật: thẻ dọc 9:16, trượt ngang, bấm để mở khung điện thoại kèm thẻ sản phẩm */
.vsec .section-head { margin-bottom: 0; }
.vsec .section-head h2.hd { margin: 0 0 1rem; }
.vcarousel .hot-arrow { top: 32%; }
.vrow { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.vrow::-webkit-scrollbar { display: none; }
.vcard { flex: 0 0 46%; min-width: 0; scroll-snap-align: start; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.vcard-img { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #0b1220; margin-bottom: 8px; }
.vcard-img > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.vcard:hover .vcard-img > img { transform: scale(1.03); }
.vcard-badge { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 8px; border-radius: 12px 0 12px 0; background: #f59e0b; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.vcard-play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.vcard-play::after { content: ""; position: absolute; left: 18px; top: 14px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #111; }
.vcard-prod { position: absolute; left: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 10px; overflow: hidden; background: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.vcard-prod img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; font-weight: 600; line-height: 1.45; }
.vcard:hover .vcard-title { color: var(--brand-dark); }
.vcard:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 12px; }
@media (min-width: 640px) { .vcard { flex-basis: calc((100% - 2 * 14px) / 3.2); } }
@media (min-width: 960px) { .vcard { flex-basis: calc((100% - 4 * 14px) / 5); } }

.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; margin: 1rem 0 1.5rem; }
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .vgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.vgrid-item .vcard { width: 100%; }
.vgrid-product { display: block; margin-top: 4px; font-size: .85rem; color: var(--brand-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.vmodal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; }
.vmodal[hidden] { display: none; }
.vmodal-backdrop { position: absolute; inset: 0; background: rgba(8, 12, 20, .78); }
.vmodal-box { position: relative; z-index: 1; width: min(460px, 92vw); }
.vmodal-close { position: absolute; z-index: 5; top: -6px; right: -46px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: #111; cursor: pointer; }
.vmodal-phone { width: min(100%, calc((100dvh - 150px) * .55)); margin: 0 auto; }
.vmodal-phone .phone-screen { aspect-ratio: 9 / 16; }
.vchip { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 10px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.3); text-decoration: none; }
.vchip img { flex: none; width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #eef1f5; }
.vchip-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vchip-text strong { font-size: .8rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vchip-text small { font-size: .78rem; font-weight: 700; color: #d93025; }
.vchip-text small:empty { display: none; }
.vchip-go { flex: none; margin-left: auto; padding: 6px 10px; border-radius: 999px; background: var(--brand-strong); color: #fff; font-size: .74rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 639px) {
  .vmodal-box { width: 100%; height: 100%; display: flex; flex-direction: column; background: #000; }
  .vmodal-close { position: static; align-self: flex-end; flex: none; margin: max(8px, env(safe-area-inset-top)) 10px 8px; background: rgba(255,255,255,.18); color: #fff; }
  .vmodal-phone { flex: 1 1 0; min-height: 0; width: 100%; margin: 0; }
  .vmodal-phone .phone-body { height: 100%; padding: 0; border-radius: 0; background: #000; box-shadow: none; }
  .vmodal-phone .phone-body::before, .vmodal-phone .phone-body::after, .vmodal-phone .phone-island { display: none; }
  .vmodal-phone .phone-screen { height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }
  .vchip { flex: none; margin: 8px 10px calc(10px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .vcard-img > img { transition: none; } }
.vsec .section-head { align-items: flex-end; }
.vsec .section-head a { white-space: nowrap; margin-bottom: 1rem; }
@media (max-width: 639px) { .vsec .section-head h2.hd { font-size: 1.1rem; } }

/* Danh sách sản phẩm: 2 cột trên điện thoại */
@media (max-width: 639px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-4 .card-body { padding: 10px; gap: 5px; }
  .grid-4 .card-title { font-size: .92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .grid-4 .price { font-size: .95rem; }
  .grid-4 .price-old { display: block; margin-left: 0; }
  .grid-4 .shopee-line, .grid-4 .score { font-size: .78rem; }
  .grid-4 .card .btn-cta { font-size: .84rem; padding: .5rem .35rem; }
}

/* Nút menu trên điện thoại: hiệu ứng nhấn, ba gạch biến thành dấu X khi mở */
.menu-toggle { position: relative; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .12s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease; }
.menu-toggle:active { transform: scale(.88); background: var(--brand-tint); }
.menu-toggle span { transform-origin: center; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] { background: var(--brand-tint); border-color: var(--brand); box-shadow: 0 0 0 3px rgba(227, 15, 43, .22); }
.menu-toggle[aria-expanded="true"] span { background: var(--brand-dark); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.menu-open .site-nav { animation: nav-in .22s ease both; }
@media (prefers-reduced-motion: reduce) {
  .menu-toggle, .menu-toggle span { transition: none; }
  body.menu-open .site-nav { animation: none; }
}

/* Gạch chân tiêu đề mục: ngắn, khoảng 80% độ rộng chữ */
.hd::after { content: ""; position: absolute; left: 0; bottom: 0; width: 80%; height: 3px; border-radius: 2px; background: var(--brand-strong); }

/* Mọi tiêu đề mục dùng cùng kiểu: chữ hoa đậm, gạch chân ngắn */
.section-head { align-items: flex-end; }
.section-head a { white-space: nowrap; margin-bottom: .4rem; }
.section-head h2 { position: relative; padding-bottom: 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: #1c2434; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 80%; height: 3px; border-radius: 2px; background: var(--brand-strong); }
@media (max-width: 639px) { .section-head h2, .hd { font-size: 1.15rem; } }

/* Các khối "bài lớn + 3 bài nhỏ" xếp liên tiếp cần khoảng cách rõ ràng */
.hot-grid + .hot-grid { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 639px) { .hot-grid + .hot-grid { margin-top: 22px; padding-top: 20px; } }

/* Trên máy tính trang bị thu 80%; khung xem video giữ cỡ thật để to, dễ xem */
@media (min-width: 1024px) { .vmodal { zoom: 1.25; } }

.vchip-main { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; color: inherit; text-decoration: none; }
.vchip-main:hover .vchip-text strong { color: var(--brand-dark); }
.vchip-go:hover { background: var(--brand-dark); text-decoration: none; }

/* Mục "Xem video review" trong bài viết và trang sản phẩm: khung điện thoại to như khung xem của Video ngắn review */
.video-review .video-row { justify-content: safe center; gap: 28px; }
.video-review .phone { width: min(92vw, 380px); scroll-snap-align: center; }
.video-review .phone-screen:not(.is-fullscreen):not(:fullscreen) { aspect-ratio: 9 / 16; }
@media (min-width: 1024px) { .video-review .phone { width: 516px; } }

/* Bài viết mới nhất: một khối lớn rồi hàng thẻ nhỏ, không lặp lại khối lớn */
.hot-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.hot-cards .hot-card { flex: none; }
@media (min-width: 960px) { .hot-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Xem nhiều tuần qua: nền xám xanh nhạt bo góc như khối tham khảo */
.most-viewed { background: #e0e4ea; border-radius: 12px; padding: 18px 20px 12px; }
.most-viewed .hd { margin-bottom: .9rem; }
.most-viewed .hot-card h3 a { color: var(--ink); }
@media (max-width: 639px) { .most-viewed { padding: 14px 12px 8px; } }

/* Dark footer */
.site-footer { background: #242b33; border-top: 0; color: #e6e9ed; }
.site-footer .muted { color: #aeb6c0; }
.site-footer .footer-brand, .site-footer .footer-heading { color: #fff; }
.site-footer .footer-links a { color: #e6e9ed; }
.site-footer .footer-links a:hover { color: #fff; }
.site-footer .footer-bottom { border-top: 1px dashed #4a535e; }
.site-footer .btn-outline { color: #fff; border-color: #6b7580; background: transparent; }
.site-footer .btn-outline:hover { background: #343c46; }

/* Article hover: image zooms inside its frame, title turns red without underline */
.card-media, .hot-thumb { display: block; overflow: hidden; }
.article-card .card-media img, .hot-thumb img, .hot-card-img img, .hot-lead-link img { transition: transform .25s ease; }
.article-card:hover .card-media img, .hot-item:hover .hot-thumb img, .hot-card:hover .hot-card-img img, .hot-lead:hover .hot-lead-link img { transform: scale(1.03); }
.article-card:hover .card-title a, .hot-item:hover h3 a, .hot-card:hover h3 a, .article-card .card-title a:hover, .hot-item h3 a:hover, .hot-card h3 a:hover { color: #e11d2e; text-decoration: none; }
.hot-lead:hover .hot-lead-title { color: #ff4d5a; }
.hot-lead-link:hover, .article-card a:hover { text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .article-card .card-media img, .hot-thumb img, .hot-card-img img, .hot-lead-link img { transition: none; } }
.site-footer a:hover { text-decoration: none; }
.product-card .card-media img { transition: transform .25s ease; }
.product-card:hover .card-media img { transform: scale(1.03); }
.product-card:hover .card-title a, .product-card .card-title a:hover { color: #e11d2e; text-decoration: none; }
.product-card .card-title a:hover, .product-card .card-media:hover { text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .product-card .card-media img { transition: none; } }
.vcard:hover .vcard-title { color: #e11d2e; text-decoration: none; }

/* Red header and menu accents; author names in blue */
:root { --red: #e30f2b; --red-dark: #c00a22; --red-tint: #fdecee; --author: #1a73e8; }
.site-header { background: var(--red); border-bottom-color: var(--red-dark); }
.nav-icon { color: var(--red); }
.nav-list > li > a { border-radius: 8px; }
.nav-list a:hover { color: var(--red); background: var(--red-tint); }
.hot-meta .hot-author, .hot-meta .hot-author svg { color: var(--author); }
.hot-lead .hot-meta .hot-author, .hot-lead .hot-meta .hot-author svg { color: #fff; }
.hd::after, .section-head h2::after { background: var(--red); }
.hot-badge { background: var(--red); }
.nav-list a.active { color: var(--red); background: var(--red-tint); font-weight: 600; }
.nav-list a.active .nav-icon { color: var(--red); }
.back-to-top, .hot-arrow { background: var(--red); }
.back-to-top:hover, .hot-arrow:hover { background: var(--red-dark); }
.section-head h2 { white-space: nowrap; min-width: 0; }
@media (max-width: 639px) { .section-head h2 { font-size: clamp(.9rem, 4.3vw, 1.15rem); letter-spacing: 0; } .section-head a { font-size: .92rem; } }
