:root {
  /* Bảng màu nâu - trắng - đen (theo tham khảo phukienxevip.com) */
  --bg: #F3F4F6;          /* nền trang: xám sáng */
  --surface: #FFFFFF;     /* thẻ, khung: trắng */
  --surface-2: #FAF1EC;   /* be nhạt */
  --line: #E4DDD6;        /* đường kẻ */
  --text: #0A0A0A;        /* chữ chính: gần đen */
  --muted: #666666;       /* chữ phụ */
  --copper: #906344;      /* nâu chủ đạo (tên biến giữ nguyên để khỏi sửa nhiều chỗ) */
  --copper-hi: #7A4E2E;   /* nâu đậm: khi rê chuột */
  --cold: #5B4636;        /* nâu sẫm (dùng thay màu xanh cũ) */
  --brown-dark: #6B4228;
  --ink: #0A0A0A;
  --prose: #3A3430;       /* chữ bài viết */
  --faint: #8A8178;       /* chữ rất nhạt: ghi chú, ô giữ chỗ */
  --danger: #B3261E;

  --font-head: "Chakra Petch", "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 12px;
  --gutter: 20px;
  --shadow: 0 1px 2px rgba(60, 40, 25, .05), 0 8px 24px rgba(60, 40, 25, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-spacing: .06em;
}

main { min-height: 60vh; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* ---------- Thanh bản mẫu ---------- */
.proto-bar {
  background: var(--surface-2);
  color: var(--copper-hi);
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .06em;
  text-align: center;
  padding: 8px var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Nâu chuyển sắc như tham khảo, giữ ở dải nâu vừa-đậm để chữ trắng luôn đủ tương phản */
  background: linear-gradient(90deg, #6B4228 0%, #7A4E2E 35%, #906344 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(60, 40, 25, .18);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 84px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand-logo { display: block; height: 56px; width: auto; border-radius: 8px; flex: none; }
.brand-name { font: 700 28px/1 var(--font-head); letter-spacing: .02em; }
.brand-sm .brand-logo { height: 44px; }
.brand-sm .brand-name { font-size: 22px; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  text-decoration: none; color: rgba(255, 255, 255, .86);
  padding: 9px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  transition: color .15s, background .15s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.main-nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .2); font-weight: 600; }

.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px;
  text-decoration: none; color: var(--text);
  transition: border-color .15s;
}
.cart-link:hover { border-color: var(--copper); }
.cart-count { font: 500 13px/1 var(--font-mono); color: var(--copper); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, .5); border-radius: 10px;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Thành phần chung ---------- */
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* Giao diện sáng: bỏ dấu góc kỹ thuật cũ cho gọn */
.panel::before, .panel::after { content: none; }

.eyebrow { font: 500 13px/1.5 var(--font-mono); letter-spacing: .12em; color: var(--copper); margin-bottom: 14px; }
.tag {
  display: inline-block;
  font: 500 12px/1 var(--font-mono); letter-spacing: .08em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; margin-bottom: 14px; background: #fff;
}
.tag-accent { color: var(--copper); border-color: var(--copper); }
.tag-corner { position: absolute; top: 14px; left: 14px; margin: 0; z-index: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  font: 600 15px/1 var(--font-body);
  text-decoration: none; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--copper); }
.btn-ghost { border-color: #CFC6BD; color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--copper); color: var(--copper); }

/* ---------- Đầu trang chủ: ảnh bộ điều khiển ---------- */
.top-hero {
  padding: 36px 0 56px; text-align: center;
  background: radial-gradient(60% 60% at 50% 22%, rgba(225, 200, 177, .55), transparent 72%);
}
.top-visual { margin: 0 auto; max-width: 780px; }
.top-visual img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 28px rgba(60, 40, 25, .28)); }
.top-copy { max-width: 860px; margin: 28px auto 0; }
.top-copy h1 { font-size: clamp(1.7rem, 3.7vw, 2.7rem); font-weight: 700; line-height: 1.25; margin-bottom: .5em; text-wrap: balance; }
.top-copy .nb { white-space: nowrap; }
.top-copy h1 em { font-style: normal; color: var(--copper); }
.top-copy .lead { margin-inline: auto; text-wrap: balance; }
.top-copy .hero-actions { justify-content: center; margin-bottom: 0; }

