/* Shop Công Nghệ – thiết kế "Mặt tiền shop": đen mực, vàng LED, giấy ngà */
:root {
  --ink: #0b0b0c;
  --ink-2: #151517;
  --ink-3: #222226;
  --line-d: rgba(255, 255, 255, .12);
  --y: #ffd400;
  --y-2: #ffe45c;
  --paper: #f2efe6;
  --paper-2: #e7e3d6;
  --white: #fff;
  --text: #111113;
  --muted: #5d5d66;
  --muted-d: #a7a7b0;
  --red: #e3262f;
  --zalo: #0068ff;
  --green: #0f9d4a;
  --display: "Unbounded", "Be Vietnam Pro", system-ui, sans-serif;
  --body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --hard: 5px 5px 0 var(--ink);
  --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; }
h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
button, input, select { font: inherit; color: inherit; }
.ic { width: 18px; height: 18px; fill: currentColor; flex: none; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.y { color: var(--y); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 999; background: var(--y); color: var(--ink); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; }
::selection { background: var(--y); color: var(--ink); }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 2px solid var(--ink); border-radius: var(--r);
  font-weight: 700; line-height: 1.2; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; background: var(--white); color: var(--ink); }
.btn .ic { width: 20px; height: 20px; }
.btn span { display: flex; flex-direction: column; text-align: left; }
.btn small { font-weight: 500; font-size: 12px; opacity: .85; }
.btn-y { background: var(--y); box-shadow: var(--hard); }
.btn-y:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-zalo { background: var(--zalo); color: #fff; border-color: var(--zalo); }
.btn-zalo:hover { filter: brightness(1.08); }
.btn-line { background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: var(--y); color: var(--y); }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.zl { font-style: normal; font-size: 12px; font-weight: 800; background: #fff; color: var(--zalo); border-radius: 6px; padding: 4px 6px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.more-link .ic { transition: transform .2s; }
.more-link:hover .ic { transform: translateX(4px); }

/* ---------- Đầu trang ---------- */
.hdr { position: sticky; top: 0; z-index: 80; background: rgba(11, 11, 12, .96); color: #fff; border-bottom: 1px solid var(--line-d); backdrop-filter: blur(8px); }
.hdr-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--y); margin-bottom: 5px; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .01em; text-transform: uppercase; }
.nav { flex: 1; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; }
.nav li { position: relative; }
.nav li > a { display: block; padding: 10px 12px; font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #e9e9ee; border-radius: 4px; }
.nav li > a:hover, .nav li:hover > a { color: var(--y); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--ink); border: 1px solid var(--line-d); border-top: 3px solid var(--y); padding: 8px 0; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.nav .sub a { display: block; padding: 8px 16px; font-size: 14px; color: #d8d8de; }
.nav .sub a:hover { color: var(--ink); background: var(--y); }
.nav li:hover > .sub, .nav li:focus-within > .sub { display: block; }
.hdr-act { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-d); background: transparent; color: #fff; border-radius: var(--r); cursor: pointer; }
.icon-btn:hover { border-color: var(--y); color: var(--y); }
.icon-btn .ic { width: 20px; height: 20px; }
.call { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; background: var(--y); color: var(--ink); border-radius: var(--r); font-family: var(--mono); font-weight: 700; font-size: 14px; }
.call:hover { background: var(--y-2); }
.menu-btn { display: none; }
.searchbar { border-top: 1px solid var(--line-d); background: var(--ink-2); padding: 12px 0; }
.searchbar .wrap { display: flex; gap: 10px; }
.searchbar input { flex: 1; border: 2px solid var(--y); background: var(--ink); color: #fff; border-radius: var(--r); padding: 12px 16px; font-size: 16px; outline: none; }
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding: 84px 24px 30px; overflow-y: auto; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { font-family: var(--display); font-weight: 700; font-size: 26px; padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.mnav nav a:hover { color: var(--y); }
.mnav-cta { display: grid; gap: 10px; margin: 24px 0 16px; }
.mnav .mono { color: var(--muted-d); }
body.menu-open { overflow: hidden; }
body.menu-open .hdr { z-index: 95; }

/* ---------- Hero trang chủ ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; top: 0; bottom: 0; left: 36%; width: 64%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(11,11,12,.55) 46%, rgba(11,11,12,.05) 66%, rgba(11,11,12,0) 100%),
  linear-gradient(0deg, rgba(11,11,12,1) 0%, rgba(11,11,12,0) 28%); }
.hero-in { position: relative; padding-top: 120px; padding-bottom: 150px; }
.eyebrow { color: var(--y); margin: 0 0 22px; }
.hero-h { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 7.6vw, 112px); line-height: .98; letter-spacing: -.035em; margin: 0 0 26px; display: flex; flex-direction: column; }
.hero-h span { display: block; opacity: 0; transform: translateY(30px); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-h span:nth-child(2) { animation-delay: .12s; }
.hero-h span:nth-child(3) { animation-delay: .24s; }
.hero-h .y { color: var(--y); text-shadow: 0 0 40px rgba(255, 212, 0, .35); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-p { max-width: 560px; font-size: 18px; color: #d9d9e0; margin: 0 0 30px; opacity: 0; animation: rise .8s .36s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: rise .8s .48s forwards; }
.sticker { position: absolute; right: 5vw; top: 110px; width: 170px; height: 170px; display: grid; place-items: center; z-index: 2; }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker text { font-family: var(--mono); font-size: 14.5px; font-weight: 700; letter-spacing: .12em; fill: var(--y); }
.sticker img { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); padding: 8px; border: 2px solid var(--y); }
@keyframes spin { to { transform: rotate(360deg); } }
.signs { position: relative; z-index: 2; border-top: 1px solid var(--line-d); background: rgba(11, 11, 12, .78); backdrop-filter: blur(6px); }
.signs-in { display: grid; grid-template-columns: repeat(5, 1fr); }
.led { padding: 18px 10px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; border-right: 1px solid var(--line-d); transition: background .2s; }
.led:first-child { border-left: 1px solid var(--line-d); }
.led.y { color: var(--y); text-shadow: 0 0 10px rgba(255, 212, 0, .75), 0 0 26px rgba(255, 212, 0, .35); }
.led.w { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, .7), 0 0 26px rgba(255, 255, 255, .25); }
.led:hover { background: rgba(255, 255, 255, .06); }
.led:nth-child(4) { animation: flicker 7s infinite; }
@keyframes flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .35; } 94% { opacity: 1; } 96% { opacity: .5; } 97% { opacity: 1; } }

/* ---------- Dải chữ chạy bắt chéo ---------- */
.cross { position: relative; height: 176px; overflow: hidden; background: var(--ink); }
.mq { position: absolute; left: -5%; width: 110%; overflow: hidden; padding: 14px 0; }
.mq-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.mq span { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; white-space: nowrap; padding: 0 22px; letter-spacing: -.01em; }
.mq i { font-style: normal; font-size: 20px; align-self: center; }
.mq-y { top: 22px; background: var(--y); color: var(--ink); transform: rotate(-2.2deg); z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.mq-k { top: 92px; background: var(--ink-2); color: transparent; transform: rotate(2.2deg); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.mq-k span { -webkit-text-stroke: 1.2px #fff; }
.mq-k i { color: var(--y); }
.mq.rev .mq-track { animation-direction: reverse; animation-duration: 46s; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Máy hot ---------- */
.spot { background: var(--ink); color: #fff; padding: 40px 0 90px; }
.spot-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.spot-fig { position: relative; aspect-ratio: 1; max-width: 600px; }
.grid-bg { position: absolute; inset: 6%; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 34px 34px; border: 1px solid var(--line-d); -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 75%); mask-image: radial-gradient(circle, #000 55%, transparent 75%); }
.grid-bg.light { inset: 0; background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px); background-size: 28px 28px; border: 0; -webkit-mask-image: none; mask-image: none; }
.spot-fig img { position: relative; width: 82%; margin: 9% auto 0; filter: drop-shadow(0 40px 60px rgba(255, 120, 0, .25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.note { position: absolute; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: var(--y); padding: 6px 10px; white-space: nowrap; }
.note i { position: absolute; width: 60px; height: 1px; background: var(--y); top: 50%; }
.note i::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--y); top: -4px; box-shadow: 0 0 0 4px rgba(255, 212, 0, .25); }
.n1 { left: 0; top: 16%; } .n1 i { left: 100%; } .n1 i::after { right: -4px; }
.n2 { right: 0; top: 30%; } .n2 i { right: 100%; } .n2 i::after { left: -4px; }
.n3 { left: 2%; bottom: 26%; } .n3 i { left: 100%; } .n3 i::after { right: -4px; }
.n4 { right: 4%; bottom: 12%; } .n4 i { right: 100%; } .n4 i::after { left: -4px; }
.spot-txt h2 { font-size: clamp(34px, 4.4vw, 60px); margin: 10px 0 16px; }
.spot-price { margin-bottom: 20px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.spot .price { background: var(--y); color: var(--ink); }
.spot .spot-price s { color: var(--muted-d); }
.spec { border-top: 1px solid currentColor; margin-bottom: 22px; }
.spec-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(127, 127, 127, .45); align-items: baseline; }
.spec-row .mono { opacity: .7; font-size: 11.5px; }
.spec-row b { font-weight: 600; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opts span { border: 1.5px solid var(--ink); padding: 3px 10px; font-size: 13.5px; border-radius: 4px; background: var(--white); }
.spot-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Khung section ---------- */
.sec { padding: 96px 0; position: relative; }
.sec.tight { padding: 40px 0 70px; }
.sec.paper { background: var(--paper); }
.sec.dark { background: var(--ink); color: #fff; }
.sec-h { margin-bottom: 40px; max-width: 860px; }
.sec-h.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; margin-bottom: 24px; }
.sec-h .mono { margin: 0 0 14px; color: var(--muted); }
.sec.dark .sec-h .mono { color: var(--y); }
.sec-h h2 { font-size: clamp(34px, 5vw, 68px); margin: 0; }
.sec-h.row h2 { font-size: clamp(26px, 3vw, 40px); }
.sec-sub { font-size: 17px; margin: 18px 0 0; max-width: 620px; color: var(--muted); }
.sec.dark .sec-sub, .company .sec-sub { color: var(--muted-d); }
.sec-sub a { text-decoration: underline; text-decoration-color: var(--y); text-underline-offset: 3px; }

/* ---------- Tab + thẻ sản phẩm ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tabs button { border: 2px solid var(--ink); background: transparent; padding: 10px 18px; border-radius: var(--r); font-weight: 700; cursor: pointer; }
.tabs button sup { font-family: var(--mono); font-size: 11px; margin-left: 4px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--y); }
.tab-panel .more-link { margin-top: 26px; }
.grid { display: grid; gap: 20px; }
.grid.rail { grid-template-columns: repeat(4, 1fr); }
.grid.list { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pc { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--hard); transition: transform .18s, box-shadow .18s; }
.pc:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.pc > a { display: flex; flex-direction: column; height: 100%; padding: 14px; }
.pc-top { display: flex; justify-content: space-between; align-items: center; min-height: 24px; margin-bottom: 6px; }
.pc-top .mono { color: var(--muted); font-size: 11.5px; }
.pc-img { position: relative; aspect-ratio: 1; margin-bottom: 12px; overflow: hidden; border-radius: 4px; }
.pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.pc.erp .pc-img { background: #efece3; }
.pc.erp .pc-img img { object-fit: cover; }
.pc-img.typo { position: relative; }
.pc:hover .pc-img img { transform: scale(1.04); }
.pc h3 { font-size: 15px; font-weight: 600; line-height: 1.35; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pc-price { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.price { display: inline-flex; align-items: baseline; gap: 5px; font-family: var(--display); font-weight: 700; font-size: 15px; background: var(--y); color: var(--ink); padding: 4px 8px; border-radius: 3px; }
.price small { font-family: var(--mono); font-weight: 500; font-size: 10.5px; text-transform: uppercase; }
.price.big { font-size: 28px; padding: 6px 14px; }
.pc-price s, .pd-price s { font-family: var(--mono); color: #85858f; font-size: 12.5px; }
.tag { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border: 1.5px solid var(--ink); border-radius: 3px; }
.tag.ln { background: var(--ink); color: var(--y); }
.tag.sale { background: var(--red); border-color: var(--red); color: #fff; }
.tag.out { background: #d9d6cc; color: #555; border-color: #b9b5a8; }

/* ---------- Con số ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.stat { padding: 34px 24px 10px 0; border-right: 1px solid var(--line-d); }
.stat:not(:first-child) { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 104px); line-height: 1; color: var(--y); letter-spacing: -.04em; }
.stat .mono { display: block; margin: 12px 0 14px; font-size: 14px; color: #fff; }
.stat p { color: var(--muted-d); margin: 0; max-width: 250px; }

/* ---------- Bento dịch vụ ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px; }
.b { position: relative; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--r); background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--hard); transition: transform .2s, box-shadow .2s; }
.b:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.b > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.b:hover > img { transform: scale(1.05); }
.b > img + .b-txt { background: linear-gradient(0deg, rgba(11,11,12,.95) 10%, rgba(11,11,12,.55) 60%, rgba(11,11,12,0)); padding-top: 70px; }
.b-txt { position: relative; padding: 22px; }
.b-txt .mono { color: var(--y); font-size: 11.5px; }
.b h3 { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 8px 0 8px; }
.b p { margin: 0 0 12px; color: #d4d4db; font-size: 14.5px; }
.b em { font-style: normal; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.b-ic { position: absolute; top: 22px; right: 22px; }
.b-ic .ic { width: 64px; height: 64px; opacity: .9; }
.b-big { grid-column: span 2; grid-row: span 2; }
.b-big h3 { font-size: 30px; }
.b-tall { grid-row: span 2; }
.b-y { background: var(--y); color: var(--ink); }
.b-y .b-txt .mono { color: var(--ink); opacity: .7; }
.b-y p { color: #2a2a2e; }
.b-dark { background: var(--ink-2); }
.b-dark .b-ic { color: var(--y); }

/* ---------- Phiếu kiểm máy ---------- */
.check { background: var(--paper-2); overflow: hidden; }
.check::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.check-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.check-txt h2 { font-size: clamp(32px, 4vw, 56px); }
.check-txt .mono { color: var(--muted); margin: 0 0 14px; }
.check-txt p { font-size: 17px; max-width: 520px; }
.check-txt a:not(.btn) { text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 3px; }
.check-txt .btn { margin-top: 12px; }
.receipt { position: relative; background: #fffdf6; max-width: 440px; margin: 0 auto; padding: 26px 26px 34px; font-family: var(--mono); font-size: 13.5px; transform: rotate(1.8deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.18), 0 2px 0 rgba(0,0,0,.05);
  -webkit-mask: radial-gradient(circle 7px at 50% 0, #0000 98%, #000) 50% 0 / 20px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, #0000 98%, #000) 50% 100% / 20px 51% repeat-x;
  mask: radial-gradient(circle 7px at 50% 0, #0000 98%, #000) 50% 0 / 20px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, #0000 98%, #000) 50% 100% / 20px 51% repeat-x; }
.rc-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 2px dashed #bbb; margin-bottom: 10px; }
.rc-head img { background: var(--ink); border-radius: 50%; padding: 4px; }
.rc-head div { display: flex; flex-direction: column; }
.rc-head b { font-family: var(--display); font-size: 15px; letter-spacing: .02em; }
.rc-head span { font-size: 11px; color: #777; text-transform: uppercase; letter-spacing: .08em; }
.receipt ol { list-style: none; margin: 0; padding: 0; }
.receipt li { display: grid; grid-template-columns: 28px 1fr 22px; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px dotted #ccc; }
.receipt li span { color: #999; }
.receipt li em { font-style: normal; }
.receipt li b { color: var(--green); }
.receipt li b .ic { width: 18px; height: 18px; }
.rc-foot { margin: 14px 0 0; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: #555; padding-right: 110px; min-height: 64px; }
.stamp { position: absolute; right: 18px; bottom: 16px; width: 118px; height: 118px; border: 4px solid var(--red); border-radius: 50%; color: var(--red); display: grid; place-content: center; text-align: center;
  transform: rotate(-16deg); opacity: .85; mix-blend-mode: multiply; box-shadow: inset 0 0 0 3px #fffdf6, inset 0 0 0 5px var(--red); }
.stamp b { font-family: var(--display); font-size: 32px; line-height: 1; }
.stamp span { font-size: 10px; letter-spacing: .15em; }
.receipt.compact { transform: none; max-width: 380px; font-size: 12.5px; }
.receipt.compact .stamp { width: 96px; height: 96px; }
.receipt.compact .stamp b { font-size: 26px; }

/* ---------- Tường ảnh thật ---------- */
.wall { padding-bottom: 80px; overflow: hidden; }
.film { overflow: hidden; margin-bottom: 18px; }
.film-track { display: flex; gap: 18px; width: max-content; animation: slide 90s linear infinite; }
.film.rev .film-track { animation-direction: reverse; animation-duration: 110s; }
.film:hover .film-track { animation-play-state: paused; }
.film figure { margin: 0; width: 230px; flex: none; background: #fff; padding: 10px 10px 8px; transform: rotate(-1.5deg); box-shadow: 0 16px 30px rgba(0,0,0,.4); }
.film figure:nth-child(even) { transform: rotate(1.5deg); }
.film img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.film figcaption { color: #444; font-size: 10.5px; padding-top: 8px; }

/* ---------- Tin tức ---------- */
.posts { display: grid; gap: 22px; }
.posts.home .post.big { grid-row: span 3; }
.posts.home .post:not(.big) a { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: start; }
.posts.home .post:not(.big) .post-img { grid-row: span 3; aspect-ratio: 1; }
.posts.home .post:not(.big) .post-ex { display: none; }
.posts.home { grid-template-columns: 1.3fr 1fr; }
.posts.list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.posts.three { grid-template-columns: repeat(3, 1fr); }
.post a { display: block; }
.post-img { aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper-2); margin-bottom: 12px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post-img img { transform: scale(1.05); }
.post .mono { color: var(--muted); margin: 0 0 6px; font-size: 11.5px; }
.post h3 { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 6px; }
.post.big h3 { font-family: var(--display); font-size: 26px; letter-spacing: -.01em; }
.post:hover h3 { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.post-ex { color: var(--muted); font-size: 14.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Pháp lý ---------- */
.company-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 50px; align-items: start; }
.company h2 { font-size: clamp(36px, 5vw, 70px); }
.doc { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r); padding: 26px; position: relative; }
.doc::after { content: "SCN"; position: absolute; right: 22px; top: 18px; font-family: var(--display); font-weight: 800; color: rgba(255, 212, 0, .12); font-size: 54px; }
.doc-h { color: var(--y); margin: 0 0 12px; }
.doc dl { margin: 0 0 22px; }
.doc dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.14); }
.doc dt { color: var(--muted-d); font-size: 11.5px; padding-top: 3px; }
.doc dd { margin: 0; font-weight: 600; }
.doc dd a:hover { color: var(--y); }
.doc.light { background: var(--white); border: 2px solid var(--ink); box-shadow: var(--hard); }
.doc.light .doc-h { color: var(--ink); }
.doc.light dl div { border-bottom-color: #ccc; }
.doc.light dt { color: var(--muted); }
.doc.light::after { color: rgba(0,0,0,.06); }
.company-pic { grid-column: 1 / -1; margin: 10px 0 0; position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-d); }
.company-pic img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 78%; }
.company-pic figcaption { position: absolute; left: 20px; bottom: 16px; background: var(--y); color: var(--ink); padding: 6px 12px; }

/* ---------- Kêu gọi cuối ---------- */
.final { background: var(--y); padding: 90px 0; border-top: 2px solid var(--ink); }
.final-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.final h2 { font-size: clamp(40px, 5.4vw, 82px); margin: 0; line-height: .98; }
.cta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.cta .btn { justify-content: flex-start; padding: 12px 14px; }
.cta.on-y { grid-template-columns: 1fr; margin: 0; }
.cta.on-y .btn { padding: 16px 20px; box-shadow: var(--hard); }
.cta.on-y .btn-line { background: var(--white); }

/* ---------- Trang con ---------- */
.phero { background: var(--ink); color: #fff; padding: 46px 0 50px; position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.phero::after { content: ""; position: absolute; right: 0; bottom: 0; width: 180px; height: 8px; background: var(--y); }
.phero .wrap { position: relative; }
.phero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 58px); letter-spacing: -.025em; margin: 14px 0 12px; max-width: 1000px; }
.phero-sub { color: var(--muted-d); margin: 0; }
.crumbs { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-d); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: var(--y); }
.crumbs [aria-current] { color: #fff; }
.pd-sec .crumbs { color: var(--muted); margin-bottom: 22px; }
.pd-sec .crumbs [aria-current] { color: var(--ink); }
.pd-sec .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 14px; scrollbar-width: thin; }
.chips.sub { margin-top: -6px; }
.chip { flex: none; padding: 8px 16px; border: 2px solid var(--ink); border-radius: var(--r); font-weight: 700; font-size: 14px; background: var(--white); white-space: nowrap; }
.chip:hover { background: var(--y); }
.chip.on { background: var(--ink); color: var(--y); }
.chips.sub .chip { border-width: 1.5px; font-weight: 500; background: transparent; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.flt { flex: 1; min-width: 220px; max-width: 420px; display: flex; align-items: center; gap: 8px; border: 2px solid var(--ink); background: var(--white); border-radius: var(--r); padding: 0 12px; }
.flt input { border: 0; outline: none; background: transparent; padding: 10px 0; flex: 1; min-width: 0; }
.tools select { border: 2px solid var(--ink); background: var(--white); border-radius: var(--r); padding: 10px 12px; font-weight: 600; }
.chk { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--ink); }
.empty { border: 2px dashed var(--ink); padding: 28px; text-align: center; font-weight: 600; margin-top: 20px; }
.empty a { text-decoration: underline; }

/* Chi tiết sản phẩm */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.gal { position: sticky; top: 96px; }
.gal-main { position: relative; aspect-ratio: 1; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--hard); overflow: hidden; display: grid; place-items: center; }
.gal-main img { position: relative; width: 88%; height: 88%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; padding: 2px 2px 6px; }
.thumbs button { flex: none; width: 72px; height: 72px; border: 2px solid #c9c5b8; border-radius: var(--r); padding: 4px; background: var(--white); cursor: pointer; }
.thumbs button.on { border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info > .mono { color: var(--muted); margin: 0 0 10px; }
.pd-info h1 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; }
.pd-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 6px 0 12px; }
.note-p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.pd-info .spec { border-top-color: var(--ink); }
.offers { border: 2px dashed var(--ink); background: #fff8d6; border-radius: var(--r); padding: 14px 18px; font-size: 14.5px; }
.offers .mono { margin: 0 0 6px; font-weight: 700; }
.offers ul { margin: 0 0 6px; padding-left: 18px; }
.offers p { margin: 6px 0 2px; }
.promise { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-weight: 500; }
.promise li { display: flex; gap: 10px; align-items: center; }
.promise .ic { width: 22px; height: 22px; color: var(--ink); background: var(--y); padding: 3px; border-radius: 4px; }
.pd-check { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; margin: 70px 0 10px; padding: 40px; background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--r); }
.pd-check h2 { font-size: clamp(24px, 2.6vw, 36px); }
.pd-check .mono { color: var(--muted); margin: 0 0 12px; }
.pd-desc { margin-top: 60px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 30px; position: relative; }
.pd-desc > .mono { margin: 0 0 16px; color: var(--muted); }
.pd-desc.clamp .rich { max-height: 680px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.more { display: flex; margin: 18px auto 0; }
.related { margin-top: 70px; }

/* Bài viết, trang */
.sheet { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 36px; box-shadow: var(--hard); min-width: 0; }
.sheet .cover { width: 100%; border-radius: var(--r); margin-bottom: 24px; }
.rich { overflow-wrap: anywhere; font-size: 16.5px; }
.rich img { border-radius: var(--r); margin: 14px auto; }
.rich p img { display: inline-block; margin: 6px; vertical-align: top; }
.rich iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); }
.rich h2 { font-size: 24px; margin-top: 1.4em; }
.rich h3 { font-size: 19px; margin-top: 1.3em; font-weight: 700; }
.rich table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.rich td, .rich th { border: 1px solid #ccc; padding: 6px 10px; }
.rich figure { margin: 14px 0; }
.rich figcaption { text-align: center; color: var(--muted); font-size: 13px; }
.rich a { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rich blockquote { border-left: 5px solid var(--y); margin: 16px 0; padding: 4px 18px; background: var(--paper); }
.with-side { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.side { position: sticky; top: 96px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 18px; }
.side .mono { color: var(--y); margin: 0 0 10px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side a { display: block; padding: 8px 10px; border-radius: 4px; font-size: 14.5px; color: #d6d6dc; }
.side a:hover { color: var(--y); }
.side a[aria-current] { background: var(--y); color: var(--ink); font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.map { width: 100%; min-height: 420px; height: 100%; border: 2px solid var(--ink); border-radius: var(--r); }
.nf h1 { font-size: clamp(38px, 6vw, 84px); }
.nf-search { display: flex; gap: 10px; max-width: 560px; margin-top: 26px; }
.nf-search input { flex: 1; border: 2px solid var(--y); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r); font-size: 16px; }

/* ---------- Chân trang ---------- */
.ftr { background: var(--ink); color: #c9c9d0; font-size: 15px; overflow: hidden; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-top: 70px; padding-bottom: 30px; }
.ftr h2 { font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--y); margin: 0 0 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li .mono { display: block; font-size: 10.5px; color: #8b8b95; }
.ftr li a { color: #fff; font-weight: 600; }
.ftr a:hover { color: var(--y); }
.ftr-co p { margin: 0 0 14px; line-height: 1.75; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border: 1px solid var(--line-d); border-radius: var(--r); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--y); color: var(--ink); border-color: var(--y); }
.social .ic { width: 20px; height: 20px; }
.ftr-word { font-family: var(--display); font-weight: 800; font-size: 8.6vw; line-height: .9; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 212, 0, .45); letter-spacing: -.03em; padding: 10px 0 0; user-select: none; }
.ftr-copy { border-top: 1px solid var(--line-d); padding-top: 18px; padding-bottom: 22px; font-size: 11px; color: #8b8b95; }
.dock { display: none; }

/* ---------- Hiện dần khi cuộn ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Máy tính bảng ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hdr-row { justify-content: space-between; }
  .grid.rail { grid-template-columns: repeat(3, 1fr); }
  .grid.rail .pc:nth-child(n+7) { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-tall { grid-row: span 1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .spot-in, .check-in, .company-in, .final-in, .pd, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .gal { position: static; }
  .with-side { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; order: 2; }
  .pd-check { grid-template-columns: minmax(0, 1fr); padding: 26px; gap: 30px; }
  .posts.home { grid-template-columns: minmax(0, 1fr); }
  .posts.home .post.big { grid-row: auto; }
  .posts.three { grid-template-columns: minmax(0, 1fr); }
  .cta { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- Điện thoại ---------- */
@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 66px; }
  .wrap { padding: 0 16px; }
  .hdr-row { height: 62px; gap: 10px; }
  .brand b { font-size: 14px; }
  .brand small { font-size: 8px; }
  .brand img { width: 34px; height: 34px; }
  .call { display: none; }
  .hero { min-height: 88vh; }
  .hero-bg { left: 0; width: 100%; object-position: 50% 30%; }
  .hero-shade { background: linear-gradient(0deg, rgba(11,11,12,1) 8%, rgba(11,11,12,.8) 55%, rgba(11,11,12,.45) 100%); }
  .hero-in { padding-top: 150px; padding-bottom: 40px; }
  .hero-p { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .sticker { width: 118px; height: 118px; top: 78px; right: 12px; }
  .sticker text { font-size: 16px; }
  .sticker img { width: 46px; height: 46px; padding: 5px; }
  .signs-in { grid-template-columns: repeat(5, auto); overflow-x: auto; padding: 0; }
  .led { padding: 14px 14px; font-size: 12.5px; white-space: nowrap; }
  .cross { height: 134px; }
  .mq span { font-size: 18px; padding: 0 14px; }
  .mq-y { top: 14px; } .mq-k { top: 70px; }
  .spot { padding: 20px 0 70px; }
  .note { font-size: 10px; padding: 4px 7px; }
  .note i { width: 26px; }
  .spec-row { grid-template-columns: 100px 1fr; }
  .sec { padding: 70px 0; }
  .sec-h { margin-bottom: 28px; }
  .sec-h.row { flex-direction: column; align-items: flex-start; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .tabs button { flex: none; padding: 9px 14px; }
  .grid { gap: 14px; }
  .grid.rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; }
  .grid.rail .pc { flex: 0 0 64%; scroll-snap-align: start; display: block !important; }
  .grid.list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pc { box-shadow: 3px 3px 0 var(--ink); }
  .pc > a { padding: 10px; }
  .pc h3 { font-size: 13.5px; }
  .price { font-size: 13px; padding: 3px 6px; }
  .price.big { font-size: 22px; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat { padding: 24px 12px 8px 0 !important; }
  .stat:nth-child(even) { padding-left: 14px !important; }
  .stat .mono { font-size: 12px; }
  .stat p { font-size: 13.5px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; }
  .b-big { grid-column: auto; grid-row: span 1; }
  .b-big h3 { font-size: 23px; }
  .receipt { padding: 22px 18px 26px; font-size: 12.5px; }
  .stamp { width: 92px; height: 92px; right: 10px; bottom: 16px; }
  .rc-foot { padding-right: 96px; }
  .stamp b { font-size: 24px; }
  .film figure { width: 170px; }
  .posts.home .post:not(.big) a { grid-template-columns: 110px 1fr; }
  .posts.list { grid-template-columns: minmax(0, 1fr); }
  .doc { padding: 20px; }
  .doc dl div { grid-template-columns: 1fr; gap: 2px; }
  .company-pic img { aspect-ratio: 4 / 3; }
  .final { padding: 64px 0; }
  .phero { padding: 30px 0 34px; }
  .sheet { padding: 20px; }
  .pd-desc { padding: 18px; }
  .ftr-grid { grid-template-columns: minmax(0, 1fr); padding-top: 50px; }
  .dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--ink); border-top: 2px solid var(--y); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 0 7px; font-size: 11px; font-weight: 600; color: #fff; }
  .dock .ic { width: 22px; height: 22px; }
  .dock a:first-child { color: var(--y); }
  .dock .z b { font-size: 11px; font-weight: 800; background: var(--zalo); color: #fff; border-radius: 5px; padding: 3px 5px; line-height: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-h span, .hero-p, .hero-cta { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Nối ERP: kho hàng realtime ---------- */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #29e07a; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(41, 224, 122, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(41, 224, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(41, 224, 122, 0); } }
.live { display: inline-flex; align-items: center; font-size: 11.5px; color: inherit; }
.nav sup, .chip sup, .mnav sup { font-family: var(--mono); font-size: 10px; opacity: .7; margin-left: 2px; }
.live-sec { background: var(--ink); color: #fff; padding-top: 30px; border-top: 1px solid var(--line-d); }
.live-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.live-head .live { color: #29e07a; }
.live-head h2 { font-size: clamp(36px, 4.4vw, 64px); margin: 14px 0 0; }
.live-head .sec-sub { color: var(--muted-d); }
.live-head .hero-cta { opacity: 1; animation: none; margin-top: 26px; }
.live-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.lt { position: relative; background: var(--ink); padding: 22px 18px 18px; min-height: 132px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: background .2s; }
.lt b { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--y); letter-spacing: -.03em; }
.lt span { font-size: 14px; color: #d8d8de; margin-top: 8px; font-weight: 600; }
.lt .ic { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; color: #3a3a40; transition: color .2s, transform .2s; }
.lt:hover { background: var(--ink-2); }
.lt-go { background: var(--y); color: var(--ink); }
.lt-go b { color: var(--ink); } .lt-go b .ic { position: static; width: 40px; height: 40px; color: var(--ink); }
.lt-go span { color: var(--ink); }
.lt-go:hover { background: var(--y-2); }
.lt:hover .ic { color: var(--y); transform: rotate(-8deg) scale(1.1); }
.erp-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: -8px 0 22px; max-width: 900px; }
.erp-note .ic { flex: none; color: var(--ink); background: var(--y); border-radius: 4px; padding: 2px; width: 20px; height: 20px; }
.tag.stock { background: #e8f8ee; border-color: #0f9d4a; color: #0b6e35; }
.pc.erp h3 { font-size: 14px; }
.typo { position: relative; background: var(--ink); color: #fff; border-radius: 4px; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; }
.typo b { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.05; color: var(--y); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.typo em { font-style: normal; font-size: 12px; color: #cfcfd6; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.typo .mono { position: absolute; left: 14px; top: 12px; font-size: 10px; color: #8b8b95; }
.typo-ic { position: absolute; right: 12px; top: 10px; color: #3d3d44; }
.typo-ic .ic { width: 34px; height: 34px; }
.gal-in { position: relative; width: 88%; height: 88%; display: grid; place-items: center; }
.gal-in img { width: 100%; height: 100%; object-fit: contain; }
.gal-in.typo { width: 100%; height: 100%; border-radius: 0; padding: 28px; }
.gal-in.typo b { font-size: clamp(28px, 4vw, 48px); }
.gal-in.typo em { font-size: 16px; }
.gal video { width: 100%; margin-top: 14px; border: 2px solid var(--ink); border-radius: var(--r); background: #000; }
.mk { display: flex; flex-wrap: wrap; gap: 10px; margin: -6px 0 16px; }
b.ok { color: var(--green); }
.m-sub { font-size: 17px !important; font-family: var(--body) !important; font-weight: 600 !important; padding-left: 16px !important; color: #cfcfd6; }

/* ---------- Tra cứu bảo hành ---------- */
.wl { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.wl-form label { display: block; margin-bottom: 10px; color: var(--muted); }
.wl-row { display: flex; gap: 10px; }
.wl-row input { flex: 1; min-width: 0; border: 2px solid var(--ink); border-radius: var(--r); padding: 14px 16px; font-family: var(--mono); font-size: 20px; letter-spacing: .06em; background: var(--paper); outline: none; }
.wl-row input:focus { background: #fff; box-shadow: 0 0 0 4px var(--y); }
.wl-hint { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.wl-hint a { text-decoration: underline; }
.wl-out { margin-top: 26px; display: grid; gap: 16px; }
.wl-out:empty { display: none; }
.wl-msg { border: 2px dashed var(--ink); padding: 16px; font-weight: 600; margin: 0; }
.wl-sum { margin: 0; color: var(--muted); }
.wl-card { border: 2px solid var(--ink); border-radius: var(--r); padding: 18px; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.wl-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.wl-top h3 { font-size: 17px; margin: 0; }
.wl-st { flex: none; font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; border: 1.5px solid var(--ink); }
.wl-st.ok { background: #29e07a; } .wl-st.warn { background: var(--y); } .wl-st.off { background: #e6e3da; }
.wl-bar { height: 8px; background: #eee; border: 1.5px solid var(--ink); border-radius: 99px; margin: 14px 0 4px; overflow: hidden; }
.wl-bar i { display: block; height: 100%; background: var(--ink); }
.wl-left { font-size: 11px; color: var(--muted); margin: 0 0 6px; }
.wl-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 12px 0 0; }
.wl-card dt { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; color: var(--muted); }
.wl-card dd { margin: 0; font-weight: 600; }
.wl-card ul { margin: 10px 0 0; padding-left: 18px; }
.wl-note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.wl-side .receipt { margin-bottom: 26px; }
.wl-side .mono { color: var(--muted); margin: 0 0 8px; }

/* ---------- Trợ lý AI ---------- */
.ai { position: fixed; right: 22px; bottom: 22px; z-index: 75; }
.ai-fab { display: flex; align-items: center; gap: 8px; border: 2px solid var(--ink); background: var(--y); color: var(--ink); font-weight: 800; padding: 12px 18px; border-radius: 99px; box-shadow: var(--hard); cursor: pointer; }
.ai-fab .ic { width: 20px; height: 20px; }
.ai-panel { position: absolute; right: 0; bottom: 64px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 150px)); background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.ai-panel header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; background: var(--ink); color: #fff; }
.ai-panel header div { display: flex; flex-direction: column; }
.ai-panel header .mono { font-size: 10px; color: var(--y); }
.ai-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ai-m { max-width: 86%; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; line-height: 1.5; margin: 0; }
.ai-m.bot { background: #fff; border: 1.5px solid var(--ink); align-self: flex-start; border-bottom-left-radius: 2px; }
.ai-m.me { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 2px; }
.ai-m a { text-decoration: underline; }
.ai-prod { display: block; margin-top: 8px; padding: 6px 8px; background: var(--paper); border-left: 3px solid var(--y); font-size: 13px; }
.typing i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--ink); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.ai-form { display: flex; gap: 8px; padding: 10px; border-top: 2px solid var(--ink); background: #fff; }
.ai-form input { flex: 1; min-width: 0; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 10px 12px; outline: none; }
.ai-form .btn { padding: 10px 14px; box-shadow: none; }
.ai-human { border: 0; border-top: 1px solid #d8d4c8; background: var(--paper-2); padding: 10px; font-weight: 700; display: flex; justify-content: center; gap: 8px; align-items: center; cursor: pointer; }
.ai-human .ic { width: 16px; height: 16px; }

@media (max-width: 1180px) { .live-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .wl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .live-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt { min-height: 110px; padding: 16px 14px 14px; }
  .lt b { font-size: 34px; }
  .typo b { font-size: 15px; }
  .wl-row { flex-direction: column; }
  .wl-card dl { grid-template-columns: minmax(0, 1fr); }
  .ai { right: 12px; bottom: 78px; }
  .ai-fab { padding: 10px 14px; }
  .ai-panel { position: fixed; left: 8px; right: 8px; bottom: 136px; width: auto; height: calc(100vh - 210px); }
}
.ref-note { margin-top: 18px; padding-top: 12px; border-top: 1px dashed #ccc; font-size: 13.5px; color: var(--muted); }
