/* Font giao diện mới, lưu trên host (sinh bởi scripts/fonts-theme2.mjs) */
/* vietnamese */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-400-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
/* latin-ext */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* vietnamese */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-500-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
/* latin-ext */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* vietnamese */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-600-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
/* latin-ext */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* vietnamese */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-700-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
/* latin-ext */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/t2/be-vietnam-pro-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* vietnamese */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/t2/lora-500-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
/* latin-ext */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/t2/lora-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/t2/lora-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* vietnamese */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/t2/lora-500-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
/* latin-ext */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/t2/lora-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/t2/lora-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Theme 2 — gọn, ấm, dễ đọc. ~10KB */
:root {
  --bg: #faf6f0; --paper: #fff; --ink: #2b211a; --ink-2: #5c4f44; --muted: #8b7d70;
  --brand: #a17845; --brand-d: #7a5832; --brand-l: #f1e6d6; --gold: #c9a063; --line: #ebe1d3;
  --radius: 16px; --shadow: 0 10px 30px rgba(74, 52, 28, .10);
  --serif: "Lora", Georgia, serif; --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-d); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.3; color: var(--ink); margin: 0 0 .5em; font-weight: 600; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; } .btn-primary:hover { background: var(--brand-d); color: #fff; }
.btn-ghost { border-color: var(--brand); color: var(--brand-d); background: transparent; } .btn-ghost:hover { background: var(--brand-l); }
.btn-light { background: #fff; color: var(--ink); } .btn-light:hover { background: var(--brand-l); color: var(--ink); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin-bottom: 8px; }
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.muted { color: var(--muted); }

/* Header */
.topbar { background: var(--ink); color: #e9dccb; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.topbar a { color: #f3e7d6; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 240, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav > li { list-style: none; position: relative; }
.nav > li > a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav > li > a:hover, .nav > li.on > a { background: var(--brand-l); color: var(--brand-d); }
.nav .sub { position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; margin: 0; }
.nav li:hover > .sub, .nav li:focus-within > .sub { display: block; }
.nav .sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.nav .sub a:hover { background: var(--bg); color: var(--brand-d); }
.nav, .nav .sub { padding: 0; }
.hdr-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.burger { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #241a12; color: #fff; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero .wrap { position: relative; padding: 96px 0 120px; display: grid; gap: 22px; max-width: 640px; margin-left: max(16px, calc((100% - var(--wrap)) / 2)); }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin: 0; }
.hero p { font-size: 18px; color: #f1e6d6; margin: 0; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: #e9dccb; }
.trust b { display: block; font-family: var(--serif); font-size: 26px; color: #fff; }

/* Quick help */
.quick { margin-top: -64px; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick a { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); color: var(--ink); display: grid; gap: 6px; transition: transform .2s; }
.quick a:hover { transform: translateY(-4px); }
.quick .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-l); display: grid; place-items: center; font-size: 22px; }
.quick b { font-family: var(--serif); font-size: 18px; }
.quick span { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Cards */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; color: var(--ink); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--brand-l); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 16px 18px 20px; display: grid; gap: 6px; flex: 1; align-content: start; }
.card h3 { font-size: 18px; margin: 0; }
.card .meta { font-size: 13px; color: var(--muted); }
.card .price { font-weight: 700; color: var(--brand-d); }
.card.product .thumb { aspect-ratio: 1; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand-d); background: var(--brand-l); padding: 2px 10px; border-radius: 999px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #f3e7d6; font-size: 14px; }
.chips a:hover { background: var(--gold); color: var(--ink); }

/* Category pills */
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pills a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px; }
.pills a:hover, .pills a.on { border-color: var(--brand); color: var(--brand-d); background: var(--brand-l); }

/* CTA band */
.band { background: var(--brand); color: #fff; border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 6px; }
.band p { margin: 0; color: #f6ead8; }
.band .cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Article */
.crumbs { font-size: 14px; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); } .crumbs span { margin: 0 6px; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding: 20px 0 64px; align-items: start; }
.article-head h1 { font-size: clamp(30px, 4vw, 44px); }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.article-cover { border-radius: 20px; overflow: hidden; margin-bottom: 28px; }
.prose { font-size: 18px; line-height: 1.8; color: #33281f; max-width: 720px; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .6em; } .prose h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.prose p { margin: 0 0 1.1em; } .prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; } .prose li { margin-bottom: .4em; }
.prose img { border-radius: 14px; margin: 1.2em auto; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--gold); background: var(--brand-l); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.2em 0; } .prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; font-size: 15px; }
.toc b { font-family: var(--serif); font-size: 17px; } .toc ol { margin: 8px 0 0; padding-left: 20px; } .toc li { margin: 4px 0; }
.side { position: sticky; top: 96px; display: grid; gap: 18px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h3 { font-size: 18px; }
.side-cta { background: var(--ink); color: #f3e7d6; border: 0; } .side-cta h3 { color: #fff; }
.mini { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px dashed var(--line); color: var(--ink); font-size: 14px; line-height: 1.45; }
.mini:first-of-type { border-top: 0; } .mini img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.order-card { margin: 32px 0; }

/* Product */
.product-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 20px 0 48px; align-items: start; }
.gallery-main { border-radius: 20px; overflow: hidden; background: #fff; aspect-ratio: 1; } .gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; } .thumbs img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; border: 2px solid transparent; cursor: pointer; }
.thumbs img.on { border-color: var(--brand); }
.product-info h1 { font-size: clamp(28px, 3.5vw, 40px); }
.product-price { font-size: 28px; font-weight: 700; color: var(--brand-d); margin: 8px 0 16px; }
.product-price del { color: var(--muted); font-size: 18px; font-weight: 400; margin-right: 8px; }
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
@media (max-width: 480px) { .buy { grid-template-columns: 1fr; } } /* điện thoại: nút Zalo / Gọi xếp dọc, không tràn mép */
.perks { display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); padding: 16px 0; border-top: 1px solid var(--line); }
.perks div { display: flex; gap: 10px; align-items: center; }

/* Footer */
.ftr { background: var(--footer, #20180f); color: #cdbfae; margin-top: 64px; font-size: 15px; }
.ftr .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 32px; }
.ftr h4 { color: #fff; font-family: var(--serif); font-size: 17px; margin: 0 0 12px; }
.ftr a { color: #cdbfae; } .ftr a:hover { color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr-bottom { border-top: 1px solid #3a2e22; padding: 16px 0; font-size: 13px; color: #8f8171; text-align: center; }
.float-call { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; gap: 8px; }
.float-call a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); font-size: 22px; }
.float-call .z { background: #0068ff; font-weight: 700; font-size: 14px; } .float-call .p { background: #2e7d32; }

/* Responsive */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(3, 1fr); } .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; } .side { position: static; }
  .ftr .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; position: fixed; inset: 72px 0 auto; background: #fff; flex-direction: column; padding: 12px; box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow: auto; }
  .nav.open { display: flex; } .nav .sub { position: static; display: block; box-shadow: none; padding: 0 0 0 12px; }
  .burger { display: grid; } .hdr .btn { display: none; }
  .product-top { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .g3 { grid-template-columns: 1fr; } .quick-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .quick a { padding: 16px; }
  .ftr .wrap { grid-template-columns: 1fr; } .section { padding: 44px 0; } .prose { font-size: 17px; }
  .topbar .hide-sm { display: none; } .band { border-radius: 18px; }
}
.nav > li > a { white-space: nowrap; padding: 10px 11px; }
.toc ol { list-style: none; padding-left: 0; } .toc li a { color: var(--ink-2); }
@media (max-width: 1180px) { .topbar .hide-sm { display: none; } .hdr .btn { padding: 10px 14px; } }
@media (max-width: 520px) { .float-call a { width: 44px; height: 44px; font-size: 18px; } .float-call .z { font-size: 12px; } }
/* Chi tiết dịch vụ */
.svc-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 20px 0 40px; }
.svc-hero h1 { font-size: clamp(32px, 4vw, 48px); margin: 10px 0 12px; }
.svc-lead { font-size: 18px; color: var(--ink-2); margin: 0 0 20px; }
.svc-price { display: inline-flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 20px; margin-bottom: 20px; }
.svc-price span { font-size: 13px; color: var(--muted); } .svc-price b { font-size: 26px; color: var(--brand-d); font-family: var(--serif); }
.svc-hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.svc-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: 18px; }
.svc-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; } .svc-img img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 10px; }
.step h3 { font-size: 18px; margin-bottom: 4px; } .step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.pk-book { display: grid; gap: 10px; }
.pk-book input, .pk-book textarea, .pk-book select { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); width: 100%; color: inherit; }
.pk-book select { appearance: none; padding-right: 36px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23666' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.pk-book select:invalid { color: var(--muted); } /* đang hiện chữ gợi ý (lựa chọn trống) */
.pk-book input:focus, .pk-book textarea:focus, .pk-book select:focus { outline: 2px solid var(--brand-l); border-color: var(--brand); }
.pk-book .btn { justify-content: center; width: 100%; }
.pk-book .message { padding: 10px; border-radius: 10px; font-size: 14px; } .pk-book .message.success { background: #e8f5e9; color: #1b5e20; } .pk-book .message.error { background: #ffebee; color: #b71c1c; }
@media (max-width: 860px) { .svc-hero { grid-template-columns: 1fr; } .svc-img { order: -1; } .steps { grid-template-columns: 1fr 1fr; } }

/* ---------- Bản chính thức: thành phần dùng chung ---------- */
.nav > li.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.sub-toggle { display: none; }
.nav .sub { max-height: 70vh; overflow: auto; }
.h-sans { font-family: var(--sans) !important; font-weight: 600 !important; font-size: 15px !important; line-height: 1.45 !important; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .thumb { position: relative; }
.badge { position: absolute; top: 10px; left: 10px; background: #c62828; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.card .price del, .product-price del { color: var(--muted); font-weight: 400; font-size: .85em; margin-right: 6px; }
.card .price ins, .product-price ins { text-decoration: none; }
.card .price .screen-reader-text, .product-price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.card.expert .thumb { aspect-ratio: 4/5; }
.btn-ghost.on-dark { border-color: #fff; color: #fff; } .btn-ghost.on-dark:hover { background: rgba(255,255,255,.12); color: #fff; }
.tag.ghost { position: absolute; z-index: 1; margin: 10px; background: rgba(255,255,255,.92); }
.search-item { position: relative; display: flex; } .search-item > .card { flex: 1; }
.prose a { color: var(--brand-d); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.prose iframe { max-width: 100%; }
.link-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; }
.link-list a { display: block; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.link-list a:hover { color: var(--brand-d); }

/* Tìm kiếm + gợi ý */
.search-panel { border-top: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.search-panel .wrap { display: block; height: auto; padding: 16px 0 18px; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.search-form input:focus { outline: 2px solid var(--brand-l); border-color: var(--brand); }
.search-form.big { max-width: 720px; }
.search-suggest { max-height: min(62vh, 560px); overflow: auto; }
.ss-hint { margin: 14px 4px 0; color: var(--muted); font-size: 14px; }
.ss-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 6px 24px; margin-top: 14px; }
.ss-head { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); padding: 8px 6px 4px; }
.ss-head span { color: var(--muted); font-weight: 500; }
.ss-item { display: flex; gap: 12px; align-items: center; padding: 7px 8px; border-radius: 10px; color: var(--ink); font-size: 15px; line-height: 1.4; }
.ss-item:hover, .ss-item.on { background: var(--bg); color: var(--ink); }
.ss-item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ss-ico { width: 44px; height: 44px; border-radius: 8px; background: var(--brand-l); display: grid; place-items: center; color: var(--brand-d); flex-shrink: 0; font-weight: 700; }
.ss-t small { display: block; color: var(--brand-d); font-weight: 600; font-size: 13px; }
.ss-item mark { background: #f6e7c8; color: inherit; border-radius: 3px; padding: 0 1px; }
.ss-all { display: block; margin-top: 10px; padding: 12px; text-align: center; border-top: 1px solid var(--line); font-weight: 600; }

/* Danh sách / phân trang */
.archive-head { padding: 18px 0 8px; }
.archive-head h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 8px; }
.archive-intro { color: var(--ink-2); max-width: 820px; } .archive-intro p { margin: 0 0 .6em; }
.archive-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 18px; font-size: 14px; }
.t2-sort { font: inherit; padding: 9px 34px 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a17845' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; }
.pills span { padding: 8px 16px; border-radius: 999px; background: var(--brand-l); color: var(--brand-d); font-size: 14px; }
.pills.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; } .pills.scroll a { white-space: nowrap; }
.pager { margin: 36px 0 12px; }
.pager .page-numbers { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 0; }
.pager a.page-numbers, .pager span.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; }
.pager a.page-numbers:hover { border-color: var(--brand); color: var(--brand-d); }
.pager span.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager span.dots { border: 0; background: none; }
.empty { padding: 32px 0; }

/* Trang tĩnh */
.page-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 20px 0 48px; max-width: 860px; }
.page-wrap.with-form { grid-template-columns: minmax(0, 1fr) 360px; max-width: none; }
.page-title { font-size: clamp(30px, 4vw, 44px); }
.page-wrap .prose { max-width: none; }
.page-wrap .prose img { display: inline-block; margin: .6em 0; }
.expert-hero { grid-template-columns: .8fr 1.2fr; } .expert-hero .svc-img { aspect-ratio: 4/5; }

@media (max-width: 860px) {
  .nav > li { display: flex; flex-wrap: wrap; align-items: center; }
  .nav > li > a { flex: 1; }
  .nav > li.has-sub > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
  .sub-toggle::before { content: ""; width: 8px; height: 8px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
  .nav > li.sub-open .sub-toggle::before { transform: rotate(-135deg); }
  .nav .sub { display: none; width: 100%; max-height: none; }
  .nav > li.sub-open > .sub { display: block; }
  .nav li:hover > .sub { display: none; } .nav > li.sub-open:hover > .sub { display: block; }
  .page-wrap.with-form { grid-template-columns: 1fr; }
  .link-list { grid-template-columns: 1fr; }
  .expert-hero { grid-template-columns: 1fr; } .expert-hero .svc-img { order: 0; max-width: 420px; }
  .ss-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .search-form input { font-size: 16px; } .archive-bar { flex-wrap: wrap; } }
/* nội dung cũ có phần tử cố định chiều rộng (ảnh, bảng, iframe) → không cho đẩy tràn khung */
.article-wrap > *, .page-wrap > *, .product-top > *, .svc-hero > * { min-width: 0; }
.prose { overflow-wrap: break-word; }
.prose img, .prose video, .prose iframe, .prose figure, .prose div { max-width: 100% !important; }
.prose img { height: auto !important; }
.prose table { display: block; overflow-x: auto; }
@media (max-width: 1024px) { .article-wrap { grid-template-columns: minmax(0, 1fr); } }
.prose figure { margin: 1.2em 0; width: auto !important; } .prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: -6px; }
.hdr-actions { margin-left: auto; }
/* Nút đổi ngôn ngữ (chỉ khi bật đa ngôn ngữ): VI | EN dạng viên gọn cạnh các nút đầu trang */
.lang-sw { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: #fff; }
.lang-sw a { min-width: 34px; height: 34px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); text-decoration: none; }
.lang-sw a:hover { color: var(--ink); }
.lang-sw a.on { background: var(--brand); color: #fff; }
/* điện thoại: chỉ hiện nút sang ngôn ngữ kia (đủ chỗ cho nút menu), tên thương hiệu co lại khi chật */
@media (max-width: 520px) { .lang-sw { padding: 0; } .lang-sw a { min-width: 36px; height: 36px; padding: 0 6px; font-size: 12px; } .lang-sw a.on { display: none; }
  .hdr .logo { min-width: 0; flex: 0 1 auto; } .hdr .logo-text { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hdr-actions { gap: 6px; flex: none; } }
@media (max-width: 420px) { .hdr .logo-text { font-size: 19px; } }

/* Thương hiệu: logo chữ khi chưa có ảnh logo, logo footer đổi sang màu sáng */
.logo-text { font: 600 22px/1.2 var(--serif); color: var(--ink); white-space: nowrap; }
.ftr-logo { filter: brightness(0) invert(.85); margin-bottom: 14px; height: 44px; width: auto; }
.ftr-name { font: 600 22px/1.2 var(--serif); color: #fff; margin-bottom: 12px; }
/* Kiểu nội dung tuỳ chỉnh: trang chi tiết + bộ lọc danh sách */
.ct-single { padding-bottom: 56px; }
.ct-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; margin: 22px 0 32px; }
.ct-head.no-img { grid-template-columns: 1fr; }
.ct-img img { width: 100%; border-radius: var(--radius); }
.ct-info h1 { font-size: clamp(28px, 3.6vw, 40px); }
.ct-lead { color: var(--ink-2); margin: 0 0 18px; }
.ct-facts { margin: 0 0 20px; border-top: 1px solid var(--line); }
.ct-facts > div { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ct-facts dt { color: var(--muted); font-size: 14.5px; } .ct-facts dd { margin: 0; font-weight: 500; }
.ct-body, .ct-block { margin: 0 0 32px; }
.ct-block h2, .ct-related h2 { font-size: clamp(22px, 2.6vw, 28px); }
.ct-related { margin-top: 48px; }
.ct-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 8px 0 28px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.ct-filters label { display: grid; gap: 4px; flex: 1 1 180px; font-size: 13.5px; color: var(--muted); }
.ct-filters select, .ct-filters input { font: inherit; font-size: 15px; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.ct-filters .btn { padding: 10px 20px; }
@media (max-width: 800px) { .ct-head { grid-template-columns: 1fr; gap: 20px; } .ct-filters > .btn { flex: 1 1 auto; justify-content: center; } }

/* ================= Chuyển động & menu điện thoại =================
   Khối hiện dần khi cuộn (.rv → .in, theme2.js), nút có độ nảy nhẹ, header đổ bóng khi cuộn, ảnh tải chậm hiện dần.
   Người dùng bật "giảm chuyển động" trong hệ điều hành → tắt hết. */
.btn { justify-content: center; text-align: center; transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .2s cubic-bezier(.2,.7,.2,1); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.35); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.buy .btn, .cta .btn { justify-content: center; }
.icon-btn { transition: background-color .2s, border-color .2s, transform .2s; } .icon-btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.nav > li > a, .nav .sub a { transition: background-color .2s, color .2s; }
.hdr { transition: box-shadow .3s, background-color .3s; } .hdr.scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.35); }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.card.rv.in:hover { transform: translateY(-3px); }
img.lz { opacity: 0; transition: opacity .5s ease; } img.lz.ok { opacity: 1; }
.search-panel:not([hidden]) { animation: t2-drop .25s cubic-bezier(.2,.7,.2,1); }
@keyframes t2-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 861px) { .nav .sub { animation: t2-drop .2s ease; } }

/* nút ☰ (3 vạch) → ✕ khi mở */
.burger { position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.2,.7,.2,1), top .35s cubic-bezier(.2,.7,.2,1), opacity .2s; }
.burger i:nth-child(1) { top: calc(50% - 7px); } .burger i:nth-child(2) { top: calc(50% - 1px); } .burger i:nth-child(3) { top: calc(50% + 5px); }
.burger[aria-expanded="true"] i:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger[aria-expanded="true"] i:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }

@media (max-width: 860px) {
  /* nền mờ (backdrop-filter) làm phần tử fixed bên trong bị nhốt trong header → điện thoại dùng nền đặc */
  .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250, 246, 240, .98); }
  .burger { z-index: 95; }
  .nav { display: flex; position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 84px 20px 28px;
    flex-direction: column; gap: 0; background: var(--paper, #fff); box-shadow: -30px 0 60px -20px rgba(0,0,0,.3); overflow-y: auto; overscroll-behavior: contain; z-index: 90;
    transform: translateX(105%); visibility: hidden; transition: transform .45s cubic-bezier(.22,.8,.2,1), visibility 0s linear .45s; }
  .nav.open { display: flex; transform: none; visibility: visible; transition: transform .45s cubic-bezier(.22,.8,.2,1); }
  .nav > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(28px); transition: opacity .3s, transform .3s; }
  .nav.open > li { opacity: 1; transform: none; transition: opacity .45s ease, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(.12s + var(--i, 0) * .045s); }
  .nav > li > a { font-size: 17px; padding: 15px 4px; white-space: normal; border-radius: 0; }
  .nav > li > a:hover, .nav > li.on > a { background: none; color: var(--brand); }
  .nav > li.on > a { font-weight: 700; }
  .nav > li.sub-open > .sub { animation: t2-drop .3s ease; padding-bottom: 8px; }
  .nav .sub a { font-size: 15px; padding: 10px 12px; }
  .nav .nav-cta { border: 0; margin-top: auto; padding-top: 24px; }
  .nav .nav-cta .btn, .nav .nav-cta .btn:hover { display: flex; width: 100%; padding: 14px 20px; font-size: 16px; color: #fff; border-radius: 999px; background: var(--brand); }
  .nav-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(17, 24, 39, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .4s ease; }
  body.nav-open { overflow: hidden; }
  body.nav-open .icfc { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
/* nhãn danh mục trong thẻ (lưới grid) chỉ rộng theo chữ */
.card .body > .tag { justify-self: start; }
/* cuộn mượt khi bấm link neo (#dat-lich…), chừa chỗ cho header dính; viền khi dùng bàn phím; bỏ vệt xám khi chạm trên điện thoại */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
a, button, .btn { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* chân trang điện thoại: 2 cột menu cạnh nhau, giới thiệu + liên hệ chiếm cả hàng */
@media (max-width: 520px) {
  .ftr .wrap { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ftr .wrap > div:first-child, .ftr .wrap > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) { .ftr-bottom { padding-bottom: 92px; } } /* chừa chỗ cho nút liên hệ nổi, không che dòng cuối */

/* ================= Kiểu đầu trang / chân trang / menu điện thoại (Thương hiệu → AI dựng giao diện chọn được) =================
   Lớp trên <body> (layout.eta) chỉ có khi khác mặc định: hs-* kiểu đầu trang, ht-* màu đầu trang, tb-* dải trên cùng,
   hs-nosticky, mm-* / mmt-* menu điện thoại; chân trang: lớp fs-* / ft-* trên .ftr. Mặc định = giao diện như cũ. */
.nav-split-l { display: none; }
.hs-nosticky .hdr { position: relative; }

/* dải trên cùng */
.tb-brand .topbar { background: var(--brand); color: #fff; } .tb-brand .topbar a { color: #fff; }
.tb-light .topbar { background: var(--paper, #fff); color: var(--ink-2); border-bottom: 1px solid var(--line); } .tb-light .topbar a { color: var(--brand-d); }

/* màu đầu trang: dark / brand (chữ, nút biểu tượng sáng; menu máy tính chữ sáng — ngăn kéo điện thoại giữ màu riêng) */
.ht-dark .hdr { background: #17120d; border-bottom-color: rgba(255,255,255,.08); }
.ht-brand .hdr { background: var(--brand); border-bottom-color: rgba(255,255,255,.15); }
.ht-dark .hdr .logo-text, .ht-brand .hdr .logo-text { color: #fff; }
.ht-dark .hdr .logo img, .ht-brand .hdr .logo img { filter: brightness(0) invert(1); }
.ht-dark .hdr .icon-btn, .ht-brand .hdr .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
.ht-dark .lang-sw, .ht-brand .lang-sw { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); } .ht-dark .lang-sw a, .ht-brand .lang-sw a { color: rgba(255,255,255,.75); }
.ht-brand .hdr .btn-primary { background: #fff; color: var(--brand-d); } .ht-brand .hdr .btn-primary:hover { background: var(--brand-l); color: var(--brand-d); }
.ht-brand .lang-sw a.on { background: #fff; color: var(--brand-d); }
@media (min-width: 861px) {
  /* (minimal: menu nằm trong ngăn kéo sáng → không đổi màu chữ) */
  body:not(.hs-minimal).ht-dark .nav > li > a, body:not(.hs-minimal).ht-brand .nav > li > a, .ht-dark.hs-split .nav-split-l a, .ht-brand.hs-split .nav-split-l a { color: rgba(255,255,255,.88); }
  body:not(.hs-minimal).ht-dark .nav > li > a:hover, body:not(.hs-minimal).ht-dark .nav > li.on > a, body:not(.hs-minimal).ht-brand .nav > li > a:hover, body:not(.hs-minimal).ht-brand .nav > li.on > a,
  .ht-dark.hs-split .nav-split-l a:hover, .ht-dark.hs-split .nav-split-l li.on a, .ht-brand.hs-split .nav-split-l a:hover, .ht-brand.hs-split .nav-split-l li.on a { background: rgba(255,255,255,.14); color: #fff; }
}
@media (max-width: 860px) { .ht-dark .hdr { background: #17120d; } .ht-brand .hdr { background: var(--brand); } }

/* glass: trong suốt đè lên banner ảnh nền ở đầu trang (header vẫn chiếm chỗ → margin âm, không xô bố cục); cuộn xuống → nền sáng */
.ht-glass .hdr { margin-bottom: -73px; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ht-glass .hdr:not(.scrolled) .logo-text, .ht-glass .hdr:not(.scrolled) .icon-btn { color: #fff; }
.ht-glass .hdr:not(.scrolled) .logo img { filter: brightness(0) invert(1); }
.ht-glass .hdr:not(.scrolled) .icon-btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.ht-glass .hdr:not(.scrolled) .lang-sw { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); } .ht-glass .hdr:not(.scrolled) .lang-sw a:not(.on) { color: rgba(255,255,255,.8); }
.ht-glass .hdr.scrolled { background: rgba(250, 246, 240, .97); border-bottom-color: var(--line); }
.ht-glass #main > .blk-hero:first-child .hero-in { padding-top: 150px; }
.ht-glass #main > .hero-slider:first-child .hero-cap { padding-top: 73px; }
@media (min-width: 861px) {
  body:not(.hs-minimal).ht-glass .hdr:not(.scrolled) .nav > li > a, .ht-glass.hs-split .hdr:not(.scrolled) .nav-split-l a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
  body:not(.hs-minimal).ht-glass .hdr:not(.scrolled) .nav > li > a:hover, body:not(.hs-minimal).ht-glass .hdr:not(.scrolled) .nav > li.on > a,
  .ht-glass.hs-split .hdr:not(.scrolled) .nav-split-l a:hover, .ht-glass.hs-split .hdr:not(.scrolled) .nav-split-l li.on a { background: rgba(255,255,255,.16); color: #fff; }
}
@media (max-width: 860px) { .ht-glass .hdr { background: transparent; } .ht-glass .hdr.scrolled { background: rgba(250, 246, 240, .98); } .ht-glass #main > .blk-hero:first-child .hero-in { padding-top: 120px; } }
/* nút ☰ / ✕ khi menu mở: luôn là nút tròn sáng, nhìn rõ trên mọi màu ngăn kéo / nền mờ; ẩn nút liên hệ nổi (mọi cỡ màn hình) */
.nav-open .hdr .burger { background: #fff; color: var(--ink); border-color: var(--line); }
body.nav-open .icfc { opacity: 0; pointer-events: none; }

/* kiểu đầu trang trên máy tính (điện thoại: như classic) */
@media (min-width: 861px) {
  /* center: logo giữa hàng trên, menu căn giữa hàng dưới, nút ở góc phải hàng trên */
  .hs-center .hdr .wrap { position: relative; flex-wrap: wrap; justify-content: center; height: auto; padding: 14px 0 0; gap: 0; }
  .hs-center .hdr .logo { order: 1; flex: 0 0 100%; display: flex; justify-content: center; padding: 6px 0 12px; }
  .hs-center .hdr .hdr-actions { position: absolute; right: 0; top: 18px; margin: 0; }
  .hs-center .hdr nav { order: 2; flex: 0 0 100%; border-top: 1px solid var(--line); }
  .hs-center .nav { margin: 0; justify-content: center; padding: 6px 0; }
  .ht-dark.hs-center .hdr nav, .ht-brand.hs-center .hdr nav { border-top-color: rgba(255,255,255,.12); }
  .ht-glass.hs-center .hdr { margin-bottom: -133px; } .ht-glass.hs-center #main > .blk-hero:first-child .hero-in { padding-top: 210px; }
  /* split: nửa đầu menu bên trái logo, nửa sau + nút bên phải; logo ở giữa */
  .hs-split .hdr .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; }
  .hs-split .nav-split-l { display: block; justify-self: end; }
  .hs-split .nav-split-l ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
  .hs-split .nav-split-l a { display: block; padding: 10px 11px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: 15px; white-space: nowrap; transition: background-color .2s, color .2s; }
  .hs-split .nav-split-l a:hover, .hs-split .nav-split-l li.on a { background: var(--brand-l); color: var(--brand-d); }
  .hs-split .hdr .logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .hs-split .hdr nav[aria-label] { grid-column: 3; grid-row: 1; justify-self: start; }
  .hs-split .nav { margin-left: 0; } .hs-split .nav > li.split-l { display: none; }
  .hs-split .hdr-actions { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; }
  /* minimal: chỉ logo + nút + ☰ — menu luôn mở bằng ngăn kéo */
  .hs-minimal .hdr .nav { display: flex; position: fixed; inset: 0 0 0 auto; width: 380px; height: 100vh; height: 100dvh; margin: 0; padding: 84px 22px 28px;
    flex-direction: column; gap: 0; background: var(--paper, #fff); box-shadow: -30px 0 60px -20px rgba(0,0,0,.3); overflow-y: auto; overscroll-behavior: contain; z-index: 90;
    transform: translateX(105%); visibility: hidden; transition: transform .45s cubic-bezier(.22,.8,.2,1), visibility 0s linear .45s; }
  .hs-minimal .hdr .nav.open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.22,.8,.2,1); }
  .hs-minimal .nav > li { border-bottom: 1px solid var(--line); flex-wrap: wrap; display: flex; align-items: center; opacity: 0; transform: translateX(28px); transition: opacity .3s, transform .3s; }
  .hs-minimal .nav.open > li { opacity: 1; transform: none; transition: opacity .45s ease, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(.12s + var(--i, 0) * .045s); }
  .hs-minimal .nav > li > a { flex: 1; font-size: 18px; padding: 15px 4px; color: var(--ink); background: none; border-radius: 0; }
  .hs-minimal .nav > li > a:hover, .hs-minimal .nav > li.on > a { background: none; color: var(--brand); }
  .hs-minimal .nav > li.has-sub > a::after { display: none; }
  .hs-minimal .nav .sub { position: static; display: none; width: 100%; box-shadow: none; padding: 0 0 8px 12px; max-height: none; }
  .hs-minimal .nav > li.sub-open > .sub { display: block; } .hs-minimal .nav li:hover > .sub { display: none; } .hs-minimal .nav > li.sub-open:hover > .sub { display: block; }
  .hs-minimal .sub-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
  .hs-minimal .sub-toggle::before { content: ""; width: 8px; height: 8px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
  .hs-minimal .nav > li.sub-open .sub-toggle::before { transform: rotate(-135deg); }
  .hs-minimal.mmt-dark .sub-toggle::before, .hs-minimal.mmt-brand .sub-toggle::before { border-color: rgba(255,255,255,.8); }
  .hs-minimal .nav .nav-cta { border: 0; margin-top: auto; padding-top: 24px; }
  .hs-minimal .nav .nav-cta .btn { display: flex; width: 100%; padding: 14px 20px; color: #fff; background: var(--brand); border-radius: 999px; }
  .hs-minimal .burger { display: grid; z-index: 95; } .hs-minimal .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hs-minimal .nav-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(17, 24, 39, .45); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
  .hs-minimal.nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .4s ease; }
  .hs-minimal.nav-open { overflow: hidden; }
  .hs-minimal.mm-left .hdr .nav { inset: 0 auto 0 0; transform: translateX(-105%); }
  .hs-minimal.mm-left .hdr .nav.open { transform: none; }
  .hs-minimal.mmt-dark .hdr .nav { background: #17120d; } .hs-minimal.mmt-brand .hdr .nav { background: var(--brand); }
  .hs-minimal.mmt-dark .nav > li > a, .hs-minimal.mmt-brand .nav > li > a { color: rgba(255,255,255,.9); }
  .hs-minimal.mmt-dark .nav > li, .hs-minimal.mmt-brand .nav > li { border-bottom-color: rgba(255,255,255,.12); }
}

/* menu điện thoại: left (ngăn kéo trái) | full (phủ màn hình) | sheet (trượt từ dưới) */
@media (max-width: 860px) {
  .mm-left .nav { inset: 0 auto 0 0; transform: translateX(-105%); box-shadow: 30px 0 60px -20px rgba(0,0,0,.3); }
  .mm-left .nav > li { transform: translateX(-28px); }
  .mm-full .nav { inset: 0; width: 100%; padding: 96px 28px 32px; justify-content: center; text-align: center; transform: none; opacity: 0; box-shadow: none;
    transition: opacity .35s ease, visibility 0s linear .35s; }
  .mm-full .nav.open { opacity: 1; transition: opacity .35s ease; }
  .mm-full .nav > li { border: 0; justify-content: center; transform: translateY(18px); }
  .mm-full .nav > li:not(.nav-cta) > a { flex: 0 1 auto; font-family: var(--serif); font-size: 28px; padding: 10px 6px; }
  .mm-full .nav .sub { text-align: center; padding: 0 0 10px; } .mm-full .nav .nav-cta { margin-top: 28px; width: min(320px, 100%); align-self: center; }
  .mm-sheet .nav { inset: auto 0 0 0; width: 100%; height: auto; max-height: 85vh; max-height: 85dvh; border-radius: 22px 22px 0 0; padding: 30px 22px calc(26px + env(safe-area-inset-bottom));
    transform: translateY(105%); box-shadow: 0 -24px 60px -20px rgba(0,0,0,.35); }
  .mm-sheet .nav::before { content: ""; position: absolute; top: 10px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: var(--line); }
  .mm-sheet .nav > li { transform: translateY(14px); } .mm-sheet .nav .nav-cta { margin-top: 18px; padding-top: 0; }
  /* trạng thái mở thắng các vị trí ẩn ở trên (cùng độ ưu tiên, viết sau) */
  .mm-left .nav.open, .mm-sheet .nav.open, .mm-left .nav.open > li, .mm-full .nav.open > li, .mm-sheet .nav.open > li { transform: none; }
  /* màu menu điện thoại */
  .mmt-dark .nav { background: #17120d; } .mmt-brand .nav { background: var(--brand); }
  .mmt-dark .nav > li, .mmt-brand .nav > li { border-bottom-color: rgba(255,255,255,.12); }
  .mmt-dark .nav > li > a, .mmt-brand .nav > li > a, .mmt-dark .nav .sub a, .mmt-brand .nav .sub a { color: rgba(255,255,255,.9); }
  .mmt-dark .nav > li > a:hover, .mmt-dark .nav > li.on > a { color: var(--gold, #e0b887); } .mmt-brand .nav > li > a:hover, .mmt-brand .nav > li.on > a { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
  .mmt-dark .sub-toggle::before, .mmt-brand .sub-toggle::before { border-color: rgba(255,255,255,.8); }
  .mmt-brand .nav .nav-cta .btn, .mmt-brand .nav .nav-cta .btn:hover { background: #fff; color: var(--brand-d); }
  .mmt-dark.mm-sheet .nav::before, .mmt-brand.mm-sheet .nav::before { background: rgba(255,255,255,.3); }
}

/* chân trang: màu (light / brand) */
.ftr.ft-light { background: var(--paper, #fff); color: var(--ink-2); border-top: 1px solid var(--line); }
.ftr.ft-light h4, .ftr.ft-light .ftr-name { color: var(--ink); } .ftr.ft-light a { color: var(--ink-2); } .ftr.ft-light a:hover { color: var(--brand); }
.ftr.ft-light .ftr-bottom { border-top-color: var(--line); color: var(--muted); } .ftr.ft-light .ftr-logo { filter: none; }
.ftr.ft-light .chips a { background: var(--brand-l); color: var(--brand-d); }
.ftr.ft-brand { background: var(--brand); color: rgba(255,255,255,.85); }
.ftr.ft-brand h4, .ftr.ft-brand .ftr-name { color: #fff; } .ftr.ft-brand a { color: rgba(255,255,255,.85); } .ftr.ft-brand a:hover { color: #fff; }
.ftr.ft-brand .ftr-bottom { border-top-color: rgba(255,255,255,.2); color: rgba(255,255,255,.7); } .ftr.ft-brand .ftr-logo { filter: brightness(0) invert(1); }
.ftr.ft-brand .chips a { background: rgba(255,255,255,.15); color: #fff; }
/* chân trang: centered / minimal */
.ftr.fs-centered .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 56px 0 28px; }
.ftr.fs-centered .ftr-brand p { max-width: 560px; margin: 8px auto 0; }
.ftr.fs-centered .ftr-logo { margin: 0 auto; }
.ftr-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.ftr-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; }
.ftr.fs-centered .chips { justify-content: center; }
.ftr.fs-minimal .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px 0; flex-wrap: wrap; }
.ftr.fs-minimal .ftr-name { font-size: 18px; margin: 0; } .ftr.fs-minimal .ftr-logo { margin: 0; height: 34px; }
.ftr.fs-minimal .ftr-links { gap: 6px 20px; font-size: 14px; } .ftr-copy { font-size: 13px; opacity: .75; }
@media (max-width: 860px) { .ftr.fs-minimal .wrap { flex-direction: column; text-align: center; padding-bottom: 96px; } .ftr.fs-minimal .ftr-links { justify-content: center; } }
@media (max-width: 520px) { .ftr.fs-centered .wrap > div:first-child, .ftr.fs-centered .wrap > div:last-child, .ftr.fs-minimal .wrap > div:first-child, .ftr.fs-minimal .wrap > div:last-child { grid-column: auto; } }
/* chân trang: dải kêu gọi phía trên (cta) — màu theo footerTheme */
.ftr-cta { background: var(--brand); color: #fff; margin-top: 64px; }
.ftr-cta + .ftr { margin-top: 0; }
.ftr-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 44px 0; flex-wrap: wrap; }
.ftr-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); } .ftr-cta p { margin: 0; opacity: .88; }
.ftr-cta .btn { padding: 14px 26px; font-size: 16px; }
.ftr-cta.ft-brand { background: var(--brand-d); }
.ftr-cta.ft-light { background: var(--brand-l); color: var(--ink); } .ftr-cta.ft-light h2 { color: var(--ink); } .ftr-cta.ft-light .btn { background: var(--brand); color: #fff; }
@media (max-width: 860px) { .ftr-cta .wrap { flex-direction: column; text-align: center; } }
/* chân trang tối giản: chừa chỗ cho nút liên hệ nổi (góc dưới trái) */
.ftr.fs-minimal { padding-bottom: 84px; }

/* Hộp tác giả cuối bài viết (hồ sơ tài khoản — src/authors.js) */
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 32px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box small { color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.author-box h3 { margin: 2px 0 2px; font-size: 20px; }
.author-box .author-title { margin: 0 0 8px; color: var(--ink-2, #555); font-size: 14.5px; }
.author-box .author-bio { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
.author-links { display: flex; flex-wrap: wrap; gap: 8px; }
.author-links a { padding: 4px 12px; border-radius: 99px; background: var(--brand-l); color: var(--brand-d); font-size: 13.5px; text-decoration: none; }
.author-links a:hover { background: var(--brand); color: #fff; }
@media (max-width: 560px) { .author-box { flex-direction: column; gap: 12px; padding: 18px; } .author-box img { width: 72px; height: 72px; } }

/* Trường thêm (src/field-view.js, partials/cf-facts + cf-sections) */
.cf-facts { margin: 16px 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 20px; border-top: 1px solid var(--line); }
.cf-facts > div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cf-facts dt { color: var(--muted); font-size: 13.5px; } .cf-facts dd { margin: 0; font-weight: 600; }
.cf-inline > .blk { padding: 28px 0 0; background: none; } .cf-inline > .blk > .wrap { padding: 0; max-width: none; width: auto; }
.cf-inline .section-head, .cf-inline .center { text-align: left; } .cf-inline .blk h2 { font-size: clamp(22px, 2.4vw, 26px); }
.cf-sec h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 14px; }
.cf-specs { width: 100%; border-collapse: collapse; } .cf-specs th, .cf-specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cf-specs th { width: 38%; color: var(--muted); font-weight: 500; } .cf-specs tr:nth-child(odd) { background: var(--bg); }
.cf-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .cf-check li { position: relative; padding-left: 30px; }
.cf-check li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-l); color: var(--brand-d); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cf-check span { color: var(--muted); }
.cf-table-wrap { overflow-x: auto; } .cf-table { width: 100%; border-collapse: collapse; font-size: 15px; } .cf-table th, .cf-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; } .cf-table th { background: var(--bg); font-weight: 600; } .cf-table img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.cf-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cf-file { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cf-file:hover { border-color: var(--brand); box-shadow: 0 6px 18px -10px rgba(0,0,0,.25); }
.cf-ext { flex: none; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: #64748b; }
.cf-ext-pdf { background: #dc2626; } .cf-ext-docx { background: #2563eb; } .cf-ext-xlsx { background: #16a34a; } .cf-ext-pptx { background: #ea580c; }
.cf-ft { flex: 1; min-width: 0; display: grid; } .cf-ft b { font-size: 15px; line-height: 1.35; } .cf-ft small { color: var(--muted); font-size: 12.5px; }
.cf-dl { font-size: 20px; color: var(--brand); }
.cf-modal { position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 42, .55); display: grid; place-items: center; padding: 16px; animation: cfIn .2s ease; }
.cf-box { position: relative; width: min(420px, 100%); background: #fff; border-radius: 16px; padding: 26px 24px 22px; display: grid; gap: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.cf-box h3 { margin: 0; } .cf-box .cf-fname { margin: 0; font-weight: 600; color: var(--brand-d); } .cf-box .muted { margin: 0 0 4px; font-size: 14px; }
.cf-box input { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.cf-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
@keyframes cfIn { from { opacity: 0; } to { opacity: 1; } }
.cf-chips { list-style: none; padding: 0; margin: 6px 0 4px; display: flex; flex-wrap: wrap; gap: 4px 6px; } .cf-chips li { font-size: 12.5px; padding: 2px 9px; border-radius: 99px; background: var(--brand-l); color: var(--brand-d); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cf-cta-main { margin: 32px 0 8px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--brand-l); scroll-margin-top: 90px; }
.cf-cta-main h3 { margin: 0 0 6px; font-size: 22px; } .cf-cta-text { margin: 0 0 14px; color: var(--muted); }
.cf-cta-main .bk, .cf-cta-main .diag, .cf-cta-side .bk { max-width: none; margin: 0; box-shadow: none; } .cf-cta-side .bk { padding: 0; border: 0; }
.cf-cta-main form.cf-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .cf-cta-main form.cf-quote textarea, .cf-cta-main form.cf-quote button { grid-column: 1 / -1; }
.cf-cta-main form.cf-quote input, .cf-cta-main form.cf-quote textarea { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.cf-cta-side .cf-cta-btn, .cf-cta-main .cf-cta-btn { justify-content: center; }
@media (max-width: 560px) { .cf-cta-main { padding: 18px; } .cf-cta-main form.cf-quote { grid-template-columns: 1fr; } }
.cf-review { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #ecfdf5; color: #065f46; font-size: 14px; }
.cf-review img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; } .cf-review span { display: grid; } .cf-review small { color: #047857; font-size: 12.5px; }

/* Builder dạng khối (templates/theme2/partials/block.eta) — nằm sau theme2.css */
.blk { padding: 64px 0; }
.blk.sp-compact { padding: 36px 0; } .blk.sp-large { padding: 96px 0; }
.blk.bg-light { background: var(--bg); } .blk.bg-paper { background: #fff; } .blk.bg-tint { background: var(--brand-l); }
.blk.bg-dark { background: #241a12; color: #e9dccb; } .blk.bg-dark h2, .blk.bg-dark h3 { color: #fff; } .blk.bg-dark .muted, .blk.bg-dark .blk-intro { color: #cdbfae; }
.blk.bg-brand { background: var(--brand); color: #fff; } .blk.bg-brand h2, .blk.bg-brand h3, .blk.bg-brand .eyebrow { color: #fff; } .blk.bg-brand .blk-intro { color: #f6ead8; }
.wrap.narrow { max-width: 820px; }
.blk-head { margin-bottom: 32px; max-width: 760px; } .blk-head.center, .center { text-align: center; margin-inline: auto; }
.blk-head h2, .blk-title { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 10px; }
.blk-intro { font-size: 17px; color: var(--ink-2); margin: 0; }
.blk .prose { max-width: none; }
.blk.bg-light + .blk.bg-light { padding-top: 0; } /* hai khối liền nhau cùng nền sáng: không nhân đôi khoảng cách */

/* Banner */
.blk-hero { position: relative; overflow: hidden; }
.blk-hero h1, .blk-hero h2 { font-size: clamp(34px, 5vw, 56px); margin: 0; line-height: 1.2; }
.hero-lead { font-size: 18px; margin: 0; }
.blk-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-txt { display: grid; gap: 20px; }
.hero-cover { background: #241a12; color: #f1e6d6; }
.hero-cover img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-cover .hero-in { position: relative; padding: 72px 0 88px; } .hero-cover .hero-txt { max-width: 660px; }
.hero-cover h1, .hero-cover h2 { color: #fff; } .hero-cover .eyebrow { color: #e2c48f; }
.hero-split { background: linear-gradient(180deg, #fff, var(--bg)); }
.hero-split .hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-split .hero-lead { color: var(--ink-2); }
.hero-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; } .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-plain { text-align: center; background: linear-gradient(180deg, #fff, var(--bg)); } .hero-plain .hero-txt { max-width: 760px; margin: 0 auto; justify-items: center; }
.hero-plain .hero-lead { color: var(--ink-2); } .hero-plain .cta { justify-content: center; }

/* Ảnh + nội dung */
.it-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.it-right .it-img { order: 2; }
.it-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); } .it-img img { width: 100%; height: auto; }
.it-txt h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 14px; } .it-txt .cta { margin-top: 18px; }
.it-img.map { aspect-ratio: 4/3; background: var(--brand-l); } .it-img.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Điểm nổi bật, con số, cảm nhận */
.g2 { grid-template-columns: repeat(2, 1fr); }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.bg-paper .feat { background: var(--bg); }
.feat-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--brand-l); font-size: 24px; margin-bottom: 14px; }
.feat h3 { font-size: 19px; margin: 0 0 6px; } .feat p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.bg-dark .feat, .bg-brand .feat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); } .bg-dark .feat p, .bg-brand .feat p { color: inherit; opacity: .85; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; text-align: center; }
.stats b { display: block; font: 600 clamp(34px, 4vw, 48px)/1.1 var(--serif); color: var(--brand-d); }
.bg-dark .stats b, .bg-brand .stats b { color: #fff; }
.stats span { color: var(--muted); } .bg-dark .stats span, .bg-brand .stats span { color: inherit; opacity: .8; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); position: relative; padding-top: 18px; }
.quote blockquote::before { content: '“'; position: absolute; top: -18px; left: -4px; font: 600 54px/1 var(--serif); color: var(--gold); }
.quote figcaption { display: flex; gap: 12px; align-items: center; } .quote figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote figcaption span { display: grid; } .quote small { color: var(--muted); }

/* Hỏi đáp */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 18px; color: var(--ink-2); line-height: 1.7; }

/* Ảnh, video */
.gal-item { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; } .gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-item:hover img { transform: scale(1.04); }
.yt { position: relative; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 18px; background: #000 center/cover; cursor: pointer; overflow: hidden; display: block; }
.yt span { position: absolute; inset: 0; margin: auto; width: 72px; height: 50px; border-radius: 14px; background: rgba(0,0,0,.7); transition: background .2s; }
.yt span::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; transform: translateX(2px); }
.yt:hover span { background: #f00; }
.yt iframe { width: 100%; height: 100%; border: 0; }

/* Form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-top: 24px; box-shadow: var(--shadow); }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-card .fg { display: flex; flex-direction: column; } .form-card .fl { font-size: 13px; font-weight: 600; margin-bottom: 5px; } .form-card .fl.req::after { content: " *"; color: #d93025; } /* form có nhãn trên ô */
.blk-form .pk-order { margin-top: 24px; }

@media (max-width: 860px) {
  .hero-split .hero-in, .it-grid { grid-template-columns: 1fr; gap: 28px; }
  .it-right .it-img { order: 0; }
  .blk { padding: 48px 0; } .blk.sp-large { padding: 64px 0; }
  .g2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .form-2 { grid-template-columns: 1fr; } .hero-cover .hero-in { padding: 52px 0 64px; } }

/* ---------- Kiểu trình bày bổ sung (dùng chung mọi site) ---------- */
/* Slider */
.slider { position: relative; overflow: hidden; --per: 1; }
.sl-track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.sl-item { flex: 0 0 calc(100% / var(--per)); min-width: 0; margin: 0; }
.sl-item img { width: 100%; height: auto; display: block; }
.sl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.sl-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--brand-l); cursor: pointer; transition: transform .2s, background .2s; }
.sl-dots button.on { background: var(--brand); transform: scale(1.35); }
.sl-prev, .sl-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); cursor: pointer; z-index: 2; box-shadow: var(--shadow); }
.sl-prev { left: 8px; } .sl-next { right: 8px; }
.sl-prev::before, .sl-next::before { content: ''; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border: solid var(--brand-d); border-width: 0 2px 2px 0; }
.sl-prev::before { transform: translateX(2px) rotate(135deg); } .sl-next::before { transform: translateX(-2px) rotate(-45deg); }
.hero-slider .slider .sl-dots { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; }
.hero-slider .hero-cap { text-align: center; padding: 24px 0 0; }
.sl-thumbs { display: flex; justify-content: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.sl-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; width: 110px; cursor: pointer; background: none; opacity: .7; }
.sl-thumbs button.on { border-color: var(--brand); opacity: 1; } .sl-thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
/* Đoạn chữ thu gọn */
.prose.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--clamp); overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.more-link { text-align: center; margin: 14px 0 0; } .more-link a { font-weight: 500; }
.more-link a::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg) translateY(-2px); }
/* Ảnh trên, chữ dưới */
.it-top { grid-template-columns: 1fr; text-align: center; gap: 24px; } .it-top .it-img { box-shadow: none; border-radius: 0; } .it-top .it-txt { max-width: 1080px; margin: 0 auto; }
.btn-outline { border: 1.5px solid var(--brand); color: var(--brand-d); background: transparent; } .btn-outline:hover { background: var(--brand-l); color: var(--brand-d); }
/* Điểm nổi bật dạng danh sách icon */
.style-list .feat { background: none; border: 0; padding: 0; display: grid; grid-template-columns: 34px 1fr; gap: 0 10px; align-items: start; }
.style-list .feat-ico { width: 34px; height: 34px; margin: 0; background: none; border-radius: 0; font-size: 24px; }
.style-list .feat-ico img { width: 34px; height: 34px; object-fit: contain; }
.style-list .feat h3 { font-size: 17px; margin: 4px 0 6px; } .style-list .feat-grid { gap: 22px 40px; }
.feat-ico.img img { width: 30px; height: 30px; object-fit: contain; }
/* Ảnh có chữ chồng lên */
.ov-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; color: #fff; }
.ov-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ov-card:hover img { transform: scale(1.05); }
.ov-txt { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.65)); display: grid; gap: 4px; }
.ov-txt b { font-size: 17px; text-transform: uppercase; } .ov-txt small { font-size: 12.5px; line-height: 1.45; display: none; }
.ov-card:hover .ov-txt small { display: block; }
.carousel { position: relative; } .cr-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 3); gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cr-track::-webkit-scrollbar { display: none; } .cr-track > * { scroll-snap-align: start; }
.carousel .sl-prev { left: -56px; } .carousel .sl-next { right: -56px; }
/* 1 bài lớn + danh sách */
.feat-news { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.fn-main { display: block; color: var(--ink); } .fn-main img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.fn-box { display: grid; gap: 14px; padding: 20px; border: 1.5px solid var(--brand); border-top: 0; } .fn-box b { font-size: 17px; text-transform: uppercase; line-height: 1.45; } .fn-box small { color: var(--muted); }
.fn-list { display: grid; gap: 12px; } .fn-item { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: start; color: var(--brand-d); }
.fn-item img { width: 100%; aspect-ratio: 2/1; object-fit: cover; } .fn-item b { font-size: 16px; text-transform: uppercase; font-weight: 500; line-height: 1.45; }
/* Ý kiến khách hàng dạng trích dẫn */
.quotes .sl-item { padding: 20px 30px; border-left: 2px solid var(--brand-d); display: flex; flex-direction: column; gap: 16px; }
.quotes .sl-item:nth-child(odd) { border-left: 0; }
.qt-mark { display: block; width: 56px; height: 42px; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 42'%3E%3Cpath d='M0 42V24C0 10 7 2 22 0l2 6C15 9 12 14 12 20h12v22zm32 0V24C32 10 39 2 54 0l2 6c-9 3-12 8-12 14h12v22z'/%3E%3C/svg%3E") no-repeat center/contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 42'%3E%3Cpath d='M0 42V24C0 10 7 2 22 0l2 6C15 9 12 14 12 20h12v22zm32 0V24C32 10 39 2 54 0l2 6c-9 3-12 8-12 14h12v22z'/%3E%3C/svg%3E") no-repeat center/contain; }
.quotes blockquote { margin: 0; font-style: italic; line-height: 1.7; flex: 1; }
.quotes figcaption { display: grid; gap: 14px; justify-items: start; } .quotes figcaption img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.quotes figcaption b { color: var(--brand-d); text-transform: uppercase; font-weight: 500; font-size: 17px; }
.quotes .sl-dots { justify-content: flex-start; padding-left: 30px; }
/* Danh hiệu */
.awards { position: relative; align-items: end; } .awards figure { margin: 0; text-align: center; display: grid; gap: 18px; }
.aw-img img { height: 270px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.awards figcaption { font-weight: 500; line-height: 1.55; }
/* Khối nút */
.blk-button .btn { padding: 12px 26px; }
@media (max-width: 860px) {
  .feat-news { grid-template-columns: 1fr; } .cr-track { grid-auto-columns: 82%; } .carousel .sl-prev, .carousel .sl-next { display: none; }
  .quotes .sl-item { border-left: 0; padding: 10px 4px; } .aw-img img { height: 200px; }
}
.sl-dots[hidden] { display: none; }
/* Danh sách hàng ngang: ảnh trái, chữ phải */
.row-list { display: grid; gap: 14px; }
.row-card { display: grid; grid-template-columns: 40% 1fr; gap: 24px; color: var(--ink); }
.rc-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); }
.rc-txt { display: flex; flex-direction: column; gap: 4px; } .rc-txt small { text-transform: uppercase; color: var(--brand-d); font-weight: 500; }
.rc-txt b { font-size: 17px; } .rc-desc { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.rc-more { margin-top: auto; font-weight: 600; text-transform: uppercase; font-size: 14px; color: var(--brand-d); }
.rc-more::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg) translateY(-2px); }
/* Thẻ tin: ảnh, tiêu đề, tóm tắt, Xem thêm */
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.nc-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.nc-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; flex: 1; } .nc-body b { line-height: 1.45; }
.nc-desc { font-size: 14px; color: var(--muted); } .nc-more { margin-top: auto; font-size: 13px; color: var(--muted); }
/* Album theo tab */
.al-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.al-tabs button { border: 0; background: none; padding: 8px 14px; cursor: pointer; font: inherit; font-weight: 500; color: var(--brand-d); border-bottom: 2px solid transparent; }
.al-tabs button[aria-selected="true"] { background: var(--brand-l); border-bottom-color: var(--brand); }
/* Cột tin theo chuyên mục */
.news-cols { align-items: start; } .ncol h2 { font-size: 22px; margin: 0 0 12px; }
.ncol-main { display: block; color: var(--ink); } .ncol-main img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.ncol-main b, .ncol-item { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.45; color: var(--ink); }
.ncol-more { display: inline-block; margin-top: 10px; font-size: 14px; }
@media (max-width: 767px) { .row-card { grid-template-columns: 1fr; gap: 10px; } }
/* Bản đồ phân khu — biến (đặt trong khối theo tuỳ chọn): --km-d / --km-dm cỡ nút máy tính / điện thoại, --km-a / --km-b màu nút,
   --km-z màu tô vùng vẽ, --km-fs / --km-fsm cỡ chữ danh sách, --km-min / --km-mind bề rộng tối thiểu 1 ô danh sách (tự chia cột) */
.khu-map { --d: var(--km-d, 44px); display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.khu-map.km-list-below, .khu-map.km-list-none { grid-template-columns: minmax(0, 1fr); }
.km-stage { position: relative; padding-top: 30px; }
.km-canvas { position: relative; } .km-canvas > img { width: 100%; height: auto; display: block; }
/* vùng kiểu cũ: ảnh tô màu đặt theo khung */
.km-zone { position: absolute; display: flex; justify-content: center; align-items: center; cursor: pointer; }
.km-zone img { width: 100%; height: auto; opacity: 0; transition: opacity .3s; }
.km-zone:hover img, .km-zone.on img { opacity: 1; }
/* vùng vẽ (đa giác) */
.km-shapes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.km-shapes polygon { pointer-events: all; cursor: pointer; fill: var(--zc, var(--km-z, var(--km-a, #dba539))); stroke: var(--zc, var(--km-z, var(--km-a, #dba539)));
  fill-opacity: 0; stroke-opacity: 0; stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill-opacity .25s, stroke-opacity .25s; }
.km-shapes polygon:hover { fill-opacity: .22; stroke-opacity: .7; } .km-shapes polygon.on { fill-opacity: .38; stroke-opacity: 1; }
/* nút: điểm neo 0×0 tại vị trí khu, nút canh giữa điểm */
.km-pin { position: absolute; width: 0; height: 0; z-index: 3; } .km-pin.on { z-index: 10; }
.km-dot { position: absolute; left: 0; top: 0; z-index: 2; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: .45em;
  min-width: var(--d); height: var(--d); padding: 0; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; color: #fff; font: 400 calc(var(--d) * .455)/1 var(--sans); letter-spacing: .04em;
  background: linear-gradient(0deg, var(--km-a, #dba539) -37%, var(--km-b, #eed688) 100%); box-shadow: 0 0 0 calc(var(--d) * .2) rgba(255,255,255,.45); animation: km-pulse 3s ease-out infinite; transition: transform .2s; }
.km-dot:hover, .km-pin.on .km-dot { transform: translate(-50%, -50%) scale(1.15); }
.km-nopulse .km-dot { animation: none; }
@keyframes km-pulse { 0% { box-shadow: 0 0 0 calc(var(--d) * .2) rgba(255,255,255,.45), 0 0 0 calc(var(--d) * .2) rgba(255,255,255,.5); } 100% { box-shadow: 0 0 0 calc(var(--d) * .2) rgba(255,255,255,.45), 0 0 0 calc(var(--d) * .5) rgba(255,255,255,0); } }
.km-t { display: none; }
.km-shape-pill .km-dot { padding: 0 calc(var(--d) * .38); font-size: calc(var(--d) * .36); font-weight: 600; text-transform: uppercase; }
.km-shape-pill .km-t { display: inline; } .km-shape-pill .km-n { opacity: .85; }
.km-shape-dot .km-dot { min-width: calc(var(--d) * .42); height: calc(var(--d) * .42); box-shadow: 0 0 0 calc(var(--d) * .1) rgba(255,255,255,.6); }
.km-shape-dot .km-n, .km-shape-dot .km-t { display: none; }
/* thẻ xem trước */
.km-pop { position: absolute; z-index: 9; bottom: calc(var(--d) * .5 + 12px); left: 0; transform: translateX(-50%) translateY(6px); width: 197px; background: #fff; border: 1px solid var(--km-a, #d5a32a); border-radius: 12px; overflow: hidden;
  text-align: center; opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; color: inherit; }
.km-pin.on .km-pop { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%); }
.km-pop img { width: 100%; max-height: 104px; object-fit: cover; display: block; }
.km-pop b { display: block; font: 400 16px/32px var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--km-a, #d5a32a); }
/* danh sách tên khu */
.km-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.km-list a { display: flex; align-items: center; gap: 14px; color: var(--km-a, #d5a32a); font-weight: 700; font-size: var(--km-fs, 16px); line-height: 2; letter-spacing: .04em; text-transform: uppercase; }
.km-normal .km-list a, .km-normal .km-pop b, .km-normal.km-shape-pill .km-dot { text-transform: none; letter-spacing: 0; }
.km-list a b { position: relative; z-index: 0; isolation: isolate; flex: 0 0 56px; height: 56px; display: grid; place-items: center; color: #fff; font-weight: 400; font-size: 18px; border: 1px solid #fff; border-radius: 50%; }
.km-list a b::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: linear-gradient(0deg, var(--km-a, #dba539) -37%, var(--km-b, #eed688) 100%); z-index: -1; }
.km-list a.on, .km-list a:hover { color: var(--ink); }
@media (min-width: 768px) { /* danh sách dưới bản đồ: tự chia cột (tên 1 dòng) hoặc số cột chọn sẵn */
  .km-list-below .km-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--km-mind, 240px)), 1fr)); column-gap: 24px; }
  .km-list-below.km-cols-c2 .km-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .km-list-below.km-cols-c3 .km-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .km-list-below.km-cols-c4 .km-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .khu-map { --d: var(--km-dm, 26px); grid-template-columns: minmax(0, 1fr); }
  .km-dot { font-size: calc(var(--d) * .46); box-shadow: 0 0 0 calc(var(--d) * .19) rgba(255,255,255,.45); animation: none; }
  .km-shape-pill .km-dot:has(.km-n) { padding: 0; font-size: calc(var(--d) * .46); } .km-shape-pill .km-dot:has(.km-n) .km-t { display: none; } /* tên dài chồng nhau trên màn nhỏ → chỉ số */
  .km-pop { bottom: calc(var(--d) * .5 + 7px); width: 150px; } .km-pop b { font-size: 12px; line-height: 26px; } .km-pop img { max-height: 80px; }
  /* tự chia cột: mỗi ô đủ rộng cho tên xuống tối đa 2 dòng, không thu nhỏ chữ */
  .km-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--km-min, 160px)), 1fr)); column-gap: 10px; }
  .km-colsm-c1 .km-list { grid-template-columns: minmax(0, 1fr); } .km-colsm-c2 .km-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .km-list a { font-size: var(--km-fsm, 14px); gap: 8px; line-height: 1.3; }
  .km-list a b { flex-basis: 32px; height: 32px; font-size: 14px; } .km-list a b::before { inset: 4px; }
}
.khu-map a, .khu-map button { -webkit-tap-highlight-color: rgba(0, 0, 0, .18); } /* giữ nháy xám mặc định khi chạm trên điện thoại như bản đồ cũ (theme2.css tắt cho a, button) */
/* Form chẩn đoán */
.diag { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.diag-section .dg-cols { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: start; } .diag-section .diag { max-width: none; }
.dg-intro h2 { margin: 6px 0 10px; } .dg-intro img { width: 100%; height: auto; border-radius: var(--radius); margin-top: 16px; }
.dg-bullets { padding: 0; list-style: none; display: grid; gap: 8px; } .dg-bullets li::before { content: '✓'; color: var(--brand); font-weight: 700; margin-right: 8px; }
.dg-head { text-align: center; margin-bottom: 14px; } .dg-head h2 { margin: 0 0 6px; } .dg-head p { margin: 0; color: var(--muted); }
.dg-prog { height: 6px; background: var(--brand-l); border-radius: 99px; overflow: hidden; } .dg-prog span { display: block; height: 100%; background: var(--brand); transition: width .4s; }
.dg-stepno { font-size: 12.5px; color: var(--muted); margin: 6px 0 4px; text-align: right; }
.dg-title { margin: 0 0 4px; font-size: 20px; } .dg-sub { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.dg-q { border: 0; padding: 0; margin: 16px 0 0; } .dg-q legend { font-weight: 600; margin-bottom: 8px; padding: 0; } .dg-q legend small { font-weight: 400; color: var(--muted); }
.dg-q textarea, .dg-q select, .dg-f input, .dg-f select, .dg-f textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.dg-opts { display: grid; gap: 8px; } .dg-cards { grid-template-columns: 1fr 1fr; } .dg-chips { display: flex; flex-wrap: wrap; }
.dg-opt { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: .15s; background: #fff; }
.dg-opt input { accent-color: var(--brand); } .dg-opt:hover { border-color: var(--brand); } .dg-opt.on { border-color: var(--brand); background: var(--brand-l); }
.dg-chips .dg-opt { border-radius: 99px; padding: 8px 14px; } .dg-chips .dg-opt input { display: none; }
.dg-hint { color: var(--muted); font-size: 12.5px; }
.dg-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; } .dg-nav .btn { justify-content: center; }
.dg-err { color: #b42318; font-size: 14px; margin: 12px 0 0; }
.dg-contact { display: grid; gap: 10px; margin-top: 10px; } .dg-f { display: grid; gap: 4px; } .dg-f span { font-size: 14px; font-weight: 500; }
.dg-consent { display: flex; gap: 8px; font-size: 13.5px; align-items: flex-start; } .dg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dg-result { display: grid; gap: 16px; } .dg-tier { text-align: center; } .dg-tier h3 { margin: 8px 0 6px; }
.dg-badge { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; }
.dg-scale-h { display: flex; justify-content: space-between; font-size: 14px; } .dg-bar { height: 10px; background: var(--brand-l); border-radius: 99px; overflow: hidden; margin: 6px 0; } .dg-bar span { display: block; height: 100%; background: var(--brand); }
.dg-pillars { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; } .dg-pillars li { font-size: 12.5px; padding: 3px 10px; border-radius: 99px; background: #e8f5e9; color: #1b5e20; } .dg-pillars li.weak { background: #fdecea; color: #b42318; }
.dg-advice { background: var(--bg); border-radius: 12px; padding: 14px 18px; } .dg-advice h4 { margin: 0 0 6px; } .dg-advice ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.dg-cta { text-align: center; margin: 0; }
/* nhãn trên khung form, ghi chú dưới form, số liệu cột trái, dòng nhóm (mỗi câu một màn hình), chẩn đoán trước bước liên hệ */
.diag { position: relative; } .dg-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.dg-note { margin-top: 10px; text-align: center; color: var(--muted); font-size: 13px; }
.dg-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; } .dg-stat { flex: 1 1 120px; padding: 12px 14px; border-radius: var(--radius); background: var(--brand-l); } .dg-stat b { display: block; font-size: 18px; color: var(--brand); } .dg-stat span { font-size: 13px; color: var(--muted); }
.dg-grp { margin: 6px 0 2px; color: var(--brand); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; } .dg-grp span { color: var(--muted); font-weight: 500; }
.dg-qh { margin: -4px 0 8px; color: var(--muted); font-size: 13.5px; }
.dg-pillars .dg-pl-bar, .dg-pillars li > b { display: none; } /* điểm từng trụ: giao diện riêng của site tự bật */
.dg-adv-list { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; } .dg-consent-note { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 767px) { .diag { padding: 18px; } .dg-cards { grid-template-columns: 1fr; } .diag-section .dg-cols { grid-template-columns: 1fr; gap: 18px; } }
/* Slider: trượt êm hơn; ảnh lớn có khung riêng (mũi tên nằm giữa ảnh lớn) */
.sl-track { transition: transform .75s cubic-bezier(.22, .61, .36, 1); }
.sl-main { position: relative; overflow: hidden; }
/* Dải ảnh nhỏ trải hết chiều ngang ảnh lớn, trượt / kéo được */
.gal-slider .sl-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--thumbs, 4) - 1) * 10px) / var(--thumbs, 4)); gap: 10px; margin-top: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; justify-content: start; cursor: grab; }
.gal-slider .sl-thumbs.drag { cursor: grabbing; scroll-snap-type: none; }
.gal-slider .sl-thumbs::-webkit-scrollbar { display: none; }
.gal-slider .sl-thumbs button { width: auto; border-radius: 0; scroll-snap-align: start; opacity: .6; transition: opacity .3s, border-color .3s; }
.gal-slider .sl-thumbs button:hover, .gal-slider .sl-thumbs button.on { opacity: 1; }
.gal-slider .sl-thumbs img { aspect-ratio: 16 / 10; pointer-events: none; }
/* Danh hiệu dạng slider: nhiều cột, trượt từng ảnh */
.slider.awards .sl-item { padding: 0 12px; }
.slider.awards .sl-prev, .slider.awards .sl-next { top: 40%; }
@media (max-width: 767px) { .gal-slider .sl-thumbs { grid-auto-columns: calc((100% - 20px) / 3); } }
@media (prefers-reduced-motion: reduce) { .sl-track { transition: none; } }
/* Slider ảnh lớn + ảnh nhỏ — theo cấu hình Smart Slider của bản Bricks: ảnh lớn 1080×420, ảnh nhỏ 240×120 (điện thoại 100×60) cách 20px, căn giữa.
   Cả khối luôn nằm gọn trong 1 màn hình (thu hẹp theo chiều cao màn hình). */
.gal-slider { width: 100%; max-width: calc((100vh - 290px) * var(--ratio, 1080 / 420)); margin-inline: auto; }
.gal-slider .sl-item img { width: 100%; height: auto; aspect-ratio: var(--ratio, 1080 / 420); object-fit: cover; cursor: zoom-in; }
.gal-slider .sl-thumbs-wrap { position: relative; margin-top: 20px; }
.gal-slider .sl-thumbs { display: flex; flex-wrap: nowrap; justify-content: flex-start; grid-auto-flow: unset; gap: 6px; padding: 6px 0; margin: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.gal-slider .sl-thumbs > :first-child { margin-left: auto; } .gal-slider .sl-thumbs > :last-child { margin-right: auto; }
.gal-slider .sl-thumbs button { flex: 0 0 240px; width: 240px; height: 120px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; opacity: .5; }
.gal-slider .sl-thumbs button.on, .gal-slider .sl-thumbs button:hover { opacity: 1; }
.gal-slider .sl-thumbs img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.th-prev, .th-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(30, 30, 30, .72); cursor: pointer; transition: opacity .2s; }
.th-prev::before, .th-next::before { content: ''; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; }
.th-prev::before { transform: translateX(2px) rotate(135deg); } .th-next::before { transform: translateX(-2px) rotate(-45deg); }
.th-prev { left: 8px; } .th-next { right: 8px; } .th-prev[hidden], .th-next[hidden] { display: none; }
@media (max-width: 767px) { .gal-slider .sl-thumbs button { flex-basis: 100px; width: 100px; height: 60px; } .th-prev, .th-next { width: 28px; height: 28px; } }
/* Phóng to ảnh (bấm vào ảnh lớn) */
.lb { position: fixed; inset: 0; z-index: 2147483000; background: rgba(10, 8, 4, .92); display: flex; align-items: center; justify-content: center; animation: lb-in .25s ease; touch-action: pan-y; }
.lb img { max-width: 94vw; max-height: 88vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.5); transition: opacity .25s; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 48px; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb .lb-x { top: 16px; right: 16px; } .lb .lb-p { left: 16px; top: 50%; transform: translateY(-50%); } .lb .lb-n { right: 16px; top: 50%; transform: translateY(-50%); }
.lb .lb-c { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 767px) { .gal-slider .sl-main .sl-prev, .gal-slider .sl-main .sl-next { display: none; } }
/* Ảnh có chữ chồng lên: luôn hiện mô tả (không cần rê chuột) */
.ov-card.show-desc .ov-txt small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
div.ov-card:hover img { transform: none; }
/* 1 bài lớn + danh sách: 2 cột cao bằng nhau */
.feat-news { align-items: stretch; }
.fn-main { display: flex; flex-direction: column; } .fn-main .fn-box { flex: 1; align-content: start; }
.fn-list { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }

/* ---------- Menu tuỳ chỉnh ([menu id=…] / khối Menu) ---------- */
.pk-menu ul { list-style: none; margin: 0; padding: 0; }
.pk-menu a { color: inherit; text-decoration: none; }
.pk-menu--ngang > ul { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.pk-menu--ngang li { position: relative; }
.pk-menu--ngang > ul > li > a { display: block; padding: 8px 0; font-weight: 500; color: var(--brand-d, #333); }
.pk-menu--ngang > ul > li > a:hover { color: var(--brand, #b18720); }
.pk-menu--ngang li.has-sub > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); }
.pk-menu--ngang li ul { position: absolute; left: 0; top: 100%; z-index: 20; min-width: 220px; padding: 8px 0; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .1); border-radius: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.pk-menu--ngang li:hover > ul, .pk-menu--ngang li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.pk-menu--ngang li ul a { display: block; padding: 8px 16px; }
.pk-menu--ngang li ul a:hover { background: var(--brand-l, #f6f2ea); }
.pk-menu--doc li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line, #eee); }
.pk-menu--doc li ul { padding-left: 16px; }
.pk-menu--doc a:hover { color: var(--brand, #b18720); }
.pk-menu--nut > ul { display: flex; flex-wrap: wrap; gap: 10px; }
.pk-menu--nut > ul > li > a { display: inline-block; padding: 9px 20px; border: 1px solid var(--brand, #b18720); border-radius: 999px; color: var(--brand, #b18720); font-weight: 500; transition: background .2s, color .2s; }
.pk-menu--nut > ul > li > a:hover { background: var(--brand, #b18720); color: #fff; }
.pk-menu--nut li ul { display: none; }
.menu-al-center .pk-menu--ngang > ul, .menu-al-center .pk-menu--nut > ul { justify-content: center; }
.menu-al-right .pk-menu--ngang > ul, .menu-al-right .pk-menu--nut > ul { justify-content: flex-end; }
@media (max-width: 767px) { .pk-menu--ngang li ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; min-width: 0; background: none; } }

/* ---------- Banner: chữ căn giữa, ảnh rộng bên dưới ---------- */
.hero-center-image { text-align: center; background: linear-gradient(180deg, #fff, var(--bg)); }
.hero-center-image .hero-in { padding-top: 64px; }
.hero-center-image .hero-txt { max-width: 780px; margin: 0 auto; justify-items: center; }
.hero-center-image .hero-lead { color: var(--ink-2); } .hero-center-image .cta { justify-content: center; }
.hero-wide { margin-top: 44px; border-radius: 24px 24px 0 0; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 21/9; }
.hero-wide img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .hero-center-image .hero-in { padding-top: 40px; } .hero-wide { aspect-ratio: 4/3; margin-top: 28px; border-radius: 18px 18px 0 0; } }

/* ---------- Kêu gọi liên hệ: kiểu ảnh nền ---------- */
.band.band-img { position: relative; overflow: hidden; background: #1c1712; isolation: isolate; padding: 56px 48px; }
.band.band-img .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band.band-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 12, 9, .82), rgba(15, 12, 9, .45)); }
@media (max-width: 600px) { .band.band-img { padding: 36px 24px; } }

/* ---------- Bảng giá ---------- */
.price-grid { display: grid; gap: 24px; align-items: stretch; margin-top: 8px; }
.price-grid.n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.price-grid.n2 { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.price-grid.n3 { grid-template-columns: repeat(3, 1fr); } .price-grid.n4 { grid-template-columns: repeat(4, 1fr); }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--paper, #fff); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .25s, box-shadow .25s; }
.plan:hover { box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-10px); }
.plan.featured.rv:not(.in) { transform: translateY(12px); } .plan.featured.rv.in { transform: translateY(-10px); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan-name { margin: 0; font-size: 20px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.1; color: var(--brand-d); }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-text { margin: 0; color: var(--ink-2); font-size: 15px; }
.plan-feats { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.plan-feats li { position: relative; padding-left: 26px; }
.plan-feats li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border: solid var(--brand); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.plan-cta { margin-top: auto; padding-top: 8px; } .plan-cta .btn { width: 100%; }
@media (max-width: 1024px) { .price-grid.n4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .price-grid.n3, .price-grid.n2 { grid-template-columns: minmax(0, 460px); justify-content: center; } .plan.featured, .plan.featured.rv.in { transform: none; } }
@media (max-width: 600px) { .price-grid.n4 { grid-template-columns: 1fr; } .price-grid { gap: 28px; } }

/* ---------- Logo đối tác ---------- */
.logos-title { text-align: center; margin: 0 0 22px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.logos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px 28px; align-items: center; }
.logo-it { display: grid; place-items: center; height: 72px; padding: 8px 12px; color: var(--ink-2); }
.logo-it img { max-height: 56px; max-width: 160px; width: auto; height: auto; object-fit: contain; transition: filter .3s, opacity .3s; }
.logo-name { font-weight: 700; font-size: 18px; letter-spacing: .02em; transition: color .3s, opacity .3s; }
.logos-gray .logo-it img { filter: grayscale(1); opacity: .65; } .logos-gray .logo-name { opacity: .6; }
.logos-gray .logo-it:hover img { filter: none; opacity: 1; } .logos-gray .logo-it:hover .logo-name { opacity: 1; color: var(--brand-d); }
.logos-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { display: flex; width: max-content; gap: 40px; animation: logos-run calc(var(--n, 6) * 3.5s) linear infinite; }
.logos-track .logo-it, .logos-track .logo-dup { flex: none; }
.logos-track .logo-it { width: 170px; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
@keyframes logos-run { to { transform: translateX(calc(-50% - 20px)); } }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .logos-track .logo-dup { display: none; } .logos-marquee { -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 600px) { .logos-grid { grid-template-columns: repeat(2, 1fr); } .logos-track .logo-it { width: 130px; } }

/* ---------- Đội ngũ ---------- */
.team-grid { gap: 28px 24px; }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); }
a.member:hover h3 { color: var(--brand-d); }
.member-img { width: 100%; overflow: hidden; background: var(--brand-l); margin-bottom: 16px; display: grid; place-items: center; }
.member-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.member:hover .member-img img { transform: scale(1.05); }
.team-round .member-img { width: min(180px, 70%); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 6px var(--paper, #fff), 0 0 0 7px var(--line); }
.team-rect .member-img { aspect-ratio: 4/5; max-width: 300px; border-radius: var(--radius); }
.member-ph { font-family: var(--serif); font-size: 52px; color: var(--brand); }
.member h3 { margin: 0; font-size: 19px; transition: color .2s; }
.member-role { color: var(--brand-d); font-size: 14px; font-weight: 600; margin-top: 4px; }
.member p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 520px) { .team-grid.g3, .team-grid.g4 { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; } .team-round .member-img { width: 82%; } .member h3 { font-size: 17px; } .member p { font-size: 14px; } }

/* nền tối / nền màu chủ đạo: chữ phụ, đoạn văn, nút viền, dòng nhỏ phía trên tiêu đề đọc rõ (AI hay xen kẽ các mục nền tối) */
.blk.bg-dark .prose, .blk.bg-dark .prose p, .blk.bg-dark .prose li, .blk.bg-dark p, .blk.bg-brand .prose, .blk.bg-brand p { color: inherit; }
.blk.bg-dark .eyebrow { color: var(--gold, #e0b887); }
.blk.bg-dark .btn-ghost, .blk.bg-brand .btn-ghost, .blk.bg-dark .btn-outline, .blk.bg-brand .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; } .blk.bg-dark .btn-ghost:hover, .blk.bg-brand .btn-ghost:hover, .blk.bg-dark .btn-outline:hover, .blk.bg-brand .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.blk.bg-dark .blk-intro, .blk.bg-dark .muted, .blk.bg-brand .muted { opacity: .9; }

/* ---------- Đặt lịch (khối booking, assets/js/booking.js) ---------- */
.bk { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.bk-section .dg-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 36px; align-items: start; } .bk-section .bk { max-width: none; margin: 0; width: 100%; } /* auto margin trong lưới = co theo nội dung → dải ngày đẩy tràn */
.bk, .bk-step, .bk-days { min-width: 0; }
.bk-step { margin-top: 18px; } .bk-step > b { display: block; margin-bottom: 8px; font-size: 15px; }
.bk-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; } .bk-row label { display: grid; gap: 4px; font-size: 14px; font-weight: 500; }
.bk select, .bk input, .bk textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: inherit; }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.bk-day { flex: 0 0 auto; min-width: 64px; scroll-snap-align: start; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 6px; text-align: center; cursor: pointer; font: inherit; color: inherit; transition: .15s; }
.bk-day small { display: block; font-size: 12px; color: var(--muted); } .bk-day b { display: block; font-size: 18px; line-height: 1.3; }
.bk-day:hover:not(:disabled) { border-color: var(--brand); } .bk-day.on { background: var(--brand); border-color: var(--brand); color: #fff; } .bk-day.on small { color: rgba(255,255,255,.85); }
.bk-day:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bk-slot { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 4px; cursor: pointer; font: inherit; color: inherit; text-align: center; transition: .15s; }
.bk-slot small { display: block; font-size: 11.5px; color: #b45309; } .bk-slot:hover:not(:disabled) { border-color: var(--brand); }
.bk-slot.on { background: var(--brand); border-color: var(--brand); color: #fff; } .bk-slot.on small { color: #fff; } .bk-slot:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.bk-msg { color: var(--muted); font-size: 14px; margin: 0; }
.bk-form { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } .bk-form .dg-f { grid-column: span 3; } .bk-form .w-full { grid-column: 1 / -1; } .bk-form .w-third { grid-column: span 2; }
.bk-form .dg-f input, .bk-form .dg-f select, .bk-form .dg-f textarea { width: 100%; }
.bk-pick { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--brand-l); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.bk-pick button { background: none; border: 0; color: var(--brand-d); text-decoration: underline; cursor: pointer; font: inherit; font-weight: 500; }
.bk-submit { margin-top: 16px; width: 100%; justify-content: center; }
.bk-done { text-align: center; display: grid; gap: 10px; justify-items: center; } .bk-done .ic { font-size: 44px; } .bk-done img { max-width: 240px; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 860px) { .bk-section .dg-cols { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bk { padding: 18px; } .bk-form .dg-f, .bk-form .w-third { grid-column: 1 / -1; } }
/* bài nổi bật chính: tóm tắt (hoặc đoạn đầu bài) tối đa 4 dòng */
.fn-ex { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.65; color: var(--text, #374151); text-align: justify; }

/* Bảng (admin → Bảng, khối "Bảng", shortcode [table id]) — màu theo biến giao diện; mỗi bảng đổi được màu, site đổi qua skin */
div.pk-table { --tb-line: var(--line); --tb-head-bg: var(--brand); --tb-head-c: #fff; --tb-group-bg: var(--brand-l); --tb-group-c: var(--brand-d); margin: 0 0 1.4em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
div.pk-table table { display: table; overflow: visible; width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; margin: 0; }
div.pk-table caption { caption-side: top; text-align: left; font-weight: 600; padding: 0 0 8px; }
div.pk-table th, div.pk-table td { padding: 10px 14px; text-align: left; vertical-align: top; border: 0; }
div.pk-table th { background: var(--tb-head-bg); color: var(--tb-head-c); font-weight: 600; }
div.pk-table .a-center { text-align: center; } div.pk-table .a-right { text-align: right; }
div.pk-table .tb-group td { background: var(--tb-group-bg); color: var(--tb-group-c); font-weight: 600; text-align: center; }
div.pk-table .tb-note td { font-size: .93em; }
div.pk-table a { color: inherit; text-decoration: underline; }
div.tb-lines th, div.tb-lines td { border: 1px solid var(--tb-line); }
div.tb-striped td { border-bottom: 1px solid var(--tb-line); } div.tb-striped tbody tr:not(.tb-group):not(.tb-note):nth-child(even) td { background: color-mix(in srgb, var(--tb-line) 35%, transparent); }
div.tb-minimal th { background: none; color: inherit; border-bottom: 2px solid var(--tb-head-bg); } div.tb-minimal td { border-bottom: 1px solid var(--tb-line); } div.tb-minimal .tb-group td { background: none; text-align: left; }
.blk-table .tb-note { margin-top: -.6em; font-size: 14px; }
@media (max-width: 640px) {
  div.pk-table table { font-size: 14px; } div.pk-table th, div.pk-table td { padding: 8px 10px; }
  div.tb-m-scroll table { min-width: 520px; }
  /* xếp thành thẻ: mỗi hàng 1 khối, nhãn cột đứng trước giá trị */
  div.tb-m-stack thead { display: none; }
  div.tb-m-stack tbody tr:not(.tb-group):not(.tb-note) { display: block; border: 1px solid var(--tb-line); margin: 0 0 10px; }
  div.tb-m-stack tbody tr:not(.tb-group):not(.tb-note) td { display: grid; grid-template-columns: minmax(90px, 38%) 1fr; gap: 10px; border: 0; border-bottom: 1px solid var(--tb-line); text-align: left; }
  div.tb-m-stack tbody tr:not(.tb-group):not(.tb-note) td:last-child { border-bottom: 0; }
  div.tb-m-stack td[data-th]::before { content: attr(data-th); font-weight: 600; }
  div.tb-m-stack .tb-group, div.tb-m-stack .tb-note { display: block; } div.tb-m-stack .tb-group td, div.tb-m-stack .tb-note td { display: block; border: 1px solid var(--tb-line); margin: 0 0 10px; }
}

/* Gợi ý trong bài (src/recos.js): dẫn người đọc tới sản phẩm / dịch vụ / gói của site. Đổi kiểu theo site trong skin */
.reco { margin: 1.6em 0; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--brand-l, #f6f4ee); }
.reco-h { margin: 0 0 4px; font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--brand-d, inherit); }
.reco-p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; }
/* nằm trong nội dung bài (.prose): bỏ kiểu link / cỡ chữ của bài */
.prose .reco a { text-decoration: none; }
.prose .reco a.btn, .reco a.btn { color: #fff; text-decoration: none; }
.reco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.prose .reco-card, .reco-card { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.reco-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
.reco-card .reco-img, .prose .reco-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin: 0; }
.reco-t { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ink, #1f2937); }
.reco-s { font-size: 14px; color: var(--muted, #6b7280); line-height: 1.4; }
.reco-form { margin-top: 10px; }
.reco-cta { margin: 12px 0 0; }
@media (max-width: 560px) { .reco { padding: 14px 12px 10px; } .reco-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Khung giá dạng chữ ở trang sản phẩm (data.priceBoxes) */
.pb-list { display: flex; flex-wrap: wrap; gap: 10px 28px; } .pb-item { display: flex; flex-direction: column; line-height: 1.3; } .pb-item small { font-size: 13px; font-weight: 400; color: var(--muted); }

form.pk-form.sending, form.brxe-form.sending { opacity: .6; pointer-events: none; }
form.pk-form .message, form.brxe-form .message { width: 100%; margin-top: 10px; padding: 10px 14px; border-radius: 6px; font-size: 14px; }
form.pk-form .message.success, form.brxe-form .message.success { background: #e8f5e9; color: #1b5e20; }
form.pk-form .message.error, form.brxe-form .message.error { background: #ffebee; color: #b71c1c; }
/* Form đăng ký xem chuyên sâu */
.pk-order { border: 1px solid #ead9c2; background: #fffaf3; border-radius: 16px; padding: 22px; margin: 24px 0; font-size: 15px; color: #212121; }
.pk-order__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pk-order__title { font-size: 20px; font-weight: 700; color: #a17845; }
.pk-order__price { font-size: 20px; font-weight: 700; color: #7d5b31; }
.pk-order__desc { margin: 6px 0 14px; color: #616161; }
.pk-order__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
.pk-order__grid label { grid-column: span 3; position: relative; display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.pk-order__grid .pk-order__third { grid-column: span 2; }
.pk-order__full, .pk-order__grid .pk-order__full { grid-column: 1 / -1; }
.pk-order__grid .pk-order__chk { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; align-self: center; }
.pk-order__grid .pk-order__chk input { width: 18px; height: 18px; flex: none; }
/* phone-input.js chèn <span> báo lỗi sau ô số điện thoại → không để nó đẩy lệch hàng */
.pk-order__grid label > span { position: absolute; top: 100%; left: 2px; font-weight: 400; line-height: 1.3; }
.pk-order__grid label > span:empty { display: none; }
.pk-order input, .pk-order select, .pk-order textarea { box-sizing: border-box; font: inherit; font-weight: 400; height: 44px; padding: 10px 12px; border: 1px solid #dccbb5; border-radius: 10px; background: #fff; width: 100%; margin: 0; color: #212121; }
.pk-order select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a17845' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 32px; }
.pk-order textarea { height: auto; min-height: 88px; resize: vertical; }
@media (max-width: 640px) { .pk-order { padding: 18px; } .pk-order__grid label, .pk-order__grid .pk-order__third, .pk-order__grid .pk-order__chk { grid-column: 1 / -1; } }
.pk-order input:focus, .pk-order select:focus, .pk-order textarea:focus { outline: 2px solid #ead9c2; border-color: #a17845; }
.pk-order__btn { margin-top: 16px; width: 100%; padding: 14px; border: 0; border-radius: 30px; background: #a17845; color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.pk-order__btn:hover { background: #7d5b31; }
.pk-order__btn:disabled { opacity: .6; }
.pk-order__note { font-size: 13px; color: #8a8178; margin: 8px 0 0; }
.pk-order__ok { font-size: 17px; font-weight: 700; color: #2e7d32; margin-bottom: 14px; }
.pk-order__pay { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.pk-order__pay img { width: 260px; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid #eee; background: #fff; }
.pk-order__pay > div { flex: 1; min-width: 220px; line-height: 1.7; }
.pk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pk-ad { margin: 20px 0; text-align: center; clear: both; }
@media (max-width: 600px) { .pk-order__grid { grid-template-columns: 1fr; } .pk-order { padding: 16px; } }
/* Chat tư vấn AI — màu theo thương hiệu site: --pkc (pk-chat.js đặt từ Cài đặt → Thương hiệu), không có thì --brand của giao diện */
.pkc { --c: var(--pkc, var(--brand, #a17845)); position: fixed; right: 18px; bottom: 18px; z-index: 9990; font: 15px/1.5 "Montserrat", system-ui, sans-serif; }
.pkc *, .pkc *::before, .pkc *::after { box-sizing: border-box; }
.pkc-fab { display: flex; align-items: center; gap: 9px; border: 0; border-radius: 30px; background: var(--c); color: #fff; padding: 11px 20px 11px 16px; box-shadow: 0 8px 24px color-mix(in srgb, var(--c) 35%, transparent), 0 2px 6px rgba(0,0,0,.12); cursor: pointer; font: inherit; transition: transform .2s, box-shadow .2s; }
.pkc-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--c) 40%, transparent), 0 2px 6px rgba(0,0,0,.12); }
.pkc-fab svg { display: block; flex: none; }
.pkc-fab b { font-weight: 500; font-size: 15px; letter-spacing: .01em; }
.pkc-box { position: absolute; right: 0; bottom: 64px; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 110px)); background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; }
.pkc-box[hidden] { display: none; }
.pkc-box header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--c); color: #fff; }
.pkc-box header small { display: block; opacity: .85; font-size: 12px; }
.pkc-x { border: 0; background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.pkc-log { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: color-mix(in srgb, var(--c) 4%, #fff); }
.pkc-m { padding: 9px 13px; border-radius: 14px; max-width: 85%; word-wrap: break-word; }
.pkc-bot { background: #fff; border: 1px solid color-mix(in srgb, var(--c) 16%, #fff); align-self: flex-start; color: #212121; }
.pkc-bot a { color: var(--c); text-decoration: underline; }
.pkc-me { background: var(--c); color: #fff; align-self: flex-end; }
.pkc-in { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-top: 1px solid #eee; }
.pkc-in textarea { flex: 1; resize: none; border: 1px solid color-mix(in srgb, var(--c) 28%, #fff); border-radius: 12px; padding: 10px 12px; font: inherit; line-height: 1.4; min-height: 44px; height: 44px; max-height: 120px; overflow-y: auto; scrollbar-width: none; background: #fff; color: #212121; }
.pkc-in textarea::-webkit-scrollbar { display: none; }
.pkc-in textarea:focus { outline: 2px solid color-mix(in srgb, var(--c) 25%, transparent); border-color: var(--c); }
.pkc-in button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--c); color: #fff; cursor: pointer; }
.pkc-in button svg { display: block; margin-left: -2px; }
.pkc-box footer { font-size: 12px; color: #6b7280; padding: 0 12px 10px; }
.pkc-box footer a { color: var(--c); }
.pkc-dots i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: color-mix(in srgb, var(--c) 45%, #fff); animation: pkc 1s infinite; }
.pkc-dots i:nth-child(2) { animation-delay: .15s; } .pkc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pkc { 50% { opacity: .2; } }
@media (max-width: 478px) { .pkc { right: 12px; bottom: 12px; } .pkc-fab b { display: none; } }

/* Báo lỗi SĐT / email dưới ô nhập (pk.js — pkValidate) */
.pk-err { color: #d93025; font-size: 13px; line-height: 1.4; margin: 4px 0 2px; text-align: left; font-weight: 400; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #d93025 !important; }

/* ---------- Popup form (src/popups.js + assets/js/popup.js). Màu theo biến theme; site tự chỉnh trong skin ---------- */
html.pkp-lock { overflow: hidden; }
.pkp { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .2s; }
.pkp.in { opacity: 1; }
.pkp-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 56px 36px 40px; border-radius: 24px; background: var(--pkp-bg-color, var(--brand, #a17845)); color: #fff; text-align: center; transform: translateY(18px) scale(.98); transition: transform .25s ease; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.pkp.in .pkp-box { transform: none; }
.pkp-x { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; background: none; color: inherit; font: 400 34px/1 sans-serif; cursor: pointer; opacity: .9; }
.pkp-x:hover { opacity: 1; }
.pkp-h { margin: 0 0 8px; font-size: clamp(24px, 4vw, 34px); line-height: 1.2; color: inherit; text-transform: uppercase; font-weight: 800; }
.pkp-h span, .pkp-h em { display: block; font-style: normal; }
.pkp-h em { color: var(--pkp-accent, #f4df96); }
.pkp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pkp-sub { margin: 0 0 18px; opacity: .95; }
.pkp-form { display: grid; gap: 14px; text-align: left; }
.pkp-form input, .pkp-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: #222; background: #fff; border: 1px solid rgba(0, 0, 0, .12); border-radius: 8px; padding: 10px 12px; min-height: 44px; }
.pkp-form textarea { resize: vertical; min-height: 90px; }
.pkp-form input:focus, .pkp-form textarea:focus { outline: 2px solid rgba(255, 255, 255, .8); outline-offset: 1px; }
.pkp-btn { justify-self: center; min-width: 120px; padding: 12px 28px; border: 0; border-radius: 14px; background: #fff; color: var(--brand-d, #6b4f2c); font: 700 20px/1.2 inherit; text-transform: uppercase; cursor: pointer; transition: transform .1s, opacity .15s; }
.pkp-btn:hover { opacity: .92; } .pkp-btn:active { transform: translateY(1px); } .pkp-btn:disabled { opacity: .6; cursor: progress; }
.pkp-form .pk-err { color: #fff; background: rgba(200, 30, 20, .85); border-radius: 6px; padding: 4px 8px; margin: -6px 0 0; }
.pkp-form .message { grid-column: 1 / -1; text-align: center; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .95); color: #1f5a22; font-weight: 600; }
.pkp-form .message.error { color: #b3261e; }
.pkp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* kiểu banner: ảnh nền ngang, tiêu đề lớn, các ô nằm 1 hàng */
.pkp--banner .pkp-box { width: min(1080px, 100%); padding: 40px 32px 34px; background: #333 var(--pkp-bg) center / cover no-repeat; border-radius: 16px; }
.pkp--banner .pkp-h { font-size: clamp(30px, 4.6vw, 54px); text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.pkp--banner .pkp-form { grid-template-columns: repeat(auto-fit, minmax(200px, 280px)); justify-content: center; align-items: start; }
.pkp--banner .pkp-btn { justify-self: stretch; min-height: 48px; font-size: 15px; font-weight: 600; background: var(--pkp-accent, #f4df96); }
@media (max-width: 640px) {
  .pkp { padding: 12px; align-items: center; }
  .pkp-box { padding: 52px 18px 28px; border-radius: 20px; }
  .pkp--banner .pkp-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pkp, .pkp-box { transition: none; } }

/* ---------- Giỏ hàng (assets/js/cart.js) ---------- */
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand, #a17845); color: #fff; font: 700 11px/18px sans-serif; text-align: center; }
.buy-box { display: grid; gap: 12px; margin: 14px 0 10px; }
.buy-var { display: grid; gap: 4px; font-size: 14px; } .buy-var select { font: inherit; padding: 10px 12px; border: 1px solid var(--line, #ddd); border-radius: 10px; background: #fff; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
/* chọn loại theo từng thuộc tính (product.eta + cart.js): .on = đang chọn, .off = tổ hợp đó hết hàng / chưa có giá (vẫn bấm được → nhảy sang loại còn hàng) */
.var-pick { display: grid; gap: 14px; }
.var-name { display: block; font-size: 14px; color: var(--muted, #6b7280); margin-bottom: 6px; } .var-name b { color: var(--ink, #111); font-weight: 600; }
.var-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.var-opt { font: inherit; font-size: 14px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line, #ddd); border-radius: 10px; background: #fff; color: var(--ink, #111); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.var-opt:hover { border-color: var(--brand, #0f766e); }
.var-opt.on { border-color: var(--brand, #0f766e); box-shadow: inset 0 0 0 1px var(--brand, #0f766e); font-weight: 600; }
.var-opt.off { color: var(--muted, #9ca3af); background: #f6f6f6; text-decoration: line-through; }
.var-opt:focus-visible { outline: 2px solid var(--brand, #0f766e); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.qty { display: inline-flex; border: 1px solid var(--line, #ddd); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 40px; border: 0; background: none; font-size: 18px; cursor: pointer; } .qty input { width: 48px; border: 0; text-align: center; font: inherit; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.cart-wrap { position: fixed; inset: 0; z-index: 10060; background: rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.cart-wrap.in { opacity: 1; pointer-events: auto; }
.cart-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; color: #222; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); }
.cart-wrap.in .cart-drawer { transform: none; }
.cart-drawer header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #eee; }
.cart-drawer h2 { margin: 0; font-size: 20px; }
.cart-x { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: inherit; }
.cart-body { flex: 1; overflow: auto; padding: 16px 18px 24px; display: grid; align-content: start; gap: 12px; }
.cart-note { margin: 0; padding: 8px 12px; border-radius: 8px; background: #ecfdf3; color: #15803d; font-size: 14px; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cart-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: start; }
.cart-lines img, .cart-noimg { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #f3f3f3; display: block; }
.cart-lines a { color: inherit; font-weight: 600; font-size: 14.5px; line-height: 1.35; display: block; }
.cart-lines small { display: block; color: #777; font-size: 13px; }
.cart-lines b { font-size: 14.5px; white-space: nowrap; }
.cart-qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.cart-qty button { width: 26px; height: 26px; border: 1px solid #ddd; border-radius: 6px; background: #fff; cursor: pointer; }
.cart-qty .cart-del { width: auto; border: 0; color: #b3261e; font-size: 13px; margin-left: 6px; }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px dashed #ddd; font-size: 15px; } .cart-sum b { font-size: 20px; color: var(--brand-d, #6b4f2c); }
.cart-hint { margin: 0; color: #777; font-size: 13px; }
.cart-go { width: 100%; justify-content: center; }
.cart-empty { color: #777; margin: 6px 0; }
.cart-back { justify-self: start; border: 0; background: none; padding: 0; color: var(--brand-d, #6b4f2c); cursor: pointer; font: inherit; font-size: 14px; }
.cart-form { display: grid; gap: 10px; }
.cart-form input, .cart-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; }
.cart-pay { border: 1px solid #eee; border-radius: 8px; padding: 8px 12px; margin: 0; display: grid; gap: 6px; font-size: 14.5px; } .cart-pay legend { font-size: 13px; color: #777; padding: 0 4px; }
.cart-msg { color: #b3261e; font-size: 14px; }
.cart-done { text-align: center; display: grid; gap: 6px; justify-items: center; }
.cart-done h3 { margin: 4px 0; } .cart-done p { margin: 0; }
.cart-ok { width: 56px; height: 56px; border-radius: 50%; background: #ecfdf3; color: #15803d; display: grid; place-items: center; font-size: 30px; }
.cart-qr { width: 240px; height: auto; margin: 8px 0; border-radius: 10px; border: 1px solid #eee; }
@media (prefers-reduced-motion: reduce) { .cart-wrap, .cart-drawer { transition: none; } }
.cart-pay label { display: flex; gap: 8px; align-items: center; cursor: pointer; } .cart-pay input { width: auto; margin: 0; flex: none; }

/* giao diện riêng của site */
/* Skypak: màu / font Sky Pak cho giao diện chung theme2 + khối (trang dựng khối, tìm kiếm, 404) — nối vào cuối theme2.css lúc build */
:root {
  --bg: #fff; --paper: #fff; --ink: #1d2939; --ink-2: #475467; --muted: #667085;
  --brand: #006665; --brand-d: #004c4b; --brand-l: #e9f4f4; --gold: #e8590c; --line: #e6ecec;
  --radius: 16px; --shadow: 0 18px 40px -24px rgba(0, 50, 50, .35);
  --serif: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif; --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}
body.t2 { font-size: 15.5px; }
.t2-in h1, .t2-in h2, .t2-in h3 { font-weight: 800; letter-spacing: -.01em; }
.t2-in .btn { border-radius: 12px; font-weight: 700; }
.t2-in .btn-primary { background: #e8590c; } .t2-in .btn-primary:hover { background: #c2410c; }
.t2-in .eyebrow { color: #006665; font-weight: 800; }
/* header / footer Bricks giữ nguyên dáng: không để quy tắc chung của theme2 đè */
#brx-header img, #sk-footer img { display: inline-block; }
#brx-header a { color: inherit; }

/* ---- trang dựng khối: bớt đều đặn, nhấn mạnh hơn ---- */
.hero-cover { background: #00302f; }
.hero-cover img.bg { opacity: .55; }
.hero-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 40, 40, .85), rgba(0, 60, 60, .35) 70%, transparent); pointer-events: none; }
.hero-cover .hero-in { z-index: 1; padding: 96px 0 120px; }
.hero-cover .eyebrow { color: #ffd166; }
.blk-hero .cta .btn:first-child { background: #e8590c; color: #fff; border-color: #e8590c; }
/* thẻ ưu điểm ngay sau banner: nổi đè mép banner, sát khối bên dưới */
.blk-hero.hero-cover + .blk-features { position: relative; z-index: 2; margin-top: -78px; padding-top: 0; padding-bottom: 16px; background: transparent; }
.blk-hero.hero-cover + .blk-features .feat { box-shadow: 0 24px 50px -30px rgba(0, 50, 50, .45); }
.blk-features + .sk-blk-cong-ty .pcp-sec { padding-top: 40px; }
/* thẻ điểm nổi bật: rê chuột nổi lên, viền + vạch màu */
.feat { position: relative; overflow: hidden; transition: transform .25s var(--sk-ease, ease), box-shadow .25s, border-color .25s; }
.feat::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #006665, #e8590c); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.feat:hover { transform: translateY(-4px); border-color: #b9dcda; box-shadow: 0 26px 50px -28px rgba(0, 60, 60, .5); }
.feat:hover::before { transform: scaleX(1); }
.feat:hover h3 { color: #006665; }
/* ảnh + nội dung: ảnh bo góc có bóng, khung màu lệch phía sau */
.it-img { position: relative; }
.it-img img { position: relative; z-index: 1; border-radius: 22px; box-shadow: 0 30px 60px -34px rgba(0, 40, 40, .55); }
.it-img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 22px; background: linear-gradient(135deg, #e9f4f4, #fff1e8); }
.blk.bg-brand .it-img::before { background: rgba(255, 255, 255, .12); }
.blk.bg-brand { background: linear-gradient(120deg, #003d3c, #006665); } .blk.bg-brand .btn-primary { background: #e8590c; }
.blk.bg-tint { background: #f2f8f8; }
.blk.bg-dark { background: #062b2b; color: rgba(255, 255, 255, .8); }
/* dải kêu gọi: nút đầu màu cam */
.band { background: linear-gradient(120deg, #003d3c, #006665 60%, #0a7a76); }
.band .cta .btn:first-child { background: #e8590c; color: #fff; }
/* thẻ đội ngũ trong khối trượt: chữ trên ảnh rõ hơn */
.ov-card { border-radius: 18px; }

/* ---- lưới các dòng sản phẩm (ct/sk-groups.eta, khối <!--sk:san-pham-->) ---- */
.skg { padding: 8px 0 64px; }
.skg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.skg-card { display: flex; flex-direction: column; border: 1px solid #e6ecec; border-radius: 18px; background: #fff; overflow: hidden; color: var(--ink) !important; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.skg-card:hover { transform: translateY(-4px); border-color: #b9dcda; box-shadow: 0 24px 46px -28px rgba(0, 60, 60, .5); }
.skg-img { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 14px; background: radial-gradient(circle at 50% 60%, #f3f8f8, #fff 70%); overflow: hidden; }
.skg-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .45s ease; }
.skg-card:hover .skg-img img { transform: scale(1.07); }
.skg-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 14px 16px 16px; border-top: 1px solid #eef3f3; }
.skg-txt b { font-size: 16px; line-height: 1.3; color: #0d1b1b; } .skg-card:hover .skg-txt b { color: #006665; }
.skg-txt small { color: #e8590c; font-size: 13px; font-weight: 600; line-height: 1.35; }
.skg-txt em { margin-top: auto; padding-top: 8px; color: #667085; font-size: 13px; font-style: normal; }
.skg-txt em span { display: inline-block; transition: transform .2s; } .skg-card:hover .skg-txt em span { transform: translateX(4px); }
.skg-all { justify-content: center; background: linear-gradient(140deg, #003d3c, #006665); border-color: transparent; }
.skg-all .skg-txt { border: 0; justify-content: center; } .skg-all .skg-txt b, .skg-all:hover .skg-txt b { color: #fff; font-size: 19px; } .skg-all .skg-txt small { color: #ffd166; } .skg-all .skg-txt em { color: rgba(255, 255, 255, .8); margin-top: 10px; }
@media (max-width: 1024px) { .skg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .skg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .skg-txt { padding: 10px 12px 12px; } .skg-txt b { font-size: 14.5px; } .blk-hero.hero-cover + .blk-features { margin-top: -56px; } .hero-cover .hero-in { padding: 64px 0 96px; } }
.sk-blk-san-pham { background: #f2f8f8; } .blk.bg-tint:has(+ .sk-blk-san-pham) { padding-bottom: 28px; }
.sk-blk-san-pham .skg-card:not(.skg-all) { box-shadow: 0 12px 30px -24px rgba(0, 50, 50, .35); }

/* ---- cỡ chữ trang dựng khối: gọn, không thô (tiêu đề vừa, dòng nhỏ in hoa phía trên, tiêu đề trong nội dung nhỏ hơn) ---- */
.t2-in .blk-head h2, .t2-in .blk-title, .t2-in .section-head h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; }
.t2-in .it-txt h2 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.28; margin-bottom: 14px; }
.t2-in .it-txt .eyebrow { font-size: 13px; letter-spacing: .1em; line-height: 1.5; margin-bottom: 10px; }
.t2-in .prose h2 { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.3; margin: 1.2em 0 .5em; }
.t2-in .prose h3 { font-size: 19px; line-height: 1.35; margin: 1.1em 0 .45em; } .t2-in .prose h4 { font-size: 17px; }
.t2-in .prose > :first-child { margin-top: 0; }
.t2-in .prose, .t2-in .it-txt p { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.t2-in .blk-hero h1 { font-size: clamp(32px, 4vw, 50px); }
.t2-in .feat h3 { font-size: 17px; }

/* Bricks gắn class "tag" cho link bọc ảnh (vd logo header) — trùng .tag (nhãn bo tròn) của theme2: trả lại nguyên dáng */
.brxe-image.tag { padding: 0; background: none; border-radius: 0; font-size: inherit; font-weight: inherit; color: inherit; }

/* bảng trong nội dung (vd vị trí tuyển dụng) */
.t2-in .prose table { display: table; width: 100%; border-collapse: separate; border-spacing: 0; margin: 8px 0 0; border: 1px solid #e3eaea; border-radius: 16px; overflow: hidden; font-size: 15px; background: #fff; }
.t2-in .prose th { padding: 14px 16px; background: #006665; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: left; }
.t2-in .prose td { padding: 14px 16px; border-top: 1px solid #eef3f3; vertical-align: top; color: #475467; }
.t2-in .prose tbody tr:hover td { background: #f6fafa; }
.t2-in .prose td a { color: #006665; text-decoration: none; } .t2-in .prose td:last-child a { color: #e8590c; font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) {
  .t2-in .prose table, .t2-in .prose tbody, .t2-in .prose tr, .t2-in .prose td { display: block; width: 100%; } .t2-in .prose thead { display: none; }
  .t2-in .prose tr { padding: 12px 14px; border-top: 1px solid #eef3f3; } .t2-in .prose tr:first-child { border-top: 0; } .t2-in .prose td { padding: 2px 0; border: 0; }
}
/* thẻ liên hệ: biểu tượng to hơn */
.t2-in .feat-ico { font-size: 26px; }
