:root {
  --blue: #004088;      /* xanh chủ đạo */
  --navy: #0f2550;
  --orange: #ff6b35;    /* màu nhấn */
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f4f6f9;
  --header-h: 72px;
  --pad: clamp(16px, 3vw, 40px);
  --max: 1560px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: "Lexend", system-ui, sans-serif; color: var(--ink); background: #fff; font-weight: 300; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 40px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .04em; display: flex; justify-content: center; gap: 12px; padding: 8px var(--pad); text-align: center; flex-wrap: wrap; }
.topbar .dot { opacity: .4; }
.topbar a { font-weight: 500; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: #fff; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); padding: 0 var(--pad); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.logo { flex: none; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; height: 100%; }
.nav > a, .has-mega > a { position: relative; padding: 6px 0; }
.nav > a::after, .has-mega > a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav > a:hover, .nav > a.current, .has-mega:hover > a, .has-mega > a.current { color: var(--blue); }
.nav > a:hover::after, .nav > a.current::after, .has-mega:hover > a::after, .has-mega > a.current::after { transform: scaleX(1); }
.has-mega { height: 100%; display: flex; align-items: center; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(15,37,80,.25); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; text-transform: none; letter-spacing: 0; white-space: normal; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 32px; display: grid; grid-template-columns: 240px 1fr 240px; gap: 40px; }
.mega h4 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.mega-brands a { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mega-brands a strong { font-weight: 600; }
.mega-brands a span { font-size: 12px; color: var(--muted); font-weight: 300; }
.mega-cats > div { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 32px; }
.mega-cats a { padding: 9px 0; font-size: 15px; font-weight: 400; }
.mega a:hover { color: var(--blue); }
.mega-all { background: var(--blue); color: #fff !important; border-radius: 8px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; transition: background .2s; }
.mega-all:hover { background: var(--navy); }
.mega-all span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.mega-all strong { font-size: 22px; font-weight: 700; }
.mega-all svg { width: 22px; height: 22px; margin-top: 10px; }

.search { position: relative; flex: 1; min-width: 0; max-width: 420px; margin-left: auto; display: flex; align-items: center; background: var(--soft); border-radius: 999px; padding: 0 16px; height: 42px; border: 1.5px solid transparent; transition: border-color .2s, background .2s; }
.search:focus-within { border-color: var(--blue); background: #fff; }
.search > svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 0 10px; font-size: 14px; font-weight: 300; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(15,37,80,.25); overflow: hidden; display: none; }
.suggest.open { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.suggest a:hover { background: var(--soft); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: var(--soft); border-radius: 6px; mix-blend-mode: multiply; flex: none; }
.suggest b { display: block; font-size: 13px; font-weight: 400; line-height: 1.35; }
.suggest i { font-style: normal; font-size: 12px; color: var(--muted); }
.suggest p { padding: 16px; font-size: 13px; color: var(--muted); }
.suggest .suggest-all { justify-content: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); border-top: 1px solid var(--line); padding: 13px; }
.suggest .suggest-all svg { width: 15px; height: 15px; }

.actions { display: flex; align-items: center; gap: 16px; flex: none; }
.hotline { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.hotline svg { width: 17px; height: 17px; color: var(--blue); }
.hotline:hover { color: var(--blue); }

.burger { display: none; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 6px; flex: none; }
.burger span { display: block; height: 1.5px; width: 22px; background: var(--ink); transition: transform .2s; }
.menu-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.drawer { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; border-radius: 999px; padding: 12px 26px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; transition: background .2s, color .2s, border-color .2s; border: 1.5px solid transparent; text-align: center; white-space: nowrap; }
.btn-sm { padding: 9px 18px; font-size: 11px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--orange); color: #fff; }
.btn-outline { border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; height: calc(100vh - var(--header-h) - 34px - 84px); min-height: 440px; max-height: 760px; }
.hero-panel { position: relative; overflow: hidden; display: flex; align-items: flex-end; color: #fff; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,37,80,.15) 0%, rgba(15,37,80,.75) 100%); }
.hero-photo:hover img { transform: scale(1.04); }
.hero-color { background: var(--blue); align-items: center; justify-content: center; text-align: center; }
.hero-content { position: relative; z-index: 1; padding: clamp(24px, 4vw, 56px); }
.eyebrow { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 12px; opacity: .9; }
.eyebrow-blue { color: var(--blue); opacity: 1; margin-bottom: 6px; }
.hero h2 { font-size: clamp(30px, 4vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 24px; }
.hero h1 { font-size: clamp(64px, 10vw, 160px); font-weight: 800; line-height: .88; letter-spacing: -.04em; }
.hero-sub { margin: 20px 0 28px; font-size: clamp(13px, 1.2vw, 16px); opacity: .9; }

/* ---------- Cam kết ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.perks div { padding: 20px var(--pad); border-right: 1px solid var(--line); display: grid; gap: 2px; }
.perks div:last-child { border-right: 0; }
.perks b { font-size: 14px; font-weight: 600; }
.perks span { font-size: 13px; color: var(--muted); }

/* ---------- Section ---------- */
.section { padding: clamp(48px, 6vw, 88px) var(--pad); max-width: var(--max); margin: 0 auto; }
.section-tight { padding-top: 0; }
.section-soft { max-width: none; background: var(--soft); }
.section-soft .section-inner { max-width: var(--max); margin: 0 auto; }
.section-soft .card-img { background: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.link-more { font-size: 13px; font-weight: 500; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.link-more:hover { color: var(--blue); border-color: var(--blue); }
.tabs { display: flex; gap: clamp(14px, 1.8vw, 26px); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { font-size: 15px; color: var(--muted); padding: 4px 0; white-space: nowrap; border-bottom: 1.5px solid transparent; transition: color .2s; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); font-weight: 500; border-color: var(--ink); }

/* ---------- Ô thương hiệu ---------- */
.brand-tiles { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.brand-tile { position: relative; background: var(--soft); border-radius: 10px; padding: clamp(20px, 2.4vw, 32px); min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; transition: background .25s, color .25s, transform .25s; }
.brand-tile strong { font-size: clamp(34px, 4vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.brand-count { position: absolute; top: clamp(18px, 2.2vw, 28px); left: clamp(20px, 2.4vw, 32px); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
.brand-desc { font-size: 14px; margin-top: 8px; opacity: .75; min-height: 1.5em; }
.brand-go { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.brand-go svg { width: 16px; height: 16px; transition: transform .25s; }
.brand-tile:hover { background: var(--navy); color: #fff; }
.brand-tile:hover .brand-go svg { transform: translateX(6px); }
.brand-main { background: var(--blue); color: #fff; }
.brands { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-cell { height: 120px; display: grid; place-items: center; padding: 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; }
.brand-cell:hover { filter: none; opacity: 1; }
.brand-cell img { width: 100%; height: 72px; object-fit: contain; }
.brand-cell b { font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -.03em; color: var(--navy); }

/* ---------- Lưới sản phẩm ---------- */
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: block; min-width: 0; }
.card-img { position: relative; aspect-ratio: 1; background: var(--soft); border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-cta { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--blue); color: #fff; text-align: center; border-radius: 999px; padding: 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.card:hover .card-cta { opacity: 1; transform: none; }
.tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 6px; }
.tag span { color: var(--muted); font-weight: 400; }
.card h3 { font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover h3 { color: var(--blue); }
.price { font-size: 14px; font-weight: 600; }
.price-contact { font-weight: 400; color: var(--muted); }
.empty { text-align: center; padding: 56px 0; display: grid; gap: 12px; justify-items: center; }
.empty-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.empty a:not(.btn) { color: var(--blue); font-weight: 500; }

/* ---------- Chữ lớn: tìm theo nhu cầu ---------- */
.bigcats { background: var(--navy); color: #fff; text-align: center; padding: clamp(56px, 8vw, 120px) var(--pad); }
.bigcats .eyebrow { margin-bottom: 28px; opacity: .6; }
.bigcats li a { display: inline-block; font-size: clamp(34px, 6vw, 84px); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; color: rgba(255,255,255,.28); transition: color .25s; }
.bigcats li a.active, .bigcats li a:hover { color: #fff; }
.bigcats-desc { margin: 28px auto; max-width: 520px; min-height: 3em; opacity: .8; }

/* ---------- Dự án ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; margin-bottom: 16px; background: var(--soft); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project:hover .project-img img { transform: scale(1.05); }
.project h3 { font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.project .muted { font-size: 14px; }

/* ---------- Khối báo giá ---------- */
.contact { background: var(--blue); color: #fff; padding: clamp(48px, 7vw, 96px) var(--pad); }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact h2 { font-size: clamp(28px, 3.6vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.quote { background: #fff; color: var(--ink); border-radius: 12px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; border: 1px solid var(--line); }
.quote h3 { font-size: 18px; font-weight: 600; }
.quote label { display: grid; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.quote input, .quote textarea { font-size: 15px; font-weight: 300; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; outline: 0; resize: vertical; text-transform: none; letter-spacing: 0; width: 100%; }
.quote input:focus, .quote textarea:focus { border-color: var(--blue); }
.form-note { font-size: 13px; color: #9a3412; background: #fff3ec; border-radius: 8px; padding: 10px 12px; }
.form-note.ok { color: #166534; background: #ecfdf3; }

/* ---------- Trang trong ---------- */
.page { max-width: var(--max); margin: 0 auto; padding: 20px var(--pad) clamp(48px, 6vw, 88px); min-height: 60vh; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--blue); }
.crumbs b { font-weight: 400; color: var(--ink); }

/* ---------- Danh sách sản phẩm ---------- */
.catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.catalog-head h1 { font-size: clamp(26px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.catalog-tools { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.sort { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.sort select { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #fff; font-size: 14px; outline: 0; cursor: pointer; }
.catalog-body { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 28px; }
.filter-group h4 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.filter-list { display: grid; }
.filter-list button { display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 9px 12px; margin: 0 -12px; border-radius: 8px; font-size: 15px; font-weight: 300; transition: background .15s; }
.filter-list button span { font-size: 12px; color: var(--muted); }
.filter-list button:hover { background: var(--soft); }
.filter-list button.active { background: var(--blue); color: #fff; font-weight: 500; }
.filter-list button.active span { color: rgba(255,255,255,.75); }
.filter-list button:disabled { opacity: .35; cursor: default; background: none; }
.filter-help { background: var(--soft); border-radius: 10px; padding: 18px; display: grid; gap: 8px; justify-items: start; font-size: 13px; }
.filter-help b { font-weight: 600; font-size: 14px; }
.filter-help p { color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips:not(:empty) { margin-bottom: 20px; }
.chips button { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.chips button:hover { border-color: var(--ink); }

/* ---------- Chi tiết sản phẩm ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.pdp-img { background: var(--soft); border-radius: 12px; aspect-ratio: 1; position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-img img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.pdp-info h1 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 4px 0 16px; }
.pdp-price { font-size: 28px; font-weight: 700; color: var(--blue); }
.pdp-price.price-contact { font-size: 22px; font-weight: 600; color: var(--ink); }
.pdp-note { font-size: 13px; color: var(--muted); margin: 4px 0 24px; }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.pdp-desc { border-top: 1px solid var(--line); padding-top: 24px; }
.pdp-perks { margin-top: 24px; background: var(--soft); border-radius: 10px; padding: 16px 20px; display: grid; gap: 8px; font-size: 14px; }
.pdp-perks li { padding-left: 22px; position: relative; }
.pdp-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.rich { font-size: 15px; line-height: 1.7; }
.rich h3, .rich h4, .rich h5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 18px 0 4px; }
.rich h4 strong { font-weight: 600; }
.rich > :first-child { margin-top: 0; }
.rich p { margin-bottom: 10px; }
.rich ul, .rich ol { padding-left: 20px; margin-bottom: 10px; list-style: disc; }
.rich strong, .rich b { font-weight: 500; }
.rich table { border-collapse: collapse; margin: 12px 0; width: 100%; display: block; overflow-x: auto; }
.rich td, .rich th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; font-size: 14px; }
.rich img { border-radius: 8px; margin: 12px auto; }
.pdp-tabs { margin-top: clamp(40px, 5vw, 72px); }
.pdp-tabs .tabs { border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.pdp-tabs .tab { padding: 12px 0; margin-bottom: -1px; }
.pdp-panel { max-width: 960px; }
.pdp-quote { margin-top: clamp(40px, 5vw, 72px); background: var(--soft); border-radius: 14px; padding: clamp(20px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.pdp-quote h2 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.pdp-related { margin-top: clamp(40px, 5vw, 72px); }

/* ---------- Giới thiệu / Liên hệ ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.about-text { padding: clamp(32px, 6vw, 96px) var(--pad); display: grid; gap: 16px; align-content: center; max-width: 720px; justify-self: end; }
.about-text h1 { font-size: clamp(30px, 4vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.about-text p:not(.eyebrow) { font-size: 16px; line-height: 1.7; }
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.about-img { min-height: 360px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-card { background: var(--soft); border-radius: 10px; padding: 20px; display: grid; gap: 4px; align-content: start; transition: background .2s, color .2s; overflow-wrap: anywhere; }
a.contact-card:hover { background: var(--blue); color: #fff; }
.contact-card span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; opacity: .65; }
.contact-card b { font-size: 17px; font-weight: 600; line-height: 1.3; }
.contact-card i { font-style: normal; font-size: 14px; opacity: .75; }
.contact-card:nth-child(4), .contact-card:nth-child(3) { grid-column: span 2; }

/* ---------- Footer ---------- */
.footer { padding: clamp(40px, 6vw, 72px) var(--pad) 24px; max-width: var(--max); margin: 0 auto; font-size: 14px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr 1.2fr 1.5fr; gap: 32px; }
.footer-logo { height: 52px; margin-bottom: 16px; }
.footer h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer a, .footer p { display: block; margin-bottom: 8px; overflow-wrap: anywhere; }
.footer strong { font-weight: 500; }
.footer a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.copyright { color: var(--muted); font-size: 12px; margin: 0 !important; max-width: 640px; }
/* Chỗ dành cho logo Bộ Công Thương */
.bct { display: block; width: 180px; height: 68px; margin: 0 !important; flex: none; }
.bct img { width: 100%; height: 100%; object-fit: contain; }
.bct-empty { border: 1.5px dashed #c5cad3; border-radius: 8px; display: grid; place-items: center; text-align: center; font-size: 10.5px; line-height: 1.35; color: var(--muted); }
.bct-empty b { font-weight: 500; }

/* ---------- Nút nổi ---------- */
.float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; gap: 10px; }
.float a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,64,136,.3); transition: transform .2s; }
.float a:last-child { background: var(--orange); box-shadow: 0 6px 20px rgba(255,107,53,.35); }
.float a:hover { transform: scale(1.08); }
.float svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hotline span { display: none; }
  .hotline { width: 38px; height: 38px; justify-content: center; background: var(--soft); border-radius: 50%; }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .catalog-body { grid-template-columns: 200px 1fr; }
}
@media (max-width: 1080px) {
  :root { --header-h: 116px; }
  .header { flex-wrap: wrap; height: var(--header-h); gap: 0 12px; padding-top: 8px; padding-bottom: 10px; align-content: space-between; }
  .nav { display: none; }
  .burger { display: flex; }
  .logo { margin-right: auto; }
  .logo img { height: 40px; }
  .actions { gap: 8px; }
  .search { order: 5; flex: 0 0 100%; max-width: none; margin: 0; }
  .suggest { min-width: 0; }
  .drawer { position: fixed; inset: var(--header-h) 0 0 0; z-index: 45; background: #fff; flex-direction: column; padding: 8px var(--pad) 32px; overflow: auto; }
  .menu-open .drawer { display: flex; }
  .menu-open { overflow: hidden; }
  .menu-open .topbar { display: none; }
  .drawer > a { font-size: 22px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .drawer p { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 18px 0 10px; }
  .drawer-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .drawer-chips a { background: var(--soft); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 400; }
  .topbar span:not(:first-child), .topbar .dot { display: none; }
  .hero { grid-template-columns: 1fr; height: auto; max-height: none; }
  .hero-panel { min-height: 46vh; }
  .hero-color { min-height: 40vh; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perks div:nth-child(2) { border-right: 0; }
  .perks div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .brand-tile { min-height: 190px; }
  .grid, .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .contact-inner, .contact-grid, .pdp, .pdp-quote, .about { grid-template-columns: 1fr; }
  .about-text { justify-self: start; }
  .pdp-img { position: static; max-width: 520px; width: 100%; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-cta { display: none; }
  /* Bộ lọc thành hàng nút cuộn ngang */
  .catalog-body { grid-template-columns: 1fr; gap: 16px; }
  .filters { position: static; gap: 10px; min-width: 0; }
  .filter-group { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .filter-group h4 { margin: 0; flex: none; width: 82px; }
  .filter-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-list button { margin: 0; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; white-space: nowrap; flex: none; }
  .filter-list button.active { border-color: var(--blue); }
  .filter-list button:disabled { display: none; }
  .filter-help { display: none; }
}
@media (max-width: 600px) {
  .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
  .projects { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .brand-cell { height: 88px; padding: 16px; }
  .brand-cell img { height: 52px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .actions .btn { display: none; }
  .hotline { display: flex; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card:nth-child(n) { grid-column: auto; }
  .catalog-tools { width: 100%; justify-content: space-between; }
  .pdp-actions .btn { flex: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Ô ẩn chống thư rác trong form báo giá */
.quote .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ---------- Bản đồ gọn ở chân trang ---------- */
.footer .footer-social { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; }
.footer .footer-social a { display: inline; margin: 0; font-weight: 500; }
.map-box { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); height: 170px; margin-bottom: 10px; }
.map-box iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-dir { display: inline-flex !important; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--blue); }
.map-dir svg { width: 14px; height: 14px; }
@media (max-width: 1080px) {
  .footer-map { grid-column: 1 / -1; }
  .map-box { height: 200px; }
}
/* Chừa chỗ cho hai nút nổi Zalo / gọi điện, tránh che ô Bộ Công Thương */
.footer-bottom { padding-right: 64px; }
@media (max-width: 600px) { .footer-bottom { padding-right: 0; padding-bottom: 8px; } .bct { margin-bottom: 112px !important; } }

/* ---------- Trang Bảng màu ---------- */
.cm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 20px; }
.cm-head h1 { font-size: clamp(26px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.cm-head p { max-width: 640px; }
.cm-search { position: relative; display: flex; align-items: center; gap: 8px; background: var(--soft); border: 1.5px solid transparent; border-radius: 999px; padding: 0 16px; height: 44px; flex: 1; max-width: 380px; min-width: 240px; }
.cm-search:focus-within { border-color: var(--blue); background: #fff; }
.cm-search svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.cm-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; font-weight: 300; }
.cm-filters { display: grid; gap: 12px; padding: 16px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.cm-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cm-sub select { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #fff; font-size: 14px; outline: 0; cursor: pointer; max-width: 100%; }
.cm-count { margin-left: auto; font-size: 14px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 400; transition: background .15s, color .15s, border-color .15s; }
.chip span { font-size: 12px; color: var(--muted); margin-left: 2px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 500; }
.chip.on span { color: rgba(255,255,255,.75); }
.fam { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 13px; }
.fam i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); display: block; }
.fam .fam-all { background: conic-gradient(#c8473f, #f2cf5a, #7fb069, #56bdb6, #5b8fd1, #9c86c2, #f2b3c2, #c8473f); }
.fam:hover { border-color: var(--ink); }
.fam.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); font-weight: 500; }
.fam:disabled { opacity: .35; cursor: default; }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; }
.sw { display: block; text-align: left; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .15s, box-shadow .15s; }
.sw:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(15,37,80,.45); }
.sw-c { display: block; aspect-ratio: 4 / 3; border-bottom: 1px solid rgba(0,0,0,.06); }
.sw-t { display: grid; gap: 1px; padding: 8px 10px 10px; font-size: 12px; line-height: 1.35; }
.sw-t b { font-size: 13px; font-weight: 600; }
.sw-t span { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-t i { font-style: normal; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.cm-note { font-size: 13px; color: var(--muted); background: var(--soft); border-radius: 10px; padding: 12px 16px; margin-top: 28px; }
.cm-note.small { margin-top: 16px; padding: 0; background: none; font-size: 12px; }
.cm-modal { position: fixed; inset: 0; z-index: 80; background: rgba(15,37,80,.45); display: grid; place-items: center; padding: 16px; }
.cm-lock { overflow: hidden; }
.cm-dialog { position: relative; background: #fff; border-radius: 16px; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; }
.cm-close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.cm-big { min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; gap: 2px; }
.cm-big b { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.cm-big span { font-size: 16px; }
.cm-info { padding: 28px 24px 24px; }
.cm-info h2 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; margin: 2px 0 6px; padding-right: 32px; }
.cm-info h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 22px 0 10px; }
.cm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cm-similar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sim { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 8px; text-align: left; align-items: center; padding: 6px; border-radius: 8px; border: 1px solid var(--line); font-size: 12px; }
.sim:hover { border-color: var(--blue); }
.sim i { grid-row: span 2; width: 34px; height: 34px; border-radius: 6px; border: 1px solid rgba(0,0,0,.08); }
.sim b { font-weight: 600; }
.sim span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Dải bảng màu trên trang chủ ---------- */
.cm-teaser { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; }
.cm-strip { display: grid; grid-template-columns: repeat(24, 1fr); height: 64px; border-radius: 12px; overflow: hidden; }
.cm-strip a { display: block; transition: transform .15s; }
.cm-strip a:hover { transform: scaleY(1.12); }

@media (max-width: 760px) {
  .cm-dialog { grid-template-columns: 1fr; }
  .cm-big { min-height: 180px; }
  .cm-search { max-width: none; min-width: 0; width: 100%; }
  .cm-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
  .cm-count { margin-left: 0; width: 100%; }
  .cm-fam { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .cm-fam::-webkit-scrollbar { display: none; }
  .fam { flex: none; }
  .cm-teaser { grid-template-columns: 1fr; }
  .cm-strip { grid-template-columns: repeat(12, 1fr); height: 48px; }
  .cm-strip a:nth-child(n+13) { display: none; }
}

.cm-teaser-title { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 6px; }
#bang-mau .cm-strip { margin-top: 24px; }

/* ---------- Phối màu ---------- */
.vz-head { margin-bottom: 20px; }
.vz-head h1 { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.vz-head p { max-width: 720px; }
.vz { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); grid-template-areas: "view pick" "more pick"; gap: 16px clamp(20px, 3vw, 40px); align-items: start; }
.vz-view { grid-area: view; }
.vz-more { grid-area: more; }
.vz-pick { grid-area: pick; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.vz-tabs { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.vz-tabs::-webkit-scrollbar { display: none; }
.vz-tabs .chip { flex: none; }
.vz-stage { border-radius: 14px; overflow: hidden; background: var(--soft); aspect-ratio: 3 / 2; }
.vz-stage svg { display: block; width: 100%; height: 100%; fill: #000; stroke: none; stroke-width: 1; }
.vz-stage [style*="var(--a)"], .vz-stage [style*="var(--b)"], .vz-stage [style*="var(--c)"] { transition: fill .3s ease; }
@media (prefers-reduced-motion: reduce) { .vz-stage * { transition: none !important; } }
.vz-surf { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 12px; }
.vz-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; padding: 9px 12px 9px 9px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s; }
.vz-card:hover { border-color: var(--ink); }
.vz-card.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.vz-card i { width: 46px; height: 46px; border-radius: 9px; border: 1px solid rgba(0,0,0,.1); }
.vz-card > span { display: grid; min-width: 0; line-height: 1.3; }
.vz-card small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vz-card.on small { color: var(--blue); font-weight: 600; }
.vz-card b { font-size: 15px; font-weight: 600; }
.vz-card em { font-style: normal; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vz-surf.three { grid-template-columns: 1fr 1fr 1fr auto; }
.vz-card .vz-s { display: none; }
.vz-swap { width: 46px; border: 1.5px solid var(--line); border-radius: 12px; display: grid; place-items: center; }
.vz-swap:hover { border-color: var(--ink); }
.vz-swap svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vz-hint { font-size: 14px; color: var(--muted); }
.vz-hint b { color: var(--blue); font-weight: 600; }
.vz-sug { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--muted); }
.vz-dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); transition: transform .15s; }
.vz-dot:hover { transform: scale(1.1); }
.vz-dot.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.vz-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.vz-pick .cm-search { max-width: none; min-width: 0; }
.vz-pick .chip { padding: 5px 12px; font-size: 13px; }
.vz-pick .cm-fam { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.vz-pick .cm-fam::-webkit-scrollbar { display: none; }
.vz-pick .fam { flex: none; }
.vz-count { font-size: 13px; }
.vz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; max-height: min(52vh, 520px); overflow: auto; padding: 4px 4px 4px 2px; }
.vz-sw { display: grid; gap: 3px; text-align: center; }
.vz-sw i { display: block; aspect-ratio: 1; border-radius: 8px; border: 1px solid rgba(0,0,0,.1); transition: transform .12s; }
.vz-sw:hover i { transform: scale(1.06); }
.vz-sw.on i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.vz-sw b { font-size: 10.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vz-none { grid-column: 1 / -1; font-size: 14px; }
.cm-head-link { font-size: 14px; color: var(--blue); font-weight: 500; white-space: nowrap; }
.cm-head-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .vz { grid-template-columns: minmax(0, 1fr); grid-template-areas: "view" "pick" "more"; }
  /* Điện thoại: hình minh hoạ dính trên cùng khi cuộn bảng màu */
  .vz-view { position: sticky; top: var(--header-h); z-index: 5; background: #fff; padding: 6px 0 10px; margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); box-shadow: 0 8px 12px -12px rgba(15,37,80,.35); }
  .vz-tabs { margin-bottom: 8px; }
  .vz-stage { aspect-ratio: 16 / 9; border-radius: 10px; }
  .vz-surf { gap: 6px; margin-top: 8px; }
  .vz-card { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 6px 8px 6px 6px; }
  .vz-card i { width: 34px; height: 34px; border-radius: 7px; }
  .vz-card b { font-size: 13px; }
  .vz-card em { display: none; }
  .vz-swap { width: 38px; }
  /* 3 mảng: thẻ gọn, ẩn tên hãng và nút đổi chỗ */
  .vz-surf.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vz-surf.three .vz-swap, .vz-surf.three .vz-br, .vz-surf.three .vz-l { display: none; }
  .vz-surf.three .vz-s { display: inline; }
  .vz-surf.three .vz-card { grid-template-columns: 26px minmax(0, 1fr); gap: 6px; padding: 6px 6px 6px 5px; }
  .vz-surf.three .vz-card i { width: 26px; height: 26px; border-radius: 6px; }
  .vz-surf.three .vz-card small { font-size: 9.5px; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vz-card b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* Điện thoại: đổi màu tức thì, không chạy hiệu ứng để mượt hơn */
  .vz-stage * { transition: none !important; }
  .vz-pick { position: static; border: 0; padding: 0; }
  .vz-grid { max-height: none; overflow: visible; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
}

