/* ===== NTG MVP — Design tokens & base (mobile-first, không phụ thuộc framework) ===== */
:root {
  --color-primary: #174C37;      /* xanh lá đậm thương hiệu - khớp logo thật nguyentragiang.vn (#00652E) + CLAUDE.md */
  --color-primary-dark: #0f3526;
  --color-secondary: #7BA68B;    /* xanh lá phụ - theo CLAUDE.md */
  --color-ink: #262b28;
  --color-ink-soft: #5b655f;
  --color-bg: #fbfaf7;
  --color-card: #ffffff;
  --color-border: #e3e8e4;
  --color-accent: #2f6b4e;       /* xanh lá - dùng cho nhãn "đã kiểm chứng" */
  --color-demo: #b3261e;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(23, 76, 55, 0.08);
  --max-w: 1240px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 859px) { body { padding-bottom: 72px; } } /* chỗ cho thanh gọi/Zalo cố định trên điện thoại */
a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
@media (min-width: 760px) { h1 { font-size: 2.3rem; } }
p { margin: 0 0 14px; color: var(--color-ink-soft); }
section { padding: 40px 0; }
@media (min-width: 860px) { section { padding: 56px 0; } }

/* ---- Demo badge (bắt buộc đặt cạnh mọi nội dung demo theo Phần 16) ---- */
.demo-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: var(--color-demo);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 8px;
  vertical-align: middle;
}
.demo-banner {
  background: #fdecea;
  border: 1px solid #f3c5c0;
  color: #7a1f17;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
}
/* Ghi chú nguồn/đính kèm — trung tính, không gây cảm giác cảnh báo như .demo-banner */
.source-note {
  background: #f0f3ee;
  border: 1px solid var(--color-border);
  color: var(--color-ink-soft);
  font-size: 0.84rem;
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
}

