/* ==========================================================================
   CƠ KHÍ CHÍNH XÁC KNT — style.css
   Hệ thống nền tảng: reset, tokens, typography, layout, header, footer,
   buttons, cards, utilities, form, responsive.
   Bộ màu lấy theo logo KNT: xanh navy #152384 + cam #f16522.
   ========================================================================== */

/* ---------- Design Tokens ----------
   Bảng màu chuẩn theo KNT Logo Guideline (Brand Color / Logo Palette).
   Primary:   navy #152384 (nền tảng) + cam #f16522 (điểm nhấn).
   Secondary: #4c9cff, #afbee7, #020923, và xám trung tính #e1e1e1.
   Tỷ lệ khuyến nghị: 60% primary · 30% secondary · 10% nền trung tính. */
:root {
  --primary: #152384;        /* xanh navy — màu nhận diện chính */
  --primary-dark: #0d1657;   /* navy đậm — hover, gradient, section tối */
  --primary-deep: #020923;   /* navy sâu nhất — footer, đáy gradient */
  --primary-light: #4c9cff;  /* xanh sáng (secondary) — nhấn phụ, focus, selection */
  --primary-soft: #afbee7;   /* xanh lavender (secondary) — nền mềm, badge */
  --accent: #f16522;         /* cam — CTA, điểm nhấn thị giác */
  --accent-dark: #d24e12;    /* cam đậm — hover */
  --ink: #1a2230;
  --muted: #5b6675;
  /* [Đợt 5 — 5.1] Hạ --bg để nhịp nền xám/trắng nhìn thấy được (cũ #f4f6fa
     chênh --surface chưa tới 3% độ sáng). */
  --bg: #eef1f7;
  --surface: #ffffff;
  --carbon: #0f1530; /* [Đợt 5] nền carbon cho dải Thành phẩm — giữa --primary-deep và --primary-dark */
  --line: #e3e8ef;
  --steel: #64748b;

  /* [Đợt 1 — 1.10] Gom các mã màu viết cứng lặp lại thành biến dùng chung. */
  --line-strong: #c3d0f2;   /* viền card khi hover */
  --navy-text: #cdd8f6;     /* chữ sáng trên nền navy (banner, CTA, stats) */
  --navy-text-dim: #b6c6f0; /* chữ phụ / link trên nền navy (footer, breadcrumb) */
  --primary-pale: #e8edf8;  /* nền xanh nhạt + chữ sáng nhất trên nền tối */

  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 14px;

  --container: 1200px;
  --gutter: 24px;

  --shadow-sm: 0 1px 3px rgba(16, 33, 60, .06), 0 1px 2px rgba(16, 33, 60, .04);
  --shadow: 0 6px 20px rgba(16, 33, 60, .08);
  --shadow-lg: 0 18px 50px rgba(16, 33, 60, .14);

  --header-h: 76px;

  --font-heading: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, 'Apple SD Gothic Neo', 'Hiragino Sans', 'Microsoft YaHei', sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, 'Apple SD Gothic Neo', 'Hiragino Sans', 'Microsoft YaHei', sans-serif;

  --t-fast: .18s ease;
  --t: .28s ease;
}

/* ---------- Light Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  /* BẮT BUỘC ở đây, KHÔNG chỉ trên body: ngăn kéo menu mobile là position:fixed
     nên nó neo theo VIEWPORT chứ không theo body — `body{overflow-x:hidden}`
     hoàn toàn không cắt được nó. Khi đóng, drawer bị đẩy ra ngoài mép phải
     (translateX(100%) = +335px) làm layout viewport nong rộng ra 725px trên máy
     390px: trang bị thu nhỏ và vuốt sang phải là lòi cả menu ra.
     `clip` được ưu tiên vì KHÔNG tạo scroll container (không phá position:sticky
     nếu sau này dùng); `hidden` đứng trước làm dự phòng cho Safari < 16. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--ink);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { color: var(--muted); }

::selection { background: var(--primary-light); color: #fff; }

:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding: clamp(36px, 5vw, 60px) 0; }
/* [Đợt 5 — 5.1] border-top để ranh giới trắng/xám luôn nhìn thấy, kể cả khi
   section giữa (stats/testimonials) tự ẩn. */
