/* =========================================================
   VUA ÁNH SÁNG – Nhà máy sản xuất & xuất khẩu đèn LED
   ========================================================= */

:root {
  --yellow: #f9cc2c;
  --yellow-600: #eab608;
  --yellow-soft: #ffe68a;
  --yellow-tint: #fff8db;
  --ink: #15171a;
  --text: #2b3038;
  --muted: #727a86;
  --line: #e6e9ee;
  --bg: #f8fafb;
  --surface: #ffffff;
  --strip: #f0f4f8;
  --dark: #181c21;
  --dark-2: #22272e;
  --danger: #d93036;

  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --container: 1760px;
  --gutter: clamp(16px, 3.4vw, 48px);   /* lề hai bên co giãn theo màn hình, không để trống quá nhiều */
  --radius: 10px;
  --header-h: 80px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 12px 28px -12px rgba(16, 24, 40, .22);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;   /* họa tiết trang trí không làm trang bị kéo ngang trên điện thoại */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
table { border-collapse: collapse; width: 100%; }
.sprite { display: none; }

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

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.muted { color: var(--muted); }

/* Chữ dùng chung */
.eyebrow { font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow-600); }
.h2 { margin-top: 6px; font-family: var(--font-head); font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; line-height: 1.25; color: var(--ink); }
.h2 + p, .h2 ~ p { margin-top: 12px; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 800;
  letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, color .2s, border-color .2s;
}
.btn svg { font-size: 17px; transition: transform .25s var(--ease); }
.btn:hover svg:has(use[href="#i-arrow"]) { transform: translateX(3px); }
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(249, 204, 44, .8); }
.btn--primary:hover { background: #ffd84a; transform: translateY(-1px); }
.btn--outline {
  height: 42px; padding: 0 20px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--font-body); font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0;
}
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-1px); }
.btn--ghost-dark { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 12.5px; }
.btn--block { width: 100%; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink);
  font-size: 22px; transition: background-color .2s;
}
.icon-btn:hover { background: var(--strip); }
.link-btn { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; text-decoration: underline; }

.count-badge {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--yellow); color: var(--ink);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.count-badge.is-empty { display: none; }

/* =========================================================
   TOPBAR + HEADER
   ========================================================= */