/* ---- Header (3 tầng: thanh trên · logo + tìm kiếm + hotline · thanh menu xanh) ---- */
.site-header { background: var(--color-card); }
.top-strip { display: none; background: var(--color-primary-dark); color: #fff; font-size: .9rem; }
.top-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 9px; padding-bottom: 9px; }
.top-strip a { color: #fff; font-weight: 600; }
.top-strip .ts-left, .top-strip .ts-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
@media (min-width: 860px) { .top-strip { display: block; } }

.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--color-primary); white-space: nowrap; }
.brand .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--color-primary); }
.brand small { display: none; font-weight: 600; font-size: .8rem; color: var(--color-ink-soft); letter-spacing: .03em; border-left: 2px solid #d6a84f; padding-left: 12px; margin-left: 4px; }
@media (min-width: 860px) { .brand { font-size: 1.6rem; } .brand small { display: block; } }

.header-search { position: relative; flex: 1; max-width: 520px; display: none; }
@media (min-width: 860px) { .header-search { display: block; } }
.header-search form { display: flex; border: 2px solid var(--color-primary); border-radius: 12px; overflow: hidden; background: #fff; }
.header-search input { flex: 1; border: 0; padding: 12px 14px; font-size: 1rem; outline: none; min-width: 0; background: transparent; }
.header-search button { border: 0; background: var(--color-primary); color: #fff; width: 54px; cursor: pointer; font-size: 1.1rem; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--color-border); border-radius: 12px; box-shadow: var(--shadow); z-index: 60; overflow: hidden; display: none; }
.search-results a { display: block; padding: 10px 14px; color: var(--color-ink); border-bottom: 1px solid var(--color-border); }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: #f1f6f3; text-decoration: none; }
.search-results small { display: block; color: var(--color-ink-soft); }

.hotline-top { display: none; align-items: center; gap: 12px; color: var(--color-ink); white-space: nowrap; }
.hotline-top .ht-icon { width: 46px; height: 46px; border-radius: 50%; background: #e6f0ea; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.hotline-top small { display: block; color: var(--color-ink-soft); font-size: .8rem; line-height: 1.1; }
.hotline-top strong { display: block; font-size: 1.3rem; color: var(--color-primary); line-height: 1.2; }
@media (min-width: 860px) { .hotline-top { display: flex; } }

.nav-toggle {
  border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; border-radius: 10px;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem;
}

.nav-bar { position: sticky; top: 0; z-index: 40; background: var(--color-primary); box-shadow: 0 3px 10px rgba(15,53,38,.18); }
.nav-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nav-bar .nav-mobile-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; padding-top: 8px; padding-bottom: 8px; color: #fff; font-weight: 700; }
nav.main-nav { display: none; flex-direction: column; padding: 6px 0 12px; width: 100%; }
nav.main-nav.open { display: flex; }
nav.main-nav a { padding: 11px 4px; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.12); }
.nav-zalo { display: none; align-items: center; gap: 8px; background: #d6a84f; color: #fff !important; font-weight: 700; padding: 9px 16px; border-radius: 999px; white-space: nowrap; margin: 8px 0; font-size: .92rem; }
.nav-zalo:hover { text-decoration: none; background: #c4963f; }
@media (min-width: 860px) {
  .nav-bar .container { flex-wrap: nowrap; }
  .nav-bar .nav-mobile-bar { display: none; }
  nav.main-nav { display: flex !important; flex-direction: row; justify-content: space-between; align-items: center; padding: 0; flex: 1; width: auto; }
  nav.main-nav a { padding: 15px 6px; border-bottom: 0; font-size: .92rem; white-space: nowrap; }
  nav.main-nav a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
  nav.main-nav a.active { box-shadow: inset 0 -3px 0 #d6a84f; }
  .nav-zalo { display: inline-flex; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); text-decoration: none; }
.btn-outline { background: transparent; border-color: var(--color-primary); color: var(--color-primary-dark); }
.btn-outline:hover { background: #eef6f1; text-decoration: none; }
.btn-block { width: 100%; }

/* ---- Hero ---- */
.hero { padding: 30px 0 10px; }
.hero .tagline { color: var(--color-primary-dark); font-weight: 700; font-size: 0.85rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 8px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.hero .sub { font-size: 0.85rem; color: var(--color-ink-soft); }
.hero img.portrait { border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 20px; }

/* ---- Cards ---- */
.card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } .card-grid.cols-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.card .tag { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--color-accent); background: #eaf5ee; padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }
.card .price { font-weight: 800; color: var(--color-primary-dark); font-size: 1.05rem; }
.card .xnqc { font-size: 0.72rem; color: var(--color-ink-soft); margin-top: 6px; }
.card .img-ph {
  height: 140px; border-radius: 10px; margin-bottom: 10px;
  background: linear-gradient(135deg, #eaf1ec, #dfebe4);
  display: flex; align-items: center; justify-content: center; color: #3f6b55; font-size: .8rem; font-weight: 700;
}

/* ---- Trust strip ---- */
.trust-grid { display: grid; gap: 14px; grid-template-columns: 1fr; text-align: left; }
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 10px; align-items: flex-start; }
.trust-item .icon { font-size: 1.4rem; }

/* ---- Trang bài viết: 2 cột — bài (thẻ trắng) + cột phải trượt theo khi cuộn (tham khảo bố cục drngoc.vn: lưới 780/340) ---- */
.article-page { background: #f2f6f3; padding: 22px 0 64px; }
.breadcrumb { font-size: .85rem; color: var(--color-ink-soft); margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--color-ink-soft); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span.sep { opacity: .5; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; } }
.article-main { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 22px 18px 30px; min-width: 0; }
@media (min-width: 760px) { .article-main { padding: 36px 44px 44px; } }

.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: .82rem; color: var(--color-ink-soft); margin-bottom: 14px; }
.article-meta .cat { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary); }
.article-meta .dotsep { width: 4px; height: 4px; border-radius: 50%; background: #b9c6bd; }
.article-main h1 { font-size: 1.7rem; line-height: 1.3; letter-spacing: -.01em; color: #14392a; margin: 0 0 22px; }
@media (min-width: 760px) { .article-main h1 { font-size: 2.15rem; } }
.article-main > img:first-of-type { border-radius: 14px; }

.article-main p, .article-main li { font-size: 1.04rem; line-height: 1.85; color: #2b332e; }
.article-main p { margin: 0 0 1.15em; }
.article-main ul, .article-main ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.article-main li { margin-bottom: .55em; }
.article-main li::marker { color: var(--color-primary); }
.article-main h2 { font-size: 1.45rem; line-height: 1.35; color: #14392a; margin: 2em 0 .7em; padding-left: 14px; border-left: 4px solid var(--color-primary); scroll-margin-top: 80px; }
.article-main h3 { font-size: 1.12rem; color: #14392a; margin: 1.6em 0 .6em; }
.article-main img { border-radius: 14px; }
.article-main strong { color: #14392a; }
.article-main a { text-decoration: underline; text-underline-offset: 2px; }
.article-main .btn { text-decoration: none; }

.article-main .related { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--color-border); }
.article-main h2.side-title { font-size: .85rem; margin: 22px 0 14px; padding-left: 10px; border-left: 3px solid var(--color-primary); }
.article-main .related-item h3 { font-size: .95rem; line-height: 1.35; margin: 6px 0 0; color: var(--color-ink); }
.article-main .related-item { text-decoration: none; }

/* Cột phải: bám theo khi cuộn. top do JS tính, bù cho trường hợp cột cao hơn màn hình (xem main.js) */
.article-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (min-width: 1000px) { .article-side { position: sticky; top: 76px; align-self: start; } }
.side-box { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 14px 14px 12px; }
.side-title {
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-primary-dark); margin: 0 0 12px; padding-left: 10px; border-left: 3px solid var(--color-primary);
}
.side-toc { display: none; }
@media (min-width: 1000px) { .side-toc.has-items { display: block; } }
.side-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.side-toc li { counter-increment: toc; margin: 0; }
.side-toc a { display: flex; gap: 8px; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 8px; font-size: .9rem; line-height: 1.35; color: var(--color-ink); border-left: 3px solid transparent; }
.side-toc a::before { content: counter(toc) "."; color: var(--color-primary); font-weight: 800; min-width: 1.2em; flex: none; }
.side-toc a:hover { background: #f1f6f3; text-decoration: none; }
.side-toc a.active { background: #e8f1ec; border-left-color: var(--color-primary); font-weight: 700; color: var(--color-primary-dark); }
.read-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: #d6a84f; z-index: 90; transition: width .1s linear; }

/* Phản hồi khách hàng: hàng nhỏ gọn (ảnh + tên), bấm để xem video trong cửa sổ phát */
.side-feedback { display: flex; flex-direction: column; gap: 12px; }
.side-feedback > div { display: flex; gap: 12px; align-items: center; }
.side-feedback .video-embed { width: 116px; min-width: 116px; padding-top: 0; height: 66px; border-radius: 10px; }
.side-feedback .video-embed .play-badge { width: 28px; height: 28px; font-size: .62rem; }
.side-feedback .video-embed .vc-duration { right: 4px; bottom: 4px; font-size: .62rem; padding: 1px 5px; }
.side-feedback .vc-name { font-size: .84rem; font-weight: 700; line-height: 1.35; margin: 0; color: var(--color-ink); }
.side-more { display: block; margin-top: 12px; font-weight: 700; font-size: .88rem; }
.side-cta { background: var(--color-primary); color: #fff; text-align: center; border: 0; }
.side-cta h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.side-cta p { color: #dde6e0; font-size: .85rem; margin: 0 0 12px; }
.side-cta .btn { background: #fff; color: var(--color-primary-dark); width: 100%; }

/* Cửa sổ phát video */
.vid-modal { position: fixed; inset: 0; background: rgba(8,20,14,.82); z-index: 100; display: none; align-items: center; justify-content: center; padding: 18px; }
.vid-modal.open { display: flex; }
.vid-modal .vm-box { position: relative; width: min(900px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.vid-modal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-modal .vm-close { position: absolute; top: -44px; right: 0; background: transparent; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* ---- Sản phẩm: thẻ danh sách + trang chi tiết (tham khảo bố cục phanhongson.com.vn) ---- */
.pgrid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
/* Khung + lưới + thẻ sản phẩm: số đo lấy trực tiếp từ web mẫu (container 1200, lưới 4/3/2 cột, gap 14px, thẻ bo 10px, viền #e2e9e4) */
.psec { margin-top: 4px; }
.psec-head { background: #fff; border: 1px solid #e2e9e4; border-bottom: 2px solid #2e7d4f; border-radius: 10px 10px 0 0; padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.psec-head .ic { width: 32px; height: 32px; border-radius: 10px; background: #2e7d4f; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex: none; }
.psec-head h1, .psec-head h2 { font-size: 1.125rem; line-height: 1.3; margin: 0; color: #173f2c; font-weight: 800; }
.psec-body { background: #fff; border: 1px solid #e2e9e4; border-top: 0; border-radius: 0 0 10px 10px; padding: 20px; }
@media (max-width: 640px) { .psec-body { padding: 16px; } }
.psec-intro { margin: 0 0 16px; font-size: .95rem; }
.psec-more { margin: 18px 0 0; font-size: .95rem; }
.pgrid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e9e4; border-radius: 10px; overflow: hidden; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.pcard:hover { transform: translateY(-2px); border-color: #2e7d4f; box-shadow: 0 10px 25px rgba(0,0,0,.1); }
.pcard .pimg { display: block; padding: 10px; background: #fff; border-bottom: 1px solid #e2e9e4; }
.pcard .pimg img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; transition: transform .3s ease; }
.pcard:hover .pimg img { transform: scale(1.03); }
.pcard .pbody { padding: 12px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.pcard .pcat { text-transform: uppercase; letter-spacing: .28px; font-size: .7rem; line-height: 1.5; font-weight: 600; color: #2e7d4f; margin: 0; }
.pcard h3 { font-size: .875rem; line-height: 1.375; font-weight: 600; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.75em; }
.pcard h3 a { color: #22302a; }
.pcard h3 a:hover { color: #2e7d4f; text-decoration: none; }
.pcard .ptcb { color: #5f6b64; font-size: .75rem; line-height: 1.35; margin: 0; }
.pcard .pprice { font-size: 1rem; line-height: 1.5; font-weight: 800; color: #e23b3b; margin: 0; }
.pcard .pbtn { display: block; text-align: center; background: #2e7d4f; color: #fff !important; font-weight: 600; font-size: .75rem; line-height: 1rem; padding: 8px; border-radius: 8px; margin-top: auto; transition: background-color .15s; }
.pcard .pbtn:hover { background: #256a42; text-decoration: none; transform: none; box-shadow: none; }

.pd-page { background: #f5f7f5; padding: 20px 0 70px; }
.pd-top { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid #e2e9e4; border-radius: 16px; padding: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
@media (min-width: 960px) { .pd-top { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); padding: 24px; gap: 24px; align-items: start; } } /* đo trên mẫu: cột trái 550px, cột phải 578px, khoảng cách 24px */

/* Cột trái: ảnh + 3 ô thông tin + nút gọi/Zalo, dính theo khi cuộn như web mẫu */
@media (min-width: 960px) { .pd-gallery { position: sticky; top: 74px; align-self: start; } }
.pd-main { border-radius: 14px; overflow: hidden; background: #fff; aspect-ratio: 1 / 1; border: 1px solid var(--color-border); }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumbs button { border: 2px solid transparent; border-radius: 10px; padding: 0; background: #f2f6f3; cursor: pointer; width: 64px; height: 64px; flex: none; overflow: hidden; }
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button.on { border-color: var(--color-primary); }
.pd-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pd-tile { display: block; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; background: #fff; color: var(--color-ink); text-align: left; cursor: pointer; padding: 0; font: inherit; }
.pd-tile:hover { border-color: var(--color-primary); text-decoration: none; }
.pd-tile .tp { position: relative; display: block; aspect-ratio: 4 / 3; background: #eef5f0; overflow: hidden; }
.pd-tile .tp img { width: 100%; height: 100%; object-fit: cover; }
.pd-tile .tp .tp-badge { position: absolute; right: 6px; bottom: 6px; background: rgba(23,76,55,.9); color: #fff; font-size: .7rem; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.pd-tile .tp .tp-doc { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8px; text-align: center; font-size: .72rem; line-height: 1.3; color: var(--color-primary-dark); font-weight: 700; background: repeating-linear-gradient(135deg, #f3f8f5, #f3f8f5 8px, #e9f2ec 8px, #e9f2ec 16px); }
.pd-tile b { display: block; font-size: .8rem; padding: 8px 9px 0; line-height: 1.25; }
.pd-tile small { display: block; font-size: .72rem; color: var(--color-ink-soft); padding: 2px 9px 9px; line-height: 1.3; }
.pd-gbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.pd-gbtns .btn { padding: 12px 10px; }
.btn-gold { background: #c9a24c; color: #fff; border: 0; }
.btn-gold:hover { background: #b88f3b; text-decoration: none; }
.pd-gnote { font-size: .8rem; color: var(--color-ink-soft); text-align: center; margin: 8px 0 0; }

/* Cột phải: thông tin + biểu mẫu để lại thông tin */
.pd-info .tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--color-primary-dark); background: #e4f0e9; border-radius: 999px; padding: 4px 12px; }
.pd-info h1 { font-size: 1.5rem; line-height: 1.3; color: #14392a; margin: 10px 0 12px; }
@media (min-width: 900px) { .pd-info h1 { font-size: 1.85rem; } }
.pd-info .pd-sum { color: #3a443e; margin: 0 0 14px; line-height: 1.7; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.pd-badges li { font-size: .84rem; border: 1px solid #cfe0d5; background: #f3f8f5; color: var(--color-primary-dark); border-radius: 999px; padding: 6px 12px; }
.pd-badges li::before { content: "✓ "; font-weight: 800; }
.pd-price { font-size: 1.55rem; font-weight: 800; color: var(--color-primary); margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pd-price small { font-size: .86rem; font-weight: 500; color: var(--color-ink-soft); }

.pd-form { border: 1px solid #d9e4dd; border-radius: 14px; padding: 18px 20px 16px; background: #fff; box-shadow: 0 2px 10px rgba(23,76,55,.05); }
.pd-form h2 { font-size: 1.12rem; margin: 0 0 6px; color: #14392a; }
.pd-form .pd-form-sub { font-size: .9rem; color: var(--color-ink-soft); margin: 0 0 8px; }
.pd-form ul { list-style: none; margin: 0 0 14px; padding: 0; font-size: .9rem; color: #3a443e; }
.pd-form ul li { padding-left: 22px; position: relative; margin-bottom: 5px; line-height: 1.5; }
.pd-form ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--color-primary); font-weight: 800; }
.pd-form label { display: block; font-weight: 700; font-size: .88rem; margin: 0 0 6px; color: #22302a; }
.pd-form input[type=text], .pd-form input[type=tel], .pd-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #d3ddd6; border-radius: 10px; font: inherit; background: #fff; }
.pd-form input:focus, .pd-form textarea:focus { outline: 2px solid #b7d6c2; border-color: var(--color-primary); }
.pd-form .ff { margin-bottom: 12px; }
.pd-form details { border: 1px solid #d3ddd6; border-radius: 10px; padding: 11px 14px; margin-bottom: 12px; }
.pd-form summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: #22302a; }
.pd-form summary span { font-weight: 400; color: var(--color-ink-soft); }
.pd-form details[open] summary { margin-bottom: 10px; }
.pd-form .radios { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: .9rem; }
.pd-form .radios label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; margin: 0; }
.pd-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pd-form .btn-gold { width: 100%; padding: 14px 12px; font-size: 1.02rem; font-weight: 800; cursor: pointer; border-radius: 10px; }
.pd-form .privacy { font-size: .8rem; color: var(--color-ink-soft); margin: 10px 0 0; }
.pd-form .form-error { margin: 0 0 10px; }
.pd-form .form-success { margin: 12px 0 0; }
.pd-greenline { color: var(--color-primary-dark); font-weight: 600; font-size: .9rem; margin: 12px 0 0; }

/* Các khối nội dung dưới: thanh tiêu đề + thân thẻ */
.pd-sec { margin-top: 26px; scroll-margin-top: 80px; }
.pd-sec-head { background: #fff; border: 1px solid #e2e9e4; border-bottom: 2px solid #2e7d4f; border-radius: 10px 10px 0 0; padding: 13px 20px; display: flex; align-items: center; gap: 10px; }
.pd-sec-head .ic { width: 32px; height: 32px; border-radius: 50%; background: #e4f0e9; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex: none; }
.pd-sec-head h2 { font-size: 1.08rem; margin: 0; color: #173f2c; }
.pd-sec-body { background: #fff; border: 1px solid #e2e9e4; border-top: 0; border-radius: 0 0 10px 10px; padding: 20px 22px 24px; }
@media (min-width: 760px) { .pd-sec-body { padding: 24px 30px 30px; } }
.pd-sec-body p, .pd-sec-body li { line-height: 1.8; color: #2b332e; }
.pd-sec-body h3 { font-size: 1.08rem; color: #14392a; margin: 1.5em 0 .5em; }
.pd-sec-body h3:first-child { margin-top: 0; }
.pd-sec-body ul, .pd-sec-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.pd-sec-body li::marker { color: var(--color-primary); }
.pd-note-box { background: #f3f8f5; border: 1px solid #d5e5db; border-left: 4px solid var(--color-primary); border-radius: 10px; padding: 12px 16px; margin: 0 0 1em; }
.pd-note-box p { margin: 0; }

.pd-rev { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; margin: 0 -4px; }
.pd-rev > div { flex: 0 0 min(300px, 82%); scroll-snap-align: start; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; background: #fff; }
.pd-rev .video-embed { border-radius: 0; }
.pd-rev .vc-name { font-size: .9rem; font-weight: 700; margin: 0; padding: 10px 12px 12px; line-height: 1.4; }

.pd-dl { display: grid; gap: 0; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 760px) { .pd-dl { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.pd-dl div { padding: 10px 0; border-bottom: 1px solid #edf1ee; }
.pd-dl dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--color-ink-soft); margin: 0 0 2px; font-weight: 700; }
.pd-dl dd { margin: 0; font-weight: 600; color: #22302a; line-height: 1.5; }
.pd-dl .full { grid-column: 1 / -1; }

.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-border); vertical-align: top; line-height: 1.6; }
.spec th { width: 30%; color: var(--color-primary-dark); background: #f6faf7; font-weight: 700; }
.spec.nutri th { width: auto; }

.pd-faq details { border: 1px solid var(--color-border); border-radius: 10px; padding: 0; margin-bottom: 10px; background: #fff; }
.pd-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: #173f2c; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.pd-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--color-primary); }
.pd-faq details[open] summary::after { content: "−"; }
.pd-faq details[open] { border-color: #b9d3c3; }
.pd-faq .ans { padding: 0 18px 16px; color: #2b332e; line-height: 1.75; }

.pd-links { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pd-links { grid-template-columns: repeat(2, 1fr); } }
.pd-links a { display: block; border: 1px solid var(--color-border); border-radius: 12px; padding: 14px 16px; color: var(--color-ink); font-weight: 700; }
.pd-links a:hover { background: #f1f6f3; text-decoration: none; border-color: var(--color-primary); }
.pd-links small { display: block; font-weight: 400; color: var(--color-ink-soft); margin-top: 3px; }

.pd-band { margin-top: 30px; border-radius: 18px; padding: 34px 18px 28px; background: linear-gradient(135deg, #123f2d, #1f6b4b); color: #fff; }
.pd-band .band-in { max-width: 540px; margin: 0 auto; }
.pd-band .band-title { text-align: center; margin: 0 0 16px; font-size: 1.25rem; font-weight: 800; }
.pd-band .pd-form { color: var(--color-ink); }
.pd-band .band-note { text-align: center; color: rgba(255,255,255,.88); font-size: .9rem; margin: 12px 0 0; }

.pd-others { margin-top: 12px; }

/* ---- Bài viết liên quan ---- */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-item { display: block; color: var(--color-ink); }
.related-item:hover { text-decoration: none; }
.related-item .post-ph {
  height: 110px; border-radius: 10px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eaf1ec, #dfebe4); color: #3f6b55; font-size: .8rem; font-weight: 700;
}
.related-item h3 { font-size: .95rem; line-height: 1.35; margin: 6px 0 0; }
.related-item:hover h3 { color: var(--color-primary); }

/* ---- Thẻ bài viết blog: ảnh đầu thẻ, các thẻ cao bằng nhau ---- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card .post-thumb { width: 100%; height: 190px; object-fit: cover; display: block; }
.post-card .post-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-body p { flex: 1; }
.post-card h3 { font-size: 1.05rem; }
.post-card .post-ph {
  height: 190px; width: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eaf1ec, #dfebe4); color: #3f6b55; font-size: .8rem; font-weight: 700;
}

/* ---- Video khách hàng (bấm để phát ngay tại trang) ---- */
.video-embed {
  position: relative; width: 100%; padding-top: 56.25%; overflow: hidden;
  cursor: pointer; background: #000;
}
.video-embed img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.video-embed:hover img { transform: scale(1.04); }
.video-embed .play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center; color: var(--color-primary);
  font-size: 1.2rem; pointer-events: none;
}
.video-embed .vc-duration {
  position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.75); color: #fff;
  font-size: 0.78rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; pointer-events: none;
}

/* ---- Thẻ video (ảnh lớn, bo góc, không viền rối mắt) ---- */
.video-card {
  background: var(--color-card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.video-card .video-embed { border-radius: 0; margin-bottom: 0; }
.video-card .vc-body { padding: 14px 16px 16px; }
.video-card h3 { font-size: 1rem; margin: 0; line-height: 1.35; }
.video-card .tag { margin-bottom: 8px; }

/* ---- Chip filter ---- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #fff; border: 1.5px solid var(--color-border); border-radius: 999px;
  padding: 8px 14px; font-size: 0.85rem; font-weight: 800; color: var(--color-primary-dark);
}
@media (min-width: 760px) { .chip { padding: 10px 18px; font-size: 0.9rem; } }

/* ---- Xem thêm (ẩn bớt video, hiện dần) ---- */
.video-more-group[hidden] { display: none; }
.btn-see-more {
  display: block; margin: 20px auto 0; padding: 12px 28px; border-radius: 999px;
  border: 1.5px solid var(--color-primary); background: #fff; color: var(--color-primary-dark);
  font-weight: 800; font-size: 0.95rem; cursor: pointer;
}
.btn-see-more:hover { background: #eef6f1; }

/* ---- Tiêu đề nhóm nội dung ---- */
.group-heading {
  font-size: 1.3rem; font-weight: 800; color: var(--color-primary-dark);
  margin: 40px 0 8px; padding-top: 24px; border-top: 1px solid var(--color-border);
}
.group-heading:first-of-type { padding-top: 0; border-top: none; margin-top: 24px; }
.group-intro { max-width: 720px; margin-bottom: 20px; }

/* ---- FAQ accordion ---- */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
.faq-item p { padding-bottom: 14px; }

/* ---- Forms ---- */
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--color-border);
  font-size: 0.95rem; background: #fff; font-family: inherit;
}
.form-note { font-size: 0.84rem; color: var(--color-ink-soft); }
.form-success { display: none; background: #eaf5ee; color: #1f5c3f; border: 1px solid #bfe3cb; border-radius: 10px; padding: 12px 14px; margin-top: 12px; font-weight: 600; }
.form-error { color: var(--color-demo); font-size: 0.8rem; margin-top: -8px; margin-bottom: 10px; display: none; }

/* ---- Disclaimer ---- */
.disclaimer {
  font-size: 0.84rem; line-height: 1.6; color: var(--color-ink-soft); background: #f0f3ee; border-radius: 10px;
  padding: 12px 14px; border: 1px solid var(--color-border);
}

/* ---- Sticky mobile CTA ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 8px; padding: 10px 14px;
  background: #fff; border-top: 1px solid var(--color-border); box-shadow: 0 -4px 14px rgba(0,0,0,.06);
}
@media (min-width: 860px) { .sticky-cta { display: none; } }
.sticky-cta a { flex: 1; text-align: center; }

/* ---- Footer ---- */
footer.site-footer { background: #15261d; color: #dde6e0; margin-top: 40px; }
footer.site-footer .container { padding: 36px 18px 24px; }
footer.site-footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 10px; }
footer.site-footer a { color: #b9c9bf; }
footer.site-footer .cols { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { footer.site-footer .cols { grid-template-columns: repeat(4, 1fr); } }
footer.site-footer .legal { margin-top: 24px; font-size: 0.75rem; color: #8ea197; border-top: 1px solid #2a3b30; padding-top: 16px; }

/* ---- Trang giới thiệu: ảnh + chữ (chiều cao ảnh cố định, không phụ thuộc độ rộng cột) ---- */
.bio-hero {
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; margin: 28px 0 12px;
}
@media (min-width: 760px) { .bio-hero { grid-template-columns: 1.2fr 0.8fr; gap: 36px; } }
.bio-hero img {
  width: 100%; height: 320px; object-fit: cover; object-position: top 25%;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (min-width: 760px) { .bio-hero img { height: 380px; } }
.bio-split {
  display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; margin: 32px 0;
}
@media (min-width: 760px) { .bio-split { grid-template-columns: 0.8fr 1.2fr; gap: 32px; } }
.bio-split img {
  width: 100%; height: 260px; object-fit: cover; object-position: top 20%;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (min-width: 760px) { .bio-split img { height: 320px; } }
.bio-split.reverse .bio-split-media { order: 2; }
@media (max-width: 759px) { .bio-split.reverse .bio-split-media { order: 0; } }

/* ---- Breadcrumb / section title ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; font-weight: 800; color: var(--color-primary); margin: 0 0 8px; }
.section-head .eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: #d6a84f; }
.section-head { max-width: 680px; margin-bottom: 26px; }
.section-head h2 { font-size: 1.6rem; color: #14392a; }
@media (min-width: 860px) { .section-head h2 { font-size: 2rem; } }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ====================== Lớp hoàn thiện: chuyển động · tương tác · chi tiết nhỏ ====================== */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
::selection { background: #cfe6d8; color: #0f3526; }
:focus-visible { outline: 3px solid #d6a84f; outline-offset: 2px; border-radius: 6px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 0; }
a, .btn, .chip, .card, .tag, button, input, select, textarea, summary { transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { height: auto; }

/* Nút: nâng nhẹ khi rê chuột, nhấn xuống khi bấm */
.btn { box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(23,76,55,.18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-gold:hover { box-shadow: 0 8px 18px rgba(184,143,59,.35); }

/* Thẻ: nâng lên khi rê chuột */
.card, .video-card, .post-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover, .video-card:hover, .post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23,76,55,.14); }
.post-card .post-thumb { transition: transform .45s ease; }
.post-card { overflow: hidden; }
.post-card:hover .post-thumb { transform: scale(1.05); }
.post-card h3 a, .related-item h3 { transition: color .2s; }
.post-card:hover h3 a { color: var(--color-primary); }
.related-item img, .related-item .post-ph { transition: transform .3s ease, box-shadow .3s ease; }
.related-item:hover img { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(23,76,55,.16); }

/* Chip: rê chuột đổi màu, chip đang chọn nền xanh */
.chip { cursor: pointer; }
.chip:hover { border-color: var(--color-primary); background: #eef6f1; text-decoration: none; transform: translateY(-1px); }
.chip.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* Thanh trên, menu, tìm kiếm */
.top-strip a:hover { text-decoration: underline; opacity: .9; }
.brand { transition: opacity .2s; }
.brand:hover { text-decoration: none; opacity: .85; }
.header-search form { transition: box-shadow .2s, border-color .2s; }
.header-search form:focus-within { box-shadow: 0 0 0 4px rgba(46,125,79,.16); }
.header-search button:hover { background: var(--color-primary-dark); }
.nav-bar { transition: box-shadow .25s ease; }
.nav-bar.stuck { box-shadow: 0 8px 22px rgba(15,53,38,.28); }
nav.main-nav a { transition: background-color .2s, box-shadow .2s; }
.nav-zalo { transition: background-color .2s, transform .2s, box-shadow .2s; }
.nav-zalo:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.hotline-top:hover { text-decoration: none; }
.hotline-top:hover .ht-icon { background: #d3e8dc; }

/* Hiệu ứng xuất hiện khi cuộn tới (chỉ bật khi có JS; tôn trọng chế độ giảm chuyển động) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in.card:hover, .js .reveal.in.video-card:hover, .js .reveal.in.post-card:hover, .js .reveal.in.pcard:hover { transition-delay: 0s; }

/* Nút lên đầu trang */
.to-top { position: fixed; right: 18px; bottom: 90px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--color-primary); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: 0 8px 20px rgba(15,53,38,.3); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s, background-color .2s; z-index: 45; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--color-primary-dark); transform: translateY(-3px); }
@media (min-width: 860px) { .to-top { bottom: 28px; right: 28px; } }

/* ---- Trang chủ: hero có ảnh ---- */
.hero-home { position: relative; overflow: hidden; padding: 34px 0 44px; background: radial-gradient(1200px 500px at 85% -10%, #e2f0e8 0%, rgba(226,240,232,0) 60%), linear-gradient(180deg, #f4f9f5 0%, #fbfaf7 100%); }
.hero-home .hero-grid { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-home { padding: 56px 0 64px; } .hero-home .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.hero-home .tagline { display: inline-block; background: #e4f0e9; color: var(--color-primary-dark); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.hero-home h1 { font-size: 2rem; line-height: 1.22; color: #123b2a; letter-spacing: -.015em; margin-bottom: 16px; }
@media (min-width: 900px) { .hero-home h1 { font-size: 2.9rem; } }
.hero-home h1 em { font-style: normal; color: #2e7d4f; }
.hero-home .lead { font-size: 1.08rem; line-height: 1.75; color: #3d4a43; max-width: 560px; }
.hero-home .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.hero-home .cta-row .btn { padding: 14px 26px; font-size: 1rem; }
.hero-home .sub { font-size: .9rem; color: var(--color-ink-soft); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.hero-points li { font-size: .92rem; color: #2b332e; font-weight: 600; }
.hero-points li::before { content: "✓"; display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; background: #2e7d4f; color: #fff; font-size: .72rem; margin-right: 8px; }
.hero-visual { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.hero-visual .hv-img { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 50px rgba(15,53,38,.22); border: 6px solid #fff; background: #dcebe2; }
.hero-visual .hv-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-visual::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 70%; height: 70%; background: radial-gradient(circle, #cfe6d8 0%, rgba(207,230,216,0) 70%); z-index: -1; }
.hv-badge { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 26px rgba(15,53,38,.18); font-size: .85rem; line-height: 1.3; animation: floaty 5s ease-in-out infinite; }
.hv-badge b { display: block; color: #14392a; font-size: .95rem; }
.hv-badge.b1 { left: -14px; bottom: 56px; }
.hv-badge.b2 { right: -10px; top: 34px; animation-delay: 1.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 520px) { .hv-badge.b1 { left: 4px; } .hv-badge.b2 { right: 4px; } }

/* ---- Thẻ niềm tin ---- */
.trust-grid { gap: 16px; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-card { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 20px 18px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(23,76,55,.12); border-color: #b9d3c3; }
.trust-card .ti { width: 48px; height: 48px; border-radius: 14px; background: #e4f0e9; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 12px; }
.trust-card h3 { font-size: 1.05rem; margin: 0 0 6px; color: #14392a; }
.trust-card p { font-size: .92rem; margin: 0; line-height: 1.6; }

/* ---- Giới thiệu ngắn ở trang chủ ---- */
.about-teaser { display: grid; gap: 26px; align-items: center; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--color-border); border-radius: 22px; padding: 18px; }
@media (min-width: 860px) { .about-teaser { grid-template-columns: .85fr 1.15fr; gap: 40px; padding: 26px; } }
.about-teaser .at-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #1f2a2e; }
.about-teaser .at-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s ease; }
.about-teaser:hover .at-img img { transform: scale(1.04); }
.about-teaser h2 { font-size: 1.6rem; color: #14392a; }
.about-teaser p { line-height: 1.8; }
.about-teaser .quote { border-left: 4px solid #d6a84f; padding: 4px 0 4px 14px; font-style: italic; color: #3d4a43; margin: 0 0 16px; }

/* ---- Dải kêu gọi cuối trang ---- */
.cta-band { background: linear-gradient(135deg, #123f2d, #1f6b4b); }
.cta-band .band-wrap { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cta-band .band-wrap { grid-template-columns: 1fr 1fr; gap: 56px; } }
.cta-band h2 { color: #fff; font-size: 1.7rem; }
@media (min-width: 900px) { .cta-band h2 { font-size: 2.1rem; } }
.cta-band p { color: rgba(255,255,255,.88); }
.cta-band ul { color: #fff; padding-left: 0; list-style: none; margin: 14px 0 0; }
.cta-band ul li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.cta-band ul li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #d6a84f; color: #123f2d; font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pd-form select { width: 100%; padding: 12px 14px; border: 1px solid #d3ddd6; border-radius: 10px; font: inherit; background: #fff; }

/* ---- Chân trang ---- */
footer.site-footer { margin-top: 0; }
footer.site-footer .container { padding: 44px 18px 26px; }
footer.site-footer h4 { font-size: .95rem; letter-spacing: .03em; margin-bottom: 14px; }
footer.site-footer p { margin: 0 0 8px; color: #b9c9bf; font-size: .92rem; }
footer.site-footer a { color: #b9c9bf; transition: color .2s, padding-left .2s; }
footer.site-footer a:hover { color: #fff; text-decoration: none; padding-left: 4px; }
footer.site-footer .legal { font-size: .8rem; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.read-more { display: inline-block; margin-top: 6px; font-weight: 800; font-size: .92rem; color: var(--color-primary); }
.read-more:hover { text-decoration: none; letter-spacing: .01em; }
.post-card .post-body p { color: var(--color-ink-soft); }
.related-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Trang liên hệ ---- */
.contact-card { text-align: center; display: flex; flex-direction: column; gap: 4px; align-items: center; padding: 22px 14px; color: var(--color-ink); }
.contact-card:hover { text-decoration: none; }
.contact-card .ci { width: 54px; height: 54px; border-radius: 16px; background: #e4f0e9; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 8px; transition: transform .25s, background-color .25s; }
.contact-card:hover .ci { transform: scale(1.1) rotate(-4deg); background: #d3e8dc; }
.contact-card strong { color: #14392a; font-size: 1.05rem; }
.contact-card span:last-child { font-size: .9rem; color: var(--color-ink-soft); }
.contact-grid { display: grid; gap: 26px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 34px; } }
.contact-grid .pd-form { padding: 24px 26px 20px; border-radius: 18px; }
.contact-grid .pd-form h2 { font-size: 1.35rem; }
.cs-box { background: linear-gradient(135deg, #123f2d, #1f6b4b); color: #fff; border-radius: 18px; padding: 24px 24px 20px; margin-bottom: 18px; }
.cs-box h2 { color: #fff; font-size: 1.25rem; margin-bottom: 14px; }
.cs-box.light { background: #fff; color: var(--color-ink); border: 1px solid var(--color-border); }
.cs-box.light h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-primary); margin-bottom: 4px; }
.cs-box.light p { margin: 0; color: #2b332e; }
.cs-steps { list-style: none; margin: 0; padding: 0; counter-reset: cs; }
.cs-steps li { counter-increment: cs; position: relative; padding: 0 0 16px 46px; }
.cs-steps li:last-child { padding-bottom: 0; }
.cs-steps li::before { content: counter(cs); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: #d6a84f; color: #123f2d; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cs-steps li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: rgba(255,255,255,.25); }
.cs-steps li:last-child::after { display: none; }
.cs-steps b { display: block; font-size: 1rem; }
.cs-steps span { display: block; color: rgba(255,255,255,.85); font-size: .92rem; line-height: 1.6; }

/* ---- Bảng thông tin chất lượng ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: 14px; background: #fff; }
.q-table thead th { background: #14392a; color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.q-table td { vertical-align: middle; }
.q-table tbody tr { transition: background-color .2s; }
.q-table tbody tr:hover { background: #f4f9f5; }
.q-table a strong { color: #14392a; }
@media (max-width: 640px) {
  .q-table thead { display: none; }
  .q-table, .q-table tbody, .q-table tr, .q-table td { display: block; width: 100%; }
  .q-table tr { padding: 12px 6px; border-bottom: 1px solid var(--color-border); }
  .q-table td { border: 0; padding: 4px 12px; }
  .q-table td::before { content: attr(data-l) ": "; color: var(--color-ink-soft); font-size: .82rem; }
}

/* ---- Tinh chỉnh chi tiết nhỏ (điện thoại & cỡ chữ) ---- */
.brand { padding: 6px 0; }
.side-more { padding: 10px 0 4px; }
.side-title { font-size: .82rem; }
.side-feedback .video-embed .vc-duration { font-size: .72rem; }
.pd-tile small { font-size: .78rem; }
.pd-tile .tp .tp-doc { font-size: .78rem; }
.pd-tile b { font-size: .84rem; }
.pd-info .tag, .tag { font-size: .8rem; }
@media (max-width: 520px) {
  .hero-home h1 { font-size: 1.85rem; }
  .hero-home .cta-row .btn { width: 100%; }
  .hv-badge { font-size: .8rem; padding: 8px 11px; }
  .cta-band h2 { font-size: 1.5rem; }
  .pd-gbtns { grid-template-columns: 1fr; }
}

/* ===== Trang chi tiết sản phẩm: số đo lấy từ web mẫu (đo trên màn hình 1300px) ===== */
.pd-top { border: 0; border-radius: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
.pd-main { padding: 13px; border: 0; border-radius: 0; background: #fff; }
.pd-main img { border-radius: 0; }
.pd-thumbs { gap: 8px; margin-top: 10px; }
.pd-tiles { gap: 8px; }
.pd-tile { border-radius: 10px; border-color: #e2e9e4; }
.pd-tile b { padding: 6px 8px 0; font-size: .8rem; }
.pd-tile small { padding: 1px 8px 7px; font-size: .75rem; }
.pd-gbtns { gap: 8px; }
.pd-gbtns .btn { padding: 10px 12px; font-size: .875rem; font-weight: 700; border-radius: 10px; border: 0; }
.pd-gbtns .btn:hover { transform: translateY(-1px); }
.pd-gbtns .btn-primary { background: #0068ff; }
.pd-gbtns .btn-primary:hover { background: #0057d6; box-shadow: 0 6px 14px rgba(0,104,255,.3); }
.pd-info .tag { font-size: .75rem; font-weight: 600; color: #1f5c3d; background: #e4f1e8; padding: 4px 12px; margin-bottom: 8px; }
.pd-info h1 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); font-weight: 800; line-height: 1.25; color: #173f2c; margin: 0 0 10px; }
.pd-info .pd-sum { font-size: 1rem; line-height: 1.5; color: #5a6b62; margin: 0 0 14px; }
.pd-badges { gap: 8px; margin-bottom: 16px; }
.pd-badges li { font-size: .75rem; padding: 4px 12px; border: 1px solid rgba(46,125,79,.25); background: rgba(228,241,232,.6); color: #1f5c3d; }
.pd-form { padding: 20px; border: 1px solid #e2e9e4; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
.pd-form h2 { font-size: 1.125rem; font-weight: 800; color: #173f2c; margin: 0 0 4px; }
.pd-form .pd-form-sub { font-size: .875rem; color: #5a6b62; margin: 0 0 8px; }
.pd-form ul { font-size: .875rem; line-height: 1.43; color: #22302a; margin-bottom: 14px; }
.pd-form ul li { margin-bottom: 4px; }
.pd-form label { font-size: .875rem; font-weight: 500; color: #22302a; margin: 0 0 4px; }
.pd-form input[type=text], .pd-form input[type=tel], .pd-form select, .pd-form textarea { font-size: .95rem; padding: 10px 14px; border: 1px solid #e2e9e4; border-radius: 10px; }
.pd-form input[type=text], .pd-form input[type=tel], .pd-form select { height: 44px; }
.pd-form details { border-color: #e2e9e4; padding: 10px 14px; }
.pd-form .btn-gold { font-size: 1rem; font-weight: 700; padding: 12px 20px; height: 48px; border-radius: 10px; }
.pd-form .privacy { font-size: .78rem; }
.pd-greenline { font-size: .875rem; }
@media (max-width: 959px) { .pd-gbtns { grid-template-columns: 1fr 1fr; } }
.pd-gbtns .btn { line-height: 20px; }
.pd-tile b { line-height: 1.2; }
.pd-tile small { line-height: 1.25; }
@media (max-width: 520px) {
  .pd-tile .tp .tp-doc { font-size: .7rem; padding: 6px; }
  .pd-tile b { font-size: .75rem; padding: 6px 6px 0; }
  .pd-tile small { font-size: .7rem; padding: 1px 6px 7px; }
  .pd-price { font-size: 1.3rem; }
  .pd-info h1 { font-size: 1.4rem; }
}
@media (max-width: 640px) { .container { padding: 0 16px; } }
.q-table td a:not(.btn) { display: inline-block; padding: 9px 0; }

/* ===== Nhịp dàn trang gọn như web mẫu (đo trên mẫu: khoảng cách giữa các khối 16–28px) ===== */
section { padding: 14px 0; }
@media (min-width: 860px) { section { padding: 14px 0; } }
main > section:first-child { padding-top: 22px; }
main > section:last-child { padding-bottom: 44px; }
.section-head { margin-bottom: 18px; }
.hero-home { padding: 22px 0 28px; }
@media (min-width: 900px) { .hero-home { padding: 30px 0 36px; } .hero-home .hero-grid { gap: 40px; } }
.hero-visual { max-width: 400px; }
.hero-home h1 { margin-bottom: 12px; }
.hero-home .cta-row { margin: 18px 0 10px; }
.cta-band { padding: 40px 0; margin-top: 18px; }
.about-teaser { padding: 18px; }
@media (min-width: 860px) { .about-teaser { padding: 22px; gap: 32px; } }
/* Lưới sản phẩm: ít thẻ thì giãn đủ hàng, không để trống một bên */
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }
.pgrid .pcard { max-width: 380px; }
@media (max-width: 767px) { .pgrid .pcard { max-width: none; } }
.hero-visual .hv-img { aspect-ratio: 1 / 1; }
.hero-visual .hv-img img { object-position: center 20%; }

/* ===== Trang chủ theo cỡ chữ và bố cục web mẫu (đo: hero card bo 18px, H1 35,2px; ô niềm tin 291x107, icon 40px, chữ 14/12px) ===== */
:root { --color-bg: #f5f7f5; }
.hero-home { background: transparent; padding: 16px 0 0; }
.hero-home .hero-card { background: #fff; border-radius: 18px; padding: 24px 28px; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
@media (min-width: 900px) { .hero-home .hero-card { padding: 28px 36px; } }
.hero-home { overflow: visible; }
.hero-home h1 { font-size: 1.75rem; line-height: 1.25; font-weight: 800; color: #173f2c; }
@media (min-width: 900px) { .hero-home h1 { font-size: 2.2rem; line-height: 1.25; } }
.hero-home .lead { font-size: 1rem; line-height: 1.5; color: #5a6b62; max-width: 560px; }
.hero-home .cta-row .btn { height: 50px; padding: 0 22px; font-size: .95rem; font-weight: 700; border-radius: 10px; }
.hero-home .cta-row .btn-gold { border: 0; }
.hero-home .sub { font-size: .875rem; color: #5a6b62; }
.hero-points li { font-size: .875rem; }
.hero-visual .hv-img { border-width: 4px; border-radius: 18px; }
.trust-grid { gap: 12px; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; border: 1px solid #e2e9e4; background: #fff; box-shadow: none; }
.trust-card:hover { transform: translateY(-2px); border-color: #2e7d4f; box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.trust-card .ti { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #e4f1e8; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin: 0; }
.trust-card h3 { font-size: .875rem; font-weight: 700; line-height: 1.43; color: #173f2c; margin: 0 0 2px; }
.trust-card p { font-size: .75rem; line-height: 1.625; color: #5a6b62; margin: 0; }
.psec-body .about-teaser { border: 0; padding: 0; background: transparent; }
.psec-body .about-teaser:hover .at-img img { transform: scale(1.03); }
.psec-body .about-teaser .quote { font-size: 1.05rem; }
.psec-body .about-teaser p { font-size: 1rem; line-height: 1.6; }
.psec-body .card-grid { margin: 0; }
.psec-body .card { box-shadow: none; border-color: #e2e9e4; border-radius: 10px; }
.psec-body .video-card { box-shadow: none; border: 1px solid #e2e9e4; border-radius: 10px; }
.psec-body .card.post-card:hover, .psec-body .video-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.1); }

/* "Sản phẩm khác" trong trang chi tiết: lưới 4/3/2 cột đúng cỡ thẻ mẫu (280px), xếp sát nhau từ trái, không giãn ra */
.pd-others { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; }
@media (min-width: 768px) { .pd-others { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pd-others { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pd-others .pcard { max-width: none; }
.pd-sec-body .pgrid.pd-others { gap: 14px; }
/* Thẻ sản phẩm nằm trong khối nội dung: chặn các định dạng chữ chung của khối làm thẻ phình to */
.pd-sec-body .pcard h3 { font-size: .875rem; line-height: 1.375; font-weight: 600; margin: 0; color: #22302a; }
.pd-sec-body .pcard p { margin: 0; line-height: 1.35; font-size: .75rem; color: #5f6b64; }
.pd-sec-body .pcard .pcat { margin: 0; }
.pd-sec-body .pcard .pimg img { border-radius: 0; }
.pd-sec-body .pcard .pbtn { color: #fff; }

/* ===== Trang "Nguyễn Trà Giang là ai": bố cục sao chép từ trang "Về Phan Hồng Sơn" (đo trên màn hình 1300px) ===== */
.ab-top { padding: 4px 0 0; }
.ab-top .breadcrumb { margin: 0; padding: 9px 0; font-size: .875rem; align-items: center; }
.ab-top .breadcrumb b { color: #22302a; font-weight: 700; }
.psec-head .ic svg { display: block; }
.ab-summary { background: rgba(228,241,232,.6); border-left: 4px solid #2e7d4f; border-radius: 10px; padding: 16px; font-size: 1rem; line-height: 1.5; color: #22302a; }
.ab-summary strong { color: #173f2c; }
.ab-date { margin: 16px 0 0; font-size: .875rem; line-height: 1.43; color: #5a6b62; }

.ab-story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 860px) { .ab-story { grid-template-columns: minmax(0, .35fr) minmax(0, .65fr); } }
.ab-photo { position: relative; }
.ab-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center 20%; border-radius: 14px; }
@media (max-width: 859px) { .ab-photo img { height: auto; aspect-ratio: 4 / 5; max-height: 460px; } }
.ab-text p, .ab-card p { font-size: .95rem; line-height: 1.75; color: #22302a; margin: 0 0 14.4px; }
.ab-text strong, .ab-card strong { color: #173f2c; }
.ab-quote { background: #e4f1e8; border-left: 4px solid #c9a24b; border-radius: 0 10px 10px 0; padding: 16px; margin: 20px 0 0; font-size: .95rem; line-height: 1.75; color: #173f2c; }

.ab-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
.ab-card h2 { font-size: 1.25rem; line-height: 1.35; font-weight: 800; color: #173f2c; margin: 0 0 12px; }
.ab-card p { max-width: none; }
.ab-card p:last-child { margin-bottom: 0; }
.ab-fig { margin: 18px auto 4px; max-width: 720px; }
.ab-fig img { width: 100%; border-radius: 14px; }

.ab-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px; border-radius: 10px; background: linear-gradient(to right, #1f5c3d, #2e7d4f); }
.ab-cta h3 { font-size: 1.125rem; font-weight: 800; color: #fff; margin: 0 0 4px; }
.ab-cta p { font-size: .875rem; line-height: 1.43; color: rgba(255,255,255,.85); margin: 0; max-width: 672px; }
.ab-cta .btn { height: 47px; padding: 12px 20px; font-size: .95rem; font-weight: 700; border-radius: 10px; border: 0; white-space: nowrap; }
@media (max-width: 640px) { .ab-cta .btn { width: 100%; } .ab-card { padding: 16px; } }
.ab-trust { margin: 0; }
@media (min-width: 1000px) { .ab-trust { grid-template-columns: repeat(3, 1fr); } }
.pd-sec-head .ic { width: 32px; height: 32px; border-radius: 10px; background: #2e7d4f; }
.pd-sec-head .ic svg { display: block; }

/* ===== Thẻ video + trang Câu chuyện khách hàng: số đo đo trực tiếp từ mục "Khách hàng nói gì" của web mẫu ===== */
/* thẻ: viền 1px #e2e9e4, bo 10px, ảnh 16:9 nền #0f3a26, chữ đệm 11/13px, tiêu đề 15,68px/800, thời lượng 12px, nút phát 58px */
.video-card { background: #fff; border: 1px solid #e2e9e4; border-radius: 10px; overflow: hidden; box-shadow: none; display: flex; flex-direction: column; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.video-card:hover { transform: translateY(-2px); border-color: #2e7d4f; box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.video-card .video-embed { background: #0f3a26; border-radius: 0; }
.video-card .video-embed img { object-fit: cover; }
.video-embed .play-badge { width: 58px; height: 58px; background: rgba(15,58,38,.82); color: #fff; font-size: 1.25rem; box-shadow: none; padding-left: 4px; }
.video-embed:hover .play-badge { background: rgba(15,58,38,.95); }
.video-embed .vc-duration { font-size: .75rem; font-weight: 700; background: rgba(0,0,0,.72); padding: 2px 7px; border-radius: 6px; right: 8px; bottom: 8px; }
.video-card .vc-body { padding: 11px 13px 13px; flex: 1; }
.video-card h3 { font-size: .98rem; line-height: 1.35; font-weight: 800; color: #173f2c; margin: 0; }
.video-card .tag { margin-bottom: 6px; }

.cc-intro { font-size: 1rem; line-height: 1.7; margin: 0 0 14px; color: #22302a; }
.cc-note { background: rgba(228,241,232,.6); border-left: 4px solid #2e7d4f; border-radius: 10px; padding: 12px 16px; font-size: .875rem; line-height: 1.6; color: #22302a; margin: 0 0 18px; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.cc-chip { font: inherit; font-size: .875rem; font-weight: 600; color: #173f2c; background: #fff; border: 1px solid #cfe0d5; border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.cc-chip span { margin-left: 4px; font-weight: 800; color: #2e7d4f; }
.cc-chip:hover { border-color: #2e7d4f; background: #f1f6f3; }
.cc-chip.active { background: #2e7d4f; border-color: #2e7d4f; color: #fff; }
.cc-chip.active span { color: #fff; }
.cc-group { margin: 0 0 26px; }
.cc-group:last-child { margin-bottom: 0; }
.cc-title { font-size: 1.25rem; font-weight: 800; color: #173f2c; margin: 0 0 4px; line-height: 1.35; }
.cc-title small { font-size: .8rem; font-weight: 600; color: #5a6b62; margin-left: 6px; }
.cc-group > p { font-size: .95rem; margin: 0 0 12px; color: #5a6b62; }
.cc-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 12px; }
@media (min-width: 560px) { .cc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cc-grid[hidden] { display: none; }
.cc-group .btn-see-more { margin: 18px auto 0; }

/* ===== Hero trang chủ theo mẫu anh Minh gửi: danh sách 4 ý có dấu tích + nút vàng + ảnh vuông bo góc ===== */
.hero-home .hero-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.hero-home .hero-list li { position: relative; padding-left: 34px; font-size: 1rem; line-height: 1.55; color: #22302a; }
.hero-home .hero-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: #2e9e5b; color: #fff; font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hero-home .hero-list b { color: #173f2c; font-weight: 800; }
.hero-home .cta-row { margin: 20px 0 0; }
.btn-gold-grad { background: linear-gradient(180deg, #d6b25e, #bd9640); box-shadow: 0 2px 6px rgba(160,120,40,.25); }
.btn-gold-grad:hover { background: linear-gradient(180deg, #dcba68, #c49d46); }
.hero-home h1 { font-size: 1.75rem; }
@media (min-width: 900px) { .hero-home h1 { font-size: 2.2rem; } .hero-home .hero-grid { grid-template-columns: 1.25fr .75fr; } }
.hero-visual .hv-img { aspect-ratio: 1 / 1.02; }
.hero-visual .hv-img img { object-position: center 22%; }
.hv-badge.b1 { left: -22px; bottom: 28px; }
/* Ảnh đại diện bài viết là banner ngang (~1,9:1): giữ đúng tỉ lệ để không bị cắt chữ ở mọi độ rộng */
.post-card .post-thumb { height: auto; aspect-ratio: 1.9 / 1; object-fit: cover; }

/* Lưới video khách hàng: web mẫu xếp 4 thẻ mỗi hàng (thẻ ~290px, khoảng cách 14px) */
@media (min-width: 1100px) { .cc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-grid.cols-3:has(> .video-card) { grid-template-columns: 1fr; }
@media (min-width: 560px) { .card-grid.cols-3:has(> .video-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .card-grid.cols-3:has(> .video-card) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ===== Trang Liên hệ theo mẫu anh Minh gửi ===== */
.lh-top .breadcrumb { margin: 0; padding: 9px 0; font-size: .875rem; }
.lh-hero { padding: 6px 0 4px; background: radial-gradient(900px 380px at 100% 0%, #e6f1ea 0%, rgba(230,241,234,0) 60%), #fbfaf7; }
.lh-hero-grid { display: grid; gap: 22px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .lh-hero-grid { grid-template-columns: .42fr .58fr; gap: 28px; } }
.lh-photo { border-radius: 18px; overflow: hidden; background: #efe9dd; aspect-ratio: 1 / 1.05; max-height: 460px; }
.lh-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.lh-tag { display: inline-flex; align-items: center; gap: 8px; background: #e8f2ec; color: #174c37; font-weight: 700; font-size: .875rem; padding: 7px 14px; border-radius: 999px; }
.lh-copy h1 { font-size: 1.75rem; line-height: 1.25; color: #0f3526; margin: 12px 0 8px; font-weight: 800; }
@media (min-width: 900px) { .lh-copy h1 { font-size: 2.2rem; } }
.lh-sub { font-size: 1.02rem; color: #5a6b62; margin: 0 0 18px; }
.lh-points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 18px; }
@media (min-width: 760px) { .lh-points { grid-template-columns: repeat(4, minmax(0,1fr)); text-align: center; } }
.lh-pt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
@media (min-width: 760px) { .lh-pt { align-items: center; } }
.lh-pi { width: 56px; height: 56px; border-radius: 16px; background: #e6f2eb; display: inline-flex; align-items: center; justify-content: center; }
.lh-pt b { font-size: .95rem; color: #173f2c; font-weight: 800; }
.lh-pt small { font-size: .85rem; color: #5a6b62; line-height: 1.35; }

.lh-body { padding: 10px 0 40px; }
.lh-body-grid { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .lh-body-grid { grid-template-columns: 1fr 1fr; } }
.lh-form, .lh-steps, .lh-channels { background: #fff; border: 1px solid #e2e9e4; border-radius: 16px; padding: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.lh-fhead { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.lh-fhead h2 { font-size: 1.25rem; color: #0f3526; margin: 0 0 4px; font-weight: 800; }
.lh-fhead p { margin: 0; font-size: .92rem; color: #5a6b62; }
.lh-lab { display: block; font-weight: 700; font-size: .92rem; color: #22302a; margin: 14px 0 6px; }
.lh-lab .req { color: #d64541; }
.lh-lab .opt { font-weight: 500; color: #5a6b62; }
.lh-in { position: relative; display: flex; align-items: center; border: 1px solid #d6e0d9; border-radius: 10px; background: #fff; padding: 0 12px; transition: border-color .15s, box-shadow .15s; }
.lh-in:focus-within { border-color: #2e7d4f; box-shadow: 0 0 0 3px rgba(46,125,79,.14); }
.lh-in svg { flex: none; margin-right: 10px; }
.lh-in input, .lh-in select { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: .95rem; padding: 12px 0; color: #22302a; min-width: 0; }
.lh-in select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.lh-submit { width: 100%; margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(180deg, #1f6b44, #174c37); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; padding: 15px; border: 0; border-radius: 12px; cursor: pointer; box-shadow: 0 4px 12px rgba(23,76,55,.25); transition: transform .15s, box-shadow .15s; }
.lh-submit svg { stroke: #fff; }
.lh-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(23,76,55,.3); }
.lh-form .form-error { margin: 10px 0 0; }
.lh-form .form-success { margin: 12px 0 0; }
.lh-privacy { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .82rem; color: #5a6b62; margin: 12px 0 0; }

.lh-shead { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lh-shead h2 { font-size: 1.1rem; color: #0f3526; margin: 0; font-weight: 800; }
.lh-steps ol { list-style: none; margin: 0; padding: 0; position: relative; }
.lh-steps li { display: flex; gap: 14px; position: relative; padding-bottom: 16px; }
.lh-steps li:last-child { padding-bottom: 0; }
.lh-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: #cfe0d5; }
.lh-steps .n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #2e7d4f; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lh-steps li:last-child .n { background: #174c37; }
.lh-steps b { display: block; font-size: .98rem; color: #22302a; font-weight: 800; margin-bottom: 2px; }
.lh-steps small { font-size: .9rem; color: #5a6b62; line-height: 1.5; }
.lh-channels { margin-top: 22px; }
.lh-channels h3 { font-size: 1rem; color: #0f3526; font-weight: 800; margin: 0 0 12px; }
.lh-grid2 { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.lh-ch { display: flex; align-items: center; gap: 12px; border: 1px solid #e2e9e4; border-radius: 12px; padding: 14px; color: #22302a; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lh-ch:hover { border-color: #2e7d4f; box-shadow: 0 6px 14px rgba(0,0,0,.07); transform: translateY(-1px); text-decoration: none; }
.lh-ch b { display: block; font-size: .95rem; font-weight: 800; color: #22302a; }
.lh-ch small { display: block; font-size: .85rem; color: #5a6b62; }
.lh-ci { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #f1f6f3; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; color: #fff; }
.lh-ci.zalo { background: #0068ff; }
.lh-ci.msg { background: #f1f6f3; }
.lh-ci.yt { background: #e62117; font-size: 1rem; }
@media (max-width: 480px) { .lh-grid2 { grid-template-columns: 1fr; } }

/* ===== Liên hệ: cân đối lại theo mẫu (ảnh vừa chiều cao khối chữ, 2 cột dưới bằng nhau, xem tốt trên điện thoại) ===== */
.lh-hero { padding: 4px 0 18px; }
.lh-hero-grid { align-items: end; }
@media (min-width: 900px) { .lh-hero-grid { grid-template-columns: .32fr .68fr; gap: 36px; } }
.lh-photo { aspect-ratio: 4 / 5; max-height: 340px; width: 100%; border-radius: 20px; box-shadow: 0 10px 26px rgba(15,53,38,.15); }
@media (min-width: 900px) { .lh-photo { max-height: 360px; } }
.lh-photo img { object-position: center 14%; }
@media (max-width: 899px) { .lh-photo { max-height: 300px; aspect-ratio: 4 / 3; max-width: 520px; margin: 0 auto; } .lh-photo img { object-position: center 18%; } }
.lh-copy { padding-bottom: 6px; }
.lh-body-grid { align-items: stretch; }
.lh-side { display: flex; flex-direction: column; gap: 22px; }
.lh-side .lh-channels { margin-top: 0; flex: 1; }
.lh-form { display: flex; flex-direction: column; }
.lh-form .lh-privacy { margin-top: 14px; }
.lh-submit { margin-top: auto; }
.lh-form .lh-in + .hp + .form-error, .lh-form .form-error { margin-top: 10px; }
.lh-form .lh-in { margin-bottom: 0; }
.lh-form { gap: 0; }
.lh-form .lh-submit { margin-top: 20px; }
@media (max-width: 899px) { .lh-form, .lh-steps, .lh-channels { padding: 18px; } .lh-points { gap: 16px 12px; } .lh-pt { align-items: flex-start; } }
@media (max-width: 480px) { .lh-copy h1 { font-size: 1.55rem; } .lh-submit { font-size: .92rem; padding: 14px 10px; } }
.lh-body-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lh-body-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.lh-body-grid > *, .lh-hero-grid > * { min-width: 0; }
.lh-in select, .lh-in input { width: 100%; }

/* ô bẫy chống spam: luôn ẩn trên mọi biểu mẫu (trước đây chỉ ẩn trong .pd-form nên trang Liên hệ hiện chữ "Website") */
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden; pointer-events: none; }

/* ===== Liên hệ: cân chiều cao ảnh = khối chữ, phong cách sang trọng (xanh đậm + vàng) ===== */
.lh-hero { padding: 6px 0 26px; background: radial-gradient(800px 360px at 100% -10%, #e4efe8 0%, rgba(228,239,232,0) 62%), radial-gradient(520px 300px at 0% 100%, #f3ecd9 0%, rgba(243,236,217,0) 70%), #fbfaf7; }
.lh-hero-grid { align-items: stretch; }
@media (min-width: 900px) { .lh-hero-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 44px; } }
.lh-photo { aspect-ratio: auto; max-height: none; height: auto; min-height: 380px; border-radius: 22px; box-shadow: 0 18px 40px rgba(15,53,38,.18); outline: 1px solid rgba(198,160,74,.55); outline-offset: 6px; }
.lh-photo img { height: 100%; object-position: center 16%; }
@media (max-width: 899px) { .lh-photo { min-height: 0; aspect-ratio: 4 / 3; max-width: 520px; margin: 0 auto; outline-offset: 5px; } }
.lh-copy { display: flex; flex-direction: column; justify-content: center; padding: 10px 0; }
.lh-tag { align-self: flex-start; background: #fff; border: 1px solid #d8bd7a; color: #174c37; box-shadow: 0 2px 8px rgba(198,160,74,.15); }
.lh-copy h1 { font-size: 1.9rem; letter-spacing: -.01em; margin: 14px 0 10px; position: relative; padding-bottom: 14px; }
@media (min-width: 900px) { .lh-copy h1 { font-size: 2.5rem; line-height: 1.2; } }
.lh-copy h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #c9a24b, #e4c883); }
.lh-sub { font-size: 1.1rem; margin: 6px 0 24px; }
.lh-points { gap: 18px 20px; }
@media (min-width: 760px) { .lh-points { text-align: left; } .lh-pt { align-items: flex-start; } }
.lh-pi { width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(145deg, #eaf4ee, #dcebe2); box-shadow: inset 0 0 0 1px rgba(198,160,74,.35); }
.lh-pt b { font-size: 1rem; }
.lh-pt small { font-size: .9rem; }

.lh-form, .lh-steps, .lh-channels { border-radius: 20px; border: 1px solid #e6ece8; box-shadow: 0 10px 30px rgba(15,53,38,.08); position: relative; }
.lh-form::before, .lh-steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #c9a24b, #e4c883, #c9a24b); }
.lh-fhead h2, .lh-shead h2 { letter-spacing: -.005em; }
.lh-in { border-radius: 12px; background: #fcfdfc; }
.lh-submit { background: linear-gradient(180deg, #1f6b44, #123f2d); border: 1px solid #c9a24b; border-radius: 14px; box-shadow: 0 8px 20px rgba(15,53,38,.28); letter-spacing: .04em; }
.lh-steps .n { background: linear-gradient(145deg, #2e7d4f, #174c37); box-shadow: 0 0 0 3px #e4efe8; }
.lh-ch { border-radius: 14px; }
/* ảnh không còn quyết định chiều cao hàng: ảnh lấp đầy đúng bằng chiều cao khối chữ */
.lh-photo { position: relative; min-height: 360px; }
.lh-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
.lh-copy { padding: 22px 0; }
@media (max-width: 899px) { .lh-photo { min-height: 0; aspect-ratio: 4 / 3; } }

/* Trang chủ: khối bài viết 4 cột/dòng, tối đa 2 dòng (8 bài) */
@media (min-width: 640px) and (max-width: 899px) { .card-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
.psec-body .card-grid.cols-4 > .post-card:nth-child(n+9) { display: none; }

/* Giấy tờ công bố: chỉ xem, không bấm, không tải */
.doc-stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 150px)); gap: 12px; margin-top: 12px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.doc-view { width: 100%; aspect-ratio: 1054 / 1492; background-size: 100% 100%; background-repeat: no-repeat; border: 1px solid var(--color-border); border-radius: 6px; background-color: #fff; pointer-events: none; }
.pd-tile .tp .doc-thumb { position: absolute; inset: 0; background-size: cover; background-position: center top; background-repeat: no-repeat; }

/* Danh sách sản phẩm: 4 sản phẩm mỗi hàng trên máy tính */
@media (min-width: 1024px) {
  .pgrid:not(.pd-others) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .pgrid:not(.pd-others) .pcard { max-width: none; }
}

/* ---- Bài viết liên quan: ảnh đầy cột, tỉ lệ đồng đều, nhãn dạng viên thuốc, các ô cao bằng nhau ---- */
.article-main .related-item { display: flex; flex-direction: column; gap: 0; height: 100%; }
.article-main .related-item .post-thumb { width: 100% !important; height: auto !important; aspect-ratio: 1.9 / 1; object-fit: cover; display: block; border-radius: 12px !important; margin-bottom: 12px !important; }
.article-main .related-item .tag { align-self: flex-start; display: inline-block; font-size: .78rem; font-weight: 700; color: var(--color-accent); background: #eaf5ee; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.article-main .related-item h3 { font-size: 1rem; line-height: 1.4; margin: 0; }
.article-main .related-grid { gap: 22px; align-items: stretch; }

/* Bài viết liên quan: 2 hàng, mỗi hàng 3 bài trên máy tính; 2 cột trên điện thoại */
.article-main .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (min-width: 640px) { .article-main .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; } }
.article-main .related-item h3 { font-size: .95rem; }
