:root {
  --paper: #ffffff;
  --surface: #f3f5f7;
  --surface-2: #e9edf1;
  --ink: #0e1a26;
  --ink-2: #33414f;
  --muted: #5a6876;
  --line: #d9e0e6;
  --blue: #076fae;
  --blue-deep: #075f94;
  --blue-wash: #e6f3fb;
  --red: #d31a2b;
  --red-deep: #b01322;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 20px -8px rgba(14, 26, 38, 0.18);
  --wrap: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
::selection { background: var(--blue); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #b9c4ce var(--surface); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }

/* Top bar */
.topbar { background: var(--ink); color: #c9d3dc; font-size: 0.82rem; }
.topbar .wrap { display: flex; gap: 24px; justify-content: space-between; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 720px) { .topbar-addr { display: none; } }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: #fff; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 6px; text-decoration: none; font-size: 0.93rem; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--blue); background: var(--blue-wash); }
.nav .btn { margin-left: 8px; color: #fff; padding: 0 18px; }
.nav .btn:hover { color: #fff; background: var(--red-deep); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; min-height: 42px; padding: 0 12px; font: inherit; font-weight: 600; align-items: center; gap: 8px; cursor: pointer; color: var(--ink); }

@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
  .header-inner { position: relative; }
}

/* Hero */
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 span { color: var(--blue); }
.lead { margin-top: 18px; font-size: 1.1rem; color: var(--ink-2); max-width: 54ch; }
.search { margin-top: 28px; display: flex; gap: 8px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.search label { display: flex; align-items: center; flex: none; padding-left: 12px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; height: 46px; }
.search input::placeholder { color: #6b7886; }
.search:focus-within { border-color: var(--blue); }
.quick { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.88rem; color: var(--muted); }
.chip { font: inherit; font-size: 0.85rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-figure { margin: 0; position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(14,26,38,.45); }
.hero-figure figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .hero-figure img { animation: reveal 1.1s var(--ease) both .1s; }
  @keyframes reveal { from { clip-path: inset(0 0 0 100% round 16px); } to { clip-path: inset(0 0 0 0 round 16px); } }
}
@media (max-width: 900px) {
  .hero { padding: 36px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Facts band */
.facts { border-block: 1px solid var(--line); background: var(--paper); }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.facts div { padding: 22px 24px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 0.98rem; line-height: 1.45; }
@media (max-width: 900px) {
  .facts dl { grid-template-columns: 1fr 1fr; }
  .facts div { padding: 18px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .facts div:nth-child(-n+2) { border-top: 0; }
  .facts div:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 520px) { .facts dl { grid-template-columns: 1fr; } .facts div { padding-left: 0; } .facts div:nth-child(2) { border-top: 1px solid var(--line); } }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { margin-top: 10px; color: var(--muted); max-width: 60ch; }
@media (max-width: 720px) { .section { padding: 60px 0; } }

/* Product groups */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.group { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.group-media { background: var(--surface); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.group-media img { width: 100%; height: 100%; object-fit: cover; }
.group-media.is-product { background: #fff; padding: 20px; border-bottom: 1px solid var(--line); }
.group-media.is-product img { object-fit: contain; }
.group-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.group-body h3 { font-size: 1.25rem; }
.group-body p { color: var(--ink-2); font-size: 0.95rem; }
.group ul { list-style: none; padding: 0; margin: 4px 0 0; border-top: 1px solid var(--line); }
.group li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.group li span:last-child { color: var(--muted); text-align: right; }
.group .group-link { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--blue); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; background: none; border: 0; font: inherit; cursor: pointer; padding-left: 0; }
.group .group-link:hover { color: var(--blue-deep); text-decoration: underline; }
@media (max-width: 960px) { .groups { grid-template-columns: 1fr; max-width: 620px; } }

/* Catalogue */
.catalog-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 10px; flex-wrap: wrap; }
.tab { font: inherit; font-size: 0.92rem; font-weight: 600; border: 0; background: transparent; color: var(--ink-2); padding: 8px 14px; border-radius: 7px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(14,26,38,.12); }
.tab .count { color: var(--muted); font-weight: 500; margin-left: 4px; }
.catalog-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 12px; min-height: 44px; flex: 0 1 320px; color: var(--muted); background: var(--paper); }
.catalog-search:focus-within { border-color: var(--blue); }
.catalog-search input { border: 0; outline: 0; font: inherit; font-size: 0.95rem; width: 100%; color: var(--ink); background: transparent; }
.brands-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 24px; }
.result-note { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s var(--ease), transform .3s var(--ease); }
.product:hover { border-color: #9fb0bf; transform: translateY(-2px); }
.product-media { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-brand { font-size: 0.78rem; font-weight: 600; color: var(--blue); }
.product h3 { font-size: 0.98rem; }
.product p { font-size: 0.88rem; color: var(--muted); }
.product-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.product-actions .btn { min-height: 38px; padding: 0 12px; font-size: 0.85rem; flex: 1; }
.empty { display: none; padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }
.empty.show { display: block; }
.empty p + p { margin-top: 8px; color: var(--muted); }
@media (max-width: 1080px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .products { grid-template-columns: repeat(2, 1fr); gap: 12px; } .product-body { padding: 12px; } .product-actions { flex-direction: column; } }

/* Solutions */
.solutions { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.solutions figure { margin: 0; position: sticky; top: 100px; }
.solutions figure img { border-radius: 16px; width: 100%; aspect-ratio: 392 / 287; object-fit: cover; }
.solutions figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
.sol-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.sol-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sol-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-wash); color: var(--blue); display: grid; place-items: center; }
.sol-list h3 { font-size: 1.05rem; }
.sol-list p { margin-top: 4px; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 900px) { .solutions { grid-template-columns: 1fr; gap: 32px; } .solutions figure { position: static; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partner { background: var(--paper); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.partner img { height: 44px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; }
.partner p { font-size: 0.9rem; color: var(--ink-2); }
.also { margin-top: 20px; color: var(--muted); font-size: 0.93rem; }
.also strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .partners { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .partners { grid-template-columns: 1fr; } }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.article a { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.article img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.article span { font-size: 0.8rem; font-weight: 600; color: var(--blue); }
.article h3 { font-size: 1.05rem; }
.article a:hover h3 { color: var(--blue); text-decoration: underline; }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .articles { grid-template-columns: 1fr; } }

/* RFQ */
.rfq { background: var(--ink); color: #e8eef3; }
.rfq-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; }
.rfq h2 { color: #fff; }
.rfq-intro p { margin-top: 14px; color: #b8c6d2; max-width: 46ch; }
.contact-lines { margin-top: 32px; display: grid; gap: 18px; }
.contact-lines div { display: grid; gap: 2px; }
.contact-lines span { font-size: 0.8rem; color: #9fb0bf; font-weight: 500; }
.contact-lines a, .contact-lines p { color: #fff; font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.form { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field textarea { font: inherit; font-size: 0.95rem; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; color: var(--ink); background: var(--paper); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field .err { font-size: 0.82rem; color: var(--red); display: none; }
.field .err.show { display: block; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-note { grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 900px) { .rfq-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 20px; } }

/* Footer */
.site-footer { background: #08111a; color: #a9b7c4; font-size: 0.92rem; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 8px; }
.footer-logo img { width: 130px; height: auto; }
.footer-grid p { margin-top: 16px; line-height: 1.65; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; }
.site-footer a { color: #d6e0e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact span { display: block; font-size: 0.78rem; color: #7f909f; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #1d2a36; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 0.82rem; color: #7f909f; }
.footer-bottom p { max-width: 70ch; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kết quả phiếu báo giá */
.rfq-result { grid-column: 1 / -1; display: grid; gap: 12px; padding: 18px; border-radius: var(--radius-sm); background: var(--blue-wash); }
.rfq-result[hidden] { display: none; }
.rfq-result h3 { font-size: 1rem; }
.rfq-result p { font-size: 0.9rem; color: var(--ink-2); }
.rfq-result textarea { font: inherit; font-size: 0.88rem; min-height: 150px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--paper); color: var(--ink); width: 100%; resize: vertical; }
.rfq-result .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.copy-state { font-size: 0.85rem; color: var(--blue-deep); font-weight: 600; }

.rfq-sent { grid-column: 1 / -1; display: grid; gap: 6px; padding: 18px; border-radius: var(--radius-sm); background: #e8f6ee; color: #14532d; }
.rfq-sent[hidden] { display: none; }
.rfq-sent h3 { font-size: 1rem; }
.rfq-sent p { font-size: 0.92rem; }
.btn:disabled { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Dải thông báo từ Sheet */
.notice { background: var(--blue); color: #fff; font-size: 0.9rem; font-weight: 500; }
.notice[hidden] { display: none; }
.notice .wrap { padding-block: 9px; text-align: center; }
.notice a { color: #fff; font-weight: 700; }

/* Tài liệu */
.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.docs li { border-bottom: 1px solid var(--line); }
.docs a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; text-decoration: none; font-weight: 600; }
.docs a:hover { color: var(--blue); }
.docs span { font-size: 0.82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
@media (max-width: 720px) { .docs { grid-template-columns: 1fr; } }

/* Dự án */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.project-media { position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--surface); }
.project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-media.is-product img { object-fit: contain; padding: 16px; background: #fff; }
.sample-badge { position: absolute; left: 12px; top: 12px; background: #fff7db; color: #6b4a00; border: 1px solid #f0d48a; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.project-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-meta { font-size: 0.8rem; font-weight: 600; color: var(--blue); }
.project h3 { font-size: 1.05rem; }
.project p { font-size: 0.92rem; color: var(--ink-2); }
.project-tags { list-style: none; margin: auto 0 0; padding: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.project-tags li { font-size: 0.78rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.sample-note { margin: -16px 0 24px; font-size: 0.88rem; color: #6b4a00; background: #fff7db; border-radius: var(--radius-sm); padding: 10px 14px; }
.sample-note[hidden] { display: none; }
@media (max-width: 960px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .projects { grid-template-columns: 1fr; } }

/* ===== Trang con ===== */
[hidden] { display: none !important; }
.nav a[aria-current="page"] { color: var(--blue); background: var(--blue-wash); }
.section-tight { padding: 48px 0; }
@media (max-width: 720px) { .section-tight { padding: 36px 0; } }
.page-head { padding: 28px 0 36px; background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-top: 12px; }
.page-head > .wrap > p { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }
.page-head-slim { padding: 16px 0; background: var(--surface); }
.wrap-narrow { max-width: calc(820px + 32px); }
.muted { color: var(--muted); font-size: 0.92rem; }
.h3 { font-size: 1.05rem; font-weight: 600; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #a6b2bd; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted); }

.type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.type-chips .chip { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.type-chips .chip span { color: var(--muted); font-size: 0.78rem; }
.type-chips .chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.type-chips .chip[aria-current="page"] span { color: #c9d3dc; }
a.chip { text-decoration: none; }

.groups-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.group h3 a, .product h3 a { text-decoration: none; }
.group h3 a:hover, .product h3 a:hover { color: var(--blue); text-decoration: underline; }
.group li a { text-decoration: none; }
.group li a:hover { color: var(--blue); text-decoration: underline; }
a.group-link { text-decoration: none; }
@media (max-width: 1100px) { .groups-4 { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (max-width: 640px) { .groups-4 { grid-template-columns: 1fr; } }
.partners-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .partners-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .partners-5 { grid-template-columns: 1fr 1fr; } }
a.product-media { text-decoration: none; }

/* Chi tiết sản phẩm */
.pd { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.pd-main { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 28px; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px; cursor: pointer; }
.pd-thumb:hover { border-color: var(--blue); }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-info h1 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; }
.pd-info .product-brand a { color: inherit; text-decoration: none; }
.pd-info .product-brand a:hover { text-decoration: underline; }
.pd-sub { margin-top: 6px; color: var(--muted); font-weight: 500; }
.pd-summary { margin-top: 14px; font-size: 1.1rem; color: var(--ink-2); }
.pd-facts { margin: 22px 0 0; border-top: 1px solid var(--line); }
.pd-facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.pd-facts dt { color: var(--muted); font-weight: 500; }
.pd-facts dd { margin: 0; font-weight: 600; }
.pd-facts a { color: var(--blue); text-decoration: none; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.pd-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.pd-body { display: grid; gap: 20px; }
.pd-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.pd-block h2 { font-size: 1.25rem; margin-bottom: 14px; }
.spec-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.spec-list li { padding: 9px 0 9px 18px; border-bottom: 1px solid var(--line); position: relative; font-size: 0.95rem; }
.spec-list li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.lang-note, .source-note { font-size: 0.86rem; color: #6b4a00; background: #fff7db; border-radius: var(--radius-sm); padding: 8px 12px; margin-bottom: 14px; }
.source-note { margin: 0; }
.source-note a { color: inherit; font-weight: 600; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; gap: 28px; } .pd-main { max-width: 520px; } .spec-list { grid-template-columns: 1fr; } .pd-block { padding: 20px; } }

/* Nội dung HTML chuyển từ trang cũ */
.prose { color: var(--ink-2); font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 14px; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 28px; }
.prose h2 { font-size: 1.35rem; } .prose h3 { font-size: 1.15rem; } .prose h4 { font-size: 1rem; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose img { border-radius: var(--radius-sm); margin: 8px 0; max-height: 640px; width: auto; }
.prose figure { margin: 16px 0; }
.prose a { color: var(--blue); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }
.prose dl { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 6px 16px; }
.prose dt { font-weight: 600; color: var(--ink); }
.prose dd { margin: 0; }
.prose blockquote { border-left: 3px solid var(--blue); margin-left: 0; padding-left: 16px; color: var(--muted); }

/* Hãng */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--paper); transition: border-color .2s, transform .3s var(--ease); }
.brand-card:hover { border-color: #9fb0bf; transform: translateY(-2px); }
.brand-logo { height: 48px; display: flex; align-items: center; }
.brand-logo img { max-height: 44px; width: auto; max-width: 170px; }
.brand-logo strong { font-size: 1.3rem; color: var(--ink-2); letter-spacing: -0.02em; }
.brand-card h2 { font-size: 1.15rem; margin-top: 6px; }
.brand-card p { color: var(--ink-2); font-size: 0.93rem; }
.brand-count { margin-top: auto; padding-top: 8px; font-size: 0.85rem; font-weight: 600; color: var(--blue); }
.brand-head { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.brand-head img { height: 64px; width: auto; max-width: 200px; background: #fff; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); }
.brand-head p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 900px) { .brand-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .brand-grid { grid-template-columns: 1fr; } }

/* Bài viết */
.article-ph { aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; color: #9fb0bf; font-weight: 700; font-size: 1.4rem; }
.pager { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 40px; }
.pager-num { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.pager-num.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.post-title { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem) !important; }
.post-meta { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
.post-meta a { color: var(--blue); text-decoration: none; }
.post-cover { width: 100%; border-radius: var(--radius); margin-bottom: 24px; border: 1px solid var(--line); }
.post-cta { margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--blue-wash); display: grid; gap: 10px; }
.post-cta h2 { font-size: 1.2rem; }
.post-cta p { color: var(--ink-2); }
.post-cta .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* Liên hệ, giới thiệu */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-grid p { margin-top: 8px; color: var(--ink-2); }
.contact-grid a { color: var(--blue); font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-side { display: grid; gap: 20px; position: sticky; top: 100px; }
.about-side > img { border-radius: 16px; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.partner-logos img { height: 34px; width: auto; max-width: 120px; object-fit: contain; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-side { position: static; } }