.topbar { background: var(--dark); color: rgba(255, 255, 255, .72); font-size: 12.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 38px; }
.topbar__note { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__note svg { color: var(--yellow); font-size: 15px; }
.topbar__links { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.topbar__links a, .topbar__links span, .topbar__rfq { display: inline-flex; align-items: center; gap: 6px; }
.topbar__links svg { font-size: 14px; color: var(--yellow); }
.topbar__links a:hover { color: #fff; }
.topbar__rfq {
  height: 26px; padding: 0 10px; border: 0; border-radius: 999px;
  background: rgba(249, 204, 44, .14); color: #fff; font-size: 12.5px; font-weight: 600;
}
.topbar__rfq:hover { background: var(--yellow); color: var(--ink); }
.topbar__rfq:hover svg { color: var(--ink); }
.topbar__rfq b { min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 11px; line-height: 18px; text-align: center; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(16, 24, 40, .35); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); }
.logo__icon { width: 40px; height: 47px; color: var(--ink); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-family: var(--font-head); font-size: 21px; font-weight: 900; letter-spacing: -.01em; color: var(--ink); }
.logo__text small { margin-top: 4px; font-size: 11.5px; font-weight: 500; color: var(--muted); }

/* Menu */
.nav { flex: 1; display: flex; justify-content: center; }
.nav__head, .nav__foot { display: none; }
.nav__list { display: flex; align-items: center; gap: 24px; }
.nav__link {
  position: relative; display: block; padding: 8px 0;
  font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
  background: var(--yellow); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

/* Tìm kiếm */
.search { position: relative; width: 210px; flex-shrink: 0; }
.search input {
  width: 100%; height: 40px; padding: 0 42px 0 16px;
  border: 1px solid transparent; border-radius: 999px; background: var(--strip);
  font-size: 13px; outline: none; transition: border-color .2s, background-color .2s;
}
.search input::placeholder { color: #9aa1ab; }
.search input:focus { border-color: var(--yellow); background: #fff; }
.search input::-webkit-search-cancel-button { display: none; }
.search button {
  position: absolute; right: 4px; top: 4px; width: 32px; height: 32px;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent;
  color: var(--muted); font-size: 17px;
}
.search button:hover { color: var(--ink); }

/* Hotline */
.hotline { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hotline__icon { font-size: 30px; color: var(--yellow); }
.hotline span { display: flex; flex-direction: column; line-height: 1.2; }
.hotline small { font-size: 12px; color: var(--muted); }
.hotline strong { font-family: var(--font-head); font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: .01em; }
.hotline:hover strong { color: var(--yellow-600); }

.header__search-toggle, .header__menu, .header__rfq { display: none; }
.nav-backdrop { display: none; }

/* =========================================================
   HERO TRANG CHỦ
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  /* Giữ tỉ lệ thấp như thiết kế để cụm đèn bên phải không bị chữ che */
  min-height: clamp(420px, 29vw, 560px); display: flex; align-items: center;
  background: #121212 url("../img/hero.jpg") right center / cover no-repeat;
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 14, 14, .9) 0%, rgba(14, 14, 14, .74) 36%, rgba(14, 14, 14, .2) 52%, rgba(14, 14, 14, 0) 64%);
}
.hero__inner { position: relative; padding-block: 44px; }
.hero__eyebrow { font-family: var(--font-head); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hero__title {
  margin-top: 12px;
  font-family: var(--font-head); font-size: clamp(30px, 2.75vw, 44px); font-weight: 900; line-height: 1.18;
  text-transform: uppercase; letter-spacing: .005em;
}
.hero__title span { display: block; color: var(--yellow); }
.hero__lead { margin-top: 12px; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .92); }
.hero__features { display: flex; flex-wrap: wrap; margin-top: 22px; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.hero__features li { display: flex; align-items: center; gap: 10px; padding-right: 18px; margin-right: 18px; border-right: 1px solid rgba(255, 255, 255, .22); }
.hero__features li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__features svg { font-size: 28px; color: var(--yellow); }
.hero__features strong { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.hero__features span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .65); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* =========================================================
   PAGE HERO (trang con)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: #121212 url("../img/hero.jpg") right 30% / cover no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 14, 14, .95) 0%, rgba(14, 14, 14, .86) 45%, rgba(14, 14, 14, .55) 100%);
}
.page-hero .container { position: relative; padding-block: 44px 48px; }
.page-hero__title {
  margin-top: 14px; font-family: var(--font-head); font-size: clamp(28px, 3vw, 40px); font-weight: 900;
  line-height: 1.2; text-transform: uppercase;
}
.page-hero__lead { max-width: 640px; margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.page-hero__lead b { color: var(--yellow); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb [aria-current] { color: #fff; }
.breadcrumb--light { color: var(--muted); }
.breadcrumb--light [aria-current] { color: var(--ink); font-weight: 600; }
.breadcrumb--light a:hover { color: var(--yellow-600); }

/* =========================================================
   SECTION CHUNG
   ========================================================= */
.section { padding-block: 40px; }
.section--tight { padding-block: 20px 44px; }
.section--alt { background: #fff; border-block: 1px solid var(--line); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-title { padding-left: 0; }
.section-head--center .section-title::before { display: none; }
.section-head--center .section-title::after { content: ""; display: block; width: 48px; height: 4px; margin: 10px auto 0; border-radius: 2px; background: var(--yellow); }
.section-head--center .section-sub { padding-left: 0; }
.section-title {
  position: relative; padding-left: 16px;
  font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1.25;
  text-transform: uppercase; color: var(--ink);
}
.section-title::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 2px; background: var(--yellow); }
.section-head > div:not(.faq-wrap__head) .section-title::before { bottom: -26px; }
.section-sub { margin-top: 4px; padding-left: 16px; font-size: 13.5px; color: var(--muted); }
.see-all {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 13.5px; font-weight: 700; color: var(--blue); transition: color .2s;
}
.see-all:hover { color: var(--navy); }
.see-all svg { transition: transform .25s var(--ease); }
.see-all:hover svg { transform: translateX(3px); }

/* =========================================================
   THẺ SẢN PHẨM / DANH MỤC
   ========================================================= */
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.grid-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-products--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { position: relative; overflow: hidden; background: #efefef; aspect-ratio: 172 / 111; }
.product .card__media { aspect-ratio: 172 / 95; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 14px 14px 16px; }
.card__title { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__desc { max-width: 100%; margin-top: 3px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat .card__desc { margin-top: auto; padding-top: 3px; padding-right: 34px; }
.cat__go {
  position: absolute; right: 12px; bottom: 14px;
  display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--strip); color: var(--ink); font-size: 14px;
  transition: background-color .2s, transform .25s var(--ease);
}
.cat:hover .cat__go { background: var(--yellow); transform: translateX(2px); }

.product__cat { margin-bottom: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--yellow-600); }
.product__moq { margin: 6px 0 12px; font-size: 12px; color: var(--text); }
.grid-6 .product__cat, .grid-6 .product__moq { display: none; }
.grid-6 .product .card__desc { margin-bottom: 12px; }

.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.badge--hot { background: var(--ink); color: var(--yellow); }
.badge--new { background: var(--yellow); color: var(--ink); }

.pill {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  height: 30px; padding: 0 13px; border: 0; border-radius: 999px;
  background: var(--yellow-soft); color: var(--ink);
  font-size: 12px; font-weight: 600;
  transition: background-color .2s, transform .2s;
}
.pill svg { font-size: 13px; }
.pill:hover { background: var(--yellow); }
.pill.is-added { background: var(--ink); color: #fff; }

.empty { padding: 36px 16px; text-align: center; color: var(--muted); }
.empty p + p { margin-top: 6px; }
.empty a { color: var(--ink); font-weight: 700; }
.card[hidden] { display: none; }

/* =========================================================
   CAM KẾT
   ========================================================= */
.perks {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 18px; padding: 18px 8px; border-radius: var(--radius); background: var(--strip);
}
.perks li { display: flex; align-items: center; gap: 12px; padding: 4px 16px 4px 20px; }
.perks li + li { border-left: 1px solid #dde3ea; }
.perks svg { font-size: 30px; color: var(--yellow-600); }
.perks strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.perks span { display: block; font-size: 12px; color: var(--muted); }

/* =========================================================
   CON SỐ
   ========================================================= */
.stats { padding-block: 8px 32px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.stats__grid li { padding: 26px 20px; text-align: center; }
.stats__grid li + li { border-left: 1px solid var(--line); }
.stats__grid strong { display: block; font-family: var(--font-head); font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; line-height: 1.1; color: var(--ink); }
.stats__grid strong span { color: var(--yellow-600); }
.stats__grid li > span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.stats--dark { padding-block: 0; background: var(--dark); }
.stats--dark .stats__grid { background: transparent; border: 0; box-shadow: none; }
.stats--dark .stats__grid li + li { border-color: rgba(255, 255, 255, .12); }
.stats--dark .stats__grid strong { color: #fff; }
.stats--dark .stats__grid strong span { color: var(--yellow); }
.stats--dark .stats__grid li > span { color: rgba(255, 255, 255, .65); }

/* =========================================================
   ĐỐI TƯỢNG HỢP TÁC
   ========================================================= */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience__card {
  display: flex; flex-direction: column; padding: 28px 26px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.audience__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.audience__card--accent { background: var(--dark); border-color: var(--dark); color: rgba(255, 255, 255, .8); }
.audience__card.audience__card--accent h3 { color: #fff; }
.audience__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--yellow-tint); color: var(--yellow-600); font-size: 26px; }
.audience__card--accent .audience__icon { background: var(--yellow); color: var(--ink); }
.audience__card h3 { margin-top: 18px; font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--ink); }
.audience__card > p { margin-top: 8px; font-size: 14px; }
.audience__card ul { display: grid; gap: 8px; margin: 16px 0 22px; }
.audience__card li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.audience__card li svg { font-size: 15px; color: var(--yellow-600); }
.audience__card--accent li svg { color: var(--yellow); }
.audience__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; color: var(--ink); }
.audience__card--accent .audience__link { color: var(--yellow); }
.audience__link svg { transition: transform .25s var(--ease); }
.audience__link:hover svg { transform: translateX(4px); }

/* =========================================================
   TẠI SAO CHỌN + VỀ CHÚNG TÔI
   ========================================================= */
.about { overflow: hidden; background: #fff; border-block: 1px solid var(--line); }
.about__inner {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 34px; align-items: center;
}
.why { position: relative; z-index: 0; align-self: stretch; padding: 46px 40px 46px 0; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.why::before, .why::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -100vw;
  clip-path: polygon(0 0, 100% 0, calc(100% - 64px) 100%, 0 100%);
}
.why::before {
  right: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(18, 18, 18, .9), rgba(18, 18, 18, .72)), #1b1b1b url("../img/why-bg.jpg") right center / cover no-repeat;
}
.why::after { right: -18px; z-index: -2; background: linear-gradient(180deg, rgba(249, 204, 44, .35) 0%, var(--yellow) 55%, var(--yellow-600) 100%); }
.why__eyebrow { font-family: var(--font-head); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.why__title { margin-top: 8px; font-family: var(--font-head); font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.why__title span { color: var(--yellow); }
.why__lead { margin-top: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.why .btn { align-self: flex-start; margin-top: 24px; }

.about__text { padding-block: 32px; }
.about__title { font-family: var(--font-head); font-size: 15px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.about__text > p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.about__text .btn { margin-top: 20px; }

.checklist { display: grid; gap: 7px; margin-top: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.checklist svg { font-size: 17px; margin-top: 3px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-block: 24px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 102 / 70; object-fit: cover; border-radius: 6px; transition: opacity .2s; }
.gallery .gallery__main { grid-column: 1 / -1; aspect-ratio: 315 / 86; }
a.gallery:hover img { opacity: .88; }

/* =========================================================
   QUY TRÌNH (bước ngang)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps--6 { grid-template-columns: repeat(6, 1fr); }
.steps li { position: relative; padding: 22px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 38px; right: -13px; z-index: 1;
  width: 10px; height: 10px; border-top: 2px solid var(--yellow-600); border-right: 2px solid var(--yellow-600); transform: rotate(45deg);
}
.steps__num { font-family: var(--font-head); font-size: 30px; font-weight: 900; line-height: 1; color: var(--yellow); }
.steps h3 { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.steps p { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* =========================================================
   ĐỐI TÁC
   ========================================================= */
.partners { background: #fff; border-bottom: 1px solid var(--line); }
.partners__inner { display: flex; align-items: center; gap: 40px; padding-block: 18px; }
.partners__head { flex-shrink: 0; max-width: 300px; }
.partners__head h2 { font-family: var(--font-head); font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.partners__head p { margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.45; }
.partners__logos { flex: 1; display: flex; align-items: center; justify-content: space-around; gap: 20px 32px; flex-wrap: wrap; }
.brand { color: #5d6470; font-size: 19px; line-height: 1; white-space: nowrap; opacity: .85; transition: opacity .2s, color .2s; }
.brand:hover { opacity: 1; color: var(--ink); }
.brand--vicostone { font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.brand--samsung { font-family: var(--font-head); font-weight: 900; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.brand--philips { font-family: var(--font-head); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.brand--panasonic { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.brand--osram { font-family: var(--font-head); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.brand--kosoom { font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 16px; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { background: var(--yellow); background-image: linear-gradient(110deg, var(--yellow) 0%, #ffd84a 60%, var(--yellow) 100%); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-block: 34px; }
.cta-band__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(21, 23, 26, .7); }
.cta-band__title { margin-top: 4px; font-family: var(--font-head); font-size: clamp(20px, 2.1vw, 27px); font-weight: 900; line-height: 1.25; color: var(--ink); }
.cta-band__text { margin-top: 6px; max-width: 620px; font-size: 14.5px; color: rgba(21, 23, 26, .78); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* =========================================================
   TRANG SẢN PHẨM
   ========================================================= */
.catalog__inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.catalog__side { display: grid; gap: 16px; }
.side-box { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.side-box__title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--font-head); font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.side-box__title svg { color: var(--yellow-600); }
.side-box--dark { background: var(--dark); border-color: var(--dark); color: rgba(255, 255, 255, .75); font-size: 13.5px; }
.side-box--dark .side-box__title { color: #fff; }
.side-box--dark .btn { margin-top: 14px; }
.filters { display: grid; gap: 2px; }
.filter {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 9px 12px; border: 0; border-radius: 8px; background: transparent;
  font-size: 14px; font-weight: 500; text-align: left; color: var(--text);
  transition: background-color .2s, color .2s;
}
.filter span { min-width: 26px; padding: 1px 7px; border-radius: 999px; background: var(--strip); font-size: 12px; text-align: center; color: var(--muted); }
.filter:hover { background: var(--strip); }
.filter.is-active { background: var(--yellow-tint); color: var(--ink); font-weight: 700; }
.filter.is-active span { background: var(--yellow); color: var(--ink); }
.filter--line { gap: 10px; padding: 8px 12px; font-size: 13.5px; }
.filter--line em { font-style: normal; line-height: 1.35; }
.filter--line small { flex-shrink: 0; font-size: 11.5px; color: var(--muted); }
.filters--lines li[hidden] { display: none; }

/* Mục lục catalogue */

/* Chưa có bảng thông số */
.spec-empty { display: flex; gap: 18px; padding: 24px; border: 1px dashed var(--yellow-600); border-radius: 14px; background: var(--yellow-tint); }
.spec-empty > svg { font-size: 34px; color: var(--yellow-600); }
.spec-empty h3 { font-size: 16px; font-weight: 700; color: var(--ink); }
.spec-empty p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.spec-empty .btn { margin-top: 16px; }

.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar__search { position: relative; flex: 1; min-width: 220px; }
.toolbar__search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 17px; }
.toolbar__search input {
  width: 100%; height: 44px; padding: 0 16px 0 42px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 14px; outline: none; transition: border-color .2s;
}
.toolbar__search input:focus { border-color: var(--yellow); }
.toolbar__count { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.toolbar__sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.toolbar__sort select, .field select {
  height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 14px; color: var(--ink); appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
}

/* =========================================================
   CHI TIẾT SẢN PHẨM
   ========================================================= */
.product-page { padding-block: 22px 8px; background: #fff; border-bottom: 1px solid var(--line); }
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; padding-block: 22px 40px; }
.pd__main { position: relative; overflow: hidden; border-radius: 14px; background: #efefef; aspect-ratio: 172 / 110; }
.pd__main img { width: 100%; height: 100%; object-fit: cover; }
.pd__main .badge { top: 14px; left: 14px; font-size: 12px; padding: 4px 11px; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumb { width: 96px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: #efefef; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery-thumb img { width: 100%; aspect-ratio: 120 / 78; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active { border-color: var(--yellow); opacity: 1; }

.pd__cat { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow-600); }
.pd__title { margin-top: 6px; font-family: var(--font-head); font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; line-height: 1.2; color: var(--ink); }
.pd__summary { margin-top: 12px; font-size: 15px; color: var(--muted); }
.pd__highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.pd__highlights li { padding: 12px; border-radius: 10px; background: var(--strip); }
.pd__highlights span { display: block; font-size: 12px; color: var(--muted); }
.pd__highlights strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; color: var(--ink); }
.pd__form { margin-top: 22px; }
.pd__variants { margin: 0; padding: 0; border: 0; }
.pd__variants legend { margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { border-color: var(--yellow-600); background: var(--yellow-tint); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pd__terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding: 14px 16px; border: 1px dashed #d6dbe2; border-radius: 12px; }
.pd__terms dt { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.pd__terms dt svg { color: var(--yellow-600); }
.pd__terms dd { margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--ink); }
.pd__buy { display: flex; gap: 12px; margin-top: 20px; }
.pd__buy .btn { flex: 1; }
.qty { display: flex; align-items: center; height: 48px; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty__btn { display: grid; place-items: center; width: 42px; height: 100%; border: 0; background: transparent; font-size: 16px; color: var(--ink); }
.qty__btn:hover { background: var(--strip); }
.qty input { width: 64px; height: 100%; border: 0; text-align: center; font-weight: 700; font-size: 15px; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd__alt { display: flex; gap: 10px; margin-top: 12px; }
.pd__alt .btn, .pd__alt .contact-chip { flex: 1; }
.pd__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pd__trust li { display: flex; align-items: center; gap: 8px; }
.pd__trust svg { font-size: 18px; color: var(--yellow-600); }

/* Tabs */
.tabs__list { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs__tab {
  position: relative; flex-shrink: 0; padding: 14px 18px; border: 0; background: none;
  font-family: var(--font-head); font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--muted);
}
.tabs__tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs__tab[aria-selected="true"] { color: var(--ink); }
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__panel { padding-top: 24px; }
.tabs__panel > .btn { margin-top: 20px; }

.spec-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.spec-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; border-collapse: separate; border-spacing: 0; }
.spec-table th, .spec-table td { padding: 12px 16px; font-size: 14px; text-align: left; vertical-align: top; }
.spec-table th { width: 40%; font-weight: 600; color: var(--muted); }
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table tr:nth-child(odd) { background: var(--bg); }
.spec-side { padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.spec-side h3 { font-size: 14px; font-weight: 700; color: var(--ink); }
.spec-side h3 + * { margin-top: 10px; }
.spec-side .tags + h3 { margin-top: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border-radius: 999px; background: var(--strip); font-size: 13px; }
.doc-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 1px dashed var(--yellow-600); border-radius: 10px; background: var(--yellow-tint); font-size: 14px; font-weight: 600; text-align: left; color: var(--ink); }
.doc-link svg { font-size: 20px; color: var(--yellow-600); }
.doc-link:hover { background: var(--yellow-soft); }

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.info-card > svg { font-size: 26px; color: var(--yellow-600); }
.info-card h3 { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.info-card p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* =========================================================
   GIỚI THIỆU
   ========================================================= */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split__media { position: relative; }
.split__media .gallery { padding: 0; }
.split__badge {
  position: absolute; left: -14px; bottom: -18px; display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 14px; background: var(--yellow); box-shadow: var(--shadow-md); color: var(--ink);
}
.split__badge strong { font-family: var(--font-head); font-size: 34px; font-weight: 900; line-height: 1; }
.split__badge span { font-size: 13px; font-weight: 600; line-height: 1.3; }
.split__text > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 28px 24px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-align: center; }
.value-card__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--yellow-tint); color: var(--yellow-600); font-size: 28px; }
.value-card h3 { margin-top: 14px; font-family: var(--font-head); font-size: 17px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.value-card p { margin-top: 8px; font-size: 14px; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.feature { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature > svg { font-size: 30px; color: var(--yellow-600); }
.feature h3 { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--ink); }
.feature p { margin-top: 4px; font-size: 14px; color: var(--muted); }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-grid li { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cert { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border: 2px solid var(--ink); border-radius: 50%; font-family: var(--font-head); font-size: 13px; font-weight: 900; color: var(--ink); }
.cert-grid strong { display: block; font-size: 15px; color: var(--ink); }
.cert-grid p { font-size: 13px; color: var(--muted); }

/* =========================================================
   NHÀ XƯỞNG
   ========================================================= */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-grid figure { position: relative; overflow: hidden; border-radius: 12px; }
.photo-grid img { width: 100%; height: 100%; aspect-ratio: 102 / 68; object-fit: cover; transition: transform .5s var(--ease); }
.photo-grid figure:hover img { transform: scale(1.04); }
.photo-grid__big { grid-column: 1 / -1; }
.photo-grid__big img { aspect-ratio: 315 / 86; }
.photo-grid figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px;
  background: rgba(21, 23, 26, .78); color: #fff; font-size: 13px; font-weight: 600;
}

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.process li { display: flex; gap: 16px; padding: 22px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.process__icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--yellow); font-size: 22px; }
.process h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.process p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

.oem { background: var(--dark); color: rgba(255, 255, 255, .78); }
.oem__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 24px; }
.oem .eyebrow { color: var(--yellow); }
.oem .h2 { color: #fff; }
.oem__text > p:not(.eyebrow) { margin-top: 12px; }
.oem__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 28px; }
.oem__list li { display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.oem__list svg { font-size: 22px; color: var(--yellow); margin-top: 2px; }
.oem__list strong { display: block; color: #fff; font-size: 14.5px; }
.oem__list span { font-size: 13px; }
.oem__steps { padding: 26px; border-radius: 14px; background: #fff; color: var(--text); }
.oem__steps h3 { font-family: var(--font-head); font-size: 16px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.timeline { margin-top: 18px; counter-reset: t; }
.timeline li { position: relative; padding: 0 0 18px 44px; counter-increment: t; }
.timeline li::before {
  content: counter(t); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 14px;
}
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }
.timeline b { display: block; color: var(--ink); font-size: 15px; }
.timeline span { font-size: 13.5px; color: var(--muted); }

.visit { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.visit__text { max-width: 680px; }
.visit__text p { color: var(--muted); }
.visit__actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* =========================================================
   CHÍNH SÁCH ĐẠI LÝ
   ========================================================= */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.tier--featured { border: 2px solid var(--yellow); box-shadow: 0 24px 50px -24px rgba(234, 182, 8, .55); transform: translateY(-8px); }
.tier__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: 12px; font-weight: 700; white-space: nowrap; }
.tier__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--yellow-tint); color: var(--yellow-600); font-size: 26px; }
.tier--featured .tier__icon { background: var(--yellow); color: var(--ink); }
.tier__name { margin-top: 16px; font-family: var(--font-head); font-size: 19px; font-weight: 900; text-transform: uppercase; color: var(--ink); }
.tier__for { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.tier__list { display: grid; gap: 10px; margin: 20px 0 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.tier__list li { display: flex; gap: 10px; font-size: 14px; }
.tier__list svg { margin-top: 4px; font-size: 14px; color: var(--yellow-600); }
.tier .btn { margin-top: auto; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.section--alt .panel { background: var(--bg); }
.panel__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 16px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.panel__title svg { font-size: 22px; color: var(--yellow-600); }
.panel__title + * { margin-top: 14px; }
.panel p + .panel__title { margin-top: 20px; }
.panel__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.mini-table th, .mini-table td { padding: 10px 12px; font-size: 13.5px; text-align: left; border-bottom: 1px solid var(--line); }
.mini-table th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.mini-table td:first-child { font-weight: 600; color: var(--ink); }

.warranty { display: flex; align-items: center; gap: 32px; padding: 30px; border-radius: 16px; background: var(--yellow-tint); border: 1px solid #f6e4a1; }
.warranty__badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
  width: 150px; height: 150px; border-radius: 50%; background: var(--ink); color: #fff; text-align: center;
}
.warranty__badge strong { font-family: var(--font-head); font-size: 28px; font-weight: 900; color: var(--yellow); line-height: 1; }
.warranty__badge span { margin-top: 6px; padding-inline: 14px; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .75); }
.warranty .h2 { margin-top: 0; }

.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.faq-wrap__head .section-sub { margin-top: 8px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: background-color .2s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow-sm); }
.faq summary {
  position: relative; padding: 16px 52px 16px 18px; list-style: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--strip);
  font-size: 18px; font-weight: 500; line-height: 1; transition: transform .25s var(--ease), background-color .2s;
}
.faq details[open] summary::after { content: "–"; background: var(--yellow); }
.faq details p { padding: 0 18px 16px; font-size: 14px; color: var(--muted); }
.faq details a { color: var(--ink); font-weight: 600; text-decoration: underline; }

.register { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.register__intro > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.contact-list { display: grid; gap: 14px; margin-top: 24px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); }
.contact-list svg { display: block; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--ink); color: var(--yellow); }
.contact-list a, .contact-list b { font-size: 16px; font-weight: 700; color: var(--ink); }

/* =========================================================
   FORM
   ========================================================= */
.form-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.form-card > .h2 { margin-top: 0; }
.form-card > .muted { margin-top: 4px; margin-bottom: 18px; }
.form__title { margin-bottom: 12px; font-size: 15px; font-weight: 700; color: var(--ink); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background-color: var(--bg);
  font-size: 14px; outline: none; resize: vertical; transition: border-color .2s, background-color .2s;
}
.field select { padding-right: 36px; background-color: var(--bg); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--yellow); background-color: #fff; }
.field .is-invalid { border-color: #e5484d; background-color: #fff5f5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { margin: -4px 0 12px; font-size: 13px; color: var(--danger); }
.form__note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.form__note a { color: var(--ink); font-weight: 700; }
.form-success { padding: 24px 8px; text-align: center; }
.form-success > svg { width: 60px; height: 60px; margin: 0 auto 12px; }
.form-success h3 { font-family: var(--font-head); font-size: 22px; font-weight: 900; text-transform: uppercase; color: var(--ink); }
.form-success p { margin-top: 6px; color: var(--muted); }
.form-success .btn { margin-top: 18px; min-width: 140px; }
[data-form-wrap] [hidden] { display: none !important; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-error a { color: inherit; font-weight: 700; text-decoration: underline; }

/* =========================================================
   LIÊN HỆ
   ========================================================= */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.contact-cards li { padding: 24px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.contact-cards__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: 24px; }
.contact-cards h2 { margin-top: 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.contact-cards a, .contact-cards__value { display: block; margin-top: 4px; font-size: 17px; font-weight: 700; color: var(--ink); word-break: break-word; }
.contact-cards a:hover { color: var(--yellow-600); }
.contact-cards p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact__side { display: grid; gap: 16px; }
.contact__side .panel p { margin-top: 6px; font-size: 14px; }
.contact__side .panel p + .panel__title { margin-top: 18px; }
.map { overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--strip); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* 404 */
.notfound { padding-block: 80px; }
.notfound__inner { max-width: 620px; text-align: center; }
.notfound__code { font-family: var(--font-head); font-size: 120px; font-weight: 900; line-height: 1; color: var(--yellow); text-shadow: 0 8px 0 var(--ink); }
.notfound .h2 { margin-top: 24px; }
.notfound__search { display: flex; gap: 10px; margin: 24px 0 16px; }
.notfound__search input { flex: 1; height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; outline: none; }
.notfound__search input:focus { border-color: var(--yellow); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--dark); color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.footer__grid { display: grid; grid-template-columns: 1.25fr 1.5fr 1fr 1fr; gap: 36px; padding-block: 44px 32px; }
.logo--light .logo__icon { color: #fff; }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__text small { color: rgba(255, 255, 255, .6); }
.footer__about { margin: 14px 0 16px; font-size: 13px; line-height: 1.65; }
.footer__title { margin-bottom: 14px; font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.footer__info { display: grid; gap: 9px; }
.footer__info li { display: flex; gap: 10px; }
.footer__info svg { margin-top: 3px; font-size: 15px; color: var(--yellow); }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer__links { display: grid; gap: 7px; }

.social { display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--dark); font-size: 19px;
  transition: transform .25s var(--ease), background-color .2s;
}
.social a:hover { transform: translateY(-2px); background: var(--yellow); color: var(--dark); }
.zalo-word { font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: -.02em; }

.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 16px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .1); }
.footer__slogan { text-transform: uppercase; letter-spacing: .03em; }

/* =========================================================
   NÚT LIÊN HỆ NỔI BẬT (Gọi – Zalo – WeChat)
   ========================================================= */
:root { --zalo: #0068ff; --wechat: #07c160; --phone: #e8412c; }

/* Cụm nút nổi góc phải (máy tính) */
.contact-dock { position: fixed; right: 8px; bottom: 14px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dock-btn {
  display: flex; align-items: center; height: 44px; padding: 4px;
  border: 0; border-radius: 999px; color: #fff; text-align: left;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.dock-btn:hover { transform: translateX(-4px) scale(1.02); box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .55); }
.dock-btn--phone { background: var(--phone); }
.dock-btn--zalo { background: var(--zalo); }
.dock-btn--wechat { background: var(--wechat); }
.dock-btn__icon {
  position: relative; display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; font-size: 18px;
}
.dock-btn--phone .dock-btn__icon { color: var(--phone); animation: ring 2.2s ease-in-out infinite; }
.dock-btn--phone .dock-btn__icon::before, .dock-btn--phone .dock-btn__icon::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8);
  animation: pulse 2.2s ease-out infinite;
}
.dock-btn--phone .dock-btn__icon::after { animation-delay: 1.1s; }
.dock-btn--wechat .dock-btn__icon { color: var(--wechat); }
.dock-btn__icon--zalo { color: var(--zalo); font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: -.02em; }
/* Chữ trên nút: chỉ bung ra khi rê chuột, bình thường là nút tròn nhỏ để không che nội dung */
.dock-btn__text {
  display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; overflow: hidden;
  max-width: 0; opacity: 0; margin: 0;
  transition: max-width .45s var(--ease), opacity .3s, margin .45s var(--ease);
}
.dock-btn:hover .dock-btn__text, .dock-btn:focus-visible .dock-btn__text {
  max-width: 180px; opacity: 1; margin: 0 14px 0 10px;
}
@media (min-width: 2240px) {      /* chỉ màn rất rộng mới đủ chỗ trống bên phải để hiện sẵn chữ */
  .dock-btn__text { max-width: 180px; opacity: 1; margin: 0 14px 0 10px; }
}
.dock-btn__text small { font-size: 11.5px; font-weight: 600; opacity: .9; }
.dock-btn__text b { font-size: 15px; font-weight: 800; letter-spacing: .01em; }
@keyframes ring {
  0%, 50%, 100% { transform: rotate(0); }
  5%, 15%, 25% { transform: rotate(-14deg); }
  10%, 20%, 30% { transform: rotate(14deg); }
}
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

.rfq-float {
  position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease);
}
.rfq-float:hover { transform: translateY(-2px); }
.rfq-float svg { font-size: 20px; color: var(--yellow); }
.rfq-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rfq-float b { position: absolute; top: -5px; left: -5px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; line-height: 22px; text-align: center; }
.rfq-float[hidden] { display: none; }
.rfq-float.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12); } }

/* Thanh liên hệ đáy màn hình (điện thoại) */
.contact-bar { display: none; }

/* Nút liên hệ dạng chip (hero, trang sản phẩm) */
.contact-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: transform .2s var(--ease), filter .2s;
}
.contact-chip:hover { transform: translateY(-2px); filter: brightness(1.08); }
.contact-chip svg { font-size: 18px; }
.contact-chip i { display: grid; place-items: center; height: 22px; padding: 0 6px; border-radius: 6px; background: #fff; color: var(--zalo); font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-weight: 800; }
.contact-chip--phone { background: var(--phone); }
.contact-chip--zalo { background: var(--zalo); }
.contact-chip--wechat { background: var(--wechat); }
.hero__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.hero__contact-label { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .8); }

.btn--wechat { background: var(--wechat); color: #fff; }
.btn--wechat:hover { filter: brightness(1.08); }

/* Popup WeChat */
.modal {
  width: min(420px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 0; border: 0; border-radius: 18px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(10, 12, 16, .6); }
.modal[open] { animation: modal-in .3s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__box { position: relative; padding: 30px 26px 24px; text-align: center; }
.modal__close { position: absolute; top: 10px; right: 10px; }
.wechat-modal__logo { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--wechat); color: #fff; font-size: 32px; }
.wechat-modal__title { margin-top: 12px; font-family: var(--font-head); font-size: 22px; font-weight: 900; text-transform: uppercase; color: var(--ink); }
.wechat-modal__sub { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.wechat-modal__qr { width: 200px; height: 200px; margin: 18px auto 0; padding: 8px; border: 1px solid var(--line); border-radius: 14px; object-fit: contain; }
.wechat-modal__id { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--strip); text-align: left; }
.wechat-modal__id span { font-size: 12px; color: var(--muted); }
.wechat-modal__id b { flex: 1; font-size: 18px; color: var(--ink); word-break: break-all; }
.wechat-modal__steps { margin: 16px 0 18px; padding-left: 20px; list-style: decimal; text-align: left; font-size: 13.5px; color: var(--text); }
.wechat-modal__steps li + li { margin-top: 4px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 16px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast b { color: var(--yellow); }

/* =========================================================
   NGĂN KÉO BÁO GIÁ
   ========================================================= */
.drawer {
  width: min(480px, 100%); height: 100%; max-width: 100%; max-height: 100%;
  margin: 0 0 0 auto; padding: 0; border: 0; background: #fff; color: var(--text);
  box-shadow: var(--shadow-lg);
}
.drawer::backdrop { background: rgba(10, 12, 16, .55); }
.drawer[open] { animation: drawer-in .35s var(--ease); }
@keyframes drawer-in { from { transform: translateX(100%); } }
.drawer__panel { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.drawer__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--yellow-600); }
.drawer__title { margin-top: 2px; font-family: var(--font-head); font-size: 22px; font-weight: 900; text-transform: uppercase; color: var(--ink); }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px 28px; }
.rfq-items { margin-bottom: 20px; }
.rfq-list { display: grid; gap: 10px; }
.rfq-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.rfq-item img { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; background: #efefef; }
.rfq-item__name { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.rfq-item__variant { font-size: 12px; color: var(--muted); }
.rfq-item__ctrl { display: flex; align-items: center; gap: 6px; }
.rfq-item__ctrl input { width: 70px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-weight: 600; outline: none; }
.rfq-item__ctrl input:focus { border-color: var(--yellow); }
.rfq-item__remove { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 16px; }
.rfq-item__remove:hover { background: #fff0f0; color: var(--danger); }
.rfq-empty { padding: 16px; border-radius: 12px; background: var(--strip); font-size: 13.5px; color: var(--muted); }
.rfq-empty a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.rfq-empty[hidden] { display: none; }

/* =========================================================
   MENU SẢN PHẨM THẢ XUỐNG
   ========================================================= */
.topbar__link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }
.topbar__link:hover { color: #fff; }
.nav__caret { margin-left: 2px; font-size: 12px; vertical-align: -1px; transition: transform .25s; }
.nav__expand { display: none; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(16, 24, 40, .35);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
@media (min-width: 992px) {
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
  .has-mega:hover .nav__caret { transform: rotate(180deg); }
}
.mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; padding-block: 26px 30px; }
.mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; }
.mega__group { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.mega__group:hover { color: var(--yellow-600); }
.mega__col ul { display: grid; gap: 4px; }
.mega__col a:not(.mega__group), .mega__side li a { display: block; padding: 3px 0; font-size: 14px; color: var(--text); }
.mega__col a:not(.mega__group):hover, .mega__side li a:hover { color: var(--yellow-600); }
.mega__side { padding: 18px 20px; border-radius: 14px; background: var(--strip); }
.mega__eyebrow { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--yellow-600); }
.mega__side ul { display: grid; gap: 2px; margin-bottom: 14px; }

/* =========================================================
   GIẢI PHÁP
   ========================================================= */
.solution-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.solution-tile {
  position: relative; display: block; overflow: hidden; border-radius: 14px; background: #e9ecef; aspect-ratio: 16 / 9;
}
.solution-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.solution-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 14, 0) 35%, rgba(14, 14, 14, .82) 100%); }
.solution-tile:hover img { transform: scale(1.05); }
.solution-tile__body { position: absolute; left: 18px; right: 64px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; color: #fff; }
.solution-tile__body strong { font-family: var(--font-head); font-size: 17px; font-weight: 800; line-height: 1.25; }
.solution-tile__body span { margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.solution-tile__go {
  position: absolute; right: 16px; bottom: 16px; z-index: 1; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 17px;
  transition: transform .25s var(--ease);
}
.solution-tile:hover .solution-tile__go { transform: translateX(3px); }

.solution-nav { position: relative; z-index: 2; margin-top: -1px; padding-block: 18px; background: #fff; border-bottom: 1px solid var(--line); }
.solution-nav__inner { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.solution-nav .solution-tile { aspect-ratio: 4 / 3; border-radius: 10px; }
.solution-nav .solution-tile__body { left: 10px; right: 10px; bottom: 8px; }
.solution-nav .solution-tile__body strong { font-size: 13px; }
.solution-nav .solution-tile__body span, .solution-nav .solution-tile__go { display: none; }

.solutions { display: grid; gap: 28px; }
.solution {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
  padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; scroll-margin-top: calc(var(--header-h) + 16px);
}
.solution--flip .solution__media { order: 2; }
.solution__media { overflow: hidden; border-radius: 14px; background: #e9ecef; aspect-ratio: 16 / 10; }
.solution__media img { width: 100%; height: 100%; object-fit: cover; }
.solution__body > p:not(.eyebrow):not(.solution__label) { margin-top: 10px; color: var(--muted); }
.solution__label { margin-top: 18px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.solution .btn { margin-top: 20px; }
.line-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.line-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: var(--yellow-tint); border: 1px solid #f6e4a1; font-size: 13.5px; font-weight: 600; color: var(--ink);
  transition: background-color .2s;
}
.line-chip svg { font-size: 13px; }
.line-chip:hover { background: var(--yellow); }

/* Công cụ ước tính */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.calc__intro > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.calc__note { font-size: 13px; padding: 12px 14px; border-left: 3px solid var(--yellow); background: var(--bg); border-radius: 0 10px 10px 0; }
.calc__result { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 6px 0 16px; }
.calc__result div { padding: 14px; border-radius: 12px; background: var(--dark); color: rgba(255, 255, 255, .7); }
.calc__result span { display: block; font-size: 12.5px; }
.calc__result strong { display: block; margin-top: 2px; font-family: var(--font-head); font-size: 22px; font-weight: 900; color: var(--yellow); }

/* Tài liệu */
.doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.doc-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.doc-card:hover { border-color: var(--yellow-600); box-shadow: var(--shadow-md); }
.doc-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--yellow); font-size: 22px; }
.doc-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc-card__body strong { color: var(--ink); font-size: 14.5px; }
.doc-card__body small { font-size: 12.5px; color: var(--muted); }
.doc-card__go { color: var(--yellow-600); font-size: 20px; }
.doc-request { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px dashed var(--yellow-600); border-radius: 14px; background: var(--yellow-tint); }
.doc-request > svg { font-size: 30px; color: var(--yellow-600); }
.doc-request div { flex: 1; display: flex; flex-direction: column; }
.doc-request strong { color: var(--ink); }
.doc-request span { font-size: 13.5px; color: var(--muted); }
.contact-cards__btn { margin-inline: auto; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline dotted; }

/* =========================================================
   CÁC MỤC THUYẾT PHỤC ĐẠI LÝ
   ========================================================= */
.topbar__hire { color: var(--yellow) !important; font-weight: 700; }
.topbar__hire:hover { color: #fff !important; }

/* So sánh trung gian vs nhà máy */
.compare-sec { background: #fff; border-block: 1px solid var(--line); }
.compare { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.compare__row { display: grid; grid-template-columns: 210px minmax(0, 1fr) minmax(0, 1fr); }
.compare__row + .compare__row { border-top: 1px solid var(--line); }
.compare__row > span { display: flex; align-items: center; gap: 12px; padding: 15px 22px; font-size: 14.5px; }
.compare__crit { font-weight: 700; color: var(--ink); background: var(--bg); }
.compare__crit svg { font-size: 19px; color: var(--yellow-600); }
.compare__bad { color: var(--muted); }
.compare__good { background: var(--yellow-tint); color: var(--ink); font-weight: 600; }
.compare i { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; font-style: normal; font-weight: 900; }
.compare__bad i { background: #eceef1; color: #9aa1ab; }
.compare__good i { background: var(--yellow); color: var(--ink); }
.compare__row--head > span { padding-block: 16px; font-family: var(--font-head); font-size: 13.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.compare__row--head .compare__crit { color: var(--muted); }
.compare__row--head .compare__bad { background: #f1f2f4; color: var(--muted); }
.compare__row--head .compare__good { background: var(--dark); color: var(--yellow); }
.compare__row--head .compare__good svg { width: 24px; height: 28px; color: #fff; }
.compare__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap;
  margin-top: 18px; padding: 18px 22px; border: 1px dashed #d6dbe2; border-radius: 14px; background: var(--bg);
}
.compare__cta b { color: var(--ink); }

/* Gói hỗ trợ đại lý */
.kit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 24px; align-items: stretch; }
.kit__intro {
  display: flex; flex-direction: column; padding: 36px; border-radius: 20px; color: rgba(255, 255, 255, .78);
  background: radial-gradient(circle at 88% 12%, rgba(249, 204, 44, .3), transparent 45%), var(--dark);
}
.kit__intro .eyebrow { color: var(--yellow); }
.kit__title { margin-top: 8px; font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; line-height: 1.25; color: #fff; }
.kit__lead { margin-top: 12px; }
.kit__steps { display: grid; gap: 12px; margin: 24px 0 28px; }
.kit__steps li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.kit__steps b { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 14px; }
.kit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.kit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kit__grid li {
  display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.kit__grid li:hover { border-color: var(--yellow-600); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.kit__icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--yellow-tint); color: var(--yellow-600); font-size: 22px; }
.kit__grid h3 { font-size: 15px; font-weight: 700; color: var(--ink); }
.kit__grid p { margin-top: 2px; font-size: 13.5px; color: var(--muted); }

/* Video / tham quan nhà máy */
.video-sec { background: var(--dark); color: rgba(255, 255, 255, .75); }
.video { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.video__frame { position: relative; overflow: hidden; border-radius: 18px; background: #000; aspect-ratio: 12 / 5; }
.video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.video__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .65)); pointer-events: none; }
.video__play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 50%;
  background: var(--yellow); cursor: pointer; animation: video-pulse 2s ease-out infinite;
}
.video__play span { width: 0; height: 0; margin-left: 7px; border-left: 26px solid var(--ink); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.video__play:hover { background: #ffd84a; }
@keyframes video-pulse { 0% { box-shadow: 0 0 0 0 rgba(249, 204, 44, .55); } 100% { box-shadow: 0 0 0 24px rgba(249, 204, 44, 0); } }
.video__label { position: absolute; left: 20px; bottom: 16px; z-index: 2; color: #fff; font-weight: 700; }
.video__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.video__thumbs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.video__text .eyebrow { color: var(--yellow); }
.video__text .h2 { color: #fff; }
.video__text > p:not(.eyebrow) { margin-top: 12px; }
.video__text .checklist li { color: rgba(255, 255, 255, .9); }
.video__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Khu vực đang tuyển nhà phân phối */
.regions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.region {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.region:hover { border-color: var(--yellow-600); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.region::after { content: ""; position: absolute; right: -34px; top: -34px; width: 110px; height: 110px; border-radius: 50%; background: var(--yellow-tint); }
.region > * { position: relative; z-index: 1; }
.region__no { font-family: var(--font-head); font-size: 28px; font-weight: 900; line-height: 1; color: var(--yellow); }
.region h3 { margin-top: 10px; font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--ink); }
.region p { flex: 1; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.region__status { align-self: flex-start; margin-top: 14px; padding: 3px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 700; }
.region__status::before { content: "● "; }
.region__status--few { background: #fef3c7; color: #b45309; }
.region__status--closed { background: #f1f2f4; color: var(--muted); }
.region--closed .region__no { color: #c9ced6; }
.region--closed::after { background: var(--strip); }
.region__btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0; border: 0; background: none; font-size: 13.5px; font-weight: 700; text-align: left; color: var(--ink); }
.region__btn:hover { color: var(--yellow-600); }
.regions__req { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 16px; padding: 18px 22px; border-radius: 14px; background: var(--dark); color: rgba(255, 255, 255, .85); }
.regions__req h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #fff; }
.regions__req h3 svg { font-size: 20px; color: var(--yellow); }
.regions__req ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.regions__req li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.regions__req li svg { color: var(--yellow); }

/* Nhận bảng giá + hỏi đáp */
.lead-sec { background: linear-gradient(180deg, var(--bg), #fff); }
.lead { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.lead__box { padding: 32px; border: 2px solid var(--yellow); border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -36px rgba(234, 182, 8, .6); }
.lead__title { margin-top: 6px; font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; line-height: 1.25; color: var(--ink); }
.lead__text { margin: 8px 0 20px; color: var(--muted); }
.lead__privacy { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.lead__privacy svg { color: var(--green, #16a34a); }
.lead__faq .section-title { margin-bottom: 16px; }
.lead__more { margin-top: 14px; }

/* =========================================================
   TRANG TUYỂN ĐẠI LÝ
   ========================================================= */
.recruit-hero {
  position: relative; overflow: hidden; color: #fff;
  background: #121212 url("../img/hero.jpg") right center / cover no-repeat;
}
.recruit-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 14, 14, .95) 0%, rgba(14, 14, 14, .86) 50%, rgba(14, 14, 14, .55) 100%);
}
.recruit-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: 40px 96px; }
.recruit-hero__tag {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 6px 14px; border-radius: 999px;
  background: rgba(249, 204, 44, .14); color: var(--yellow); font-size: 13.5px; font-weight: 700;
}
.recruit-hero__tag span { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.btn--block { white-space: normal; text-align: center; }
.recruit-hero__title { margin-top: 14px; font-family: var(--font-head); font-size: clamp(28px, 2.9vw, 44px); font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.recruit-hero__title span { display: block; color: var(--yellow); }
.recruit-hero__lead { max-width: 640px; margin-top: 14px; font-size: 16.5px; color: rgba(255, 255, 255, .85); }
.recruit-hero__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-top: 22px; max-width: 700px; }
.recruit-hero__points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 600; }
.recruit-hero__points svg { width: 19px; height: 19px; margin-top: 2px; }
.recruit-hero .hero__contact { margin-top: 26px; }

.recruit-form { padding: 28px; border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.recruit-form__badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--yellow-tint); color: #8a6a00; font-size: 12.5px; font-weight: 700; }
.recruit-form__title { margin: 10px 0 18px; font-family: var(--font-head); font-size: 22px; font-weight: 900; line-height: 1.25; color: var(--ink); }
.recruit-form .field { margin-bottom: 12px; }

.stats--overlap { position: relative; z-index: 2; margin-top: -56px; padding-bottom: 8px; }
.stats--overlap .stats__grid { box-shadow: var(--shadow-md); }

/* Ước tính tiết kiệm */
.saving { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.saving__intro > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.saving__box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.range { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.range__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.range__head b { font-size: 14.5px; color: var(--ink); }
.range__head output { font-family: var(--font-head); font-size: 20px; font-weight: 900; color: var(--yellow-600); white-space: nowrap; }
.range__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.range input[type="range"] { width: 100%; height: 8px; margin: 0; appearance: none; border-radius: 999px; background: linear-gradient(90deg, var(--yellow) var(--fill, 50%), var(--strip) var(--fill, 50%)); cursor: pointer; }
.range input[type="range"]::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 4px solid var(--yellow); box-shadow: var(--shadow-sm); }
.range input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 4px solid var(--yellow); }
.saving__result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.saving__result div { padding: 18px; border-radius: 14px; background: var(--dark); color: rgba(255, 255, 255, .7); }
.saving__result span { display: block; font-size: 13px; }
.saving__result strong { display: block; margin-top: 4px; font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; color: var(--yellow); }

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

/* =========================================================
   TIN TỨC & BÀI VIẾT
   ========================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card[hidden] { display: none; }
.post-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #eef0f3; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.post-card__meta { font-size: 12.5px; color: var(--muted); }
.post-card__meta span { font-weight: 700; color: var(--yellow-600); }
.post-card__title { margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.post-card__title a:hover { color: var(--yellow-600); }
.post-card__excerpt { margin-top: 8px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.post-card__more:hover { color: var(--yellow-600); }

.chip-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip-filter { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--text); }
.chip-filter span { min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--strip); font-size: 12px; text-align: center; }
.chip-filter:hover { border-color: var(--ink); }
.chip-filter.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip-filter.is-active span { background: var(--yellow); color: var(--ink); }

.post-head { background: #fff; border-bottom: 1px solid var(--line); }
.post-head__inner { padding-block: 26px 34px; }
.post-head__inner > * { max-width: 920px; }
.post-head__cat { margin-top: 18px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow-600); }
.post-head__title { margin-top: 8px; font-family: var(--font-head); font-size: clamp(26px, 3vw, 42px); font-weight: 900; line-height: 1.22; color: var(--ink); }
.post-head__excerpt { margin-top: 12px; font-size: 17px; color: var(--muted); }
.post-head__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.post-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-head__meta svg { font-size: 16px; color: var(--yellow-600); }
.post-head__meta span:first-child svg { width: 14px; height: 17px; color: var(--ink); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-block: 32px 24px; }
.post-main { max-width: 820px; }
.post-cover { overflow: hidden; border-radius: 16px; background: #eef0f3; aspect-ratio: 16 / 8; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-toc { margin-top: 24px; padding: 18px 22px; border-left: 4px solid var(--yellow); border-radius: 0 12px 12px 0; background: #fff; }
.post-toc p { font-weight: 800; color: var(--ink); }
.post-toc ol { margin-top: 8px; padding-left: 20px; list-style: decimal; display: grid; gap: 4px; }
.post-toc a { color: var(--text); }
.post-toc a:hover { color: var(--yellow-600); text-decoration: underline; }

.prose { margin-top: 26px; font-size: 16.5px; line-height: 1.8; color: var(--text); }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 38px; font-family: var(--font-head); font-size: 24px; font-weight: 800; line-height: 1.3; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { margin-top: 28px; font-size: 19px; font-weight: 700; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--yellow-600); font-weight: 700; }
.prose a { color: #0b6bcb; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--yellow-600); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 26px 0 0; padding: 16px 20px; border-left: 4px solid var(--yellow); border-radius: 0 12px 12px 0; background: var(--yellow-tint); color: var(--ink); }
.prose figure { margin: 26px 0 0; }
.prose img { border-radius: 12px; }
.prose figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); text-align: center; }
.post-updated { margin-top: 26px; font-size: 13px; color: var(--muted); }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.post-share > span { font-weight: 700; color: var(--ink); }
.share-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.share-btn:hover { border-color: var(--ink); }
.share-btn--fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-btn--zalo { background: var(--zalo); border-color: var(--zalo); color: #fff; }
.share-btn i { padding: 0 5px; border-radius: 5px; background: #fff; color: var(--zalo); font-style: normal; font-size: 10.5px; font-weight: 800; }

.post-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.post-cta { padding: 24px; border-radius: 18px; color: rgba(255, 255, 255, .78); background: radial-gradient(circle at 90% 10%, rgba(249, 204, 44, .28), transparent 45%), var(--dark); }
.post-cta .eyebrow { color: var(--yellow); }
.post-cta h2 { margin-top: 6px; font-family: var(--font-head); font-size: 21px; font-weight: 900; line-height: 1.3; color: #fff; }
.post-cta > p:not(.eyebrow) { margin: 8px 0 18px; font-size: 14px; }
.post-cta__chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.post-cta__chips .contact-chip { padding: 0; height: 40px; }
.post-side__recruit { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 1px dashed var(--yellow-600); border-radius: 14px; background: var(--yellow-tint); color: var(--ink); font-size: 13.5px; }
.post-side__recruit svg { font-size: 26px; color: var(--yellow-600); }
.post-side__recruit b { display: block; font-size: 15px; }

/* =========================================================
   HIỆU ỨNG XUẤT HIỆN
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* Dưới 1400px: ô tìm kiếm thu thành nút, thả xuống khi bấm */
@media (max-width: 1399px) {
  .header__inner { gap: 22px; }
  .header__search-toggle { display: inline-grid; }
  .search {
    position: absolute; left: 0; right: 0; top: 100%; width: auto;
    padding: 12px var(--gutter); background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -16px rgba(16, 24, 40, .35);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .search.is-open { opacity: 1; visibility: visible; transform: none; }
  .search input { height: 44px; }
  .search button { right: calc(var(--gutter) + 6px); top: 18px; }
  .search { max-width: none; }
  .header .container { position: static; }
}

@media (max-width: 1399px) {
  .topbar__links li:nth-child(3) { display: none; }   /* email vẫn có ở chân trang và trang Liên hệ */
}

@media (max-width: 1199px) {
  .nav__list { gap: 18px; }
  .hotline span { display: none; }
}

@media (max-width: 1100px) {
  .regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kit { grid-template-columns: minmax(0, 1fr); }
  .video { gap: 32px; }
  .solution-tiles, .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-nav__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-products--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .perks li:nth-child(3) { border-left: 0; }
  .about__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .why { grid-column: 1 / -1; padding: 40px 0; }
  .why::before, .why::after { right: -100vw; clip-path: none; }
  .why::after { display: none; }
  .about__text { padding-block: 28px 0; align-self: start; }
  .gallery { padding-block: 28px; }
  .partners__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .partners__logos { width: 100%; justify-content: space-between; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--6 { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(3n)::after { display: none; }
  .info-grid, .cert-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .pd { gap: 32px; }
  .pd__highlights { grid-template-columns: repeat(2, 1fr); }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: flex-end; }
}

@media (max-width: 991px) {
  :root { --header-h: 68px; }

  /* Thanh liên hệ cố định đáy màn hình */
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .contact-dock { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .dock-btn { display: none; }
  .contact-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
    box-shadow: 0 -10px 24px -12px rgba(0, 0, 0, .45);
  }
  .contact-bar__btn {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: 62px; padding: 0; border: 0; color: #fff; font-size: 12.5px; font-weight: 700;
  }
  .contact-bar__btn svg { font-size: 21px; }
  .contact-bar__btn--phone { background: var(--phone); }
  .contact-bar__btn--phone svg { animation: ring 2.2s ease-in-out infinite; }
  .contact-bar__btn--zalo { background: var(--zalo); }
  .contact-bar__btn--wechat { background: var(--wechat); }
  .contact-bar__btn--rfq { background: var(--ink); }
  .contact-bar__btn--rfq svg { color: var(--yellow); }
  .contact-bar__btn i { display: grid; place-items: center; height: 21px; padding: 0 5px; border-radius: 5px; background: #fff; color: var(--zalo); font-family: Arial, Helvetica, sans-serif; font-size: 10.5px; font-style: normal; font-weight: 800; }
  .contact-bar .count-badge { top: 6px; right: calc(50% - 24px); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .rfq-float { display: none; }

  /* Menu sản phẩm trong ngăn kéo mobile */
  .has-mega { position: relative; }
  .nav__caret { display: none; }
  .nav__expand {
    position: absolute; right: 0; top: 4px; display: grid; place-items: center; width: 40px; height: 40px;
    border: 0; border-radius: 8px; background: var(--strip); color: var(--ink); font-size: 18px;
  }
  .nav__expand svg { transition: transform .25s; }
  .has-mega.is-open .nav__expand svg { transform: rotate(180deg); }
  .has-mega .nav__link::after { display: none; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
  .has-mega.is-open .mega { display: block; }
  .mega .container { padding: 0; }
  .mega__inner { grid-template-columns: 1fr; gap: 10px; padding: 6px 0 12px; }
  .mega__cols { grid-template-columns: 1fr; gap: 0; }
  .mega__col ul { display: none; }
  .mega__group { margin: 0; padding: 10px 12px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; text-transform: none; border-radius: 8px; }
  .mega__group:hover { background: var(--strip); }
  .mega__side { padding: 12px; }
  .mega__side ul { display: none; }

  .solution, .calc { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .video, .lead, .saving, .recruit-hero__inner, .post-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .post-side { position: static; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recruit-hero__inner { padding-bottom: 88px; }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .compare__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .compare__row .compare__crit { grid-column: 1 / -1; padding-block: 10px; }
  .compare__row--head .compare__crit { display: none; }
  .solution--flip .solution__media { order: 0; }
  .topbar { display: none; }
  .header__menu, .header__rfq { display: inline-grid; }
  .hotline { margin-left: auto; }
  .header__search-toggle { margin-left: -12px; }

  /* Menu trượt bên phải */
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2;
    width: min(320px, 86vw); flex-direction: column; justify-content: flex-start;
    padding: 16px 20px 24px; background: #fff; box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .35);
    transform: translateX(105%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
    font-family: var(--font-head); font-weight: 800; text-transform: uppercase; color: var(--ink);
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--strip); }
  .nav__link::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%) scale(0); }
  .nav__link:hover::after, .nav__link.is-active::after { transform: translateY(-50%) scale(1); }
  .nav__foot { display: grid; gap: 10px; margin-top: auto; }
  .nav__hotline, .nav__zalo {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; border-radius: 999px; font-weight: 700;
  }
  .nav__hotline { background: var(--yellow); color: var(--ink); }
  .nav__zalo { border: 1.5px solid var(--ink); color: var(--ink); }
  .nav__hotline svg, .nav__zalo svg { font-size: 18px; }
  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 1;
    background: rgba(10, 12, 16, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(90deg, rgba(14, 14, 14, .9) 0%, rgba(14, 14, 14, .72) 55%, rgba(14, 14, 14, .3) 100%); }
  .hero__inner { padding-block: 56px; }

  .catalog__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .catalog__side { position: static; min-width: 0; }
  .side-box--dark { display: none; }
  .side-box { min-width: 0; padding: 0; border: 0; background: none; }
  .side-box__title { display: none; }
  .filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { width: auto; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; white-space: nowrap; }
  .filter.is-active { border-color: var(--yellow-600); }
  .side-box--lines.is-all { display: none; }

  .pd { grid-template-columns: minmax(0, 1fr); }
  .spec-layout, .two-col, .split, .oem__inner, .register, .contact, .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split__badge { left: 12px; bottom: -16px; }
  .audience, .value-grid, .tiers { grid-template-columns: 1fr; }
  .tier--featured { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
  .visit { flex-direction: column; align-items: flex-start; }
  .visit__actions { flex-direction: row; flex-wrap: wrap; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid li:nth-child(3) { border-left: 0; }
  .stats__grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats--dark .stats__grid li:nth-child(n+3) { border-top-color: rgba(255, 255, 255, .12); }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 21px; }
  .post-cover { aspect-ratio: 16 / 9; }
  .recruit-hero__inner { padding-block: 28px 80px; }
  .recruit-hero__points { grid-template-columns: minmax(0, 1fr); }
  .recruit-form, .saving__box { padding: 20px 16px; }
  .range__head { flex-direction: column; gap: 2px; }
  .saving__result { grid-template-columns: minmax(0, 1fr); }
  .region { padding: 18px 16px 16px; }
  .kit__intro, .lead__box { padding: 22px 18px; }
  .kit__grid { grid-template-columns: minmax(0, 1fr); }
  .compare__row > span { padding: 12px 14px; font-size: 13.5px; gap: 8px; }
  .compare__cta { flex-direction: column; align-items: stretch; }
  .video__play { width: 64px; height: 64px; }
  .video__play span { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; }
  .video__frame { aspect-ratio: 16 / 9; }
  .hero__contact { gap: 8px; }
  .hero__contact-label { flex-basis: 100%; }
  .hero__contact .contact-chip { flex: 1 1 auto; height: 42px; padding: 0 12px; font-size: 13px; }
  .pd__alt .contact-chip { width: 100%; }
  .solution-tiles { grid-template-columns: minmax(0, 1fr); }
  .solution-nav__inner { display: flex; overflow-x: auto; scrollbar-width: none; }
  .solution-nav .solution-tile { flex: 0 0 140px; }
  .solution { padding: 16px; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .doc-request { flex-direction: column; align-items: flex-start; }
  .calc__result strong { font-size: 19px; }
  body { font-size: 14.5px; }
  .logo__icon { width: 34px; height: 40px; }
  .logo__text strong { font-size: 18px; }
  .logo__text small { font-size: 10.5px; }
  .hotline { display: none; }
  .header__inner { gap: 4px; }
  .header__search-toggle { margin-left: auto; }

  /* Mobile: chữ trên nền tối, cụm đèn hiện ở dải dưới cùng */
  .hero {
    display: block; min-height: 0; padding-bottom: 200px;
    background: #121212 url("../img/hero-m.jpg") 50% 100% / auto 250px no-repeat;
  }
  .hero::before { background: linear-gradient(180deg, #121212 0%, #121212 calc(100% - 270px), rgba(18, 18, 18, .55) calc(100% - 190px), rgba(18, 18, 18, 0) calc(100% - 120px)); }
  .hero__inner { padding-block: 36px 8px; }
  .hero__eyebrow { font-size: 12.5px; }
  .hero__title { font-size: 29px; }
  .hero__lead { font-size: 15px; }
  .hero__features { flex-direction: column; gap: 14px; margin-top: 22px; }
  .hero__features li { border-right: 0; margin-right: 0; padding-right: 0; }
  .hero__features svg { font-size: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .page-hero .container { padding-block: 28px 32px; }
  .page-hero__lead { font-size: 14.5px; }
  .page-hero__actions .btn { flex: 1 1 auto; }

  .section { padding-block: 32px; }
  .section-head { align-items: flex-start; margin-bottom: 16px; }
  .section-head > div { min-width: 0; }
  .section-title { font-size: 18px; }
  .section-head > div:not(.faq-wrap__head) .section-title::before { bottom: 2px; }
  .section-sub { padding-left: 0; margin-top: 8px; font-size: 13px; }
  .see-all { padding-top: 2px; }

  .grid-6, .grid-products, .grid-products--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card__body { padding: 12px; }
  .card__title { font-size: 14px; }
  .pill { height: 30px; padding: 0 11px; }
  .perks { grid-template-columns: 1fr; padding: 8px 4px; row-gap: 0; }
  .perks li { padding: 12px 14px; }
  .perks li + li { border-left: 0; border-top: 1px solid #dde3ea; }

  .about__inner { grid-template-columns: 1fr; gap: 0; }
  .why { padding: 36px 0; }
  .about__text { padding-block: 28px 8px; }
  .gallery { padding-block: 20px 28px; }
  .steps, .steps--6 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .steps li { padding: 16px 14px; }
  .steps li::after { display: none; }
  .steps__num { font-size: 24px; }

  .partners__logos { justify-content: flex-start; gap: 18px 28px; }
  .brand { font-size: 16px; }
  .brand--panasonic, .brand--osram { font-size: 17px; }

  .toolbar { gap: 10px; }
  .toolbar__search { flex-basis: 100%; }
  .toolbar__sort { margin-left: auto; }
  .toolbar__sort span { display: none; }

  .pd { padding-block: 16px 28px; }
  .pd__terms { grid-template-columns: 1fr; gap: 8px; }
  .pd__terms div { display: flex; justify-content: space-between; gap: 12px; }
  .pd__buy { flex-direction: column; }
  .qty { align-self: flex-start; }
  .pd__alt { flex-direction: column; }
  .pd__buy .btn, .pd__alt .btn, .pd__alt .contact-chip { flex: none; width: 100%; }
  .info-grid, .cert-grid, .process, .oem__list, .feature-grid, .contact-cards { grid-template-columns: 1fr; }
  .feature { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .feature:last-child { border-bottom: 0 !important; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .photo-grid figure:last-child { grid-column: 1 / -1; }
  .photo-grid figure:last-child img { aspect-ratio: 16 / 7; }
  .warranty { flex-direction: column; align-items: flex-start; padding: 24px; }
  .warranty__badge { width: 120px; height: 120px; }
  .form-card, .panel, .oem__steps, .visit { padding: 20px; }
  .spec-table th, .spec-table td { padding: 10px 12px; font-size: 13.5px; }
  .notfound__code { font-size: 90px; }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; padding-block: 34px 22px; }
  .footer__bottom { flex-direction: column; gap: 4px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .drawer__head, .drawer__body { padding-inline: 16px; }
}

@media (max-width: 380px) {
  .logo__text small { display: none; }
  .card__desc { white-space: normal; }
  .grid-products .product__moq { font-size: 11.5px; }
}

/* =========================================================
   ĐẶT LỊCH HẸN VỚI NHÀ MÁY
   ========================================================= */
.footer__link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: color .2s; }
.footer__link-btn:hover { color: var(--yellow); }
.contact-chip--booking { background: var(--yellow); color: var(--ink); }

.booking-panel { display: flex; gap: 16px; align-items: flex-start; border-color: var(--yellow); background: var(--yellow-tint); }
.booking-panel__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--yellow); color: var(--ink); font-size: 24px; }
.booking-panel .panel__title + p { margin-top: 8px; }
.booking-panel__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.booking-modal { width: min(620px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; overscroll-behavior: contain; }
.booking { position: relative; padding: 24px 24px 20px; text-align: left; }
.booking__head { display: flex; gap: 14px; align-items: center; padding-right: 36px; }
.booking__badge { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--yellow); color: var(--ink); font-size: 26px; }
.booking__title { font-family: var(--font-head); font-size: 21px; font-weight: 900; line-height: 1.2; text-transform: uppercase; color: var(--ink); }
.booking__sub { margin-top: 4px; font-size: 13px; color: var(--muted); }
.booking__form { margin-top: 16px; }
.booking__label { display: block; margin: 16px 0 8px; padding: 0; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.booking__label small { font-weight: 600; text-transform: none; color: var(--muted); }
.booking__kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.booking__kinds legend { margin-top: 0; }
.booking-kind { position: relative; cursor: pointer; }
.booking-kind input { position: absolute; opacity: 0; pointer-events: none; }
.booking-kind span { display: grid; align-content: start; gap: 2px; height: 100%; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.booking-kind svg { font-size: 22px; color: var(--muted); margin-bottom: 4px; }
.booking-kind b { font-size: 13.5px; line-height: 1.3; color: var(--ink); }
.booking-kind small { font-size: 12px; line-height: 1.35; color: var(--muted); }
.booking-kind:hover span { border-color: var(--yellow-600); }
.booking-kind input:checked + span { border-color: var(--yellow-600); background: var(--yellow-tint); box-shadow: 0 0 0 3px rgba(249, 204, 44, .35); }
.booking-kind input:checked + span svg { color: var(--ink); }
.booking-kind input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.booking__days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.booking-day {
  flex: none; display: grid; justify-items: center; gap: 1px; width: 66px; padding: 8px 4px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; scroll-snap-align: start;
  transition: border-color .2s, background-color .2s;
}
.booking-day small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.booking-day b { font-family: var(--font-head); font-size: 19px; font-weight: 900; line-height: 1.15; }
.booking-day em { font-size: 11px; font-style: normal; color: var(--muted); }
.booking-day:hover { border-color: var(--yellow-600); }
.booking-day.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.booking-day.is-active small, .booking-day.is-active em { color: rgba(255, 255, 255, .75); }

.booking__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.booking__hint { grid-column: 1 / -1; padding: 10px 12px; border-radius: 10px; background: var(--strip); font-size: 13px; color: var(--muted); }
.booking-time {
  height: 38px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.booking-time:hover:not(:disabled) { border-color: var(--yellow-600); }
.booking-time.is-active { border-color: var(--yellow-600); background: var(--yellow); }
.booking-time:disabled { background: var(--strip); color: #b3b9c2; text-decoration: line-through; cursor: not-allowed; }
.booking .field-row { margin-top: 0; }
.booking .form-success { padding: 34px 8px 14px; }
.booking .form-success p b { color: var(--ink); }

@media (max-width: 560px) {
  .booking { padding: 20px 16px 16px; }
  .booking__title { font-size: 18px; }
  .booking__badge { width: 44px; height: 44px; font-size: 22px; }
  .booking__kinds { grid-template-columns: minmax(0, 1fr); }
  .booking-kind span { grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; }
  .booking-kind svg { grid-row: span 2; margin: 0; }
  .booking-panel { flex-direction: column; }
}

/* =========================================================
   TINH CHỈNH SAU KIỂM TRA TOÀN TRANG (10/2026)
   ========================================================= */
/* Tiêu đề, nút không để 1 chữ lẻ loi ở dòng cuối */
h1, h2, h3, .section-title, .cta-band__title, .page-hero__title, .recruit-hero__title, .btn, .tier__tag { text-wrap: balance; }
p, li, .cta-band__text, .section-sub { text-wrap: pretty; }
.stats__grid strong { white-space: nowrap; }

/* Danh sách có dấu tích: dấu tích thẳng dòng đầu khi chữ xuống 2 dòng */
.regions__req li, .audience__card li { align-items: flex-start; }
.regions__req li svg, .audience__card li svg { flex: none; margin-top: 3px; }
.regions__req { align-items: flex-start; }
.regions__req ul { flex: 1 1 520px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }

/* Ô ứng dụng: chữ luôn đọc rõ trên ảnh */
.solution-tile::after { background: linear-gradient(180deg, rgba(14, 14, 14, .08) 20%, rgba(14, 14, 14, .9) 100%); }
.solution-tile__body strong, .solution-tile__body span { text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }

/* Tên sản phẩm tối đa 2 dòng, các thẻ thẳng hàng */
.product .card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 2); }

/* Link trong bài viết theo màu thương hiệu */
.prose a { color: var(--ink); text-decoration-color: var(--yellow-600); text-decoration-thickness: 2px; }
.prose a:hover { color: #8a6a00; }
.post-cta__chips .contact-chip { font-size: 13px; gap: 5px; }

/* Bản đồ: nền chờ + link mở Google Maps */
.map { background: var(--strip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23b3b9c2' stroke-width='1.6'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / 48px no-repeat; }
.map__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow-600); text-underline-offset: 4px; }
.map__link svg { font-size: 18px; color: var(--yellow-600); }

@media (max-width: 720px) {
  /* Tiêu đề khối + link "Xem tất cả" xếp dọc, tiêu đề không bị bóp */
  .section-head:not(.section-head--center) { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* Lưới 2 cột có số mục lẻ: mục cuối trải hết hàng */
  .steps > li:last-child:nth-child(odd), .regions > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .regions__req { flex-direction: column; gap: 12px; }
  .regions__req ul { flex-basis: auto; grid-template-columns: minmax(0, 1fr); }
  /* Số liệu không bị xuống dòng */
  .stats__grid li { padding: 18px 8px; }
  .stats__grid strong { font-size: clamp(22px, 6.6vw, 28px); }
  /* Thẻ thông số sản phẩm: xuống dòng thay vì bị cắt */
  .tabs__list { flex-wrap: wrap; overflow: visible; gap: 0 2px; }
  .tabs__tab { padding: 12px 10px; font-size: 12.5px; }
  /* Liên hệ: 2 cột gọn */
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .contact-cards li { padding: 16px 10px; }
  .contact-cards__icon { width: 44px; height: 44px; font-size: 20px; }
  .contact-cards a, .contact-cards__value { font-size: 15px; }
  /* Chân trang: link dễ bấm hơn */
  .footer__links { gap: 0; }
  .footer__links a, .footer__links .footer__link-btn { display: inline-block; padding-block: 7px; }
  /* Huy hiệu "15+ năm" không che ảnh nhỏ */
  .split__badge { position: static; display: inline-flex; margin-top: 12px; padding: 10px 14px; box-shadow: none; }
  .split__badge strong { font-size: 26px; }
}

/* Hộp tải catalogue */
.catalog-docs { display: grid; gap: 8px; margin: 10px 0 16px; text-align: left; }
.catalog-docs p { color: var(--muted); text-align: center; }
.catalog-docs .doc-card { padding: 12px 14px; }
.hero__actions .btn svg { font-size: 18px; }

/* Chia sẻ sản phẩm */
.pd__share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.pd__share > span { width: 100%; font-size: 13px; color: var(--muted); }
.share-btn i { display: grid; place-items: center; height: 20px; padding: 0 5px; border-radius: 5px; background: #fff; color: var(--zalo); font-family: Arial, Helvetica, sans-serif; font-size: 10.5px; font-style: normal; font-weight: 800; }

/* Logo quả địa cầu theo bảng hiệu */
.logo__icon { width: 52px; height: 52px; }
.footer__company { margin-top: 12px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.footer__company b { color: #fff; }

/* Sản phẩm chủ lực: đèn pha LED */
.flagship__box { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.flagship__media { position: relative; min-height: 360px; background: var(--dark); }
.flagship__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.flagship__badge { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.flagship__text { padding: clamp(22px, 3vw, 40px); }
.flagship__lead { margin-top: 10px; color: var(--muted); }
.flagship__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-top: 18px; }
.flagship__points li { display: flex; gap: 10px; align-items: flex-start; }
.flagship__points svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--yellow-tint); color: var(--yellow-600); }
.flagship__points b { display: block; font-size: 14px; color: var(--ink); }
.flagship__points span { font-size: 13px; color: var(--muted); }
.flagship__apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; }
.flagship__apps > span { font-weight: 700; color: var(--ink); }
.flagship__apps a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); transition: border-color .2s, background-color .2s; }
.flagship__apps a:hover { border-color: var(--yellow-600); background: var(--yellow-tint); }
.flagship__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.flagship__products { margin-top: 18px; }
@media (max-width: 991px) {
  .flagship__box { grid-template-columns: minmax(0, 1fr); }
  .flagship__media { min-height: 220px; }
}
@media (max-width: 560px) {
  .flagship__points { grid-template-columns: minmax(0, 1fr); }
  .flagship__actions .btn { width: 100%; }
  .logo__icon { width: 38px; height: 38px; }
}

/* Ảnh thật: bảng hiệu công ty, showroom */
.panel__photo { width: 100%; height: auto; margin: 4px 0 16px; border-radius: 12px; }
.flagship__media img { object-position: 50% 38%; }
@media (max-width: 991px) { .flagship__media { min-height: 300px; } }

/* =========================================================
   GIỎ BÁO GIÁ (trang đầy đủ)
   ========================================================= */
.rfq-full { margin: 12px 0 4px; white-space: normal; text-align: center; }
.page-hero--slim .container { padding-block: 32px 30px; }
.cart-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 900px; margin-top: 22px; counter-reset: s; }
.cart-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); font-size: 13.5px; font-weight: 700; }
.cart-steps b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 13px; }
.cart-steps small { display: block; font-weight: 500; color: rgba(255, 255, 255, .6); }
.cart-steps li.is-on { background: var(--yellow); color: var(--ink); }
.cart-steps li.is-on b { background: var(--ink); color: var(--yellow); }
.cart-steps li.is-on small { color: rgba(21, 23, 26, .7); }

.cartp__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.cartp__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cartp__title { font-family: var(--font-head); font-size: 20px; font-weight: 900; text-transform: uppercase; color: var(--ink); }
.cartp__count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--yellow); font-size: 14px; vertical-align: 3px; }
.cart-list { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 26px 96px minmax(0, 1fr) auto 40px; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cart-item__no { font-weight: 800; color: var(--muted); text-align: center; }
.cart-item__img img { width: 96px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--strip); }
.cart-item__info { display: grid; gap: 4px; min-width: 0; }
.cart-item__name { font-weight: 700; line-height: 1.3; color: var(--ink); }
.cart-item__name:hover { color: var(--yellow-600); }
.cart-item__variant { font-size: 12.5px; color: var(--muted); }
.cart-item__note { width: 100%; height: 34px; padding: 0 10px; border: 1px dashed #cfd5dd; border-radius: 8px; background: var(--bg); font-size: 13px; outline: none; }
.cart-item__note:focus { border-style: solid; border-color: var(--yellow-600); background: #fff; }
.cart-item__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cart-item__qty button { width: 34px; height: 38px; border: 0; background: var(--strip); font-size: 18px; font-weight: 700; color: var(--ink); }
.cart-item__qty button:hover { background: var(--yellow); }
.cart-item__qty input { width: 64px; height: 38px; border: 0; text-align: center; font-weight: 800; color: var(--ink); outline: none; -moz-appearance: textfield; }
.cart-item__qty input::-webkit-outer-spin-button, .cart-item__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item__remove { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 17px; }
.cart-item__remove:hover { background: #fff0f0; color: var(--danger); }
.cart-empty { padding: 34px 24px; border: 2px dashed var(--line); border-radius: 16px; background: #fff; text-align: center; }
.cart-empty__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--yellow-tint); color: var(--yellow-600); font-size: 28px; }
.cart-empty h3 { margin-top: 10px; font-family: var(--font-head); font-size: 18px; font-weight: 900; color: var(--ink); }
.cart-empty p { max-width: 460px; margin: 6px auto 0; color: var(--muted); }
.cart-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.cart-add { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--strip); }
.cart-add label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.cart-add__row { display: flex; gap: 10px; }
.cart-add__select { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.cart-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.cart-perks li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cart-perks svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--yellow-tint); color: var(--yellow-600); }
.cart-perks b { display: block; font-size: 13.5px; color: var(--ink); }
.cart-perks span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.cart-suggest { margin-top: 30px; }
.cart-suggest__title { margin-bottom: 12px; font-family: var(--font-head); font-size: 17px; font-weight: 900; text-transform: uppercase; color: var(--ink); }

.cartp__side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.cart-box, .cart-done { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); }
.cart-box__title { font-family: var(--font-head); font-size: 19px; font-weight: 900; text-transform: uppercase; color: var(--ink); }
.cart-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 16px; }
.cart-sum div { padding: 10px; border-radius: 12px; background: var(--strip); text-align: center; }
.cart-sum dt { font-size: 11.5px; color: var(--muted); }
.cart-sum dd { margin: 2px 0 0; font-family: var(--font-head); font-size: 16px; font-weight: 900; color: var(--ink); }
.cart-sum div:last-child dd { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; }
.cart-needs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.cart-needs legend { width: 100%; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.cart-needs label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; }
.cart-needs input { accent-color: var(--ink); }
.cart-needs label:has(input:checked) { border-color: var(--yellow-600); background: var(--yellow-tint); }
.cart-or { position: relative; margin: 12px 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.cart-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.cart-or span { position: relative; padding: 0 10px; background: #fff; }
.btn--zalo { background: var(--zalo); color: #fff; }
.btn--zalo:hover { filter: brightness(1.08); }
.btn--zalo i { display: grid; place-items: center; height: 20px; padding: 0 5px; border-radius: 5px; background: #fff; color: var(--zalo); font-family: Arial, Helvetica, sans-serif; font-size: 10.5px; font-style: normal; font-weight: 800; }
.cart-done { text-align: left; }
.cart-done > svg { width: 54px; height: 54px; }
.cart-done h3 { margin-top: 8px; font-family: var(--font-head); font-size: 20px; font-weight: 900; text-transform: uppercase; color: var(--ink); }
.cart-timeline { display: grid; gap: 0; margin: 16px 0; padding: 0; list-style: none; }
.cart-timeline li { position: relative; padding: 0 0 16px 30px; }
.cart-timeline li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.cart-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 20px; bottom: 0; border-left: 2px dashed var(--line); }
.cart-timeline li.is-done::before { border-color: #16a34a; background: #16a34a; }
.cart-timeline b { display: block; font-size: 14px; color: var(--ink); }
.cart-timeline span { font-size: 13px; color: var(--muted); }
.cart-done__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cart-help { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: var(--dark); color: rgba(255, 255, 255, .8); }
.cart-help__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--yellow); color: var(--ink); font-size: 22px; }
.cart-help b { color: #fff; }
.cart-help p { margin-top: 2px; font-size: 13px; }
.cart-help__actions { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; }
.cart-help__actions a, .cart-help__actions button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--yellow); font-weight: 700; font-size: 13.5px; cursor: pointer; }

@media (max-width: 1100px) {
  .cartp__grid { grid-template-columns: minmax(0, 1fr); }
  .cartp__side { position: static; }
  .cart-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cart-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr) 36px; gap: 10px; padding: 12px; }
  .cart-item__no { display: none; }
  .cart-item__img img { width: 72px; height: 54px; }
  .cart-item__qty { grid-column: 2; justify-self: start; }
  .cart-item__remove { grid-column: 3; grid-row: 1; }
  .cart-perks { grid-template-columns: minmax(0, 1fr); }
  .cart-sum dd { font-size: 15px; }
  .cart-box, .cart-done { padding: 18px 16px; }
}

/* Giỏ báo giá: gửi xong thì thông báo nằm giữa; điện thoại: form ngay sau danh sách sản phẩm */
.cartp.is-done .cartp__grid { grid-template-columns: minmax(0, 640px); justify-content: center; }
.cartp.is-done .cartp__side { position: static; }
@media (max-width: 1100px) {
  .cartp__grid { display: flex; flex-direction: column; gap: 0; }
  .cartp__main { display: contents; }
  .cartp__main > *, .cartp__side { min-width: 0; max-width: 100%; }
  .cart-add__select { width: 100%; }
  .cartp__head { order: 1; }
  .cart-list, .cart-empty { order: 2; }
  .cart-add { order: 3; }
  .cartp__side { order: 4; margin-top: 18px; }
  .cart-perks { order: 5; }
  .cart-suggest { order: 6; }
}

/* =========================================================
   GIỎ BÁO GIÁ TRÊN ĐẦU TRANG
   ========================================================= */
.hcart { position: relative; flex-shrink: 0; }
.hcart__btn { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; color: var(--ink); transition: background-color .2s; }
.hcart__btn:hover, .hcart.is-open .hcart__btn { background: var(--strip); }
.hcart__icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 21px; }
.hcart__icon .count-badge { position: absolute; top: -5px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; line-height: 17px; text-align: center; }
.hcart__icon .count-badge.is-empty { display: none; }
.hcart__icon.is-bump { animation: bump .5s var(--ease); }
.hcart__text { line-height: 1.2; }
.hcart__text small { display: block; font-size: 12.5px; color: var(--muted); }
.hcart__text strong { font-family: var(--font-head); font-size: 15px; font-weight: 800; white-space: nowrap; }
.hcart__panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 70; width: 370px; padding: 16px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.hcart__panel::before { content: ""; position: absolute; top: -7px; right: 28px; width: 12px; height: 12px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); background: #fff; transform: rotate(45deg); }
.hcart.is-open .hcart__panel { opacity: 1; visibility: visible; transform: none; }
.hcart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.hcart__head b { font-family: var(--font-head); font-size: 15px; font-weight: 900; text-transform: uppercase; color: var(--ink); }
.hcart__head span { font-size: 12.5px; color: var(--muted); }
.hcart__list { display: grid; gap: 8px; max-height: 300px; overflow-y: auto; margin: 10px 0 12px; }
.hcart__list li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.hcart__list img { width: 52px; height: 36px; border-radius: 7px; object-fit: cover; background: var(--strip); }
.hcart__list span { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.hcart__list small { display: block; font-weight: 500; color: var(--muted); }
.hcart__list b { font-size: 13.5px; color: var(--ink); }
.hcart__list .hcart__rest { display: block; font-size: 12.5px; color: var(--muted); text-align: center; }
.hcart__empty { margin: 12px 0; padding: 12px; border-radius: 10px; background: var(--strip); font-size: 13px; color: var(--muted); }
.hcart__more { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.hcart__more svg { font-size: 14px; }
@media (max-width: 1699px) {
  .hcart__text { display: none; }
  .hcart__btn { padding: 4px; }
}
@media (max-width: 991px) {
  .header__rfq { display: none !important; }
  .header__search-toggle { order: 1; }
  .hcart { order: 2; }
  .header__menu { order: 3; }
  .hcart__icon { width: 38px; height: 38px; font-size: 19px; }
  .hcart__panel { display: none; }
}

/* =========================================================
   GIÁ SỈ THAM KHẢO + NHÂN VIÊN PHỤ TRÁCH
   ========================================================= */
.product__price { margin-top: 6px; font-size: 13px; color: var(--muted); }
.product__price b { font-family: var(--font-head); font-size: 16px; font-weight: 900; color: #c2410c; }
.pd__price { margin: 14px 0 4px; padding: 16px 18px; border: 1px solid #fed7aa; border-radius: 14px; background: #fff7ed; }
.pd__price > span { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #9a3412; }
.pd__price strong { display: block; margin-top: 2px; font-family: var(--font-head); font-size: 28px; font-weight: 900; color: #c2410c; }
.pd__price strong small { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--muted); }
.pd__price em { display: block; margin-top: 2px; font-style: normal; font-weight: 600; color: var(--ink); }
.price-tiers { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 14px; }
.price-tiers th, .price-tiers td { padding: 7px 10px; border-bottom: 1px solid #fed7aa; text-align: left; }
.price-tiers th { font-size: 12px; text-transform: uppercase; color: #9a3412; }
.price-tiers td:last-child { font-weight: 800; color: var(--ink); }
.pd__price-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.cart-item__price { font-size: 12.5px; color: var(--muted); }
.cart-item__price b { color: #c2410c; }

.staff-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.staff { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.staff > img, .staff__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.staff__avatar { display: grid; place-items: center; background: var(--yellow); font-family: var(--font-head); font-size: 26px; font-weight: 900; color: var(--ink); }
.staff__info b { display: block; font-size: 16px; color: var(--ink); }
.staff__info span, .staff__info small, .staff__info em { display: block; font-size: 13px; font-style: normal; color: var(--muted); }
.staff__info em { font-weight: 700; color: var(--ink); }
.staff__btns { grid-column: 1 / -1; display: flex; gap: 8px; }
.staff__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: #fff; }
.staff__btn--call { background: var(--phone); }
.staff__btn--zalo { background: var(--zalo); }
.staff__btn i { padding: 0 4px; border-radius: 4px; background: #fff; color: var(--zalo); font-family: Arial, sans-serif; font-size: 10px; font-style: normal; font-weight: 800; }
.cart-staff { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cart-staff__title { margin-bottom: 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.staff-list--compact { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.staff-list--compact .staff { padding: 0; border: 0; }

/* =========================================================
   ĐIỆN THOẠI: dãy thẻ vuốt ngang cho trang ngắn hơn
   ========================================================= */
@media (max-width: 720px) {
  .m-scroll {
    display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 80%;
    gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .m-scroll::-webkit-scrollbar { display: none; }
  .m-scroll > * { scroll-snap-align: start; min-width: 0; }
  .m-scroll--half { grid-auto-columns: 46%; }
  .m-scroll > *:last-child:nth-child(odd), .regions.m-scroll > li:last-child:nth-child(odd) { grid-column: auto; }
  .kit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kit__grid li { flex-direction: column; gap: 8px; padding: 14px 12px; }
  .kit__grid h3 { font-size: 14px; }
  .kit__grid p { font-size: 12.5px; }
}

/* =========================================================
   TRANG RIÊNG TỪNG DÒNG SẢN PHẨM (sản phẩm lên trước)
   ========================================================= */
.line-hero { border-bottom: 1px solid var(--line); background: #fff; }
.line-hero .container { padding-block: 18px 20px; }
.line-hero .breadcrumb a, .line-hero .breadcrumb span { color: var(--muted); }
.line-hero .breadcrumb [aria-current] { color: var(--ink); }
.line-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 30px; margin-top: 10px; }
.line-hero__title { margin-top: 4px; font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; line-height: 1.15; text-transform: uppercase; color: var(--ink); }
.line-hero__sub { margin-top: 6px; color: var(--muted); }
.line-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.line-hero__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--yellow-tint); font-size: 13px; font-weight: 700; color: var(--ink); }
.line-hero__chips svg { font-size: 16px; color: var(--yellow-600); }
.line-products .container { display: grid; gap: 18px; }
.line-toolbar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.line-toolbar b { font-family: var(--font-head); font-size: 18px; font-weight: 900; color: var(--ink); }
.line-toolbar span { font-size: 13.5px; color: var(--muted); }
.spot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.spot__media { display: block; background: var(--strip); }
.spot__media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.spot__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 3vw, 34px); }
.spot__title { font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; line-height: 1.2; color: var(--ink); }
.spot__title a:hover { color: var(--yellow-600); }
.spot__summary { color: var(--muted); }
.spot__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.spot__specs li { padding: 8px 10px; border-radius: 10px; background: var(--strip); }
.spot__specs span { display: block; font-size: 12px; color: var(--muted); }
.spot__specs b { color: var(--ink); }
.spot__price { font-size: 14px; color: var(--muted); }
.spot__price b { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: #c2410c; }
.spot__price--ask { padding: 10px 12px; border-radius: 10px; background: var(--yellow-tint); font-weight: 700; color: var(--ink); }
.spot__moq { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.spot__moq svg { color: var(--yellow-600); }
.spot__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.pill--lg { height: 44px; padding: 0 22px; font-size: 14.5px; }
.line-sub { margin: 6px 0 12px; font-family: var(--font-head); font-size: 19px; font-weight: 900; color: var(--ink); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.spec-table th { background: var(--strip); font-size: 12.5px; text-transform: uppercase; color: var(--muted); }
.spec-table td a { font-weight: 700; color: var(--ink); }
.line-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 16px 18px; border: 1px dashed var(--yellow-600); border-radius: 14px; background: var(--yellow-tint); }
.line-more__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); font-size: 22px; color: var(--ink); }
.line-more > div:nth-child(2) { flex: 1 1 320px; display: grid; gap: 2px; }
.line-more b { color: var(--ink); }
.line-more span { font-size: 13.5px; color: var(--muted); }
.line-more__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.line-info { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.line-info__main > .prose + .line-sub { margin-top: 28px; }
.line-info__side { display: grid; gap: 14px; }
.line-siblings { display: grid; gap: 4px; }
.line-siblings a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.line-siblings a:hover { color: var(--yellow-600); }
@media (max-width: 991px) {
  .spot { grid-template-columns: minmax(0, 1fr); }
  .spot__media img { max-height: 300px; }
  .line-info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .line-hero .container { padding-block: 12px 14px; }
  .line-hero__sub { display: none; }
  .line-hero__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .line-hero__chips::-webkit-scrollbar { display: none; }
  .line-hero__chips li { flex: none; font-size: 12px; padding: 5px 10px; }
  .spot__media img { max-height: 230px; }
  .spot__body { gap: 8px; }
  .spot__specs { grid-template-columns: minmax(0, 1fr); }
  .line-more__icon { display: none; }
  .line-more__btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .line-more__btns .btn { justify-content: center; padding-inline: 10px; white-space: nowrap; }
}

/* =========================================================
   GIAO DIỆN THEO MẪU (xanh navy + vàng)
   ========================================================= */
:root { --navy: #0d2349; --navy-2: #163266; --blue: #1a5fd0; }

/* Thanh trên cùng */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .86); }
.topbar__inner { height: 40px; }
.topbar__note { font-size: 13px; }
.topbar__trust { display: flex; align-items: center; gap: 30px; white-space: nowrap; font-size: 13px; }
.topbar__trust li { display: inline-flex; align-items: center; gap: 8px; }
.topbar__trust svg { font-size: 16px; color: #fff; }
.topbar__lang { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; }
.flag-vn { width: 21px; height: 14px; border-radius: 2px; }

/* Đầu trang */
.header__join {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; height: 46px; padding: 0 18px; border-radius: 12px;
  background: var(--navy); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; transition: background-color .2s;
}
.header__join svg { font-size: 19px; }
.header__join:hover { background: var(--blue); }
.hcart__label, .hcart__count { display: none; }
@media (min-width: 992px) {
  .hcart__btn { gap: 8px; height: 46px; padding: 0 16px; border-radius: 12px; background: var(--yellow); transition: background-color .2s; }
  .hcart__btn:hover, .hcart.is-open .hcart__btn { background: var(--yellow-600); }
  .hcart__icon { width: auto; height: auto; background: none; font-size: 21px; }
  .hcart__icon .count-badge, .hcart__text { display: none !important; }
  .hcart__label { display: inline; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
  .hcart__count { display: inline-block; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11.5px; font-weight: 800; line-height: 20px; text-align: center; }
}
@media (min-width: 992px) {
  .nav__list { gap: 4px; }
  .nav__link { padding: 10px 14px; border-radius: 10px; transition: color .2s; }
  .nav__link::after { left: 14px; right: 14px; bottom: 6px; height: 2px; }
  .nav__link:hover { color: var(--blue); }
  .nav__link.is-active, .nav__link.is-active:hover { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(26, 95, 208, .9); transition: none; }
  .nav__link.is-active::after { background: rgba(255, 255, 255, .75); }
  .nav__link.is-active .nav__caret { color: #fff; }
  .search input { border-radius: 999px; }
}
/* Màn 1100–1599px: ô tìm kiếm thu thành nút, số hotline gọn lại để đủ chỗ cho Giỏ hàng + Đăng ký đại lý */
@media (max-width: 1759px) and (min-width: 992px) {
  .header__inner { gap: 16px; }
  .header__search-toggle { display: inline-grid; order: 0; }
  .search {
    position: absolute; left: 0; right: 0; top: 100%; width: auto;
    padding: 12px var(--gutter); background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -16px rgba(16, 24, 40, .35);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .search.is-open { opacity: 1; visibility: visible; transform: none; }
  .search input { height: 44px; }
  .search button { right: calc(var(--gutter) + 6px); top: 18px; }
  .header .container { position: static; }
  .header__inner { gap: 12px; }
  .nav__list { gap: 2px; }
  .nav__link { padding-inline: 9px; }
}
@media (max-width: 1399px) and (min-width: 992px) {
  .hotline span { display: none; }
  .hotline__icon { font-size: 28px; }
  .topbar__trust li:nth-child(2) { display: none; }
}
@media (min-width: 1760px) {
  .header__inner { gap: 16px; }
  .nav__list { gap: 2px; }
  .nav__link { padding-inline: 12px; }
  .search { width: 220px; }
}
@media (max-width: 1519px) and (min-width: 992px) {
  .hcart__label { display: none !important; }
  .hcart__btn { padding: 0 12px; }
}
@media (max-width: 1199px) and (min-width: 992px) {
  .header__join { display: none; }
  .logo__text small { display: none; }
}
@media (max-width: 1250px) and (min-width: 992px) {
  .header__join { padding: 0 14px; }
  .nav__link { padding-inline: 7px; font-size: 14px; }
  .logo__text small { display: none; }
}
@media (max-width: 1100px) and (min-width: 992px) {
  .logo__text strong { font-size: 18px; }
  .logo__icon { width: 44px; height: 44px; }
  .nav__list { gap: 0; }
  .nav__link { padding-inline: 6px; font-size: 13.5px; }
}
@media (max-width: 991px) {
  .header__join { display: none; }
}

/* Banner */
.hero::before { background: linear-gradient(90deg, rgba(7, 15, 30, .94) 0%, rgba(7, 15, 30, .8) 36%, rgba(7, 15, 30, .25) 53%, rgba(7, 15, 30, 0) 64%); }
.hero__lead { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: clamp(16px, 1.35vw, 21px); }
.hero__lead i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.hero__features svg { font-size: 34px; }
.hero__features strong { font-size: 15px; }
.hero__features span { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.btn--hero { height: 54px; padding: 0 30px; border-radius: 999px; font-size: 15px; font-weight: 800; text-transform: uppercase; }
.btn--ghost.btn--hero { border: 2px solid rgba(255, 255, 255, .85); color: #fff; }
.btn--ghost.btn--hero:hover { background: #fff; color: var(--ink); }

/* Dải cam kết dưới banner */
.trustbar { border-bottom: 1px solid var(--line); background: var(--strip); }
.trustbar__list { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.trustbar__list li { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-left: 1px solid #d5dbe4; }
.trustbar__list li:first-child { border-left: 0; padding-left: 0; }
.trustbar__list svg { flex: none; font-size: 40px; color: var(--navy); }
.trustbar__list strong { display: block; font-family: var(--font-head); font-size: 13.5px; font-weight: 800; text-transform: uppercase; color: var(--navy); }
.trustbar__list span, .trustbar__list a { display: block; margin-top: 2px; font-size: 13px; color: var(--text); }
.trustbar__list a { font-family: var(--font-head); font-size: 15px; font-weight: 800; color: var(--navy); }

/* Danh mục bên trái + ô nhóm + sản phẩm nổi bật */
.shop__grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: start; }
.cat-side { position: sticky; top: calc(var(--header-h) + 14px); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.cat-side__head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 16px; font-weight: 800; text-transform: uppercase; }
.cat-side__head svg { font-size: 22px; }
.cat-side__list { padding: 6px 0; }
.cat-side__list a { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid #eef1f5; font-size: 14px; font-weight: 600; color: var(--ink); transition: background-color .15s, color .15s; }
.cat-side__list li:last-child a { border-bottom: 0; }
.cat-side__list a span { flex: 1; min-width: 0; line-height: 1.35; }
.cat-side__ic { flex: none; font-size: 20px; color: var(--navy-2); }
.cat-side__go { flex: none; font-size: 14px; color: var(--muted); transition: transform .15s; }
.cat-side__list a:hover { background: var(--yellow-tint); color: var(--navy); }
.cat-side__list a:hover .cat-side__go { transform: translateX(3px); color: var(--navy); }
.cat-side__all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-top: 1px solid var(--line); background: var(--strip); font-size: 13.5px; font-weight: 700; color: var(--blue); }
.cat-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; transition: box-shadow .2s, transform .2s, border-color .2s; }
.cat-tile:hover { border-color: #c9d3e1; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-tile__media { display: block; width: 100%; aspect-ratio: 346 / 222; background: var(--strip); }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__name { padding: 0 8px; font-family: var(--font-head); font-size: 13.5px; font-weight: 800; line-height: 1.3; text-transform: uppercase; color: var(--ink); }
.cat-tile__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 6px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; transition: background-color .2s; }
.cat-tile:hover .cat-tile__go { background: var(--blue); }
.shop__head { margin: 26px 0 14px; }
.shop__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop .perks { margin-top: 22px; }

/* Nút lên đầu trang */
.to-top { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 20px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s, background-color .2s; }
.to-top svg { transform: rotate(180deg); }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }

@media (min-width: 721px) and (max-width: 860px) {
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1599px) {
  .trustbar__list li { padding: 16px 14px; gap: 10px; }
  .trustbar__list svg { font-size: 32px; }
  .trustbar__list strong { font-size: 12.5px; }
  .trustbar__list span { font-size: 12px; }
}
@media (max-width: 1100px) {
  .shop__grid { grid-template-columns: minmax(0, 1fr); }
  .cat-side { position: static; }
  .cat-side__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-side__list a { border-right: 1px solid #eef1f5; }
  .trustbar__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trustbar__list li:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
  .trustbar__list { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .trustbar__list::-webkit-scrollbar { display: none; }
  .trustbar__list li { scroll-snap-align: start; padding: 14px 12px; }
  .trustbar__list li:nth-child(4) { border-left: 1px solid #d5dbe4; padding-left: 12px; }
  .cat-side__head { padding: 12px 14px; font-size: 14.5px; }
  .cat-side__list a { gap: 8px; padding: 9px 10px; font-size: 12.5px; line-height: 1.3; }
  .cat-side__list a span { white-space: normal; }
  .cat-side__ic { font-size: 17px; }
  .cat-side__go { display: none; }
  .shop__products { grid-template-columns: none; }
  .btn--hero { height: 48px; padding: 0 20px; font-size: 13.5px; }
}

/* Thẻ sản phẩm theo mẫu: giá sỉ + nút xanh "Thêm vào giỏ" */
.product__price--ask { color: var(--muted); }
.product__price--ask b { font-family: var(--font-head); font-size: 15px; font-weight: 800; color: var(--navy); }
.product .product__price + .product__moq { margin-top: 2px; }
.product .pill, .spot .pill {
  height: 36px; padding: 0 16px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700;
}
.product .pill:hover, .spot .pill:hover { background: var(--blue); }
.product .pill.is-added, .spot .pill.is-added { background: var(--yellow); color: var(--ink); }
.spot .pill { height: 44px; padding: 0 22px; font-size: 14.5px; }

/* Ô quảng bá: Báo giá nhanh / Dự án tiêu biểu / Chính sách đại lý */
.promo { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.promo__card { position: relative; display: flex; align-items: center; min-height: 138px; overflow: hidden; padding: 22px 24px; border-radius: 14px; color: #fff; isolation: isolate; transition: transform .2s, box-shadow .2s; }
.promo__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.promo__card--quote { background: radial-gradient(circle at 80% 50%, #1e4fa8 0, #0d2349 60%); }
.promo__card--project { background: linear-gradient(90deg, rgba(13, 35, 73, .95) 0%, rgba(13, 35, 73, .75) 50%, rgba(26, 95, 208, .35) 100%), url("../img/why-bg.jpg") center / cover; }
.promo__card--dealer { background: linear-gradient(120deg, #0d2349 0%, #163266 60%, #1a5fd0 100%); }
.promo__body { position: relative; z-index: 1; display: grid; gap: 4px; }
.promo__body strong { font-family: var(--font-head); font-size: clamp(17px, 1.4vw, 22px); font-weight: 900; text-transform: uppercase; }
.promo__body span { font-size: 13px; color: rgba(255, 255, 255, .82); }
.promo__body em { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 10px; padding: 8px 16px; border-radius: 9px; background: var(--yellow); color: var(--ink); font-size: 13px; font-style: normal; font-weight: 800; transition: background-color .2s; }
.promo__card:hover .promo__body em { background: #fff; }
.promo__art { position: absolute; right: -6px; bottom: -14px; z-index: 0; width: 132px; height: 132px; color: rgba(255, 255, 255, .14); stroke-width: 1.2; }

/* Lưới sản phẩm nổi bật / theo danh mục */
.shop-more__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1700px) {
  .shop__products { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .shop-more__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .promo { grid-template-columns: minmax(0, 1fr); }
  .shop-more__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .promo { grid-template-columns: none; margin-top: 16px; }
  .promo__card { min-height: 128px; padding: 18px; }
  .shop-more__grid { grid-template-columns: none; }
  .product .pill { height: 34px; padding: 0 10px; font-size: 12px; }
}

/* Trang chủ rút gọn: con số nằm trong khối Về chúng tôi */
.about__stats { margin: 28px 0 32px; }
@media (max-width: 991px) {
  .hero__contact { display: none; }
}
@media (max-width: 720px) {
  .about__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 24px; }
  .about__stats li { padding: 16px 10px; }
  .about__stats li:nth-child(3) { border-left: 0; }
}

/* Banner trang chủ: bỏ hàng nút liên hệ, chữ to và thoáng hơn như mẫu */
.hero__inner { padding-block: clamp(40px, 4vw, 64px); }
.hero__title { margin-top: 14px; font-size: clamp(30px, 3.2vw, 58px); line-height: 1.12; }
.hero__lead { margin-top: 14px; }
.hero__features { margin-top: clamp(20px, 2vw, 30px); }
.hero__actions { gap: 16px; margin-top: clamp(24px, 2.4vw, 36px); }
@media (min-width: 1700px) {
  .btn--hero { height: 60px; padding: 0 36px; font-size: 16px; }
}
@media (max-width: 560px) {
  .hero__lead { gap: 4px 16px; font-size: 15px; }
  .hero__lead i { display: none; }
  .hero__lead span { display: inline-flex; align-items: center; gap: 7px; }
  .hero__lead span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
}

/* 6 sản phẩm / hàng (trang Sản phẩm, trang chủ) – thẻ gọn lại cho vừa */
@media (min-width: 1500px) {
  #catalogGrid, .shop__products { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1200px) and (max-width: 1499px) {
  #catalogGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1101px) {
  .shop-more__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1200px) {
  #catalogGrid .card__body, .shop__products .card__body, .shop-more__grid .card__body { padding: 12px 12px 14px; }
  #catalogGrid .card__title, .shop__products .card__title, .shop-more__grid .card__title { font-size: 14px; }
  #catalogGrid .pill, .shop__products .pill, .shop-more__grid .pill { height: 34px; padding: 0 12px; font-size: 12px; }
}
@media (max-width: 560px) {
  .contact-cards a[href^="mailto:"] { font-size: 13px; overflow-wrap: anywhere; }
}
/* Điện thoại: đầu các trang con dùng ảnh nền nhỏ (nhẹ hơn ~60%) */
@media (max-width: 720px) {
  .page-hero, .recruit-hero { background-image: url("../img/hero-m.jpg"); }
}
/* Điện thoại: chỉ vẽ phần đang nhìn thấy, các khối bên dưới vẽ khi cuộn tới → trang dài vẫn hiện nhanh */
@media (max-width: 991px) {
  main > section:not(:first-child), main > .section:not(:first-child) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
  .cv-off main > section:not(:first-child), .cv-off main > .section:not(:first-child) { content-visibility: visible; }
}

/* ===== Bố cục theo đánh giá 2026-10-30 ===== */
/* Laptop 1101–1499px: cột danh mục hẹp lại, 6 ô nhóm trên 1 hàng, ô nhỏ gọn */
@media (min-width: 1101px) and (max-width: 1499px) {
  .shop__grid { grid-template-columns: 250px minmax(0, 1fr); }
  .cat-side__head { gap: 8px; padding: 14px 16px; font-size: 14px; }
  .cat-side__list a { gap: 10px; padding: 9px 14px; font-size: 13.5px; }
  .cat-tiles { gap: 10px; }
  .cat-tile { gap: 8px; padding-bottom: 12px; }
  .cat-tile__name { font-size: 12px; }
  .cat-tile__go { padding: 5px 12px; font-size: 12px; }
  .shop__products .card__title { font-size: 13px; }
}
/* Sản phẩm nổi bật: 6 ô / hàng từ 1280px (trước đây từ 1500px) */
@media (min-width: 1280px) {
  .shop__products { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .shop__products .card__body { padding: 12px 12px 14px; }
  .shop__products .pill { height: 34px; padding: 0 12px; font-size: 12px; }
}

/* Trang Liên hệ: bản đồ nằm dưới form để 2 cột dài bằng nhau */
.contact__main { display: grid; gap: 16px; }
.contact__main .map { aspect-ratio: 16 / 7; }
@media (max-width: 991px) {
  .contact__main { display: contents; }
  .contact .form-card { order: 1; }
  .contact__side { order: 2; }
  .contact__map { order: 3; }
  .contact__main .map { aspect-ratio: 4 / 3; }
}

/* Trang sản phẩm – điện thoại: nút “Thêm vào báo giá” ngay dưới tên, ô thông tin xuống dưới */
@media (max-width: 991px) {
  .pd__alt { display: none; }          /* đã có thanh Gọi / Zalo / WeChat cố định dưới đáy màn hình */
}
@media (max-width: 720px) {
  .pd__info { display: flex; flex-direction: column; }
  .pd__highlights { order: 2; }
  .pd__trust { order: 3; }
  .pd__share { order: 4; }
  .pd__form { margin-top: 14px; }
  .pd__terms { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; padding: 10px 12px; }
  .pd__terms div { display: block; }
  .pd__buy { flex-direction: row; margin-top: 14px; }
  .qty { align-self: auto; flex: none; }
  .pd__buy .qty__btn { width: 36px; }
  .pd__buy .qty input { width: 40px; }
  .pd__buy .btn { flex: 1; width: auto; min-width: 0; gap: 6px; padding-inline: 10px; font-size: 13px; white-space: nowrap; }

  /* Trang chủ – điện thoại: bỏ danh sách 14 dòng (trùng với 6 ô nhóm vuốt ngang ngay dưới) */
  .shop .cat-side { display: none; }
}

/* ===== Giỏ báo giá: form theo mẫu (2026-10-30) ===== */
.cart-box { padding: 0; overflow: hidden; border-color: #dbe3ef; }
.cart-box__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.cart-box__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 26px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .16); }
.cart-box__head .cart-box__title { font-size: 20px; line-height: 1.2; color: #fff; }
.cart-box__sub { margin-top: 3px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.cart-box__body { padding: 18px 20px 20px; }
.cart-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.cart-sum li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 12px 14px; border: 1px solid #e3e9f2; border-radius: 12px; background: #f4f7fc; }
.cart-sum__ic { grid-row: span 2; font-size: 30px; color: var(--navy); }
.cart-sum__label { font-size: 12.5px; color: var(--muted); }
.cart-sum__value { font-family: var(--font-head); font-size: 20px; font-weight: 900; line-height: 1.15; color: var(--navy); }
.cart-sum__est { grid-column: 1 / -1; }
.cart-sum__est .cart-sum__value { font-size: 16px; }
.cart-box .field { margin-bottom: 14px; }
.cart-box .field > span { font-size: 13.5px; font-weight: 700; }
.cart-box .field input, .cart-box .field select, .cart-box .field textarea { padding: 11px 12px; border-color: #dbe3ef; background-color: #fff; font-size: 13px; }
.cart-box .field select { padding-right: 30px; background-position: right 10px center; }
@media (min-width: 1101px) {
  .cartp__grid { grid-template-columns: minmax(0, 1fr) 470px; }
}
.cart-box .field input::placeholder, .cart-box .field textarea::placeholder { color: #98a2b3; }
.cart-box .field select[name="province"]:has(option[value=""]:checked) { color: #98a2b3; }
.cart-box .field select option, .cart-box .field select optgroup { color: var(--ink); }
.cart-box .field input:focus, .cart-box .field select:focus, .cart-box .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 95, 208, .12); }
.cart-box .cart-needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.cart-box .cart-needs legend { margin-bottom: 8px; font-size: 13.5px; font-weight: 700; }
.cart-box .cart-needs label { gap: 8px; padding: 9px 12px; border-color: #dbe3ef; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); }
.cart-box .cart-needs input { width: 15px; height: 15px; accent-color: var(--blue); }
.cart-box .cart-needs label:has(input:checked) { border-color: var(--blue); background: #eef4ff; color: var(--navy); }
.cart-box__submit { height: 54px; border-radius: 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.cart-box .cart-or { margin: 16px 0 14px; font-size: 13px; }
.cart-box__alt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cart-box__alt .btn { height: 46px; padding-inline: 12px; border-radius: 12px; font-size: 14px; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.btn--hotline { background: #18a14a; color: #fff; }
.btn--hotline:hover { filter: brightness(1.08); }
@media (max-width: 480px) {
  .cart-box__head { padding: 16px; }
  .cart-box__body { padding: 16px; }
  .cart-box__icon { width: 46px; height: 46px; font-size: 22px; }
  .cart-box__head .cart-box__title { font-size: 18px; }
  .cart-sum li { padding: 10px 12px; column-gap: 10px; }
  .cart-sum__ic { font-size: 26px; }
  .cart-box__alt { gap: 10px; }
  .cart-box__alt .btn { padding-inline: 8px; font-size: 13px; }
}

/* Danh sách sản phẩm trong giỏ: cùng tông xanh với form */
.cart-item { border-color: #e3e9f2; transition: border-color .2s, box-shadow .2s; }
.cart-item:hover { border-color: #c9d6ea; box-shadow: var(--shadow-sm); }
.cart-item__no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eef2f8; color: var(--navy); font-size: 13px; }
.cart-item__qty { border-color: #dbe3ef; }
.cart-item__qty button { background: #f4f7fc; color: var(--navy); }
.cart-item__qty button:hover { background: var(--navy); color: #fff; }
.cart-item__note:focus { border-color: var(--blue); }
.cart-add { border: 1px solid #e3e9f2; background: #f4f7fc; }
.cart-add__select { border-color: #dbe3ef; }
.cart-perks li { border-color: #e3e9f2; }
.cart-perks svg { background: #eef4ff; color: var(--blue); }

/* ===== Thẻ sản phẩm theo mẫu mới (2026-10-30) ===== */
.product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e3e9f2; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(13, 35, 73, .05); transition: border-color .2s, box-shadow .2s, transform .2s; }
.product:hover { border-color: #c9d6ea; box-shadow: 0 16px 32px -20px rgba(13, 35, 73, .4); transform: translateY(-2px); }
.product .card__media { display: block; background: linear-gradient(180deg, #edf2f9 0%, #f8fafd 100%); }
.product .card__body { display: flex; flex: 1; flex-direction: column; padding: 14px 16px 14px; }
.product .card__title { font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--ink); }
.product .card__title a:hover { color: var(--blue); }
.product .card__desc { margin-top: 4px; overflow: hidden; font-size: 12.5px; line-height: 1.45; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.product__specs { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: 12px; color: #4b5563; }
.product__specs li { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.product__specs svg { flex: none; font-size: 14px; color: var(--navy-2); }
.product__foot { display: flex; align-self: stretch; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.product .card__title, .product .card__desc, .product__specs { align-self: stretch; }
.product__ask { font-family: var(--font-head); font-size: 16px; font-weight: 800; color: var(--blue); }
.product__ask:hover { color: var(--navy); }
.product__ask--price { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.product__ask--price b { font-family: var(--font-head); font-size: 15px; font-weight: 900; color: var(--blue); }
.product .pill.pill--icon, #catalogGrid .product .pill.pill--icon {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 16px; box-shadow: 0 6px 14px -6px rgba(26, 95, 208, .7);
}
.product .pill.pill--icon svg { font-size: 16px; }
.product .pill.pill--icon:hover { background: var(--navy); }
.product .pill.pill--icon.is-added { background: #18a14a; color: #fff; box-shadow: 0 6px 14px -6px rgba(24, 161, 74, .7); }
.product .badge { top: 10px; left: 10px; padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.badge--hot { background: var(--blue); color: #fff; }
.badge--new { background: var(--yellow); color: var(--ink); }
.badge--pop { background: #18a14a; color: #fff; }
@media (min-width: 1200px) {
  .shop__products .product .card__body, #catalogGrid .product .card__body, .shop-more__grid .product .card__body { padding: 12px 12px 12px; }
  .shop__products .product .card__title, #catalogGrid .product .card__title, .shop-more__grid .product .card__title { font-size: 14px; }
}
@media (max-width: 720px) {
  .product .card__body { padding: 12px; }
  .product .card__title { font-size: 14px; }
  .product__specs { gap: 3px 10px; font-size: 11.5px; }
  .product__ask { font-size: 15px; }
}

/* ===== Thiết kế tiếp 2026-10-30: form đầu xanh, ô danh mục, lọc nhóm, trang sản phẩm, liên hệ ===== */
/* Khung form chung: đầu xanh có biểu tượng (giống form Gửi yêu cầu báo giá) */
.qbox { overflow: hidden; padding: 0; border: 1px solid #dbe3ef; border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); }
.qbox__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.qbox__icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 24px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .16); }
.qbox__title { font-family: var(--font-head); font-size: 20px; font-weight: 900; line-height: 1.2; text-transform: uppercase; color: #fff; }
.qbox__sub { margin-top: 3px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.qbox__body { padding: 20px 22px 22px; }
.qbox .lead__text { margin: 0 0 16px; }
.qbox .field > span, .drawer .field > span { font-size: 13.5px; font-weight: 700; }
.qbox .field input, .qbox .field select, .qbox .field textarea,
.drawer .field input, .drawer .field select, .drawer .field textarea { border-color: #dbe3ef; background-color: #fff; font-size: 13.5px; }
.qbox .field input::placeholder, .qbox .field textarea::placeholder, .drawer .field input::placeholder, .drawer .field textarea::placeholder { color: #98a2b3; }
.qbox .field input:focus, .qbox .field select:focus, .qbox .field textarea:focus,
.drawer .field input:focus, .drawer .field select:focus, .drawer .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 95, 208, .12); }
.field select[name="province"]:has(option[value=""]:checked) { color: #98a2b3; }
.field select[name="province"] option, .field select[name="province"] optgroup { color: var(--ink); }
.qbox .form [type="submit"] { width: 100%; height: 52px; border-radius: 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.lead__box.qbox { padding: 0; border: 1px solid #dbe3ef; box-shadow: 0 30px 60px -36px rgba(13, 35, 73, .45); }
.recruit-form.qbox { padding: 0; border: 0; }
.recruit-form.qbox .field { margin-bottom: 12px; }
.form-card.qbox { padding: 0; }
.qbox .form-success { padding: 8px 0 0; }
@media (max-width: 480px) {
  .qbox__head { padding: 16px; }
  .qbox__body { padding: 16px; }
  .qbox__icon { width: 44px; height: 44px; font-size: 21px; }
  .qbox__title { font-size: 17px; }
}
/* Ngăn kéo báo giá nhanh */
.drawer__head { align-items: center; padding: 18px 22px; border-bottom: 0; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.drawer__heading { flex: 1; min-width: 0; }
.drawer__eyebrow { color: rgba(255, 255, 255, .8); }
.drawer__title { color: #fff; }
.drawer__head .icon-btn { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; }
.drawer__head .icon-btn:hover { background: rgba(255, 255, 255, .22); }

/* 6 ô danh mục: kiểu thẻ, tên + nút tròn xanh */
.cat-tile { align-items: stretch; gap: 0; padding-bottom: 0; border-color: #e3e9f2; text-align: left; }
.cat-tile:hover { border-color: #c9d6ea; box-shadow: 0 16px 32px -20px rgba(13, 35, 73, .4); }
.cat-tile__media { background: linear-gradient(180deg, #edf2f9 0%, #f8fafd 100%); }
.cat-tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 12px 14px; }
.cat-tile__name { padding: 0; font-size: 13.5px; text-transform: none; color: var(--ink); }
.cat-tile .cat-tile__go { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin: 0; padding: 0; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; }
.cat-tile:hover .cat-tile__go { background: var(--navy); }
@media (min-width: 1101px) and (max-width: 1499px) {
  .cat-tile__foot { padding: 10px 8px 10px 10px; }
  .cat-tile__name { font-size: 12.5px; }
  .cat-tile .cat-tile__go { width: 26px; height: 26px; font-size: 12px; }
}

/* Nút lọc theo nhóm (Sản phẩm theo danh mục) */
.gtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.gtab { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid #dbe3ef; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.gtab span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #eef2f8; font-size: 11.5px; color: var(--navy); }
.gtab:hover { border-color: var(--blue); color: var(--blue); }
.gtab.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.gtab.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }
.shop-more__grid > .product[hidden] { display: none !important; }
@media (max-width: 720px) {
  .gtabs { flex-wrap: nowrap; overflow-x: auto; margin: -4px calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter); scrollbar-width: none; }
  .gtabs::-webkit-scrollbar { display: none; }
  .gtab { height: 34px; padding: 0 12px; font-size: 13px; }
}

/* Trang sản phẩm: hàng thông số dưới tên, khung “Yêu cầu báo giá” đầu xanh */
.pd__chips { margin-top: 12px; font-size: 13px; }
.pd__chips svg { font-size: 16px; }
.pd__quote { margin-top: 20px; overflow: hidden; border: 1px solid #dbe3ef; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.pd__quote-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.pd__quote-head > svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #fff; color: var(--blue); }
.pd__quote-head b { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 900; text-transform: uppercase; }
.pd__quote-head span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.pd__quote .pd__form { margin: 0; padding: 14px 16px 16px; }
.pd__quote .pd__terms { margin-top: 0; }
@media (max-width: 720px) {
  .pd__quote { margin-top: 14px; }
  .pd__quote-head { gap: 10px; padding: 8px 12px; }
  .pd__quote-head > svg { width: 28px; height: 28px; padding: 6px; }
  .pd__quote-head b { font-size: 13.5px; }
  .pd__quote-head span { display: none; }
  .pd__quote .pd__form { padding: 10px 12px 12px; }
  .pd__chips { display: none; }            /* điện thoại: thông số đã có trong các ô bên dưới */
}

/* Liên hệ: màu riêng từng kênh */
.contact-cards__item { position: relative; overflow: hidden; border-color: #e3e9f2; transition: box-shadow .2s, transform .2s; }
.contact-cards__item::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c, var(--navy)); }
.contact-cards__item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-cards__item .contact-cards__icon { background: var(--c, var(--navy)); color: #fff; box-shadow: 0 10px 22px -10px var(--c, var(--navy)); }
.contact-cards__item a:hover, .contact-cards__item .contact-cards__value:hover { color: var(--c, var(--navy)); }
.contact-cards__item--phone { --c: var(--phone); }
.contact-cards__item--china { --c: #c82333; }
.contact-cards__item--zalo { --c: var(--zalo); }
.contact-cards__item--wechat { --c: var(--wechat); }
.contact-cards__item--mail { --c: var(--navy); }
.contact-cards__icon--zalo { font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }

/* Mã QR Zalo & WeChat trên trang Liên hệ */
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.qr-card { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; align-items: center; text-align: center; }
.qr-card .qr-img { width: 140px; height: 140px; border-radius: 8px; object-fit: contain; background: #fff; padding: 6px; border: 1px solid var(--line); }
.qr-card__title { margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: var(--ink); }
.qr-card__title a { color: var(--blue, #0068ff); font-weight: 700; }

/* ===== Giỏ báo giá: cân lại khoảng cách, không để ô trống (2026-10-30) ===== */
.product .card__title { min-height: 0; }
.cart-perks { margin-top: 16px; }
.cart-suggest { margin-top: 32px; }
.cart-suggest__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cart-suggest__head .cart-suggest__title { margin: 0; }
.cart-suggest .grid-products { grid-template-columns: repeat(auto-fit, minmax(max(220px, calc((100% - 48px) / 4)), 1fr)); gap: 16px; }
.cartp__main > .cart-help { margin-top: 24px; align-items: center; padding: 18px 22px; }
.cartp__main > .cart-help > div { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; }
.cartp__main > .cart-help .cart-help__actions { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
.cartp__main > .cart-help .cart-help__actions a, .cartp__main > .cart-help .cart-help__actions button { padding: 9px 14px; border: 1px solid rgba(255, 214, 0, .45); border-radius: 999px; }
.cartp__main > .cart-help .cart-help__actions a:hover, .cartp__main > .cart-help .cart-help__actions button:hover { background: var(--yellow); color: var(--ink); }
.cartp.is-done .cartp__main { order: 2; }
@media (min-width: 1101px) and (max-width: 1599px) {
  .cart-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .cartp__grid { align-items: stretch; }
  .cartp__main > .cart-help { order: 7; }
}
@media (max-width: 720px) {
  .cart-suggest__head { flex-wrap: wrap; gap: 6px 12px; }
  .cart-suggest__head .cart-suggest__title { flex: 1 1 100%; }
  .cart-suggest .grid-products {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .cart-suggest .product { scroll-snap-align: start; }
  .cartp__main > .cart-help { align-items: flex-start; padding: 16px; }
  .cartp__main > .cart-help > div { display: block; }
  .cartp__main > .cart-help .cart-help__actions { margin-top: 10px; }
}

/* ===== Lối vào trang quản trị cho nhân viên (2026-10-30) ===== */
.topbar__end { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.topbar__login { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.topbar__login svg { font-size: 14px; }
.topbar__login:hover { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.footer__staff { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .7); text-decoration: underline; text-underline-offset: 3px; }
.footer__staff:hover { color: var(--yellow); }
@media (max-width: 720px) {
  .footer__staff { display: table; margin: 6px 0 0; padding: 0; border: 0; }
}
.topbar__note { flex: 0 1 auto; min-width: 0; }
.topbar__trust { flex-shrink: 0; }
.topbar__trust li { white-space: nowrap; }
@media (max-width: 1679px) {
  .topbar__trust li:nth-child(2) { display: none; }
}

/* ===== Màn hình rộng: thêm cột thay vì phóng to từng khối (2026-10-30) ===== */
@media (min-width: 1500px) {
  .feature-grid:has(> .feature:nth-child(6):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .feature-grid:has(> .feature:nth-child(6):last-child) > .feature { border-right: 1px solid var(--line); border-bottom: 0; }
  .feature-grid:has(> .feature:nth-child(6):last-child) > .feature:last-child { border-right: 0; }
}
@media (min-width: 1101px) {
  .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .photo-grid__big { grid-column: auto; }
  .photo-grid__big img { aspect-ratio: 102 / 68; }
}
@media (min-width: 992px) {
  .value-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 22px 24px; text-align: left; }
  .value-card__icon { grid-row: span 2; width: 56px; height: 56px; font-size: 26px; }
  .value-card h3 { margin-top: 2px; font-size: 16px; }
  .value-card p { margin-top: 4px; }
}

/* ===== Màn hình rộng (≥1500px): giữ cỡ chữ, nút, ảnh như màn 1440 – không phóng to theo bề ngang (2026-10-30) ===== */
@media (min-width: 1500px) {
  .hero { min-height: 480px; }
  .hero__inner { padding-block: 48px; }
  .hero__title { font-size: 48px; }
  .hero__lead { font-size: 19px; }
  .btn--hero { height: 54px; padding: 0 30px; font-size: 15px; }
  .page-hero .container { padding-block: 36px 40px; }
  .page-hero__title { font-size: 36px; }
  .h2 { font-size: 27px; }
  .why__title { font-size: 30px; }
  .stats__grid strong { font-size: 32px; }
  .cta-band__title { font-size: 24px; }
  .recruit-hero__title { font-size: 38px; }
  .recruit-hero__inner { padding-block: 32px 72px; }
  .post-head__title { font-size: 36px; }
  .pd__title { font-size: 28px; }
  .line-hero__title { font-size: 30px; }
  .kit__title, .lead__title, .saving__result strong { font-size: 27px; }
  .spot__title { font-size: 25px; }
  .promo__body strong { font-size: 20px; }
  /* Ảnh lớn: không để cao quá nửa màn hình */
  .pd { grid-template-columns: minmax(0, 680px) minmax(0, 1fr); gap: 48px; }
  .solution { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .solution--flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
  .flagship__box { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .spot__media img { max-height: 400px; }
  .video { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ===== Màn hình rộng, lần 2: thẻ nhỏ gọn, thêm cột (2026-10-30) ===== */
/* Bài viết: 4 cột từ 1200px, 5 cột từ 1700px; chữ trong thẻ gọn lại */
@media (min-width: 1200px) {
  .post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .post-card__body { padding: 14px 16px 16px; }
  .post-card__meta { font-size: 12px; }
  .post-card__title { margin-top: 6px; font-size: 16px; }
  .post-card__excerpt { margin-top: 6px; font-size: 13.5px; -webkit-line-clamp: 2; }
  .post-card__more { padding-top: 10px; font-size: 13.5px; }
}
@media (min-width: 1700px) {
  .post-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
  .grid-products--related { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .grid-products--mentioned { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
}
/* Bài / sản phẩm liên quan: chỉ hiện đủ số thẻ bằng số cột để không lẻ hàng */
@media (min-width: 1200px) and (max-width: 1699px) { .post-grid:not(#postGrid) > :nth-child(n+5) { display: none; } }
@media (min-width: 992px) and (max-width: 1199px) { .post-grid:not(#postGrid) > :nth-child(n+4) { display: none; } }
@media (min-width: 721px) and (max-width: 991px) { .post-grid:not(#postGrid) > :nth-child(n+5) { display: none; } }
@media (min-width: 721px) and (max-width: 1499px) {
  .grid-products--related > :nth-child(n+5) { display: none; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .grid-products--related > :nth-child(n+4) { display: none; }
}
@media (max-width: 720px) {
  .post-grid:not(#postGrid):not(.m-scroll) > :nth-child(n+4) { display: none; }
  .grid-products--related > :nth-child(n+5) { display: none; }
}
@media (min-width: 721px) {
  .post-card--wide { flex-direction: row; }
  .post-card--wide .post-card__media { position: relative; flex: 0 0 38%; aspect-ratio: auto; min-height: 210px; }
  .post-card--wide .post-card__media img { position: absolute; inset: 0; }
  .post-card--wide .post-card__body { justify-content: center; padding: 22px 28px; }
  .post-card--wide .post-card__title { font-size: 19px; }
  .post-card--wide .post-card__excerpt { max-width: 760px; -webkit-line-clamp: 3; }
  .post-card--wide .post-card__more { margin-top: 0; }
}
/* Dòng chuyên mục + ngày đọc: luôn 2 dòng cố định để tiêu đề các thẻ thẳng hàng */
.post-card__meta { display: flex; flex-direction: column; gap: 1px; }
.post-card__meta .post-card__date { font-weight: 400; color: var(--muted); }

/* ===== Rà toàn trang lần 3 (2026-10-30): bỏ khối rộng mà trống ===== */
/* Hộp "Tham quan nhà máy": chữ – 3 ý – nút, không còn khoảng trống giữa */
.visit__points { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.visit__points li { display: flex; align-items: flex-start; gap: 12px; }
.visit__points svg { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 11px; background: var(--yellow-tint); color: var(--yellow-600); }
.visit__points span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.visit__points span > b:first-child { display: block; font-size: 14.5px; color: var(--ink); }
.visit__points span b { color: var(--ink); }
@media (min-width: 992px) {
  .visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; align-items: center; gap: 32px; }
  .visit__text { max-width: none; }
}
@media (min-width: 1500px) {
  .visit__points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 991px) {
  .visit { flex-direction: column; align-items: stretch; }
  .visit__actions .btn { width: 100%; }
}

/* Liên hệ: thẻ nằm ngang – biểu tượng trái, chữ phải */
@media (min-width: 1200px) {
  .contact-cards li { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 20px; text-align: left; }
  .contact-cards__icon { grid-row: 1 / span 3; }
  .contact-cards h2 { margin-top: 0; }
  .contact-cards a, .contact-cards__value { margin-top: 2px; }
  .contact-cards__btn { margin-inline: 0; text-align: left; }
}

@media (min-width: 1500px) {
  /* Chính sách đại lý: thẻ hình thức hợp tác chia 2 cột, nút gọn trong cột trái */
  .tier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 22px; padding: 26px 22px; }
  .tier__icon { grid-column: 1; grid-row: 1; }
  .tier__name { grid-column: 1; grid-row: 2; }
  .tier__for { grid-column: 1; grid-row: 3; }
  .tier .btn { grid-column: 1; grid-row: 4; align-self: end; width: 100%; height: 42px; margin-top: 18px; padding-inline: 10px; font-size: 12.5px; white-space: nowrap; }
  .tier__list { grid-column: 2; grid-row: 1 / -1; align-content: center; margin: 0; padding: 0 0 0 22px; border-top: 0; border-left: 1px solid var(--line); }
  .tier__list li { font-size: 13.5px; }
  /* Gia công OEM: khung quy trình hẹp lại, bớt trống bên phải */
  .oem__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); }
}
@media (min-width: 1500px) {
  .cta-band__inner { padding-block: 28px; }
  .cta-band__actions .btn { height: 44px; padding-inline: 22px; }
}
@media (min-width: 1500px) {
  /* Trang dòng sản phẩm: ảnh nhỏ lại, chữ nằm giữa theo chiều dọc – không trống nửa dưới */
  .spot { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .spot__media img { max-height: 340px; }
  .spot__body { justify-content: center; }
}

/* ===== Rà soát lần 4 (2026-11-01): 83 lỗi bố cục đã kiểm chứng ===== */
/* -- Chung: chân trang -- */
.social { margin-top: 16px; }
.social a, .social button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; color: #fff; font-size: 18px; cursor: pointer; transition: transform .25s var(--ease), filter .2s; }
.social .social__phone, .social .social__phone:hover { background: var(--phone); color: #fff; }
.social .social__zalo, .social .social__zalo:hover { background: var(--zalo); color: #fff; }
.social .social__wechat, .social .social__wechat:hover { background: var(--wechat); color: #fff; }
.social a:hover, .social button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.zalo-word { color: #fff; font-size: 11.5px; }
@media (min-width: 1101px) {
  .footer__grid { grid-template-columns: minmax(0, 400px) minmax(0, 470px) auto auto; justify-content: space-between; column-gap: 40px; }
}
/* -- Chung: dải vàng cuối trang -- */
.cta-band__text { max-width: 720px; }
@media (max-width: 720px) {
  .cta-band__actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  /* Nút tham quan nhà máy: nút chính rộng hết, Zalo/WeChat chia đôi */
  .video__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video__actions .btn { grid-column: 1 / -1; width: 100%; }
  .video__actions .contact-chip { justify-content: center; }
}
/* -- Chung: thẻ sản phẩm – không cắt tên, mô tả tối đa 2 dòng, thông số luôn 2 dòng riêng -- */
.product .card__title { -webkit-line-clamp: 3; }
.product .card__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }
.product__specs { flex-direction: column; align-items: flex-start; gap: 3px; }

/* -- Trang chủ -- */
@media (min-width: 1500px) { .flagship__media img { object-position: 50% 80%; } }
@media (min-width: 1101px) and (max-width: 1599px) {
  .hero::before { background: linear-gradient(90deg, rgba(14, 14, 14, .93) 0%, rgba(14, 14, 14, .84) 46%, rgba(14, 14, 14, .4) 62%, rgba(14, 14, 14, 0) 76%); }
  .flagship__actions .btn { padding-inline: 16px; font-size: 12.5px; }
}
.trustbar__list li { align-items: flex-start; }
.about + .video-sec .video__thumbs { display: none; }        /* không lặp lại bộ ảnh nhà máy vừa có ở khối Về chúng tôi */

/* -- Trang dòng sản phẩm -- */
@media (min-width: 992px) { .spot__body { justify-content: center; } }
.line-more__icon { font-size: 22px; color: var(--ink); }

/* -- Trang chi tiết sản phẩm -- */
@media (min-width: 992px) { .pd__gallery { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; } }
.pd__terms { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.spec-layout { align-items: stretch; }
@media (max-width: 720px) {
  .tabs__list { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; }
  .tabs__tab { flex: none; white-space: nowrap; }
  .tabs__tab::after { bottom: 0; }
  .spec-empty { flex-direction: column; gap: 10px; }
  .spec-empty .btn { white-space: nowrap; }
}

/* -- Trang giải pháp -- */
@media (min-width: 1101px) { .solution--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
@media (min-width: 1500px) {
  .solution, .solution--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 992px) { .calc { align-items: center; } }
@media (max-width: 1599px) { .solution-tile__body strong { font-size: 15px; } }
@media (max-width: 720px) {
  .calc__result strong { font-size: 18px; }
  #calcSend, #savingSend { font-size: 12.5px; padding-inline: 14px; }
}

/* -- Giới thiệu: thẻ Sứ mệnh / Tầm nhìn / Giá trị thẳng hàng -- */
.value-card { align-content: start; }

/* -- Nhà xưởng -- */
.stats--gap { padding-top: 28px; }
@media (max-width: 720px) {
  .photo-grid figure img { aspect-ratio: 4 / 3; }
  .photo-grid__big, .photo-grid figure:last-child { grid-column: 1 / -1; }
  .photo-grid__big img, .photo-grid figure:last-child img { aspect-ratio: 16 / 9; }
}

/* -- Chính sách đại lý -- */
@media (min-width: 1500px) {
  /* Thẻ hình thức hợp tác: biểu tượng cạnh tên, danh sách 2 cột, nút rộng hết thẻ */
  .tier { grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 14px; padding: 26px 24px; }
  .tier__icon { grid-column: 1; grid-row: 1 / span 2; }
  .tier__name { grid-column: 2; grid-row: 1; margin-top: 2px; }
  .tier__for { grid-column: 2; grid-row: 2; }
  .tier__list { grid-column: 1 / -1; grid-row: 3; display: block; columns: 2; column-gap: 22px; align-self: start; margin: 18px 0 0; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .tier__list li { break-inside: avoid; margin-bottom: 9px; }
  .tier .btn { grid-column: 1 / -1; grid-row: 4; margin-top: 14px; font-size: 13px; }
  .regions__req ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1101px) {
  .faq-wrap { grid-template-columns: minmax(0, .75fr) minmax(0, 2.25fr); }
  .faq-wrap__head { position: sticky; top: calc(var(--header-h) + 20px); }
  .two-col { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .register { align-items: center; }
}
.faq-wrap__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.doc-request { width: fit-content; max-width: 100%; }
.doc-request div { flex: 0 1 auto; }
@media (max-width: 720px) {
  .panel table td:nth-child(2), .panel table th:nth-child(2) { white-space: nowrap; }
}

/* -- Tuyển đại lý -- */
@media (min-width: 1101px) and (max-width: 1599px) {
  .recruit-hero .hero__contact { gap: 8px; }
  .recruit-hero .contact-chip { padding-inline: 11px; font-size: 12.5px; }
  .kit__title { font-size: 24px; }
}

/* -- Bài viết: cột bài + cột phụ nằm giữa, không để khe trống giữa trang -- */
@media (min-width: 1500px) {
  .post-head__inner, .post-layout { max-width: 1400px; }
  .post-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
  .post-main { max-width: none; }
}

/* -- Giỏ báo giá trên điện thoại -- */
@media (max-width: 720px) {
  .cart-item { grid-template-columns: 64px minmax(0, 1fr) 36px; grid-template-areas: "img info del" "qty qty qty"; align-items: start; }
  .cart-item__no { display: none; }
  .cart-item__img { grid-area: img; }
  .cart-item__img img { width: 64px; height: 48px; }
  .cart-item__info { grid-area: info; }
  .cart-item__remove { grid-area: del; }
  .cart-item__qty { grid-area: qty; justify-self: start; }
  .cartp__title { font-size: 18px; }
  .link-btn { white-space: nowrap; }
  .cart-needs label { padding: 6px 8px; font-size: 12.5px; }
}

/* -- Sản phẩm: ô OEM lấp hàng cuối của lưới -- */
.catalog-fill { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 22px 24px; border-radius: 14px; background: linear-gradient(90deg, rgba(13, 35, 73, .96), rgba(13, 35, 73, .8)), var(--dark) url("../img/why-bg.jpg") center / cover; color: rgba(255, 255, 255, .85); }
.catalog-fill[hidden] { display: none; }
.catalog-fill .side-box__title { margin: 0; font-family: var(--font-head); font-size: 18px; font-weight: 900; color: #fff; }
.catalog-fill p { max-width: 520px; font-size: 13.5px; }
@media (min-width: 1101px) { .has-fill .catalog__side .side-box--dark { display: none; } }
@media (max-width: 720px) {
  #postFilters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  #postFilters > li { flex: none; }
}
/* Trang dòng sản phẩm trên điện thoại: khung "Cùng nhóm" và "Cần tư vấn" giữ tiêu đề, viền như máy tính */
@media (max-width: 991px) {
  .line-info__side .side-box { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .line-info__side .side-box__title { display: flex; }
  .line-info__side .side-box--dark { display: block; border-color: var(--dark); background: var(--dark); }
}

/* ===== Rà soát lần 4b: phần còn lại sau khi soát lại ===== */
/* Banner trang chủ 1101–1599px: nền tối phủ kín vùng chữ, đèn không nằm dưới nút */
@media (min-width: 1101px) and (max-width: 1599px) {
  .hero::before { background: linear-gradient(90deg, rgba(14, 14, 14, .95) 0%, rgba(14, 14, 14, .9) 50%, rgba(14, 14, 14, .45) 64%, rgba(14, 14, 14, 0) 78%); }
  .flagship__actions .btn:nth-child(3) { height: auto; padding: 6px 4px; border: 0; background: none; box-shadow: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  .flagship__apps { font-size: 12.5px; gap: 6px; }
  .solution-tile__body strong { font-size: 14px; }
}
/* Banner trang con: biển "Đèn LED cho dự án" hiện trọn trên màn rộng, ẩn hẳn trên điện thoại */
@media (min-width: 1500px) { .page-hero { background-position: right 95%; } }
@media (max-width: 720px) { .page-hero { background-position: 18% center; } }
/* Ô thông báo trang dòng: biểu tượng tài liệu rõ hơn */
.line-more__icon svg { width: 22px; height: 22px; font-size: 22px; color: var(--ink); }
/* Ô Gia công OEM khi chỉ còn 1 chỗ trống: bản gọn */
.catalog-fill.is-narrow { padding: 18px 16px; }
.catalog-fill.is-narrow p { display: none; }
.catalog-fill.is-narrow .side-box__title { font-size: 15px; }
.catalog-fill .btn { white-space: nowrap; }
/* Chính sách đại lý: danh sách Thanh toán nằm giữa khung, không trống nửa dưới */
.two-col .panel { display: flex; flex-direction: column; }
.two-col .panel > ul:last-child { margin-block: auto; }
.two-col .panel > ul:last-child li + li { margin-top: 4px; }
/* Giỏ báo giá trên điện thoại: ô "Anh/chị cần thêm" cùng cỡ */
@media (max-width: 720px) { .cart-needs label { white-space: nowrap; font-size: 12px; } }

/* Ô đen "Gói hỗ trợ đại lý": 2 nút nằm cùng hàng ở màn 1101–1599px */
@media (min-width: 1101px) and (max-width: 1599px) {
  .kit__actions .btn { padding: 0 18px; }
}

/* Dải trên cùng ở màn 992–1299px: bớt 1 ý để dòng "Nhà máy đèn LED…" không bị cắt chữ */
@media (min-width: 992px) and (max-width: 1299px) {
  .topbar__trust li:nth-child(3) { display: none; }
}


/* ===== Chân trang gọn trên điện thoại (2026-11-03): bỏ đoạn giới thiệu, ngành nghề, dòng WeChat (đã có nút),
   3 liên kết phụ và khẩu hiệu; 2 cột liên kết nằm cạnh nhau. Máy tính giữ nguyên. ===== */
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 16px; padding-block: 26px 16px; }
  .footer__brand, .footer__col--info { grid-column: 1 / -1; }
  .footer__about, .footer__biz, .footer li.footer__more, .footer__slogan { display: none; }
  .footer__company { margin-top: 10px; }
  .footer .social { margin-top: 12px; }
  .footer__title { margin-bottom: 8px; }
  .footer__info { gap: 7px; }
  .footer__links a, .footer__links .footer__link-btn { padding-block: 6px; line-height: 1.35; }
  .footer__bottom { padding-block: 12px; }
}

/* ===== Sửa theo nhóm tester (2026-11-03) ===== */
/* Giỏ trống: không hiện bong bóng đỏ "0" trên nút giỏ ở máy tính */
@media (min-width: 992px) { .hcart .hcart__count.is-empty { display: none; } }
/* Khung "Gửi yêu cầu báo giá" cao hơn màn laptop: tự cuộn bên trong để nút gửi luôn tới được */
@media (min-width: 1101px) {
  .cartp__side { max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .cartp.is-done .cartp__side { max-height: none; overflow: visible; }
}
/* Bấm nút giỏ của sản phẩm đã có trong giỏ (trang giỏ): nháy viền dòng đó */
.cart-item.is-flash { animation: cartFlash 1.2s var(--ease); }
@keyframes cartFlash { 0%, 60% { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(249, 204, 44, .45); } }
/* Nút liên hệ nổi ở mép phải không đè lên mép nội dung (mũi tên "Xem tất cả", mép thẻ) */
@media (min-width: 992px) {
  .contact-dock { right: 2px; }
  .rfq-float { width: 44px; height: 44px; }
}
/* Điện thoại, trang giỏ: nút "lên đầu trang" che nút xóa của từng dòng → ẩn ở trang này */
@media (max-width: 720px) { body:has(.cartp) .to-top { display: none; } }
/* Thông báo nhỏ: dùng đủ bề ngang màn điện thoại, căn giữa */
.toast { left: 16px; right: 16px; width: fit-content; margin-inline: auto; transform: translateY(16px); text-align: center; }
.toast.is-show { transform: none; }
/* Danh mục sản phẩm: nút giỏ "đã thêm" màu xanh lá giống trang chủ */
#catalogGrid .product .pill.pill--icon.is-added { background: #18a14a; color: #fff; box-shadow: 0 6px 14px -6px rgba(24, 161, 74, .7); }
/* Ô "Gia công OEM/ODM" cuối lưới khi chỉ còn 1 ô hẹp: nút xuống dòng, không thò ra ngoài */
.catalog-fill { min-width: 0; overflow: hidden; }
.catalog-fill.is-narrow .btn { max-width: 100%; height: auto; min-height: 40px; padding: 8px 12px; white-space: normal; line-height: 1.25; text-align: center; font-size: 12px; }
.has-fill .catalog__side .side-box--dark { display: none; }
/* Chip thông số trên thẻ: chữ dài hiện "…" thay vì bị cắt ngang */
.product__specs li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Điện thoại: chữ "Sắp xếp" vẫn có cho trình đọc màn hình */
@media (max-width: 720px) {
  .toolbar__sort span { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Tìm từ ô trên đầu trang: cuộn tới thanh tìm kiếm, không bị đầu trang dính che */
.catalog .toolbar { scroll-margin-top: calc(var(--header-h) + 12px); }
/* Ngăn kéo mở từ nút "Đăng ký đại lý / nhà phân phối": không hiện danh sách giỏ báo giá */
.drawer.is-register .rfq-items { display: none; }
/* Hộp WeChat: ID không bị bẻ giữa chữ; màn hẹp thì nút "Sao chép" xuống dòng */
.wechat-modal__id { flex-wrap: wrap; }
.wechat-modal__id b { word-break: normal; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 420px) { .wechat-modal__id b { flex-basis: 100%; order: 2; font-size: 17px; } .wechat-modal__id button { order: 1; margin-left: auto; } }

/* ===== Sửa theo tester duyệt trang & điện thoại (2026-11-03) ===== */
@media (max-width: 991px) {
  /* Menu trượt: cuộn được bên trong khi dài hơn màn hình (mở rộng "Sản phẩm", màn ngang) */
  .nav { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  /* Hiện ngay khi mở để con trỏ bàn phím vào được menu */
  .nav.is-open { transition: transform .35s var(--ease), visibility 0s; }
  /* "Giải pháp theo ứng dụng": hiện danh sách giải pháp gọn bên dưới tiêu đề */
  .mega__side ul { display: grid; gap: 0; margin-bottom: 10px; }
  .mega__side li a { display: block; padding: 8px 0; font-size: 14px; }
}
@media (min-width: 992px) {
  /* Cầu nối vô hình giữa chữ "Sản phẩm" và bảng menu: rê chuột chậm không bị tắt */
  .mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; }
  /* Bấm Esc: đóng bảng menu dù con trỏ bàn phím còn trong mục "Sản phẩm" */
  .has-mega.is-dismissed .mega { opacity: 0; visibility: hidden; transform: translateY(8px); }
}
/* Trang sản phẩm trên điện thoại: 3 tab chia đều, chữ xuống dòng, không tab nào bị khuất */
@media (max-width: 720px) {
  .tabs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: 0; }
  .tabs__tab { flex: initial; white-space: normal; padding: 12px 6px; font-size: 12px; line-height: 1.25; text-align: center; }
  .tabs__tab::after { left: 6px; right: 6px; }
}
/* Trang dòng catalogue ở 360–390px: 2 nút "Nhận catalogue / Giỏ báo giá" không đẩy khung rộng hơn màn hình */
@media (max-width: 560px) {
  .line-more__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-more__btns .btn { white-space: normal; min-width: 0; padding-inline: 10px; line-height: 1.2; text-align: center; }
}
/* Ô "Yêu cầu báo giá" trang sản phẩm ở 992–1239px: 3 nút liên hệ xuống dòng thay vì bị cắt */
@media (min-width: 992px) and (max-width: 1239px) {
  .pd__alt { flex-wrap: wrap; }
  .pd__alt .contact-chip { flex: 1 1 calc(50% - 5px); min-width: 0; }
}
/* Ô nhập sai: viền đỏ thắng các kiểu viền riêng của từng khung form */
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid,
.qbox .field input.is-invalid, .drawer .field input.is-invalid, .cart-box .field input.is-invalid,
.field input.is-invalid:focus, .qbox .field input.is-invalid:focus, .drawer .field input.is-invalid:focus, .cart-box .field input.is-invalid:focus {
  border-color: var(--danger); box-shadow: 0 0 0 3px rgba(217, 48, 54, .14);
}
@media (max-width: 991px) {
  /* Ô đang gõ / nút gửi không bị thanh liên hệ dưới đáy che */
  html { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
/* Đường dẫn trang bài viết: tên bài dài thì hiện "…" trên một dòng */
.breadcrumb__current { display: inline-block; max-width: min(46ch, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* Lightbox phóng to ảnh sản phẩm */
.lightbox-modal { padding: 0; border: 0; background: transparent; max-width: 95vw; max-height: 95vh; overflow: visible; }
.lightbox-modal::backdrop { background: rgba(10, 18, 30, 0.88); backdrop-filter: blur(4px); }
.lightbox-box { position: relative; display: flex; align-items: center; justify-content: center; max-width: 92vw; max-height: 90vh; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 10px; box-shadow: 0 16px 48px rgba(0,0,0,0.5); background: #fff; }
.lightbox-box .modal__close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; background: #fff; color: #111; box-shadow: 0 4px 12px rgba(0,0,0,0.3); border-radius: 50%; z-index: 10; display: inline-grid; place-items: center; border: 1px solid #ddd; }
.pd__main { position: relative; overflow: hidden; border-radius: 12px; }
.pd__main:hover #pdMainImg { transform: scale(1.02); }
#pdMainImg { transition: transform .25s ease; cursor: zoom-in; }
