/* ==========================================================================
   KASOC - Thiết bị vệ sinh công nghiệp
   Dựng từ bản thiết kế "Kasoc Website v2" (Claude Design)
   ========================================================================== */

@font-face { font-family: "Be Vietnam Pro"; src: url("../assets/fonts/be-vietnam-pro-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../assets/fonts/be-vietnam-pro-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../assets/fonts/be-vietnam-pro-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../assets/fonts/be-vietnam-pro-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../assets/fonts/be-vietnam-pro-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../assets/fonts/be-vietnam-pro-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --blue: #0b4da2;
  --blue-dark: #093d81;
  --blue-deeper: #08407f;
  --blue-pale: #eaf1fb;
  --blue-wash: #f5f9ff;
  --orange: #ee8b1f;
  --orange-dark: #d97b12;
  --red: #e11b22;
  --green: #16a34a;
  --ink: #1b2733;
  --ink-2: #16212e;
  --ink-3: #253243;
  --text: #33404f;
  --text-2: #3d4855;
  --text-3: #4a5563;
  --muted: #7a8697;
  --muted-2: #9aa5b4;
  --muted-3: #b6c1d0;
  --line: #e6eaf0;
  --line-2: #eef1f5;
  --field: #d7dee8;
  --btn-line: #ccd6e2;
  --bg: #eef1f5;
  --soft: #f7f9fc;
  --navy: #0e2340;
  --footer: #012243;
  --footer-text: #b9c6d8;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.22,.7,.3,1);
  --container: 1240px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); font-family: "Be Vietnam Pro", system-ui, sans-serif; -webkit-font-smoothing: antialiased; color: var(--ink); }
