/*
Theme Name: GetDogVerdict
Theme URI: https://getdogverdict.com/
Description: GetDogVerdict child theme of LAT Theme: navy + amber brand, evidence-first editorial layout.
Author: GetDogVerdict
Template: lat-theme
Version: 1.0.0
Text Domain: lat-review-child
*/

/* ============================================================
 * TOKEN: brand B&W (từ mock.css) + REMAP token theme cha (--color-*)
 * và plugin AffiliateCMS Pro (--acms-*). Child nạp sau -> :root này thắng.
 * Đổi cả site bằng 1 chỗ. KHÔNG hardcode hex rời trong component.
 * ============================================================ */
/* Self-hosted fonts (WOFF2 trong assets/fonts) */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/inter-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Outfit';font-style:normal;font-weight:600 800;font-display:swap;src:url('assets/fonts/outfit-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:600 800;font-display:swap;src:url('assets/fonts/outfit-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
h1,h2,h3,h4,.logo,.gdv-logo{font-family:var(--font-head)}

:root{
  /* Brand GDV v1.0 (docs/brand/BRAND_KIT.md). Đổi màu cả site CHỈ ở khối :root này. */
  --navy:#0f2b46; --ink:#0f2b46; --ink-soft:#475569; --muted:#475569; --line:#e7dfd0; --bg:#fff;
  --panel:#fbf7f0; --gold:#d4912a; --aqua:#d4912a; --cta:#d4912a; --cta-hover:#b8791f; --gold-deep:#7a4b00; --link:#0f2b46; --sale:#7a4b00; --good:#14532d;
  --navy-deep:#091d30;
  /* Alias dùng cho component bài viết (chip kết luận, khối bằng chứng, bảng) */
  --accent:#d4912a; --accent-light:#f5deb3; --accent-text:#7a4b00;
  --surface:#fbf7f0; --surface-card:#fff; --border:#e7dfd0;
  --text-primary:#1e293b; --text-secondary:#475569; --text-on-primary:#fff; --primary:#0f2b46;
  --info:#0284c7; --info-bg:#f0f9ff;
  --verdict-buy:#14532d; --verdict-buy-bg:#dcfce7; --verdict-consider:#7a4b00; --verdict-consider-bg:#fff1d6;
  --verdict-skip:#8f1d14; --verdict-skip-bg:#fee4e2; --verdict-info:#0f2b46; --verdict-info-bg:#e6eef6;
  --focus-ring:#1d6fb8;
  --space-sm:8px; --space-md:16px; --space-lg:24px; --space-xl:32px; --space-2xl:48px;
  --radius-sm:6px; --radius-md:10px; --radius-lg:16px; --radius-full:9999px;
  --shadow-md:0 4px 12px rgba(15,43,70,.08);
  --maxw:1200px;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --font-head:'Outfit','Inter',-apple-system,Arial,sans-serif;

  /* THANG CHỮ TIÊU ĐỀ, một bộ token duy nhất cho toàn site (thêm 2026-09-03).
     Trước đây 6 phần tự viết cỡ chữ riêng nên cấp bậc đá nhau: h3 nội dung (19px)
     nhỏ hơn h3 tên sản phẩm trong card (21px), tức nhìn thấy ngược cấp bậc HTML.
     Đổi cỡ chữ CHỈ sửa ở đây, không rải px vào từng rule. Bản mobile override
     lại chính các token này trong @media(max-width:640px) ở cuối file. */
  --fs-h2:26px;        /* h2 trong thân bài + trang tĩnh */
  --fs-h3:22px;        /* h3 nội dung, phải LỚN HƠN --fs-card để đúng cấp bậc */
  --fs-card-lg:30px;   /* tiêu đề card nổi bật (featured trang chủ) */
  --fs-card:21px;      /* tên sản phẩm trong pick card */
  --fs-card-sm:18px;   /* tiêu đề card trong lưới */
  --fs-sechead:22px;   /* nhãn section trang chủ */

  /* Remap token theme cha (lat-theme, assets/css/core/tokens.css) -> B&W + đỏ accent */
  --color-primary:#0f2b46; --color-primary-hover:#091d30; --color-primary-dark:#091d30;
  --color-primary-light:#e6eef6; --color-primary-rgb:15,43,70;
  --color-accent:#d4912a; --color-accent-hover:#b8791f; --color-accent-light:#fff1d6;
  --color-success:#14532d; --color-success-light:#dcfce7;
  --color-warning:#7a4b00; --color-error:#8f1d14; --color-info:#0f2b46;
  --color-text:#1e293b; --color-text-secondary:#475569; --color-text-muted:#475569; --color-text-subtle:#475569;
  --color-bg:#ffffff; --color-bg-alt:#fbf7f0; --color-surface:#fbf7f0; --color-surface-raised:#ffffff; --color-surface-hover:#f5efe3;
  --color-border:#e7dfd0; --color-border-subtle:#f1ebdf; --color-border-strong:#d8cdb8;
  --font-sans:var(--font);

  /* Remap token plugin AffiliateCMS Pro (frontend.css) -> đỏ accent + sao đỏ */
  --acms-primary-rgb:15,43,70; --acms-star-active:#d4912a; --acms-border:#e7dfd0;
}

/* ============================================================
 * BASE
 * ============================================================ */
*{box-sizing:border-box;margin:0;padding:0;min-width:0}
html{scroll-behavior:smooth}
html,body{overflow-x:clip;max-width:100%}
body{font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.45;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{overflow-wrap:break-word}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.cat{font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--gold-deep)}
.date{font-size:12px;color:var(--muted);font-weight:400;font-family:Georgia,'Times New Roman',serif}
.byline{font-size:15px;color:var(--muted);font-weight:400}
.byline a{color:var(--link);font-weight:700}
.accent-h{font-weight:700;letter-spacing:-.02em;border-top:3px solid var(--gold);padding-top:10px;display:block;text-transform:uppercase}

/* ============================================================
 * HEADER
 * ============================================================ */
header.site{position:sticky;top:0;z-index:40;background:#fff}
html{scroll-padding-top:130px} /* anchor jump (In this guide) chừa chỗ cho sticky header */
@media(max-width:640px){html{scroll-padding-top:75px}}
.topbar{border-bottom:1px solid var(--line)}
.topbar .wrap{display:flex;align-items:center;gap:24px;height:72px}
/* Logo: wordmark hai dòng, "Best" trong khối đỏ bo lệch, dải sao điểm số ở dưới.
   Markup do pf_logo() sinh ra, mọi kích thước ăn theo font-size của .logo. */
.logo{font-family:var(--font-head);font-weight:800;font-size:33px;line-height:1;letter-spacing:-.02em;color:var(--ink);text-decoration:none;display:inline-flex;flex-direction:column;align-items:flex-start;gap:.08em}
.logo img{height:39px;width:auto}
.logo .logo-row{display:flex;align-items:baseline;white-space:nowrap}
/* Nền đỏ là lớp ::before nằm sau chữ, nên đổi hình khối không đụng tới chữ */
.logo .logo-bx{position:relative;display:inline-block;color:#fff;padding:.02em .17em .02em .15em;z-index:0}
.logo .logo-bx::before{content:"";position:absolute;inset:-.04em -.02em;background:var(--gold);z-index:-1;border-radius:.42em .09em .42em .09em}
.logo .logo-score{display:inline-flex;align-items:center;gap:.055em;padding-left:.03em}
.logo .logo-score svg{height:.26em;width:auto;flex:none;display:block}
.logo .lsf svg{fill:var(--gold)}
.logo .lse svg{fill:var(--ink);opacity:.22}
footer.site .logo .lse svg{fill:#fff;opacity:.34}
/* Nhấp nháy sao: chu kỳ trên 1 giây, tức dưới 3 lần mỗi giây (WCAG 2.3.1) */
.logo .blink-last .d5 svg{animation:pfLastStar 1.8s ease-in-out infinite}
@keyframes pfLastStar{0%,100%{fill:var(--ink);opacity:.22}45%,62%{fill:var(--gold);opacity:1}}
footer.site .logo .blink-last .d5 svg{animation-name:pfLastStarDark}
@keyframes pfLastStarDark{0%,100%{fill:#fff;opacity:.34}45%,62%{fill:var(--gold);opacity:1}}
/* Sóng chạy: sao nghỉ ở trạng thái mờ, đợt sóng chạy qua làm từng sao sáng đầy
   rồi phồng nhẹ, giống thanh điểm đang được chấm dần. */
.logo .blink-wave .lsf svg{opacity:.55;animation:pfWaveStar 2.4s ease-in-out infinite}
.logo .blink-wave .lse svg{opacity:.2;animation:pfWaveStarDim 2.4s ease-in-out infinite}
.logo .blink-wave .d2 svg{animation-delay:.13s}.logo .blink-wave .d3 svg{animation-delay:.26s}
.logo .blink-wave .d4 svg{animation-delay:.39s}.logo .blink-wave .d5 svg{animation-delay:.52s}
@keyframes pfWaveStar{0%,40%,100%{transform:scale(1);opacity:.55}12%{transform:scale(1.3);opacity:1}}
@keyframes pfWaveStarDim{0%,40%,100%{transform:scale(1);opacity:.2}12%{transform:scale(1.2);opacity:.5}}
.logo .blink-breath{animation:pfBreathe 2.6s ease-in-out infinite}
@keyframes pfBreathe{0%,100%{opacity:1}50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){
  .logo .blink-last .d5 svg,.logo .blink-wave .lsf svg,.logo .blink-wave .lse svg,.logo .blink-breath{animation:none!important}
  .logo .blink-wave .lsf svg{opacity:1}.logo .blink-wave .lse svg{opacity:.22}
}
.searchpill{margin-left:auto;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #d4d4d4;border-radius:22px;padding:9px 18px;min-width:320px;color:var(--muted);font-size:13.5px}
.searchpill input{border:none;background:none;outline:none;font:inherit;color:var(--ink);width:100%}
.searchpill button{border:none;background:none;color:var(--muted);cursor:pointer;font-size:15px;padding:0;display:flex}
.navbar{background:var(--gold);position:relative}
.navbar .wrap{display:flex;align-items:center;height:44px;position:relative}
.navbar nav{display:flex;position:relative;z-index:2}
.navbar .ni{position:static}
.navbar .ni > a,.navbar .right a{font-size:14px;font-weight:600;color:#fff;padding:0 15px;line-height:44px;display:block;letter-spacing:normal}
.navbar .ni:first-child > a{padding-left:0}
.navbar .ni:hover > a{color:#fff;box-shadow:inset 0 -3px 0 #ffffff}
.navbar .submenu{position:absolute;top:100%;left:0;right:auto;width:720px;max-width:calc(100vw - 24px);background:#fff;border:1px solid var(--line);border-top:3px solid var(--gold);box-shadow:0 20px 34px rgba(0,0,0,.18);border-radius:0 0 5px 5px;padding:20px 26px 24px;display:none;column-count:3;column-gap:30px;z-index:60}
.navbar .ni:hover .submenu{display:block}
.navbar .submenu a{display:block;padding:7px 10px;font-size:14px;font-weight:400;color:#1a1a1a;line-height:1.4;border-radius:5px;break-inside:avoid}
/* Tên danh mục Trends dài hơn taxonomy cũ (Mass Merchants & Department Stores...).
   nowrap làm chữ tràn sang cột bên cạnh, nên cho phép xuống dòng trong cột. */
.navbar .submenu a{overflow-wrap:anywhere}
.navbar .submenu a:hover{background:#f0f0f0;color:#000000}
.navbar .submenu.allcats{column-count:4;width:min(1120px,calc(100vw - 24px))}
.navbar .submenu.allcats a{font-weight:500}
.navbar .right{margin-left:auto;display:flex;position:relative;z-index:2}
.navbar .right a{color:#fff;font-weight:800}
.navbar .right a:hover{color:#fff}
.m-searchbtn{display:none;align-items:center;justify-content:center;width:42px;height:38px;border:1px solid var(--line);border-radius:6px;color:var(--navy);font-size:17px;background:#fff;cursor:pointer;margin-left:auto;flex:none}
.mobile-search{display:none;background:#fff;border-top:1px solid var(--line);padding:12px 24px}
.msearch-toggle:checked ~ .mobile-search{display:block}
.mobile-search .m-search{display:flex;align-items:center;gap:9px;padding:11px 15px;border:1px solid var(--line);border-radius:22px;color:var(--muted);font-size:13.5px}
.mobile-search .m-search input{border:none;outline:none;font:inherit;width:100%;background:none}
/* FTC affiliate disclosure bar: band toàn width dưới header, text căn giữa */
.hamburger{display:none;align-items:center;justify-content:center;width:42px;height:38px;border:1px solid var(--line);border-radius:6px;color:var(--navy);font-size:19px;cursor:pointer;background:#fff;flex:none}
.hamburger .ic-close{display:none}
.mnav-toggle:checked ~ .topbar .hamburger .ic-open{display:none}
.mnav-toggle:checked ~ .topbar .hamburger .ic-close{display:inline-block}
/* Override .mobile-nav của theme cha (drawer fixed 100vh/320px) -> dropdown normal-flow (mockup). */
.mobile-nav{display:none;background:var(--gold);border-top:1px solid rgba(255,255,255,.25);box-shadow:0 14px 26px rgba(0,0,0,.13);position:static;height:auto;max-width:none;inset:auto;transform:none;flex-direction:column;z-index:auto}
/* Menu mobile phải TỰ CUỘN được.
   Nó nằm trong header `position:sticky` và chứa tới 252 link (17 nhóm cộng 216 mục con), nên để
   `height:auto` là nó cao hàng nghìn pixel, header dính cứng không cuộn tới đáy được và thao tác
   kéo xuống bị loạn. Chừa đúng chiều cao thanh header (72px desktop, 60px từ 640px trở xuống).
   `dvh` thay `vh` vì trên di động thanh địa chỉ co giãn, dùng `vh` thì đáy menu bị khuất dưới nó.
   `overscroll-behavior:contain` chặn việc cuộn hết menu rồi trang nền cuộn theo. */
.mobile-nav{max-height:calc(100vh - 72px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
@supports(height:100dvh){.mobile-nav{max-height:calc(100dvh - 72px)}}
.mnav-toggle:checked ~ .mobile-nav{display:block}
.mobile-nav a{display:block;padding:13px 24px;font-size:14px;font-weight:700;color:#fff;border-bottom:1px solid rgba(255,255,255,.18)}
.mobile-nav a:active,.mobile-nav a:hover{background:rgba(255,255,255,.14)}
.mobile-nav a.gold{color:#fff}
.mobile-nav .m-sep{padding:12px 24px 6px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.9)}
.mobile-nav details summary{list-style:none;padding:13px 24px;font-size:14px;font-weight:700;color:#fff;cursor:pointer;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(255,255,255,.18)}
.mobile-nav details summary::-webkit-details-marker{display:none}
.mobile-nav details summary::after{content:'+';font-size:19px;color:rgba(255,255,255,.9);font-weight:400;line-height:1}
.mobile-nav details[open] summary{color:#fff}
.mobile-nav details[open] summary::after{content:'\2212'}
.mobile-nav .sub{background:rgba(0,0,0,.12)}
.mobile-nav .sub a{padding:11px 24px 11px 38px;font-size:13px;font-weight:600;color:rgba(255,255,255,.9)}
/* Nav ngang can 809px noi dung nen chi hien tu 981px. Duoi do dung drawer.
   Search van doi o moc 640px nhu cu. */
@media(min-width:981px){.mobile-nav{display:none!important}}
@media(min-width:641px){.mobile-search{display:none!important}}

/* ============================================================
 * HERO: 3 columns (homepage)
 * ============================================================ */
.hero{display:grid;grid-template-columns:255px 1fr 290px;gap:30px;padding:26px 0 34px}
.col-h{font-size:15px;margin-bottom:14px}
.latest .it{padding:11px 0;border-bottom:1px solid var(--line)}
.latest .it:first-of-type{padding-top:0}
.latest .meta{display:flex;gap:8px;align-items:center;margin-bottom:4px}
.latest .it a.h{font-size:16px;font-weight:700;line-height:1.32;display:block}
.latest .it a.h:hover{color:var(--gold-deep)}
.feat img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.feat h3{font-size:var(--fs-card-lg);font-weight:600;line-height:1.16;letter-spacing:-.01em;margin:12px 0 10px}
.feat p{font-size:16px;color:var(--ink-soft);line-height:1.4;margin-bottom:14px}
.feat .feat-meta{margin-top:12px}

/* Tagline band with search */
.tagline{background:var(--panel);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:40px 20px;text-align:center}
.tagline h2{font-size:clamp(22px,3vw,30px);font-weight:800;letter-spacing:-.01em;margin-bottom:20px}
.tagline form{display:flex;justify-content:center;max-width:620px;margin:0 auto}
.tagline input{flex:1;border:1px solid #d4d4d4;border-right:none;border-radius:5px 0 0 5px;padding:14px 16px;font:inherit;outline:none}
.tagline button{border:none;background:var(--gold);color:#fff;font-weight:800;text-transform:uppercase;letter-spacing:.03em;font-size:13px;padding:0 28px;border-radius:0 5px 5px 0;cursor:pointer}
.tagline button:hover{background:var(--gold-deep);color:#fff}

/* Section shell */
section.blk{padding:24px 0}
.sechead{margin-bottom:8px}
.sechead h2{font-size:var(--fs-sechead)}
.sechead p{font-size:13.5px;color:var(--ink-soft);margin:8px 0 20px;max-width:80ch}
.sechead.rowend{display:flex;justify-content:space-between;align-items:center}

/* Trending flat cards */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.acard .imgwrap{aspect-ratio:16/9;overflow:hidden}
.acard img{width:100%;height:100%;object-fit:cover}
.acard .meta{display:flex;gap:9px;align-items:center;margin:11px 0 6px}
.acard h2,.acard h3{font-size:var(--fs-card-sm);font-weight:600;line-height:1.28;letter-spacing:.02px;margin-bottom:7px}
.acard p{font-size:15px;color:var(--ink-soft);line-height:1.4;margin-bottom:8px}
.acard .byline{display:block;margin:6px 0 8px}

/* Newsletter */
.news{background:var(--navy);color:#fff;padding:26px 32px;display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.news .l{max-width:460px}
.news .news-title{font-size:19px;font-weight:800}.news .news-title b{color:#fff}
.news .wk{font-size:10.5px;font-weight:800;letter-spacing:.08em;color:#fff;text-transform:uppercase}
.news p{color:rgba(255,255,255,.78);font-size:12.5px;margin-top:5px}
.news form{margin-left:auto;display:flex;gap:0}
.news input{border:none;border-radius:4px 0 0 4px;padding:11px 14px;font:inherit;min-width:230px;outline:none}
.news button{border:none;background:var(--gold);color:#fff;font-weight:800;font-size:13px;padding:0 20px;border-radius:0 4px 4px 0;cursor:pointer}
.news button:hover{background:var(--gold-deep)}
.news-wrap{padding-top:40px;padding-bottom:14px}

/* Browse categories */
.catblock{padding:16px 0}
.catblock .ch{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:20px;border-top:3px solid var(--gold);padding-top:16px}
.catblock .ch .cat-title{font-size:42px;font-weight:700;letter-spacing:-1px;line-height:1.08;margin:0;text-transform:uppercase}
.catblock .ch .cat-title a{color:inherit;text-decoration:none}
.catblock .ch .cat-title a:hover{text-decoration:underline}
.catblock .subs{font-size:16px;color:var(--ink-soft);font-weight:600}
.catblock .subs a{color:var(--link);font-weight:700;text-decoration:underline}
.catblock .cols{display:grid;grid-template-columns:1.25fr 1fr;gap:40px}
.lead img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin-bottom:11px}
.lead .date{margin-bottom:6px;display:block}
.lead h3{font-size:var(--fs-h3);font-weight:600;line-height:1.2;letter-spacing:-.01em;margin-bottom:8px}
.lead p{font-size:15px;color:var(--ink-soft);line-height:1.4;margin:8px 0 7px}
.clist{border-left:1px solid var(--line);padding-left:36px;display:flex;flex-direction:column}
.clist .ci{padding:12px 0;border-bottom:1px solid var(--line)}
.clist .ci:first-child{padding-top:0}
.clist .ci .date{display:block;margin-bottom:4px}
.clist .ci .ci-title{font-size:16px;font-weight:600;line-height:1.3}
.clist .vall{margin-top:14px;font-size:12.5px;font-weight:800;color:var(--link);text-decoration:underline}

/* Card layout variants (dùng chung) */
.variant-badge{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--gold-deep);background:#f6f6f6;border:1px solid #e4e4e4;padding:2px 8px;border-radius:999px;margin-left:10px;vertical-align:middle}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.compact-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 34px}
.compact-list .crow{display:flex;gap:13px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line)}
.compact-list .crow img{width:88px;height:62px;object-fit:cover;background:var(--panel);flex:none}
.compact-list .crow .date{display:block;margin-bottom:4px}
.compact-list .crow h4{font-size:16px;font-weight:600;line-height:1.32}
.carousel{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 12px;-webkit-overflow-scrolling:touch}
.carousel .acard{flex:0 0 300px;scroll-snap-align:start}
.carousel::-webkit-scrollbar{height:8px}
.carousel::-webkit-scrollbar-track{background:var(--panel);border-radius:4px}
.carousel::-webkit-scrollbar-thumb{background:#d4d4d4;border-radius:4px}

/* Who */
.who{background:var(--navy);color:#fff;padding:52px 0}
.who .who-title{font-size:27px;font-weight:900;text-align:center;margin-bottom:12px;color:#fff}
.who .sub{text-align:center;color:rgba(255,255,255,.82);font-size:14px;max-width:76ch;margin:0 auto 8px}
.who .stats{display:flex;justify-content:center;gap:46px;flex-wrap:wrap;margin:28px 0 34px}
.who .stat b{display:block;font-size:32px;font-weight:900;color:#fff;letter-spacing:-.02em}
.who .stat span{font-size:12px;color:rgba(255,255,255,.85);text-transform:uppercase;letter-spacing:.05em;font-weight:700}
.who .pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:38px}
.who .pillar{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:24px;text-align:center}
.who .pillar img{height:52px;margin:0 auto 14px}
.who .pillar .pillar-title{font-size:15px;font-weight:800;margin-bottom:7px}
.who .pillar p{font-size:12.5px;color:rgba(255,255,255,.72)}
.who .teamlbl{text-align:center;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#fff;margin-bottom:18px}
.team{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}
.team .m{text-align:center}
.team .m img{width:78px;height:78px;border-radius:50%;object-fit:cover;margin:0 auto 9px;border:3px solid rgba(255,255,255,.35)}
.team .m b{display:block;font-size:12.5px;font-weight:800}
.team .m span{font-size:11px;color:rgba(255,255,255,.62)}
.page-body .team-light{margin:24px 0 10px}
.team-light .m img{border-color:var(--gold)}
.team-light .m b a{color:var(--ink);text-decoration:none;font-weight:800}
.team-light .m b a:hover{color:var(--gold)}
.team-light .m span{color:var(--muted)}

/* ============================================================
 * FOOTER
 * ============================================================ */
footer.site{background:var(--navy);color:#b9c9d6;padding:44px 0 26px}
footer.site .ftop{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;padding-bottom:26px;border-bottom:1px solid rgba(255,255,255,.1)}
footer.site .logo{color:#fff;font-size:30px;height:auto;margin-bottom:14px}
footer.site .logo img{height:39px;margin-bottom:14px}
footer.site p.desc{font-size:13px;color:#838383;max-width:38ch}
.social{display:flex;gap:9px;margin-top:14px}
.social a{width:34px;height:34px;border-radius:6px;background:rgba(255,255,255,.08);display:grid;place-items:center;font-size:13px;color:#fff;font-weight:800}
.social a:hover{background:#fff;color:#111}
footer.site .cols{display:flex;gap:54px;flex-wrap:wrap}
footer.site h5{color:#fff;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
footer.site ul{list-style:none}
footer.site li{margin-bottom:8px}
footer.site li a{font-size:13px;color:#b0b0b0}
footer.site li a:hover{color:#fff}
footer.site .fine{font-size:11.5px;color:#757575;padding-top:18px;line-height:1.7}
footer.site .fine a{color:#b0b0b0;text-decoration:underline}

/* ============================================================
 * CATEGORY / ARCHIVE
 * ============================================================ */
.breadcrumb-wrap{padding-top:18px}
.breadcrumb{font-size:13px;color:var(--muted);font-weight:600;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.breadcrumb a{color:var(--link)}
.breadcrumb a:hover{text-decoration:underline}
.cat-hero{padding:12px 0 14px}
.cat-hero h1{font-size:46px;font-weight:700;letter-spacing:-1.2px;line-height:1.05;text-transform:uppercase;margin-bottom:12px}
.cat-intro{font-size:17px;font-weight:400;color:var(--ink-soft);width:100%;line-height:1.5;margin-bottom:18px}
.cat-subnav{display:flex;flex-wrap:wrap;gap:6px 18px}
.cat-subnav a{font-size:14px;font-weight:700;color:var(--link)}
.cat-subnav a:hover{text-decoration:underline}
/* Related categories: noi cheo sang nhom cha khac cho danh muc chong lan (Tablets,
   Gaming Headsets, Portable Power Stations). Dung token brand, khong hardcode hex. */
.cat-related-title{font-size:var(--fs-sechead);font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding-top:18px;margin-bottom:13px;border-top:2px solid var(--gold)}
.cat-related-list{display:flex;flex-wrap:wrap;gap:10px}
.cat-related-list a{display:inline-block;padding:9px 16px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:700;color:var(--ink);line-height:1.25}
.cat-related-list a:hover{border-color:var(--gold);color:var(--gold)}
.guide-body{width:100%;font-size:16px;color:var(--ink-soft);line-height:1.6}
.guide-body p{margin-bottom:14px}
.guide-body h3{font-size:var(--fs-h3);font-weight:700;color:var(--ink);margin:22px 0 8px}

/* Load more (leaf category, infinite scroll) */
.loadmore{text-align:center;padding:28px 0 4px}
.btn-loadmore{font-family:inherit;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:var(--navy);background:#fff;border:2px solid var(--navy);border-radius:6px;padding:12px 34px;cursor:pointer}
.btn-loadmore:hover{background:var(--navy);color:#fff}
.btn-loadmore[disabled]{opacity:.5;cursor:default}
.loadmore-note{font-size:13px;color:var(--muted);margin-top:12px}

/* Tag / Archive / Author (kế thừa leaf) */
.author-hero{display:flex;gap:24px;align-items:flex-start;padding:16px 0 18px}
.author-avatar{width:112px;height:112px;border-radius:50%;object-fit:cover;flex:none;border:3px solid var(--gold)}
.author-info{flex:1;min-width:0}
.author-info h1{font-size:38px;font-weight:700;letter-spacing:-1px;text-transform:uppercase;line-height:1.05;margin-bottom:4px}
.author-role{font-size:15px;color:var(--ink);margin-bottom:10px}
.author-meta{display:flex;gap:24px;margin-top:12px;font-size:14px;color:var(--muted)}
.author-meta b{color:var(--ink)}

/* Static PAGE */
.page-body{font-size:16px;color:var(--ink-soft);line-height:1.65;width:100%}
.page-body h2{font-size:var(--fs-h2);font-weight:700;color:var(--ink);letter-spacing:-.3px;margin:28px 0 10px}
.page-body h3{font-size:var(--fs-h3);font-weight:700;color:var(--ink);margin:22px 0 8px}
.page-body p{margin-bottom:14px}
.page-body ul,.page-body ol,.guide-body ul,.guide-body ol{margin:0 0 16px;padding-left:24px}
.page-body ul,.guide-body ul{list-style:disc}
.page-body ol,.guide-body ol{list-style:decimal}
.page-body li,.guide-body li{margin-bottom:7px}
.page-body li::marker,.guide-body li::marker{color:var(--muted)}
.page-body ul ul,.page-body ol ol,.page-body ul ol,.page-body ol ul{margin:6px 0}
.page-body a{color:var(--link);font-weight:700;text-decoration:underline}
.page-body a:hover{color:var(--gold)}
article.page{max-width:668px;margin:0 auto}
article.page h1{font-size:46px;font-weight:700;letter-spacing:-1.2px;line-height:1.05;text-transform:uppercase;margin-bottom:12px}

/* Search box (search + 404) */
.results-search{display:flex;align-items:center;gap:10px;max-width:560px;margin:6px 0 14px;border:1px solid #d4d4d4;border-radius:8px;padding:0 6px 0 14px;color:var(--muted)}
.results-search input{flex:1;border:none;outline:none;font:inherit;color:var(--ink);padding:12px 0;background:none}
.results-search button{border:none;background:var(--gold);color:#fff;font-weight:800;text-transform:uppercase;letter-spacing:.03em;font-size:12px;padding:9px 18px;border-radius:6px;cursor:pointer}
.results-search button:hover{background:var(--gold-deep);color:#fff}

/* 404 */
.err-404{text-align:center;padding:40px 0 30px}
.err-inner{max-width:640px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
.err-code{font-size:120px;font-weight:800;line-height:1;color:var(--gold);letter-spacing:-4px}
.err-404 h1{font-size:34px;font-weight:700;text-transform:uppercase;letter-spacing:-.6px;margin:6px 0 10px}
.err-msg{font-size:16px;color:var(--ink-soft);line-height:1.5;margin-bottom:20px}
.err-404 .results-search{margin:0 auto 18px;width:100%}
.err-popular{margin-top:22px;font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center;align-items:center}
.err-popular a{color:var(--link);font-weight:700}

/* ============================================================
 * POST DETAIL (roundup / guide / review)
 * ============================================================ */
.post-hero{padding-top:6px;padding-bottom:2px}
.post-hero h1{font-size:42px;font-weight:700;letter-spacing:-1px;line-height:1.06;margin-bottom:12px}
.post-dek{font-size:18px;font-weight:400;color:var(--ink-soft);line-height:1.5;margin-bottom:16px}
.post-meta{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;font-size:13px;color:var(--muted);padding:12px 0}
.post-meta .author{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ink)}
.post-meta .author a{color:var(--ink);text-decoration:none}
.post-meta .author a:hover{color:var(--gold-deep);text-decoration:underline}
.author-avs{display:inline-flex;flex:none}
.author-avs a{display:block;line-height:0}
.author-avs img{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid var(--bg);display:block}
.author-avs a+a{margin-left:-12px}
.author-avs a:hover{position:relative;z-index:2}
.post-meta .m-item{font-family:Georgia,'Times New Roman',serif}
.post-meta .m-share{margin-left:auto;display:flex;gap:12px;font-size:16px;color:var(--ink-soft)}
.post-figure{position:relative;margin:20px 0 0}
.post-feat{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
.post-cap{position:absolute;right:0;bottom:0;background:color-mix(in srgb,var(--navy) 72%,transparent);color:#fff;font-size:11px;font-weight:500;letter-spacing:.02em;padding:5px 10px;max-width:70%;text-align:right;line-height:1.3}
.post-layout{display:grid;grid-template-columns:1fr 290px;gap:44px;align-items:start}
.post-aside{position:sticky;top:130px}
.rd-toc{border:1px solid var(--line);border-radius:8px;padding:16px 18px}
.rd-toc h4{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:8px}
.rd-toc a{display:block;font-size:14px;font-weight:600;color:var(--ink-soft);padding:6px 0;border-bottom:1px solid var(--line)}
.rd-toc a:last-child{border-bottom:none}
.rd-toc a:hover{color:var(--link)}

/* ASIN compare table */
.compare-scroll{overflow-x:auto;margin:6px 0 28px}
.compare-table{width:100%;min-width:560px;border-collapse:collapse;font-size:14px}
.compare-table th{background:var(--navy);color:#fff;text-align:left;padding:11px 12px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.compare-table td{border-bottom:1px solid var(--line);padding:11px 12px;vertical-align:middle}
.compare-table .ct-award{font-size:11px;font-weight:800;color:var(--gold-deep);text-transform:uppercase}
.page-body .compare-table a{text-decoration:none;font-weight:700}
.compare-table .ct-prod{display:flex;align-items:center;gap:12px;font-weight:700;color:var(--ink)}
.compare-table .ct-prod img{width:52px;height:52px;object-fit:cover;flex:none}
.compare-table .ct-price{font-weight:900;color:var(--sale);white-space:nowrap}
.compare-table .ct-buy{display:inline-block;background:var(--navy);color:#fff;font-weight:800;font-size:12px;text-transform:uppercase;padding:8px 16px;border-radius:5px}
.compare-table .ct-buy:hover{background:#2b2b2b}

/* product card */
.prod{border:1px solid var(--line);border-radius:10px;padding:22px;margin:0 0 22px;position:relative}
.prod .rank{position:absolute;top:-14px;left:22px;width:34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:800;font-size:15px}
.prod-top{display:grid;grid-template-columns:170px minmax(0,1fr) minmax(0,220px);gap:16px;align-items:start}
.prod .p-img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff}
.prod .award{display:inline-block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:#fff;background:var(--gold);padding:4px 10px;border-radius:4px;margin-bottom:9px}
.prod h3{font-size:var(--fs-card);font-weight:700;letter-spacing:-.2px;margin-bottom:6px}
.prod .p-rating{font-size:13px;color:var(--muted);margin-bottom:10px}
.prod .p-desc{font-size:15px;color:var(--ink-soft);line-height:1.5;margin:0}
.prod .p-price{font-size:22px;font-weight:900;white-space:nowrap}
.prod .p-old{font-size:14px;font-weight:600;color:var(--muted);text-decoration:line-through}
.buy-btns{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%;box-sizing:border-box}
.buy-btns a{background:var(--navy);color:#fff;font-weight:700;font-size:14px;text-align:center;padding:11px;border-radius:6px;text-decoration:none}
.buy-btns a.alt{background:#fff;color:var(--navy);border:1px solid var(--navy)}
.buy-btns a:hover{opacity:.9}
.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:18px;border-top:1px solid var(--line);padding-top:16px}
.pros h4,.cons h4{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;margin-bottom:8px}
.pros h4{color:var(--good)} .cons h4{color:var(--sale)}
.pros ul,.cons ul{list-style:none;margin:0}
.pros li,.cons li{font-size:14px;color:var(--ink-soft);margin-bottom:6px;padding-left:20px;position:relative;line-height:1.4}
.pros li::before{content:'\2713';position:absolute;left:0;color:var(--good);font-weight:800}
.cons li::before{content:'\2715';position:absolute;left:0;color:var(--sale);font-weight:800}

/* FAQ accordion */
.faq{margin-bottom:8px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;font-size:17px;font-weight:700;color:var(--ink);padding:15px 30px 15px 0;cursor:pointer;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';position:absolute;right:2px;top:12px;font-size:22px;font-weight:400;color:var(--muted)}
.faq details[open] summary::after{content:'\2212'}
.faq details p{font-size:15px;color:var(--ink-soft);line-height:1.6;padding:0 0 16px}

/* author box */
.author-box{display:flex;gap:18px;border:1px solid var(--line);border-radius:10px;padding:20px;align-items:flex-start;margin-bottom:12px}
.author-box img{width:72px;height:72px;border-radius:50%;object-fit:cover;flex:none;border:3px solid var(--gold);display:block}
.author-box b{font-size:17px;font-weight:700;display:block;margin-bottom:4px}
.author-box b a{color:var(--ink);text-decoration:none}
.author-box b a:hover{color:var(--gold-deep)}
.author-box p{font-size:14px;color:var(--ink-soft);line-height:1.55;margin:0}

/* Buying guide / how-to callouts */
.takeaways{background:var(--panel);border-left:3px solid var(--gold);border-radius:0 8px 8px 0;padding:18px 22px;margin:6px 0 24px}
.takeaways h4{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--gold-deep);margin-bottom:10px}
.takeaways ul{list-style:none;margin:0}
.takeaways li{font-size:15px;color:var(--ink-soft);line-height:1.5;padding-left:24px;position:relative;margin-bottom:8px}
.takeaways li:last-child{margin-bottom:0}
.takeaways li::before{content:'\2713';position:absolute;left:0;color:var(--good);font-weight:800}
.guide-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;background:var(--navy);color:#fff;border-radius:10px;padding:22px 24px;margin:8px 0 26px}
.guide-cta .gc-t{font-size:18px;font-weight:800}
.guide-cta .gc-d{font-size:14px;color:rgba(255,255,255,.75);margin-top:3px}
.page-body .guide-cta a.gc-btn{background:#fff;color:#111;font-weight:800;font-size:14px;padding:12px 22px;border-radius:6px;white-space:nowrap;text-decoration:none;flex:none}
.page-body .guide-cta a.gc-btn:hover{background:#e4e4e4;color:#111}

/* sidebar related + infinite up-next */
.rd-related{margin-top:20px;border:1px solid var(--line);border-radius:8px;padding:16px 18px}
.rd-related h4{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:10px}
.rel-item{display:flex;gap:11px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}
.rel-item:last-child{border-bottom:none}
.rel-item img{width:62px;height:46px;object-fit:cover;flex:none}
.rel-item span{font-size:14px;font-weight:700;line-height:1.3;color:var(--ink)}
.rel-item:hover span{color:var(--gold-deep)}
.up-next{text-align:center;border-top:2px solid var(--line);margin:28px 0 4px}
.up-next span{position:relative;top:-12px;background:var(--bg);padding:0 18px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
/* Up-next infinite feed: bài kế trôi vào liền mạch */
.up-next-sentinel{height:1px;margin:0}
.pf-next-block .up-next{margin-top:40px}
.pf-article{display:block}
.infinite-note{font-size:14px;color:var(--ink-soft);background:var(--panel);border-left:3px solid var(--gold);padding:12px 16px;margin-top:10px;line-height:1.5}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media(max-width:980px){
  /* Nav ngang khong du cho tu day tro xuong (can 809px), chuyen sang drawer hamburger. */
  .navbar{display:none}.hamburger{display:flex}
  /* Tu 980 tro xuong la bo cuc cham, chip danh muc lien quan can tap target >=44px. */
  .cat-related-list a{padding:12px 16px}
  .cat-related-list{gap:9px}
  .hero{grid-template-columns:1fr;gap:26px}
  .grid3,.card-grid{grid-template-columns:repeat(2,1fr)}
  .compact-list{grid-template-columns:1fr}
  .catblock .cols{grid-template-columns:1fr;gap:22px}
  .clist{border-left:none;padding-left:0;border-top:1px solid var(--line);padding-top:14px}
  .who .pillars{grid-template-columns:1fr}.team{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .post-layout{grid-template-columns:1fr}
  .post-aside{display:none}
}
@media(max-width:640px){
  .searchpill{display:none}.m-searchbtn{display:flex}
  .topbar .wrap{gap:12px;height:60px}.logo{font-size:24px;height:auto;line-height:1}
  .mobile-nav{max-height:calc(100vh - 60px)}
  @supports(height:100dvh){.mobile-nav{max-height:calc(100dvh - 60px)}}
  .grid3,.card-grid{grid-template-columns:1fr}.news form{margin-left:0;width:100%}.news input{flex:1}
  /* Mobile: hạ NGUYÊN THANG CHỮ bằng cách override token, giữ đúng cấp bậc
     h2 > h3 nội dung > tên sản phẩm > card lưới. Không sửa px trong từng rule. */
  :root{--fs-h2:22px;--fs-h3:19px;--fs-card-lg:20px;--fs-card:18px;--fs-card-sm:16px;--fs-sechead:19px}
  .catblock .ch .cat-title{font-size:28px}
  .team{grid-template-columns:repeat(2,1fr)}
  .cat-hero h1{font-size:32px}
  .author-hero{flex-direction:column;gap:14px}.author-info h1{font-size:30px}
  article.page h1{font-size:32px}
  .post-hero h1{font-size:30px}
  .prod-top{grid-template-columns:1fr}
  .pros-cons{grid-template-columns:1fr}
}
@media(max-width:520px){.guide-cta a.gc-btn{width:100%;text-align:center}}

/* ============================================================
 * Verdict info tooltip (tái dùng plugin .acms-tooltip, cho câu dài xuống dòng)
 * ============================================================ */
.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}
.acms-tooltip--pf{margin-left:5px;color:var(--muted);font-size:.9em;vertical-align:baseline}
.acms-tooltip--pf .bi{font-size:.95em;line-height:1}
.acms-tooltip--pf .acms-tooltip__content{white-space:normal;width:max-content;max-width:min(260px,calc(100vw - 32px));text-align:left;line-height:1.5;font-weight:400;text-transform:none;letter-spacing:0;color:var(--bg);background:var(--ink);padding:10px 12px}
/* click/tap giữ mở (JS plugin toggle .is-active) -> link trong tooltip bấm được + hoạt động trên mobile */
.acms-tooltip--pf.is-active .acms-tooltip__content{opacity:1;visibility:visible}
/* Header cột Verdict: (1) mở XUỐNG dưới tránh .compare-scroll clip overflow trên;
   (2) căn PHẢI để tooltip bung sang trái, không tràn mép phải viewport (icon nằm sát phải trên mobile) */
.acms-tooltip--pf.acms-tooltip--down .acms-tooltip__content{top:calc(100% + 8px);bottom:auto;left:auto;right:0;transform:none}
/* Header nền đen -> icon trắng cho nổi bật (chỉ --down = header bảng compare) */
.acms-tooltip--pf.acms-tooltip--down{color:var(--bg)}
/* LẬT XUỐNG ĐỘNG (pf-tooltip.js gắn khi phía trên không đủ chỗ, thêm 2026-09-03).
   Mặc định plugin luôn bung LÊN (bottom:100%), nên ⓘ nằm gần đỉnh màn hình thì
   tooltip trào ra ngoài viewport và mất mấy dòng đầu (đo được top:-14px khi icon
   cách đỉnh 140px). Chỉ đổi trục DỌC, giữ nguyên căn giữa ngang; KHÔNG dùng lại
   --down vì class đó còn đổi căn phải + tô icon trắng (icon sẽ tàng hình trên nền trắng). */
.acms-tooltip--pf.acms-tooltip--flipdown .acms-tooltip__content{top:calc(100% + 8px);bottom:auto}
/* Trang compare: label "Verdict" nằm sát TRÁI -> căn trái để tooltip bung sang phải, không tràn mép trái */
.acms-cmp__label .acms-tooltip--pf .acms-tooltip__content{left:0;right:auto;transform:none}
.acms-tooltip--pf .acms-tooltip__content a{color:var(--bg);text-decoration:underline}
.acms-tooltip--pf .acms-tooltip__content strong{font-weight:800}
/* Dòng "Updated: {date}" của ASIN (dưới giá) */
.acms-list__update{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);position:relative}
.acms-list__update .bi-clock-history{font-size:.95em;line-height:1}
.acms-list__update .acms-tooltip--pf{margin-left:2px}
/* Desktop: icon nằm cột phải card -> căn phải (bung sang trái) tránh đè sidebar; mobile giữ căn giữa */
@media(min-width:761px){.acms-list__update .acms-tooltip--pf .acms-tooltip__content{left:auto;right:0;transform:none}}

/* ===== Trang /coupons/ (template page-coupons.php) =====================================
   Feed coupon cần trọn khổ .wrap chứ không phải cột chữ 668px của trang tĩnh. Dải H1 để nền
   trắng, dải feed nền --panel để card trắng của plugin nổi lên (đúng tương quan nền/card đo
   được ở layout tham khảo, màu thì vẫn là token brand). */
.coupons-head{padding:28px 0 18px}
.coupons-head h1{font-size:46px;font-weight:700;letter-spacing:-1.2px;line-height:1.05;text-transform:uppercase;margin:0}
.coupons-feed-band{background:var(--panel);padding:24px 0 44px}
.coupons-body .acms-coupons{max-width:none}
@media(max-width:640px){
  .coupons-head{padding:20px 0 12px}
  .coupons-head h1{font-size:32px;letter-spacing:-.6px}
  .coupons-feed-band{padding:16px 0 32px}
  /* Lề hẹp lại cho riêng dải feed: card giữ nguyên lưới 3 cột như bản tham khảo nên mỗi px
     lề ăn thẳng vào bề ngang cột tiêu đề. */
  .coupons-feed-band .wrap{padding:0 12px}
}

/* ===== Trang store (single-store.php) ==================================================
   Bố cục 2 cột: cột chính là coupon + bảng + phần biên tập, cột phải là số liệu + FAQ.
   Dải H1 nền trắng, dải nội dung nền --panel để card trắng của plugin nổi lên, cùng công thức
   với trang /coupons/. */
.store-head{padding:24px 0 18px}
.store-head .breadcrumb{margin-bottom:14px}
.store-head-row{display:flex;align-items:center;gap:20px}
.store-logo{width:96px;height:96px;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px;flex:none}
/* Huy hiệu chữ cái đầu khi store chưa có logo. Kế thừa hộp của .store-logo (cùng kích thước,
   viền, bo góc) nên chỉ cần khai phần căn chữ và màu, không lặp lại thuộc tính hộp. */
.store-logo-mono{display:flex;align-items:center;justify-content:center;font-size:40px;font-weight:800;line-height:1;color:var(--gold);background:var(--panel);padding:0;user-select:none}
/* Huy hiệu chữ cái đầu ở feed /coupons/, do mu-plugin pf-coupon-logo-fallback.php chèn.
   GIỮ class -fallback của plugin nên hộp (128px, 72px ở mobile, nền, bo góc, padding) thừa hưởng
   sẵn, ở đây chỉ khai phần chữ. Cùng màu brand với huy hiệu trang store để hai trang khớp nhau. */
.acms-coupons-row-logo-mono{font-size:54px;font-weight:800;line-height:1;color:var(--gold);user-select:none}
.store-head-text h1{font-size:38px;font-weight:700;letter-spacing:-.8px;line-height:1.1;margin:0}
.store-head-sub{margin:6px 0 0;font-size:14px;color:var(--muted)}
.store-band{background:var(--panel);padding:24px 0 48px}
.store-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.store-main{min-width:0}
.store-side{min-width:0;position:sticky;top:16px}
.store-empty{color:var(--muted);font-style:italic}
/* Khối coupon hết hạn: <details> thuần HTML, mặc định đóng. */
.store-expired{margin-bottom:32px}
.store-expired>summary{cursor:pointer;font-weight:700;font-size:14px;color:var(--ink);padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:8px;list-style:none}
.store-expired>summary::-webkit-details-marker{display:none}
.store-expired>summary::after{content:" ▾";color:var(--muted)}
.store-expired[open]>summary::after{content:" ▴"}
.store-expired>summary:hover{color:var(--gold)}
.store-expired .acms-store-offers{margin-top:14px}
.store-visit-domain{margin:0 0 10px;font-size:13px;color:var(--muted);word-break:break-all}
/* Nút sang store: tái dùng .acms-coupons-btn nhưng ở đây là nút đơn, không có chip code nấp sau
   nên trả về full width và bo đủ 4 góc. */
.store-visit .store-visit-btn{width:100%;border-radius:8px}
.store-side .author-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}
@media(max-width:980px){
  .store-grid{grid-template-columns:1fr;gap:24px}
  .store-side{position:static}
}
@media(max-width:640px){
  .store-head{padding:18px 0 12px}
  .store-head-row{gap:14px}
  .store-logo{width:64px;height:64px}
  .store-logo-mono{font-size:26px}
  .acms-coupons-row-logo-mono{font-size:30px}
  .store-head-text h1{font-size:26px;letter-spacing:-.4px}
  .store-band{padding:16px 0 32px}
}

/* ===== Mục "Coupons" trên thanh điều hướng =============================================
   Nav nền đỏ brand chữ trắng, nên muốn mục này nổi lên thì đảo màu: nền trắng, chữ đỏ. Vẫn
   trong đúng bảng màu đen/trắng/đỏ, không thêm màu mới. Icon tô theo currentColor nên tự đổi
   màu cùng chữ khi hover, không cần rule màu riêng. */
/* Drawer mobile: nền tối, nên giữ chữ trắng và chỉ tô icon đỏ cho bắt mắt. */
@media(max-width:980px){
}

/* ---------------------------------------------------------------------------
   Related Guides (khối cuối bài, render động bởi mu-plugin pf-related.php)
   Dùng token brand ở :root, KHÔNG hardcode hex (rule F3).
   --------------------------------------------------------------------------- */
.related-guides{margin:40px 0 8px;padding-top:24px;border-top:3px solid var(--gold)}
.related-guides-title{font-size:var(--fs-sechead);margin:0 0 16px}
.related-guides-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:10px 28px}
.related-guides-list li{padding-left:16px;position:relative;line-height:1.45}
.related-guides-list li::before{content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;border-radius:50%;background:var(--gold)}
.related-guides-list a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}
.related-guides-list a:hover{color:var(--gold-deep)}

@media (max-width:760px){
  .related-guides{margin-top:32px}
  .related-guides-list{grid-template-columns:1fr;gap:4px}
  /* Ngón tay cần vùng chạm ~44px, chữ trần chỉ cao 23px. Nới bằng padding trên link
     chứ không bằng gap, để vùng bấm to ra thật chứ không chỉ giãn khoảng trắng. */
  .related-guides-list a{display:block;padding:11px 0}
  .related-guides-list li::before{top:1.35em}
}
@media (max-width:480px){
  .related-guides-list li{padding-left:14px}
}


/* ============================================================
 * MatchMyFilter brand layer: logo, CTA, finder hero, UX fixes
 * ============================================================ */
.gdv-logo{display:inline-flex;align-items:center;gap:10px;font-family:var(--font-head);font-weight:800;font-size:26px;line-height:1;letter-spacing:-.03em;color:var(--navy);text-decoration:none;white-space:nowrap}
.gdv-logo svg{width:1.45em;height:1.45em;flex:none}
.gdv-logo b{color:var(--gold);font-weight:800}
footer.site .gdv-logo{color:#fff;font-size:26px;margin-bottom:14px}footer.site .gdv-logo b{color:var(--aqua)}
@media(max-width:640px){.gdv-logo{font-size:21px}}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--aqua);outline-offset:2px;border-radius:4px}
table{border-collapse:collapse;width:100%;margin:16px 0;font-size:15px}th,td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}th{background:var(--panel)}
.article-body,.entry-content,article.page{line-height:1.7}
/* home */
.gdv-sec{padding:48px 0}.gdv-sec.alt{background:var(--panel)}
.gdv-sec h2{font-size:var(--fs-h2);letter-spacing:-.02em;margin-bottom:6px}.gdv-sec .sub{color:var(--muted);margin-bottom:22px}
.gdv-topics{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.gdv-topics a{display:flex;align-items:center;justify-content:center;min-height:64px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:800;font-size:17px}
.gdv-topics a:hover{border-color:var(--gold);color:var(--gold-deep)}
.gdv-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.gdv-cards a{display:block;border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}
.gdv-cards a:hover{border-color:var(--gold)}
.gdv-cards .k{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--gold-deep)}
.gdv-cards strong{display:block;font-size:17px;line-height:1.3;margin:6px 0}.gdv-cards span.d{font-size:14px;color:var(--muted)}
.gdv-trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;font-size:15px}.gdv-trust div{padding-left:14px;border-left:3px solid var(--gold)}

/* tap targets (WCAG 2.2 AA: 24px min, 44px for primary actions) */
footer.site li a{display:inline-block;padding:6px 0;min-height:24px}
@media(max-width:960px){.m-searchbtn,.hamburger{min-width:44px;min-height:44px}}
.searchpill button{min-width:40px;min-height:40px}
.searchpill input{min-height:40px}
.breadcrumbs a,.crumbs a,nav[aria-label=Breadcrumb] a,.bc a{display:inline-block;padding:4px 0}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

footer.site li a{color:#d3e2ea}footer.site li a:hover{color:#fff}footer.site .desc{color:#b9c9d6;max-width:34em;line-height:1.6;font-size:14px}footer.site .fine{color:#9fb3c2}

/* static pages: breathing room, sentence-case headings */
article.page{max-width:760px;padding:48px 24px 64px}
article.page h1{text-transform:none;font-size:clamp(30px,4vw,42px);letter-spacing:-.02em;line-height:1.12;margin-bottom:18px}
article.page h2{margin:28px 0 10px}article.page p,article.page li{margin-bottom:12px}
.post-hero h1,.cat-hero h1{text-transform:none}


.gdv-cards .thumb{display:block;width:100%;aspect-ratio:1200/630;object-fit:cover;border-radius:10px;margin-bottom:12px;background:var(--panel)}
.gdv-cards .thumb{height:auto!important;width:100%!important}

/* ============================================================
 * GetDogVerdict layer: logo, disclosure, home sections, article components
 * (ported from astra-child; tokens only, no inline CSS)
 * ============================================================ */
.gdv-logo{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:26px;line-height:1;letter-spacing:-.02em;color:var(--navy);white-space:nowrap}
.gdv-logo img{width:1.5em;height:1.5em;flex:none}
.gdv-logo .gdv-highlight{color:var(--gold);font-weight:700}
footer.site .gdv-logo{color:#fff;margin-bottom:14px}
@media(max-width:640px){.gdv-logo{font-size:21px}}
.gdv-disclosure-bar{background:var(--navy-deep);color:#fff;text-align:center;font-size:13px;padding:6px 16px}
.gdv-disclosure-bar a{color:#fff;text-decoration:underline;display:inline-block;padding:8px 6px}
.gdv-footer-disclosure{border-top:1px solid rgba(255,255,255,.15);margin-top:20px;padding-top:16px;font-size:13px;line-height:1.6;color:#d3e2ea}
.gdv-sec{padding:48px 0}.gdv-sec.alt{background:var(--panel)}
.gdv-sec h2{font-size:var(--fs-h2);letter-spacing:-.02em;margin-bottom:6px}.gdv-sec .sub{color:var(--muted);margin-bottom:22px}
.gdv-home-content .wrap>*{max-width:100%}
.gdv-home-content .wp-block-group{padding:32px 0}
.gdv-topics{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.gdv-topics a{display:flex;align-items:center;justify-content:center;min-height:64px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:700;font-size:16px;text-align:center;padding:8px 12px}
.gdv-topics a:hover{border-color:var(--gold);color:var(--gold-deep)}
.gdv-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.gdv-cards a{display:block;border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}
.gdv-cards a:hover{border-color:var(--gold)}
.gdv-cards .k{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--gold-deep)}
.gdv-cards strong{display:block;font-size:17px;line-height:1.3;margin:6px 0}.gdv-cards span.d{font-size:14px;color:var(--muted)}
.gdv-cards .thumb{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:10px;margin-bottom:12px;background:var(--panel)}
.gdv-trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;font-size:15px}.gdv-trust div{padding-left:14px;border-left:3px solid var(--gold)}

/* ============================================================
   PROS / CONS BOXES (for review posts)
   ============================================================ */
.gdv-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}
@media (max-width: 600px) {
  .gdv-pros-cons {
    grid-template-columns: 1fr;
  }
}
.gdv-pros, .gdv-cons {
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.gdv-pros {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
}
.gdv-cons {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
}
.gdv-pros h4 {
  color: var(--success);
  margin-top: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gdv-cons h4 {
  color: var(--danger);
  margin-top: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gdv-pros ul, .gdv-cons ul {
  margin: 0;
  padding-left: 20px;
}
.gdv-pros li { color: #15803d; }
.gdv-cons li { color: #b91c1c; }

/* ============================================================
   AMAZON PRODUCT TABLE
   ============================================================ */
.gdv-product-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.gdv-product-table thead tr {
  background: var(--primary);
  color: var(--text-on-primary);
}
.gdv-product-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gdv-product-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  vertical-align: middle;
}
.gdv-product-table tbody tr {
  background: var(--surface-card);
  transition: background var(--transition-fast);
}
.gdv-product-table tbody tr:hover {
  background: var(--surface);
}
.gdv-product-table tbody tr:last-child td {
  border-bottom: none;
}
.gdv-amazon-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--text-on-primary) !important;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all var(--transition-fast);
}
.gdv-amazon-btn:hover {
  background: var(--accent-hover);
  color: var(--text-on-primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(212,145,42,0.3);
}

/* ============================================================
   ARTICLE DISCLOSURE BOX
   ============================================================ */
.gdv-article-disclosure {
  background: var(--info-bg);
  border-left: 4px solid var(--info);
  padding: 14px 20px;
  margin-bottom: var(--space-xl);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.gdv-article-disclosure strong {
  color: var(--text-primary);
}

/* ============================================================
   FOOTER STYLES
   ============================================================ */
.site-footer,

/* Buttons: one consistent style for every CTA */
.wp-block-button__link,
.wp-element-button {
  min-height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
}

/* Verdict chips (for new posts and the homepage legend) */
.gdv-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.gdv-chip--buy { background: var(--verdict-buy-bg); color: var(--verdict-buy); }
.gdv-chip--consider { background: var(--verdict-consider-bg); color: var(--verdict-consider); }
.gdv-chip--skip { background: var(--verdict-skip-bg); color: var(--verdict-skip); }
.gdv-chip--info { background: var(--verdict-info-bg); color: var(--verdict-info); }
.gdv-verdict-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 var(--space-lg);
}

/* Homepage: hero with verdict legend card */
.gdv-home-hero {
  display: grid;
  gap: var(--space-md) var(--space-2xl);
  align-items: center;
  padding-top: var(--space-2xl);
}
.gdv-home-hero p,
.gdv-home-hero h1 {
  margin-top: 0;
  margin-bottom: 0;
}
.gdv-home-hero .wp-block-buttons {
  justify-content: flex-start;
  margin-top: var(--space-sm);
}
.gdv-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 var(--space-sm);
}
.gdv-verdict-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}
.gdv-verdict-card h2 {
  font-size: 17px;
  margin: 0 0 var(--space-md);
}
.gdv-legend {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gdv-legend li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text-secondary);
}
@media (max-width: 480px) {
  .gdv-legend li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.gdv-verdict-note {
  margin: var(--space-md) 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* Homepage trust cards and closing banner */
.gdv-home-trust .wp-block-column {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.gdv-home-trust .wp-block-column h3::before {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 16px;
  vertical-align: middle;
}
.gdv-home-trust .wp-block-column:nth-child(1) h3::before { content: "\2713"; background: var(--verdict-buy-bg); color: var(--verdict-buy); }
.gdv-home-trust .wp-block-column:nth-child(2) h3::before { content: "\2260"; background: var(--verdict-consider-bg); color: var(--verdict-consider); }
.gdv-home-trust .wp-block-column:nth-child(3) h3::before { content: "?"; background: var(--verdict-info-bg); color: var(--verdict-info); }
.gdv-home-closing {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg) !important;
  margin-top: var(--space-lg);
}
.gdv-home-closing h2,
.gdv-home-closing p {
  color: var(--text-on-primary) !important;
}

/* Article blocks: evidence basis and paid-link notice */
.gdv-evidence-basis {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: var(--space-md) 0 var(--space-lg);
}
.gdv-evidence-basis p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
}
p.affiliate-disclosure {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
}
.gdv-medical-note {
  background: var(--info-bg);
  border-left: 4px solid var(--info);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14.5px;
}

/* Tables: scroll sideways inside the content column instead of widening the page */
.article-body .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 760px) {
  .article-body > table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Decision table: the figure scrolls, the table inside keeps its minimum width */
@media (max-width: 767px) {
  .article-body figure.wp-block-table.gdv-decision-table {
    min-width: 0 !important;
    max-width: 100%;
    overflow-x: auto;
  }
  .article-body figure.wp-block-table.gdv-decision-table table {
    min-width: 980px;
  }
}

/* Portrait photos in articles (2026-10-22): keep tall images from dominating the column */
.article-body figure.wp-block-image.gdv-portrait img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 560px;
  margin-left: auto;
  margin-right: auto;
}
.article-body figure.wp-block-image.gdv-portrait figcaption {
  text-align: center;
}

.article-body .wp-block-button__link,
.article-body .wp-element-button { background: var(--cta); color: var(--navy); }
.article-body .wp-block-button__link:hover,
.article-body .wp-element-button:hover { background: var(--cta-hover); color: var(--navy); }
.gdv-home-content .wp-block-columns { gap: var(--space-lg); }

/* Card không có ảnh: khung viền thay cho ô ảnh trống */
.acard--noimg{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}
.acard--noimg .meta{margin-top:6px}

/* Hero trang chủ: một cột, thẻ verdict rộng vừa phải */
.gdv-home-content .gdv-home-hero .gdv-verdict-card { max-width: 640px; }
.gdv-home-content .article-body p{margin-bottom:12px}
.gdv-home-content .article-body h1,.gdv-home-content .article-body h2,.gdv-home-content .article-body h3{margin-bottom:10px}
.gdv-home-content .wp-block-buttons{margin-top:16px}

/* ===== Ported from Customizer Additional CSS (post 107, astra-child), 2026-11-01 ===== */
/* GetDogVerdict : Quick Answer Card V1 */
.gdv-quick-answer {
  background: #f7fafc;
  border-left: 4px solid #d9901a;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 28px 0 30px;
}

.gdv-quick-answer p {
  margin: 0;
}

@media (max-width: 768px) {
  .gdv-quick-answer {
    padding: 16px 16px;
    margin: 24px 0 26px;
  }
}

/* GetDogVerdict : Evidence Limit Card V1 */
.gdv-evidence-limit {
  background: #fbfbf8;
  border: 1px solid #d9dee5;
  border-left: 4px solid #6b7280;
  border-radius: 6px;
  padding: 22px 24px;
  margin: 36px 0;
}

.gdv-evidence-limit > :first-child {
  margin-top: 0;
}

.gdv-evidence-limit > :last-child {
  margin-bottom: 0;
}

.gdv-evidence-limit h2,
.gdv-evidence-limit h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .gdv-evidence-limit {
    padding: 18px 16px;
    margin: 30px 0;
  }
}

/* GetDogVerdict : Evidence Basis Card V1 */
.gdv-evidence-basis {
  background: #f5f8fb;
  border: 1px solid #d7e0e8;
  border-left: 4px solid #173b5e;
  border-radius: 6px;
  padding: 22px 24px;
  margin: 36px 0;
}

.gdv-evidence-basis > :first-child {
  margin-top: 0;
}

.gdv-evidence-basis > :last-child {
  margin-bottom: 0;
}

.gdv-evidence-basis h2,
.gdv-evidence-basis h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .gdv-evidence-basis {
    padding: 18px 16px;
    margin: 30px 0;
  }
}

/* GetDogVerdict : Decision Sequence V1 */
.gdv-decision-sequence {
  background: #ffffff;
  border: 1px solid #d9e1e8;
  border-top: 4px solid #173b5e;
  border-radius: 6px;
  padding: 24px 26px;
  margin: 38px 0;
}

.gdv-decision-sequence > :first-child {
  margin-top: 0;
}

.gdv-decision-sequence > :last-child {
  margin-bottom: 0;
}

.gdv-decision-sequence h2 {
  margin-top: 0;
}

.gdv-decision-sequence p {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e8edf2;
}

.gdv-decision-sequence p:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .gdv-decision-sequence {
    padding: 18px 16px;
    margin: 30px 0;
  }

  .gdv-decision-sequence p {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
}

/* GetDogVerdict : Hide Single Post Previous/Next Navigation */
.single-post .post-navigation {
    display: none;
}

/* GetDogVerdict : Decision Card V1 */
.gdv-decision-card {
  background: #ffffff;
  border: 1px solid #d9e1e8;
  border-top: 4px solid #d9901a;
  border-radius: 8px;
  padding: 22px 22px 20px;
  margin: 22px 0;
}

.gdv-decision-card > :first-child {
  margin-top: 0;
}

.gdv-decision-card > :last-child {
  margin-bottom: 0;
}

.gdv-decision-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.gdv-decision-card .wp-block-buttons {
  margin-top: 18px;
}

@media (max-width: 768px) {
  .gdv-decision-card {
    padding: 18px 16px;
    margin: 18px 0;
  }
}

/* GetDogVerdict : Decision Map V1 */
.gdv-decision-map {
  margin: 30px 0 32px;
}

.gdv-decision-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .gdv-decision-map {
    margin: 24px 0 26px;
  }
}

/* GetDogVerdict : Homepage Decision Map V1 */
.gdv-home-decision-map {
  margin: 28px 0 30px;
}

.gdv-home-decision-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .gdv-home-decision-map {
    margin: 24px 0 26px;
  }
}

/* GetDogVerdict : Brand UI System V1 */
:root {
  --gdv-navy: #0f2b46;
  --gdv-navy-2: #173b5e;
  --gdv-gold: #d9901a;
  --gdv-gold-text: #8a5a00;
  --gdv-ink: #1f2d3d;
  --gdv-muted: #5e6b78;
  --gdv-surface: #ffffff;
  --gdv-surface-soft: #f7fafc;
  --gdv-surface-warm: #fff8ec;
  --gdv-border: #d9e1e8;
  --gdv-shadow: 0 6px 20px rgba(15, 43, 70, 0.08);
  --gdv-radius: 8px;
}

body {
  color: var(--gdv-ink);
  background: var(--gdv-surface);
}

.entry-title,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--gdv-navy);
}

.entry-title,
.entry-content h1,
.entry-content h2 {
  letter-spacing: -0.02em;
}

.entry-content p,
.entry-content li {
  line-height: 1.72;
}

.entry-content a:not(.wp-block-button__link):not(.ez-toc-link) {
  color: var(--gdv-gold-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content a:not(.wp-block-button__link):not(.ez-toc-link):hover,
.entry-content a:not(.wp-block-button__link):not(.ez-toc-link):focus {
  color: var(--gdv-navy);
}

.site-header,
.ast-primary-header-bar {
  background: var(--gdv-navy);
}

.site-title a,
#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
  color: #ffffff;
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover,
#ast-desktop-header .main-header-menu > .menu-item > .menu-link:focus,
#ast-desktop-header .main-header-menu > .current-menu-item > .menu-link {
  color: #f3b54a;
}

#ast-mobile-header .menu-toggle {
  color: var(--gdv-gold);
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 8px;
}

.wp-block-button__link,
.gdv-affiliate-cta .wp-block-button__link {
  background: var(--gdv-gold);
  color: var(--gdv-navy) !important;
  border: 1px solid var(--gdv-gold);
  border-radius: 7px;
  padding: 0.78em 1.25em;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 3px 10px rgba(15,43,70,0.10);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
.gdv-affiliate-cta .wp-block-button__link:hover,
.gdv-affiliate-cta .wp-block-button__link:focus {
  background: var(--gdv-navy);
  border-color: var(--gdv-navy);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.gdv-quick-answer,
.gdv-decision-card,
.gdv-evidence-limit,
.gdv-evidence-basis,
.gdv-decision-sequence {
  border-radius: var(--gdv-radius);
  box-shadow: var(--gdv-shadow);
}

.gdv-quick-answer {
  background: var(--gdv-surface-soft);
  border-left-color: var(--gdv-gold);
}

.gdv-decision-card {
  border-color: var(--gdv-border);
  border-top-color: var(--gdv-gold);
}

.gdv-evidence-basis {
  background: #f4f8fb;
  border-color: var(--gdv-border);
  border-left-color: var(--gdv-navy-2);
}

.gdv-evidence-limit {
  background: #fbfbf8;
  border-color: var(--gdv-border);
  border-left-color: #6b7280;
}

.gdv-decision-sequence {
  border-color: var(--gdv-border);
  border-top-color: var(--gdv-navy-2);
}

.entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0 30px;
  border: 1px solid var(--gdv-border);
  border-radius: var(--gdv-radius);
  background: #ffffff;
}

.entry-content table th,
.entry-content table td {
  padding: 12px 14px;
  vertical-align: top;
  border-right: 1px solid var(--gdv-border);
  border-bottom: 1px solid var(--gdv-border);
}

.entry-content table th:last-child,
.entry-content table td:last-child {
  border-right: 0;
}

.entry-content table tbody tr:last-child td {
  border-bottom: 0;
}

.entry-content table thead th {
  background: var(--gdv-navy);
  color: #ffffff;
  font-weight: 700;
}

.entry-content table tbody tr:nth-child(even) {
  background: #fafbfd;
}

.entry-content .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#ez-toc-container {
  background: var(--gdv-surface-soft);
  border: 1px solid var(--gdv-border);
  border-radius: var(--gdv-radius);
  box-shadow: none;
}

#ez-toc-container .ez-toc-title {
  color: var(--gdv-navy);
  font-weight: 700;
}

#ez-toc-container a {
  color: var(--gdv-navy);
}

#ez-toc-container a:hover,
#ez-toc-container a:focus {
  color: var(--gdv-gold-text);
}

.gdv-article-disclosure,
.affiliate-disclosure {
  background: var(--gdv-surface-warm);
  border-left: 3px solid var(--gdv-gold);
  border-radius: 6px;
  padding: 12px 14px;
  color: #4a5562;
  font-size: 0.92rem;
}

.gdv-verdict-badge,
.gdv-confidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.34em 0.68em;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gdv-verdict-buy { background: #eaf7ee; color: #176334; border: 1px solid #b9dec5; }
.gdv-verdict-consider { background: var(--gdv-surface-warm); color: #7a4b00; border: 1px solid #e8c987; }
.gdv-verdict-skip { background: #fff0f0; color: #8a2626; border: 1px solid #e5b8b8; }
.gdv-confidence-high { background: #edf7f2; color: #235c43; border: 1px solid #c7dfd3; }
.gdv-confidence-medium { background: #f4f6f8; color: #4d5965; border: 1px solid #d7dde3; }
.gdv-confidence-low { background: #fff7e8; color: #78510c; border: 1px solid #ead5a9; }

.site-footer {
  background: var(--gdv-navy);
  color: #dfe7ee;
}

.site-footer .footer-navigation .menu-link,
.site-footer .ast-footer-copyright a {
  color: #ffffff;
}

.site-footer .footer-navigation .menu-link:hover,
.site-footer .footer-navigation .menu-link:focus,
.site-footer .ast-footer-copyright a:hover,
.site-footer .ast-footer-copyright a:focus {
  color: #f3b54a;
}

.gdv-footer-disclosure {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px 20px;
  color: #c8d3dc;
  font-size: 0.86rem;
  line-height: 1.55;
  border-top: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 768px) {
  .entry-content p,
  .entry-content li {
    line-height: 1.68;
  }

  .entry-content table {
    font-size: 0.93rem;
  }

  .entry-content table th,
  .entry-content table td {
    padding: 10px 11px;
  }

  .gdv-home-hero .wp-block-button,
  .gdv-decision-card .wp-block-button {
    width: 100%;
  }

  .gdv-home-hero .wp-block-button__link,
  .gdv-decision-card .wp-block-button__link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .site-footer .footer-navigation .menu-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .gdv-footer-disclosure {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* GetDogVerdict : Mobile Navigation UX V1 */
@media (max-width: 921px) {
  #ast-mobile-header .ast-mobile-header-content {
    background: #ffffff;
    border-top: 1px solid #e2e8ef;
    box-shadow: 0 12px 28px rgba(15, 43, 70, 0.12);
  }

  #ast-mobile-header .ast-builder-menu-mobile,
  #ast-mobile-header .main-header-bar-navigation,
  #ast-mobile-header .main-navigation,
  #ast-mobile-header .main-header-menu {
    background: #ffffff;
  }

  #ast-mobile-header .main-header-menu > .menu-item {
    margin: 0;
  }

  #ast-mobile-header .main-header-menu > .menu-item > .menu-link {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 14px 24px;
    color: #1f2d3d !important;
    background: #ffffff;
    border-bottom: 1px solid #e7ebef;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    opacity: 1;
  }

  #ast-mobile-header .main-header-menu > .menu-item > .menu-link:hover,
  #ast-mobile-header .main-header-menu > .menu-item > .menu-link:focus {
    color: #0f2b46 !important;
    background: #f5f8fb;
  }

  #ast-mobile-header .main-header-menu > .current-menu-item > .menu-link,
  #ast-mobile-header .main-header-menu > .current_page_item > .menu-link {
    color: #8a5a00 !important;
    background: #fff8ec;
    border-left: 4px solid #d9901a;
    padding-left: 20px;
  }
}


/* ===== Giao diện kiểu EMS/MMF: hero tối full-width, disclosure sáng, thẻ viền trên ===== */
.gdv-disclosure-bar{background:var(--panel);color:var(--ink-soft);border-bottom:1px solid var(--line);font-size:13px;line-height:1.45;padding:8px 16px;text-align:center}
.gdv-disclosure-bar a{color:var(--ink);font-weight:600;text-decoration:underline;display:inline-block;padding:4px 4px}
.gdv-home-content .gdv-home-hero{position:relative;color:#fff;background:var(--navy);box-shadow:0 0 0 100vmax var(--navy);clip-path:inset(0 -100vmax);padding:56px 0 52px}
.gdv-home-content .gdv-home-hero::after{content:"";position:absolute;right:-120px;top:-160px;width:520px;height:520px;border-radius:50%;background:radial-gradient(rgba(212,145,42,.30),transparent 65%);pointer-events:none}
.gdv-home-content .gdv-home-hero > *{position:relative;z-index:1}
.gdv-home-content .gdv-home-hero h1{color:#fff;font-size:clamp(32px,5vw,52px);line-height:1.08;letter-spacing:-.03em;max-width:16em}
.gdv-home-content .gdv-home-hero p{color:#e6eef6;font-size:18px;line-height:1.55;max-width:42em}
.gdv-home-content .gdv-home-hero .gdv-eyebrow{color:var(--accent-light)}
.gdv-home-content .gdv-home-hero .gdv-verdict-card{color:var(--ink);margin-top:24px}
.gdv-home-content .gdv-home-hero .gdv-verdict-card p{color:var(--text-secondary);font-size:inherit}
.gdv-home-content .gdv-home-latest{display:none} /* thay bằng lưới "Latest verdicts" ở front-page.php */
.gdv-home-content .gdv-home-featured h2,
.gdv-home-content .gdv-home-trust h2,
.gdv-home-content .gdv-home-method h2,
.gdv-home-content .gdv-home-boundary h2,
.gdv-sec h2{border-top:3px solid var(--gold);padding-top:10px}
.gdv-home-content .gdv-decision-card,
.gdv-home-content .gdv-home-trust .wp-block-column{border-top:3px solid var(--gold)}
.gdv-home-content .gdv-home-closing{border-radius:0;box-shadow:0 0 0 100vmax var(--navy);clip-path:inset(0 -100vmax);margin-top:40px}
.gdv-topics a{border-radius:999px;min-height:48px;font-weight:600}
@media(max-width:640px){.gdv-home-content .gdv-home-hero{padding:36px 0 32px}.gdv-home-content .gdv-home-hero p{font-size:16px}}

/* Dự phòng khi CSS plugin (lat-review frontend.css) chưa tải: tooltip vẫn ẩn, thẻ sản phẩm không vỡ. */
.acms-tooltip{position:relative;display:inline-block}
.acms-tooltip__content{position:absolute;visibility:hidden;opacity:0;pointer-events:none}
/* ============================================================
 * Product Card Responsive Grid System (Fix card collapse)
 * - Container queries (modern browsers) + Media queries (fallback)
 * - Prevents text squishing on tablet, split-screen, and sidebar layouts (< 720px)
 * - Desktop wide (>= 720px): 3 columns (Image | Content | Actions)
 * - Medium / Sidebar (480px - 719px): 2 columns (Image | Content) with Actions spanning below
 * - Mobile (< 480px): 1 column clean vertical stack
 * ============================================================ */
.prod {
  container-type: inline-size;
  container-name: prodcard;
  position: relative;
}

.prod .award {
  white-space: nowrap;
}

.prod h3 {
  overflow-wrap: break-word;
  word-break: normal;
  min-width: 0;
}

.prod .p-desc {
  overflow-wrap: break-word;
  min-width: 0;
}

.prod-mid {
  min-width: 0;
}

.prod-buy {
  min-width: 0;
}

/* Fallback: Mobile (< 480px) */
@media (max-width: 479px) {
  .prod-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .prod-top > div:first-child {
    display: flex;
    justify-content: center;
  }
  .prod .p-img {
    max-width: 160px;
    margin: 0 auto;
  }
  .prod-buy {
    border-top: 1px dashed var(--line, #e7dfd0);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .buy-btns {
    width: 100%;
    min-width: 0;
  }
  .buy-btns a {
    width: 100%;
    text-align: center;
  }
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

/* Fallback: Medium / Sidebar layout (480px to 1080px): 2 columns */
@media (min-width: 480px) and (max-width: 1080px) {
  .prod-top {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    grid-template-areas:
      "img mid"
      "buy buy";
    gap: 16px 20px;
    align-items: start;
  }
  .prod-top > div:first-child {
    grid-area: img;
  }
  .prod .p-img {
    width: 130px;
    height: 130px;
  }
  .prod-mid {
    grid-area: mid;
  }
  .prod-buy {
    grid-area: buy;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px dashed var(--line, #e7dfd0);
  }
  .prod-buy .acms-list__update {
    margin: 0;
  }
  .prod-buy .buy-btns {
    flex: 1 1 200px;
    max-width: 320px;
    margin-left: auto;
    min-width: 0;
  }
}

/* Fallback: Desktop wide (> 1080px): 3 columns */
@media (min-width: 1081px) {
  .prod-top {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 220px;
    grid-template-areas: "img mid buy";
    gap: 20px;
    align-items: start;
  }
  .prod-top > div:first-child {
    grid-area: img;
  }
  .prod .p-img {
    width: 150px;
    height: 150px;
  }
  .prod-mid {
    grid-area: mid;
  }
  .prod-buy {
    grid-area: buy;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: none;
    padding-top: 0;
  }
  .prod-buy .buy-btns {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
}

/* Modern enhancement: Container Queries based on CARD's actual pixel width */
@container prodcard (min-width: 720px) {
  .prod-top {
    grid-template-columns: 150px minmax(0, 1fr) 220px !important;
    grid-template-areas: "img mid buy" !important;
    gap: 20px !important;
    align-items: start !important;
  }
  .prod-top > div:first-child {
    grid-area: img !important;
  }
  .prod .p-img {
    width: 150px !important;
    height: 150px !important;
  }
  .prod-mid {
    grid-area: mid !important;
  }
  .prod-buy {
    grid-area: buy !important;
    border-top: none !important;
    padding-top: 0 !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: auto !important;
  }
  .prod-buy .buy-btns {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
  }
}

@container prodcard (max-width: 719px) and (min-width: 480px) {
  .prod-top {
    grid-template-columns: 130px minmax(0, 1fr) !important;
    grid-template-areas:
      "img mid"
      "buy buy" !important;
    gap: 16px 20px !important;
    align-items: start !important;
  }
  .prod-top > div:first-child {
    grid-area: img !important;
  }
  .prod .p-img {
    width: 130px !important;
    height: 130px !important;
  }
  .prod-mid {
    grid-area: mid !important;
  }
  .prod-buy {
    grid-area: buy !important;
    width: 100% !important;
    border-top: 1px dashed var(--line, #e7dfd0) !important;
    padding-top: 14px !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .prod-buy .buy-btns {
    flex: 1 1 200px !important;
    max-width: 320px !important;
    margin-left: auto !important;
  }
}

@container prodcard (max-width: 479px) {
  .prod-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .prod-top > div:first-child {
    display: flex !important;
    justify-content: center !important;
  }
  .prod-buy {
    border-top: 1px dashed var(--line, #e7dfd0) !important;
    padding-top: 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .prod-buy .buy-btns {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
  }
  .pros-cons {
    grid-template-columns: 1fr !important;
  }
}

/* Thân bài single dùng .page-body (không phải .article-body/.entry-content): bảng cuộn ngang gọn trên mobile (rule H4) */
.page-body .wp-block-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.page-body .wp-block-table table{margin:0}
@media (max-width:767px){
  .page-body > table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .page-body figure.wp-block-table.gdv-decision-table{min-width:0!important;max-width:100%;overflow-x:auto}
  .page-body figure.wp-block-table.gdv-decision-table table{min-width:980px}
  .page-body figure.wp-block-table table{min-width:560px}
}
.page-body figure.wp-block-image.gdv-portrait img{display:block;width:auto;max-width:100%;max-height:560px;margin-left:auto;margin-right:auto}
.page-body figure.wp-block-image.gdv-portrait figcaption{text-align:center}

/* v2 card layout fix - 2col fallback for mid viewport with sidebar */
@media(min-width:641px) and (max-width:1000px){
  .prod-top{grid-template-columns:140px minmax(0,1fr);grid-template-areas:"img mid" "buy buy"}
  .prod-top>div:first-child{grid-area:img}
  .prod-top .prod-mid{grid-area:mid}
  .prod-top .prod-buy{grid-area:buy;width:100%;box-sizing:border-box}
  .buy-btns a{max-width:300px}
}
@media(max-width:640px){
  .prod-top{grid-template-columns:1fr}
}
