/* =========================================================
   KOVIF – Industrial Paper Packaging
   Modern Industrial · Premium B2B · Clean Corporate
   ========================================================= */
:root {
    --ink: #112130;          /* xanh than – màu chủ đạo (theo thiết kế) */
    --ink-2: #0f1d2b;
    --ink-3: #1d2b3a;
    --steel: #4b525c;
    --muted: #5b6573;
    --line: #e6e9ee;
    --paper: #f8fafc;        /* nền xám nhạt (theo thiết kế) */
    --white: #ffffff;
    --kraft: #b98b53;        /* nâu giấy kraft – điểm nhấn phụ */
    --yellow: #fdc83b;       /* vàng thương hiệu */
    --yellow-d: #f2b81c;
    --radius: 6px;
    --container: 1320px;
    --header-h: 88px;
    --shadow: 0 1px 2px rgba(21, 23, 27, .06), 0 8px 24px rgba(21, 23, 27, .06);
    --font: 'Inter', 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink-3); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--yellow); color: var(--ink); padding: 8px 14px; z-index: 200; font-weight: 600; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius);
    font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-d); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--ink); color: #b6bac2; font-size: 13px; display: none; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a:hover { color: var(--white); }
.topbar-info { display: flex; gap: 22px; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 992px) { .topbar { display: block; } }

.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; overflow: hidden; }
.lang-switch a { padding: 2px 9px; font-weight: 600; font-size: 12px; letter-spacing: .04em; }
.lang-switch a.is-active { background: var(--yellow); color: var(--ink); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--ink); border-radius: 4px; position: relative; overflow: hidden; }
.brand-mark::before { content: ""; position: absolute; width: 18px; height: 18px; background: var(--yellow); transform: rotate(45deg) translate(6px, 6px); }
.brand-mark::after { content: ""; position: absolute; inset: 9px 18px 9px 9px; border: 3px solid #8b9099; border-right: 0; }
.brand-text { font-weight: 800; font-size: 22px; letter-spacing: .14em; color: var(--ink); }

.main-nav { display: none; margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 0 12px; height: var(--header-h); font-weight: 600; font-size: 14.5px; color: var(--ink-2);
    position: relative; white-space: nowrap; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .2s; }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.is-active::after { transform: scaleX(1); }
.main-nav .dropdown { position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--yellow);
    box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; list-style: none; margin: 0; }
.main-nav li:hover > .dropdown, .main-nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.main-nav .dropdown a { display: block; padding: 10px 12px; border-radius: 4px; font-size: 14.5px; font-weight: 500; }
.main-nav .dropdown a:hover { background: var(--paper); }
.main-nav .dropdown .all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .btn-quote { display: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--paper); }
@media (min-width: 1100px) {
    .main-nav { display: block; }
    .header-actions { margin-left: 8px; }
    .header-actions .btn-quote { display: inline-flex; }
    .nav-toggle { display: none; }
}
@media (min-width: 768px) and (max-width: 1099px) { .header-actions .btn-quote { display: inline-flex; } }

/* Search panel */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 16px 0; display: none; }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); min-width: 0; }
.search-form input:focus { border-color: var(--ink); outline: none; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; overflow: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(21,23,27,.55); opacity: 0; transition: opacity .2s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--ink); color: #d6d8dc; transform: translateX(100%); transition: transform .25s ease;
    display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer-head .icon-btn { color: var(--white); }