img, video { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
input, select, textarea, button { font-family: "Be Vietnam Pro", system-ui, sans-serif; }
button { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.page { background: #fff; }
.icon { display: block; flex: none; }
.lock-scroll { overflow: hidden; }
/* Trong lúc js/app.js đang dựng nội dung: chỉ hiện phần đầu trang để bố cục không bị nhảy */
.booting .home-view > section:not(.hero), .booting [data-qbar], .booting .site-footer, .booting .fab-stack { display: none !important; }

@keyframes kasocRing { 0%, 62%, 100% { transform: rotate(0deg); } 68% { transform: rotate(-22deg); } 74% { transform: rotate(18deg); } 80% { transform: rotate(-14deg); } 86% { transform: rotate(10deg); } 92% { transform: rotate(-6deg); } }
@keyframes kasocDetailIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes kasocSpin { to { transform: rotate(360deg); } }
@keyframes kasocPop { 0% { opacity: 0; transform: scale(.9); } 60% { transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }
@keyframes kasocFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes kasocBreath { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .72; transform: scale(.97); } }
@keyframes kasocBar { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes kasocPulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(11,123,212,.16), 0 6px 16px rgba(11,123,212,.28); } 50% { box-shadow: 0 0 0 11px rgba(11,123,212,.06), 0 6px 16px rgba(11,123,212,.34); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: none; border-radius: 4px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deeper); color: #fff; }
.btn-outline { border: 1px solid var(--btn-line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-wash); }
.btn-line { border: 1px solid var(--blue); background: transparent; color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }
.btn-ghost-w { border: 1px solid rgba(255,255,255,.7); background: transparent; color: #fff; }
.btn-ghost-w:hover { background: #fff; color: var(--blue); }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 26px; }
.logo { display: block; flex: none; cursor: pointer; }
.logo img { height: 58px; width: auto; display: block; mix-blend-mode: multiply; }
.search { flex: 0 1 430px; display: flex; max-width: 430px; height: 40px; margin: 0; }
.search input { flex: 1; min-width: 0; border: 1px solid var(--field); border-right: none; border-radius: 4px 0 0 4px; padding: 0 14px; font-size: 13.5px; outline: none; color: var(--ink); background: #fff; }
.search input:focus { border-color: var(--blue); }
.search button { width: 48px; flex: none; border: none; background: var(--blue); border-radius: 0 4px 4px 0; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.search button:hover { background: var(--blue-dark); }
.search button img { width: 17px; height: 17px; }
.hotline { display: flex; align-items: center; gap: 8px; margin-left: auto; color: inherit; }
.hotline:hover { color: inherit; }
.hotline img { width: 18px; height: 18px; }
.hotline-text { line-height: 1.25; }
.hotline-label { display: block; font-size: 11px; color: var(--muted); }
.hotline-number { display: block; font-size: 15px; font-weight: 700; color: var(--blue); }
.header-cta { padding: 11px 18px; font-size: 13.5px; }

/* ---------- Nav ---------- */
.main-nav { background: var(--blue); position: relative; z-index: 20; }
.main-nav .container { display: flex; align-items: stretch; }
.cat-menu { position: relative; flex: none; }
.cat-toggle { height: 100%; display: flex; align-items: center; gap: 14px; background: var(--orange); border: none; color: #fff; padding: 0 26px 0 20px; font-size: 13.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.cat-toggle:hover { background: var(--orange-dark); }
.cat-toggle img { width: 18px; height: 18px; }
.cat-dropdown { position: absolute; top: 100%; left: 0; width: 288px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid #e0e6ef; border-top: 3px solid var(--orange); box-shadow: 0 14px 34px rgba(15,32,56,.16); padding: 8px 0; animation: kasocFadeIn .15s ease both; }
.cat-group { padding: 8px 0; }
.cat-group-title { padding: 6px 20px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.cat-item { width: 100%; border: none; background: none; text-align: left; padding: 9px 20px; font-size: 13.5px; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-item:hover { background: #f3f6fa; color: var(--blue); }
.cat-item span { color: var(--muted-3); font-size: 12px; }
.nav-drawer { display: contents; }
.nav-drawer-head, .nav-drawer-foot, .nav-toggle, .nav-scrim, .hero-actions.hero-actions-m { display: none; }
.nav-links { display: flex; align-items: stretch; flex-wrap: wrap; flex: 1; min-width: 0; }
.nav-links a { color: #eaf1fb; padding: 15px 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; border-left: 1px solid rgba(255,255,255,.16); }
.nav-links a:hover { background: rgba(255,255,255,.16); color: #fff; }
.nav-links a.is-active { background: rgba(255,255,255,.16); box-shadow: inset 0 -3px 0 var(--orange); color: #fff; }

/* ---------- Generic section bits ---------- */
.sec-white { background: #fff; }
.sec-grey { background: var(--bg); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.sec-title { margin: 0; font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.4; }
.sec-link { font-size: 13px; font-weight: 600; background: none; border: none; padding: 0; color: var(--blue); cursor: pointer; white-space: nowrap; }
.sec-link:hover { color: var(--red); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.grid-cards-sm { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
.tick { width: 16px; height: 16px; margin-top: 3px; }
.badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; }
.card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* ---------- Hero ---------- */
.hero { position: relative; background: #e9edf3 url("../assets/img/hero.jpg") center right / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(233,238,244,.97) 0%, rgba(233,238,244,.93) 22%, rgba(233,238,244,.72) 36%, rgba(233,238,244,.32) 45%, rgba(233,238,244,0) 52%); }
.hero .container { position: relative; padding-top: 56px; padding-bottom: 60px; display: grid; grid-template-columns: 1fr 1.02fr; gap: 30px; align-items: center; min-height: 400px; }
.hero h1 { margin: 0; font-size: 34px; font-weight: 800; line-height: 1.34; letter-spacing: -.01em; text-transform: uppercase; }
.hero h1 span { display: block; color: var(--ink-2); }
.hero h1 .accent { color: var(--blue); white-space: nowrap; }
.hero-sub { margin-top: 18px; font-size: 16px; font-weight: 600; color: var(--ink-3); }
.hero-desc { margin-top: 8px; font-size: 15px; color: var(--text-3); max-width: 480px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-actions .btn { padding: 14px 26px; font-size: 14.5px; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .container { padding-top: 20px; padding-bottom: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(186px, 1fr)); gap: 0; }
.trust-item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; }
.trust-icon { width: 36px; height: 36px; border-radius: 6px; background: var(--blue-pale); display: flex; align-items: center; justify-content: center; flex: none; }
.trust-icon img { width: 22px; height: 22px; display: block; }
.trust-text { font-size: 14px; font-weight: 700; line-height: 1.4; white-space: nowrap; }

/* ---------- Areas ---------- */
.areas .container { padding-top: 40px; padding-bottom: 40px; }
.areas .sec-title { text-align: center; }
.areas-sub { margin: 8px 0 24px; text-align: center; font-size: 13.5px; color: var(--muted); }
.area-card { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 20px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s ease, background .28s ease; }
.area-card:hover { border-color: var(--blue); background: #fff; transform: scale(1.035); box-shadow: 0 12px 28px rgba(11,77,162,.14); }
.area-size { font-size: 17px; font-weight: 800; }
.area-note { font-size: 12.5px; color: var(--muted); }
.area-card img { width: 78%; aspect-ratio: 1/1; object-fit: contain; display: block; margin: 8px 0; mix-blend-mode: multiply; }
.area-rec { font-size: 13px; font-weight: 600; }
.area-cta { margin-top: 10px; width: 100%; background: var(--blue-pale); color: var(--blue); padding: 10px 0; border-radius: 4px; font-size: 13px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.area-cta:hover { background: var(--blue); color: #fff; }

/* ---------- Product cards ---------- */
.featured .container, .products .container { padding-top: 36px; padding-bottom: 36px; }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s ease; }
.p-card:hover { border-color: var(--blue); transform: scale(1.025); box-shadow: 0 14px 30px rgba(11,77,162,.16); }
.p-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.p-media { position: relative; padding: 14px; background: #fff; }
.p-media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; display: block; }
.p-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-name { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.5; min-height: 44px; }
.p-lines { display: flex; flex-direction: column; gap: 6px; }
.p-line { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text-3); }
.p-line img { width: 15px; height: 15px; display: block; flex: none; }
.p-price-row { display: flex; align-items: baseline; gap: 8px; row-gap: 2px; flex-wrap: wrap; margin-top: 2px; }
.p-ref { display: flex; flex-direction: column; gap: 3px; }
.p-ref-label { font-size: 12.5px; color: var(--text-3); }
.p-ref-label strong, .p-price { font-size: 15.5px; font-weight: 800; color: var(--red); white-space: nowrap; }
.p-ref-note { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.p-cta { margin-top: auto; height: 38px; font-size: 13px; width: 100%; }
.p-cta.btn-orange, .p-btns .btn-orange { font-weight: 700; }

/* full product list variant */
.products .p-body { gap: 9px; }
.p-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.p-code { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--blue); background: var(--blue-pale); padding: 3px 8px; border-radius: 3px; }
.p-cat { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.p-specs { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; border-top: 1px dashed var(--line); padding-top: 9px; }
.p-spec { display: flex; justify-content: space-between; gap: 10px; }
.p-spec span:first-child { color: var(--muted-2); }
.p-spec span:last-child { font-weight: 600; text-align: right; }
.p-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; row-gap: 8px; }
.p-foot .p-price { font-size: 14.5px; white-space: normal; }
.p-btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; width: 100%; }
.p-btns .btn { height: 38px; padding: 0 8px; font-size: 13px; }

.products-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.products-count { font-size: 13px; color: var(--muted); }
.products-count strong { color: var(--ink); }
.products-count .clear-search { margin-left: 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 18px; }
.chip { border: 1px solid var(--field); background: #fff; color: var(--text-2); padding: 9px 15px; border-radius: 4px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }
.empty-state { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--field); border-radius: 6px; padding: 40px 20px; text-align: center; font-size: 14px; color: var(--text-3); line-height: 1.7; }
.empty-state strong { color: var(--blue); }

/* ---------- Projects + stats ---------- */
.projects .container { padding-top: 40px; padding-bottom: 12px; }
.project { transition: transform .28s var(--ease); }
.project:hover { transform: scale(1.025); }
.project-media { position: relative; aspect-ratio: 4/3; border-radius: 5px; overflow: hidden; background: #eef2f7; transition: box-shadow .28s var(--ease); }
.project:hover .project-media { box-shadow: 0 14px 30px rgba(11,77,162,.18); }
.project-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-tag { position: absolute; left: 8px; bottom: 8px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; line-height: 1.4; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.project-name { font-size: 13px; font-weight: 700; margin-top: 10px; line-height: 1.5; }
.stats { margin-top: 28px; position: relative; background: var(--blue) center / cover no-repeat; }
.stats::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,50,105,.94) 0%, rgba(11,77,162,.88) 55%, rgba(11,77,162,.8) 100%); }
.stats .container { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 200px; align-items: center; }
.stat { display: flex; gap: 14px; align-items: center; justify-content: center; }
.stat-icon { width: 50px; height: 50px; border-radius: 6px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; flex: none; }
.stat-icon img { width: 26px; height: 26px; display: block; }
.stat-value { font-size: 26px; font-weight: 800; line-height: 1.2; color: #fff; }
.stat-label { font-size: 12.5px; color: #c3d7f2; }

/* ---------- Posts ---------- */
.posts .container { padding-top: 36px; padding-bottom: 36px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: inherit; display: flex; flex-direction: column; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s ease; }
.post:hover { border-color: var(--blue); color: inherit; transform: scale(1.025); box-shadow: 0 14px 30px rgba(11,77,162,.16); }
.post-media { aspect-ratio: 1/1; background: #fff; border-bottom: 1px solid var(--line-2); padding: 8px; }
.post-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.post-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.post-title { font-size: 13px; font-weight: 700; line-height: 1.5; }
.post-excerpt { font-size: 12px; color: var(--muted); line-height: 1.6; }
.post-date { margin-top: auto; padding-top: 8px; font-size: 12.5px; color: var(--muted-2); display: flex; align-items: center; gap: 7px; }
.post-date img { width: 16px; height: 16px; }

/* ---------- Form chung (liên hệ, quản trị) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.form-grid .full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; display: block; margin-bottom: 5px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; height: 40px; border: 1px solid var(--field); border-radius: 4px; padding: 0 12px; font-size: 13px; outline: none; background: #fff; color: var(--ink); }
.field select { padding: 0 12px 0 10px; }
.field textarea { height: 78px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field.has-error input { border-color: var(--red); }
.field-error { display: block; font-size: 11.5px; color: var(--red); margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { height: 42px; font-size: 14px; font-weight: 700; width: 100%; }
.form-msg { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.6; color: var(--red); background: #fdecec; border: 1px solid #f6c6c8; border-radius: 4px; padding: 9px 12px; }
.form-msg a { color: var(--red); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--footer-text); }
.footer-main { padding-top: 32px; padding-bottom: 24px; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr 1.45fr; gap: 28px; }
.footer-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 72px; }
.footer-logo img { height: 70px; width: auto; max-width: 100%; display: block; }
.footer-about { font-size: 12.5px; line-height: 1.7; margin: 12px 0 14px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 30px; height: 30px; border-radius: 4px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.socials a:hover { background: var(--blue); }
.socials img { width: 16px; height: 16px; display: block; }
.footer-title { color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-list { display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; }
.footer-list a, .footer-bottom a { color: var(--footer-text); }
.footer-list a:hover, .footer-bottom a:hover, .footer-list a.is-active { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; line-height: 1.6; }
.footer-company { color: #fff; font-weight: 700; line-height: 1.5; }
.footer-contact-row { display: flex; align-items: center; gap: 8px; color: var(--footer-text); }
.footer-contact-row.top { align-items: flex-start; }
.footer-contact-row img { width: 16px; height: 16px; }
.footer-contact-row.top img { margin-top: 2px; }
a.footer-contact-row:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom .container { padding-top: 14px; padding-bottom: 14px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.footer-bottom-links { display: flex; gap: 18px; }

/* ---------- Floating actions ---------- */
.fab-stack { position: fixed; right: 16px; bottom: 24px; display: flex; flex-direction: column; gap: 14px; z-index: 50; }
.fab { position: relative; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; padding: 0; cursor: pointer; transition: background .2s ease; }
.fab img { width: 21px; height: 21px; display: block; }
.fab-call { background: #0b7bd4; box-shadow: 0 0 0 5px rgba(11,123,212,.16), 0 6px 16px rgba(11,123,212,.28); animation: kasocPulse 1.8s ease-in-out infinite; }
.fab-call:hover { background: #0963ab; }
.fab-call img { animation: kasocRing 1.8s ease-in-out infinite; }
.fab-quote, .fab-mail { background: var(--blue); box-shadow: 0 0 0 5px rgba(11,77,162,.14), 0 6px 16px rgba(11,77,162,.28); }
.fab-quote:hover, .fab-mail:hover { background: var(--blue-dark); }
.fab-map { background: #1a7fd4; box-shadow: 0 0 0 5px rgba(26,127,212,.16), 0 6px 16px rgba(26,127,212,.28); }
.fab-map:hover { background: #1367ae; }
.fab-zalo { background: #fff; overflow: hidden; box-shadow: 0 0 0 5px rgba(0,104,255,.16), 0 6px 16px rgba(0,104,255,.28); }
.fab-zalo img { width: 30px; height: 30px; }
.fab-zalo:hover { background: #eef5ff; }
.fab-top { border: 1px solid var(--btn-line); background: #fff; color: var(--blue); box-shadow: 0 6px 16px rgba(11,77,162,.18); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease; }
.fab-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab-top:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Hover tooltip ---------- */
.tip { position: fixed; left: 0; top: 0; width: 300px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid var(--blue); border-radius: 4px; box-shadow: 0 12px 28px rgba(11,77,162,.18); padding: 13px 16px 14px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity .15s ease; will-change: transform; }
.tip.is-visible { opacity: 1; }
.tip-title { font-size: 13.5px; font-weight: 800; color: var(--ink); line-height: 1.45; }
.tip-list { display: flex; flex-direction: column; gap: 6px; }
.tip-item { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--blue); }
.tip-item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex: none; margin-top: 8px; }

/* ---------- Detail page ---------- */
.detail-view.anim { animation: kasocDetailIn .36s var(--ease-out) both; }
.home-view.anim { animation: kasocFadeIn .3s ease both; }
.crumbs { background: var(--bg); border-bottom: 1px solid #e2e7ee; }
.crumbs .container { padding-top: 11px; padding-bottom: 11px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--blue); font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { color: var(--muted-3); }
.d-top .container { padding-top: 24px; padding-bottom: 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 32px; }
.d-stage { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 1/1; }
.d-stage.is-video { background: var(--navy); }
.d-stage.is-photo { padding: 18px; display: flex; align-items: center; justify-content: center; }
.d-stage video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--navy); }
.d-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.d-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 10px; margin-top: 10px; }
.d-thumb { position: relative; border: 1px solid var(--line); border-radius: 5px; padding: 6px; aspect-ratio: 1/1; cursor: pointer; background: #fff; }
.d-thumb:hover, .d-thumb.is-active { border-color: var(--blue); }
.d-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.play-mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(4,16,32,.4); border-radius: 4px; }
.play-mark span { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; }
.play-mark span::after { content: ""; width: 9px; height: 11px; background: var(--blue); clip-path: polygon(0 0, 100% 50%, 0 100%); margin-left: 2px; display: block; }
.d-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.d-code { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.d-stock { font-size: 11.5px; color: var(--green); font-weight: 600; }
.d-title { margin: 10px 0 12px; font-size: 27px; font-weight: 800; line-height: 1.35; }
.d-desc { margin: 0 0 16px; font-size: 14px; line-height: 1.75; color: var(--text-3); }
.d-highlights { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.d-hl { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--text); line-height: 1.6; }
.d-buy { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; }
.d-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.d-price { font-size: 28px; font-weight: 800; color: var(--red); line-height: 1.2; }
.d-old { font-size: 14px; color: var(--muted-2); text-decoration: line-through; }
.d-save { background: var(--blue-pale); color: var(--blue); font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 3px; }
.d-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.d-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1px solid var(--field); border-radius: 4px; background: #fff; height: 44px; }
.qty button { width: 38px; height: 100%; border: none; background: none; font-size: 18px; color: var(--text-3); cursor: pointer; }
.qty button:hover { color: var(--blue); }
.qty span { width: 40px; text-align: center; font-size: 14px; font-weight: 700; }
.d-quote, .d-call { flex: 1 1 190px; height: 44px; font-size: 14px; font-weight: 700; }
.d-quote img, .d-call img { width: 18px; height: 18px; display: block; }
.d-call { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.d-call:hover { background: var(--blue-pale); color: var(--blue); }
.d-assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.assure { border: 1px solid var(--line); border-radius: 5px; padding: 12px 13px; display: flex; gap: 10px; align-items: flex-start; }
.assure img { width: 20px; height: 20px; }
.assure-title { font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.assure-sub { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.d-tabs { background: #fff; border-top: 1px solid var(--line); }
.d-tabs .container { display: flex; gap: 4px; flex-wrap: wrap; }
.d-tab { padding: 15px 22px; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; color: #5a6675; border: none; background: none; border-bottom: 3px solid transparent; }
.d-tab:hover { color: var(--blue); }
.d-tab.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.d-panel { background: #fff; border-top: 1px solid var(--line); }
.d-panel > .container { padding-top: 30px; padding-bottom: 40px; }
.d-info { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 34px; }
.d-info h2 { margin: 0 0 12px; font-size: 19px; font-weight: 800; line-height: 1.45; }
.d-info p { margin: 0 0 14px; font-size: 14px; line-height: 1.85; color: var(--text-2); }
.d-h3 { margin: 26px 0 12px; font-size: 16px; font-weight: 800; }
.d-h3.first { margin-top: 24px; }
.d-banner { width: 100%; height: auto; display: block; border-radius: 6px; margin: 18px 0 4px; }
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.benefit { border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; background: var(--soft); }
.benefit-title { font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.benefit-sub { font-size: 12.5px; color: var(--muted); line-height: 1.65; margin-top: 5px; }
.apps { display: flex; flex-wrap: wrap; gap: 8px; }
.apps span { border: 1px solid var(--field); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; color: var(--text); }
.includes { display: flex; flex-direction: column; gap: 8px; }
.include { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.d-aside { position: sticky; top: 20px; align-self: start; }
.spec-box { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.spec-head { background: var(--blue); color: #fff; padding: 13px 18px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.spec-row span:first-child, .spec-row-lg span:first-child { color: var(--muted); }
.spec-row span:last-child, .spec-row-lg span:last-child { font-weight: 600; }
.spec-full { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; max-width: 780px; }
.spec-row-lg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 13px 20px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.advise { border: 1px solid var(--line); border-radius: 6px; padding: 18px; margin-top: 16px; background: var(--soft); }
.advise-title { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.advise p { margin: 0 0 14px; font-size: 12.5px; color: var(--text-3); line-height: 1.7; }
.advise .btn { display: flex; width: 100%; height: 42px; font-size: 13.5px; font-weight: 700; }
.d-docs { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.d-video { position: relative; border-radius: 8px; overflow: hidden; background: var(--navy); aspect-ratio: 16/9; }
.d-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--navy); }
.d-video-tag { position: absolute; top: 14px; left: 14px; background: rgba(4,16,32,.62); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; pointer-events: none; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.photo { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 10px; aspect-ratio: 1/1; transition: border-color .2s ease, box-shadow .2s ease; }
.photo:hover { border-color: var(--blue); box-shadow: 0 8px 20px rgba(11,77,162,.12); }
.photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc { border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; display: flex; gap: 12px; align-items: center; cursor: pointer; color: inherit; background: #fff; text-align: left; width: 100%; transition: border-color .2s ease, background .2s ease; }
.doc:hover { border-color: var(--blue); background: var(--soft); color: inherit; }
.doc > img { width: 20px; height: 20px; }
.doc-body { flex: 1; }
.doc-title { font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.doc-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.doc-dl { width: 34px; height: 34px; border-radius: 5px; background: var(--blue-pale); display: flex; align-items: center; justify-content: center; flex: none; }
.doc-dl img { width: 19px; height: 19px; display: block; }
.related .container { padding-top: 32px; padding-bottom: 38px; }
.related .sec-title { font-size: 20px; }
.related .sec-head { margin-bottom: 16px; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; background: rgba(8,20,36,.62); z-index: 120; display: flex; align-items: center; justify-content: center; padding: 32px; animation: kasocFadeIn .22s ease both; }
.modal-card { background: #fff; border-radius: 8px; width: 940px; max-width: 100%; max-height: 90vh; overflow: auto; box-shadow: 0 30px 70px rgba(4,16,32,.34); animation: kasocDetailIn .3s var(--ease-out) both; }
.modal-card.sm { width: 600px; }
.modal-close { background: #f2f5f9; width: 30px; height: 30px; border-radius: 4px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.modal-close:hover { background: #e2e8f1; }
.modal-close img { width: 18px; height: 18px; display: block; }
.qm-loading { padding: 52px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.spinner { width: 56px; height: 56px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--blue); display: block; animation: kasocSpin .8s linear infinite; }
.qm-loading-title { margin-top: 20px; font-size: 16px; font-weight: 700; }
.qm-loading-sub { margin-top: 6px; font-size: 13px; color: var(--muted); }
.qm-success { padding: 46px 36px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.modal-card.pop { animation: kasocPop .34s var(--ease-out) both; }
.qm-check { width: 88px; height: 88px; border-radius: 50%; background: #eaf7ee; display: flex; align-items: center; justify-content: center; }
.qm-check img { width: 46px; height: 46px; display: block; }
.qm-success h3 { margin: 22px 0 10px; font-size: 24px; font-weight: 800; }
.qm-success p { margin: 0; max-width: 460px; font-size: 14px; line-height: 1.75; color: var(--text-3); }
.qm-hotline { display: flex; align-items: center; gap: 10px; margin-top: 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 12px 18px; font-size: 13.5px; color: var(--text-3); }
.qm-hotline img { width: 18px; height: 18px; display: block; }
.qm-hotline strong { color: var(--blue); }
.qm-done { margin-top: 24px; padding: 13px 34px; font-size: 14px; font-weight: 700; }
.qm-done:hover { background: var(--blue-dark); }

/* ==========================================================================
   Responsive - bản thiết kế gốc chỉ có desktop 1240px; phần dưới bổ sung cho tablet & điện thoại
   ========================================================================== */
@media (max-width: 1100px) {
  .header-cta { display: none; }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; gap: 6px 24px; align-items: start; }
  .footer-brand .footer-about { margin: 0; }
  .footer-brand .socials { grid-column: 2; }
  .footer-contact-col { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-header .container { flex-wrap: wrap; gap: 12px 18px; }
  .logo img { height: 48px; }
  .search { order: 3; flex: 1 1 100%; max-width: none; }
  .hero { background-position: 72% center; }
  .hero::before { background: linear-gradient(90deg, rgba(233,238,244,.97) 0%, rgba(233,238,244,.9) 45%, rgba(233,238,244,.45) 75%, rgba(233,238,244,.1) 100%); }
  .hero .container { grid-template-columns: 1fr; min-height: 340px; padding-top: 44px; padding-bottom: 48px; }
  .stats .container { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; gap: 26px 12px; padding-top: 32px; padding-bottom: 32px; }
  .stat { justify-content: flex-start; }
  .d-top .container, .d-info, .d-docs { grid-template-columns: minmax(0, 1fr); }
  .d-aside { position: static; }
  .d-stage { max-width: 560px; width: 100%; margin: 0 auto; }
  .d-thumbs { max-width: 560px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hotline-label { display: none; }
  .main-nav .container { padding-left: 0; padding-right: 0; }
  .cat-toggle { padding: 0 16px; gap: 10px; font-size: 12.5px; }
  .main-nav .container { justify-content: space-between; min-height: 48px; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; flex: none; background: none; border: none; color: #fff; padding: 0 16px; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
  .nav-drawer { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: #fff; z-index: 1001; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; box-shadow: -12px 0 32px rgba(4,16,32,.18); }
  .nav-open .nav-drawer { transform: none; visibility: visible; transition: transform .25s ease; }
  .nav-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 8px 0 20px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; flex: none; }
  .nav-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: none; color: #fff; cursor: pointer; }
  .nav-links { flex: 1 1 auto; flex-direction: column; flex-wrap: nowrap; overflow-y: auto; }
  .nav-links a { color: var(--ink-2); border-left: none; border-bottom: 1px solid var(--line); padding: 0 20px; min-height: 52px; font-size: 14px; white-space: normal; }
  .nav-links a:hover { background: var(--soft); color: var(--blue); }
  .nav-links a.is-active { background: var(--blue-pale); color: var(--blue); box-shadow: inset 4px 0 0 var(--orange); }
  .nav-drawer-foot { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 24px; border-top: 1px solid var(--line); flex: none; }
  .nav-drawer-foot .btn { height: 44px; font-size: 14px; font-weight: 700; gap: 8px; }
  .nav-drawer-foot img { width: 18px; height: 18px; }
  .nav-zalo { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
  .nav-scrim { display: block; position: fixed; inset: 0; background: rgba(4,16,32,.5); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; }
  .nav-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity .25s ease; }
  body.nav-open { overflow: hidden; }
  .nav-open .main-nav { z-index: 1001; }
  .hero .hero-actions { display: none; }
  .hero-actions.hero-actions-m { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; margin: 0; padding: 16px; background: #fff; }
  .hero-actions.hero-actions-m .btn { flex: 1 1 0; min-width: 0; padding: 14px 8px; font-size: 14px; white-space: nowrap; }
  .d-actions { gap: 8px; }
  .d-actions .qty { flex: none; }
  .d-quote { flex: 1 1 0; min-width: 0; white-space: nowrap; }
  .d-call { flex: 1 1 100%; }
  .sec-title { font-size: 19px; }
  /* ảnh dàn máy nằm hẳn dưới phần chữ, bớt phần sàn trống phía dưới */
  .hero { background-size: 170% auto; background-position: 100% calc(100% + 14vw); }
  .hero::before { background: linear-gradient(180deg, rgba(233,238,244,1) 0%, rgba(233,238,244,1) calc(100% - 52vw), rgba(233,238,244,0) calc(100% - 44vw)); }
  .hero .container { min-height: 0; padding-top: 32px; padding-bottom: 50vw; }
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 15px; }
  .hero-desc { font-size: 14px; }
  .hero-actions .btn { flex: 1 1 200px; padding: 13px 18px; }
  .trust .container { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 12px; padding-bottom: 12px; }
  .trust-item { padding: 8px 4px; }
  .trust-text { font-size: 13px; white-space: normal; }
  .areas .container { padding-top: 32px; padding-bottom: 32px; }
  .grid-cards, .grid-cards-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .area-card { padding: 16px 10px; }
  .area-size { font-size: 15px; }
  .area-cta { font-size: 12px; }
  .p-card:hover, .area-card:hover, .post:hover, .project:hover { transform: none; }
  .p-media { padding: 10px; }
  .p-body { padding: 0 10px 12px; gap: 8px; }
  .p-name { font-size: 13px; min-height: 0; }
  .p-line, .p-ref-label { font-size: 11.5px; }
  .p-ref-label strong, .p-price { font-size: 14px; }
  .p-specs { font-size: 11.5px; }
  .p-spec { flex-direction: column; gap: 0; }
  .p-spec span:last-child { text-align: left; }
  .p-btns { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .p-btns .btn { height: 36px; font-size: 12.5px; }
  .p-cat { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-brand { display: block; }
  .footer-brand .footer-logo { max-width: 260px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; }
  .fab-stack { right: 12px; bottom: 16px; gap: 12px; }
  .fab { width: 40px; height: 40px; }
  .fab-map { display: none; }
  .d-title { font-size: 22px; }
  .d-price { font-size: 24px; }
  .d-assure { grid-template-columns: minmax(0, 1fr); }
  .d-tabs .container { flex-wrap: nowrap; overflow-x: auto; gap: 0; scrollbar-width: none; }
  .d-tabs .container::-webkit-scrollbar { display: none; }
  .d-tab { padding: 13px 14px; font-size: 12.5px; white-space: nowrap; }
  .spec-row-lg { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); padding: 12px 14px; font-size: 13px; }
  .modal { padding: 12px; align-items: flex-end; }
  .modal-card { max-height: 94vh; }
}

@media (max-width: 380px) {
  .d-quote img { display: none; }
  .hero-actions.hero-actions-m .btn { font-size: 13px; padding: 12px 6px; }
}

@media (max-width: 480px) {
  .header-cta { display: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .container { min-height: 0; }
  .hero h1 { font-size: 22px; }
  .stat { gap: 10px; }
  .stat-icon { width: 42px; height: 42px; }
  .stat-value { font-size: 21px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
}

@media (hover: none) {
  .p-card:hover, .area-card:hover, .post:hover, .project:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Nội dung soạn thảo (bài viết, mô tả sản phẩm) + trang tin tức
   ========================================================================== */
.d-content > *:first-child, .prose > *:first-child { margin-top: 0; }
.d-content p { margin: 0 0 14px; font-size: 14px; line-height: 1.85; color: var(--text-2); }
.d-content h2, .d-content h3, .d-content h4 { margin: 22px 0 10px; font-size: 16px; font-weight: 800; line-height: 1.45; color: var(--ink); }
.d-content ul, .d-content ol { margin: 0 0 14px; padding-left: 22px; font-size: 14px; line-height: 1.85; color: var(--text-2); }
.d-content img, .d-content video { width: 100%; height: auto; display: block; border-radius: 6px; margin: 18px 0 4px; }
.d-content a, .prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.d-content blockquote, .prose blockquote { margin: 18px 0; padding: 12px 18px; border-left: 3px solid var(--blue); background: var(--soft); color: var(--text-2); border-radius: 0 6px 6px 0; }
.d-content figure, .prose figure { margin: 18px 0; }
.d-content figcaption, .prose figcaption { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 6px; }

.blog-list .container { padding-top: 32px; padding-bottom: 44px; min-height: 50vh; }
.blog-list .sec-title { font-size: 24px; }
.blog-more { text-align: center; margin-top: 24px; }
.blog-more .btn { padding: 12px 26px; font-size: 13.5px; }

.article-wrap .container { padding-top: 28px; padding-bottom: 48px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
.article { max-width: 780px; }
.article-title { margin: 0 0 12px; font-size: 30px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.article-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-2); margin-bottom: 20px; }
.article-meta img { width: 16px; height: 16px; }
.article-meta .sep { color: var(--muted-3); }
.article-cover { margin: 0 0 24px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.article-cover img { width: 100%; max-height: 460px; object-fit: contain; display: block; }
.prose { font-size: 15.5px; line-height: 1.85; color: var(--text-2); }
.prose p { margin: 0 0 16px; }
.prose h2 { margin: 30px 0 12px; font-size: 22px; font-weight: 800; line-height: 1.4; color: var(--ink); }
.prose h3 { margin: 24px 0 10px; font-size: 18px; font-weight: 800; line-height: 1.45; color: var(--ink); }
.prose h4 { margin: 20px 0 8px; font-size: 16px; font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.prose img, .prose video { max-width: 100%; height: auto; display: block; border-radius: 6px; margin: 20px auto; }
.prose figure img { margin: 0 auto; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 6px; margin: 20px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--soft); font-weight: 700; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 28px 0; }
.loading-line { color: var(--muted); }
.article-aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.article-aside .advise { margin-top: 0; }
.aside-box { border: 1px solid var(--line); border-radius: 6px; padding: 16px 16px 6px; }
.aside-title { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.aside-post { display: flex; gap: 12px; align-items: flex-start; padding: 0 0 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-2); color: inherit; }
.aside-post:last-child { border-bottom: none; margin-bottom: 0; }
.aside-post:hover { color: var(--blue); }
.aside-thumb { width: 72px; height: 56px; flex: none; border-radius: 4px; overflow: hidden; background: var(--soft); border: 1px solid var(--line-2); }
.aside-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aside-thumb.contain img { object-fit: contain; padding: 3px; }
.aside-post-title { display: block; font-size: 13px; font-weight: 700; line-height: 1.45; }
.aside-post-date { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 4px; }
.aside-post-price { display: block; font-size: 12.5px; font-weight: 800; color: var(--red); margin-top: 4px; }
.notfound { padding-top: 60px; padding-bottom: 80px; text-align: center; }
.notfound p { margin: 10px 0 24px; color: var(--text-3); }
.notfound .hero-actions { justify-content: center; }

@media (max-width: 900px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; }
}
@media (max-width: 760px) {
  .article-title { font-size: 23px; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 19px; }
  .prose h3 { font-size: 17px; }
  .blog-list .sec-title { font-size: 20px; }
}

/* ==========================================================================
   Bản thiết kế v3: màn hình tải, thanh tiêu đề trang, các trang thông tin,
   form báo giá có chọn sản phẩm, hộp báo giá mới
   ========================================================================== */

/* ---------- Màn hình tải lần đầu ---------- */
.boot-lock, .boot-lock body { overflow: hidden; }
.boot { position: fixed; inset: 0; z-index: 2000; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: opacity .45s ease; }
.boot.is-out { opacity: 0; pointer-events: none; }
.boot img { height: 84px; width: auto; display: block; mix-blend-mode: multiply; animation: kasocBreath 1.6s ease-in-out infinite; }
.boot-bar { width: 220px; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.boot-bar span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 99px; transition: width .3s ease; }
.boot-text { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Đang tải khi chuyển trang ---------- */
.navload { position: fixed; inset: 0; z-index: 1400; background: rgba(238,241,245,.72); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; animation: kasocFadeIn .2s ease both; }
.navload-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; overflow: hidden; background: rgba(11,77,162,.14); }
.navload-bar span { position: absolute; top: 0; bottom: 0; width: 40%; background: var(--orange); animation: kasocBar 1s ease-in-out infinite; }
.navload-box { background: #fff; border-radius: 8px; box-shadow: 0 18px 40px rgba(15,32,56,.16); padding: 20px 26px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; color: var(--text); }
.spinner.sm { width: 28px; height: 28px; border-width: 3px; flex: none; }

/* ---------- Thanh tiêu đề trang ---------- */
.ph { position: relative; background: var(--blue) url("../assets/img/stats-bg.jpg") center / cover no-repeat; }
.ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,50,105,.95) 0%, rgba(11,77,162,.9) 55%, rgba(11,77,162,.82) 100%); }
.ph .container { position: relative; padding-top: 20px; padding-bottom: 32px; }
.ph-crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: #c3d7f2; }
.ph-crumbs a, .ph-c1 { color: #fff; font-weight: 600; }
.ph-crumbs a:hover { color: #fff; text-decoration: underline; }
.ph-crumbs .sep { color: #8fb0dc; }
.ph-c2 { color: #d6e3f5; max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph h1 { margin: 16px 0 0; font-size: 30px; font-weight: 800; color: #fff; text-transform: uppercase; line-height: 1.3; }
.ph p { margin: 8px 0 0; font-size: 14.5px; color: #d6e3f5; max-width: 660px; line-height: 1.6; }

/* ---------- Khối dùng chung các trang ---------- */
.pg-pad { padding-top: 44px; padding-bottom: 44px; }
.pg-pad36 { padding-top: 36px; padding-bottom: 36px; }
.pg-pad40 { padding-top: 40px; padding-bottom: 40px; }
.pg-title { margin: 0; font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.4; }
.pg-title.center, .pg-sub.center { text-align: center; }
.pg-sub { margin: 8px 0 22px; font-size: 13.5px; color: var(--muted); }
.mb16 { margin-bottom: 16px !important; } .mb18 { margin-bottom: 18px !important; } .mb20 { margin-bottom: 20px !important; } .mb26 { margin-bottom: 26px !important; } .mb30 { margin-bottom: 30px !important; }
.mt8 { margin-top: 8px !important; } .mt36 { margin-top: 36px !important; }
.pg-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); }
.pg-h2 { margin: 8px 0 14px; font-size: 26px; font-weight: 800; line-height: 1.4; text-wrap: pretty; }
.pg-h2.sm { font-size: 25px; }
.pg-p { margin: 0 0 12px; font-size: 14px; line-height: 1.8; color: var(--text-3); }
.pg-p.last { margin-bottom: 20px; }
.pg-ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; font-size: 13.5px; font-weight: 600; }
.pg-tick { display: flex; align-items: center; gap: 8px; }
.pg-tick img { width: 17px; height: 17px; display: block; flex: none; }
.pg-tick.top { align-items: flex-start; font-weight: 400; line-height: 1.6; }
.pg-tick.top img { width: 16px; height: 16px; margin-top: 3px; }
.pg-tick.sm { align-items: flex-start; font-size: 13px; line-height: 1.55; font-weight: 400; }
.pg-tick.sm img { width: 15px; height: 15px; margin-top: 2px; }
.pg-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pg-actions .btn { padding: 13px 24px; font-size: 14px; font-weight: 600; }
.pg-actions .btn-orange { font-weight: 700; }
.pg-actions .btn-line { padding: 12px 24px; }
.pg-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pg-split.sub-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; }
.pg-box { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 22px 26px; }
.pg-box-title { margin: 0 0 16px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.pg-box-h { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.pg-box .pg-ticks { gap: 10px 28px; font-weight: 400; }
.pg-box .pg-tick img { width: 16px; height: 16px; }
.pg-box-note { margin-top: 14px; font-size: 13px; color: var(--text-3); line-height: 1.6; }
.pg-box-note strong, .red { color: var(--red); }
.pg-note { margin-top: 10px; font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.pg-num { width: 40px; height: 40px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* thẻ tính năng (Vì sao chọn, hạng mục dịch vụ) */
.pg-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pg-feature { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease; }
.pg-feature:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,77,162,.14); }
.pg-feature-ic { width: 44px; height: 44px; border-radius: 6px; background: var(--blue-pale); display: flex; align-items: center; justify-content: center; flex: none; }
.pg-feature-ic img { width: 24px; height: 24px; display: block; }
.pg-feature-ic.sm { width: 40px; height: 40px; }
.pg-feature-ic.sm img { width: 22px; height: 22px; }
.pg-feature-h { font-size: 16px; font-weight: 800; margin-top: 4px; }
.pg-feature-p { font-size: 13.5px; line-height: 1.7; color: var(--text-3); }

/* quy trình 4 bước */
.pg-steps4 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pg-steps4::before { content: ""; position: absolute; top: 21px; left: 12.5%; right: 12.5%; height: 2px; background: #dfe6ef; }
.pg-step4 { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.pg-step4 > span { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px #fff; }
.pg-step4-h { font-size: 15px; font-weight: 800; margin-top: 8px; }
.pg-step4-p { font-size: 13px; line-height: 1.65; color: var(--text-3); max-width: 240px; }
.pg-pad-steps { padding-top: 44px; padding-bottom: 12px; }

/* hộp thông tin nhanh bên phải */
.pg-facts { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 24px 24px 26px; }
.pg-facts h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.sub-top .pg-facts { padding: 22px 24px 24px; }
.sub-top .pg-facts h3 { font-size: 15px; }
.pg-fact { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.pg-fact span:first-child { color: var(--muted); }
.pg-fact span:last-child { font-weight: 700; text-align: right; }
.pg-fact .free, .pg-tr .free { color: #15803d; font-weight: 700; }
.pg-parks-title { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin: 20px 0 10px; }
.pg-parks { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-parks span { background: #fff; border: 1px solid var(--field); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--text); }
.pg-callbox { display: flex; align-items: center; gap: 12px; margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; }
.pg-callbox-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-pale); display: flex; align-items: center; justify-content: center; flex: none; }
.pg-callbox-ic img { width: 19px; height: 19px; display: block; }
.pg-callbox-l { font-size: 12px; color: var(--muted); }
.pg-callbox-n { display: block; font-size: 18px; font-weight: 800; color: var(--red); }
.pg-callbox-n:hover { color: #b9151b; }

/* bảng */
.pg-table { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.pg-tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 16px; padding: 14px 20px; font-size: 13.5px; line-height: 1.6; border-top: 1px solid var(--line-2); color: var(--text); }
.pg-tr.ship { grid-template-columns: 1.5fr 1fr 1fr; gap: 12px; color: var(--ink); line-height: normal; }
.pg-th { background: var(--blue); color: #fff; padding: 12px 20px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.5; border-top: none; }
.pg-th.ship { color: #fff; }
.pg-tr .b7 { font-weight: 700; color: var(--ink); }
.pg-tr .b6 { font-weight: 600; }
.pg-th + .pg-tr { border-top: none; }

/* thẻ sản phẩm rút gọn (trang khu vực) */
.pg-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.pg-mini { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease; }
.pg-mini:hover { border-color: var(--blue); transform: scale(1.025); box-shadow: 0 14px 30px rgba(11,77,162,.16); }
.pg-mini-media { padding: 14px; }
.pg-mini-media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; display: block; }
.pg-mini-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pg-mini-body h3 { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.5; min-height: 44px; }
.pg-mini-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pg-mini-price { font-size: 14.5px; font-weight: 800; color: var(--red); }
.pg-mini-btn { border: 1px solid var(--btn-line); color: var(--ink); padding: 7px 12px; border-radius: 4px; font-size: 12.5px; font-weight: 600; }
.pg-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pg-projects .project-name { font-size: 13.5px; }
.pg-pad-proj { padding-top: 40px; padding-bottom: 8px; }

/* danh sách liên kết cuối trang (khu vực khác, dịch vụ khác) */
.pg-chips-box { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.pg-chips-title { font-size: 14px; font-weight: 800; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chips a { background: #fff; border: 1px solid var(--field); border-radius: 4px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--text); }
.pg-chips a:hover { border-color: var(--blue); color: var(--blue); }
.pg-pad-chips { padding-top: 36px; padding-bottom: 44px; }
.pg-pad-chips2 { padding-top: 32px; padding-bottom: 44px; }
.pg-pad-chips2 .pg-chips-box { padding: 20px 24px; }

/* ---------- Giới thiệu ---------- */
.about-intro { padding-top: 48px; padding-bottom: 52px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.about-intro .pg-actions { margin-top: 28px; }
.about-media { position: relative; aspect-ratio: 1116/750; }
.about-media > img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; }
.about-badge { position: absolute; left: -20px; bottom: -20px; background: #fff; border-radius: 6px; box-shadow: 0 14px 30px rgba(11,77,162,.18); padding: 16px 20px; display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--ink-3); }
.about-badge-n { font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1; }
.pg-band { position: relative; background: var(--blue) url("../assets/img/stats-bg.jpg") center / cover no-repeat; }
.pg-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,50,105,.94) 0%, rgba(11,77,162,.88) 55%, rgba(11,77,162,.8) 100%); }
.pg-band .container { position: relative; }
.pg-band-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 170px; align-items: center; }
.pg-client-media { aspect-ratio: 4/3; border-radius: 5px; overflow: hidden; background: #eef2f7; }
.pg-client-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-client-name { font-size: 13px; font-weight: 700; margin-top: 10px; line-height: 1.5; }
.pg-client-units { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pg-pad-clients { padding-top: 44px; padding-bottom: 20px; }
.pg-pad-info { padding-top: 24px; padding-bottom: 44px; }
.pg-pad-info .pg-box { padding: 24px 26px; }
.pg-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; font-size: 13.5px; }
.pg-info-grid > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.pg-info-grid span { color: var(--muted); }
.pg-info-grid b { font-weight: 700; }
.pg-info-grid b.semi { font-weight: 600; }

/* ---------- Thanh toán & vận chuyển ---------- */
.pg-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pg-method { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.pg-method-h { font-size: 16px; font-weight: 800; margin-top: 4px; }
.pg-method-p { font-size: 13.5px; line-height: 1.7; color: var(--text-3); }
.pg-method-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed #dbe2ec; font-size: 12.5px; color: var(--text-3); }
.pg-method-foot strong { color: var(--ink); }
.pg-ship { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.pg-side-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 24px; }
.pg-side-card-head { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; }
.pg-side-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 13.5px; }

/* ---------- Liên hệ ---------- */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; align-items: start; }
.ct-company { margin: 8px 0 22px; font-size: 21px; font-weight: 800; line-height: 1.45; }
.ct-rows { display: flex; flex-direction: column; gap: 18px; }
.ct-row { display: flex; gap: 14px; align-items: flex-start; }
.ct-ic { width: 42px; height: 42px; border-radius: 6px; background: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.ct-ic img { width: 20px; height: 20px; display: block; }
.ct-label { font-size: 12.5px; color: var(--muted); }
.ct-val { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.55; margin-top: 2px; color: var(--ink); }
a.ct-val { color: var(--blue); }
.ct-hot { display: block; font-size: 19px; font-weight: 800; color: var(--red); margin-top: 2px; }
.ct-hot:hover { color: #b9151b; }
.ct-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.ct-quick a { border: 1px solid var(--line); border-radius: 5px; padding: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ct-quick a:hover { border-color: var(--blue); color: var(--blue); }
.ct-quick img { width: 24px; height: 24px; display: block; }
.ct-form-box { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 28px 30px; min-height: 420px; }
.ct-form-box h3 { margin: 0; font-size: 19px; font-weight: 800; text-transform: uppercase; }
.ct-form-box > p { margin: 6px 0 20px; font-size: 13.5px; color: var(--text-3); line-height: 1.6; }
.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-form .full { grid-column: 1 / -1; }
.ct-form .field input, .ct-form .field select { height: 42px; font-size: 13.5px; }
.ct-form .field textarea { height: auto; min-height: 104px; font-size: 13.5px; line-height: 1.6; }
.ct-submit { height: 46px; font-size: 14.5px; font-weight: 700; width: 100%; }
.ct-map-pad { padding-top: 36px; padding-bottom: 44px; }
.ct-map-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }
.ct-map-head a { font-size: 13px; font-weight: 600; }
.ct-map { border: 1px solid #e0e6ef; border-radius: 6px; overflow: hidden; background: #e9edf3; height: 400px; }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Hướng dẫn mua hàng ---------- */
.gd-steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 18px; }
.gd-steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); opacity: .35; }
.gd-step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.gd-num { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; box-shadow: 0 8px 20px rgba(11,77,162,.22); transition: transform .28s ease; }
.gd-num:hover { transform: scale(1.08); }
.gd-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.gd-h { font-size: 16px; font-weight: 800; line-height: 1.35; }
.gd-p { font-size: 13.5px; line-height: 1.7; color: var(--text-3); text-wrap: pretty; }
.gd-link { font-size: 13px; font-weight: 700; }
.gd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 28px; align-items: start; }
.gd-channels { display: flex; flex-direction: column; gap: 12px; }
.gd-channel { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; color: var(--ink); }
.gd-channel:hover { border-color: var(--blue); color: var(--ink); }
.gd-ch-ic { width: 44px; height: 44px; border-radius: 6px; background: var(--blue-pale); display: flex; align-items: center; justify-content: center; flex: none; }
.gd-ch-ic img { width: 22px; height: 22px; display: block; }
.gd-channel:nth-child(2) .gd-ch-ic img { width: 26px; height: 26px; }
.gd-ch-body { flex: 1; min-width: 0; }
.gd-ch-h { font-size: 14.5px; font-weight: 800; }
.gd-ch-p { font-size: 12.5px; color: var(--text-3); margin-top: 2px; overflow-wrap: anywhere; }
.gd-ch-go { font-size: 13px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .2s ease; }
.faq-item.is-open { border-color: var(--blue); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: none; border: none; text-align: left; cursor: pointer; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.faq-item.is-open .faq-q { color: var(--blue); }
.faq-sign { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-pale); color: var(--blue); font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; line-height: 1; }
.faq-a { padding: 0 18px 16px; font-size: 13.5px; line-height: 1.75; color: var(--text-3); animation: kasocFadeIn .25s ease both; }
.pg-cta { position: relative; background: var(--blue) url("../assets/img/stats-bg.jpg") center / cover no-repeat; }
.pg-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,50,105,.95) 0%, rgba(11,77,162,.88) 100%); }
.pg-cta .container { position: relative; padding-top: 34px; padding-bottom: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pg-cta-h { font-size: 22px; font-weight: 800; color: #fff; text-transform: uppercase; line-height: 1.4; }
.pg-cta-p { font-size: 14px; color: #d6e3f5; margin-top: 4px; }
.pg-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pg-cta-actions .btn { padding: 13px 24px; font-size: 14px; font-weight: 700; }
.pg-cta-actions .btn-ghost-w { padding: 12px 24px; font-weight: 600; }

/* ---------- Trang con: sản phẩm pin, pad... ---------- */
.pg-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pg-item { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.pg-item-h { font-size: 16px; font-weight: 800; }
.pg-item-sub { font-size: 13px; color: var(--text-3); line-height: 1.65; }
.pg-item-list { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.pg-item-cta { margin-top: auto; padding-top: 14px; }
.pg-item-cta span { display: block; text-align: center; border: 1px solid var(--btn-line); color: var(--ink); padding: 10px 0; border-radius: 4px; font-size: 13px; font-weight: 600; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.pg-item-cta:hover span { border-color: var(--blue); color: var(--blue); background: var(--blue-wash); }
.pg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.pg-swatch { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.pg-swatch > span { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.pg-swatch-h { font-size: 14.5px; font-weight: 800; margin-top: 4px; }
.pg-swatch-p { font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.pg-pad-sw { padding-top: 40px; padding-bottom: 8px; }
.sec-head.wrap { flex-wrap: wrap; }

/* ---------- Chính sách ---------- */
.lg-grid { padding-top: 32px; padding-bottom: 48px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.lg-aside, .news-aside { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; }
.pg-side-box { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 16px; }
.pg-side-title { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 0 6px 10px; border-bottom: 2px solid var(--blue); }
.lg-toc { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.lg-toc-item { display: flex; gap: 10px; padding: 8px; border-radius: 4px; font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.5; }
.lg-toc-item:hover { color: var(--blue); background: #f3f6fa; }
.lg-toc-item span:first-child { color: var(--blue); font-weight: 800; flex: none; min-width: 16px; }
.lg-links { padding: 8px; }
.lg-links a { display: block; padding: 10px 12px; border-radius: 4px; font-size: 13.5px; font-weight: 700; color: var(--text); }
.lg-links a:hover { color: var(--blue); background: #f3f6fa; }
.lg-links a.is-active { color: var(--blue); background: var(--blue-pale); }
.lg-article { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 32px 36px 36px; }
.lg-updated { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.lg-updated img { width: 15px; height: 15px; display: block; }
.lg-lead { margin: 14px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--text); }
.lg-sec { scroll-margin-top: 16px; }
.lg-sec h2 { margin: 28px 0 8px; font-size: 18px; font-weight: 800; line-height: 1.45; display: flex; gap: 10px; }
.lg-sec h2 span:first-child { color: var(--blue); }
.lg-sec p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--text); }
.lg-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.lg-list > div { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.7; color: var(--text); }
.lg-list > div > span:first-child { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; margin-top: 10px; }
.lg-foot { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.8; color: var(--text-3); }
.lg-foot strong { color: var(--ink); }
.lg-foot strong.red { color: var(--red); }

/* ---------- Tin tức ---------- */
.news-grid { padding-top: 32px; padding-bottom: 44px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; min-height: 50vh; }
.news-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.news-tags .chip { padding: 8px 14px; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: inherit; transition: box-shadow .28s ease, border-color .28s ease; }
.news-row:hover { border-color: var(--blue); color: inherit; box-shadow: 0 12px 28px rgba(11,77,162,.12); }
.news-row-media { aspect-ratio: 4/3; padding: 12px; border-right: 1px solid var(--line-2); }
.news-row-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.news-row-body { padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.news-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.news-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--blue-pale); padding: 3px 8px; border-radius: 3px; }
.news-tag.lg { font-size: 11px; padding: 4px 9px; }
.news-date { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.news-date img { width: 15px; height: 15px; display: block; }
.news-row-title { font-size: 16.5px; font-weight: 800; line-height: 1.5; text-wrap: pretty; }
.news-row-excerpt { font-size: 13.5px; color: var(--text-3); line-height: 1.7; }
.news-more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--blue); }
.news-cats { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.news-cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 8px; border-radius: 4px; font-size: 13.5px; font-weight: 600; color: var(--text); background: transparent; border: none; cursor: pointer; text-align: left; width: 100%; }
.news-cat:hover { color: var(--blue); background: #f3f6fa; }
.news-cat.is-active { color: var(--blue); background: var(--blue-pale); }
.news-cat-n { font-size: 12px; color: var(--muted); font-weight: 600; }
.news-prods { display: flex; flex-direction: column; margin-top: 6px; }
.news-prod { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 4px; color: inherit; }
.news-prod:hover { background: #f3f6fa; color: inherit; }
.news-prod-img { width: 60px; height: 60px; border: 1px solid var(--line-2); border-radius: 4px; padding: 4px; flex: none; background: #fff; }
.news-prod-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.news-prod-name { display: block; font-size: 13px; font-weight: 700; line-height: 1.45; }
.news-prod-price { display: block; font-size: 13px; font-weight: 800; color: var(--red); margin-top: 3px; }
.news-call { background: var(--blue); border-radius: 6px; padding: 20px 20px 22px; color: #fff; }
.news-call-l { font-size: 13px; color: #c3d7f2; }
.news-call-n { display: block; font-size: 23px; font-weight: 800; margin-top: 4px; color: #fff; }
.news-call-n:hover { color: #fff; }
.news-call-p { font-size: 13px; color: #d6e3f5; line-height: 1.6; margin-top: 8px; }
.news-call .btn { display: flex; width: 100%; margin-top: 14px; padding: 11px 0; font-size: 13.5px; font-weight: 700; }
.art-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 32px 36px 36px; }
.art-title { margin: 14px 0 10px; font-size: 27px; font-weight: 800; line-height: 1.4; text-wrap: pretty; }
.art-lead { margin: 0 0 22px; font-size: 15.5px; line-height: 1.75; color: var(--text-3); font-weight: 500; }
.art-cover { aspect-ratio: 16/9; background: var(--soft); border: 1px solid var(--line-2); border-radius: 6px; padding: 20px; margin-bottom: 8px; }
.art-cover img { width: 100%; height: 100%; object-fit: contain; display: block; }
.prose.art-prose { font-size: 14.5px; line-height: 1.85; color: var(--text); }
.art-prose > *:first-child { margin-top: 14px; }
.art-prose > h2:first-child { margin-top: 26px; }
.art-prose > h3:first-child { margin-top: 22px; }
.art-prose p { margin: 14px 0 0; }
.art-prose h2 { margin: 26px 0 10px; font-size: 19px; font-weight: 800; line-height: 1.45; }
.art-prose h3 { margin: 22px 0 8px; font-size: 17px; }
.art-prose h2 + p, .art-prose h3 + p { margin-top: 0; }
.art-prose ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 9px; }
.art-prose ul li { position: relative; padding-left: 26px; margin: 0; line-height: 1.7; }
.art-prose ul li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("../assets/icons/ic-tick-green.svg") center / contain no-repeat; }
.art-prose ol { margin: 10px 0 0; }
.art-prose img, .art-prose video, .art-prose iframe { margin: 18px auto; }
.art-cta { margin-top: 30px; background: var(--blue-pale); border-radius: 6px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.art-cta-h { font-size: 16px; font-weight: 800; color: var(--blue); }
.art-cta-p { font-size: 13.5px; color: var(--text); margin-top: 4px; }
.art-cta-p strong { color: var(--red); }
.art-cta .btn { padding: 12px 22px; font-size: 13.5px; font-weight: 700; }
.art-rel-title { margin: 30px 0 14px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.art-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.art-rel-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: inherit; display: flex; flex-direction: column; transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease; }
.art-rel-card:hover { border-color: var(--blue); color: inherit; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,77,162,.14); }
.art-rel-media { aspect-ratio: 4/3; padding: 10px; border-bottom: 1px solid var(--line-2); }
.art-rel-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.art-rel-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.art-rel-name { font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.art-rel-date { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--muted); }

/* ---------- Form báo giá nhanh cuối trang ---------- */
.qbar-sec .container { padding-top: 40px; padding-bottom: 40px; }
.qbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(11,77,162,.08); }
.qbar-side { position: relative; background: var(--blue); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-width: 0; overflow: hidden; }
.qbar-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.qbar-side::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,48,104,.82) 0%, rgba(11,77,162,.88) 55%, rgba(8,48,104,.95) 100%); pointer-events: none; }
.qbar-side-top, .qbar-side-bottom { position: relative; z-index: 2; display: flex; flex-direction: column; }
.qbar-side-top { gap: 12px; }
.qbar-kicker { align-self: flex-start; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; }
.qbar-side h2 { margin: 0; font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.4; text-wrap: balance; }
.qbar-side p { margin: 0; font-size: 14px; line-height: 1.65; color: #dbe7f7; text-wrap: pretty; }
.qbar-perks { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; margin-top: 4px; }
.qbar-perks > div { display: flex; align-items: center; gap: 12px; }
.qbar-perks span { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; flex: none; }
.qbar-perks img { width: 16px; height: 16px; display: block; }
.qbar-side-bottom { gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
.qbar-or { font-size: 13px; color: #dbe7f7; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.qbar-call { display: flex; align-items: center; gap: 14px; color: #fff; }
.qbar-call:hover { color: #fff; }
.qbar-call-ic { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.qbar-call-ic img { width: 24px; height: 24px; display: block; }
.qbar-call-num { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; }
.qbar-call-sub { display: block; font-size: 13px; color: #dbe7f7; }
.qbar-links { display: flex; gap: 10px; flex-wrap: wrap; }
.qbar-links a { flex: 1 1 140px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; color: #fff; font-size: 14px; font-weight: 700; transition: background .2s ease; }
.qbar-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.qbar-links img { width: 22px; height: 22px; display: block; }
.qbar-links a + a img { width: 20px; height: 20px; }
.qbar-form { padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; margin: 0; }
.qbar-form h3 { margin: 0; font-size: 18px; font-weight: 800; text-transform: uppercase; line-height: 1.4; color: var(--ink); }
.qbar-lead { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.qrow { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.qfield { min-width: 0; }
.qfield > label, .qm-qty > label { font-size: 13px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 5px; }
.req { color: var(--red); }
.opt { font-size: 12.5px; font-weight: 400; color: var(--text-3); }
.qfield input, .qfield textarea { width: 100%; height: 40px; border: 1px solid var(--field); border-radius: 6px; padding: 0 12px; font-size: 13px; outline: none; background: #fff; color: var(--ink); }
.qfield textarea { height: 64px; padding: 10px 12px; line-height: 1.55; resize: vertical; display: block; }
.qfield input:focus, .qfield textarea:focus { border-color: var(--blue); }
.qmsg { font-size: 13px; font-weight: 600; margin-top: -6px; color: var(--red); line-height: 1.55; }
.qmsg a { color: var(--red); }
.qsubmit { height: 44px; border-radius: 6px; font-size: 14px; font-weight: 700; width: 100%; }

/* ô số lượng */
.stepper { display: flex; width: 100%; height: 40px; border: 1px solid var(--field); border-radius: 6px; background: var(--soft); overflow: hidden; }
.stepper input { flex: 1; min-width: 0; border: none; padding: 0 14px; font-size: 15px; font-weight: 600; outline: none; background: #fff; color: var(--ink); height: 100%; }
.stepper button { width: 40px; flex: none; border: none; background: transparent; font-size: 20px; font-weight: 600; color: var(--ink); cursor: pointer; line-height: 1; padding: 0; }
.stepper-r button { border-left: 1px solid var(--field); }
.stepper button:hover { background: #eaf2fd; color: var(--blue); }
.stepper-c { width: 150px; height: 46px; flex: none; }
.stepper-c input { text-align: center; padding: 0; }
.stepper-c button { width: 46px; font-size: 24px; }

/* chọn sản phẩm */
.picker { position: relative; }
.picker-btn { width: 100%; height: 40px; border: 1px solid var(--field); border-radius: 6px; padding: 0 12px; font-size: 13px; background: #fff; color: var(--ink); display: flex; align-items: center; gap: 8px; cursor: pointer; text-align: left; transition: border-color .2s ease; }
.picker-btn:hover, .picker.is-open .picker-btn { border-color: var(--blue); }
.picker-thumb { width: 26px; height: 26px; object-fit: contain; display: block; flex: none; }
.picker-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-chev { width: 18px; height: 18px; display: block; flex: none; transition: transform .2s ease; }
.picker.is-open .picker-chev { transform: rotate(180deg); }
.picker-pop { position: absolute; left: 0; right: 0; top: 44px; z-index: 41; background: #fff; border: 1px solid var(--field); border-radius: 6px; box-shadow: 0 12px 32px rgba(15,30,60,.16); max-height: 340px; overflow-y: auto; padding: 6px 0; overscroll-behavior: contain; }
.picker-group { padding: 8px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.picker-item { display: flex; align-items: center; gap: 10px; padding: 6px 12px; cursor: pointer; background: #fff; }
.picker-item:hover { background: #f0f5fc; }
.picker-item.is-on { background: #eaf2fd; }
.picker-item img { width: 36px; height: 36px; object-fit: contain; display: block; flex: none; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; }
.picker-item span { font-size: 13px; line-height: 1.4; color: var(--ink); }
.picker.lg .picker-btn { height: 46px; font-size: 14px; }
.picker.lg .picker-pop { top: 50px; }

/* ---------- Hộp báo giá (thiết kế mới) ---------- */
.modal-card.qm2 { width: 460px; border-radius: 10px; max-height: 92vh; }
.modal-card.xs { width: 440px; }
.qm-form2 { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.qm-head2 { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qm-head2 h3 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.3; color: #0b2a55; }
.qm-x { width: 32px; height: 32px; border-radius: 4px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; padding: 0; }
.qm-x:hover { background: #f2f5f9; }
.qm-x img { width: 22px; height: 22px; display: block; }
.qm-prod { display: flex; align-items: center; gap: 14px; }
.qm-prod img { width: 92px; height: 72px; object-fit: contain; display: block; flex: none; }
.qm-prod-n { font-size: 15px; font-weight: 800; line-height: 1.4; }
.qm-prod-s { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.qfield.lg > label, .qm-qty > label { font-size: 14px; margin-bottom: 7px; }
.qfield.lg input { height: 46px; padding: 0 14px; font-size: 14px; }
.qfield.lg textarea { height: 86px; padding: 12px 14px; font-size: 14px; }
.qm-qty { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qm-qty > label { margin-bottom: 0; }
.qm-err { font-size: 13px; color: var(--red); font-weight: 600; margin-top: -6px; line-height: 1.55; }
.qm-err a { color: var(--red); }
.qm-submit { height: 48px; border-radius: 6px; font-size: 15px; font-weight: 700; width: 100%; }
.qm-success { padding: 30px 26px 26px; }
.qm-check { width: 64px; height: 64px; }
.qm-check img { width: 34px; height: 34px; }
.qm-success h3 { margin: 16px 0 8px; font-size: 20px; }
.qm-success p { max-width: 390px; font-size: 13.5px; line-height: 1.65; }
.qm-sent { width: 100%; max-width: 390px; margin-top: 16px; display: flex; align-items: center; gap: 14px; text-align: left; border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; }
.qm-sent img { width: 72px; height: 56px; object-fit: contain; display: block; flex: none; }
.qm-sent-l { font-size: 12px; color: var(--muted); }
.qm-sent-n { font-size: 15px; font-weight: 800; line-height: 1.4; margin-top: 3px; color: var(--ink); }
.qm-hotline { margin-top: 14px; padding: 9px 14px; }
.qm-done { margin-top: 18px; padding: 11px 30px; }

/* ---------- Responsive cho các phần mới ---------- */
@media (max-width: 1100px) {
  .gd-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
}
@media (max-width: 900px) {
  .about-intro, .pg-split, .pg-split.sub-top, .ct-grid, .gd-grid, .pg-ship, .news-grid, .lg-grid { grid-template-columns: minmax(0, 1fr); }
  .about-intro { gap: 36px; }
  .about-media { max-width: 640px; }
  .about-badge { left: 12px; bottom: -18px; }
  .news-aside, .lg-aside { position: static; }
  .news-grid > div { min-width: 0; }
  .lg-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-band-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; gap: 26px 12px; padding-top: 32px; padding-bottom: 32px; }
  .pg-band-stats .stat { justify-content: flex-start; }
  .pg-steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .pg-steps4::before, .gd-steps::before { display: none; }
  .gd-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .art-rel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ph .container { padding-top: 14px; padding-bottom: 24px; }
  .ph h1 { margin-top: 12px; font-size: 22px; }
  .ph p { font-size: 13.5px; }
  .ph-c2 { max-width: 100%; }
  .pg-pad, .pg-pad40 { padding-top: 32px; padding-bottom: 32px; }
  .pg-pad36 { padding-top: 28px; padding-bottom: 28px; }
  .about-intro { padding-top: 32px; padding-bottom: 44px; }
  .pg-title { font-size: 19px; }
  .pg-h2, .pg-h2.sm { font-size: 21px; }
  .pg-ticks { grid-template-columns: minmax(0, 1fr); }
  .pg-actions .btn { flex: 1 1 200px; }
  .pg-info-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-info-grid > div { grid-template-columns: 110px minmax(0, 1fr); }
  .pg-features { grid-template-columns: minmax(0, 1fr); }
  .pg-mini-grid, .pg-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pg-mini:hover { transform: none; }
  .pg-mini-media { padding: 10px; }
  .pg-mini-body { padding: 0 10px 12px; }
  .pg-mini-body h3 { font-size: 13px; min-height: 0; }
  .pg-mini-btn { display: none; }
  .pg-chips-box { flex-direction: column; align-items: flex-start; padding: 18px 16px; }
  .gd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .gd-num { width: 48px; height: 48px; font-size: 16px; }
  .gd-channel { padding: 14px; gap: 12px; }
  .gd-ch-go { display: none; }
  .pg-cta-h { font-size: 19px; }
  .pg-cta-actions { width: 100%; }
  .pg-cta-actions .btn { flex: 1 1 200px; }
  .ct-form-box { padding: 22px 16px; min-height: 0; }
  .ct-map { height: 300px; }
  .lg-article, .art-card { padding: 22px 18px 24px; }
  .lg-toc { grid-template-columns: minmax(0, 1fr); }
  .news-row { grid-template-columns: 120px minmax(0, 1fr); }
  .news-row-media { padding: 8px; aspect-ratio: auto; }
  .news-row-body { padding: 12px 14px; gap: 6px; }
  .news-row-title { font-size: 14.5px; }
  .news-row-excerpt { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .news-more { display: none; }
  .news-tags { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .news-tags::-webkit-scrollbar { display: none; }
  .news-tags .chip { white-space: nowrap; flex: none; }
  .art-title { font-size: 22px; }
  .art-lead { font-size: 14.5px; }
  .art-cover { padding: 10px; }
  .art-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .art-cta .btn { width: 100%; }
  .qbar-sec .container { padding-top: 28px; padding-bottom: 28px; }
  .qbar { grid-template-columns: minmax(0, 1fr); }
  .qbar-side { padding: 22px 18px; }
  .qbar-side h2 { font-size: 19px; }
  .qbar-form { padding: 22px 16px 24px; }
  .modal-card.qm2, .modal-card.xs { width: 100%; }
  .qm-form2 { padding: 20px 16px 20px; gap: 14px; }
  .qm-head2 h3 { font-size: 20px; }
}
@media (max-width: 600px) {
  .pg-th { display: none; }
  .pg-tr, .pg-tr.ship { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 12px 14px; }
  .pg-th + .pg-tr { border-top: none; }
  .pg-tr span[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-weight: 600; }
}
@media (max-width: 480px) {
  .ct-form, .ct-quick { grid-template-columns: minmax(0, 1fr); }
  .qrow { grid-template-columns: minmax(0, 1fr); }
  .art-rel { grid-template-columns: minmax(0, 1fr); }
  .about-badge { padding: 12px 14px; }
  .about-badge-n { font-size: 28px; }
}
@media (hover: none) {
  .pg-feature:hover, .art-rel-card:hover, .pg-mini:hover { transform: none; box-shadow: none; }
}