.strip { border-block: 1px solid var(--line); background: var(--surface); padding: 28px 0; }
.strip .hero-stats { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strip .hero-stats div { max-width: none; }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-card { display: block; padding: 28px; text-decoration: none; transition: border-color .15s, background .15s; }
.quick-card:hover { border-color: var(--copper); background: var(--surface-2); }
.quick-card h3 { font-size: 1.25rem; }
.quick-card p { color: var(--muted); margin: 0; }

/* ---------- Hero (cũ) ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--copper); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 28px 40px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats div { max-width: 150px; }
.hero-stats dt { font: 600 28px/1 var(--font-mono); color: var(--text); margin-bottom: 6px; }
.hero-stats dd { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.4; }

.hero-visual { margin: 0; padding: 56px 20px 20px; background: radial-gradient(120% 90% at 50% 40%, #F3E9E1 0%, var(--surface) 70%); }
.hero-visual img { display: block; width: 100%; height: auto; }
.hero-visual figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.dial { display: block; width: 100%; max-width: 360px; margin: 0 auto; }
.dial-value { font: 500 56px/1 var(--font-mono); fill: var(--text); }
.dial-label { font: 500 13px/1 var(--font-mono); letter-spacing: .14em; fill: var(--muted); }
.dial-min { font: 500 13px/1 var(--font-mono); fill: var(--muted); }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.chips li { font: 400 12px/1 var(--font-mono); letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 10px; display: flex; justify-content: space-between; }
.chips b { color: var(--text); font-weight: 500; }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head p:last-child { color: var(--muted); margin: 0; }

/* ---------- Chu trình ---------- */
.cycle { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.cycle-diagram { padding: 16px; }
.cycle-diagram svg { display: block; width: 100%; height: auto; }

.pipe { fill: none; stroke-width: 6; stroke-linejoin: round; stroke-linecap: butt; }
.pipe-base { stroke: var(--line); }
.pipe-flow { stroke-width: 3; stroke-dasharray: 2 14; stroke-linecap: round; animation: flow 1.2s linear infinite; }
.flow-high { stroke: var(--copper); }
.flow-low { stroke: var(--cold); }
@keyframes flow { to { stroke-dashoffset: -32; } }

.zone { font: 500 14px/1 var(--font-mono); letter-spacing: .14em; }
.zone-high { fill: var(--copper); }
.zone-low { fill: var(--cold); }

.node { cursor: pointer; outline: none; }
.node rect { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.5; transition: stroke .15s, fill .15s; }
.node-idx { font: 500 14px/1 var(--font-mono); fill: var(--muted); letter-spacing: .1em; }
.node-name { font: 600 19px/1 var(--font-head); fill: var(--text); }
.node:hover rect, .node:focus-visible rect { stroke: var(--copper); }
.node.is-active rect { stroke: var(--copper); fill: #F3E6DC; stroke-width: 2.5; }
.node.is-active .node-idx { fill: var(--copper); }

.cycle-detail { padding: 28px; display: flex; flex-direction: column; }
.cycle-detail h3 { font-size: 1.6rem; margin-bottom: .2em; }
.cd-role { color: var(--copper); font-weight: 500; }
.io { margin: auto 0 0; padding-top: 20px; display: grid; gap: 10px; }
.io div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.io dt { font: 500 12px/1.9 var(--font-mono); letter-spacing: .1em; color: var(--muted); }
.io dd { margin: 0; }

/* ---------- Điều hòa thông minh ---------- */
.flow { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; gap: 0; align-items: stretch; }
.flow-col { padding: 24px; }
.flow-col li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.flow-col li:last-child { border-bottom: 0; }
.flow-col small { color: var(--muted); }
.flow-core { border-color: var(--copper); display: flex; flex-direction: column; justify-content: center; }
.flow-core h3 { font-size: 1.35rem; }
.flow-core p:last-child { color: var(--muted); margin: 0; }
.flow-arrow { position: relative; align-self: center; height: 2px; background: var(--line); }
.flow-arrow::after {
  content: ""; position: absolute; right: 0; top: -5px;
  border: 6px solid transparent; border-left: 9px solid var(--copper); border-right: 0;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.features li { padding: 24px; }
.features h3 { font-size: 1.1rem; }
.features p { color: var(--muted); font-size: 15px; margin: 0; }
.feat-idx { display: block; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; color: var(--copper); margin-bottom: 14px; }

/* ---------- Bảng ---------- */
/* Khung trang trí (.panel) lấn ra 1px nên phần cuộn phải nằm ở lớp trong, nếu không sẽ hiện thanh cuộn thừa */
.table-scroll { overflow-x: auto; }
.spec-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table thead th { font: 600 13px/1.2 var(--font-mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.spec-table tbody th { font-weight: 500; color: var(--text); width: 18%; }
.spec-table td { color: var(--muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table .hl { background: rgba(144, 99, 68, .09); color: var(--text); }
.spec-table thead .hl { color: var(--copper); }

/* ---------- Sản phẩm ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { display: flex; flex-direction: column; overflow: hidden; }
.product-img img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-img {
  aspect-ratio: 16 / 10; display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(60, 40, 25, .035) 14px 15px),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
  font: 500 13px/1 var(--font-mono); letter-spacing: .12em; color: var(--muted);
}
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.product-body h3 { font-size: 1.4rem; }
.product-body p:not(.tag):not(.price) { color: var(--muted); }
.price { font: 500 22px/1 var(--font-mono); color: var(--copper); margin: auto 0 18px; padding-top: 8px; }

.fit { color: var(--text) !important; margin-bottom: .6em; }
.fit b { color: var(--copper); font-weight: 600; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Trang sản phẩm ---------- */
.narrow { max-width: 780px; }
.pdp-section { padding: 28px 0 72px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; font: 400 13px/1.4 var(--font-mono); letter-spacing: .04em; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--copper); }
.crumbs [aria-current] { color: var(--text); }

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.gallery-main {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(60, 40, 25, .035) 14px 15px),
    var(--surface-2);
  font: 500 13px/1 var(--font-mono); letter-spacing: .12em; color: var(--muted);
}
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery-main img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.thumb {
  aspect-ratio: 1; display: grid; place-items: center; padding: 0; overflow: hidden; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font: 500 12px/1 var(--font-mono); color: var(--muted);
}
.thumb img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.thumb:hover { border-color: var(--muted); }
.thumb.is-active { border-color: var(--copper); color: var(--copper); }
.box-list { margin: 0 0 20px; display: grid; gap: 8px; }
.box-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15px; }
.box-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 2px; background: var(--copper); }

.pdp-info { padding: 32px; }
.pdp-info h1 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: .5em; }
.pdp-price { font: 500 28px/1.2 var(--font-mono); color: var(--copper); margin-bottom: 1em; }
.pdp-price small { font: 400 13px/1 var(--font-body); color: var(--muted); margin-left: 8px; }
.pdp-summary { color: var(--muted); }
.ticks { margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--copper); transform: rotate(45deg); }
.ticks b { font-weight: 600; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.two-col .section-head { margin-bottom: 24px; }
.table-flat { overflow: hidden; }
.kv { width: 100%; border-collapse: collapse; font-size: 15px; }
.kv th, .kv td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.kv th { width: 42%; font-weight: 500; color: var(--muted); }
.kv .todo, .todo { color: var(--faint); font-style: italic; }
.note-panel { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.note-panel p { margin-bottom: .8em; }
.note-panel .btn { margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 24px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: 15px; }
.inline-link { color: var(--copper); font-weight: 500; }
.inline-link:hover { color: var(--copper-hi); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font: 600 1.05rem/1.4 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 22px/1 var(--font-mono); color: var(--copper); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }

/* ---------- Trang con: tiêu đề, biểu mẫu, liên hệ ---------- */
.page-head { padding: 56px 0 36px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .35em; }
.page-head .lead { margin-bottom: 0; }
.pt0 { padding-top: 0; }
.after-note { margin: 24px 0 0; color: var(--muted); }

.order-layout { align-items: start; }
.order-card { padding: 32px; }
.order-side { padding: 28px; position: sticky; top: 100px; }
.steps-list { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; display: grid; gap: 2px; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--copper); border-radius: 4px; color: var(--copper); font: 500 14px/1 var(--font-mono);
}
.steps-list span { color: var(--muted); font-size: 15px; }

.form-h { font-size: 1.1rem; margin: 28px 0 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.choices { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.choices legend { font: 600 1.1rem/1.3 var(--font-head); margin-bottom: 14px; padding: 0; }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-body {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center;
  padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, background .15s;
}
.choice-body b { font-weight: 600; }
.choice-body small { grid-column: 1; color: var(--muted); font-size: 14px; }
.choice-body em { grid-column: 2; grid-row: 1 / span 2; font: 500 18px/1 var(--font-mono); font-style: normal; color: var(--copper); }
.choice:hover .choice-body { border-color: var(--muted); }
.choice input:checked + .choice-body { border-color: var(--copper); background: var(--surface-2); }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--copper); outline-offset: 3px; }

.field { margin-bottom: 18px; }
.field-narrow { max-width: 160px; }
.field > label:not(.check) { display: block; margin-bottom: 8px; font-weight: 500; font-size: 15px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="number"], .field textarea {
  width: 100%; min-height: 46px; padding: 12px 14px; background: var(--bg); color: var(--text);
  border: 1px solid #D2C8BE; border-radius: 10px; font: 400 16px/1.5 var(--font-body);
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: var(--copper); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 6px 0 0; min-height: 0; font-size: 14px; color: var(--danger); }
.field-error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--copper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; }
.done { padding: 8px 0; }
.done:focus { outline: none; }
.done h2 { font-size: 1.5rem; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.contact-card { padding: 24px; }
.contact-val { margin: 0; font-size: 1.1rem; }
.owner { padding: 28px; }
.owner h2 { font-size: 1.5rem; }
.owner p:last-child { margin: 0; }
.features-3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.info-card { padding: 24px; }
.info-card h3 { font-size: 1.1rem; }
.info-card p { color: var(--muted); font-size: 15px; margin: 0; }
.info-card p.todo { color: var(--faint); }

/* ---------- Bài viết (trang chủ) ---------- */
/* Ảnh ngang lớn ở đầu trang */
.hero-photo { margin: 0; padding: 24px 0 0; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; object-position: 50% 19%; border-radius: var(--radius); border: 1px solid var(--line); }
.hero-photo figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.article-head { padding: 36px 0 12px; }
.article-head h1 { font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.25; max-width: 24em; margin-bottom: .5em; text-wrap: balance; }
.article-head .lead { max-width: 70ch; font-size: .98rem; line-height: 1.7; margin-bottom: 0; }
.article-section { padding: 40px 0; }
.article-alt { background: var(--surface); border-block: 1px solid var(--line); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.2rem, 2.3vw, 1.55rem); margin: 0 0 .7em; }
.prose h3 { font-size: 1rem; margin: 1.4em 0 .6em; }
.prose p { color: var(--prose); font-size: .95rem; line-height: 1.75; }
.prose b { color: var(--text); font-weight: 600; }
.note-box { border-left: 3px solid var(--copper); padding: 4px 0 4px 18px; color: var(--text) !important; }

.figure-card { margin: 32px 0; }
.figure-card.panel { padding: 24px 24px 20px; }
.figure-card figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.chart { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; }
.chart .ax { stroke: var(--line); stroke-width: 2; }
.chart .setp { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 7 7; }
.chart .lbl { fill: var(--muted); font: 500 17px var(--font-mono); letter-spacing: .03em; }
.chart .curve { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.chart .div { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 3 6; }
.chart .ph { fill: var(--surface-2); stroke: var(--copper); stroke-width: 2; }
.chart .phn { fill: var(--copper); font: 600 16px var(--font-mono); }
.legend .num { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--copper); border-radius: 50%; color: var(--copper); font: 600 12px/1 var(--font-mono); font-style: normal; }
.curve-manual { stroke: var(--copper); }
.curve-auto { stroke: var(--cold); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 16px 0 0; font-size: 14px; color: var(--text); }
.legend li { display: flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.dot-manual { background: var(--copper); }
.dot-auto { background: var(--cold); }
.dash { display: inline-block; width: 22px; height: 0; border-top: 2px dashed var(--muted); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.compare-card { padding: 26px; }
.compare-card h3 { font-size: 1.2rem; }
.compare-card .ticks { margin: 0; }
.compare-auto { border-color: var(--cold); }
.compare-auto::before, .compare-auto::after { border-color: var(--cold); }
.ticks-muted li::before { background: var(--muted); }

.loop-note { margin: 16px 0 0; padding: 14px 18px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text); font-size: 15px; }
.loop-note span { color: var(--cold); font-size: 20px; margin-right: 8px; vertical-align: -2px; }
.num-steps { margin: 0 0 1.2em; padding: 0; list-style: none; counter-reset: ns; display: grid; gap: 12px; }
.num-steps li { counter-increment: ns; position: relative; padding-left: 44px; color: var(--prose); font-size: .95rem; line-height: 1.7; }
.num-steps li b { color: var(--text); }
.num-steps li::before {
  content: counter(ns); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--copper); border-radius: 4px; color: var(--copper); font: 500 16px/1 var(--font-mono);
}
.pros { margin: 28px 0; }
.figure-plain { position: static; }
/* Ảnh minh họa gọn: cột ảnh hẹp, khung vuông; xen kẽ trái/phải */
.two-col-photo { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.two-col-photo.photo-left { grid-template-columns: 1fr 1fr; }
.two-col-photo.photo-left .post-figure { order: -1; }
.figure-photo img { aspect-ratio: 1 / 1; object-fit: cover; }
.figure-photo.ph-43 img { aspect-ratio: 3 / 2; }
.photo-single { max-width: 780px; margin-top: 22px; }
.photo-single img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 30% 50%; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin-top: 22px; }
.photo-pair img { aspect-ratio: 3 / 2; object-fit: cover; }
.article .post-figure figcaption { font-size: 12.5px; line-height: 1.55; }
.article .spec-table { font-size: 14px; }
.article .spec-table th, .article .spec-table td { padding: 12px 16px; }
.article .table-wrap { margin-top: 20px; }
.credit { display: block; margin-top: 4px; font-size: 11.5px; color: var(--faint); }

/* ---------- Trang chủ: ra mắt, bộ sản phẩm ---------- */
.launch-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); text-wrap: balance; }
.launch-title .nb { white-space: nowrap; }
.launch-lead { color: var(--muted); font-size: 1.05rem; }
.launch-list { margin: 20px 0 0; gap: 14px; }
.two-col-even { grid-template-columns: 1fr 1fr; align-items: center; }
.media-panel { margin: 0; padding: 20px; background: radial-gradient(100% 90% at 50% 40%, #FFFFFF 0%, #F1E6DD 100%); }
.media-panel img { display: block; width: 100%; height: auto; }
/* Nền nâu xám ấm, cùng tông với ảnh dây nguồn (sáng giữa/trái, tối dần về góc phải dưới) */
.media-warm { background: radial-gradient(85% 95% at 40% 48%, #70645c 0%, #5b5249 52%, #3d352e 100%); }
.kit-list { margin: 20px 0 18px; gap: 14px; }
.figure-stack { display: grid; gap: 22px; align-content: start; }
.figure-stack .post-figure { position: static; }
.media-stack { display: grid; gap: 16px; }
/* Ảnh có nền tối sẵn: cho ăn sát mép khung, chú thích nằm ngay dưới */
.media-bleed { padding: 0; overflow: hidden; }
.media-bleed img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 50%; }
.media-bleed figcaption { padding: 12px 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.features-top { margin-top: 0; }

/* ---------- Bài viết ---------- */
.post { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; padding: 36px; align-items: start; }
.post-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font: 400 13px/1 var(--font-mono); letter-spacing: .06em; color: var(--muted); }
.post-meta .tag { margin: 0; }
.post h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .6em; }
.post h4 { font: 500 13px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--copper); margin: 24px 0 12px; }
.post-lead { font-size: 1.05rem; color: var(--text); }
.post .ticks { margin: 0; }
.post-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.post-figure { margin: 0; position: sticky; top: 100px; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.post-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Video hướng dẫn ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card { overflow: hidden; display: flex; flex-direction: column; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-bottom: 1px solid var(--line); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: 22px 24px 26px; }
.video-body h2 { font-size: 1.15rem; line-height: 1.4; margin-bottom: .7em; }

/* ---------- Tra cứu bảo hành ---------- */
.lookup { max-width: 720px; padding: 28px; }
.lookup label { display: block; font: 500 13px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.lookup-row { display: flex; gap: 12px; }
.lookup input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid #D2C8BE; border-radius: 10px;
  font: 500 16px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
}
.lookup input::placeholder { color: var(--faint); text-transform: none; letter-spacing: 0; }
.lookup input:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: var(--copper); }
.lookup-result { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.lookup-result dl { margin: 0; display: grid; gap: 10px; }
.lookup-result dl div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.lookup-result dt { font: 500 12px/1.9 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lookup-result dd { margin: 0; }
.lookup-result .status { font: 600 13px/1 var(--font-mono); letter-spacing: .08em; padding: 6px 10px; border-radius: 3px; border: 1px solid; display: inline-block; }
.status-ok { color: var(--cold); border-color: var(--cold); }
.status-bad { color: var(--danger); border-color: var(--danger); }
.lookup-msg { margin: 0; color: var(--danger); }
.hint { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.hint code { font-family: var(--font-mono); color: var(--copper); }

/* ---------- CTA ---------- */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cta p:last-child { color: var(--muted); max-width: 52ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
/* Chân trang đen, chữ sáng, điểm nhấn nâu nhạt */
.site-footer { padding: 44px 0 96px; font-size: 14px; color: #CFC7BE; background: #0F0D0C; border-top: 3px solid var(--copper); }
/* Be Vietnam Pro có dấu cách hẹp (~0,23em), chữ nhỏ màu xám dễ bị dính liền: nới khoảng cách giữa các từ */
.footer-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; font-size: 15px; line-height: 1.7; word-spacing: .14em; }
.footer-center p { margin: 0; max-width: 62ch; }
.footer-center .nb { white-space: nowrap; }
.footer-center .maker-lead, .footer-center .maker-detail { display: block; }
.footer-center .maker-detail { margin-top: 2px; }
.footer-center b { color: #fff; font-weight: 600; }
.footer-center .brand { margin: 0 0 4px; }
.footer-center .brand-name { color: #fff; }
.footer-center .footer-maker { color: #fff; }
.footer-center .footer-copy { margin-top: 8px; padding-top: 16px; border-top: 1px solid #2E2925; width: 100%; max-width: 560px; }
.footer-center .disclaimer { font-size: 13px; color: #A39A91; margin-top: 8px; padding-top: 16px; border-top: 1px solid #2E2925; width: 100%; max-width: 560px; }

/* ---------- Nút gọi nổi (ẩn trên trang có data-fab="off", ví dụ trang chủ) ---------- */
body[data-fab="off"] .fab { display: none !important; }
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: none; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 18px;
  background: var(--ink); color: #fff; text-decoration: none;
  font: 600 15px/1 var(--font-body);
  border-radius: 999px; box-shadow: 0 6px 20px rgba(60, 40, 25, .35);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .two-col-photo, .two-col-photo.photo-left { grid-template-columns: 1fr; gap: 20px; }
  .figure-photo img, .figure-photo.ph-43 img { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .features-3, .videos, .post { grid-template-columns: 1fr; }
  .post { gap: 24px; }
  .post-figure { position: static; order: -1; }
  .quick { grid-template-columns: 1fr 1fr; }
  .order-side { position: static; }
  .pdp, .two-col { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .hero-grid, .cycle { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .features { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 560px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-arrow { width: 2px; height: 36px; justify-self: center; }
  .flow-arrow::after { right: auto; top: auto; bottom: 0; left: -5px; border: 6px solid transparent; border-top: 9px solid var(--copper); border-bottom: 0; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: #6B4228; box-shadow: 0 12px 24px rgba(60, 40, 25, .25);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .18); border-radius: 0; font-size: 16px; }
  .main-nav a:hover, .main-nav a[aria-current] { background: transparent; color: #fff; text-decoration: underline; text-underline-offset: 6px; }
  .brand { margin-right: auto; }
  .fab { display: inline-flex; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { padding: 44px 0 48px; }
  .section { padding: 56px 0; }
  .products, .features { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn, .product-actions .btn { flex: 1 1 100%; }
  .pdp-info { padding: 22px; }
  .pdp-section { padding-bottom: 48px; }
  .kv th, .kv td { padding: 12px 14px; }
  .note-panel { padding: 22px; }
  .lookup { padding: 22px; }
  .lookup-row { flex-direction: column; }
  .lookup-result dl div { grid-template-columns: 1fr; gap: 2px; }
  .cta { padding: 28px 22px; }

  .table-scroll { overflow: visible; }
  .spec-table { min-width: 0; }
  .spec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .spec-table tr:last-child { border-bottom: 0; }
  .spec-table tbody th { width: 100%; padding: 14px 16px 6px; font: 600 15px/1.3 var(--font-head); color: var(--copper); border: 0; }
  .spec-table td { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 8px 16px; border: 0; }
  .spec-table td::before { content: attr(data-label); font: 500 12px/1.9 var(--font-mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
  .cycle-detail { padding: 22px; }
  .header-inner { min-height: 72px; gap: 10px; }
  .brand { gap: 10px; }
  .brand-logo { height: 46px; }
  .brand-name { font-size: 24px; }
  .top-hero { padding: 20px 0 40px; }
  .strip .hero-stats { grid-template-columns: 1fr; gap: 18px; }
  .strip .hero-stats div { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; }
  .strip .hero-stats dt { margin: 0; }
  .contact-grid, .quick { grid-template-columns: 1fr; }
  .video-body { padding: 18px 18px 22px; }
  .post { padding: 22px; }
  .post-actions .btn { flex: 1 1 100%; }
  .compare { grid-template-columns: 1fr; }
  .compare-card { padding: 22px; }
  .figure-card.panel { padding: 16px 14px 16px; }
  .article-head { padding: 36px 0 20px; }
  .article-section { padding: 40px 0; }
  .prose p, .num-steps li { font-size: .92rem; }
  .photo-pair { grid-template-columns: 1fr; }
  .hero-photo { padding-top: 16px; }
  .hero-photo img { aspect-ratio: 16 / 10; object-position: 58% 30%; }
  .article .spec-table td { padding: 8px 14px; }
  .order-card, .order-side, .owner { padding: 22px; }
  .choice-body { grid-template-columns: 1fr; }
  .choice-body em { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .proto-bar { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pipe-flow { animation: none; }
  * { transition: none !important; }
}

/* ---------- Trang Sản phẩm: tiêu đề nhỏ hơn một chút (chỉ áp dụng cho /san-pham) ---------- */
body[data-page="/san-pham"] .top-copy h1 { font-size: clamp(1.5rem, 3.1vw, 2.3rem); }
body[data-page="/san-pham"] h2 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); }
body[data-page="/san-pham"] #bo-san-pham h2 { font-size: 1.5rem; } /* tiêu đề này vốn nhỏ hơn các tiêu đề khác, giữ nguyên */
body[data-page="/san-pham"] .features h3 { font-size: 1rem; }
body[data-page="/san-pham"] .product-body h3 { font-size: 1.2rem; }

/* ---------- Trang Sản phẩm: thu gọn khoảng cách giữa các khối cho trang bớt dài (chỉ /san-pham) ---------- */
body[data-page="/san-pham"] .top-hero { padding: 20px 0 28px; }
body[data-page="/san-pham"] .top-copy { margin-top: 20px; }
body[data-page="/san-pham"] .section { padding: 36px 0; }
body[data-page="/san-pham"] .section-head { margin-bottom: 20px; }
body[data-page="/san-pham"] .two-col { gap: 32px; }
body[data-page="/san-pham"] .launch-list { gap: 10px; margin-top: 14px; }
body[data-page="/san-pham"] .kit-list { gap: 10px; margin: 14px 0 12px; }
body[data-page="/san-pham"] .figure-stack, body[data-page="/san-pham"] .media-stack { gap: 14px; }
body[data-page="/san-pham"] .media-bleed img { aspect-ratio: 16 / 9; }
body[data-page="/san-pham"] .features { gap: 14px; }
body[data-page="/san-pham"] .products { gap: 20px; }
body[data-page="/san-pham"] .product-img { aspect-ratio: 16 / 9; }
body[data-page="/san-pham"] .product-body { padding: 20px; }
@media (max-width: 640px) {
  body[data-page="/san-pham"] .top-hero { padding: 12px 0 20px; }
  body[data-page="/san-pham"] .section { padding: 28px 0; }
  body[data-page="/san-pham"] .section-head { margin-bottom: 16px; }
}
/* Ảnh trọn bộ đầu trang: nền trong suốt, rộng hết bề ngang như ảnh đầu trang chủ, hoà vào nền trang */
body[data-page="/san-pham"] .top-visual { max-width: none; }
body[data-page="/san-pham"] .top-visual img { filter: drop-shadow(0 12px 14px rgba(60, 40, 25, .30)); aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 640px) {
  body[data-page="/san-pham"] .top-visual img { aspect-ratio: 8 / 5; }
}
body[data-page="/san-pham"] #bo-san-pham .two-col { grid-template-columns: 1.45fr .55fr; align-items: center; }
body[data-page="/san-pham"] #bo-san-pham .media-stack { grid-template-columns: 1fr 1fr; align-items: stretch; }
body[data-page="/san-pham"] #bo-san-pham .media-bleed img { aspect-ratio: 4 / 3; }
body[data-page="/san-pham"] #bo-san-pham .media-bleed figcaption { padding: 8px 12px; font-size: 12.5px; }
@media (max-width: 960px) {
  body[data-page="/san-pham"] #bo-san-pham .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body[data-page="/san-pham"] #bo-san-pham .media-stack { grid-template-columns: 1fr; }
}
/* Tiêu đề giới thiệu ở mục đầu trang Sản phẩm: dài nên dùng cỡ chữ nhỏ hơn các tiêu đề khác */
body[data-page="/san-pham"] #ra-mat .launch-title { font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.35; }

/* Hai chú thích dưới ảnh Trước/Sau ở trang Sản phẩm: giữ trên một dòng (thu nhỏ chữ trên điện thoại) */
@media (max-width: 640px) {
  body[data-page="/san-pham"] #ra-mat figcaption { font-size: 11.5px; letter-spacing: -.1px; }
}

/* Mục "Bộ sản phẩm" trang Sản phẩm: hai ảnh đã có chú thích sẵn, xếp chồng và hiện nguyên khung để đọc được chữ trong ảnh */
body[data-page="/san-pham"] #bo-san-pham .two-col { grid-template-columns: 1.5fr 1fr; align-items: start; }
body[data-page="/san-pham"] #bo-san-pham .media-stack { grid-template-columns: 1fr; }
body[data-page="/san-pham"] #bo-san-pham .media-labeled { padding: 0; overflow: hidden; background: transparent; border: 0; box-shadow: none; border-radius: 0; }
@media (max-width: 960px) {
  body[data-page="/san-pham"] #bo-san-pham .two-col { grid-template-columns: 1fr; }
}
/* Điện thoại: cụm nhấn mạnh trong tiêu đề đầu trang được phép xuống dòng để không bị tràn mép */
@media (max-width: 640px) {
  body[data-page="/san-pham"] .top-copy h1 em.nb { white-space: normal; }
}

/* ---------- Trang Sản phẩm: cỡ chữ bằng trang chủ (tiêu đề ~1.2-1.55rem, chữ thường .95rem, chú thích ảnh 12.5px) ---------- */
body[data-page="/san-pham"] .top-copy h1,
body[data-page="/san-pham"] h2,
body[data-page="/san-pham"] #bo-san-pham h2,
body[data-page="/san-pham"] #ra-mat .launch-title { font-size: clamp(1.2rem, 2.3vw, 1.55rem); line-height: 1.35; }
body[data-page="/san-pham"] .features h3,
body[data-page="/san-pham"] .product-body h3 { font-size: 1rem; }
body[data-page="/san-pham"] .launch-lead,
body[data-page="/san-pham"] .ticks li,
body[data-page="/san-pham"] .features p,
body[data-page="/san-pham"] .product-body p:not(.tag):not(.price),
body[data-page="/san-pham"] p.muted { font-size: .95rem; line-height: 1.75; }
body[data-page="/san-pham"] .launch-lead, body[data-page="/san-pham"] p.muted { color: var(--prose); }
body[data-page="/san-pham"] .eyebrow { font-size: 12px; }
body[data-page="/san-pham"] .price { font-size: 18px; }
body[data-page="/san-pham"] .btn { font-size: 14px; min-height: 42px; }
body[data-page="/san-pham"] .post-figure figcaption { font-size: 12.5px; line-height: 1.55; }
@media (max-width: 640px) {
  body[data-page="/san-pham"] .launch-lead,
  body[data-page="/san-pham"] .ticks li,
  body[data-page="/san-pham"] .features p,
  body[data-page="/san-pham"] .product-body p:not(.tag):not(.price),
  body[data-page="/san-pham"] p.muted { font-size: .92rem; }
}
/* Đầu trang Sản phẩm: ảnh và tiêu đề nhỏ bớt một chút (máy tính và điện thoại) */
body[data-page="/san-pham"] .top-visual { max-width: 880px; }
body[data-page="/san-pham"] .top-copy h1 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
body[data-page="/san-pham"] .top-copy { margin-top: 12px; }
@media (max-width: 640px) {
  body[data-page="/san-pham"] .top-visual { max-width: 330px; }
  body[data-page="/san-pham"] .top-visual img { aspect-ratio: 2 / 1; }
  body[data-page="/san-pham"] .top-copy h1 { font-size: 1.05rem; }
}
@media (max-width: 640px) {
  body[data-page="/san-pham"] .top-copy h1 em.nb { white-space: nowrap; }
}

/* Tiêu đề "Sản phẩm đầu tiên và duy nhất…" nhỏ bớt */
body[data-page="/san-pham"] #ra-mat .launch-title { font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
@media (max-width: 640px) {
  body[data-page="/san-pham"] #ra-mat .launch-title { font-size: 1.05rem; }
}

/* Tiêu đề giới thiệu: mỗi câu một khối riêng để xuống dòng đúng chỗ */
body[data-page="/san-pham"] #ra-mat .launch-title .ln { display: block; }
body[data-page="/san-pham"] #ra-mat .launch-title .ln + .ln { margin-top: .15em; }
body[data-page="/san-pham"] #ra-mat .launch-title .ln { text-wrap: wrap; }

/* Tiêu đề giới thiệu: một đoạn chữ liền mạch, dòng đầu thụt vào một ô chữ, xuống dòng tự nhiên */
body[data-page="/san-pham"] #ra-mat .launch-title { text-wrap: wrap; text-indent: 1em; line-height: 1.5; }

/* Ảnh màn hình áp suất lốp ở cuối trang Sản phẩm: nền trắng của ảnh hoà vào nền trang (nhân màu) */
body[data-page="/san-pham"] .tpms-figure { margin: 0 auto; max-width: 860px; }
body[data-page="/san-pham"] .tpms-figure img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }

/* Ảnh màn hình áp suất lốp nằm ngay dưới hai ảnh chú thích trong mục Bộ sản phẩm: nền trắng hoà vào nền trang */
body[data-page="/san-pham"] #bo-san-pham .tpms-figure { margin: 0; max-width: none; }

/* Ảnh màn hình áp suất lốp: thu nhỏ để thân màn hình bằng thân màn hình ở ảnh ngay trên nó (thân màn hình chiếm ~65% bề ngang ảnh trên, ~97% ảnh này), canh thẳng mép trái */
body[data-page="/san-pham"] #bo-san-pham .tpms-figure { width: 67%; margin: 0 0 0 13.5%; }

/* Điện thoại: các thẻ ở mục "AutoCool làm được gì" xích lại gần nhau (chỉ giảm khoảng cách giữa các thẻ, giữ nguyên chữ và đệm trong thẻ) */
@media (max-width: 640px) {
  body[data-page="/san-pham"] .features { gap: 6px; }
  body[data-page="/san-pham"] #tinh-nang .section-head { margin-bottom: 12px; }
}

/* Mục Bộ sản phẩm: trên máy tính ảnh màn hình áp suất lốp nằm ở cột phải, ngay dưới khối chữ; trên điện thoại giữ thứ tự cũ (2 ảnh, ảnh áp suất lốp, rồi chữ) */
@media (min-width: 961px) {
  body[data-page="/san-pham"] #bo-san-pham .two-col { grid-template-rows: auto 1fr; }
  body[data-page="/san-pham"] #bo-san-pham .media-stack { grid-column: 1; grid-row: 1 / span 2; }
  body[data-page="/san-pham"] #bo-san-pham .two-col > div:not(.media-stack) { grid-column: 2; grid-row: 1; }
  body[data-page="/san-pham"] #bo-san-pham .tpms-figure { grid-column: 2; grid-row: 2; width: 100%; margin: 0; }
}
@media (max-width: 960px) {
  body[data-page="/san-pham"] #bo-san-pham .media-stack { order: 1; }
  body[data-page="/san-pham"] #bo-san-pham .tpms-figure { order: 2; margin-top: -18px; }
  body[data-page="/san-pham"] #bo-san-pham .two-col > div:not(.media-stack) { order: 3; }
}
/* Máy tính: hai màn hình (ảnh chú thích và ảnh áp suất lốp) nằm cùng một hàng, cùng chiều rộng thân màn hình và thẳng hàng ngang nhau */
@media (min-width: 961px) {
  body[data-page="/san-pham"] #bo-san-pham .two-col { grid-template-rows: auto auto; row-gap: 14px; }
  body[data-page="/san-pham"] #bo-san-pham .media-stack { display: contents; }
  body[data-page="/san-pham"] #bo-san-pham .media-stack > .media-labeled:nth-child(1) { grid-column: 1; grid-row: 1; }
  body[data-page="/san-pham"] #bo-san-pham .media-stack > .media-labeled:nth-child(2) { grid-column: 1; grid-row: 2; }
  body[data-page="/san-pham"] #bo-san-pham .two-col > div:not(.media-stack) { grid-column: 2; grid-row: 1; }
  body[data-page="/san-pham"] #bo-san-pham .tpms-figure { grid-column: 2; grid-row: 2; align-self: center; width: 102%; margin: 0 0 0 -1%; position: relative; top: -4px; }
}
/* Dòng tiêu đề "Chức năng hiển thị áp suất lốp" phía trên ảnh màn hình áp suất lốp */
body[data-page="/san-pham"] #bo-san-pham .tpms-title { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.3; color: var(--text); margin: 0 0 8px; }
body[data-page="/san-pham"] #bo-san-pham .tpms-figure { width: 100%; margin: 0; position: static; top: auto; }
@media (min-width: 961px) {
  body[data-page="/san-pham"] #bo-san-pham .two-col > div.tpms-block { grid-column: 2; grid-row: 2; align-self: center; position: relative; top: -4px; width: 102%; margin: 0 0 0 -1%; }
  body[data-page="/san-pham"] #bo-san-pham .tpms-title { position: absolute; left: 0; bottom: 100%; margin: 0 0 6px; }
}
@media (max-width: 960px) {
  body[data-page="/san-pham"] #bo-san-pham .two-col > div.tpms-block { order: 2; margin-top: -18px; }
  body[data-page="/san-pham"] #bo-san-pham .tpms-figure { width: 67%; margin: 0 0 0 13.5%; }
}
/* Điện thoại: khối chữ "Trong bộ sản phẩm có gì?" lên trên cả ba ảnh (chữ, 2 ảnh chú thích, ảnh áp suất lốp) */
@media (max-width: 960px) {
  body[data-page="/san-pham"] #bo-san-pham .two-col > div:not(.media-stack):not(.tpms-block) { order: 1; }
  body[data-page="/san-pham"] #bo-san-pham .media-stack { order: 2; }
  body[data-page="/san-pham"] #bo-san-pham .two-col > div.tpms-block { order: 3; }
}