/* ═══════════════════════════════════════════════════════════════════════════
   PRO.CSS — LỚP "SANG" CUỐI CÙNG (19/11/2026)

   Yêu cầu: "giao diện đẹp, Pro, sang. Chỗ có hình thì cho hình động. Chữ tiêu
   đề trên các mục ảnh động đó IN HOA và TO, trên cùng một dòng, không xuống
   dòng."

   ★ NẠP SAU CÙNG (sau cả <style> riêng của từng trang) để thắng mọi lớp cũ.
     dg.css (khối 13/08) đang CỐ Ý tắt in hoa + thu nhỏ chữ ở .tc-o / .tc-doi;
     lớp này đè lại theo yêu cầu mới. Muốn quay về bản cũ: gỡ <link pro.css>
     và <script pro.js> trong trace/layout.blade.php là xong, không sửa gì khác.

   ★ Một dòng thật sự: CSS ép nowrap; pro.js đo bề ngang và TỰ CO cỡ chữ cho
     vừa khung — câu dài trên màn hẹp sẽ nhỏ lại chứ không bao giờ gãy dòng.

   ★ Người bật "giảm chuyển động" trong hệ điều hành: tắt hết hiệu ứng (cuối tệp).
   ═══════════════════════════════════════════════════════════════════════════ */

:root{
  --pro-vang:#D4A83E;
  --pro-vang-sang:#F1D98A;
  --pro-rung:#123B2A;
  --pro-em:cubic-bezier(.22,.61,.36,1);
}

/* ───────────────────────── 1. ẢNH CHUYỂN ĐỘNG ─────────────────────────────
   Ken Burns: lia + phóng rất chậm, đảo chiều liên tục — cảm giác thước phim
   chứ không phải ảnh đứng. Chỉ dùng transform (GPU), không làm giật trang.
   Mặc định TẠM DỪNG; pro.js thêm .pro-chay khi khối lọt vào màn hình. */
@keyframes pro-kb-a{
  0%  {transform:scale(1.04) translate3d(0,0,0)}
  100%{transform:scale(1.16) translate3d(-2.2%,-1.4%,0)}
}
@keyframes pro-kb-b{
  0%  {transform:scale(1.14) translate3d(1.8%,1%,0)}
  100%{transform:scale(1.03) translate3d(-1.2%,-.6%,0)}
}
/* Ảnh thẻ (sản phẩm, tin, farm): nhịp "thở" nhẹ hơn để không cắt mất chữ trên poster */
@keyframes pro-tho{
  0%  {transform:scale(1)}
  100%{transform:scale(1.07)}
}

/* Hero trang chủ (ảnh hoặc video) */
html body .tc-video .hero-anh,
html body .tc-video video{
  animation:pro-kb-a 24s ease-in-out infinite alternate;
  transform-origin:60% 40%;
  will-change:transform;
}
/* Ảnh bìa trang chi tiết farm */
html body .fhero .bg img{
  animation:pro-kb-b 26s ease-in-out infinite alternate;
  transform-origin:50% 60%;
}
/* Hai ô lối tắt (Tổ ong có mã QR · Trải nghiệm tại Farm) */
html body .tc-o .hinh{
  animation:pro-kb-a 18s ease-in-out infinite alternate;
  transition:filter .6s var(--pro-em);
}
html body .tc-loi-tat .tc-o:nth-child(2) .hinh{animation-name:pro-kb-b; animation-duration:21s}

/* Hai banner (Chuyển giao kỹ thuật · Hợp tác Franchise): ảnh nằm trên CHÍNH thẻ <a>
   nên dựng lớp ::before kế thừa ảnh đó rồi cho lớp này chuyển động. Lớp phủ .phu
   đứng sau trong DOM nên tự nằm trên — chữ vẫn đọc được như cũ. */
html body .tc-doi > a{isolation:isolate}
html body .tc-doi > a::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:inherit; background-size:cover; background-position:center;
  animation:pro-kb-b 20s ease-in-out infinite alternate;
  transition:filter .6s var(--pro-em);
}
html body .tc-doi > a:nth-child(2)::before{animation-name:pro-kb-a; animation-duration:23s}
html body .tc-doi .phu{z-index:1}

/* ── NỀN VIDEO (banner Chuyển giao / Franchise trang chủ, đầu trang /franchise) ──
   Video tự nó đã chuyển động → tắt lớp Ken Burns ::before ở banner có video.
   Ảnh nền của <a> (khung poster) vẫn nằm dưới cùng: video chưa chạy thì thấy nó. */
html body .co-video{position:relative; overflow:hidden; isolation:isolate}
html body .co-video > video.nen-dong{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center; z-index:0;
  pointer-events:none; background:transparent;
}
html body .tc-doi > a.co-video{background-size:cover; background-position:center}
html body .tc-doi > a.co-video::before{display:none}
/* Video đã tối sẵn bên trái → lớp phủ cũ (đậm 93%) làm banner tối thui. Nhẹ lại. */
html body .tc-doi > a.co-video .phu{
  background:linear-gradient(90deg, rgba(10,36,25,.62) 0%, rgba(10,36,25,.38) 45%, rgba(10,36,25,0) 80%);
}
/* Đầu trang /franchise: video đã có hoạ tiết lục giác + chỉ vàng đáy → bỏ bản vẽ
   CSS trùng (sang.css ::after hoạ tiết, ::before chỉ vàng) cho khỏi chồng hai lớp. */
