/* Tiêu Hạt Daklak BOM - phối màu theo logo: đỏ, xanh navy, chàm, vàng */
:root {
  --bg: #F4F4F7; --surface: #FFFFFF; --fg: #1D1A44; --muted: #5E5D70; --line: #DAD9E4; --pill: #ECECF1;
  --price: #C8261A; --red: #A50F14; --navy: #0F3A74; --indigo: #221C6E; --yellow: #F4BE31; --link: #0F3A74;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #100F26; --surface: #1A1840; --fg: #F0EEFA; --muted: #B2B0CC; --line: #2D2A5E; --pill: #27245A; --price: #FF8B78; --link: #F4BE31; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #100F26; --surface: #1A1840; --fg: #F0EEFA; --muted: #B2B0CC; --line: #2D2A5E; --pill: #27245A; --price: #FF8B78; --link: #F4BE31; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--indigo); padding: 10px 14px; font-weight: 800; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 16px; }

.stripe { height: 9px; background: linear-gradient(#A50F14 0 4px, #0F3A74 4px 7px, #F4BE31 7px); }
header.top { position: sticky; top: 0; z-index: 20; background: var(--indigo); color: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; }
.brand b { font-weight: 800; font-size: 16px; letter-spacing: .02em; color: var(--yellow); text-transform: uppercase; line-height: 1.15; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 4px; border: 2px solid var(--yellow); background: var(--yellow); color: var(--indigo); font: 800 15px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.out { background: transparent; color: var(--yellow); }
.btn.out:hover { background: rgba(244,190,49,.14); }

.hero { background: var(--indigo); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px,5vw,56px); align-items: center; padding-block: clamp(28px,5vw,56px); }
.hero h1 { font-weight: 800; font-size: clamp(28px,4.6vw,50px); color: var(--yellow); letter-spacing: -.01em; }
.hero .slogan { margin-top: 10px; font-weight: 700; font-size: clamp(16px,2.2vw,22px); letter-spacing: .05em; text-transform: uppercase; }
.hero p.lead { margin-top: 14px; max-width: 54ch; opacity: .92; font-size: 17px; }
.hero .cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .logo-big { justify-self: center; width: min(100%,320px); height: auto; aspect-ratio: 1; filter: drop-shadow(0 12px 28px rgba(0,0,0,.4)); }
.hero.small .wrap { display: block; padding-block: clamp(20px,4vw,36px); }
.hero.small .lead, .hero.small .meta { margin-top: 10px; }
.hero.small h1 { margin-top: 4px; }
.crumbs { font-size: 14px; opacity: .9; margin-bottom: 10px; }
.crumbs a { color: #fff; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

.summary { background: var(--surface); border-bottom: 1px solid var(--line); }
.summary p { max-width: 90ch; padding-block: 18px; font-size: 16.5px; }

.block { padding-block: clamp(32px,5vw,60px); }
.block h2, .line h2 { font-weight: 800; font-size: clamp(22px,3.2vw,32px); text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; margin-bottom: 22px; }
.block h2::after, .line h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 3px; background: var(--red); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 18px; }
.card:not(.bcard) .cb h3 { min-height: 2.4em; }
.catcard .d { min-height: 4.5em; }
.sizes { font-size: 13px; color: var(--muted); padding-top: 6px; border-top: 1px dashed var(--line); margin-top: 2px; }
.pill.main { display: flex; justify-content: center; width: 100%; background: var(--indigo); color: #fff; font-weight: 700; margin-top: 8px; }
.pill.main:hover { background: var(--yellow); color: var(--indigo); }
.pic { display: block; }
.card { background: var(--surface); border-radius: 10px; padding: 12px; box-shadow: 0 1px 3px rgba(20,16,70,.1), 0 6px 18px rgba(20,16,70,.06); border: 1.5px solid transparent; display: flex; flex-direction: column; min-width: 0; }
.card:hover { border-color: var(--indigo); }
.pic { position: relative; aspect-ratio: 1/1; border: 3px solid var(--red); border-radius: 3px; overflow: hidden; background: #ddd; }
.pic > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hot { position: absolute; top: 0; right: 0; background: var(--yellow); color: var(--red); font: 800 11.5px var(--font); letter-spacing: .03em; padding: 4px 9px; border-radius: 0 0 0 8px; }
.band { position: absolute; left: 0; right: 0; bottom: 0; height: 21%; background: linear-gradient(180deg,#2B2487,#1A1460); display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.band img { width: 38px; height: 38px; flex: none; align-self: flex-end; margin-bottom: 8px; }
.band b { color: var(--yellow); font: 800 clamp(11px,1.5vw,13.5px) var(--font); text-transform: uppercase; overflow-wrap: anywhere; line-height: 1.2; }
.cb { padding: 12px 2px 2px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cb h3 { font-size: 18px; font-weight: 700; }
.cb h3 a { color: inherit; text-decoration: none; }
.cb h3 a:hover { text-decoration: underline; }
.cb .d { color: var(--muted); font-size: 14.5px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { color: var(--price); font-weight: 800; font-size: 20px; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--pill); color: var(--fg); font: 600 14px var(--font); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.pill:hover { background: var(--indigo); color: #fff; }
.sub { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px dashed var(--line); margin-top: 8px; }
.sub a, .sub button { color: var(--muted); background: none; border: 0; padding: 8px 0; min-height: 36px; font: 600 13.5px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.sub a:hover, .sub button:hover { color: var(--fg); }

.prose { max-width: 78ch; }
.prose p + p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,4vw,48px); }
.two > div { min-width: 0; }
.two h3 { font-size: 20px; margin-bottom: 10px; }
.alt { background: var(--surface); }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--indigo); color: #fff; font-weight: 700; }
tbody th { font-weight: 700; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }

.why { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 20px; }
.why h3 { font-size: 19px; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 15.5px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border-radius: 10px; padding: 18px; border-top: 4px solid var(--navy); box-shadow: 0 1px 3px rgba(20,16,70,.08); }
.steps li::before { content: "Bước " counter(s); font: 800 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--price); }
.steps h3 { font-size: 19px; margin: 4px 0 6px; }
.steps p { color: var(--muted); font-size: 15.5px; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--price); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 16px 16px; color: var(--muted); max-width: 80ch; }

.contact .box { background: var(--indigo); color: #fff; border-radius: 12px; border-bottom: 8px solid var(--yellow); padding: clamp(22px,5vw,44px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.contact h2 { color: var(--yellow); border: 0; padding: 0; margin: 0; text-transform: uppercase; font-size: clamp(24px,3.6vw,34px); font-weight: 800; }
.contact h2::after { display: none; }
.contact p { margin-top: 10px; opacity: .92; max-width: 46ch; }
.phone { font-weight: 800; font-size: clamp(30px,6vw,46px); color: var(--yellow); line-height: 1.1; }
.contact .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.contact address { margin-top: 14px; font-style: normal; font-size: 15px; opacity: .92; }
.contact address a { color: var(--yellow); }

/* ===== Footer 4 cột ===== */
.ft { background: var(--indigo); color: #fff; font-size: 15px; }
.ft a { color: #fff; text-decoration: none; }
.ft a:hover { color: var(--yellow); }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 32px clamp(24px, 4vw, 56px); padding-block: clamp(32px, 5vw, 56px); }
.ft-grid > * { min-width: 0; }
.ft-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ft-logo b { font-size: 19px; font-weight: 800; color: var(--yellow); text-transform: uppercase; line-height: 1.2; }
.ft-brand > p { opacity: .92; max-width: 46ch; }
.ft address { font-style: normal; margin-top: 14px; display: grid; gap: 6px; opacity: .95; }
.ft address strong { color: var(--yellow); font-weight: 700; }
.ft address a { text-decoration: underline; text-underline-offset: 3px; }
.ft-h { font-size: 18px; font-weight: 800; color: var(--yellow); margin: 0 0 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ft nav li a { display: inline-block; padding: 6px 0; opacity: .94; }
.ft-soc { gap: 10px !important; }
.soc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; }
.soc:hover { border-color: var(--yellow); background: rgba(255,255,255,.06); }
.soc .ico { width: 36px; height: 36px; flex: none; color: #fff; }
.soc .ico svg { display: block; width: 100%; height: 100%; }
.soc b { display: block; font-size: 15px; line-height: 1.25; }
.soc small { display: block; font-size: 12.5px; opacity: .8; overflow-wrap: anywhere; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.18); font-size: 13.5px; }
.ft-bottom .wrap { padding-block: 16px; opacity: .85; }
@media (max-width: 1000px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ft-grid { grid-template-columns: 1fr; } }
.callbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); background: var(--indigo); color: #fff; border: 2px solid var(--yellow); padding: 10px 16px; border-radius: 8px; font-size: 14px; z-index: 40; width: max-content; max-width: calc(100% - 32px); user-select: text; }
.toast[hidden] { display: none; }

@media (max-width: 760px) {
  .hero .wrap, .contact .box, .two { grid-template-columns: 1fr; }
  .hero .logo-big { order: -1; width: 120px; justify-self: start; }
  .brand b { font-size: 13.5px; }
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .card { padding: 8px; }
  .cb h3 { font-size: 15.5px; }
  .price { font-size: 16px; }
  .pill { padding: 0 10px; font-size: 13px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--indigo); padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); border-top: 3px solid var(--yellow); }
  .callbar .btn { min-height: 48px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
/* ===== Mục sức khỏe: sơ đồ tròn, logo ở giữa ===== */
.hub { display: grid; grid-template-columns: 1fr minmax(240px, 300px) 1fr; gap: 0 clamp(44px, 6vw, 80px); align-items: center; }
.hub-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hub-col > h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; margin: 0 0 2px 6px; }
.hp { position: relative; padding: 13px 22px; border-radius: 34px; }
.hp b { display: block; font-size: 15.5px; line-height: 1.3; }
.hp span { display: block; font-size: 12.5px; line-height: 1.45; margin-top: 3px; opacity: .88; }
.hp.l { background: var(--yellow); color: #221C6E; }
.hp.r { background: var(--indigo); color: #fff; border: 1px solid #3A3590; }
.hp::after { content: ""; position: absolute; top: 50%; width: clamp(34px, 5vw, 64px); border-top: 2px dotted var(--red); }
.hp::before { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; background: var(--red); transform: translateY(-50%) rotate(45deg); }
.hp.l::after { left: calc(100% + 12px); }
.hp.l::before { left: calc(100% + 4px); }
.hp.r::after { right: calc(100% + 12px); }
.hp.r::before { right: calc(100% + 4px); }
.core { aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 10px solid var(--yellow); display: grid; place-items: center; position: relative; box-shadow: 0 10px 30px rgba(20,16,70,.15); }
.core::before { content: ""; position: absolute; inset: -22px; border: 1.5px dashed var(--yellow); border-radius: 50%; }
.core img { width: 80%; height: auto; display: block; }
.hub-note { margin-top: 28px; padding: 14px 18px; background: var(--surface); border-left: 4px solid var(--red); border-radius: 4px; font-size: 14.5px; color: var(--muted); max-width: 90ch; }
.src { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.src ul { margin: 6px 0 0; padding-left: 18px; }
.src li + li { margin-top: 3px; }

/* ===== Nguồn gốc và quy trình ===== */
.origin { background: var(--indigo); color: #fff; }
.origin .origin-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.origin .origin-top > * { min-width: 0; }
.origin h2 { color: var(--yellow); border-bottom-color: rgba(255,255,255,.22); text-transform: none; font-size: clamp(26px, 3.8vw, 40px); line-height: 1.15; margin-bottom: 18px; }
.origin h2::after { background: var(--yellow); }
.origin .lead { font-size: 17px; opacity: .92; max-width: 56ch; }
.pillars { display: grid; gap: 14px; margin-top: 22px; }
.pillars > div { border-left: 4px solid var(--yellow); padding: 2px 0 2px 16px; }
.pillars h3 { font-size: 17px; color: var(--yellow); margin-bottom: 2px; }
.pillars p { font-size: 15px; opacity: .9; }
.origin-fig { margin: 0; }
.origin-fig img { display: block; width: 100%; height: auto; aspect-ratio: 800/520; object-fit: cover; border: 3px solid var(--yellow); border-radius: 6px; box-shadow: 0 14px 36px rgba(0,0,0,.35); }
.origin-fig figcaption { margin-top: 8px; font-size: 13px; opacity: .8; }
.proc-title { margin: clamp(32px, 5vw, 52px) 0 20px; font-size: 22px; color: var(--yellow); text-transform: uppercase; letter-spacing: .02em; }
.proc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; position: relative; }
.proc::before { content: ""; position: absolute; left: 8%; right: 8%; top: 23px; border-top: 2px dotted var(--yellow); opacity: .7; }
.proc li { position: relative; text-align: center; min-width: 0; }
.proc .n { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--indigo); font-weight: 800; font-size: 20px; display: grid; place-items: center; margin: 0 auto 12px; position: relative; box-shadow: 0 0 0 6px var(--indigo); }
.proc h3 { font-size: 16px; color: var(--yellow); margin-bottom: 6px; }
.proc p { font-size: 13.5px; opacity: .88; line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: clamp(30px, 5vw, 48px); }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 16px; text-align: center; }
.stat strong { display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--yellow); line-height: 1.1; }
.stat span { font-size: 14px; opacity: .88; }
@media (max-width: 1000px) {
  .proc { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .proc::before { display: none; }
}
@media (max-width: 860px) { .origin .origin-top { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .proc { grid-template-columns: 1fr; }
  .proc li { display: grid; grid-template-columns: 46px 1fr; gap: 2px 14px; text-align: left; align-items: start; }
  .proc .n { margin: 0; grid-row: span 2; }
}

/* ===== Blog ===== */
.tag { display: inline-block; font: 800 11.5px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--price); }
.meta { font-size: 13.5px; color: var(--muted); }
.bcard .pic { aspect-ratio: 16/10; border-width: 0 0 3px; border-radius: 6px 6px 0 0; }
.bcard { padding: 0; overflow: hidden; }
.bcard .cb { padding: 14px 16px 16px; }
.bcard h3 { font-size: 19px; }
.more { margin-top: 22px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 6px; padding: 12px 14px; }
.facts small { display: block; font: 700 11.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts strong { font-size: 18px; }
.post-body h2 { font-size: clamp(21px, 2.8vw, 27px); font-weight: 800; margin: 34px 0 12px; }
.post-body h3 { font-size: 19px; margin: 22px 0 8px; }
.post-body ol.how { padding-left: 0; list-style: none; counter-reset: h; }
.post-body ol.how li { counter-increment: h; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 10px 0; }
.post-body ol.how li::before { content: counter(h); width: 34px; height: 34px; border-radius: 50%; background: var(--indigo); color: var(--yellow); display: grid; place-items: center; font-weight: 800; }
.post-hero-img { margin: 0 0 8px; max-width: 760px; border: 3px solid var(--red); border-radius: 4px; overflow: hidden; aspect-ratio: 16/9; }
.post-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.callout { margin-top: 32px; padding: 20px; border-radius: 10px; background: var(--indigo); color: #fff; border-bottom: 6px solid var(--yellow); }
.callout h2 { margin: 0 0 8px !important; color: var(--yellow); font-size: 22px; text-transform: none; }
.callout a:not(.btn) { color: var(--yellow); }
.callout .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

@media (max-width: 900px) {
  .hub { grid-template-columns: 1fr; gap: 28px; }
  .core { width: 210px; margin-inline: auto; order: -1; }
  .hp::after, .hp::before { display: none; }
}
/* ===== Hiệu ứng và chức năng bổ sung =====
   Chỉ animate transform và opacity. Nội dung luôn hiển thị khi tắt JavaScript hoặc bật "giảm chuyển động". */
:root { interpolate-size: allow-keywords; }
@view-transition { navigation: auto; }
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }
.js .chips.js-only { display: flex !important; }

/* Cuộn tới đâu hiện tới đó */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hp.l.reveal { transform: translateX(-28px); }
.js .hp.r.reveal { transform: translateX(28px); }
.js .core.reveal { transform: scale(.88); }
.js .hp.reveal.in, .js .core.reveal.in { transform: none; }
.js .proc:not(.drawn)::before { transform: scaleX(0); }
.proc::before { transform-origin: left; transition: transform 1.4s cubic-bezier(.4,0,.2,1) .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.pps i { position: absolute; bottom: -40px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); opacity: 0; animation: drift var(--t) linear var(--dl) infinite; pointer-events: none; }
.hero .logo-big { animation: float 6s ease-in-out infinite; }
.hero .wrap > div > *:not(h1) { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero .wrap > div > .slogan { animation-delay: .08s; }
.hero .wrap > div > .lead { animation-delay: .16s; }
.hero .wrap > div > .cta { animation-delay: .26s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .28; } 85% { opacity: .22; } 100% { transform: translateY(-560px); opacity: 0; } }
.core::before { animation: spin 70s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Thẻ, nút */
.card { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(20,16,70,.12), 0 14px 30px rgba(20,16,70,.14); }
.pic > img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .pic > img { transform: scale(1.06); }
.btn, .pill, .chip { transition: transform .15s ease, box-shadow .2s, background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.22); }
.btn:active, .pill:active, .chip:active { transform: scale(.97); }
.ft a { transition: color .2s, transform .2s; }
.ft nav li a:hover { transform: translateX(4px); }
.soc { transition: border-color .2s, background-color .2s, transform .2s; }
.soc:hover { transform: translateY(-2px); }
.callbar .btn:first-child { animation: ring 3s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(244,190,49,.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(244,190,49,0); } }

/* Header tự ẩn khi cuộn xuống, hiện lại khi cuộn lên */
header.top { transition: transform .3s cubic-bezier(.2,.7,.2,1); view-transition-name: site-header; }
header.top.hide { transform: translateY(-100%); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; z-index: 60; pointer-events: none; }

/* Nút nổi: Đặt nhanh và lên đầu trang */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 35; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab .btn { box-shadow: 0 8px 22px rgba(20,16,70,.35); }
.totop { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--yellow); background: var(--indigo); color: var(--yellow); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 20px; height: 20px; }

/* Hộp đặt hàng nhanh */
dialog.qo { border: 0; border-radius: 14px; padding: 0; width: min(480px, calc(100% - 24px)); background: var(--surface); color: var(--fg); box-shadow: 0 24px 60px rgba(0,0,0,.45); max-height: calc(100% - 24px); overflow: auto; }
dialog.qo::backdrop { background: rgba(16,15,38,.62); }
dialog.qo[open] { animation: pop .28s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.qo form { padding: 0; margin: 0; }
.qo header { background: var(--indigo); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 5px solid var(--yellow); }
.qo header h2 { font-size: 20px; color: var(--yellow); margin: 0; }
.qo .x { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.qo .bd { padding: 18px; display: grid; gap: 14px; }
.qo label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.qo select, .qo input[type="text"], .qo textarea { font: 16px var(--font); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); width: 100%; }
.qo textarea { resize: none; font-size: 14.5px; color: var(--muted); }
.qo .qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; width: fit-content; }
.qo .qty button { width: 44px; height: 42px; border: 0; background: none; color: var(--fg); font-size: 22px; cursor: pointer; }
.qo .qty output { min-width: 48px; text-align: center; font-weight: 700; }
.qo .acts { display: grid; gap: 8px; }
.qo .acts .btn { width: 100%; background: var(--indigo); border-color: var(--indigo); color: #fff; }
.qo .acts .btn.y { background: var(--yellow); border-color: var(--yellow); color: var(--indigo); }
.qo .acts .btn.o { background: transparent; color: var(--fg); border-color: var(--line); }
.qo .note { font-size: 13px; color: var(--muted); }
.qo [hidden] { display: none !important; }

/* Bộ lọc Blog */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font: 600 14px var(--font); cursor: pointer; }
.chip.on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.card[hidden] { display: none; }

/* Mở câu hỏi thường gặp mượt */
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

@media (max-width: 760px) {
  .callbar { display: flex; }
  .callbar .btn { flex: 1; padding: 0 8px; }
  .fab .btn { display: none !important; }
  .fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .proc:not(.drawn)::before { transform: none; }
  .pps { display: none; }
  @view-transition { navigation: none; }
}

/* ===== Menu chính ===== */
header.top { background: linear-gradient(180deg,#2B2487,var(--indigo)); box-shadow: 0 6px 18px -10px rgba(0,0,0,.6); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
header.top .hbar { padding-block: 10px; gap: 18px; transition: padding .25s; }
header.top.sm .hbar { padding-block: 5px; }
header.top.sm .brand img { width: 38px; height: 38px; }
.brand img { transition: width .25s, height .25s; }
.mainnav { margin-inline: auto; }
.mainnav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mainnav a, .mbtn { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border: 0; background: none; border-radius: 999px; color: #fff; text-decoration: none; font: 600 14.5px var(--font); white-space: nowrap; cursor: pointer; }
.mainnav .ni { color: var(--yellow); opacity: .85; transition: transform .25s; }
.mainnav > ul > li > a::after, .mbtn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--yellow); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.mainnav > ul > li > a:hover, .mbtn:hover, .has-mega:focus-within .mbtn { background: rgba(244,190,49,.12); color: var(--yellow); }
.mainnav > ul > li > a:hover::after, .mbtn:hover::after, .has-mega:hover .mbtn::after, .has-mega:focus-within .mbtn::after, .mainnav a[aria-current="page"]::after, .mbtn.on::after { transform: scaleX(1); }
.mainnav a:hover .ni, .mbtn:hover .ni { transform: translateY(-2px) scale(1.12); }
.mainnav a[aria-current="page"], .mbtn.on { color: var(--yellow); background: rgba(244,190,49,.16); }
.chev { transition: transform .25s; }
.has-mega { position: relative; }
.has-mega:hover .chev, .has-mega:focus-within .chev, .mbtn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: 50%; width: min(560px,92vw); margin-left: -280px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s, visibility 0s .25s; z-index: 5; }
.mega > * { position: relative; }
.mega::before { content: ""; position: absolute; inset: 14px 0 0; background: var(--surface); border-radius: 14px; border-top: 4px solid var(--yellow); box-shadow: 0 24px 48px -16px rgba(10,8,50,.55); }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega .mh { padding: 16px 20px 6px; font: 800 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mega ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; list-style: none; margin: 0; padding: 6px 12px 8px; }
.mega ul a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: var(--fg); white-space: normal; transition: background .2s, transform .2s; }
.mega ul a::after { display: none; }
.mega ul a:hover, .mega ul a[aria-current="page"] { background: var(--pill); color: var(--fg); transform: translateX(3px); }
.mega img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--pill); }
.mega b { display: block; font-size: 14.5px; line-height: 1.25; }
.mega small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); font-weight: 500; }
.mega .mall { display: block; margin: 0 12px 12px; padding: 10px; border-radius: 10px; background: var(--indigo); color: var(--yellow); justify-content: center; text-align: center; font-weight: 800; font-size: 14px; }
.mega .mall::after { display: none; }
.mega .mall:hover { background: var(--navy); }
.hcta { display: flex; align-items: center; gap: 8px; }
.hcta .btn { min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; }
.hcta .call { box-shadow: 0 0 0 0 rgba(244,190,49,.6); animation: ring 2.8s ease-out infinite; }
.drawer-cta, .burger { display: none; }
.burger { width: 44px; height: 44px; border: 2px solid var(--yellow); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger i { display: block; width: 20px; height: 2.5px; background: var(--yellow); border-radius: 2px; transition: transform .3s, opacity .2s; }
header.top.open .burger i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
header.top.open .burger i:nth-child(2) { opacity: 0; }
header.top.open .burger i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 1020px) { .mainnav a, .mbtn { padding: 10px 9px; font-size: 14px; } .mainnav .ni { display: none; } .hcta .zl { display: none; } }
@media (max-width: 860px) {
  .hcta .call span { display: none; }
  .hcta .call { width: 44px; padding: 0; min-height: 44px; }
  .js .burger { display: inline-flex !important; }
  .mainnav { order: 3; flex-basis: 100%; margin: 0; }
  .js .mainnav { position: fixed; left: 0; right: 0; top: var(--hh,64px); max-height: calc(100dvh - var(--hh,64px)); overflow-y: auto; background: var(--indigo); padding: 8px 16px 24px; border-top: 3px solid var(--yellow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s, visibility 0s .3s; }
  .js header.top.open .mainnav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .mainnav > ul { flex-direction: column; gap: 0; }
  .mainnav a, .mbtn { width: 100%; padding: 14px 8px; border-radius: 10px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  .mainnav .ni { display: block; }
  .mainnav > ul > li > a::after, .mbtn::after { display: none; }
  .mbtn .chev { margin-left: auto; }
  .mega { position: static; width: auto; margin: 0; padding: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .mega::before, .mega .mh { display: none; }
  .has-mega.open .mega, .has-mega:focus-within .mega { display: block; }
  .mega ul { grid-template-columns: 1fr; padding: 6px 0 6px 8px; }
  .mega ul a { color: #fff; border-bottom: 0; padding: 8px; }
  .mega ul a:hover, .mega ul a[aria-current="page"] { background: rgba(244,190,49,.14); color: #fff; }
  .mega small { color: rgba(255,255,255,.7); }
  .mega .mall { margin: 4px 0 8px; }
  .drawer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .drawer-cta .btn { border-bottom: 2px solid var(--yellow); border-radius: 999px; width: auto; font-size: 15px; padding: 0 10px; }
  .js header.top.open { transform: none !important; }
  .js body.nav-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .hcta .call { animation: none; } .mega, .js .mainnav { transition: none; } }
.brand b { white-space: nowrap; }
@media (max-width: 860px) { .nav-open .callbar, .nav-open .fab { display: none !important; } .js .mainnav { padding-bottom: 32px; } }
.js .burger.js-only { display: none !important; }
@media (max-width: 860px) {
  .js .burger.js-only { display: inline-flex !important; }
  .drawer-cta a.btn { border: 2px solid var(--yellow); border-radius: 999px; padding: 0 10px; width: auto; justify-content: center; }
  .drawer-cta a.btn:not(.out) { background: var(--yellow); color: var(--indigo); }
  .drawer-cta a.btn.out { color: var(--yellow); }
}
@media (max-width: 1180px) { .hcta .zl { display: none; } }

/* ===== Giới thiệu ===== */
.summary.intro { border: 0; background: var(--bg); }
.intro .wrap { padding-block: 0 clamp(28px,4vw,48px); }
.intro-tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: -34px; position: relative; z-index: 2; }
.intro-tiles a { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-bottom: 4px solid var(--yellow); border-radius: 14px; color: var(--fg); text-decoration: none; box-shadow: 0 14px 28px -18px rgba(20,16,80,.55); transition: transform .25s, box-shadow .25s, border-color .25s; }
.intro-tiles a:hover { transform: translateY(-4px); border-bottom-color: var(--red); box-shadow: 0 20px 34px -16px rgba(20,16,80,.6); }
.intro-tiles .ti { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--indigo); color: var(--yellow); }
.intro-tiles .ti svg { width: 24px; height: 24px; }
.intro-tiles b { display: block; font-size: 16px; line-height: 1.2; }
.intro-tiles small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.intro-txt { max-width: 86ch; margin: clamp(26px,4vw,40px) auto 0; text-align: center; }
.intro-txt .eyebrow { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--pill); color: var(--red); font: 800 12px var(--font); letter-spacing: .1em; text-transform: uppercase; }
.intro-txt h2 { margin-top: 12px; font-weight: 800; font-size: clamp(22px,3.2vw,32px); }
.intro-txt p:last-child { margin-top: 12px; padding: 0; font-size: 17px; color: var(--muted); max-width: none; }
.intro-txt strong { color: var(--fg); }
@media (max-width: 860px) { .intro-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .intro-tiles a { flex-direction: column; align-items: flex-start; text-align: left; padding: 14px; } }
@media (max-width: 380px) { .intro-tiles b { font-size: 14.5px; } }
@media (max-width: 860px) { .intro-tiles { margin-top: 0; padding-top: 18px; } }

/* ===== Giá bán và giá giảm ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pr { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.pr .old { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: line-through; margin-top: 2px; }
.hot.sale { background: var(--price); color: #fff; font-size: 13px; padding: 5px 10px; box-shadow: -2px 2px 8px rgba(0,0,0,.25); }
.buy { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 10px; border: 0; border-radius: 999px; background: linear-gradient(180deg,#2B2487,var(--indigo)); color: var(--yellow); font: 800 15px var(--font); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.buy:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(34,28,110,.8); }
.buy:active { transform: scale(.98); }
@media (max-width: 760px) { .pr .old { font-size: 12.5px; } .buy { min-height: 42px; font-size: 14px; } }
.pr .price { font-size: 18px; } .foot:has(.pr) .pill { padding: 0 12px; } @media (max-width: 760px) { .pr .price { font-size: 15px; } .foot:has(.pr) .pill { padding: 0 10px; } }

/* ===== Bảng giá thị trường ===== */
.mkt-meta { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--pill); font-weight: 600; font-size: 14.5px; }
.mkt-dot { width: 9px; height: 9px; border-radius: 50%; background: #1E9E4A; box-shadow: 0 0 0 0 rgba(30,158,74,.6); animation: livepulse 2s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 9px rgba(30,158,74,0); } 100% { box-shadow: 0 0 0 0 rgba(30,158,74,0); } }
.stale-note { margin: 0 0 18px; padding: 10px 14px; border-left: 4px solid var(--yellow); background: var(--pill); border-radius: 6px; font-weight: 600; }
.stale-note[hidden] { display: none; }
.mkt h2 { margin-top: 34px; }
.mkt h2:first-of-type { margin-top: 0; }
.mkt-empty { padding: 18px; border: 1px dashed var(--line); border-radius: 10px; background: var(--surface); }
.ptable { min-width: 520px; }
.ptable th, .ptable td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.ptable thead th { background: var(--indigo); color: #fff; font-size: 14px; }
.ptable tbody th { font-weight: 600; }
.ptable .num { text-align: right; white-space: nowrap; }
.ptable td strong { font-size: 18px; }
.ptable small { color: var(--muted); font-size: 13px; }
.chg { font-weight: 700; }
.chg.up { color: #12803A; }
.chg.down { color: #C8261A; }
.chg.flat { color: var(--muted); font-weight: 500; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chg.up { color: #5FD38A; } :root:not([data-theme="light"]) .chg.down { color: #FF8B78; } }
:root[data-theme="dark"] .chg.up { color: #5FD38A; } :root[data-theme="dark"] .chg.down { color: #FF8B78; }
.mkt-disc, .mkt-src, .mkt-sub { margin-top: 16px; font-size: 14px; color: var(--muted); }
.mkt-sub { margin: -6px 0 18px; }
.tvgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tvbox { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 6px; min-width: 0; }
.tvbox h3 { font-size: 17px; margin-bottom: 8px; }
.tvw { min-height: 230px; position: relative; }
.tv-fallback { color: var(--muted); font-size: 14px; }
.tvw.loading::before { content: "Đang tải biểu đồ..."; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.pricebanner { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(135deg,#2B2487,var(--indigo)); border-bottom: 4px solid var(--yellow); color: #fff; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.pricebanner:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -16px rgba(20,16,80,.7); }
.pricebanner b { display: block; font-size: 18px; color: var(--yellow); }
.pricebanner small { display: block; opacity: .85; font-size: 14px; }
.pb-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); color: var(--indigo); }
.pb-go { margin-left: auto; font-weight: 800; color: var(--yellow); white-space: nowrap; }
@media (max-width: 760px) { .tvgrid { grid-template-columns: 1fr; } .pb-go { display: none; } .ptable td strong { font-size: 16px; } }

/* Menu 7 mục: thu gọn dần theo bề rộng màn hình */
@media (max-width: 1360px) and (min-width: 861px) { .mainnav .ni { display: none; } .mainnav a, .mbtn { padding: 10px 11px; } }
@media (max-width: 1260px) and (min-width: 861px) { .hcta .zl { display: none; } .brand b { font-size: 14.5px; } }
@media (max-width: 1040px) and (min-width: 861px) { .mainnav a, .mbtn { padding: 10px 8px; font-size: 13.5px; } .brand b { font-size: 13px; } .hcta .call span { display: none; } .hcta .call { width: 44px; padding: 0; } header.top .hbar { gap: 10px; } }
.mkt-meta { border-radius: 12px; align-items: flex-start; line-height: 1.5; } .mkt-dot { margin-top: 7px; flex: none; }

/* ===== Lịch sử giá và biểu đồ ===== */
.spark { width: 100%; height: auto; display: block; color: var(--indigo); }
.spark polyline { stroke: var(--indigo); }
.spark circle { fill: var(--red); }
.spark .g { stroke: var(--line); stroke-width: 1; }
.spark text { fill: var(--muted); font: 600 11px var(--font); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .spark polyline { stroke: var(--yellow); } }
:root[data-theme="dark"] .spark polyline { stroke: var(--yellow); }
.days { display: grid; gap: 10px; }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.day summary { display: grid; grid-template-columns: 110px 1fr 1fr 24px; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; }
.day summary::-webkit-details-marker { display: none; }
.day summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--price); justify-self: end; }
.day[open] summary::after { content: "−"; }
.day .dd { font-weight: 800; }
.day .dr small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.day .dr b { font-size: 15px; }
.dbody { padding: 0 16px 16px; }
.dbody h4 { margin: 18px 0 8px; font-size: 15px; }
.dbody .ptable { min-width: 460px; }
.mkt-meta2 { margin-bottom: 4px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .day summary { grid-template-columns: 1fr 24px; gap: 4px 12px; } .day .dd { grid-column: 1; } .day summary::after { grid-column: 2; grid-row: 1; } .day .dr { grid-column: 1 / -1; } .day .dr small { display: inline; margin-right: 6px; } }

/* Menu máy tính: bỏ biểu tượng, không để chữ chồng lên nhau (kể cả khi phông chữ rộng hơn) */
@media (min-width: 861px) {
  .mainnav .ni { display: none; }
  .brand { flex: none; }
  .hcta { flex: none; }
  .mainnav { flex: 1 1 auto; min-width: 0; margin-inline: 0; display: flex; justify-content: center; }
  .mainnav > ul { flex-wrap: nowrap; }
  .mainnav a, .mbtn { padding: 10px 12px; }
}
@media (max-width: 1400px) and (min-width: 861px) { .hcta .zl { display: none; } .mainnav a, .mbtn { padding: 10px 10px; } }
@media (max-width: 1180px) and (min-width: 861px) { .mainnav a, .mbtn { padding: 10px 7px; font-size: 13.5px; } .brand b { font-size: 13.5px; } .hcta .call span { display: none; } .hcta .call { width: 44px; padding: 0; } }
header.top .wrap { max-width: 1360px; } @media (min-width: 861px) { .mainnav { gap: 0; } .mainnav > ul { gap: 0; } }

/* ===== Màn hình rộng: cố định khung nội dung, hai bên là nền vườn tiêu ===== */
@media (min-width: 1500px) {
  html { background-color: #3A6B3A; background-position: center bottom; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; }
  body { max-width: 1360px; margin-inline: auto; position: relative; box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 70px rgba(10,30,10,.45); }
  .progress { left: calc(50% - 680px); right: calc(50% - 680px); }
  .fab { right: calc(50% - 680px + 16px); }
}
.side { display: none; }
@media (min-width: 1840px) {
  .side { display: flex; flex-direction: column; align-items: center; gap: 10px; position: fixed; top: 130px; width: 210px; padding: 18px 16px; border-radius: 18px; text-align: center; background: rgba(255,255,255,.88); color: #1D1A44; border-bottom: 5px solid var(--yellow); box-shadow: 0 16px 40px -14px rgba(10,20,40,.55); backdrop-filter: blur(6px); z-index: 10; }
  .side-l { left: calc(50% - 680px - 232px); }
  .side-r { right: calc(50% - 680px - 232px); }
  .side img { width: 96px; height: 96px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }
  .side b { font-size: 17px; line-height: 1.25; color: var(--indigo); text-transform: uppercase; }
  .side p { font-size: 13.5px; color: #4E4C68; }
  .side ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; width: 100%; }
  .side li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 600; line-height: 1.3; }
  .side li svg { flex: none; margin-top: 1px; color: #fff; background: #1E9E4A; border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
  .side .btn { width: 100%; padding: 0 10px; font-size: 14px; }
  .side .btn.out { color: var(--indigo); border-color: var(--indigo); }
  .side .btn.out:hover { background: rgba(34,28,110,.08); }
  .side .lnk { font-size: 13.5px; font-weight: 700; color: var(--indigo); }
}
@media print { .side { display: none !important; } }

/* ===== Trang bài viết: khung tối ưu trải nghiệm + SEO/GEO (thêm ngày 03/11/2026) ===== */
.post-meta2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; color: #fff; font-size: 14.5px; }
.post-meta2 .by { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--yellow); text-decoration: none; }
.post-meta2 .by img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--yellow); }
.post-meta2 span { opacity: .9; }
.post-body { font-size: 17px; line-height: 1.75; }
.post-body > p:first-of-type { font-size: 18px; }
.tldr { margin: 22px 0; padding: 16px 18px 14px; border-radius: 10px; background: #FFF8E1; border: 1px solid #F4D77A; border-left: 6px solid var(--yellow); color: #2A2410; }
.tldr .h { margin: 0 0 6px; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: #8A5A00; }
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li + li { margin-top: 6px; }
.toc { margin: 22px 0 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.toc summary { cursor: pointer; padding: 12px 16px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "▾"; transition: transform .2s; }
.toc details:not([open]) summary::after { transform: rotate(-90deg); }
.toc ol { margin: 0; padding: 0 16px 14px 36px; }
.toc li + li { margin-top: 6px; }
.toc a { color: inherit; text-decoration: none; border-bottom: 1px dashed var(--line); }
.toc a:hover { color: var(--red); border-color: var(--red); }
.post-body h2 { scroll-margin-top: 90px; }
.recipe-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.prodcard { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; margin: 30px 0; padding: 14px; border: 2px solid var(--indigo); border-radius: 12px; background: var(--surface); }
.prodcard img { width: 132px; height: 132px; object-fit: cover; border-radius: 8px; }
.prodcard .k { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.prodcard .t { margin: 2px 0 4px; font-weight: 800; font-size: 18px; }
.prodcard .t a { color: inherit; }
.prodcard .p { margin: 0 0 10px; font-size: 15px; }
.prodcard .p b { color: var(--red); font-size: 17px; }
.prodcard .row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 520px) { .prodcard { grid-template-columns: 88px 1fr; } .prodcard img { width: 88px; height: 88px; } }
.authorbox { display: grid; grid-template-columns: 72px 1fr; gap: 14px; margin: 34px 0 18px; padding: 16px; border-top: 4px solid var(--indigo); background: var(--surface); border-radius: 0 0 10px 10px; }
.authorbox img { width: 72px; height: 72px; border-radius: 50%; }
.authorbox .n { margin: 0 0 4px; font-weight: 800; font-size: 17px; }
.authorbox p { margin: 0 0 6px; font-size: 15.5px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 8px; font-size: 15px; }
.share a, .share button { font: inherit; font-weight: 700; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--indigo); background: #fff; color: var(--indigo); text-decoration: none; cursor: pointer; }
.related { margin-top: 30px; }
.related .grid { margin-top: 12px; }
@media print {
  .top, .stripe, .ft, .callbar, .fab, .side, .toc, .share, .related, .prodcard, .contact, .recipe-actions, .crumbs, #pepper-chat, .progress { display: none !important; }
  .hero { background: none !important; color: #000 !important; padding: 0 !important; }
  .hero h1 { color: #000 !important; }
  .post-meta2 { color: #000; }
}
.recipe-actions .btn.out, .prodcard .btn.out { background: #fff; color: var(--indigo); border-color: var(--indigo); }

/* ===== Trang bài viết trên màn hình rộng: cột bên phải (thêm ngày 03/11/2026) ===== */
.post-side { display: none; }
@media (min-width: 1080px) {
  .post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
  .post-side { display: block; }
  .post-body .toc { display: none; }
}
.post-side .stick { position: sticky; top: 96px; display: grid; gap: 16px; }
.side-box { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 14px 16px; }
.side-box .h { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.side-toc li { counter-increment: s; }
.side-toc a { display: block; padding: 6px 8px 6px 10px; border-left: 3px solid transparent; border-radius: 0 6px 6px 0; color: inherit; text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.side-toc a::before { content: counter(s) ". "; color: var(--muted); }
.side-toc a:hover { background: rgba(34,28,110,.06); }
.side-toc a.on { border-left-color: var(--red); background: #FFF8E1; font-weight: 700; }
.side-prod { border: 2px solid var(--indigo); }
.side-prod img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; display: block; }
.side-prod .t { margin: 10px 0 4px; font-weight: 800; font-size: 16.5px; line-height: 1.3; }
.side-prod .t a { color: inherit; }
.side-prod .p { margin: 0 0 10px; font-size: 14.5px; }
.side-prod .p b { color: var(--red); }
.side-prod .btn { width: 100%; justify-content: center; }
.side-prod .btn + .btn { margin-top: 8px; }
.side-prod .btn.out { background: #fff; color: var(--indigo); border-color: var(--indigo); }
.side-author { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; font-size: 14px; }
.side-author img { width: 44px; height: 44px; border-radius: 50%; }
.side-author b { display: block; font-size: 15px; }
@media print { .post-side { display: none !important; } .post-layout { display: block !important; } }
@media (min-width: 1080px) { .post-layout { align-items: stretch; } .post-body { align-self: start; } .post-side { align-self: stretch; } }
.post-side .stick { max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }

/* ===== Tìm kiếm nhanh (thêm ngày 03/11/2026) ===== */
.hcta .srch { width: 44px; min-height: 44px; padding: 0; display: inline-grid; place-items: center; }
.sk-dlg { width: min(680px, calc(100% - 24px)); max-height: min(82vh, 760px); margin: 8vh auto auto; padding: 0; border: 0; border-radius: 16px; background: var(--surface); color: var(--fg); box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; display: none; flex-direction: column; }
.sk-dlg[open] { display: flex; animation: pop .22s cubic-bezier(.2,.7,.2,1); }
.sk-dlg::backdrop { background: rgba(16,15,38,.62); backdrop-filter: blur(2px); }
.sk-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--indigo); border-bottom: 4px solid var(--yellow); }
.sk-glass { color: var(--yellow); display: grid; }
.sk-input { flex: 1; min-width: 0; font: 600 17px var(--font); padding: 11px 14px; border-radius: 10px; border: 2px solid transparent; background: #fff; color: #1D1A44; }
.sk-input:focus { outline: none; border-color: var(--yellow); }
.sk-close { font: 700 14px var(--font); color: #fff; background: none; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.sk-box { overflow-y: auto; padding: 10px 14px 16px; overscroll-behavior: contain; }
.sk-h { margin: 12px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sk-count { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.sk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-chip { font: 600 14px var(--font); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--pill); color: var(--fg); cursor: pointer; }
.sk-chip:hover { border-color: var(--red); color: var(--red); }
.sk-item { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; color: inherit; text-decoration: none; }
.sk-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.sk-ic { width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; background: var(--pill); color: var(--red); font-weight: 800; font-size: 18px; }
.sk-item b { display: block; font-size: 15.5px; line-height: 1.35; }
.sk-item small { display: block; font-size: 13.5px; color: var(--price); font-weight: 600; margin-top: 2px; }
.sk-item:hover, .sk-item.on { background: var(--pill); outline: 2px solid var(--yellow); }
.sk-empty { padding: 8px 2px; }
.sk-empty p { margin: 6px 0; }
.sk-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.sk-row .btn.out { background: #fff; color: var(--indigo); border-color: var(--indigo); }
html.sk-open { overflow: hidden; }
@media (max-width: 600px) {
  .sk-dlg { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
}

/* Nút mạng xã hội chưa có link (TikTok...) thì ẩn; link đặt trong Trang quản trị > Cấu hình chung */
[data-mxh][hidden] { display: none !important; }

/* ===== Trang Về chúng tôi: thẻ thông tin nhanh ở cột bên (thêm ngày 04/11/2026) ===== */
.side-fact .sf-dau { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; margin-bottom: 12px; }
.side-fact .sf-dau img { width: 56px; height: 56px; border-radius: 50%; }
.side-fact .sf-dau b { display: block; font-size: 16.5px; line-height: 1.25; }
.side-fact .sf-dau span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.side-fact ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 0; }
.side-fact li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.side-fact li b { font-size: 21px; font-weight: 800; letter-spacing: -.01em; color: var(--price); font-variant-numeric: tabular-nums; white-space: nowrap; }
.side-fact li span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.side-fact .btn { width: 100%; justify-content: center; }
.side-fact .btn + .btn { margin-top: 8px; }
@media (min-width: 1080px) {
  .ve-chung-toi .post-body { max-width: 760px; }
  .ve-chung-toi .post-body .post-hero-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 88%; }
}
/* Mục lục cột bên ở giao diện tối: mục đang đọc không dùng nền vàng nhạt (chữ trắng trên nền vàng nhạt không đọc được) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .side-toc a.on { background: rgba(244,190,49,.14); color: var(--fg); border-left-color: var(--yellow); } }
:root[data-theme="dark"] .side-toc a.on { background: rgba(244,190,49,.14); color: var(--fg); border-left-color: var(--yellow); }

/* ===== Footer các trang trong theo giao diện trang chủ mới (thêm ngày 04/11/2026) =====
   Giữ nguyên nội dung và liên kết. Nền tối chàm như trang chủ ở cả giao diện sáng lẫn tối. */
.ft { background: #13102E; color: #F6F1E4; }
.ft a { color: #F6F1E4; }
.ft a:hover { color: #F4BE31; }
.ft-cta { background: #1E1A4A; border-bottom: 1px solid rgba(246,241,228,.1); }
.ft-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 22px; }
.ft-cta p { margin: 0; display: grid; gap: 4px; }
.ft-cta p b { font-size: clamp(19px, 1.2rem + .6vw, 24px); font-weight: 800; letter-spacing: -.015em; color: #F6F1E4; }
.ft-cta p span { color: #BDB6DA; font-size: 15px; }
.ft-cta p a { color: #F4BE31; font-weight: 700; }
.ft-cta .btn { background: #F4BE31; color: #1D1A44; border-color: #F4BE31; font-weight: 800; padding-inline: 24px; white-space: nowrap; }
.ft-cta .btn:hover { background: #FFCB45; color: #1D1A44; }
.ft-logo img { width: 72px; height: 72px; filter: drop-shadow(0 10px 16px rgba(6,4,22,.6)); transform: rotate(calc(var(--ft-p, 0) * 70deg - 20deg)); transition: transform 120ms linear; }
.ft-logo b { color: #F4BE31; }
.ft-brand > p, .ft nav li a { color: #BDB6DA; opacity: 1; }
.ft nav li a:hover { color: #F4BE31; }
.ft address { opacity: 1; color: #BDB6DA; }
.ft address strong { color: #F6F1E4; }
.ft address a { color: #F6F1E4; }
.ft-h { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #F4BE31; }
/* nút mạng xã hội: tròn viền vàng, đỏ như con dấu logo */
.ft-soc { gap: 14px !important; }
.soc { border: 0; padding: 4px 6px 4px 4px; border-radius: 40px; gap: 14px; }
.soc:hover { background: transparent; }
.soc .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #221C6E; color: #F4BE31;
  box-shadow: 0 0 0 3px #F4BE31, 0 0 0 5px #A50F14, 0 10px 18px -8px rgba(6,4,22,.8); }
.soc .ico svg { width: 24px; height: 24px; }
.soc b { color: #F6F1E4; }
.soc small { color: #BDB6DA; opacity: 1; }
.soc:hover b { color: #F4BE31; }
.ft a:focus-visible, .ft-cta .btn:focus-visible { outline: 3px solid #F4BE31; outline-offset: 3px; border-radius: 6px; }
.ft-bottom { border-top-color: rgba(246,241,228,.12); }
.ft-bottom .wrap { color: #BDB6DA; opacity: 1; }
@media (max-width: 620px) {
  .ft-cta .wrap { flex-direction: column; align-items: stretch; }
  .ft-cta .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ft-logo img { transform: none; transition: none; } }