.section--alt { background: var(--surface); border-top: 1px solid var(--line); }
.section--ink { background: var(--primary-dark); color: var(--primary-pale); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: var(--navy-text-dim); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }
.section-title {
  position: relative;
  margin-bottom: 14px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head p { font-size: 1.05rem; }

/* Grid utilities */
.grid { display: grid; gap: var(--gutter); }
.grid-2 { display: grid; gap: var(--gutter); grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: var(--gutter); grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: var(--gutter); grid-template-columns: repeat(4, 1fr); }
/* Biến thể cho lưới card do admin tự thêm/bớt (repeater): số card không cố định
   4 nữa nên dùng auto-fit để 5, 6, 7… card tự chia hàng thay vì rớt lẻ. */
.grid-4--flex { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  border: 2px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(21, 35, 132, .28); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(241, 101, 34, .3); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost { background: transparent; color: var(--primary); border-color: rgba(21, 35, 132, .35); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); background: rgba(21, 35, 132, .04); }

.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: var(--primary-pale); color: var(--primary-dark); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .02em;
  background: rgba(21, 35, 132, .08);
  color: var(--primary);
}
.badge--accent { background: rgba(241, 101, 34, .12); color: var(--accent-dark); }
.badge--soft { background: var(--bg); color: var(--muted); }
.badge--demo { background: rgba(241, 101, 34, .14); color: var(--accent-dark); }

/* ---------- Card ---------- */
/* [C-014] Card chuyên mục bọc trong link tới trang lưu trữ — link phải trong
   suốt về mặt hình thức, giữ nguyên màu chữ và bố cục của .card. */
.card__link { display: block; color: inherit; text-decoration: none; }
.card__link:hover h3 { color: var(--accent); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }

/* ---------- Image Placeholder (no external images) ---------- */
.img-ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 14px, rgba(0, 0, 0, .03) 14px 28px),
    linear-gradient(135deg, #3348b5 0%, #1b2a8f 45%, #0d1657 100%);
  color: #fff;
  isolation: isolate;
}
.img-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(241, 101, 34, .28), transparent 60%),
    radial-gradient(100% 90% at 0% 100%, rgba(21, 35, 132, .5), transparent 55%);
  z-index: -1;
}
/* Không vẽ "viên thuốc" rỗng khi ảnh giữ chỗ chưa có nhãn (data-label trống/thiếu) */
.img-ph:not([data-label])::after,
.img-ph[data-label=""]::after { content: none; }
.img-ph::after {
  content: attr(data-label);
  display: inline-block;
  max-width: 86%;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .03em;
  line-height: 1.45;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(13, 22, 87, .46);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(2px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.img-ph--wide { aspect-ratio: 16 / 9; }
.img-ph--square { aspect-ratio: 1 / 1; }
.img-ph--tall { aspect-ratio: 3 / 4; }

/* ---------- Stat ---------- */
.stat { text-align: center; }
.stat__value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: var(--primary);
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: .92rem;
  color: var(--muted);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
/* HAI HEADER:
   1) .site-header (header đầu trang) — position: relative, nằm TRONG LUỒNG ở
      đỉnh trang, cuộn đi tự nhiên (KHÔNG phủ hero). Hero/banner nằm ngay dưới nó.
   2) .site-header--pinned (thanh GHIM) — position: fixed, ẩn mặc định; chỉ trượt
      xuống khi đã cuộn QUA header đầu và người dùng cuộn LÊN (theme.js). */
.site-header {
  position: relative;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
/* ⚠️ ĐỪNG thêm transform / filter / backdrop-filter / will-change / perspective /
   contain cho .site-header ở khổ ≤992px. Ngăn kéo menu (#main-nav) là CON của
   header và dùng position:fixed; những thuộc tính đó biến header thành
   "containing block" cho con fixed → drawer bị neo vào HEADER (vốn
   position:relative, cuộn đi mất) thay vì vào viewport. Hậu quả đo được: sau khi
   cuộn xuống 1300px rồi bấm nút menu, drawer nhảy tới top=-1300 → người dùng bấm
   mà chẳng thấy gì. Nền header vốn đã đục 96% nên bỏ blur ở mobile gần như
   không nhìn ra khác biệt; đổi sang đục hoàn toàn cho chắc. */
@media (max-width: 992px) {
  .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.site-header--pinned {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  box-shadow: 0 6px 22px rgba(16, 33, 60, .1);
  transition: transform .34s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.site-header--pinned.is-shown { transform: translateY(0); }
body.knt-no-motion .site-header--pinned { transition: none; }

/* Thanh ghim: desktop hiện menu ngang; ẩn menu trên mobile (dùng ngăn kéo qua nút). */
.pinned-nav { display: flex; margin-left: auto; margin-right: 8px; }
@media (max-width: 992px) {
  .pinned-nav { display: none; }
}

/* Khi đăng nhập, thanh GHIM nằm dưới thanh admin WordPress (header đầu trong
   luồng nên không cần offset). */
body.admin-bar .site-header--pinned { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header--pinned { top: 46px; }
}
/* Ngăn kéo menu mobile cũng không bị thanh admin che khi đăng nhập. */
@media (max-width: 992px) {
  body.admin-bar .main-nav { top: 32px; height: calc(100dvh - 32px); }
}
@media screen and (max-width: 782px) {
  body.admin-bar .main-nav { top: 46px; height: calc(100dvh - 46px); }
}
/* ≤600px: WordPress đưa #wpadminbar về position:absolute (cuộn theo trang) →
   bỏ offset, nếu không header sẽ hở một dải trống 46px phía trên khi cuộn. */
@media screen and (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
  body.admin-bar .main-nav { top: 0; height: 100dvh; }
}

/* Main bar (topbar đã bỏ theo yêu cầu khách 2026-07-15 — địa chỉ/đt/zalo còn ở
   footer; chuyển ngôn ngữ thành dropdown cờ đặt trong .header-actions). */
.header-main {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
/* Header chật: desktop chỉ giữ hotline (nút báo giá vẫn còn trong menu mobile + CTA band) */
@media (min-width: 993px) {
  .header-actions > .btn { display: none; }
}
@media (min-width: 993px) and (max-width: 1150px) {
  .header-actions .header-hotline { display: none; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .04em;
  box-shadow: 0 6px 14px rgba(21, 35, 132, .3);
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
/* Chân trang: cột hẹp hơn header nên tên công ty phải được xuống dòng,
   nếu không sẽ tràn khỏi cột .footer-about. Header giữ nowrap như cũ. */
.site-footer .brand__name { white-space: normal; overflow-wrap: anywhere; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand__tag {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .02em;
}

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  position: relative;
  white-space: nowrap;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav-list a:hover { color: var(--primary); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--primary); font-weight: 600; }
.nav-list a.is-active::after { transform: scaleX(1); }

/* Header desktop — CHỖ ĐẶT QUAN TRỌNG: phải nằm SAU rule `.nav-list a` gốc, vì
   media query KHÔNG tăng specificity; đặt trước sẽ bị padding 13px ghi đè.
   .brand và .header-actions đều flex:none nên menu ngang là phần DUY NHẤT co
   được: nén padding để 7 mục + logo + hotline vừa 1 hàng trong container 1152px
   (trước đây cần ~1190px nên bị tràn và body{overflow-x:hidden} cắt mất).
   flex-wrap chỉ là van an toàn khi admin thêm mục hoặc nhãn Polylang quá dài. */
@media (min-width: 993px) {
  .header-main { gap: 12px; }
  .main-nav, .pinned-nav { min-width: 0; }
  .nav-list { flex-wrap: wrap; justify-content: flex-end; }
  .nav-list a { padding: 10px 9px; }
  .nav-item--dropdown > a .caret { flex: none; }
}

.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-hotline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.header-hotline__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(241, 101, 34, .12);
  color: var(--accent);
  flex: none;
}
.header-hotline__icon svg { width: 20px; height: 20px; }
.header-hotline__text { display: flex; flex-direction: column; line-height: 1.15; }
.header-hotline__label { font-size: .72rem; color: var(--muted); }
.header-hotline__num { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--primary-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 22, 87, .4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t);
  z-index: 998;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-deep);
  color: var(--navy-text-dim);
  padding-top: clamp(48px, 6vw, 72px);
  /* [Đợt 5 — 5.1] Vạch sáng tách CTA band navy khỏi footer navy sâu (17/17 trang). */
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr; /* [Feedback 29/07] bỏ cột Về chúng tôi — Chính sách thế chỗ */
  gap: 40px;
  padding-bottom: 44px;
}
.footer-col h3 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 38px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand__mark { box-shadow: none; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__tag { color: #9fb2e6; }
.footer-about p { color: #aec0ec; font-size: .94rem; margin-bottom: 16px; }
.footer-slogan {
  display: inline-block;
  font-style: italic;
  color: #ffd9b0;
  font-size: .92rem;
}
.footer-links li { margin-bottom: 11px; }
/* align-items: flex-start — mục 2 dòng thì mũi tên phải thẳng hàng DÒNG ĐẦU,
   nếu center thì nó rơi vào khe giữa 2 dòng (thấy rõ ở 2 mục dịch vụ tên dài). */
.footer-links a { color: var(--navy-text-dim); font-size: .94rem; display: inline-flex; align-items: flex-start; gap: 8px; }
.footer-links a::before { content: "›"; color: var(--accent); font-weight: 700; line-height: 1.55; }
.footer-links a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  gap: 11px;
  margin-bottom: 14px;
  font-size: .94rem;
  color: var(--navy-text-dim);
}
.footer-contact li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: .86rem;
  color: #93a7dd;
}
.footer-bottom__demo { color: #ffce9e; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a,
.footer-social {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  color: var(--navy-text);
}
.footer-socials a:hover,
.footer-social:hover { background: var(--accent); color: #fff; }
.footer-socials svg { width: 18px; height: 18px; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-label .req { color: var(--accent); }
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control::placeholder { color: #9aa6b6; }
.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(76, 156, 255, .12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-control.has-error { border-color: #d9433f; background: #fff7f7; }
.field-error {
  display: none;
  margin-top: 6px;
  font-size: .82rem;
  color: #d9433f;
}
.field-error.is-visible { display: block; }
.form-note { font-size: .85rem; color: var(--muted); }

.form-alert {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  margin-bottom: 18px;
}
.form-alert.is-visible { display: flex; }
.form-alert--success { background: #e9f7ef; color: #1c7a45; border: 1px solid #bfe6cf; }
.form-alert--error { background: #fdecec; color: #c23030; border: 1px solid #f4caca; }

/* ==========================================================================
   BREADCRUMB BAR
   ========================================================================== */
.breadcrumb-bar { background: var(--bg); border-bottom: 1px solid var(--line); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  font-size: .88rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #aeb8c6; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t), transform var(--t), background var(--t-fast);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }
.back-to-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.215, .61, .355, 1); /* easeOutCubic — mượt, không "bung/pop" */
}
.reveal.is-revealed { opacity: 1; transform: none; }
/* Biến thể trượt ngang (dùng cho khối 2 cột: reveal--left / reveal--right) */
.reveal--left { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal--left.is-revealed,
.reveal--right.is-revealed { transform: none; }

/* Công tắc "Bật hiệu ứng chuyển động" (Appearance → Customize → Tùy chọn KNT).
   Mặc định BẬT (bỏ qua "Giảm chuyển động" của HĐH). Khi TẮT → body.knt-no-motion:
   nội dung hiện ngay, không chuyển động (hỗ trợ người dễ say chuyển động). */
body.knt-no-motion .reveal,
body.knt-no-motion .reveal--left,
body.knt-no-motion .reveal--right { opacity: 1 !important; transform: none !important; transition: none !important; }
body.knt-no-motion .float-contact__btn--phone::before { animation: none !important; }
body.knt-no-motion .pcard { transition: none !important; }
body.knt-no-motion .pcard.is-filtering-out { transform: none !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  :root { --gutter: 18px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: flex; }
  /* Hamburger nằm sát mép phải, cách xa logo */
  .header-actions { margin-left: auto; }
  .header-actions .header-hotline { display: none; }
  .header-actions .btn { display: none; }
  .main-nav { margin-left: 0; }

  /* ---------- Drawer menu mobile/tablet ---------- */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    background: var(--surface);
    box-shadow: -10px 0 40px rgba(16, 33, 60, .18);
    padding: 0;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--t);
    z-index: 999;
    overflow: hidden;
  }
  .main-nav.is-open { transform: translateX(0); }

  /* Đầu drawer: logo + nút đóng */
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px 12px 18px;
    border-bottom: 1px solid var(--line);
    flex: none;
  }
  .nav-drawer-head .brand__logo { height: 42px; }
  .nav-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--muted);
    flex: none;
  }
  .nav-close svg { width: 20px; height: 20px; }
  .nav-close:active { background: var(--line); }

  /* Danh sách menu: hàng phẳng, không viền kiểu button */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 12px 18px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
  }
  .nav-list a {
    padding: 13px 14px;
    border-radius: 10px;
    font-size: 1.02rem;
    font-weight: 500;
    min-height: 48px;
  }
  .nav-list a::after { display: none; }
  .nav-list a:active { background: var(--bg); }
  .nav-list a.is-active {
    color: var(--primary);
    font-weight: 700;
    background: linear-gradient(90deg, rgba(241, 101, 34, .1), rgba(241, 101, 34, 0) 65%);
    box-shadow: inset 3px 0 0 var(--accent);
  }

  /* Cụm liên hệ dính đáy drawer */
  .nav-mobile-extra {
    display: block;
    flex: none;
    margin-top: 0;
    padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--bg);
  }
  .nav-mobile-extra .btn { width: 100%; margin-bottom: 12px; }
  .nav-mobile-hotline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
  }
  .nav-mobile-hotline svg { width: 20px; height: 20px; color: var(--accent); }

  .header-actions .nav-toggle { display: flex; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* Các phần chỉ dành cho drawer mobile — ẩn trên desktop */
@media (min-width: 993px) {
  .nav-mobile-extra { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  :root { --gutter: 16px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .section { padding: 44px 0; }
  /* Header mobile: dropdown ngôn ngữ gọn, menu không tràn mép phải */
  .lang-switch__toggle { padding: 7px 8px; }
  .lang-switch__code { display: none; }
  .lang-switch__menu { min-width: 168px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .btn { padding: 12px 20px; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* Lock body scroll when mobile menu open */
body.nav-open { overflow: hidden; }

/* ==========================================================================
   KNT BỔ SUNG — logo ảnh, dropdown menu, nút nổi Zalo/Gọi, chuyển ngôn ngữ,
   tab danh mục, giá "Liên hệ" (bố cục tham khảo hncnc.com.vn)
   ========================================================================== */

/* ---------- Logo SVG chính hãng (assets/img/knt-logo.svg) ----------
   Logo trong suốt (navy + cam) đặt trực tiếp trên nền, không cần chip trắng. */
.brand__logo {
  height: 48px;
  width: auto;
  flex: none;
}
@media (max-width: 600px) {
  .brand__logo { height: 42px; }
}
/* Header chỉ dùng logo (logo kèm slogan đã chứa đủ tên + khẩu hiệu) */
.site-header .brand__text { display: none; }
/* Footer: logo kèm slogan bản trắng — ẩn luôn text trùng lặp cạnh logo
   (tên/tagline đã nằm trong chính logo; tên đầy đủ vẫn có ở đoạn ftr.about) */
.footer-brand .brand__text { display: none; }
.footer-brand .brand__logo {
  height: 58px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

/* ---------- Language switcher (dropdown cờ, đặt trong header) ---------- */
.lang-switch { position: relative; flex: none; }
.lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px 7px 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .82rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.lang-switch__toggle:hover { border-color: var(--primary-light); background: var(--bg); }
.lang-switch__flag {
  width: 24px;
  height: 16px;
  flex: none;
  display: block;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(16, 33, 60, .1);
}
.lang-switch__code { letter-spacing: .04em; }
.lang-switch__toggle .caret {
  width: 15px;
  height: 15px;
  color: var(--muted);
  transition: transform var(--t-fast);
}
.lang-switch.is-open .lang-switch__toggle .caret { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1100;
  min-width: 184px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
}
.lang-switch__opt:hover { background: var(--bg); }
.lang-switch__opt.is-active { background: rgba(21, 35, 132, .08); color: var(--primary); }
/* Lựa chọn ngôn ngữ là <button> (gọi Google dịch) thay cho <a> như trước —
   reset lại cho giống hệt link cũ về hình thức. */
button.lang-switch__opt { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; }
/* Bộ máy GTranslate: phải có trong DOM để nạp doGTranslate() nhưng không được
   nhìn thấy — đẩy ra ngoài khung nhìn thay vì display:none (Google Translate
   không khởi tạo bên trong phần tử bị ẩn hẳn). */
.knt-gt-engine { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
/* Thanh công cụ Google chèn vào đầu trang làm lệch header — vô hiệu hoá. */
.skiptranslate iframe.skiptranslate, iframe.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* ---------- Dropdown menu (desktop) ---------- */
.nav-item--dropdown { position: relative; }
.nav-item--dropdown > a .caret {
  width: 14px; height: 14px;
  margin-left: 4px;
  transition: transform var(--t-fast);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  padding: 12px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 1001;
}
@media (min-width: 993px) {
  .nav-item--dropdown:hover > .nav-dropdown,
  .nav-item--dropdown:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-item--dropdown:hover > a .caret { transform: rotate(180deg); }
}
.nav-dropdown__group {
  display: block;
  padding: 9px 18px 5px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.nav-dropdown__group a { color: inherit; }
.nav-dropdown__group a:hover { color: var(--accent); }
.nav-dropdown li a.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 0;
}
.nav-dropdown li a.nav-dropdown__link::after { display: none; }
.nav-dropdown li a.nav-dropdown__link:hover { background: rgba(21, 35, 132, .06); color: var(--primary); }
.nav-dropdown li a.nav-dropdown__link svg { width: 13px; height: 13px; color: var(--accent); flex: none; }

/* Mobile: dropdown thành cây con thụt lề có đường dẫn hướng, luôn mở */
@media (max-width: 992px) {
  .nav-dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 2px 6px 8px 24px;
    padding: 2px 0 2px 10px;
    background: transparent;
  }
  .nav-item--dropdown > a .caret { display: none; }
  .nav-dropdown li a.nav-dropdown__link {
    border-bottom: none;
    padding: 9px 10px;
    min-height: 40px;
    font-size: .95rem;
    color: var(--muted);
    border-radius: 8px;
  }
  .nav-dropdown li a.nav-dropdown__link:active { background: var(--bg); }
  .nav-dropdown li a.nav-dropdown__link svg { width: 11px; height: 11px; }
  /* Nhãn nhóm trong drawer: chữ nhỏ, không ăn style hàng menu */
  .nav-dropdown__group { padding: 10px 10px 2px; }
  .nav-list .nav-dropdown__group a {
    display: inline;
    padding: 0;
    min-height: 0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    border-radius: 0;
  }
}

/* Đầu drawer chỉ hiện trong menu mobile */
@media (min-width: 993px) {
  .nav-drawer-head { display: none; }
}

/* ---------- Cụm nút liên hệ nổi (Zalo + Gọi điện) ---------- */
.float-contact {
  position: fixed;
  left: 18px;
  bottom: 22px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-contact__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 22px rgba(16, 33, 60, .28);
  transition: transform var(--t-fast);
}
.float-contact__btn:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.float-contact__btn svg { width: 26px; height: 26px; }
.float-contact__btn--zalo { background: #0068ff; }
.float-contact__btn--zalo svg { width: 40px; height: 40px; }
.float-contact__btn--phone { background: #2fa84f; }
.float-contact__btn--phone::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(47, 168, 79, .55);
  animation: knt-pulse 1.8s ease-out infinite;
}
@keyframes knt-pulse {
  0% { transform: scale(.85); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.float-contact__label {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--primary-dark);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast);
  pointer-events: none;
}
.float-contact__btn:hover .float-contact__label { opacity: 1; visibility: visible; }

/* Social float: màu kênh Messenger/WhatsApp + huy hiệu số lượng + popup nhiều số */
.float-contact__btn--messenger { background: #0084ff; }
.float-contact__btn--whatsapp { background: #25d366; }
.float-contact__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px #fff;
}
.float-contact__group { position: relative; display: flex; }
.float-contact__pop {
  position: absolute;
  left: calc(100% + 12px);
  bottom: 0;
  min-width: 210px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 5;
}
.float-contact__group.is-open .float-contact__pop { opacity: 1; visibility: visible; transform: translateX(0); }
.float-contact__pop-title {
  display: block;
  padding: 4px 10px 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.float-contact__sub {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
}
.float-contact__sub:hover { background: var(--bg); color: var(--primary); }

/* ===== Cụm liên hệ nổi: THANH NGANG DÍNH ĐÁY khi màn chưa đủ rộng =====
   Cột dọc chỉ an toàn khi hai bên .container còn chỗ trống: cần
   (100vw − 1200)/2 + gutter 24 ≥ 70 (mép phải cột) + 12 (khe) → 100vw ≥ 1316px.
   Dưới ngưỡng đó cột LUÔN đè lên chữ: đo được che 46px mép nội dung suốt cả
   trang (99 đoạn text bị che ở 360px, 85 ở 390px, và cả ở desktop 1024), lại
   còn CƯỚP CÚ CHẠM — chạm ô tìm kiếm thì mở Zalo, chạm nút CTA thì nhảy về đầu
   trang. Chuyển thành thanh ngang ở đáy: 4 kênh vẫn hiện thường trực, không
   còn đè chữ hai bên; body được chừa padding-bottom nên không che nội dung cuối. */
@media (max-width: 1319px) {
  .float-contact {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(16, 33, 60, .10);
  }
  .float-contact__label { display: none; }
  /* Thanh ở đáy → popup nhiều số bung LÊN TRÊN, canh giữa theo nút */
  .float-contact__pop {
    left: 50%;
    right: auto;
    bottom: calc(100% + 12px);
    transform: translate(-50%, 6px);
  }
  .float-contact__group.is-open .float-contact__pop { transform: translate(-50%, 0); }
  /* Chừa chỗ cuối trang để thanh không che địa chỉ / dòng bản quyền ở footer. */
  body { padding-bottom: 72px; }
  /* Nút lên đầu trang nằm GỌN TRONG dải thanh, ở mép phải (4 icon canh giữa nên
     chỗ này trống) — nhờ vậy KHÔNG còn phần tử nổi nào đè lên chữ của trang.
     z-index phải > 950 của thanh, nếu không nền thanh sẽ phủ lên nút. */
  .back-to-top {
    right: 12px;
    left: auto;
    bottom: 10px;
    z-index: 960;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 992px) {
  /* Mục menu con trong NGĂN KÉO phải được xuống dòng: nav-list a mặc định
     white-space:nowrap (đúng cho menu ngang desktop) nhưng trong drawer rộng
     269px thì "Gia công linh kiện, chi tiết theo yêu cầu" cần 321px -> bị cắt
     cụt chữ. Chỉ nới trong #main-nav để không đụng menu ngang. */
  #main-nav .nav-list a,
  #main-nav .nav-dropdown a { white-space: normal; }
}
@media (max-width: 600px) {
  .float-contact__btn { width: 48px; height: 48px; }
}

/* Khoá cuộn nền khi ngăn kéo menu đang mở. PHẢI đặt cả trên <html>: html mới là
   phần tử cuộn của tài liệu, `body{overflow:hidden}` một mình KHÔNG chặn được
   (đo được: mở menu rồi vuốt, trang nền vẫn cuộn tới scrollY=1200). */
html.nav-open,
body.nav-open { overflow: hidden; }

/* Khi ngăn kéo mở: vô hiệu bộ chọn ngôn ngữ trên THANH GHIM, nếu không bảng 5
   ngôn ngữ bung ra sẽ nổi đè lên các mục menu đầu tiên của ngăn kéo. */
body.nav-open .site-header--pinned .lang-switch { pointer-events: none; opacity: .4; }
body.nav-open .site-header--pinned .lang-switch__menu { display: none; }

/* Tiếng Hàn: mặc định trình duyệt ngắt dòng GIỮA TỪ khiến chữ gãy vụn
   ("알루미늄 금 / 형"). keep-all bắt ngắt theo khoảng trắng như tiếng Việt. */
html[lang^="ko"] body,
html[lang^="ko"] h1, html[lang^="ko"] h2, html[lang^="ko"] h3, html[lang^="ko"] h4,
html[lang^="ko"] p, html[lang^="ko"] li, html[lang^="ko"] a, html[lang^="ko"] span {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ---------- Tab danh mục (khối sản phẩm trang chủ) ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  font-size: .92rem;
  color: var(--muted);
  transition: all var(--t-fast);
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.is-active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(21, 35, 132, .25); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; }

/* ---------- Giá "Liên hệ" ---------- */
.price-contact {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-heading);
}
.price-contact__val { color: var(--accent); font-weight: 800; font-size: 1.18rem; }
.price-contact__note { color: var(--muted); font-size: .8rem; }

/* [Feedback 29/07] Ô mô tả dạng trình soạn thảo: khối bọc trong suốt, đoạn
   văn bên trong cách nhau vừa phải, đoạn cuối không dư lề dưới. */
.rich-desc > p { margin: 0 0 .65em; }
.rich-desc > p:last-child { margin-bottom: 0; }
.rich-desc ul, .rich-desc ol { padding-left: 1.2em; margin: 0 0 .65em; }
.rich-desc ul { list-style: disc; }
.rich-desc ol { list-style: decimal; }