html body .fr-hero.co-video{background:#0E2F21; animation:none}
html body .fr-hero.co-video::after{display:none}
html body .fr-hero.co-video::before{display:none}
html body .fr-hero.co-video > :not(video){position:relative; z-index:2}
html body .fr-hero.co-video{padding-top:4.2rem; padding-bottom:4.4rem}
html body .fr-hero.co-video p{color:rgba(255,255,255,.92); text-shadow:0 1px 10px rgba(0,0,0,.45)}

/* Thẻ farm trên trang chủ, ô giá trị cốt lõi (trang giới thiệu) */
html body .tc-farms .fanh img,
html body .pcell > img{
  animation:pro-kb-a 16s ease-in-out infinite alternate;
}
html body .tc-farms .fthe:nth-child(even) .fanh img{animation-name:pro-kb-b; animation-duration:19s}

/* Mọi ảnh cover còn lại trong trang — pro.js tự gắn .pro-anh (sản phẩm, tin, farm…) */
html body img.pro-anh{
  animation:pro-tho 9s ease-in-out infinite alternate;
  transform-origin:center;
}

/* Tạm dừng khi khối nằm ngoài màn hình (pro.js bật/tắt .pro-chay) */
html body .pro-dong{animation-play-state:paused}
html body .pro-dong.pro-chay{animation-play-state:running}
html body .tc-doi > a.pro-dong::before{animation-play-state:paused}
html body .tc-doi > a.pro-dong.pro-chay::before{animation-play-state:running}

/* ─────────────────── 2. ÁNH VÀNG QUÉT QUA KHI RÊ CHUỘT ───────────────────
   ★ CHỈ trên máy có chuột (@media hover:hover). Điện thoại không có "rê": chạm
   vào thẻ thì :hover DÍNH LẠI sau khi nhấc tay — thẻ cứ nổi lên, lệch hẳn so với
   thẻ bên cạnh. Phần lớn khách xem bằng điện thoại nên phải chặn ở đây. */
@media (hover:hover) and (pointer:fine){
html body .tc-o:hover .hinh{filter:brightness(1.08) saturate(1.08)}
html body .tc-doi > a:hover::before,
html body .tc-doi > a:hover > video{filter:brightness(1.1) saturate(1.1)}
html body .tc-o::after,
html body .tc-doi > a::after,
html body .tc-farms .fthe::after{
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:45%; z-index:3;
  pointer-events:none;
  background:linear-gradient(105deg, transparent 0%, rgba(241,217,138,.0) 20%,
    rgba(241,217,138,.32) 50%, rgba(241,217,138,0) 80%, transparent 100%);
  transform:skewX(-18deg);
  transition:left 1s var(--pro-em);
}
html body .tc-o:hover::after,
html body .tc-doi > a:hover::after,
html body .tc-farms .fthe:hover::after{left:125%}

/* Viền vàng mảnh hiện dần khi rê — nét "sang" của khung ảnh */
html body .tc-o,
html body .tc-doi > a,
html body .tc-farms .fthe{
  box-shadow:0 0 0 1px rgba(212,168,62,0), 0 10px 30px rgba(9,29,20,.16);
  transition:box-shadow .5s var(--pro-em), transform .5s var(--pro-em);
}
html body .tc-o:hover,
html body .tc-doi > a:hover,
html body .tc-farms .fthe:hover{
  box-shadow:0 0 0 1px rgba(212,168,62,.75), 0 18px 44px rgba(9,29,20,.3);
  transform:translateY(-3px);
}
} /* hết @media hover */

/* Điện thoại: chạm vào thì lún nhẹ — phản hồi tức thì thay cho hiệu ứng rê chuột */
@media (hover:none){
  html body .tc-o:active,
  html body .tc-doi > a:active,
  html body .tc-farms .fthe:active{transform:scale(.985); transition:transform .12s ease}
}

/* ── Đầu trang CHUYỂN GIAO KỸ THUẬT (/dich-vu) — nền video ──
   Chữ căn giữa đè lên giữa video → lớp phủ đều + quầng tối giữa khung.
   Tiêu đề NHỎ HƠN các trang khác ~1/3 (yêu cầu 19/11: "cho chữ bé lại tí"). */
html body .sv-hero.co-video{background:#0E2F21; animation:none; padding-top:4rem; padding-bottom:4.2rem}
html body .sv-hero.co-video::after{
  content:""; display:block; position:absolute; inset:0; z-index:1; opacity:1; animation:none; pointer-events:none;
  background:
    radial-gradient(ellipse 60% 75% at 50% 50%, rgba(8,28,19,.55), rgba(8,28,19,.18) 70%, transparent),
    linear-gradient(180deg, rgba(10,36,25,.35), rgba(10,36,25,.5));
}
html body .sv-hero.co-video::before{z-index:3}
html body .sv-hero.co-video > :not(video){position:relative; z-index:2}
html body .sv-hero.co-video .kicker{color:#E8CD75; text-shadow:0 1px 8px rgba(0,0,0,.5)}
html body .sv-hero.co-video h1.pro-1dong{
  font-size:clamp(22px,2.7vw,38px) !important; letter-spacing:.06em !important; /* thang 19/11: chữ trên video tối đa 38 */
}
html body .sv-hero.co-video p{color:rgba(255,255,255,.9); text-shadow:0 1px 10px rgba(0,0,0,.5); max-width:60ch}
html body .sv-hero .cg-hero-nut{display:flex; flex-wrap:wrap; gap:.7rem; justify-content:center; margin-top:1.5rem}
html body .sv-hero .cg-hero-nut a{border-radius:999px; text-transform:uppercase; letter-spacing:.1em; font-size:13px; font-weight:800; text-decoration:none}
html body .sv-hero .cg-hero-nut a.ghost{background:rgba(9,29,20,.35); color:#fff !important; border:1.5px solid rgba(232,205,117,.85)}
@media (hover:hover){
  html body .sv-hero .cg-hero-nut a.ghost:hover{background:#E8CD75; color:#123B2A !important; border-color:#E8CD75}
}
@media (max-width:640px){
  html body .sv-hero.co-video{padding-top:3rem; padding-bottom:3.2rem}
  html body .sv-hero.co-video p{font-size:.95rem}
}

/* ── Đầu trang SẢN PHẨM (/san-pham) — nền video mật nhỏ giọt ──
   Video có hoạ tiết lục giác + đốm vàng → tắt hoạ tiết vẽ bằng CSS (::after).
   Video KHÔNG có chỉ vàng đáy → giữ ::before (chỉ vàng của sang.css). */
html body .shop-hero.co-video{background:#0E2F21}
html body .shop-hero.co-video::before{z-index:3}
/* Lớp phủ PHỦ KÍN cả khối (dùng lại ::after — hoạ tiết lục giác CSS không cần
   nữa vì video có sẵn). Bản đầu đặt lớp phủ trên .inner → thành một dải chữ
   nhật lộ mép trên/dưới. Đậm bên trái cho chữ, nhả dần sang phải khoe dòng mật. */
html body .shop-hero.co-video::after{
  content:""; display:block; position:absolute; inset:0; z-index:1;
  opacity:1; animation:none; pointer-events:none; background-image:none;
  background:linear-gradient(90deg, rgba(10,36,25,.62) 0%, rgba(10,36,25,.38) 45%, rgba(10,36,25,.06) 75%, rgba(10,36,25,0) 100%);
}
/* ★ KHOÁ BỀ RỘNG CỘT. Lưới mặc định cho cột tự NỞ theo nội dung không ngắt
   được (tiêu đề nowrap) → cột trái phình ra ép 3 ô số còn 1, điện thoại tràn
   ngang; pro.js đo khung thì lúc nào cũng thấy "vừa" nên không co chữ.
   minmax(0,…) + min-width:0 buộc cột giữ đúng tỉ lệ, chữ phải co theo cột. */
html body .shop-hero.co-video .inner{grid-template-columns:minmax(0,1fr)}
html body .shop-hero.co-video .inner > *{min-width:0}
@media (min-width:860px){
  html body .shop-hero.co-video .inner{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
}
html body .shop-hero.co-video .kicker{color:#E8CD75; text-shadow:0 1px 8px rgba(0,0,0,.5)}
html body .shop-hero.co-video p.lead{color:rgba(255,255,255,.92); text-shadow:0 1px 10px rgba(0,0,0,.5)}
html body .shop-hero.co-video h1.pro-1dong{
  font-size:clamp(20px,2.7vw,38px) !important; color:#fff;
  text-shadow:0 2px 16px rgba(0,0,0,.45);
}
html body .shop-hero.co-video h1 em{color:#E8CD75; font-style:normal}
html body .shop-hero.co-video h1.pro-1dong::after{
  content:""; display:block; height:2px; width:0; margin:.35em 0 0;
  background:linear-gradient(90deg,var(--pro-vang),var(--pro-vang-sang) 60%,transparent);
  transition:width 1.3s var(--pro-em) .35s;
}
html body .shop-hero.co-video h1.pro-1dong.pro-hien::after{width:min(220px,40%)}

/* Nút phụ: viền vàng trong suốt, cùng dáng nút chính — hết cảnh nút xám gạch chân */
html body .shop-hero .ctas a.ghost{
  background:rgba(9,29,20,.35); color:#fff !important; text-decoration:none;
  border:1.5px solid rgba(232,205,117,.85); backdrop-filter:blur(6px);
  border-radius:999px; text-transform:uppercase; letter-spacing:.1em;
  font-size:13px; font-weight:800;
  transition:background .25s ease, color .25s ease, border-color .25s ease;
}
html body .shop-hero .ctas a.btn.gold{
  border-radius:999px; text-transform:uppercase; letter-spacing:.1em; font-size:13px; font-weight:800;
}
@media (hover:hover){
  html body .shop-hero .ctas a.ghost:hover{background:#E8CD75; color:#123B2A !important; border-color:#E8CD75}
}

/* Ba ô số liệu: kính tối mờ, viền vàng mảnh, số vàng sáng — nổi trên video */
html body .shop-hero.co-video .hero-stats .st{
  background:rgba(9,29,20,.5); backdrop-filter:blur(10px) saturate(1.2);
  border:1px solid rgba(212,168,62,.45); border-radius:6px;
  box-shadow:0 14px 34px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
  padding:1.1rem .6rem;
}
html body .shop-hero.co-video .hero-stats b{
  font-size:clamp(1.5rem,2.4vw,2.1rem); color:#F1D98A;
  text-shadow:0 0 18px rgba(212,168,62,.35);
}
html body .shop-hero.co-video .hero-stats span{color:rgba(255,255,255,.85); font-size:.76rem}

@media (max-width:859px){
  /* Khổ hẹp: một cột căn giữa → chữ đè lên giữa video, phủ đều cả khung */
  html body .shop-hero.co-video::after{
    background:linear-gradient(180deg, rgba(10,36,25,.6), rgba(10,36,25,.72));
  }
  html body .shop-hero.co-video h1.pro-1dong::after{margin-left:auto; margin-right:auto}
  html body .shop-hero .ctas{justify-content:center}
  html body .shop-hero.co-video .hero-stats .st{padding:.85rem .4rem}
}

/* ── Ô "Tổ ong có mã QR" bản VIDEO + MÃ QR QUÉT ĐƯỢC ──
   Video nằm TRONG .hinh nên lớp phủ .hinh::after (đậm bên trái) tự đè lên trên.
   Tắt Ken Burns của .hinh: video đã chuyển động, phóng thêm thì vỡ hình. */
html body .tc-o .hinh.hinh-video{animation:none; background-size:cover; background-position:center}
html body .tc-o .hinh-video > video.nen-dong{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
html body .tc-o .hinh-video::after{z-index:1}
html body .tc-o.tc-o-qr .chu{max-width:calc(100% - 150px) !important}

/* Thẻ mã QR: nền kem, khung góc vàng, tia quét vàng chạy lên xuống, toả sáng nhẹ */
html body .qr-quet{
  position:absolute; z-index:2; right:clamp(14px,3vw,34px); top:50%;
  width:clamp(78px,8.4vw,118px); aspect-ratio:1; transform:translateY(-50%);
  padding:7px; border-radius:6px; background:#F7F0DC;
  box-shadow:0 10px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(212,168,62,.55);
  animation:pro-qr-toa 3.2s ease-in-out infinite;
}
html body .qr-quet img{display:block; width:100%; height:100%}
/* Bốn góc vàng như khung ngắm của máy quét */
html body .qr-quet::before{
  content:""; position:absolute; inset:-7px; pointer-events:none;
  background:
    linear-gradient(var(--pro-vang),var(--pro-vang)) left top/16px 2px,
    linear-gradient(var(--pro-vang),var(--pro-vang)) left top/2px 16px,
    linear-gradient(var(--pro-vang),var(--pro-vang)) right top/16px 2px,
    linear-gradient(var(--pro-vang),var(--pro-vang)) right top/2px 16px,
    linear-gradient(var(--pro-vang),var(--pro-vang)) left bottom/16px 2px,
    linear-gradient(var(--pro-vang),var(--pro-vang)) left bottom/2px 16px,
    linear-gradient(var(--pro-vang),var(--pro-vang)) right bottom/16px 2px,
    linear-gradient(var(--pro-vang),var(--pro-vang)) right bottom/2px 16px;
  background-repeat:no-repeat;
}
html body .qr-quet .tia{
  position:absolute; left:4px; right:4px; top:8%; height:2px; border-radius:2px;
  background:linear-gradient(90deg,transparent,var(--pro-vang-sang),var(--pro-vang),var(--pro-vang-sang),transparent);
  box-shadow:0 0 12px 3px rgba(241,217,138,.75);
  animation:pro-qr-tia 2.6s ease-in-out infinite alternate;
}
@keyframes pro-qr-tia{ from{top:8%} to{top:calc(92% - 2px)} }
@keyframes pro-qr-toa{
  0%,100%{box-shadow:0 10px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(212,168,62,.55), 0 0 0 rgba(241,217,138,0)}
  50%    {box-shadow:0 10px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(212,168,62,.9), 0 0 26px rgba(241,217,138,.45)}
}
@media (max-width:760px){
  html body .qr-quet{width:76px; padding:5px; right:16px}
  html body .tc-o.tc-o-qr .chu{max-width:calc(100% - 100px) !important}
}

/* Ô lối tắt CHƯA có ảnh (đang là dải chuyển màu xanh → kem nhạt): thay bằng
   nền rừng đậm có hoạ tiết lục giác vàng trôi chậm — tới khi Admin tải ảnh lên. */
html body .tc-o .hinh:not([style*="background-image"]){
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpolygon points='28,2 52,16 52,46 28,60 4,46 4,16' fill='none' stroke='%23D4A83E' stroke-opacity='.22' stroke-width='1.4'/%3E%3C/svg%3E") 0 0/56px 64px,
    radial-gradient(ellipse 60% 90% at 85% 10%, rgba(212,168,62,.35), transparent 60%),
    linear-gradient(135deg,#0E2F21 0%,#123B2A 55%,#5E4A22 100%);
  animation:pro-luc-giac 40s linear infinite;
}
@keyframes pro-luc-giac{
  from{background-position:0 0, 0 0, 0 0}
  to  {background-position:56px 128px, 0 0, 0 0}
}

/* ─────────────── 3. KHỐI ĐẦU TRANG CON — NỀN CHUYỂN ĐỘNG ───────────────
   Các trang con dùng dải xanh rừng có hoạ tiết tổ ong (sang.css). Cho hoạ tiết
   trôi chậm + một quầng sáng vàng lướt ngang — hết cảm giác "tấm nền phẳng". */
html body :is(.pg-hero,.sv-hero,.fr-hero,.cr-hero,.ab-hero,.od-hero,.sr-hero,.lookup-hero)::after{
  animation:pro-luc-giac-1 50s linear infinite;
  opacity:.09;
}
@keyframes pro-luc-giac-1{ from{background-position:0 0} to{background-position:112px 128px} }
html body :is(.pg-hero,.sv-hero,.fr-hero,.cr-hero,.ab-hero,.od-hero,.sr-hero){
  background-size:100% 100%, 220% 220%;
  animation:pro-anh-sang 16s ease-in-out infinite alternate;
}
@keyframes pro-anh-sang{
  0%  {background-position:0 0, 0% 30%}
  100%{background-position:0 0, 100% 70%}
}

/* ──────────── 4. TIÊU ĐỀ TRÊN ẢNH: IN HOA · TO · MỘT DÒNG ────────────
   Cỡ chữ dưới đây là cỡ TỐI ĐA; pro.js tự co xuống nếu câu dài hơn khung. */
html body .pro-1dong{
  white-space:nowrap !important;
  text-wrap:nowrap !important;
  text-transform:uppercase !important;
  max-width:none !important;
  line-height:1.12 !important;
  font-weight:800 !important;
  letter-spacing:.045em !important;
  overflow:visible;
}
/* <br> cũ trong tiêu đề (nếu còn sót) không được bẻ dòng */
html body .pro-1dong br{display:none}
/* 19/11: tiêu đề quá dài so với màn hình (điện thoại) — thay vì co còn 15px, pro.js
   giữ sàn 20px (H1) / 17px (H2) và cho xuống HAI DÒNG CÂN NHAU, không rơi chữ lẻ */
html body .pro-1dong.pro-2dong{white-space:normal !important; text-wrap:balance !important; line-height:1.22 !important}

/* Hero trang chủ */
html body .tc-hero-chu .tieu.pro-1dong{
  font-size:clamp(24px,2.7vw,38px) !important; letter-spacing:.035em !important;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.65), 0 0 46px rgba(0,0,0,.55), 0 0 90px rgba(0,0,0,.45);
}
/* Hai ô lối tắt */
html body .tc-o b.pro-1dong{
  font-size:clamp(16px,1.6vw,23px) !important;
  color:#fff;
  text-shadow:0 2px 14px rgba(6,22,15,.6);
}
html body .tc-o .chu{max-width:92%}
/* Hai banner */
html body .tc-doi b.pro-1dong{
  font-size:clamp(18px,1.9vw,27px) !important;
  color:#fff;
  text-shadow:0 2px 14px rgba(6,22,15,.55);
}
/* Thẻ farm trang chủ */
html body .tc-farms .fnoi b.pro-1dong{
  font-size:15px !important;
  letter-spacing:.05em !important;
  display:block;
}
/* Ô giá trị cốt lõi có ảnh */
html body .pcell .in b.pro-1dong{font-size:17px !important; display:block}
/* Ảnh bìa farm chi tiết */
html body .fhero h1.pro-1dong{font-size:clamp(22px,2.1vw,30px) !important; color:#fff}
/* Khối đầu các trang con */
html body :is(.pg-hero,.sv-hero,.fr-hero,.cr-hero,.ab-hero,.od-hero,.lookup-hero,.mb-hero,.xk-hero) h1.pro-1dong{
  font-size:clamp(22px,2.1vw,30px) !important; /* thang 19/11: H1 trang tối đa 30 */
  color:#fff;
  text-shadow:0 2px 22px rgba(0,0,0,.3);
}

/* Khoảng thở hai bên cho tiêu đề một dòng: không có thì câu dài chạy sát mép
   màn hình (đo ở /franchise khổ 1440: chữ cách mép chỉ 40px, nhìn chật). */
html body .tc-hero-chu,
html body :is(.pg-hero,.sv-hero,.fr-hero,.cr-hero,.ab-hero,.od-hero,.lookup-hero,.mb-hero,.xk-hero){
  padding-left:max(1rem, 6vw) !important;
  padding-right:max(1rem, 6vw) !important;
}

/* Gạch vàng mảnh dưới tiêu đề lớn — kéo dài ra khi khối hiện lên */
html body .tc-hero-chu .tieu.pro-1dong::after,
html body :is(.pg-hero,.sv-hero,.fr-hero,.cr-hero,.ab-hero,.od-hero,.lookup-hero,.mb-hero,.xk-hero) h1.pro-1dong::after,
html body .fhero h1.pro-1dong::after{
  content:""; display:block; height:2px; width:0; margin:.32em auto 0;
  background:linear-gradient(90deg,transparent,var(--pro-vang) 20%,var(--pro-vang-sang) 50%,var(--pro-vang) 80%,transparent);
  transition:width 1.3s var(--pro-em) .35s;
}
html body .fhero h1.pro-1dong::after{margin-left:0}
html body .pro-1dong.pro-hien::after{width:min(220px,40%)}

/* Chữ hiện ra: mờ → rõ, giãn chữ → khít (chạy một lần khi lọt vào màn hình) */
@keyframes pro-chu-vao{
  0%  {opacity:0; letter-spacing:.22em; filter:blur(6px)}
  100%{opacity:1; letter-spacing:.045em; filter:blur(0)}
}
/* ★ fill-mode BACKWARDS chứ không phải both: hết hiệu ứng là chữ về trạng thái
   GỐC (rõ nét). Trình duyệt nào không chạy hiệu ứng (tab nền, máy yếu, trình
   duyệt chụp ảnh) thì chữ vẫn hiện — không bao giờ kẹt ở trạng thái mờ. */
html body .pro-1dong.pro-cho{opacity:0}
html body .pro-1dong.pro-hien{animation:pro-chu-vao 1.1s var(--pro-em) backwards}

/* Dòng phụ hero trang chủ — tinh hơn một chút */
html body .tc-hero-chu .nhan-tren{letter-spacing:.28em}
html body .tc-hero-chu .nut .chinh{
  background:linear-gradient(135deg,#E8CD75,#D4A83E 55%,#B8892A);
  box-shadow:0 8px 24px rgba(212,168,62,.35);
}
html body .tc-hero-chu .nut .chinh:hover{background:linear-gradient(135deg,#F4DE97,#E2B850)}

/* ───────────────── 5. ĐIỆN THOẠI — PHẦN LỚN KHÁCH XEM Ở ĐÂY ─────────────────
   Khung hẹp cắt mất hai mép video/ảnh, chữ đè lên phần SÁNG của hình → phủ
   đậm hơn máy tính. Đổ bóng nhẹ cho thẻ (máy tính có bóng qua khối hover). */
@media (max-width:760px){
  html body .tc-o,
  html body .tc-doi > a,
  html body .tc-farms .fthe{box-shadow:0 8px 22px rgba(9,29,20,.18)}

  /* Banner Chuyển giao / Franchise: thấp gọn, chữ sát lề, phủ đủ đọc */
  html body .tc-doi > a{min-height:190px; padding:1.4rem 1.25rem}
  html body .tc-doi > a.co-video .phu{
    background:linear-gradient(90deg, rgba(10,36,25,.78) 0%, rgba(10,36,25,.5) 60%, rgba(10,36,25,.22) 100%);
  }
  html body .tc-doi .nut{padding:.65rem 1.2rem}

  /* Đầu trang /franchise: khung dọc chỉ lấy dải giữa của video 4:1 */
  html body .fr-hero.co-video{padding:3rem 1.1rem 3.2rem}
  html body .fr-hero.co-video::after{
    display:block; content:""; position:absolute; inset:0; z-index:1; opacity:1;
    background:linear-gradient(180deg, rgba(10,36,25,.35), rgba(10,36,25,.62));
    animation:none;
  }
  html body .fr-hero.co-video p{font-size:.95rem}

  /* Ô lối tắt: thấp lại cho đỡ chiếm màn */
  html body .tc-loi-tat .tc-o{min-height:120px}
  html body .tc-o .chu{max-width:100%; padding:1rem 1.15rem}

  /* Ảnh thẻ trên điện thoại thở chậm hơn — đỡ tốn pin, mắt đỡ rối khi lướt */
  html body img.pro-anh{animation-duration:12s}
}

/* ───────────────── LOGO THEO BỘ NHẬN DIỆN (19/11/2026) ─────────────────
   Đầu trang: biểu tượng rồng VECTOR nền trong suốt (thay ảnh JPG có nền cũ).
   Chữ "ONG DÚ ĐẤT RỒNG" cạnh logo dùng CÙNG KIỂU CHỮ KHẮC với bản logo ngang
   (Palatino — có sẵn trên Windows, macOS, iPhone; Android rơi về Noto Serif),
   vàng kim, giãn chữ — vẫn là CHỮ THẬT (tốt cho SEO, đọc màn hình), không là ảnh. */
html body .site-header .logo-vector{object-fit:contain; border-radius:0; box-shadow:none;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.35))}
html body .site-header .brand,
html body .ft .ft-logo span{
  font-family:"Palatino Linotype","Book Antiqua",Palatino,"Noto Serif",Georgia,serif;
  font-weight:bold; letter-spacing:.08em; text-transform:uppercase;
  background:linear-gradient(180deg,#F8E7AB 0%,#E4BC5C 55%,#C99B3B 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.35));
}
/* 19/11 (Chị: "đổi thành màu TRẮNG và cho ĐẬM chữ lên"): bỏ vàng ánh kim → trắng.
   Palatino đã ở nét Bold tối đa, nên làm đậm thêm bằng viền chữ cùng màu
   (text-stroke 0.5px) — dày nét mà không đổi kiểu chữ nhận diện. Muốn quay lại
   chữ vàng: xoá đúng khối này. */
html body .site-header .brand,
html body .ft .ft-logo span{
  background:none; color:#fff; -webkit-text-fill-color:#fff;
  -webkit-text-stroke:.5px #fff; paint-order:stroke fill;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.45));
}
/* ★ KHÔNG BAO GIỜ RỚT DÒNG (Chị 19/11: "đừng để chữ Rồng bị rơi xuống").
   Đo thật: chân trang rớt "RỒNG" ở mọi khổ ≥1078px (cột hẹp, Palatino giãn
   chữ rộng hơn phông cũ); đầu trang rớt quanh 980px (thanh tìm kiếm chiếm chỗ). */
html body .site-header .brand,
html body .ft .ft-logo span{white-space:nowrap; flex:none}
/* Palatino nét thanh hơn phông cũ → cỡ lớn hơn một chút cho cân với logo */
html body .site-header .brand{font-size:19.5px}
/* Khổ có thanh tìm kiếm nhưng còn hẹp: chữ gọn lại để ô tìm kiếm không bị ép */
@media (min-width:861px) and (max-width:1120px){
  html body .site-header .brand{font-size:16px; letter-spacing:.05em}
}
html body .site-header.scrolled .brand{font-size:17px}
@media (max-width:640px){
  html body .site-header .brand{font-size:17px; letter-spacing:.06em}
}
@media (max-width:400px){
  html body .site-header .brand{font-size:15.5px; letter-spacing:.04em}
}

/* ───────────────── NÚT LIÊN HỆ NỔI `.lh-noi` (19/11/2026) ─────────────────
   Gọi (xanh rừng) · Zalo (xanh Zalo) · Messenger (chuyển màu) — xếp dọc góc phải
   như ảnh mẫu Chị gửi. Markup: trace/layout.blade.php. Thẻ vẫn mang `chat-float`
   để các luật cũ (ẩn khi menu điện thoại mở, nâng lên trên thanh đáy) còn chạy. */
html body .lh-noi{position:fixed; right:16px; bottom:20px; z-index:80;
  display:flex; flex-direction:column; align-items:flex-end; gap:12px}
html body .lh-noi a{position:relative; width:54px; height:54px; border-radius:50%;
  display:grid; place-items:center; color:#fff; text-decoration:none;
  box-shadow:0 8px 22px rgba(0,0,0,.28); transition:transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s}
html body .lh-noi a svg{display:block}
html body .lh-noi .lh-goi{background:linear-gradient(145deg,#1E5C40,#0F3324); border:1.5px solid rgba(232,205,117,.55)}
html body .lh-noi .lh-zalo{background:#0068FF}
html body .lh-noi .lh-mess{background:linear-gradient(45deg,#FF5E88 0%,#A334FA 50%,#0695FF 100%)}
/* Sóng nhịp quanh nút Gọi — hút mắt nhưng nhẹ nhàng (tắt khi máy xin giảm chuyển động) */
html body .lh-noi .lh-goi::before{content:""; position:absolute; inset:-1.5px; border-radius:50%;
  border:2px solid rgba(232,205,117,.7); animation:lh-song 2.2s ease-out infinite; pointer-events:none}
@keyframes lh-song{0%{transform:scale(1); opacity:.9} 100%{transform:scale(1.6); opacity:0}}
/* Nhãn trượt ra bên trái khi rê chuột (chỉ máy tính) */
html body .lh-noi .nhan{position:absolute; right:calc(100% + 10px); top:50%; transform:translate(8px,-50%);
  white-space:nowrap; padding:.4rem .8rem; border-radius:999px; background:#fff; color:#123B2A;
  font-size:13px; font-weight:800; letter-spacing:.02em; box-shadow:0 6px 18px rgba(0,0,0,.18);
  opacity:0; pointer-events:none; transition:opacity .2s, transform .2s}
@media (hover:hover) and (pointer:fine){
  html body .lh-noi a:hover{transform:translateY(-2px) scale(1.06); box-shadow:0 12px 28px rgba(0,0,0,.34)}
  html body .lh-noi a:hover .nhan{opacity:1; transform:translate(0,-50%)}
}
@media (hover:none){ html body .lh-noi .nhan{display:none} }
/* Nút lên đầu trang nằm TRÊN cụm: 54px/nút + khe 12px (đè luật cũ đếm 52px) */
html body:has(.lh-noi a) #backtop{bottom:calc(20px + 66px + 4px)}
html body:has(.lh-noi a + a) #backtop{bottom:calc(20px + 132px + 4px)}
html body:has(.lh-noi a + a + a) #backtop{bottom:calc(20px + 198px + 4px)}
@media (max-width:760px){
  /* Điện thoại: nhỏ hơn chút, đứng trên thanh "Gọi ngay / Mua hàng" (site.css đặt bottom 4.6rem) */
  html body .lh-noi{right:12px; gap:10px}
  html body .lh-noi a{width:50px; height:50px}
  html body:has(.lh-noi a) #backtop{bottom:calc(4.6rem + 60px + 4px + env(safe-area-inset-bottom))}
  html body:has(.lh-noi a + a) #backtop{bottom:calc(4.6rem + 120px + 4px + env(safe-area-inset-bottom))}
  html body:has(.lh-noi a + a + a) #backtop{bottom:calc(4.6rem + 180px + 4px + env(safe-area-inset-bottom))}
}

/* ───────────────── CHÂN TRANG `.ft` (dựng lại 19/11/2026) ─────────────────
   Markup: trace/layout.blade.php. Thẻ footer vẫn mang `site-footer` (bài kiểm
   dò chuỗi đó) nên mọi luật cũ của .site-footer trong site/sang/dg.css phải bị
   đè: viết `html body .ft …` (độ ưu tiên cao hơn `body .site-footer …`). */
html body .ft{
  position:relative; margin:0; padding:0; border:0; color:rgba(255,255,255,.74);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(212,168,62,.10), transparent 60%),
    linear-gradient(180deg,#123B2A 0%,#0D2E20 100%);
  font-size:14px; line-height:1.6;
}
html body .ft::before{content:""; position:absolute; left:0; right:0; top:0; height:2px;
  background:linear-gradient(90deg,transparent,#D4A83E 20%,#F1D98A 50%,#D4A83E 80%,transparent)}
html body .ft .ft-khung{max-width:1180px; margin:0 auto; padding:0 1.25rem}
/* Cột thương hiệu 1.95 phần (trước 1.55) — đủ cho logo + "ONG DÚ ĐẤT RỒNG" một dòng */
html body .ft .ft-luoi{display:grid; grid-template-columns:1.95fr 1fr 1fr 1fr 1.45fr; gap:2.2rem;
  padding:3rem 0 2.4rem}
@media (min-width:1024px) and (max-width:1279px){
  /* Viết đủ `.ft-luoi .ft-logo span` cho mạnh hơn luật cỡ chữ 16px khai báo phía dưới */
  html body .ft .ft-luoi .ft-logo span{font-size:14.5px; letter-spacing:.06em}
}
/* Khoá bề rộng cột: thiếu là nội dung không ngắt (link dài, ô nhập) đẩy lưới
   phình ra — trên điện thoại mất lề phải (đo thật 19/11: lề phải ~6px). */
html body .ft .ft-luoi > *{min-width:0}
html body .ft a{display:inline; padding:0; min-height:0; color:rgba(255,255,255,.8); font-size:14px; text-decoration:none;
  transition:color .2s}
html body .ft p{margin:0; color:inherit; font-size:14px}

/* Thương hiệu */
html body .ft .ft-logo{display:inline-flex; align-items:center; gap:.75rem; margin-bottom:.9rem}
html body .ft .ft-logo img{width:52px; height:52px; flex:none; filter:drop-shadow(0 2px 8px rgba(0,0,0,.35))}
html body .ft .ft-logo span{font-size:16px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#E8CD75; line-height:1.25}
html body .ft .ft-mo{max-width:34ch; color:rgba(255,255,255,.66); font-size:13.5px; line-height:1.65}
html body .ft .ft-nhanh{display:none}

/* Tiêu đề cột — <summary> (ba cột link) và <h4> (Liên hệ) cùng một dáng */
html body .ft summary,
html body .ft .ft-lh h4{
  display:block; list-style:none; margin:0 0 .9rem; padding:0; cursor:default; pointer-events:none;
  font-size:12.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:#E8CD75;
}
html body .ft summary::-webkit-details-marker{display:none}
html body .ft .ft-cot nav{display:flex; flex-direction:column; gap:.45rem}
html body .ft .ft-cot nav a{display:block; width:fit-content}
html body .ft .ft-ngu{margin-top:.35rem; font-weight:700; color:#E8CD75 !important}

/* Liên hệ */
html body .ft .ft-lh ul{list-style:none; margin:0 0 1.1rem; padding:0; display:grid; gap:.55rem}
html body .ft .ft-lh li{display:flex; gap:.6rem; align-items:flex-start; color:rgba(255,255,255,.74); font-size:13.5px; line-height:1.5}
html body .ft .ft-lh li svg{flex:none; margin-top:3px; color:#D4A83E}
html body .ft .ft-lh li b{font-size:15px; color:#fff; letter-spacing:.02em}
html body .ft .ft-an{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
html body .ft .ft-tin{display:flex; max-width:360px; border:1px solid rgba(232,205,117,.45); border-radius:999px; overflow:hidden;
  background:rgba(255,255,255,.06)}
html body .ft .ft-tin input{flex:1; min-width:0; height:44px; padding:0 1rem !important; border:0 !important; border-radius:0;
  background:transparent !important; color:#fff !important; font:inherit; font-size:13.5px; outline:none}
html body .ft .ft-tin input::placeholder{color:rgba(255,255,255,.5)}
html body .ft .ft-tin button{flex:none; height:44px; padding:0 1.15rem; border:0; cursor:pointer; font:inherit;
  font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#123B2A;
  background:linear-gradient(135deg,#E8CD75,#D4A83E)}
html body .ft .ft-ok{color:#E8CD75; font-weight:700}

/* Dải đáy */
html body .ft .ft-day{border-top:1px solid rgba(232,205,117,.16); background:rgba(0,0,0,.14)}
html body .ft .ft-day .ft-khung{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.4rem 1.5rem;
  padding-top:1rem; padding-bottom:1.05rem}
html body .ft .ft-day p{font-size:12.5px; color:rgba(255,255,255,.58)}
html body .ft .ft-day p b{color:rgba(255,255,255,.82); font-weight:700}
html body .ft .ft-day p span::before{content:"·"; margin:0 .55rem; opacity:.5}

@media (hover:hover){
  html body .ft a:hover{color:#F1D98A}
  html body .ft .ft-tin button:hover{background:linear-gradient(135deg,#F4DE97,#E2B850)}
}

/* Máy tính bảng: thương hiệu + liên hệ trải ngang, ba cột link ở giữa */
@media (max-width:1023px) and (min-width:761px){
  /* Hàng trên: thương hiệu (2 phần) + Liên hệ (1 phần); hàng dưới: 3 cột link */
  html body .ft .ft-luoi{grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem 2rem; padding:2.6rem 0 2rem}
  html body .ft .ft-th{grid-column:1 / span 2; grid-row:1}
  html body .ft .ft-th .ft-mo{max-width:46ch}
  html body .ft .ft-lh{grid-column:3; grid-row:1}
}

/* ĐIỆN THOẠI — gọn: thương hiệu → Gọi/Email → bản tin → 3 mục gập → bản quyền */
@media (max-width:760px){
  html body .ft .ft-khung{padding:0 1.1rem}
  html body .ft .ft-luoi{grid-template-columns:minmax(0,1fr); gap:0; padding:2rem 0 .6rem}
  html body .ft .ft-th{padding-bottom:1.2rem}
  html body .ft .ft-logo{margin-bottom:.6rem}
  html body .ft .ft-logo img{width:46px; height:46px}
  html body .ft .ft-mo{max-width:none; font-size:13.5px}
  /* Hai nút bấm to: gọi + email */
  html body .ft .ft-nhanh{display:grid; grid-template-columns:1.4fr 1fr; gap:.6rem; margin-top:1rem}
  html body .ft .ft-nhanh a{display:flex; align-items:center; justify-content:center; gap:.5rem; min-height:46px; border-radius:999px;
    font-size:14px; font-weight:800; letter-spacing:.03em}
  html body .ft .ft-nhanh a:first-child{background:linear-gradient(135deg,#E8CD75,#D4A83E); color:#123B2A}
  html body .ft .ft-nhanh a + a{border:1.5px solid rgba(232,205,117,.6); color:#fff}
  /* Bản tin lên trước các mục gập */
  html body .ft .ft-lh{order:-1; grid-row:2; padding-bottom:1.2rem}
  html body .ft .ft-lh h4, html body .ft .ft-lh .ft-pc{display:none}
  html body .ft .ft-lh ul{margin-bottom:.9rem}
  html body .ft .ft-tin{max-width:none}
  /* Mục gập */
  html body .ft .ft-cot{border-top:1px solid rgba(255,255,255,.1)}
  html body .ft .ft-cot:last-of-type{border-bottom:1px solid rgba(255,255,255,.1)}
  html body .ft summary{pointer-events:auto; cursor:pointer; margin:0; display:flex; align-items:center; justify-content:space-between;
    min-height:50px; font-size:12.5px}
  html body .ft summary::after{content:""; width:8px; height:8px; margin-right:4px; border-right:2px solid #E8CD75; border-bottom:2px solid #E8CD75;
    transform:rotate(45deg) translateY(-3px); transition:transform .25s}
  html body .ft .ft-cot[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
  html body .ft .ft-cot nav{display:grid; grid-template-columns:1fr 1fr; gap:0 1rem; padding:0 0 .8rem}
  html body .ft .ft-cot nav a{display:flex; align-items:center; min-height:40px; width:auto; font-size:14px}
  html body .ft .ft-ngu{grid-column:1 / -1}
  /* Dải đáy: căn giữa, chừa chỗ cho thanh "Gọi ngay / Mua hàng" dính đáy */
  html body .ft .ft-day .ft-khung{flex-direction:column; text-align:center; gap:.3rem; padding-top:1rem; padding-bottom:1rem}
  html body .ft .ft-day p span{display:block}
  html body .ft .ft-day p span::before{content:none}
  html body:has(.mobile-bar) .ft .ft-day{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  html body:has(.mobile-bar){padding-bottom:0}
}

/* ───────────────── NHỊP KHOẢNG CÁCH GIỮA CÁC KHỐI (19/11/2026) ─────────────────
   Chị (ảnh điện thoại, khoanh vùng trống trên "Farm của chúng tôi"): "các phần
   hiển thị vẫn cách hơi xa — làm lại cả PC và mobile". Đo thật: giữa MỌI khối
   trang chủ đúng 77px ở cả hai khổ (.tc-doan đệm 2.4rem trên + 2.4rem dưới).
   Nay: máy tính 48px · điện thoại 36px — vẫn thở, nhưng liền mạch.
   `:not(.tc-video-doan)`: khối video hero cố ý đệm 0, không được đụng. */
html body .tc .tc-doan:not(.tc-video-doan){padding-top:1.5rem; padding-bottom:1.5rem}
html body .tc .tc-dan{margin-bottom:1.6rem}
html body .tc .tc-tieu.giua{margin-bottom:.6rem}
html body .tc .tc-nhan-khoi{margin-bottom:.35rem}
html body .tc .tc-hd-xem{margin-top:1.3rem}
/* Hai ô lối tắt không phải .tc-doan → sau khi hạ đệm, dãy "Tổ ong giống" dính
   sát còn 9px (đo thật). Bù riêng cho đều nhịp với phần còn lại. */
html body .tc .tc-loi-tat{margin-bottom:1.6rem}
@media (max-width:768px){ html body .tc .tc-loi-tat{margin-bottom:1.25rem} }
@media (max-width:768px){
  html body .tc .tc-doan:not(.tc-video-doan){padding-top:1.125rem; padding-bottom:1.125rem}
  html body .tc .tc-dan{margin-bottom:1.2rem; font-size:15px; line-height:1.62}
  html body .tc .tc-tieu.giua{margin-bottom:.5rem; padding-bottom:1rem}
  html body .tc .tc-dau-nhom{margin-bottom:.85rem}
  html body .tc .tc-loi-tat{padding-top:1rem}
}
/* Trang Chuyển giao kỹ thuật (/dich-vu): cùng nhịp */
html body .cg-buoc{padding-top:3.2rem; padding-bottom:3.2rem}
html body .cg-dau{margin-bottom:1.7rem}
html body .cg-moi{padding-top:4rem; padding-bottom:4.2rem}
html body .cg-goi-tieu{margin:2.6rem 0 1.2rem}
@media (max-width:640px){
  html body .cg-buoc{padding-top:2.2rem; padding-bottom:2.2rem}
  html body .cg-dau{margin-bottom:1.2rem}
  html body .cg-moi{padding-top:2.8rem; padding-bottom:3rem}
  html body .cg-goi-tieu{margin:2rem 0 1rem}
}

/* ───────────────── 6. THANG CHỮ TIÊU ĐỀ MỤC (19/11/2026) ─────────────────
   Yêu cầu: "chữ tiêu đề in hoa hơi to — chỉnh cho đẹp, sang, chuẩn SEO".
   In hoa đẹp nhờ GIÃN CHỮ + đậm vừa (800), không nhờ to. Thang chung:
     H1 trang chủ 46 · H1 trang con 34–36 · H2 mục 24 · H2 dãy 20 · thẻ 15–23.
   Chữ HOA chỉ do CSS: mã HTML vẫn viết thường → Google hiển thị đúng chữ
   thường trong kết quả tìm kiếm, không bị "LA HÉT" ở trang kết quả. */
/* `.tc-dau-nhom .tc-tieu` (tên dãy sản phẩm, trang chủ) có luật riêng 25px
   mạnh hơn luật chung → phải gọi đích danh. */
@media (min-width:641px){
  html body .tc-tieu,
  html body .tc-dau-nhom .tc-tieu{font-size:20px; font-weight:800; letter-spacing:.06em}
  html body .tc-tieu.giua{font-size:24px; letter-spacing:.06em}
}
@media (max-width:640px){
  html body .tc-tieu,
  html body .tc-dau-nhom .tc-tieu{font-size:18px; font-weight:800; letter-spacing:.05em}
  html body .tc-tieu.giua{font-size:20px}
}

/* ───────────────── 7. NGƯỜI XIN GIẢM CHUYỂN ĐỘNG ───────────────── */
@media (prefers-reduced-motion: reduce){
  html body *, html body *::before, html body *::after{
    animation:none !important;
    transition:none !important;
  }
  html body .pro-1dong.pro-cho{opacity:1}
  html body .pro-1dong::after{width:min(220px,40%) !important}
}

/* ═════════ KHÔNG RƠI CHỮ (19/11) ═════════
   Tiêu đề xuống dòng thì chia hai dòng CÂN NHAU, không để một chữ lẻ loi ở
   dòng cuối. pro.js (mục 4) dán thêm 2 chữ cuối cho trình duyệt cũ. */
html body :is(h1,h2,h3,.vc-tieu){text-wrap:balance}
html body :is(p,blockquote,li){text-wrap:pretty}

/* ═════════ NHỊP KHOẢNG CÁCH TOÀN SITE — BẢN 2 (19/11) ═════════
   Chị: "khoảng trắng giữa các phần xa nhau quá. Làm lại cho tất cả mọi nơi,
   mọi tab". ĐO THẬT bằng _cong-cu/xem-truoc-chup-anh/do-khoang-toan-site.ps1
   (đáy nội dung khối trước → đỉnh nội dung khối sau):
     Về chúng tôi 103–132px · Chuyển giao kỹ thuật 100–181px · Truy xuất 96px.
   Đích chung: ~56px máy tính · ~40px điện thoại — bằng nhịp trang chủ.
   Mọi khoảng đệm khối của các trang nằm ở ĐÂY, sửa một chỗ là đều cả site. */
html body .vc-doan{padding-top:1.75rem; padding-bottom:1.75rem}
html body .vc-dan{margin-bottom:1.35rem}
html body .vc-tieu{margin-bottom:.7rem}
html body .vc-moi{padding-top:3rem; padding-bottom:3.2rem}
html body .cg-buoc{padding-top:1.9rem; padding-bottom:1.9rem}
html body .cg-dau{margin-bottom:1.3rem}
html body .cg-moi{padding-top:3rem; padding-bottom:3.2rem}
html body .cg-goi-tieu{margin:2rem 0 1rem}
html body .lookup-hero{padding-bottom:2.4rem}
html body .mua-dau{margin-bottom:.6rem}   /* giỏ hàng / thanh toán: dải đầu → nội dung */
@media (max-width:760px){
  html body .vc-doan{padding-top:1.25rem; padding-bottom:1.25rem}
  html body .vc-dan{margin-bottom:1rem}
  html body .vc-moi{padding-top:2.4rem; padding-bottom:2.6rem}
  html body .cg-buoc{padding-top:1.35rem; padding-bottom:1.35rem}
  html body .cg-dau{margin-bottom:1rem}
  html body .cg-moi{padding-top:2.2rem; padding-bottom:2.4rem}
  html body .lookup-hero{padding-bottom:2rem}
}
/* ═════════ THANG CHỮ TOÀN SITE — BẢN 2 (19/11) ═════════
   Chị: "các tiêu đề nên cùng 1 size, đừng chỗ to chỗ nhỏ, đừng to quá so với chữ
   thường… làm lại tất cả trang cho hài hoà, sang, chuẩn SEO".
   ĐO THẬT (_cong-cu/xem-truoc-chup-anh/do-co-chu-toan-site.ps1) trước khi sửa:
   H1 trang 23–48px, H2 mục 12–32px, chữ đoạn văn 13–20px — mỗi trang một kiểu.
   THANG MỚI (máy tính / điện thoại):
     H1 trên ảnh/video lớn ....... 38 / 28   (trang chủ, Về chúng tôi, Dịch vụ, Franchise, Sản phẩm)
     H1 trang ..................... 30 / 24   (tin tức, farm, liên hệ, bài viết, chính sách…)
     H1 tên sản phẩm .............. 26 / 22
     H2 tiêu đề mục ............... 22 / 19
     H3 tiêu đề phụ, tên thẻ ...... 17 / 16
     Tiêu đề nhãn trong thẻ (HOA) . 15 / 14
   Chữ đoạn văn giữ 16–17px → tiêu đề mục chỉ lớn hơn chữ thường ~1,3 lần: rõ thứ
   bậc mà không "la hét". Mỗi trang vẫn đúng MỘT H1 (chuẩn SEO).
   `:not(#_)` nâng độ ưu tiên lên trên luật riêng của từng trang mà KHÔNG dùng
   !important — pro.js (tiêu đề một dòng) vẫn tự thu nhỏ được khi chữ dài. */
html body main h1:not(#_){font-size:30px; line-height:1.2; letter-spacing:.02em}
html body :is(.tc-hero-chu .tieu, .vc-hero h1, .sv-hero h1, .fr-hero h1, .shop-hero h1):not(#_){font-size:38px; line-height:1.15}
html body main h1:has(+ .price):not(#_){font-size:26px; line-height:1.3; letter-spacing:0}
html body main :is(.bv-dau h1, .cs-noi ~ h1, .wrap > h1):not(#_){letter-spacing:-.005em}

html body :is(.tc-tieu, .tc-tieu.giua, .tc-dau-nhom .tc-tieu, .vc-tieu, .vc-moi h2, .cg-dau h2, .cg-goi-tieu, .cg-goi-tieu h2, .cg-moi h2,
  .xk-tieu, .bv-than h2, .bv-tiep h2, .cs-noi h3, .cs-phan > h2, .rel-head h2, .dg-dau h2, .day-dau h2, .pd-doc-dau,
  .tof-dau h3):not(#_){font-size:22px; line-height:1.3}

html body :is(.bv-than h3, .bv-luoi h3, .cg-ss h3, .cg-hc .dau h3, .desc h3, .tc-hd .dan h3, .cg-goi .goi h3):not(#_){font-size:17px; line-height:1.4}

html body :is(.card > h2, .card h2, .mcard h2, .blk > h2, .cg-ck .bang h3, .cg-doc .khoe h3, .cg-doc .lo h3, .cg-nguy h4):not(#_){font-size:15px; line-height:1.35}

@media (max-width:768px){
  html body main h1:not(#_){font-size:24px}
  html body :is(.tc-hero-chu .tieu, .vc-hero h1, .sv-hero h1, .fr-hero h1, .shop-hero h1):not(#_){font-size:28px}
  html body main h1:has(+ .price):not(#_){font-size:22px}
  html body :is(.tc-tieu, .tc-tieu.giua, .tc-dau-nhom .tc-tieu, .vc-tieu, .vc-moi h2, .cg-dau h2, .cg-goi-tieu, .cg-goi-tieu h2, .cg-moi h2,
    .xk-tieu, .bv-than h2, .bv-tiep h2, .cs-noi h3, .cs-phan > h2, .rel-head h2, .dg-dau h2, .day-dau h2, .pd-doc-dau,
    .tof-dau h3):not(#_){font-size:19px}
  html body :is(.bv-than h3, .bv-luoi h3, .cg-ss h3, .cg-hc .dau h3, .desc h3, .tc-hd .dan h3, .cg-goi .goi h3):not(#_){font-size:16px}
  html body :is(.card > h2, .card h2, .mcard h2, .blk > h2, .cg-ck .bang h3, .cg-doc .khoe h3, .cg-doc .lo h3, .cg-nguy h4):not(#_){font-size:14px}
}

/* ═════════ BÀI VIẾT TIN TỨC — GỌN NHỊP (19/11) ═════════
   Chị: "các phần viết trong tin tức khoảng cách xa quá, chỉnh lại toàn bài".
   Thẻ, chia sẻ, đọc tiếp, mời tra mã cách nhau 56–60px; tiêu đề phụ trong bài
   cách đoạn trên 2,4rem. Nay nhịp chung ~1rem giữa đoạn, ~1,5rem trước tiêu đề phụ. */
html body .bv-dau .in{padding-top:28px; padding-bottom:24px}
html body .bv-dat{margin-top:14px; font-size:1.05rem}
html body .bv-meta{margin-top:16px; padding-top:14px}
html body .bv-than{padding-top:26px; font-size:17px; line-height:1.75}
html body .bv-than > p{margin:0 0 1rem}
html body .bv-than > p:first-of-type{font-size:1em}
html body .bv-than h2{margin:1.6rem 0 .6rem}
html body .bv-than h3{margin:1.3rem 0 .5rem}
html body .bv-than ul, html body .bv-than ol{margin:0 0 1rem}
html body .bv-than li{margin-bottom:.35rem}
html body .bv-than img{margin:1rem 0}
html body .bv-than blockquote{margin:1.2rem 0; padding:.6rem 0 .6rem 1.2rem; font-size:1.08rem}
html body .bv-chan{padding-bottom:22px}
html body .bv-the{margin-top:1.3rem; gap:6px}
html body .bv-the a{padding:5px 13px; font-size:.85rem}
html body .bv-chia{margin-top:1.1rem; padding-top:1rem; gap:8px}
html body .bv-chia a, html body .bv-chia button{padding:7px 15px; font-size:.88rem}
html body .bv-tiep{margin-top:28px}
html body .bv-tiep .in{padding-top:32px; padding-bottom:36px}
html body .bv-tiep h2{margin-bottom:16px}
html body .bv-luoi{gap:16px}
html body .bv-luoi a{padding:18px 18px 20px}
html body .bv-moi{margin-top:22px}
html body .bv-moi .hop{padding:24px 28px}
html body .bv-moi b{font-size:20px}
@media (max-width:768px){
  html body .bv-dau .in{padding:22px 18px 20px}
  html body .bv-than{padding:20px 18px 0; font-size:16px}
  html body .bv-chan{padding:0 18px 18px}
  html body .bv-tiep .in{padding:26px 16px 28px}
  html body .bv-moi .hop{padding:20px 18px}
  html body .bv-moi b{font-size:18px}
}
html body .fr-hero h1.pro-1dong{font-size:clamp(22px,2.7vw,38px) !important}  /* Franchise: banner video → bậc 38 như Dịch vụ */

/* Điện thoại: cỡ tối đa riêng cho tiêu đề một dòng (clamp theo vw rơi về sàn 22px — bằng H2) */
@media (max-width:768px){
  html body :is(.tc-hero-chu .tieu, .sv-hero h1, .fr-hero h1, .vc-hero h1, .shop-hero h1).pro-1dong{font-size:26px !important}
  html body :is(.pg-hero,.cr-hero,.ab-hero,.od-hero,.lookup-hero,.mb-hero,.xk-hero,.fhero) h1.pro-1dong{font-size:24px !important}
}/* Dòng nhãn nhỏ trên tiêu đề (CẨM NANG… · ONG DÚ ĐẤT RỒNG) xuống dòng thì chia đều, không để "ĐẤT RỒNG" rơi lẻ */
html body :is(.kicker, .vc-nhan, .tc-nhan-khoi, .cg-nhan, .bv-nhom, .sv-hero .kicker){text-wrap:balance}
/* Trang Điều khoản có 2 tầng (H2 phần lớn → H3 mục đánh số): mục đánh số nhỏ hơn một nấc để rõ thứ bậc */
html body .cs-phan .cs-noi h3:not(#_){font-size:18px}
@media (max-width:768px){ html body .cs-phan .cs-noi h3:not(#_){font-size:17px} }

/* ═════════ CHỮ ĐOẠN VĂN MỘT CỠ — TOÀN SITE (20/11) ═════════
   Chị: "cho size chữ bằng với các chữ còn lại xuyên suốt cả web, đừng chỗ bé chỗ to.
   Tiêu đề bằng nhau, chữ bằng nhau hết cả trang". Đo trang Về chúng tôi: đoạn văn
   14 · 16 · 18 · 20px; lời Tuyên ngôn 18–19,5px. Nay MỌI ĐOẠN VĂN: 16px máy tính,
   15px điện thoại. Chỉ chú thích nhỏ dưới con số (14px) và nhãn chữ HOA giữ cỡ riêng.
   Tiêu đề theo "THANG CHỮ TOÀN SITE — BẢN 2" ở trên. */
html body :is(
  .vc-thu .chu p, .vc-thu .chu p.mo, .vc-hero p.dan, .vc-gioi .chu p, .vc-dan, .vc-tru p, .vc-gt p, .vc-hanh p,
  .vc-triet li > span:last-child, .vc-moi p, .kh-o blockquote,
  .bv-than, .bv-than > p, .bv-than > p:first-of-type, .bv-dat, .cs-noi, .cs-dan,
  .tc .tc-dan, .cg-dau p, .sv-hero p, .fh-phim p, .tc-hero-chu .cau, .cg-trich
):not(#_){font-size:16px; line-height:1.75}
html body :is(.vc-muc p, .vc-lo p):not(#_){font-size:14px; line-height:1.5}
html body :is(.vc-thu .chu p.mo):not(#_){font-weight:500}
@media (max-width:768px){
  html body :is(
    .vc-thu .chu p, .vc-thu .chu p.mo, .vc-hero p.dan, .vc-gioi .chu p, .vc-dan, .vc-tru p, .vc-gt p, .vc-hanh p,
    .vc-triet li > span:last-child, .vc-moi p, .kh-o blockquote,
    .bv-than, .bv-than > p, .bv-than > p:first-of-type, .bv-dat, .cs-noi, .cs-dan,
    .tc .tc-dan, .cg-dau p, .sv-hero p, .fh-phim p, .tc-hero-chu .cau, .cg-trich
  ):not(#_){font-size:15px; line-height:1.7}
  html body :is(.vc-muc p, .vc-lo p):not(#_){font-size:13.5px}
}