.drawer-head .icon-btn:hover { background: rgba(255,255,255,.08); }
.drawer nav a, .drawer summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-weight: 600; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .icon { transform: rotate(180deg); }
.drawer details a { padding-left: 36px; font-weight: 500; color: #b6bac2; font-size: 15px; }
.drawer-foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; }
.drawer-foot .lang-switch a { padding: 6px 14px; font-size: 13px; }
body.no-scroll { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-lg { padding: 64px 0; }
@media (min-width: 992px) { .section { padding: 64px 0; } .section-lg { padding: 80px 0; } }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: #c9ccd2; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); }
.section-dark .eyebrow { color: #9ca1aa; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0; max-width: 720px; }
.section-head p { color: var(--muted); max-width: 520px; margin: 10px 0 0; }
.lead { font-size: 18px; color: var(--steel); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #d4d6da; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(21,23,27,.94) 0%, rgba(21,23,27,.82) 45%, rgba(21,23,27,.35) 100%); }
.hero.no-image .hero-bg { background:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.035) 22px 23px),
    radial-gradient(circle at 80% 20%, #2b2f36 0, transparent 55%), var(--ink); }
.hero .container { padding-top: 88px; padding-bottom: 96px; }
@media (min-width: 992px) { .hero .container { padding-top: 140px; padding-bottom: 150px; } }
.hero h1 { color: var(--white); font-size: clamp(34px, 5.6vw, 64px); font-weight: 800; max-width: 800px; letter-spacing: -.03em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 600px; margin-bottom: 32px; color: #c2c5cb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-flute { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 22px; color: var(--white); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); max-width: 760px; font-size: 14px; color: #9ca1aa; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before { content: ""; width: 6px; height: 6px; background: var(--yellow); }

/* Page hero (trang con) */
.page-hero { background: var(--ink); color: #c2c5cb; padding: 32px 0 36px; position: relative; overflow: hidden; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,23,27,.95), rgba(21,23,27,.7)); z-index: 1; }
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; margin: 10px 0 8px; max-width: 900px; }
.page-hero p { max-width: 760px; margin: 0; font-size: 15px; line-height: 1.6; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: #9ca1aa; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #5b616b; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb [aria-current] { color: #d4d6da; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid { gap: 28px; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; height: 100%; }
a.card:hover { border-color: #cfccc4; box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 19px; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.card-body .link-arrow { margin-top: auto; align-self: flex-start; font-size: 14.5px; }
.card-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kraft); margin-bottom: 8px; }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #b9b4a8;
    background: repeating-linear-gradient(135deg, #f1eee7 0 10px, #ece8df 10px 20px); }
.placeholder .icon { width: 42px; height: 42px; stroke-width: 1.3; }

/* Category tile (trang chủ) */
.cat-card .card-media { aspect-ratio: 5 / 4; }
.cat-index { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 12px; padding: 4px 8px; border-radius: 3px; letter-spacing: .06em; }

/* Intro */
.intro { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) { .intro { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.intro-media { position: relative; }
.intro-media img, .intro-media .placeholder { aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); }
.intro-media::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 46%; height: 46%; border: 3px solid var(--yellow); border-radius: var(--radius); z-index: -1; }
.intro h2 { font-size: clamp(26px, 3.2vw, 38px); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } }
.stat { background: var(--white); padding: 18px 20px; }
.stat strong { display: block; font-size: 30px; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* Why */
.why-grid { display: grid; gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { background: var(--ink); padding: 30px 28px; }
.why-num { font-size: 13px; font-weight: 700; color: var(--yellow); letter-spacing: .1em; margin-bottom: 18px; display: block; }
.why-item h3 { font-size: 19px; margin-bottom: 8px; }
.why-item p { margin: 0; font-size: 15px; color: #a3a8b0; }

/* Industries list */
.industry-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-2); color: var(--white); isolation: isolate; }
.industry-card img, .industry-card .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.industry-card .placeholder { background: repeating-linear-gradient(135deg, #23262d 0 12px, #1f2228 12px 24px); color: #3a3f47; }
.industry-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,23,27,0) 30%, rgba(21,23,27,.92) 100%); }
.industry-card:hover img { transform: scale(1.05); }
.industry-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.industry-card h3 { color: var(--white); font-size: 21px; margin: 0 0 6px; }
.industry-card p { font-size: 14px; color: #c2c5cb; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.industry-card .go { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; transform: scale(.8); opacity: 0; transition: .2s; }
.industry-card:hover .go { transform: none; opacity: 1; }
.industries-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .industries-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
@media (max-width: 639px) { .industry-card { aspect-ratio: 4 / 5; } .industry-card h3 { font-size: 17px; } .industry-card .body { padding: 14px; } .industry-card p { display: none; } }

/* Certifications */
.cert-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .cert-strip { grid-template-columns: repeat(4, 1fr); } }
.cert { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--white); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cert img { height: 96px; width: auto; object-fit: contain; }
.cert strong { color: var(--ink); font-size: 15px; }
.cert small { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } .gallery a:first-child { grid-column: span 2; grid-row: span 2; } }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--paper); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: var(--ink); background: linear-gradient(100deg, #fde07c 0%, #fdd35a 45%, #fec944 100%); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 140px); pointer-events: none; }
.cta-band__media { position: relative; height: 220px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%); order: 2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.cta-band .container { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 32px; }
.cta-band__body { max-width: 640px; }
.cta-band h2 { font-size: clamp(24px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 12px; }
.cta-band p { margin: 0 0 28px; color: #2f2a14; font-size: 16px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .actions .btn { min-height: 52px; padding: 0 26px; font-size: 16px; }
.cta-band .btn-dark { box-shadow: 0 8px 18px rgba(15,25,40,.22); }
.cta-band .btn-outline { border: 1.5px solid var(--ink); }
.cta-band .btn-outline:hover { background: var(--ink); color: #fff; }
.cta-band { display: flex; flex-direction: column; }
@media (min-width: 992px) {
  .cta-band { display: block; }
  .cta-band__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
  .cta-band .container { padding-top: 76px; padding-bottom: 76px; }
  .cta-band__body { max-width: 56%; }
}

/* News card */
.post-card .card-media { aspect-ratio: 16 / 10; }
.meta { font-size: 13px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }

/* ---------- Product detail ---------- */
.product-top { display: grid; gap: 32px; }
@media (min-width: 992px) { .product-top { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.pgallery-main { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); cursor: zoom-in; }
.pgallery-main img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.pgallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.pgallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--paper); }
.pgallery-thumbs button.is-active { border-color: var(--ink); }
.pgallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(28px, 3.4vw, 42px); }
.product-info .lead { margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 24px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--steel); background: var(--paper); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--steel); background: var(--white); }
a.chip:hover { border-color: var(--ink); color: var(--ink); }

.tabs-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; position: sticky; top: var(--header-h); background: var(--white); z-index: 20; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tabs-nav a { padding: 16px 18px; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs-nav a:hover, .tabs-nav a.is-active { color: var(--ink); border-color: var(--yellow); }
.detail-layout { display: grid; gap: 40px; }
@media (min-width: 992px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.detail-block { padding: 40px 0 8px; scroll-margin-top: calc(var(--header-h) + 60px); }
.detail-block > h2 { font-size: 26px; margin-bottom: 20px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.aside-card h3 { font-size: 18px; }
.aside-card p { font-size: 15px; color: var(--steel); }
.aside-card .contact-line { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); margin-top: 10px; }

.options-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .options-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .options-grid { grid-template-columns: repeat(3, 1fr); } }
.option { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.option .media { aspect-ratio: 4 / 3; background: var(--paper); }
.option img { width: 100%; height: 100%; object-fit: contain; }
.option .body { padding: 16px 18px; }
.option h3 { font-size: 17px; margin-bottom: 6px; }
.option p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Layout có sidebar (danh mục, bài viết) ---------- */
.with-sidebar { display: grid; gap: 40px; }
@media (min-width: 992px) { .with-sidebar { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; } .with-sidebar.right { grid-template-columns: minmax(0, 1fr) 320px; } }
.side-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-nav h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0; padding: 14px 18px; background: var(--ink); color: var(--white); }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.side-nav a:hover { background: var(--paper); }
.side-nav a.is-active { background: var(--paper); font-weight: 700; color: var(--ink); box-shadow: inset 3px 0 0 var(--yellow); }
.side-nav a small { color: var(--muted); font-weight: 500; }

/* Article */
.article { max-width: 780px; }
.article-head h1 { font-size: clamp(28px, 3.6vw, 42px); }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 24px 0 32px; }
.article .k-content { font-size: 17px; color: #30343b; }
.k-content h2 { font-size: 1.5em; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 40px 0 0; justify-content: center; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 14.5px; }
.pagination a:hover { border-color: var(--ink); }
.pagination .is-active span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination .is-disabled span { color: #c5c2ba; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: #c2410c; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #d9d6ce; border-radius: var(--radius); background: var(--white); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245, 196, 0, .35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c2410c; }
.field .error { color: #c2410c; font-size: 13.5px; margin-top: 5px; }
.field .help { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.dropzone { border: 2px dashed #cfcbc1; border-radius: var(--radius); padding: 22px; text-align: center; background: var(--paper); cursor: pointer; transition: .15s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--ink); background: #efece5; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone strong { color: var(--ink); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 14px; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #d9d6ce; border-radius: 999px; padding: 8px 16px; font-weight: 500; cursor: pointer; margin: 0; }
.radio-row input { width: auto; min-height: 0; accent-color: var(--ink); }
.radio-row label:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: 15px; }
.alert-success { background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; }
.alert-error { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: s; }
.steps li::before { content: "0" counter(s); width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 14px; border-radius: 4px; }
.steps strong { display: block; color: var(--ink); }
.steps span { color: var(--muted); font-size: 15px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: var(--radius); background: var(--ink); color: var(--yellow); display: grid; place-items: center; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact-list strong, .contact-list a { color: var(--ink); font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9ca1aa; font-size: 15px; }
.footer-flute { display: block; width: 100%; color: var(--ink); background: var(--white); height: 18px; }
.footer-main { display: grid; gap: 36px; padding: 64px 0 40px; }
@media (min-width: 768px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-main { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 40px; } }
.site-footer h3 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand-text { color: var(--white); }
.footer-about p { margin: 16px 0 20px; max-width: 360px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { margin-top: 4px; color: var(--yellow); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.socials a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13.5px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Mobile contact bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; font-size: 12px; font-weight: 600; color: #d4d6da; }
.mobile-bar a .icon { width: 22px; height: 22px; }
.mobile-bar a.quote { background: var(--yellow); color: var(--ink); }
body { padding-bottom: 62px; }
@media (min-width: 992px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10,11,13,.94); display: none; align-items: center; justify-content: center; padding: 56px 12px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Error pages */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.error-code { font-size: clamp(90px, 16vw, 170px); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.06em; }
.error-code span { color: var(--yellow); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.stack-sm > * + * { margin-top: 10px; }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* =========================================================
   THEO THIẾT KẾ TRANG CHỦ (header, footer, home)
   ========================================================= */
h1, h2, h3, h4 { color: var(--ink-2); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #eef0f3; }
.brand img { height: 46px; width: auto; }
@media (min-width: 1100px) { .brand img { height: 46px; } }
.main-nav > ul { gap: 6px; }
.main-nav > ul > li > a { font-weight: 500; font-size: 14.5px; color: #1f2a37; padding: 0 12px; }
.main-nav > ul > li > a::after { left: 12px; right: 12px; bottom: 24px; height: 2px; }
.main-nav > ul > li > a .icon { width: 14px; height: 14px; }
.nav-lang { display: none; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #1f2a37; margin-left: 18px; }
.nav-lang a { color: #6b7280; }
.nav-lang a.is-active { color: #1f2a37; }
.nav-lang span { width: 1px; height: 14px; background: #d4d8de; }
.btn-quote { border-radius: 4px; }
@media (min-width: 1100px) {
    .nav-lang { display: inline-flex; }
    .header-actions { gap: 14px; }
    .header-actions .btn-quote { min-height: 44px; padding: 0 20px; }
    .main-nav { margin-left: auto; }
}

/* Nút chung theo thiết kế */
.btn { border-radius: 4px; font-weight: 600; }
.btn-primary { background: var(--yellow); color: #111; }
.btn-primary:hover { background: var(--yellow-d); }
.btn .icon { width: 18px; height: 18px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #7a8492; margin-bottom: 10px; }
.eyebrow::before { width: 26px; height: 3px; background: var(--yellow); border-radius: 2px; }

.btn-outline-light { border: 1.5px solid rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

/* ---------- Footer theo thiết kế ---------- */
.site-footer { background: var(--ink); color: #c5ccd5; font-size: 14.5px; position: relative; }
.footer-flute { display: none; }
.f-main { display: grid; gap: 36px; padding: 56px 0 44px; }
@media (min-width: 768px) { .f-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .f-main { grid-template-columns: 1.55fr .9fr 1fr 1.15fr; gap: 40px; } }
.f-logo img { height: 52px; width: auto; }
.f-company { color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; margin: 22px 0 8px; }
.f-desc { line-height: 1.75; max-width: 380px; margin: 0 0 22px; }
.site-footer h3 { color: #fff; font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: 0; margin-bottom: 18px; }
.site-footer ul { gap: 12px; }
.f-contact li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.55; }
.f-contact .ic { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: 0 0 32px; color: #fff; }
.f-contact .ic .icon { width: 16px; height: 16px; }
.f-contact li > span:last-child, .f-contact li > a { padding-top: 5px; }
.socials a { width: 40px; height: 40px; border: 0; background: rgba(255,255,255,.12); color: #fff; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 13.5px; color: #aab3be; }
.f-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.f-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.f-bottom nav span { width: 1px; height: 12px; background: rgba(255,255,255,.25); }
.to-top { position: absolute; right: 32px; top: -24px; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: #111; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.to-top .icon { width: 22px; height: 22px; stroke-width: 2.2; }
@media (min-width: 1100px) { .to-top { top: auto; bottom: 92px; right: 40px; } }

/* Modal video */
.vmodal { position: fixed; inset: 0; z-index: 400; background: rgba(5,10,16,.9); display: none; align-items: center; justify-content: center; padding: 16px; }
.vmodal.is-open { display: flex; }
.vmodal__box { width: min(1000px, 100%); aspect-ratio: 16 / 9; background: #000; position: relative; }
.vmodal__box iframe, .vmodal__box video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.vmodal button { position: absolute; top: -48px; right: 0; background: none; border: 0; color: #fff; cursor: pointer; }
.vmodal button .icon { width: 32px; height: 32px; }

/* Header: canh vừa 1 hàng ở mọi độ rộng desktop */
.site-header .container { gap: 16px; }
.main-nav > ul { gap: 0; }
.main-nav > ul > li > a { padding: 0 11px; font-size: 14px; }
.main-nav > ul > li > a::after { left: 11px; right: 11px; }
.header-actions { flex: 0 0 auto; }
.nav-lang { margin-left: 4px; }
@media (min-width: 1100px) and (max-width: 1299px) {
    .main-nav > ul > li > a { padding: 0 7px; font-size: 13.5px; }
    .main-nav > ul > li > a::after { left: 7px; right: 7px; }
    .brand img { height: 44px; }
    .header-actions .btn-quote { padding: 0 14px; }
    .header-actions .btn-quote .icon { display: none; }
}
@media (min-width: 1100px) and (max-width: 1219px) {
    .nav-lang { display: none; }
    .main-nav > ul > li > a { padding: 0 6px; font-size: 13px; }
    .main-nav > ul > li > a::after { left: 6px; right: 6px; }
    .brand img { height: 40px; }
}

/* Tinh chỉnh khớp thiết kế */
.f-contact { max-width: 270px; }
.f-logo { display: inline-block; }

/* =========================================================
   TRANG CHỦ – THIẾT KẾ MỚI (hx-*)
   ========================================================= */
:lang(zh-CN) body, html[lang="zh-CN"] body { font-family: 'Be Vietnam Pro', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }

/* Header gọn theo thiết kế */
@media (min-width: 1100px) { :root { --header-h: 72px; } }
.main-nav > ul > li > a::after { bottom: 18px; }
.nav-lang { border: 1px solid #e3e6ea; border-radius: 4px; padding: 6px 10px; gap: 6px; font-weight: 500; font-size: 12.5px; }
.nav-lang span.sep { width: auto; height: auto; background: none; color: #c3c8cf; }
.nav-lang span.flag { width: 18px; height: 12px; }
.nav-lang a { color: #4b5563; }
.nav-lang a:hover, .nav-lang a.is-active { color: #111827; font-weight: 700; }
.flag { width: 18px; height: 12px; border-radius: 2px; flex: 0 0 18px; background-size: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.nav-lang .flag-vi, .flag-vi { background: #da251d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Cpath fill='%23ff0' d='M15 4l1.8 5.5h5.8l-4.7 3.4 1.8 5.5L15 15l-4.7 3.4 1.8-5.5-4.7-3.4h5.8z'/%3E%3C/svg%3E") center/cover; }
.nav-lang .flag-en, .flag-en { background: #012169 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M0 0l60 40M60 0L0 40' stroke='%23fff' stroke-width='8'/%3E%3Cpath d='M0 0l60 40M60 0L0 40' stroke='%23c8102e' stroke-width='3'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23fff' stroke-width='12'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23c8102e' stroke-width='7'/%3E%3C/svg%3E") center/cover; }
.nav-lang .flag-zh, .flag-zh { background: #de2910 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Cpath fill='%23ffde00' d='M5 2l1.2 3.6H10L6.9 7.8 8.1 11.4 5 9.2 1.9 11.4 3.1 7.8 0 5.6h3.8z'/%3E%3Ccircle cx='11' cy='2.5' r='.9' fill='%23ffde00'/%3E%3Ccircle cx='13' cy='4.8' r='.9' fill='%23ffde00'/%3E%3Ccircle cx='13' cy='7.8' r='.9' fill='%23ffde00'/%3E%3Ccircle cx='11' cy='10' r='.9' fill='%23ffde00'/%3E%3C/svg%3E") center/cover; }
.header-actions .icon-btn[data-search-toggle] .icon { width: 20px; height: 20px; }

/* Nút & mũi tên tròn vàng */
.hx-arrow { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--yellow); color: #111; display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.hx-arrow .icon { width: 15px; height: 15px; stroke-width: 2.4; }

/* ---------- HERO ---------- */
.hx-hero { position: relative; color: #fff; background: var(--ink) var(--hero-bg) right center / cover no-repeat; isolation: isolate; }
.hx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(17,33,48,.94) 0%, rgba(17,33,48,.86) 30%, rgba(17,33,48,.55) 48%, rgba(17,33,48,.12) 60%, rgba(17,33,48,0) 70%); }
.hx-hero__inner { max-width: 1440px; margin: 0 auto; padding: 40px 16px 44px; display: grid; gap: 28px; }
.hx-hero__text { min-width: 0; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.hx-eyebrow::before { content: ""; width: 30px; height: 4px; border-radius: 2px; background: var(--yellow); flex: 0 0 30px; }
.hx-hero h1 { color: #fff; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.18; font-weight: 700; letter-spacing: -.01em; margin: 0 0 26px; max-width: 780px; }
.hx-hero h1 span { display: block; color: var(--yellow); }
.hx-features { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; max-width: 600px; }
.hx-features li { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.88); }
.hx-features .icon { width: 40px; height: 40px; flex: 0 0 40px; color: var(--yellow); stroke-width: 1.4; }
.hx-features span { max-width: 92px; }
.hx-actions { display: flex; flex-wrap: wrap; gap: 20px; }
.hx-actions .btn { min-height: 48px; padding: 0 26px; font-size: 14.5px; }
.hx-actions .btn-outline-light { border-width: 1px; border-color: rgba(255,255,255,.6); }

.hx-zalo { background: #fff; color: var(--ink-2); border-radius: 6px; padding: 22px 18px 12px; box-shadow: 0 12px 34px rgba(0,0,0,.22); align-self: start; order: 2; }
.hx-zalo__title { font-size: 18px; font-weight: 700; text-transform: uppercase; margin: 0 0 8px; color: var(--ink-2); }
.hx-zalo ul { list-style: none; margin: 0; padding: 0; }
.hx-zalo a { display: flex; align-items: center; gap: 12px; padding: 17px 0; }
.hx-zalo li + li a { border-top: 1px solid #f0f2f5; }
.hx-zalo img { width: 46px; height: auto; flex: 0 0 46px; }
.hx-zalo a > span:nth-child(2) { flex: 1; min-width: 0; line-height: 1.3; }
.hx-zalo strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.hx-zalo small { display: block; font-size: 12px; color: #6b7280; margin-top: 2px; }
.hx-zalo .hx-arrow { width: 34px; height: 34px; flex-basis: 34px; }
.hx-zalo a:hover .hx-arrow { background: var(--ink); color: var(--yellow); }
@media (min-width: 640px) { .hx-features { grid-template-columns: repeat(4, auto); justify-content: start; gap: 22px; } .hx-zalo { max-width: 360px; } }
@media (min-width: 992px) {
    .hx-hero { min-height: 442px; }
    .hx-hero__inner { grid-template-columns: 250px minmax(0, 1fr); gap: 42px; padding: 76px 40px 56px; align-items: start; }
    .hx-hero__text { padding-top: 0; margin-top: -18px; }
    .hx-zalo { order: 0; max-width: none; }
    .hx-hero__text { padding-top: 0; }
}
@media (max-width: 991px) {
    .hx-hero { background-position: 70% center; }
    .hx-hero::before { background: linear-gradient(180deg, rgba(17,33,48,.82), rgba(17,33,48,.9)); }
}

/* ---------- Số liệu ---------- */
.hx-stats { background: #f6f8fa; border-bottom: 1px solid #eef1f4; }
.hx-stats .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; padding-top: 20px; padding-bottom: 20px; }
.hx-stat { display: flex; align-items: center; gap: 14px; padding: 4px 12px; }
.hx-stat .icon { width: 44px; height: 44px; stroke-width: 1.5; color: var(--ink-2); flex: 0 0 44px; }
.hx-stat strong { display: block; font-size: 22px; font-weight: 700; color: var(--ink-2); line-height: 1.2; }
.hx-stat span { display: block; font-size: 14.5px; color: #4b5563; line-height: 1.35; }
@media (min-width: 992px) {
    .hx-stats .container { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 18px; padding-bottom: 18px; }
    .hx-stat { padding: 2px 0 2px 32px; }
    .hx-stat:first-child { padding-left: 8px; }
    .hx-stat + .hx-stat { border-left: 1px solid #e3e7ec; }
    .hx-stat .icon { width: 56px; height: 56px; flex-basis: 56px; }
}

/* ---------- Tiêu đề khối ---------- */
.hx-section { padding: 28px 0 34px; }
.hx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.hx-title { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; color: var(--ink-2); margin: 0; }
.hx-title::before { content: ""; width: 32px; height: 5px; border-radius: 3px; background: var(--yellow); flex: 0 0 32px; }
.hx-title--light { font-weight: 500; font-size: 15px; }
.hx-more { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #1f2a37; white-space: nowrap; }
.hx-more .icon { width: 16px; height: 16px; transition: transform .15s; }
.hx-more:hover .icon { transform: translateX(3px); }

/* ---------- Thẻ sản phẩm / ngành ---------- */
.hx-cards { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .hx-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hx-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; } }
.hx-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e9ecf0; border-radius: 5px; overflow: hidden; box-shadow: 0 2px 8px rgba(17,33,48,.05); transition: transform .2s, box-shadow .2s; }
.hx-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(17,33,48,.12); }
.hx-card__img { overflow: hidden; background: #fff; }
.hx-card--product .hx-card__img { aspect-ratio: 247 / 158; }
.hx-card--industry .hx-card__img { aspect-ratio: 247 / 117; }
.hx-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hx-card:hover .hx-card__img img { transform: scale(1.04); }
.hx-card__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 16px; }
.hx-card--industry .hx-card__body { padding: 12px 14px 13px; }
.hx-card__body strong { font-size: 15px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.hx-card:hover .hx-arrow { background: var(--ink); color: var(--yellow); }

/* ---------- Về KOVIF + video ---------- */
.hx-about-wrap { padding: 0 0 12px; }
.hx-about { display: grid; gap: 12px; }
.hx-about__card { position: relative; border-radius: 5px; overflow: hidden; min-height: 320px; padding: 48px 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; isolation: isolate;
    background: var(--ink) var(--about-bg) center / cover no-repeat; }
.hx-about__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,33,48,.88) 0%, rgba(17,33,48,.6) 45%, rgba(17,33,48,.05) 75%); }
.hx-about__card .hx-eyebrow { margin-bottom: 14px; }
.hx-about__card h2 { color: #fff; font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 30px; max-width: 13.5em; }
.hx-about__card .btn { min-height: 46px; padding: 0 26px; }
.hx-factory { display: grid; gap: 11px; }
.hx-video { position: relative; display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 712 / 262; background: var(--ink); }
.hx-video img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hx-video:hover img { transform: scale(1.03); }
.hx-video__play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.35); transition: transform .2s; }
.hx-video__play .icon { width: 22px; height: 22px; margin-left: 4px; fill: currentColor; }
.hx-video:hover .hx-video__play { transform: translate(-50%, -50%) scale(1.08); }
.hx-video__cap { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 7px 18px; border-radius: 20px; background: rgba(17,33,48,.72); color: #fff; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.hx-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.hx-thumbs a { overflow: hidden; border-radius: 2px; aspect-ratio: 140 / 106; }
.hx-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hx-thumbs a:hover img { transform: scale(1.06); }
@media (min-width: 992px) {
    .hx-about { grid-template-columns: 1fr 1fr; gap: 17px; }
    .hx-about__card { min-height: 0; padding: 40px 40px; }
    .hx-thumbs { grid-template-columns: 96fr 94fr 78fr 99fr 117fr; }
    .hx-thumbs a { aspect-ratio: auto; height: 94px; }
}

/* ---------- Chất lượng ---------- */

/* ---------- Dải báo giá ---------- */
.hx-cta { position: relative; color: #fff; background: var(--ink) var(--cta-bg) right center / auto 100% no-repeat; isolation: isolate; }
.hx-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #142536 0%, #17293a 52%, rgba(23,41,58,.75) 58%, rgba(23,41,58,.25) 68%, rgba(23,41,58,0) 78%); }
.hx-cta .container { padding-top: 40px; padding-bottom: 44px; }
.hx-cta h2 { color: #fff; font-size: clamp(26px, 2.2vw, 31px); font-weight: 600; line-height: 1.3; max-width: 380px; margin: 0 0 8px; }
.hx-cta p { color: rgba(255,255,255,.92); font-size: 15px; margin: 0 0 26px; }
.hx-cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.hx-cta__row .btn { min-height: 48px; padding: 0 30px; }
.hx-cta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 30px; }
.hx-cta li { display: flex; align-items: center; gap: 12px; font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,.9); max-width: 210px; }
.hx-cta .ic { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; border: 1.4px solid var(--yellow); color: var(--yellow); display: grid; place-items: center; }
.hx-cta .ic .icon { width: 20px; height: 20px; stroke-width: 1.5; }
@media (min-width: 992px) { .hx-cta { min-height: 300px; } .hx-cta .container { padding-top: 34px; padding-bottom: 50px; } }
@media (max-width: 991px) { .hx-cta::before { background: linear-gradient(180deg, rgba(17,33,48,.86), rgba(17,33,48,.92)); } }

/* Trang Nhà máy */
.factory-intro { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .factory-intro.has-video { grid-template-columns: 1fr 1fr; gap: 56px; } }
.factory-intro .hx-video { aspect-ratio: 16 / 9; }
@media (max-width: 639px) {
    .hx-stat { gap: 10px; padding: 4px 6px; }
    .hx-stat .icon { width: 32px; height: 32px; flex-basis: 32px; }
    .hx-stat strong { font-size: 18px; white-space: nowrap; }
    .hx-stat span { font-size: 12.5px; }
    .hx-card__body { padding: 12px; }
    .hx-card__body strong { font-size: 14px; }
}

/* Chọn ngôn ngữ dạng dropdown gọn */
.lang-dd { position: relative; flex: 0 0 auto; }
.lang-dd__btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 9px; border: 1px solid #e3e6ea; border-radius: 4px; background: #fff;
    font-size: 13px; font-weight: 600; color: #1f2a37; cursor: pointer; }
.lang-dd__btn:hover, .lang-dd.is-open .lang-dd__btn { border-color: #c9ced6; }
.lang-dd__btn .icon { width: 14px; height: 14px; transition: transform .15s; }
.lang-dd.is-open .lang-dd__btn .icon { transform: rotate(180deg); }
.lang-dd__menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 160px; margin: 0; padding: 6px; list-style: none; background: #fff;
    border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: 4px; box-shadow: var(--shadow); z-index: 120;
    opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; }
.lang-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 10px; } /* cầu nối để rê chuột không bị mất menu */
.lang-dd.is-open .lang-dd__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1100px) { .lang-dd:hover .lang-dd__menu, .lang-dd:focus-within .lang-dd__menu { opacity: 1; visibility: visible; transform: none; } }
.lang-dd__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 3px; font-size: 14px; color: #1f2a37; white-space: nowrap; }
.lang-dd__menu a:hover { background: var(--paper); }
.lang-dd__menu a.is-active { font-weight: 700; }
.lang-dd .flag { width: 18px; height: 12px; }
@media (max-width: 380px) { .lang-dd__btn > span:not(.flag) { display: none; } }

/* Ảnh giấy chứng nhận (trang Chất lượng) */
.section-head .btn { flex: 0 0 auto; }
.cert-gallery { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cert-gallery a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); transition: transform .2s; }
.cert-gallery a:hover { transform: translateY(-3px); }
.cert-gallery img { width: 100%; aspect-ratio: 707 / 1000; object-fit: contain; }

/* ---------- Chất lượng & Chứng nhận (trang chủ) ---------- */
.hq-section { padding: 40px 0; }
.hq-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; margin-bottom: 12px; }
.hq-eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 2px; background: var(--yellow); }
.hq-quality { display: grid; gap: 28px; align-items: center; }
.hq-quality__img { border-radius: 8px; overflow: hidden; background: #eef0f3; }
.hq-quality__img a { display: block; }
.hq-quality__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.hq-quality__img a:hover img { transform: scale(1.02); }
.hq-quality__body h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.25; color: #16304d; margin: 0 0 14px; max-width: 13.5em; }
.hq-quality__body p { color: #4b5563; font-size: 15px; line-height: 1.7; margin: 0 0 22px; max-width: 560px; }
.hq-quality__body .btn { min-height: 46px; padding: 0 28px; font-size: 14px; }
.hq-certs { list-style: none; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid #eef0f3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
.hq-certs li { display: flex; align-items: center; gap: 14px; padding: 0 16px; min-width: 0; }
.hq-certs img { width: 64px; height: 56px; object-fit: contain; flex: 0 0 64px; }
.hq-certs strong { display: block; font-size: 14px; font-weight: 700; color: #111827; line-height: 1.3; }
.hq-certs span { display: block; font-size: 12.5px; color: #4b5563; line-height: 1.4; margin-top: 2px; }
@media (min-width: 992px) {
    .hq-section { padding: 48px 0; }
    .hq-quality { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hq-certs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hq-certs li:first-child { padding-left: 0; }
    .hq-certs li + li { border-left: 1px solid #e3e7ec; }
}
@media (max-width: 639px) { .hq-certs li { padding: 0 8px; gap: 10px; } .hq-certs img { width: 48px; height: 44px; flex-basis: 48px; } }

/* ---------- Tin tức & Kiến thức (trang chủ) ---------- */
.hq-news-wrap { background: #f8fafc; border-top: 1px solid #eef1f4; }
.hq-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.hq-head h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.3; color: #16304d; margin: 0; }
.hq-news { display: grid; gap: 18px; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .hq-news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hq-news { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.hq-ncard { display: flex; flex-direction: column; background: #fff; border: 1px solid #e9ecf0; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(17,33,48,.05); transition: transform .2s, box-shadow .2s; }
.hq-ncard:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(17,33,48,.12); }
.hq-ncard__img { aspect-ratio: 300 / 160; overflow: hidden; background: #eef0f3; }
.hq-ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hq-ncard:hover .hq-ncard__img img { transform: scale(1.04); }
.hq-ncard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hq-ncard__body h3 { font-size: 15px; font-weight: 600; line-height: 1.45; color: #111827; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hq-ncard__body time { font-size: 12.5px; color: #8a94a3; margin-top: auto; }

/* ---------- Vì sao chọn KOVIF (trang chủ) ---------- */
.hw-section { padding: 44px 0 8px; }
.hw-head { margin-bottom: 22px; }
.hw-head h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.3; color: #16304d; margin: 0; }
.hw-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .hw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hw-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }
.hw-grid li { background: #fff; border: 1px solid #e9ecf0; border-radius: 6px; padding: 20px 18px; box-shadow: 0 2px 8px rgba(17,33,48,.04); }
.hw-ic { width: 46px; height: 46px; border-radius: 50%; background: #fff7e0; color: #c78a00; display: grid; place-items: center; margin-bottom: 14px; }
.hw-ic .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.hw-grid strong { display: block; font-size: 15.5px; color: #111827; margin-bottom: 6px; }
.hw-grid p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #4b5563; }

/* RFQ – liên hệ nhanh / QR */
.rfq-qr { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 12px; }
.rfq-qr figure { margin: 0; text-align: center; }
.rfq-qr img { width: 140px; height: 140px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 6px; }
.rfq-qr figcaption { font-size: 13px; font-weight: 600; margin-top: 4px; }
/* Bảng năng lực nhà máy */
.cap-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.cap-table th, .cap-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cap-table th { width: 34%; color: #16304d; font-weight: 600; background: #f8fafc; }
.rfq-quick, .rfq-quick ~ .aside-card { position: static; }
/* Menu 9 mục: canh vừa 1 hàng ở màn 1100–1279px */
@media (min-width: 1100px) and (max-width: 1279px) {
    .site-header .container { gap: 10px; }
    .main-nav > ul > li > a { padding: 0 6px; font-size: 13px; }
    .main-nav > ul > li > a::after { left: 6px; right: 6px; }
    .lang-dd__btn { padding: 0 7px; gap: 4px; }
    .lang-dd__btn > span:not(.flag) { display: none; }
    .header-actions { gap: 6px; }
    .header-actions .btn-quote { padding: 0 12px; font-size: 13px; }
}
@media (min-width: 1100px) and (max-width: 1179px) {
    .brand img { height: 36px; }
    .main-nav > ul > li > a { padding: 0 5px; font-size: 12.5px; }
    .header-actions .icon-btn[data-search-toggle] { width: 36px; }
}
@media (min-width: 1280px) {
    .main-nav > ul > li > a { padding: 0 8px; font-size: 13.5px; }
    .main-nav > ul > li > a::after { left: 8px; right: 8px; }
    .site-header .container { gap: 12px; }
}

/* Trang giới thiệu / bền vững: nội dung + cột phải */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.page-layout .article { max-width: none; }
.page-aside { display: grid; gap: 20px; }
.page-aside .aside-card { position: static; }
.page-aside__img { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.page-aside__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-aside .contact-line { align-items: flex-start; font-size: 15px; word-break: break-word; }
.page-aside .contact-line svg { flex: 0 0 auto; margin-top: 3px; }
.page-aside .btn-block { width: 100%; justify-content: center; margin-top: 18px; }
@media (max-width: 991px) { .page-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } .page-aside { position: static; } }
.page-aside__img--cert { aspect-ratio: auto; background: #fff; border: 1px solid var(--line); padding: 10px; }
.page-aside__img--cert img { height: auto; object-fit: contain; }
.page-aside > .btn-block { margin-top: -6px; }
@media (min-width: 992px) { .grid-4 > .card .card-body h3 { font-size: 18px; } }
/* Nhà máy: video YouTube trong nội dung giãn đủ cột; gallery không hở ô cuối */
.factory-content iframe, .page-layout .k-content iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }
.page-aside .hx-video { aspect-ratio: 16 / 10; border-radius: var(--radius); }
@media (max-width: 767px) { .gallery > a:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 2 / 1; } }
@media (min-width: 768px) {
  .gallery > a:last-child:nth-child(4n) { grid-column: span 2; aspect-ratio: 2.05 / 1; }
  .gallery > a:last-child:nth-child(4n+3) { grid-column: span 3; aspect-ratio: 3.1 / 1; }
  .gallery > a:last-child:nth-child(4n+2):not(:nth-child(2)) { grid-column: span 4; aspect-ratio: 4.15 / 1; }
}
@media (min-width: 640px) {
  .factory-content p:has(> iframe) { display: inline-block; width: calc(50% - 8px); vertical-align: top; margin-bottom: 16px; }
  .factory-content p:has(> iframe) + p:has(> iframe) { margin-left: 16px; }
}
/* Tab chi tiết sản phẩm (nút thay cho link #id) */
.tabs-nav button { padding: 16px 18px; font: inherit; font-weight: 600; color: var(--muted); white-space: nowrap; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tabs-nav button:hover, .tabs-nav button.is-active { color: var(--ink); border-color: var(--yellow); }
.tab-panel[hidden] { display: none; }

/* ---------- Sản phẩm chính: tab danh mục ---------- */
.hp-tabs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 22px; padding: 2px; }
.hp-tabs::-webkit-scrollbar { display: none; }
.hp-tabs button { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; padding: 11px 20px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: #374151; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.hp-tabs button .icon { width: 19px; height: 19px; stroke-width: 1.7; }
.hp-tabs button:hover { border-color: var(--ink-2); color: var(--ink-2); }
.hp-tabs button.is-active { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.hp-tabs button.is-active .icon { color: var(--yellow); }
.hp-item[hidden] { display: none; }
.hp-grid .card-media { aspect-ratio: 4 / 3; }


/* ---------- Hero v2: tiêu đề 3 dòng + thanh liên hệ đè mép dưới ---------- */
.hx-hero--v2::before { background: linear-gradient(90deg, rgba(12,24,36,.94) 0%, rgba(12,24,36,.82) 38%, rgba(12,24,36,.35) 70%, rgba(12,24,36,.15) 100%); }
.hx-hero__inner--v2 { max-width: var(--container); padding: 40px 16px 56px; display: block; }
.hx-hero--v2 .hx-eyebrow { font-size: 13px; letter-spacing: .08em; margin-bottom: 18px; }
.hx-hero--v2 .hx-eyebrow::before { width: 56px; flex-basis: 56px; }
.hx-hero--v2 h1 { font-size: clamp(34px, 5vw, 70px); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 30px; max-width: 900px; }
.hx-hero--v2 h1 .hl { display: block; color: var(--yellow); font-size: 1.12em; line-height: 1.02; }
.hx-hero--v2 h1 .l3 { display: block; color: #fff; font-size: .74em; font-weight: 700; line-height: 1.15; margin-top: .12em; }
.hx-hero--v2 .hx-features { gap: 18px 0; max-width: 820px; margin-bottom: 34px; }
.hx-hero--v2 .hx-features li { font-size: 15px; gap: 14px; padding-right: 20px; }
.hx-hero--v2 .hx-features span { max-width: 120px; }
.hx-hero--v2 .hx-features .icon { width: 44px; height: 44px; flex-basis: 44px; }
.hx-hero--v2 .hx-actions .btn { min-height: 56px; padding: 0 34px; font-size: 16px; border-radius: 4px; }
.hx-hero--v2 .hx-actions .btn-outline-light { min-width: 240px; justify-content: center; }
@media (min-width: 640px) {
  .hx-hero--v2 .hx-features li + li { border-left: 1px solid rgba(255,255,255,.22); padding-left: 22px; }
}
@media (min-width: 992px) {
  .hx-hero--v2 { min-height: 0; }
  .hx-hero__inner--v2 { padding: 72px 16px 128px; }
}

/* thanh liên hệ */
.hx-bar-wrap { position: relative; z-index: 3; margin-top: -28px; padding-bottom: 8px; }
.hx-bar { --gold: #c9952b; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hc-card { background: #fff; border: 1px solid #ece7dc; border-radius: 12px; box-shadow: 0 10px 28px rgba(17,33,48,.12); display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; grid-template-areas: "badge info actions" "badge phone actions"; align-items: center; gap: 2px 12px; padding: 12px 14px; }
.hc-badge { grid-area: badge; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; }
.hc-badge svg { width: 100%; height: 100%; display: block; }
.hc-badge .icon { width: 28px; height: 28px; color: var(--gold, #c9952b); stroke-width: 1.6; }
.hc-badge--handshake, .hc-badge--phone, .hc-badge--globe, .hc-badge--users, .hc-badge--chat { background: #fbf3df; border: 1px solid #efd9a6; }
.hc-card__info { grid-area: info; min-width: 0; align-self: end; }
.hc-card__info strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink-2); line-height: 1.25; }
.hc-card__info small { display: block; font-size: 12px; color: #4b5563; line-height: 1.35; }
.hc-card__phone { grid-area: phone; align-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 17.5px; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.hc-card__phone .icon { width: 19px; height: 19px; color: var(--yellow); fill: var(--yellow); stroke: none; }
.hc-card__actions { grid-area: actions; display: flex; gap: 8px; }
.hc-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: #4b5563; white-space: nowrap; }
.hc-btn__ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: transform .15s; }
.hc-btn:hover .hc-btn__ic { transform: translateY(-2px); }
.hc-btn--zalo .hc-btn__ic { background: #fff; border: 2px solid #0068ff; }
.hc-btn--zalo img { width: 26px; height: auto; }
.hc-btn--call .hc-btn__ic { background: var(--yellow); color: var(--ink-2); }
.hc-btn--call .icon { width: 20px; height: 20px; }
@media (max-width: 360px) { .hc-card { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 2px 8px; } .hc-badge { width: 42px; height: 42px; } .hc-btn__ic { width: 36px; height: 36px; } .hc-card__phone { font-size: 16px; } }
@media (min-width: 992px) {
  .hx-bar-wrap { margin-top: -64px; padding-bottom: 12px; }
  .hx-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; border-radius: 18px; box-shadow: 0 18px 46px rgba(12,24,36,.18); padding: 18px 8px; }
  .hx-bar .hc-card { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 4px 16px; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 4px 12px; }
  .hx-bar .hc-card + .hc-card { border-left: 1px solid #e8eaee; }
  .hx-bar .hc-badge { width: 56px; height: 56px; }
  .hx-bar .hc-badge .icon { width: 34px; height: 34px; }
  .hx-bar .hc-card__info small, .hx-bar .hc-btn__lb { display: none; }
  .hx-bar .hc-card__info strong { font-size: 15.5px; }
  .hx-bar .hc-card__phone { font-size: clamp(17px, 1.45vw, 21px); }
  .hx-bar .hc-card__phone .icon { width: 18px; height: 18px; }
  .hx-bar .hc-card__actions { padding-left: 12px; border-left: 1px solid #e8eaee; gap: 8px; }
  .hx-bar .hc-btn__ic { width: 42px; height: 42px; }
}
@media (min-width: 992px) and (max-width: 1199px) { .hx-bar .hc-card { padding: 4px 10px; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 4px 8px; } .hx-bar .hc-badge { width: 46px; height: 46px; } .hx-bar .hc-badge .icon { width: 26px; height: 26px; } .hx-bar .hc-card__actions { padding-left: 8px; gap: 6px; } .hx-bar .hc-btn__ic { width: 38px; height: 38px; } .hx-bar .hc-card__info strong { font-size: 14px; } }

/* ---------- Nút "Yêu cầu báo giá" ở banner: hiệu ứng nhấn mạnh ---------- */
.hx-quote-btn { position: relative; isolation: isolate; background: linear-gradient(180deg, #ffd84d, #f8b916); box-shadow: 0 10px 26px rgba(253,200,59,.45); animation: hxQuoteRing 1.8s ease-out infinite, hxQuoteTada 4.5s ease-in-out infinite; }
.hx-quote-btn:hover { background: linear-gradient(180deg, #ffe27a, #ffc533); animation-play-state: paused; }
.hx-quote-btn__shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; pointer-events: none; }
.hx-quote-btn__shine::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent); transform: skewX(-20deg); animation: hxQuoteShine 2.4s ease-in-out infinite; }
.hx-quote-btn .icon { animation: hxQuoteArrow 1.2s ease-in-out infinite; }
.hx-quote-btn__badge { position: absolute; top: -13px; right: -12px; padding: 3px 9px; border-radius: 999px; background: #e11d48; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 4px 10px rgba(225,29,72,.45); animation: hxBadge 1.6s ease-in-out infinite; }
@keyframes hxQuoteRing { 0% { box-shadow: 0 10px 26px rgba(253,200,59,.45), 0 0 0 0 rgba(253,200,59,.75), 0 0 0 0 rgba(253,200,59,.45); } 100% { box-shadow: 0 10px 26px rgba(253,200,59,.45), 0 0 0 14px rgba(253,200,59,0), 0 0 0 28px rgba(253,200,59,0); } }
@keyframes hxQuoteTada { 0%, 72%, 100% { transform: none; } 75% { transform: scale(1.06) rotate(-2deg); } 79% { transform: scale(1.06) rotate(2deg); } 83% { transform: scale(1.06) rotate(-2deg); } 87% { transform: scale(1.06) rotate(1.5deg); } 91% { transform: scale(1.03) rotate(0); } }
@keyframes hxQuoteShine { 0%, 40% { left: -70%; } 80%, 100% { left: 130%; } }
@keyframes hxQuoteArrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes hxBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.hx-quote-note { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 14px; color: rgba(255,255,255,.88); }
.hx-quote-note__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex: 0 0 10px; }
.hx-quote-note__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: hxDot 1.8s ease-out infinite; }
@keyframes hxDot { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hx-quote-btn, .hx-quote-btn__shine::after, .hx-quote-btn .icon, .hx-quote-btn__badge, .hx-quote-note__dot::after { animation: none; } }


/* Menu rộng hơn sau khi bỏ nút "Yêu cầu báo giá" trên header */
@media (min-width: 1100px) and (max-width: 1279px) {
  .main-nav > ul > li > a { padding: 0 10px; font-size: 14px; }
  .main-nav > ul > li > a::after { left: 10px; right: 10px; }
}
@media (min-width: 1280px) {
  .main-nav { margin-right: 14px; }
  .main-nav > ul > li > a { padding: 0 15px; font-size: 15px; }
  .main-nav > ul > li > a::after { left: 15px; right: 15px; }
}

/* ---------- Hero: tiêu đề cân đối 2 dòng + 3 cam kết ---------- */
.hx-hero--v2 h1 { font-size: clamp(32px, 4.3vw, 60px); line-height: 1.12; margin-bottom: 22px; }
.hx-hero--v2 h1 .hl { display: inline; font-size: 1em; line-height: inherit; color: var(--yellow); }
.hx-hero--v2 h1 .l3 { display: block; font-size: 1em; font-weight: 800; line-height: inherit; margin-top: 0; color: #fff; }
.hx-usps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.hx-usps li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(253,200,59,.14); border: 1.5px solid rgba(253,200,59,.75); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .01em; backdrop-filter: blur(4px); }
.hx-usps__ic { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--ink-2); display: grid; place-items: center; flex: 0 0 34px; }
.hx-usps__ic .icon { width: 18px; height: 18px; stroke-width: 2; }
@media (min-width: 992px) { .hx-usps li { font-size: 17.5px; padding-right: 22px; } .hx-usps { margin-bottom: 30px; } }
@media (max-width: 480px) { .hx-usps li { font-size: 14.5px; padding-right: 14px; } .hx-usps__ic { width: 30px; height: 30px; flex-basis: 30px; } }

/* ---------- Sản phẩm chính: 8 mục ---------- */
.hm-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .hm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.hm-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e9ecf0; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(17,33,48,.05); transition: transform .2s, box-shadow .2s, border-color .2s; }
.hm-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(17,33,48,.12); border-color: var(--yellow); }
.hm-card__no { position: absolute; top: 10px; left: 10px; z-index: 1; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--ink-2); color: var(--yellow); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }
.hm-card__img { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid #f0f2f5; }
.hm-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.hm-card:hover .hm-card__img img { transform: scale(1.05); }
.hm-card__body { display: block; padding: 14px 52px 16px 16px; }
.hm-card__body strong { display: block; font-size: 16.5px; font-weight: 700; color: var(--ink-2); line-height: 1.3; }
.hm-card__body small { display: block; margin-top: 3px; font-size: 13.5px; color: #6b7280; line-height: 1.4; }
.hm-card .hx-arrow { position: absolute; right: 14px; bottom: 16px; }
@media (max-width: 480px) { .hm-card__body { padding: 10px 40px 12px 12px; } .hm-card__body strong { font-size: 14.5px; } .hm-card__body small { font-size: 12px; } .hm-card .hx-arrow { right: 10px; bottom: 12px; } }
@media (max-width: 991px) { .hx-hero--v2::before { background: linear-gradient(180deg, rgba(12,24,36,.86) 0%, rgba(12,24,36,.78) 60%, rgba(12,24,36,.88) 100%); } }

/* =====================================================================
   Trang danh mục & chi tiết sản phẩm theo WEB.xlsx / web-form (2026-10-15)
   ===================================================================== */
.cat-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #0f1d2b 0%, #172a3c 55%, #24405a 100%); color: #d8dee6; padding: 26px 0 44px; }
.cat-hero__bg { position: absolute; right: 0; top: 0; height: 100%; width: 46%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cat-hero .container { position: relative; }
.cat-hero .breadcrumb { margin-bottom: 22px; }
.cat-hero__eyebrow { display: block; color: var(--yellow); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; margin-bottom: 10px; }
.cat-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.cat-hero p { max-width: 760px; font-size: 16.5px; line-height: 1.7; margin: 0; }

.cat-section { background: var(--paper); padding: 28px 0 64px; }
.cat-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 26px; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { flex: 0 0 auto; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--steel); white-space: nowrap; transition: .15s; }
.cat-nav a:hover { border-color: var(--ink); color: var(--ink); }
.cat-nav a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.cat-head h2 { font-size: 24px; margin-bottom: 4px; }
.cat-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.cat-count { flex: 0 0 auto; background: #fdf1cf; color: #8a5a00; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 8px; }

.cat-tools { display: grid; gap: 12px; margin-bottom: 22px; }
.cat-search { position: relative; display: block; }
.cat-search .icon { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.cat-search input { width: 100%; height: 50px; padding: 0 16px 0 44px; border: 1px solid #d9dee5; border-radius: 10px; background: #fff; font-size: 15.5px; }
.cat-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(253, 200, 59, .35); }
.cat-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cat-chips__label { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.cat-chips button { border: 1px solid #d9dee5; background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--steel); cursor: pointer; transition: .15s; }
.cat-chips button:hover { border-color: var(--ink); color: var(--ink); }
.cat-chips button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e7ec; border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: 0 14px 34px rgba(17, 33, 48, .1); transform: translateY(-2px); }
.cat-card[hidden] { display: none; }
.cat-card__media { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid #eef1f4; }
.cat-card__media img { width: 100%; height: 100%; object-fit: contain; }
.cat-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.cat-card__code { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a8740f; margin-bottom: 6px; }
.cat-card__code em { font-style: normal; color: #98a2ae; letter-spacing: .04em; font-weight: 600; text-transform: none; }
.cat-card h3 { font-size: 18.5px; margin: 0 0 12px; }
.cat-card h3 a:hover { color: #a8740f; }
.cat-card p { color: var(--muted); font-size: 14.5px; }
.cat-card__specs { margin: 0 0 16px; padding-top: 10px; border-top: 1px solid #eef1f4; font-size: 14px; }
.cat-card__specs div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.cat-card__specs dt { color: var(--muted); }
.cat-card__specs dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.cat-card__btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; transition: background .15s; }
.cat-card__btn:hover { background: #1d3a55; }
.cat-card__btn span { transition: transform .15s; }
.cat-card__btn:hover span { transform: translateX(3px); }
.cat-empty { background: #fff; border: 1px dashed #cfd6de; border-radius: 12px; padding: 24px; text-align: center; color: var(--muted); }

.cat-content { margin-top: 28px; }
.cat-note { background: #fff; border: 1px solid #e3e7ec; border-left: 4px solid var(--yellow); border-radius: 10px; padding: 16px 18px; font-size: 14.5px; line-height: 1.7; color: var(--steel); }
.cat-note strong { color: var(--ink); }
.cat-figure { margin: 18px 0 0; background: #fff; border: 1px solid #e3e7ec; border-radius: 12px; padding: 14px; }
.cat-figure img { width: 100%; height: auto; border-radius: 6px; }
.cat-figure figcaption { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.cat-custom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; background: #fff; border: 1px solid #e3e7ec; border-radius: 12px; padding: 18px 20px; }
.cat-custom strong { display: block; color: var(--ink); font-size: 16.5px; }
.cat-custom span { color: var(--muted); font-size: 14.5px; }

/* ---- Chi tiết sản phẩm: trái thông tin, phải form báo giá nhanh ---- */
.pd-top { background: var(--paper); padding: 22px 0 40px; }
.pd-top .breadcrumb { color: var(--muted); }
.pd-top .breadcrumb [aria-current] { color: var(--ink); }
.pd-top .breadcrumb a:hover { color: #a8740f; }
.pd-back { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 16px; font-size: 14px; font-weight: 600; color: var(--steel); }
.pd-back .icon { width: 16px; height: 16px; }
.pd-back:hover { color: var(--ink); }
.pd-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 992px) { .pd-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.pd-card { background: #fff; border: 1px solid #e3e7ec; border-radius: 16px; padding: 22px; }
@media (min-width: 768px) { .pd-card { padding: 28px; } }
.pd-info .pgallery-main { aspect-ratio: 4 / 3; border-radius: 12px; border-color: #eef1f4; }
.pd-kicker { margin-top: 20px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #a8740f; }
.pd-kicker span { color: #98a2ae; }
.pd-info h1 { font-size: clamp(24px, 3vw, 32px); margin: 6px 0 10px; }
.pd-lead { color: var(--steel); font-size: 16px; }
.pd-sub { font-size: 17px; margin: 18px 0 10px; }
.pd-specs { margin-bottom: 8px; }
.pd-corners { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.pd-corners legend { font-weight: 700; color: var(--ink); font-size: 17px; padding: 0; margin-bottom: 4px; }
.pd-corners p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.pd-corners__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 576px) { .pd-corners__list { grid-template-columns: repeat(4, 1fr); } }
.pd-corner { position: relative; cursor: pointer; }
.pd-corner input { position: absolute; opacity: 0; pointer-events: none; }
.pd-corner__box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; height: 100%; padding: 12px 8px; border: 1.5px solid #e1e6ec; border-radius: 10px; transition: .15s; }
.pd-corner__box svg { width: 52px; height: 46px; margin-bottom: 4px; }
.pd-corner__box path { fill: #f4e3c3; stroke: #a8740f; stroke-width: 1.6; stroke-linejoin: round; }
.pd-corner__box strong { font-size: 13.5px; color: var(--ink); }
.pd-corner__box small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.pd-corner:hover .pd-corner__box { border-color: #b9c2cc; }
.pd-corner input:checked + .pd-corner__box { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(253, 200, 59, .45); background: #fffbef; }
.pd-corner input:focus-visible + .pd-corner__box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pd-extra { margin-top: 20px; display: grid; gap: 14px; }

.pd-rfq { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (min-width: 992px) { .pd-rfq { position: sticky; top: calc(var(--header-h) + 16px); } }
.pd-rfq__eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #a8740f; margin-bottom: 6px; }
.pd-rfq h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 8px; }
.pd-rfq__intro { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.pd-rfq__product { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; background: var(--paper); border: 1px solid #e8ecf0; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.pd-rfq__product span { color: var(--muted); }
.pd-rfq__product strong { color: var(--ink); }
.pd-form { gap: 14px; }
@media (min-width: 640px) { .pd-form { grid-template-columns: repeat(2, 1fr); } }
.pd-form .field label { font-size: 13.5px; margin-bottom: 5px; }
.pd-form .field input, .pd-form .field select, .pd-form .field textarea { min-height: 46px; padding: 10px 12px; font-size: 15px; border-radius: 8px; border-width: 1px; }
.pd-form .field textarea { min-height: 88px; }
.pd-form__sep { margin-top: 6px; padding-top: 14px; border-top: 1px dashed #dfe4ea; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.pd-file input[type=file] { min-height: 0; padding: 9px 10px; font-size: 14px; background: var(--paper); }
.pd-file .help { font-size: 12.5px; }
.pd-rfq__note { color: var(--muted); font-size: 13px; margin: 14px 0; }
.pd-rfq__submit { height: 52px; font-size: 16px; }
.pd-rfq__contact { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef1f4; font-size: 14.5px; font-weight: 600; }
.pd-rfq__contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.pd-rfq__contact .icon { width: 16px; height: 16px; color: #a8740f; }
.pd-rfq .alert { margin-bottom: 14px; }
.pd-tabs { padding: 36px 0 56px; }
.pd-tabs .detail-block { padding-top: 24px; max-width: 980px; }

/* ---- Trang Chất lượng: năng lực kiểm tra, thiết bị đo, chu kỳ hiệu chuẩn, dữ liệu (2026-10-16) ---- */
.qa-head { max-width: 860px; margin-bottom: 28px; }
.qa-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 6px 0 10px; }
.qa-head p { color: var(--muted); font-size: 16px; margin: 0; }
.qa-tests { display: grid; gap: 18px; }
@media (min-width: 768px) { .qa-tests { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.qa-test { background: #fff; border: 1px solid #e3e7ec; border-radius: 14px; padding: 20px; }
.qa-test__img { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 444 / 230; margin-bottom: 16px; background: var(--paper); }
.qa-test__img img { width: 100%; height: 100%; object-fit: cover; }
.qa-test__label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #a8740f; margin-bottom: 6px; }
.qa-test h3 { font-size: 18px; margin-bottom: 8px; }
.qa-test p { color: var(--muted); font-size: 15px; margin: 0; }
.qa-equip { display: grid; gap: 16px; }
@media (min-width: 768px) { .qa-equip { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .qa-equip { grid-template-columns: repeat(3, 1fr); } }
.qa-eq { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e7ec; border-radius: 14px; padding: 18px; }
.qa-eq__img { display: flex; align-items: center; justify-content: center; height: 150px; border-radius: 10px; background: #f3f6f9; margin-bottom: 14px; overflow: hidden; }
.qa-eq__img a { display: block; height: 100%; }
.qa-eq__img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.qa-eq__img .icon { width: 40px; height: 40px; color: #98a2ae; }
.qa-eq__tag { display: inline-block; background: #fdf1cf; color: #8a5a00; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.qa-eq h3 { font-size: 17px; margin-bottom: 10px; }
.qa-eq dl { margin: 0; font-size: 14.5px; }
.qa-eq dl div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 5px 0; border-top: 1px solid #eef1f4; }
.qa-eq dt { color: var(--muted); }
.qa-eq dd { margin: 0; font-weight: 700; color: var(--ink); }
.qa-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .qa-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.qa-steps li { border-top: 3px solid var(--yellow); padding: 14px 4px 0; }
.qa-steps strong { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 6px; }
.qa-steps span { color: var(--muted); font-size: 15px; }
.qa-table-title { font-size: 19px; margin-bottom: 12px; }
.qa-table { overflow-x: auto; border: 1px solid #e3e7ec; border-radius: 12px; background: #fff; }
.qa-table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.qa-table th { background: var(--ink); color: #fff; text-align: left; font-weight: 700; padding: 13px 16px; }
.qa-table td { padding: 13px 16px; border-top: 1px solid #eef1f4; vertical-align: top; }
.qa-table tbody tr:nth-child(even) td { background: #fafbfc; }
.qa-note { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }

/* ---- Trang bài viết: ảnh bìa gọn, bảng, cột "Tin mới nhất" (2026-10-16) ---- */
.article-cover { background: var(--paper); border: 1px solid #eef1f4; border-radius: 12px; }
.article-cover img { width: 100%; max-height: 460px; object-fit: contain; margin: 0 auto; }
.article .k-content { line-height: 1.75; }
.article .k-content h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.article .k-content h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.article .k-content ul, .article .k-content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.article .k-content li { margin-bottom: .35em; }
.article .k-content li::marker { color: #a8740f; }
.article .k-content img { border-radius: 10px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid #e3e7ec; border-radius: 12px; -webkit-overflow-scrolling: touch; }
.k-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.table-wrap table { min-width: 620px; margin: 0; }
.k-content table th, .k-content table td { padding: 12px 14px; border-top: 1px solid #eef1f4; text-align: left; vertical-align: top; }
.k-content table thead th { background: var(--ink); color: #fff; border-top: 0; font-weight: 700; }
.k-content table tbody th { background: #fafbfc; color: var(--ink); font-weight: 700; width: 20%; }
.k-content table tbody tr:nth-child(even) td { background: #fcfcfd; }
.compare-table thead th:nth-child(2) { background: #a8740f; }
.news-aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 992px) { .news-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.news-latest h3 { margin-bottom: 12px; }
.news-latest ul { list-style: none; margin: 0 0 12px; padding: 0; }
.news-latest li + li { border-top: 1px solid #eef1f4; }
.news-latest li a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 0; align-items: center; }
.news-latest__img { display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--paper); }
.news-latest__img img { width: 100%; height: 100%; object-fit: cover; }
.news-latest__img .placeholder { width: 100%; height: 100%; }
.news-latest strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.news-latest li a:hover strong { color: #a8740f; }
.news-latest time { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---- Trang chủ: chỉnh nội dung theo khách (2026-10-17) ---- */
.hx-tagline { margin: -6px 0 22px; font-size: clamp(14.5px, 1.25vw, 17px); font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.88); }
.hx-usps__tx { display: flex; flex-direction: column; line-height: 1.2; }
.hx-usps__tx small { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.72); margin-top: 2px; }
.hq-sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; max-width: 640px; }
.hq-ncard__body { gap: 7px; }
.hq-ncard__tag { align-self: flex-start; background: var(--yellow); color: var(--ink-2); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.hq-ncard__body p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hq-ncard__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hq-ncard__foot time { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.hq-ncard__foot time .icon { width: 15px; height: 15px; }
.hq-ncard__go { width: 34px; height: 26px; border-radius: 999px; background: #fdf1cf; color: var(--ink); display: grid; place-items: center; transition: background .15s; }
.hq-ncard__go .icon { width: 15px; height: 15px; }
.hq-ncard:hover .hq-ncard__go { background: var(--yellow); }
.hx-cta__items { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 640px; }
.hx-cta .hx-cta__items li { flex-direction: column; text-align: center; gap: 8px; max-width: none; font-size: 14px; font-weight: 600; color: #fff; }
.hx-cta__note { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
.hx-cta__note .icon { width: 18px; height: 18px; color: #4ade80; flex: 0 0 18px; }
@media (max-width: 480px) { .hx-cta .hx-cta__items li { font-size: 12.5px; } }
/* Tiêu đề banner tiếng Anh dài hơn → nhỏ lại để giữ 2 dòng như mẫu */
html[lang="en"] .hx-hero--v2 h1 { font-size: clamp(28px, 3.25vw, 46px); max-width: 1040px; }
.hx-cta h2 { max-width: 640px; }
.hx-cta__items { max-width: 560px; margin-top: 28px; gap: 20px; }
/* Dải báo giá: nút + 3 lợi ích cùng 1 hàng, dòng cam kết bên dưới (2026-10-17) */
.hx-cta .hx-cta__row { gap: 18px 28px; padding-top: 22px; border-top: 1px dashed rgba(255,255,255,.18); max-width: 860px; }
.hx-cta .hx-cta__items { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 0; padding: 0; border: 0; }
.hx-cta .hx-cta__items li { flex-direction: row; text-align: left; gap: 10px; font-size: 14px; font-weight: 600; max-width: none; white-space: nowrap; }
.hx-cta .hx-cta__items .ic { width: 38px; height: 38px; flex-basis: 38px; }
.hx-cta .hx-cta__note { margin: 20px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
@media (max-width: 640px) {
  .hx-cta .hx-cta__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
  .hx-cta .hx-cta__items li { flex-direction: column; text-align: center; gap: 8px; font-size: 12.5px; white-space: normal; }
}
/* Khối Về KOVIF: tiêu đề 2 dòng cân đối ("… Manufacturer in Vietnam" không rơi chữ cuối xuống dòng riêng) */
.hx-about__card h2 { max-width: 20em; text-wrap: balance; }
/* 3 lợi ích luôn nằm 1 hàng ngang (không rớt dòng) */
@media (min-width: 641px) {
  .hx-cta .hx-cta__row { max-width: 940px; }
  .hx-cta .hx-cta__items { flex-wrap: nowrap; }
}
@media (min-width: 641px) and (max-width: 1199px) {
  .hx-cta .hx-cta__items { gap: 18px; }
  .hx-cta .hx-cta__items li { font-size: 13px; gap: 8px; }
  .hx-cta .hx-cta__items .ic { width: 34px; height: 34px; flex-basis: 34px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hx-cta::before { background: linear-gradient(90deg, #142536 0%, #17293a 66%, rgba(23,41,58,.7) 74%, rgba(23,41,58,.2) 86%, rgba(23,41,58,0) 94%); }
}
