/* ===== HTH site CSS dung chung (tach 24/11/2026) ===== */
:root {
        --bg: #fbf9f4;
        --bg-soft: #f4efe4;
        --surface: #ffffff;
        --ink: #221c14;
        --ink-2: #4c463c;
        --muted: #6a6154;
        --line: #e6ddcb;
        --red: #c8102e;
        --red-dark: #9c0c24;
        --red-soft: #fbecec;
        --kraft: #a4713b;
        --kraft-deep: #7c5527;
        --kraft-soft: #f1e6d2;
        --zalo: #0068ff;
        --shadow: 0 18px 40px -18px rgba(60, 44, 20, .25);
        --radius: 18px;
      }
      @media (prefers-color-scheme: dark) {
        :root {
          --bg: #171310;
          --bg-soft: #1e1915;
          --surface: #221d18;
          --ink: #f4eee3;
          --ink-2: #cfc6b6;
          --muted: #a29885;
          --line: #3a332a;
          --red: #e8445a;
          --red-dark: #ff7285;
          --red-soft: #38202a;
          --kraft: #d2a05e;
          --kraft-deep: #e3b878;
          --kraft-soft: #2d2517;
          --shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
        }
      }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--ink);
        font-family: "Be Vietnam Pro", system-ui, sans-serif;
        font-size: 16px;
        line-height: 1.65;
        -webkit-font-smoothing: antialiased;
      }
      img { max-width: 100%; display: block; }
      a { color: inherit; }
      .wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
      h1, h2, h3, .disp { font-family: "Space Grotesk", "Be Vietnam Pro", sans-serif; line-height: 1.18; margin: 0; letter-spacing: -.01em; }
      .sec { padding: 84px 0; }
      .sec-head { max-width: 640px; margin-bottom: 40px; }
      .sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
      .sec-head p { color: var(--ink-2); margin: 12px 0 0; }
      .tag {
        display: inline-flex; align-items: center; gap: 8px;
        font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
        color: var(--red); margin-bottom: 14px;
      }
      .tag::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }

      /* ---------- Header ---------- */
      header.site {
        position: sticky; top: 0; z-index: 60;
        background: color-mix(in srgb, var(--bg) 88%, transparent);
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
      }
      header.site.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(60,44,20,.35); }
      .bar { display: flex; align-items: center; gap: 18px; height: 68px; }
      .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
      .brand .mark {
        width: 42px; height: 42px; border-radius: 11px; background: var(--red); color: #fff;
        display: grid; place-items: center; font-family: "Space Grotesk", sans-serif;
        font-weight: 700; font-size: .86rem; letter-spacing: .02em; flex: none;
        box-shadow: 0 8px 18px -8px var(--red);
      }
      img.mark { background: none; box-shadow: none; border-radius: 0; object-fit: contain; padding: 0; }
      .brand .bname { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.06rem; line-height: 1.1; }
      .brand .bsub { font-size: .72rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
      nav.main { display: flex; gap: 4px; }
      nav.main a {
        text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2);
        padding: 8px 13px; border-radius: 999px;
      }
      nav.main a:hover { color: var(--ink); background: var(--bg-soft); }
      .bar .phone {
        display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
        font-weight: 700; font-family: "Space Grotesk", sans-serif; font-size: 1rem; color: var(--red);
        border: 1.5px solid var(--red); padding: 8px 16px; border-radius: 999px; white-space: nowrap;
      }
      .bar .phone:hover { background: var(--red); color: #fff; }
      .burger {
        display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px;
        background: var(--surface); cursor: pointer; padding: 10px;
      }
      .burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; }
      .mobile-nav { display: none; border-top: 1px solid var(--line); padding: 10px 20px 16px; }
      .mobile-nav a { display: block; padding: 10px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px dashed var(--line); }
      .mobile-nav a:last-child { border-bottom: 0; }
      .mobile-nav.open { display: block; }

      /* ---------- Hero ---------- */
      .hero { padding: 56px 0 0; overflow: hidden; }
      .hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
      .hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
      .hero h1 .hl { color: var(--red); }
      .hero .lead { color: var(--ink-2); font-size: 1.08rem; margin: 20px 0 26px; max-width: 34em; }
      .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
      .btn {
        display: inline-flex; align-items: center; gap: 9px; text-decoration: none; cursor: pointer;
        font-weight: 600; font-size: .98rem; padding: 13px 24px; border-radius: 999px; border: 0;
        transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
      }
      .btn:active { transform: scale(.98); }
      .btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 26px -12px var(--red); }
      .btn-red:hover { background: var(--red-dark); }
      .btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
      .btn-ghost:hover { border-color: var(--kraft); }
      .hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--ink-2); font-size: .93rem; }
      .hero-points span { display: inline-flex; gap: 7px; align-items: center; }
      .hero-points svg { flex: none; }
      .hero-media { position: relative; }
      .hero-media .frame {
        border-radius: 26px; overflow: hidden; box-shadow: var(--shadow);
        border: 1px solid var(--line); background: var(--surface);
      }
      .hero-media .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; }
            .chip-card {
        position: absolute; left: -18px; bottom: 26px; background: var(--surface);
        border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
        padding: 12px 16px; display: flex; gap: 12px; align-items: center; max-width: 270px;
      }
      .chip-card .thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
      .chip-card b { display: block; font-size: .9rem; line-height: 1.3; }
      .chip-card .pr { color: var(--red); font-weight: 700; font-family: "Space Grotesk", sans-serif; }
      .chip-card .pr small { color: var(--muted); font-weight: 500; font-family: "Be Vietnam Pro", sans-serif; }
      .stats {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
        margin-top: 58px; padding: 26px 0 30px; border-top: 1px solid var(--line);
      }
      .stat b { font-family: "Space Grotesk", sans-serif; font-size: 1.55rem; display: block; line-height: 1.1; }
      .stat b em { font-style: normal; color: var(--red); }
      .stat span { color: var(--muted); font-size: .88rem; }

      .marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 13px 0; }
      .marquee .track { display: flex; gap: 0; width: max-content; animation: mq 30s linear infinite; }
      .marquee span { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .95rem; color: var(--ink-2); padding: 0 18px; white-space: nowrap; }
      .marquee i { color: var(--red); font-style: normal; }
      @keyframes mq { to { transform: translateX(-50%); } }

      /* ---------- Products ---------- */
      .filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
      .filters button {
        font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer;
        padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line);
        background: var(--surface); color: var(--ink-2);
      }
      .filters button.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
      .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
      .card {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        overflow: hidden; display: flex; flex-direction: column;
        transition: transform .2s ease, box-shadow .2s ease;
      }
      .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
      .card .ph { position: relative; }
      .card .ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
      .badge {
        position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
        font-size: .74rem; font-weight: 700; letter-spacing: .05em; padding: 5px 11px; border-radius: 999px;
      }
      .badge.kraft { background: var(--kraft-deep); }
      .card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
      .card h3 { font-size: 1.14rem; font-weight: 600; }
      .card p { margin: 0; color: var(--ink-2); font-size: .93rem; }
      .spec { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
      .spec span { font-size: .78rem; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); padding: 3px 10px; border-radius: 999px; }
      .card .foot { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); }
      .price { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.12rem; color: var(--red); }
      .price small { font-family: "Be Vietnam Pro", sans-serif; font-weight: 500; color: var(--muted); font-size: .78rem; display: block; }
      .ask { font-weight: 600; font-size: .9rem; color: var(--kraft-deep); text-decoration: none; white-space: nowrap; }
      .ask:hover { text-decoration: underline; }
      .card.cta-card {
        background: var(--ink); color: var(--bg); border-color: var(--ink);
        padding: 26px 22px; justify-content: center; gap: 12px;
      }
      .card.cta-card h3 { font-size: 1.3rem; }
      .card.cta-card p { color: inherit; opacity: .75; font-size: .95rem; margin: 0; }
      .card.cta-card .btn { align-self: flex-start; margin-top: 6px; }

      /* ---------- Calculator ---------- */
      .calc-sec { background: var(--bg-soft); border-block: 1px solid var(--line); }
      .calc-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
      .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
      .panel h3 { font-size: 1.15rem; margin-bottom: 18px; }
      .fld { margin-bottom: 20px; }
      .fld > label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 9px; }
      .seg { display: flex; flex-wrap: wrap; gap: 8px; }
      .seg button {
        font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; text-align: left;
        padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line);
        background: var(--surface); color: var(--ink-2);
      }
      .seg button small { display: block; font-size: .76rem; color: var(--muted); font-weight: 400; }
      .seg button.on { border-color: var(--red); background: var(--red-soft); color: var(--ink); }
      .seg button.on small { color: var(--ink-2); }
      .check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .93rem; color: var(--ink-2); }
      .check input { width: 19px; height: 19px; accent-color: var(--red); margin-top: 2px; flex: none; cursor: pointer; }
      .qty-row { display: flex; align-items: center; gap: 14px; }
      .qty-row input[type="range"] { flex: 1; accent-color: var(--red); }
      .qty-num {
        width: 108px; font: inherit; font-weight: 600; text-align: center;
        border: 1.5px solid var(--line); border-radius: 11px; padding: 9px 6px; background: var(--surface); color: var(--ink);
      }
      .receipt { border: 1.5px dashed var(--kraft); background: var(--surface); }
      .receipt .r-head { text-align: center; border-bottom: 1.5px dashed var(--line); padding-bottom: 14px; margin-bottom: 16px; }
      .receipt .r-head b { font-family: "Space Grotesk", sans-serif; letter-spacing: .12em; font-size: .85rem; text-transform: uppercase; }
      .receipt .r-head span { display: block; color: var(--muted); font-size: .82rem; margin-top: 3px; }
      .r-line { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: .95rem; }
      .r-line[hidden] { display: none; }
      .r-line span { color: var(--ink-2); }
      .r-line b { font-family: "Space Grotesk", sans-serif; white-space: nowrap; }
      .r-total { border-top: 1.5px dashed var(--line); margin-top: 12px; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
      .r-total span { font-weight: 600; }
      .r-total b { font-family: "Space Grotesk", sans-serif; font-size: 1.7rem; color: var(--red); }
      .r-note { color: var(--muted); font-size: .84rem; margin: 12px 0 18px; }
      .receipt .btn { width: 100%; justify-content: center; }

      /* ---------- Process ---------- */
      .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: st; }
      .step { position: relative; padding-top: 8px; }
      .step .num {
        font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 2rem; color: transparent;
        -webkit-text-stroke: 1.5px var(--red); display: block; margin-bottom: 10px;
      }
      .step h3 { font-size: 1.05rem; margin-bottom: 7px; }
      .step p { margin: 0; color: var(--ink-2); font-size: .92rem; }
      .step::after {
        content: ""; position: absolute; top: 26px; right: -12px; width: 24px;
        border-top: 2px dashed var(--line);
      }
      .step:last-child::after { display: none; }

      /* ---------- Workshop ---------- */
      .workshop { background: var(--ink); color: var(--bg); }
      .workshop .tag { color: #ff8b9a; }
      .workshop .tag::before { background: #ff8b9a; }
      .ws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
      .ws-grid img { border-radius: 22px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
      .ws-grid h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 14px; }
      .ws-grid .intro { opacity: .8; margin: 0 0 22px; }
      .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
      .ticks li { display: flex; gap: 11px; align-items: flex-start; }
      .ticks svg { flex: none; margin-top: 4px; }
      .ticks b { display: block; }
      .ticks span { opacity: .75; font-size: .93rem; }

      /* ---------- Blog ---------- */
      .blog-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; }
      .post { text-decoration: none; display: block; }
      .post .ph { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
      .post img { width: 100%; object-fit: cover; transition: transform .35s ease; }
      .post:hover img { transform: scale(1.03); }
      .post .meta { color: var(--muted); font-size: .82rem; margin-top: 14px; display: flex; gap: 10px; align-items: center; }
      .post .meta i { font-style: normal; color: var(--red); font-weight: 600; }
      .post h3 { font-size: 1.2rem; margin-top: 6px; }
      .post p { color: var(--ink-2); font-size: .93rem; margin: 7px 0 0; }
      .post.featured img { aspect-ratio: 16 / 9.5; }
      .post.featured h3 { font-size: 1.45rem; }
      .post-list { display: grid; gap: 26px; align-content: start; }
      .post-list .post { display: grid; grid-template-columns: 148px 1fr; gap: 16px; }
      .post-list .post img { aspect-ratio: 1 / .82; height: 100%; }
      .post-list .post .meta { margin-top: 0; }
      .post-list .post h3 { font-size: 1.02rem; }

      /* ---------- FAQ ---------- */
      .faq-list { max-width: 780px; }
      details.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 11px; overflow: hidden; }
      details.faq summary {
        cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 600; font-size: .99rem;
        display: flex; justify-content: space-between; gap: 14px; align-items: center;
      }
      details.faq summary::-webkit-details-marker { display: none; }
      details.faq summary .plus { font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; color: var(--red); transition: transform .2s; line-height: 1; }
      details.faq[open ] .plus { transform: rotate(45deg); }
      details.faq .a { padding: 0 20px 18px; color: var(--ink-2); font-size: .94rem; }

      /* ---------- SEO writer ---------- */
      .seo-sec { background: var(--bg-soft); border-block: 1px solid var(--line); }
      .seo-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 26px; align-items: start; }
      .seo-side { position: sticky; top: 88px; display: grid; gap: 26px; }
      .seo-grid .txt, .seo-grid textarea, .seo-grid select {
        width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
        background: var(--surface); border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 13px;
      }
      .seo-grid textarea { line-height: 1.6; resize: vertical; }
      .seo-grid .txt:focus, .seo-grid textarea:focus, .seo-grid select:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
      .fld .hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
      .fld .count { float: right; font-weight: 500; color: var(--muted); font-size: .8rem; }
      .fld .count.over { color: var(--red); font-weight: 700; }
      .toolbar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 9px; }
      .toolbar button {
        font: inherit; font-size: .83rem; font-weight: 600; cursor: pointer;
        padding: 6px 12px; border-radius: 8px; border: 1.5px solid var(--line);
        background: var(--bg-soft); color: var(--ink-2);
      }
      .toolbar button:hover { border-color: var(--kraft); color: var(--ink); }
      .score-head { display: flex; align-items: baseline; gap: 14px; }
      .score-num { font-family: "Space Grotesk", sans-serif; font-size: 2.5rem; font-weight: 700; line-height: 1; }
      .score-num small { font-size: 1rem; color: var(--muted); font-weight: 600; }
      .score-label { font-weight: 600; }
      .score-bar { height: 10px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; margin: 14px 0 18px; }
      .score-bar i { display: block; height: 100%; width: 0; transition: width .3s ease; }
      .seo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
      .seo-list li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-2); align-items: flex-start; }
      .seo-list .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; margin-top: 6px; }
      .dot.good { background: #2e9e4f; }
      .dot.warn { background: #e0a100; }
      .dot.bad { background: var(--red); }
      .seo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
      .seo-actions .btn { font-size: .92rem; padding: 11px 20px; }
      .preview-article h1 { font-size: 1.55rem; margin-bottom: 6px; }
      .preview-article .pmeta { color: var(--muted); font-size: .84rem; margin-bottom: 14px; }
      .preview-article > img { border-radius: 12px; margin-bottom: 16px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
      .preview-article h2 { font-size: 1.22rem; margin: 20px 0 8px; }
      .preview-article h3 { font-size: 1.06rem; margin: 16px 0 6px; }
      .preview-article p { margin: 0 0 12px; color: var(--ink-2); font-size: .95rem; }
      .preview-article ul { margin: 0 0 12px; padding-left: 20px; color: var(--ink-2); font-size: .95rem; }
      .preview-article a { color: var(--red); font-weight: 600; }

      /* ---------- Bài Muse gợi ý ---------- */
      .sug-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
      .sug-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
      .sug-card .ph { position: relative; }
      .sug-card .ph img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
      .sug-draft {
        position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--bg);
        font-size: .74rem; font-weight: 700; letter-spacing: .05em; padding: 5px 11px; border-radius: 999px;
      }
      .sug-draft.done { background: #2e9e4f; color: #fff; }
      .sug-body { padding: 20px 20px 22px; display: grid; gap: 10px; }
      .sug-meta { color: var(--muted); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
      .sug-meta i { font-style: normal; color: var(--red); font-weight: 600; }
      .sug-card h3 { font-size: 1.16rem; }
      .sug-desc { margin: 0; color: var(--ink-2); font-size: .93rem; }
      .sug-scores { display: flex; flex-wrap: wrap; gap: 8px; }
      .score-badge {
        display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600;
        padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line);
        background: var(--bg-soft); color: var(--ink-2);
      }
      .score-badge b { font-family: "Space Grotesk", sans-serif; color: #2e9e4f; font-size: .92rem; }
      .sug-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 2px; }
      .sug-actions .btn { font-size: .9rem; padding: 10px 18px; }
      .sug-actions .btn[disabled] { opacity: .6; cursor: default; }
      .sug-full { border-top: 1.5px dashed var(--line); margin-top: 6px; padding-top: 18px; }
      .sug-full[hidden] { display: none; }
      .sug-full h1 { font-size: 1.38rem; }
      .sug-faq { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 6px 18px 12px; background: var(--bg-soft); }
      .sug-faq h4 { font-family: "Space Grotesk", sans-serif; font-size: .98rem; margin: 14px 0 4px; }
      .sug-faq .qa { padding: 10px 0; border-top: 1px dashed var(--line); }
      .sug-faq .qa b { display: block; font-size: .93rem; margin-bottom: 3px; }
      .sug-faq .qa p { margin: 0; font-size: .9rem; color: var(--ink-2); }

      /* ---------- CTA + footer ---------- */
      .cta-band { background: var(--red); color: #fff; border-radius: 26px; padding: 44px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
      .cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
      .cta-band p { opacity: .95; margin: 10px 0 0; max-width: 32em; }
      .cta-actions { display: grid; gap: 11px; }
      .cta-actions a {
        display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600;
        background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
        padding: 14px 18px; border-radius: 14px; color: #fff;
      }
      .cta-actions a:hover { background: rgba(255,255,255,.22); }
      .cta-actions a b { font-family: "Space Grotesk", sans-serif; font-size: 1.08rem; }
      .cta-actions a span { font-size: .85rem; opacity: .95; font-weight: 500; }
      footer { padding: 56px 0 90px; }
      .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
      footer h4 { font-family: "Space Grotesk", sans-serif; font-size: .95rem; margin: 0 0 14px; }
      footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
      footer ul a { text-decoration: none; color: var(--ink-2); font-size: .93rem; }
      footer ul a:hover { color: var(--red); }
      footer .fbrand p, footer .finfo { color: var(--ink-2); font-size: .93rem; }
      .f-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
      footer { background: var(--surface, #fff); border-top: 1px solid var(--line); padding: 58px 0 30px; margin-top: 64px; }
      footer h4 { position: relative; padding-bottom: 10px; margin-bottom: 16px; }
      footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; border-radius: 2px; background: var(--red); }
      .fbrand p { line-height: 1.65; }
      .f-social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
      .f-soc { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--bg, #fbf9f4); }
      .f-soc:hover { border-color: var(--red); color: var(--red); }
      .f-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
      .f-contact li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
      .f-contact svg { flex: 0 0 auto; margin-top: 2px; color: var(--red); }
      .f-contact a { color: var(--ink); text-decoration: none; font-weight: 600; }
      .f-contact a:hover { color: var(--red); }
      .f-legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 26px; }
      .f-legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 36px; }
      .f-legal-grid span { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
      .f-legal-grid b { font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.55; }
      .f-bottom { margin-top: 28px; }
      @media (max-width: 960px) { .f-grid { grid-template-columns: 1fr 1fr; } }
      @media (max-width: 560px) { .f-legal-grid { grid-template-columns: 1fr; } }
      .f-contact b { font-weight: 600; color: var(--ink); }
      .f-contact a { white-space: nowrap; }
      @media (min-width: 961px) { footer .f-grid { grid-template-columns: 1.3fr .9fr 1fr 1.35fr; } }
      footer { background: var(--bg, #fbf9f4); padding-bottom: 0; }
      .f-soc { background: var(--surface, #fff); }
      .f-darkband { background: #211c15; color: #efe9db; margin-top: 46px; padding: 32px 0 28px; }
      .f-darkband .f-legal { border-top: none; margin-top: 0; padding-top: 0; }
      .f-darkband h4 { color: #fff; }
      .f-darkband .f-legal-grid span { color: #a89e8a; }
      .f-darkband .f-legal-grid b { color: #f4efe4; }
      .f-darkband .f-bottom { border-top-color: rgba(255,255,255,.14); color: #a89e8a; margin-top: 26px; }




      .zalo-float {
        position: fixed; right: 18px; bottom: 18px; z-index: 70; text-decoration: none;
        background: var(--zalo); color: #fff; font-weight: 700; font-size: .92rem;
        padding: 13px 20px; border-radius: 999px; box-shadow: 0 16px 32px -10px rgba(0, 104, 255, .55);
        display: inline-flex; align-items: center; gap: 9px;
      }
      .zalo-float:hover { filter: brightness(1.08); }

      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .marquee .track { animation: none; }
        .card, .post img { transition: none; }
      }

      /* ---------- Responsive ---------- */
      @media (max-width: 960px) {
        .hero-grid, .calc-grid, .ws-grid, .blog-grid, .seo-grid, .sug-grid { grid-template-columns: 1fr; }
        .seo-side { position: static; }
        .grid { grid-template-columns: repeat(2, 1fr); }
        .steps { grid-template-columns: repeat(2, 1fr); }
        .step::after { display: none; }
        .stats { grid-template-columns: repeat(2, 1fr); }
        .cta-band { grid-template-columns: 1fr; padding: 32px 24px; }
        .chip-card { left: 12px; }
        nav.main { display: none; }
        .burger { display: block; }
        .bar .phone { display: none; }
        .sec { padding: 60px 0; }
      }
      @media (max-width: 560px) {
        .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .card .body { padding: 12px 12px 14px; gap: 7px; }
        .card h3 { font-size: .98rem; line-height: 1.3; }
        .card:not(.cta-card) p { display: none; }
        .card .spec { display: none; }
        .card .badge { font-size: .66rem; padding: 3px 8px; }
        .card .foot { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 9px; }
        .card .price { font-size: .95rem; }
        .card .price small { font-size: .7rem; }
        .card .ask { font-size: .85rem; }
        .grid .phlink, .grid .card h3 a { pointer-events: none; }
        .post-list .post { grid-template-columns: 112px 1fr; }
        .f-grid { grid-template-columns: 1fr; }
        .hero { padding-top: 36px; }
        .qty-row { flex-wrap: wrap; }
      }
    
      /* ===== Chuẩn khung media đồng nhất (29/10/2026): thẻ bài viết 16:9, logo 42x42 ===== */
      .post .ph img { aspect-ratio: 16 / 9; }
      .post.featured img { aspect-ratio: 16 / 9; }
      .post-list .post .ph img { aspect-ratio: 16 / 9; height: auto; }

/* ===== Trang chinh sach ===== */
.policy { max-width: 860px; margin: 0 auto; padding: 46px 0 20px; }
      .policy h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.2; margin: 10px 0 8px; }
      .policy .updated { color: var(--muted); font-size: .9rem; margin: 0 0 26px; }
      .policy h2 { font-family: "Space Grotesk", sans-serif; font-size: 1.18rem; margin: 30px 0 8px; }
      .policy p, .policy li { color: var(--ink-2); }
      .policy ul, .policy ol { margin: 6px 0 6px; padding-left: 22px; display: grid; gap: 6px; }
      .policy a { color: var(--red); }
      .policy a.btn-red { color: #fff; }
      .bank-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 14px 0; box-shadow: var(--shadow); }
      .bank-box p { margin: 4px 0; }
      .policy-cta { margin: 36px 0 10px; background: var(--kraft-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
      .policy-cta p { margin: 0; font-weight: 600; color: var(--ink); }
      header.site nav.main a.cur { color: var(--red); }

/* ===== Luoi the bai viet trang thu muc ===== */
/* Luoi the bai viet lon o trang thu muc (23/11/2026) */
      .post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; align-content: start; }
      .post-list .post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
      .post-list .post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
      .post-list .post .ph { border: none; border-radius: 0; }
      .post-list .post img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; display: block; }
      .post-list .post .meta { margin: 16px 20px 0; }
      .post-list .post h3 { font-size: 1.12rem; line-height: 1.35; margin: 7px 20px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
      .post-list .post p { margin: 8px 20px 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
      @media (min-width: 900px) {
        .post-list .post.featured { grid-column: span 2; }
        .post-list .post.featured h3 { font-size: 1.3rem; }
      }

/* ===== Chatbot bao gia ===== */
.hthcb-btn{position:fixed;right:18px;bottom:86px;z-index:95;display:inline-flex;align-items:center;gap:8px;background:var(--red,#c8102e);color:#fff;font-weight:700;font-size:.93rem;border:0;border-radius:999px;padding:13px 20px;cursor:pointer;box-shadow:0 16px 32px -10px rgba(200,16,46,.55);font-family:inherit}
  .hthcb-btn:hover{filter:brightness(1.07)}
  .hthcb-panel{position:fixed;right:18px;bottom:150px;z-index:96;width:min(374px,calc(100vw - 24px));height:min(560px,calc(100dvh - 175px));background:var(--surface,#fff);border:1px solid var(--line,#e6ddcb);border-radius:18px;box-shadow:0 30px 60px -20px rgba(60,44,20,.45);display:none;flex-direction:column;overflow:hidden;font-family:"Be Vietnam Pro",system-ui,sans-serif;color:var(--ink,#221c14)}
  .hthcb-panel.open{display:flex}
  .hthcb-head{background:var(--red,#c8102e);color:#fff;padding:13px 16px;display:flex;align-items:center;gap:11px}
  .hthcb-head .mk{width:38px;height:38px;border-radius:10px;background:#fff;color:var(--red,#c8102e);display:grid;place-items:center;font-weight:700;font-family:"Space Grotesk",sans-serif;font-size:.8rem;flex:none}
  .hthcb-head b{display:block;font-size:.98rem;line-height:1.2}
  .hthcb-head span{font-size:.78rem;opacity:.85}
  .hthcb-x{margin-left:auto;background:rgba(255,255,255,.16);border:0;color:#fff;width:32px;height:32px;border-radius:9px;font-size:1.05rem;cursor:pointer;flex:none}
  .hthcb-msgs{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:8px;background:var(--bg,#fbf9f4)}
  .hthcb-m{max-width:86%;padding:9px 12px;border-radius:14px;font-size:.9rem;line-height:1.5;white-space:pre-line;overflow-wrap:break-word}
  .hthcb-m.bot{align-self:flex-start;background:var(--surface,#fff);border:1px solid var(--line,#e6ddcb);border-bottom-left-radius:5px}
  .hthcb-m.user{align-self:flex-end;background:var(--red,#c8102e);color:#fff;border-bottom-right-radius:5px}
  .hthcb-m.quote{align-self:stretch;max-width:100%;background:var(--red-soft,#fbecec);border:1.5px dashed var(--red,#c8102e);font-size:.92rem}
  .hthcb-chips{display:flex;flex-wrap:wrap;gap:7px;padding:10px 12px;border-top:1px solid var(--line,#e6ddcb);background:var(--surface,#fff);max-height:132px;overflow-y:auto}
  .hthcb-chip{font:inherit;font-size:.85rem;font-weight:600;padding:7px 13px;border-radius:999px;border:1.5px solid var(--red,#c8102e);background:var(--surface,#fff);color:var(--red,#c8102e);cursor:pointer}
  .hthcb-chip:hover{background:var(--red,#c8102e);color:#fff}
  .hthcb-chip.alt{border-color:var(--line,#e6ddcb);color:var(--ink-2,#4c463c)}
  .hthcb-chip.alt:hover{border-color:var(--kraft,#a4713b);background:var(--surface,#fff);color:var(--ink,#221c14)}
  .hthcb-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line,#e6ddcb);background:var(--surface,#fff)}
  .hthcb-form input{flex:1;font:inherit;font-size:.92rem;padding:10px 13px;border:1.5px solid var(--line,#e6ddcb);border-radius:11px;background:var(--surface,#fff);color:inherit;min-width:0}
  .hthcb-form input:focus{outline:2px solid var(--red,#c8102e);outline-offset:0;border-color:transparent}
  .hthcb-form button{font:inherit;font-weight:700;background:var(--red,#c8102e);color:#fff;border:0;border-radius:11px;padding:10px 16px;cursor:pointer;flex:none}
  @media (max-width:560px){.hthcb-panel{left:12px;right:12px;width:auto;bottom:146px;height:min(600px,calc(100dvh - 165px))}}

/* ===== Trang bai viet (than bai) ===== */
.article-wrap{max-width:820px}.article-title{font-size:2.15rem;line-height:1.22;margin:.4em 0 .3em}.article-meta{color:#777;margin:0 0 22px;font-size:.95rem}.article-body p{line-height:1.82;margin:0 0 15px;font-size:1.02rem;color:#26282c}.article-body>p:first-child{font-size:1.15rem;line-height:1.75;color:#3c4046}.article-body h2{font-size:1.5rem;line-height:1.3;margin:32px 0 12px;padding-left:14px;border-left:5px solid #b3232a}.article-body h3{font-size:1.18rem;margin:24px 0 9px}.article-body ul{line-height:1.8;margin:0 0 16px;padding-left:4px;list-style:none}.article-body li{position:relative;padding-left:22px;margin:0 0 7px}.article-body li:before{content:'';position:absolute;left:2px;top:.6em;width:8px;height:8px;border-radius:50%;background:#b3232a}.article-body a{color:#b3232a;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(179,35,42,.35)}.media-frame{position:relative;padding-top:56.25%;border-radius:14px;overflow:hidden;margin:0 0 22px;background:#000}.media-frame img,.media-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.media-frame img{object-fit:cover}

/* SP anh vuong (tui giay kraft co quai/khong quai): vong xoay, the nho va the lien quan giu nguyen anh, khong cat */
.p-frame:has(> img[src^="/api/img?p=tui-giay-kraft-co-quai-va-tui-khong-quai"]) img{object-fit:contain;background:#fbf9f4}
.mini-card .m-media:has(> img[src^="/api/img?p=tui-giay-kraft-co-quai-va-tui-khong-quai"]) img{object-fit:contain;background:#fbf9f4}
.rel-card[href$="tui-giay-kraft-co-quai-va-tui-khong-quai.html"] img{object-fit:contain;background:#fbf9f4}

/* ===== CLS FIX V4.2: reserve dynamic carousel dimensions ===== */
/* The product 3D picker is filled by JavaScript after HTML parsing.
   Reserve its final 189px height before first paint so the content below
   does not jump when the mini product cards are appended. */
.c3d-picker-wrap { height: 189px; min-height: 189px; }
.c3d-picker { height: 189px; min-height: 189px; }
.c3d-picker-wrap > .pick-nav { height: 100%; min-height: 189px; }
