/*
Theme Name: CubShop Premium
Theme URI: https://cubshop.vn
Author: CubShop
Description: Giao diện sang trọng đen – vàng đồng cho CubShop (cubshop.vn): sàn xe (tìm xe, xe mới về, phụ kiện), Góc tư vấn (trả góp, màu xe phong thủy, số đẹp, xe sưu tầm, custom), tra mệnh – màu – số hợp mệnh, video YouTube, Gọi + Zalo. Tương thích WooCommerce và nội dung Flatsome cũ.
Version: 1.0.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: cubshop
*/

:root {
  --red: #c9a45c;
  --red-d: #8a6a2f;
  --red-l: #f7f1e6;
  --white: #ffffff;
  --paper: #f5f4f2;
  --ink: #0e0e10;
  --ink-2: #33353b;
  --muted: #6b6e76;
  --line: #e6e4e0;
  --zalo: #0068ff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 14, 16, .08);
  --shadow-lg: 0 24px 60px rgba(14, 14, 16, .16);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-num: "Barlow Condensed", "Arial Narrow", sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-d); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic { flex: none; }

/* ---------- Đường kẻ đỏ – đen ---------- */
.stripe { height: 4px; background: linear-gradient(90deg, var(--red) 0 62%, var(--ink) 62% 100%); }
.stripe--thin { height: 3px; width: 72px; border-radius: 3px; margin: 0 0 18px; }
.center .stripe--thin { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit; line-height: 1.2; white-space: nowrap; text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(247, 148, 29, .3); }
.btn--red:hover { background: var(--red-d); color: #fff; transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); color: #fff; }
.btn--zalo { background: var(--zalo); color: #fff; }
.btn--zalo:hover { background: #0052cc; color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--ink); color: #c9cbd0; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; }
.topbar a:hover { color: #ff6b75; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-note { color: #fff; font-weight: 500; letter-spacing: .02em; }
.topbar .tb-right { gap: 12px; }
.topbar .tb-hot b { color: #ff4d59; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.site-header > .wrap { display: flex; align-items: center; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 8px; white-space: nowrap; position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.main-nav > ul > li > a:hover::after, .main-nav > ul > .current-menu-item > a::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--red); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 12px 12px; box-shadow: var(--shadow); padding: 8px; flex-direction: column; z-index: 5; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu a { font-weight: 500; font-size: 14px; }
.main-nav ._mi, .main-nav .menu-image { display: none !important; }
.main-nav a span { display: inline; margin: 0 !important; }
.nav-search { display: none; }
.header-cta { flex: none; display: flex; align-items: center; gap: 8px; }
.tool { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.tool:hover { border-color: var(--red); color: var(--red); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.searchbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.searchbar .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.searchbar input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 8px 0; outline: none; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--paper { background: var(--paper); }
.section--tight { padding: 56px 0; }
section[id], #noi-dung, #tra-gop { scroll-margin-top: 96px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.eyebrow--light { color: #ff6b75; }
.section-head h2, .deal-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 88% 0%, var(--red-l), transparent 62%), linear-gradient(180deg, #fff 0%, #fff 70%, var(--paper) 100%); }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(14, 14, 16, .03); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 76px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero h1 .red { color: var(--red); position: relative; white-space: nowrap; }
.hero h1 .red::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: var(--ink); opacity: .9; border-radius: 3px; }
.hero-lead { font-size: 18px; color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero-facts li:nth-child(2)::before { background: var(--ink); }
.hero-facts li:nth-child(3)::before { background: #fff; box-shadow: 0 0 0 2px var(--ink) inset; }
.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--ink); }
.hero-media .frame::before { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(0, 0, 0, .45), transparent); z-index: 1; pointer-events: none; }
.hero-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s, transform 6s; transform: scale(1.04); }
.hero-media .slide.is-on { opacity: 1; transform: scale(1); }
.dots { position: absolute; z-index: 2; right: 20px; bottom: 18px; display: flex; gap: 6px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; transition: .3s; }
.dots button.is-on { width: 28px; background: var(--red); }
.hero-media .badge { position: absolute; z-index: 3; left: -28px; bottom: 24px; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-lg); color: var(--ink); width: 292px; }
.badge__head { display: flex; gap: 10px; align-items: center; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px dashed var(--line); }
.badge__head strong { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; animation: pulse 2s infinite; }
.badge__head span { font-size: 14px; font-weight: 700; line-height: 1.2; }
.badge__head em { display: block; font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted); }
.badge__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.badge__list li { display: flex; align-items: center; gap: 8px; }
.badge__tel { flex: 1; display: flex; align-items: baseline; gap: 8px; padding: 4px 6px; border-radius: 8px; color: var(--ink); }
.badge__tel:hover { background: var(--red-l); color: var(--red); }
.badge__tel b { font-family: var(--font-num); font-size: 24px; line-height: 1.1; letter-spacing: .02em; }
.badge__tel small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.badge__z { flex: none; padding: 4px 9px; border-radius: 7px; background: var(--zalo); color: #fff; font-weight: 700; font-size: 12px; }
.badge__z:hover { background: #0052cc; color: #fff; }
.hero-media .flag { position: absolute; z-index: 3; top: 22px; right: -12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow); border-left: 4px solid var(--red); }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; position: relative; }
.stats::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--red); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 30px; padding-bottom: 30px; }
.stat { text-align: center; padding: 6px 12px; border-right: 1px solid rgba(255, 255, 255, .14); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-num); font-size: 46px; line-height: 1; font-weight: 700; color: #fff; }
.stat:nth-child(odd) b { color: #ff4d59; }
.stat span { font-size: 14px; color: #c9cbd0; }

/* ---------- Brand tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 22px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: .2s; overflow: hidden; }
.cat-tile::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--red); }
.cat-tile:nth-child(even)::before { background: var(--ink); }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); border-color: transparent; }
.cat-tile h3 { font-family: var(--font-num); font-size: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin: 0; line-height: 1.05; }
.cat-tile p { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.cat-tile .count { font-size: 13px; font-weight: 700; color: var(--red); }
.cat-tile--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-tile--dark::before { background: var(--red) !important; }
.cat-tile--dark:hover { color: #fff; }
.cat-tile--dark p { color: #b9bbc0; }
.cat-tile--dark .count { color: #ff6b75; }

/* ---------- Rail & chips ---------- */
.deal-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.deal-head h2 { margin: 0; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--red) var(--paper); }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.rail-nav button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips--center { justify-content: center; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { opacity: .6; font-weight: 500; margin-left: 2px; }
.chip.is-active small { color: #ff6b75; opacity: 1; }
.tab-panel { display: none; }
.tab-panel.is-on { display: block; animation: fade .35s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.more-row { text-align: center; margin-top: 30px; }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: .25s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #111; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.tier { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; z-index: 2; }
.status { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--red); color: #fff; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 16px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--red); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.price { font-weight: 800; color: var(--red); font-size: 18px; line-height: 1.2; }
.price small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.price .amount { white-space: nowrap; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); display: none; }
.empty.show { display: block; }

/* ---------- Trả góp block ---------- */
.finder { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.finder-intro { background: linear-gradient(160deg, var(--ink) 0%, #26272c 100%); color: #fff; padding: 46px; position: relative; overflow: hidden; }
.finder-intro::before { content: "%"; position: absolute; right: -20px; bottom: -80px; font-family: var(--font-num); font-weight: 700; font-size: 300px; line-height: 1; color: rgba(255, 255, 255, .04); }
.finder-intro h2 { font-size: 34px; }
.finder-intro h2 em { font-style: normal; color: #ff4d59; }
.finder-intro p { color: #c9ccd1; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { color: #ff4d59; margin-top: 3px; }
.finder-intro .hero-actions { margin: 0; }
.finder-form { padding: 40px 44px; }
.tg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.tg-head h3 { font-size: 22px; margin: 0; }
.tg-head a { font-weight: 700; font-size: 14px; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.tg-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; }
.tg-list a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; color: var(--ink); transition: .15s; }
.tg-list a:hover { background: var(--red-l); color: var(--ink); }
.tg-thumb { flex: none; width: 72px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--paper); display: grid; place-items: center; color: var(--red); }
.tg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tg-text { min-width: 0; }
.tg-text b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.4; }
.tg-list a:hover b { color: var(--red); }
.tg-text small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); margin-top: 3px; }
.tg-list--lg a { padding: 12px; border-bottom: 1px solid var(--line); border-radius: 12px; }
.tg-list--lg .tg-thumb { width: 120px; height: 80px; border-radius: 10px; }
.tg-list--lg .tg-text b { font-size: 16px; }
.tg-list--lg .tg-text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-img::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40%; height: 6px; background: var(--red); }
.about h2 { font-size: clamp(28px, 3.4vw, 38px); }
.features { display: grid; gap: 18px; margin-top: 26px; }
.feature { display: flex; gap: 16px; }
.feature i { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--red-l); color: var(--red); font-style: normal; }
.feature:nth-child(2) i { background: var(--ink); color: #fff; }
.feature h3 { font-size: 17px; margin: 0 0 4px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
.gallery-title { margin: 56px 0 16px; font-size: 20px; display: flex; align-items: center; gap: 12px; }
.gallery-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery a { border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; display: block; background: #ddd; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); position: relative; transition: .2s; }
.step:hover { border-color: var(--red); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-num); font-style: italic; font-weight: 700; font-size: 44px; color: var(--red); line-height: 1; display: block; margin-bottom: 10px; }
.step:nth-child(even)::before { color: var(--ink); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- News ---------- */
.ngrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ngrid--3 { grid-template-columns: repeat(3, 1fr); }
.ncard { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); transition: .25s; }
.ncard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ncard-media { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; display: block; }
.ncard-media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.ncard:hover .ncard-media img { transform: scale(1.05); }
.ncard-date { position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff; border-radius: 10px; text-align: center; padding: 4px 9px; font-size: 11px; line-height: 1.1; font-weight: 600; }
.ncard-date b { display: block; font-family: var(--font-num); font-size: 22px; }
.ncard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ncard h3 { font-size: 16px; line-height: 1.4; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard h3 a { color: var(--ink); }
.ncard h3 a:hover { color: var(--red); }
.ncard p { font-size: 14px; color: var(--muted); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .more { margin-top: auto; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: "–"; color: var(--ink); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; background: var(--red); color: #fff; box-shadow: var(--shadow-lg); position: relative; }
.contact-info { padding: 48px; background: linear-gradient(150deg, var(--red) 0%, var(--red-d) 100%); }
.contact-info .eyebrow--light { color: #fff; opacity: .85; }
.contact-info h2 { font-size: clamp(28px, 3vw, 38px); }
.contact-info p { opacity: .92; }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.contact-list a { color: #fff; font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.socials--lg a { padding: 9px 16px; border-radius: 999px; background: rgba(0, 0, 0, .22); font-weight: 700; font-size: 14px; }
.socials--lg a:hover { background: var(--ink); color: #fff; }
.contact-form { background: #fff; color: var(--ink); padding: 44px; }
.contact-form h3 { font-size: 22px; }
.hot-cards { display: grid; gap: 12px; }
.hot-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; transition: .2s; }
.hot-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.hot-ava { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.hot-card:first-child .hot-ava { background: var(--red); }
.hot-who { flex: 1; min-width: 0; line-height: 1.2; }
.hot-who small { display: block; color: var(--muted); font-size: 13px; }
.hot-who b { font-family: var(--font-num); font-size: 28px; letter-spacing: .02em; }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; display: flex; gap: 6px; align-items: center; }

/* ---------- Single product ---------- */
.breadcrumb { font-size: 14px; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { opacity: .6; margin: 0 2px; }
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; padding: 28px 0 60px; align-items: start; }
.product-media { position: sticky; top: 104px; min-width: 0; }
.product-media .main { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); position: relative; background: #f1f1f1; }
.product-media .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; cursor: zoom-in; }
.product-media .slide.is-on { opacity: 1; z-index: 1; }
.product-media .main img { width: 100%; height: 100%; object-fit: contain; image-rendering: -webkit-optimize-contrast; filter: contrast(1.04) saturate(1.06); }
.gal-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.gal-arrow:hover { background: var(--red); color: #fff; }
.gal-arrow--prev { left: 14px; }
.gal-arrow--next { right: 14px; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 10px) / 5); gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; cursor: pointer; background: none; opacity: .75; transition: .15s; }
.thumbs button.is-active, .thumbs button:hover { border-color: var(--red); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-title { font-size: clamp(28px, 3.2vw, 40px); margin: 6px 0 12px; }
.product-sub { font-size: 16px; color: var(--muted); margin-bottom: 18px; }
.product-price { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; padding: 18px 20px; background: var(--paper); border-radius: 14px; margin-bottom: 18px; border-left: 4px solid var(--red); }
.product-price b { font-size: 34px; color: var(--red); font-family: var(--font-num); letter-spacing: .02em; line-height: 1; }
.product-price del { color: var(--muted); }
.product-price span { font-size: 14px; color: var(--ink-2); }
.spec { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.spec li small { display: block; color: var(--muted); font-size: 12px; }
.spec li b { font-size: 15px; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.product-actions .btn--red { grid-column: 1 / -1; padding: 16px; font-size: 16px; }
.sp-contacts { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 10px; margin-bottom: 6px; background: #fff; }
.sp-contacts__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink-2); padding: 0 2px; }
.sp-contacts__title svg { color: var(--red); }
.sp-contact { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; border: 1px solid var(--line); border-radius: 12px; transition: .2s; }
.sp-contact:hover { border-color: var(--red); }
.sp-contact.is-main { border: 2px solid var(--red); background: var(--red-l); }
.sp-contact__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); line-height: 1.15; }
.sp-contact__who:hover { color: var(--red); }
.sp-contact__ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.sp-contact.is-main .sp-contact__ic { background: var(--red); animation: pulse 2s infinite; }
.sp-contact__who small { display: block; font-size: 13px; color: var(--muted); }
.sp-contact__who b { font-family: var(--font-num); font-size: 26px; letter-spacing: .02em; white-space: nowrap; }
.sp-contact .btn { flex: none; padding: 9px 14px; box-shadow: none; }
.sp-contacts__tg { margin-top: 2px; }
.mini-hot { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; margin-bottom: 4px; }
.mini-hot a { color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.mini-hot a:hover { color: var(--red); }
.mini-hot svg { color: var(--red); }
.trust { list-style: none; padding: 16px 0 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); border-top: 1px dashed var(--line); }
.trust li { display: flex; gap: 10px; }
.trust li::before { content: "✓"; color: var(--red); font-weight: 800; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; padding-bottom: 70px; }
.side { position: sticky; top: 104px; display: grid; gap: 20px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.side-box h3 { font-size: 20px; margin-bottom: 4px; }
.tg-box { border-top: 4px solid var(--red); }
.tg-box .form-note { margin: 0 0 12px; }
.tg-box .tg-list a { padding: 8px; }
.tg-hot { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.tg-hot small { color: var(--muted); font-size: 13px; }
.tg-hot__row { display: flex; align-items: center; gap: 8px; }
.tg-hot__row > a:first-child { flex: 1; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; }
.tg-hot__row > a:first-child:hover { background: var(--red); }
.tg-hot__row b { font-family: var(--font-num); font-size: 19px; letter-spacing: .02em; }
.tg-hot__row span { margin-left: auto; font-size: 12px; opacity: .75; }
.z { flex: none; padding: 9px 12px; border-radius: 10px; background: var(--zalo); color: #fff !important; font-weight: 700; font-size: 13px; }
.z:hover { background: #0052cc; }

/* ---------- Entry content ---------- */
.entry { min-width: 0; }
.entry-h { font-size: 26px; margin: 0 0 18px; padding-left: 14px; border-left: 4px solid var(--red); }
.entry h2 { font-size: 24px; margin-top: 1.6em; padding-left: 14px; border-left: 4px solid var(--red); }
.entry h2:nth-of-type(even) { border-left-color: var(--ink); }
.entry h3 { font-size: 20px; margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 20px; }
.entry li { margin-bottom: 8px; }
.entry img { border-radius: 12px; height: auto; }
.entry figure { margin: 1.4em 0; max-width: 100%; }
.entry .wp-caption { width: auto !important; }
.entry .wp-caption-text, .entry figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.entry iframe { max-width: 100%; border-radius: 12px; }
.entry table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry th { background: var(--paper); }
.entry blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--red); background: var(--paper); border-radius: 0 12px 12px 0; }
.entry .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 1em 0; }
.entry .gallery-item { margin: 0; width: auto !important; }
.entry .gallery a:first-child { grid-column: auto; grid-row: auto; }
.entry .gallery-icon a { aspect-ratio: auto; }
.entry .gallery-caption { display: none; }
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.entry--wide { max-width: none; }
.clip { position: relative; max-height: 1100px; overflow: hidden; }
.clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(0deg, #fff, rgba(255, 255, 255, 0)); }
.clip.is-open { max-height: none; }
.clip.is-open::after { display: none; }
.clip-btn { display: flex; margin: 16px auto 0; }

/* Nội dung Flatsome cũ */
.ux-row { display: flex; flex-wrap: wrap; gap: 20px; margin: 1em 0; }
.ux-col { flex: 1 1 260px; min-width: 0; }
.ux-divider { border: 0; height: 3px; width: 60px; background: var(--red); margin: 1em 0; }
.ux-box, .ux-text, .ux-banner, .ux-section { margin: 0 0 1em; }

/* ---------- Post ---------- */
.post-layout { padding-top: 24px; }
.post-head h1 { font-size: clamp(28px, 3.4vw, 40px); }
.post-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.post-cta { margin: 36px 0 24px; padding: 24px; border-radius: 18px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-cta b { display: block; font-size: 18px; }
.post-cta span { color: #c9cbd0; font-size: 14px; }
.post-cta .hero-actions { margin: 0; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 15px; }
.post-nav div:last-child { text-align: right; }
.mini-products { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.mini-products a { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.mini-products img { width: 76px; height: 57px; object-fit: cover; border-radius: 8px; flex: none; }
.mini-products b { display: block; font-size: 14px; line-height: 1.35; }
.mini-products .price { font-size: 14px; }
.mini-products .price small { display: none; }
.widget { margin-bottom: 0; }

/* ---------- Archive ---------- */
.archive-head { background: var(--ink); color: #fff; padding: 44px 0 46px; position: relative; overflow: hidden; }
.archive-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 62%, #fff 62% 100%); }
.archive-head h1 { font-size: clamp(30px, 4vw, 46px); margin: 8px 0; }
.archive-head p { color: #c9ccd1; max-width: 760px; margin: 0; }
.archive-head .breadcrumb { padding: 0; }
.archive-head .breadcrumb, .archive-head .breadcrumb a { color: #a9abb1; }
.shop { padding: 36px 20px 80px; }
.pager { margin-top: 40px; text-align: center; }
.pager ul, .nav-links { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center; }
.pager li { margin: 0; }
.pager a, .pager span.current, .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.pager .current, .page-numbers.current { background: var(--red); color: #fff; border-color: var(--red); }
.woocommerce-pagination ul { border: 0 !important; }
.page-content { padding: 50px 20px 80px; }
.page-content .entry { max-width: 900px; margin: 0 auto; }
.page-content .entry--wide { max-width: none; }

/* ---------- Footer ---------- */
.site-footer { background: #0b0b0d; color: #a9abb1; font-size: 15px; }
.site-footer > .wrap { padding-top: 60px; padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr .8fr .9fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--red); }
.site-footer a { color: #e3e5e8; }
.site-footer a:hover { color: #ff4d59; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 58px; width: auto; max-width: 100%; object-fit: contain; background: #fff; padding: 10px 14px; border-radius: 12px; }
.company b { color: #fff; display: block; font-size: 15px; margin-bottom: 8px; line-height: 1.4; }
.company p { font-size: 14px; margin: 0 0 8px; display: flex; gap: 8px; align-items: flex-start; }
.company p svg { margin-top: 3px; color: #ff4d59; }
.company .socials { margin-top: 16px; }
.company .socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #1d1e22; }
.company .socials a:hover { background: var(--red); color: #fff; }
.f-hot li { display: flex; align-items: center; gap: 10px; }
.f-hot li > span { min-width: 92px; font-size: 14px; }
.f-hot b { font-family: var(--font-num); font-size: 20px; letter-spacing: .03em; color: #fff; }
.f-hot .z { padding: 4px 9px; font-size: 12px; border-radius: 6px; margin-left: auto; }
.f-map { margin-top: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; text-align: center; }

/* ---------- Floating & mobile bar ---------- */
.float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 10px; }
.float a, .float button { width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; font-family: inherit; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: .2s; }
.float a:hover, .float button:hover { transform: scale(1.08); color: #fff; }
.hot-pop { position: fixed; z-index: 70; right: 86px; bottom: 18px; width: 360px; max-width: calc(100vw - 24px); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); padding: 14px; display: grid; gap: 8px; border-top: 4px solid var(--red); animation: popIn .18s ease-out; }
.hot-pop[hidden] { display: none; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hot-pop__head { display: flex; justify-content: space-between; align-items: center; padding: 0 2px 4px; }
.hot-pop__head b { font-size: 16px; }
.hot-pop__x { border: 0; background: var(--paper); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.hot-pop__row { display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.hot-pop__row.is-main { border: 2px solid var(--red); background: var(--red-l); }
.hot-pop__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; color: var(--ink); line-height: 1.15; }
.hot-pop__who:hover { color: var(--red); }
.hot-pop__ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.hot-pop__row.is-main .hot-pop__ic { background: var(--red); }
.hot-pop__who small { display: block; font-size: 12px; color: var(--muted); }
.hot-pop__who b { font-family: var(--font-num); font-size: 22px; letter-spacing: .02em; white-space: nowrap; }
.hot-pop .btn { flex: none; padding: 8px 12px; box-shadow: none; }
.float .f-call { background: var(--red); animation: pulse 2s infinite; }
.float .f-zalo { background: var(--zalo); font-weight: 800; font-size: 13px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(247, 148, 29, .55); } 70% { box-shadow: 0 0 0 16px rgba(247, 148, 29, 0); } 100% { box-shadow: 0 0 0 0 rgba(247, 148, 29, 0); } }
.mbar { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; opacity: 0; transition: opacity .2s; }
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 10px; }

/* WooCommerce notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 14px 18px; border-radius: 12px; background: var(--paper); border-left: 4px solid var(--red); margin: 16px 0; }

/* =========================================================
   CUB HOUSE – bảng màu đen/cam & các khối kiểu sàn xe
   ========================================================= */
a, .eyebrow, .price, .count, .ncard .more, .tg-head a { color: var(--red-d); }
a:hover { color: #000; }
.eyebrow--light { color: var(--red); }
.btn--red { color: #111; }
.btn--red:hover { background: #111; color: #fff; }
.btn--red svg { color: currentColor; }
.status, .ncard-date, .dots button.is-on { color: #111; }
.f-call { color: #111 !important; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: #000; }
.topbar { background: #000; }
.topbar .tb-note { color: var(--red); font-weight: 700; }
.stripe { background: linear-gradient(90deg, var(--red) 0 62%, #111 62% 100%); }
.footer-logo img { background: none; padding: 0; height: 74px; border-radius: 0; }
.company__tag { color: #c9cbd0; }
.site-footer a:hover { color: var(--red); }
.brand img { height: 56px; }

/* Banner + ô tìm xe */
.top { background: linear-gradient(180deg, #111 0 64%, var(--paper) 64%); padding: 20px 0 36px; }
.top__in { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: stretch; }
.top__slider { position: relative; border-radius: 18px; overflow: hidden; min-height: 440px; min-width: 0; background: #000; box-shadow: var(--shadow-lg); }
.top__slider .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.top__slider .slide.is-on { opacity: 1; }
.finder-box { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.finder-box__tabs { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 3px solid var(--red); padding-bottom: 8px; }
.finder-box__tabs b { font-size: 20px; }
.finder-box__tabs span { font-size: 13px; color: var(--muted); }
.finder-box__form { display: grid; gap: 10px; }
.fld { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fld input, .fld select { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-l); }
.finder-box__quiz { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; border-radius: 12px; border: 1.5px dashed var(--red); background: var(--red-l); cursor: pointer; font: inherit; color: var(--ink); }
.finder-box__quiz svg:first-child { color: var(--red-d); flex: none; }
.finder-box__quiz span { flex: 1; line-height: 1.25; }
.finder-box__quiz b { display: block; font-size: 14px; }
.finder-box__quiz small { font-size: 12px; color: var(--muted); }
.finder-box__hot { display: grid; gap: 6px; margin-top: auto; }
.mini-row { display: flex; align-items: center; gap: 8px; }
.mini-row > a:first-child { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #111; color: #fff; }
.mini-row > a:first-child:hover { background: var(--red); color: #111; }
.mini-row b { font-family: var(--font-num); font-size: 20px; letter-spacing: .03em; }

/* Hãng & dòng xe */
.brand-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.brand-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 16px 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: .2s; text-align: center; }
.brand-chip b { font-family: var(--font-num); font-size: 24px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.brand-chip small { font-size: 12px; color: var(--muted); }
.brand-chip:hover { border-color: var(--red); box-shadow: var(--shadow); color: var(--ink); transform: translateY(-2px); }
.line-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.line-strip > span { font-weight: 700; font-size: 14px; margin-right: 4px; }
.line-strip--top { margin: 0 0 18px; }
/* Hộp chat plugin Foxtool bị trùng với nút Gọi/Zalo của theme */
[class*="ft-chatbox"], #ft-chatbox, .ft-chatbox { display: none !important; }
.chip--dark { background: #111; border-color: #111; color: #fff; }
.chip--dark:hover { background: var(--red); border-color: var(--red); color: #111; }
.chip.is-active { background: #111; border-color: #111; color: #fff; }
.chip.is-active small { color: var(--red); }
.chip--sub { border-style: dashed; }
a.chip { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
a.chip.chip--dark, a.chip.is-active { color: #fff; }
a.chip.chip--dark:hover { color: #111; }

/* Thẻ xe */
.card-body .price { font-size: 20px; margin-bottom: 4px; }
.card-specs { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 5px; }
.card-specs li { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--paper); color: var(--ink-2); }
.card-loc { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.card--mini .card-title { font-size: 14px; min-height: 2.7em; }
.card--mini .card-media { aspect-ratio: 1 / 1; background: #fff; }
.card--mini .card-media img { object-fit: contain; }
.card--mini .card-loc { display: none; }
.rail--parts { grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; }
.rail--3 { grid-auto-columns: calc((100% - 2 * 20px) / 3); }

/* Khối tối – hành trình giao xe */
.section--dark { background: #111; color: #fff; }
.section--dark h2 { color: #fff; }
.section--dark .ncard { border-color: #2a2a2e; }
.rail-nav--light button { background: transparent; border-color: #fff; color: #fff; }

/* Tiện ích */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: .2s; }
.tool-card i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-l); color: var(--red-d); font-style: normal; margin-bottom: 6px; }
.tool-card:nth-child(even) i { background: #111; color: var(--red); }
.tool-card b { font-size: 17px; }
.tool-card small { font-size: 13px; color: var(--muted); }
.tool-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }

[hidden] { display: none !important; }

/* Hộp thoại */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: popIn .2s ease-out; }
.modal__box--wide { max-width: 860px; }
.modal__box h3 { font-size: 24px; margin-bottom: 14px; }
.modal__x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
html.no-scroll { overflow: hidden; }
.quiz { display: grid; gap: 14px; }
.quiz fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.quiz legend { font-weight: 700; margin-bottom: 6px; }
.quiz label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 15px; }
.quiz label:has(input:checked) { border-color: var(--red); background: var(--red-l); }
.quiz input { accent-color: var(--red-d); }
.quiz-result h4 { font-size: 18px; margin: 0 0 4px; }
.quiz-picks { display: grid; gap: 8px; margin: 14px 0; }
.quiz-pick { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: #111; color: #fff; }
.quiz-pick small { color: var(--red); }
.quiz-pick:hover { background: var(--red); color: #111; }
.quiz-pick:hover small { color: #111; }
.quiz-actions { display: flex; gap: 8px; justify-content: flex-end; }
.calc { display: grid; gap: 10px; }
.calc input[type=range] { padding: 0; accent-color: var(--red-d); }
.calc output { font-weight: 700; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 4px; }
.calc-out div { padding: 10px 12px; border-radius: 10px; background: var(--paper); }
.calc-out small { display: block; font-size: 12px; color: var(--muted); }
.calc-out b { font-size: 16px; }
.calc-out__main { grid-column: 1 / -1; background: #111 !important; color: #fff; }
.calc-out__main small { color: #bbb; }
.calc-out__main b { font-family: var(--font-num); font-size: 32px; color: var(--red); }
.modal .form-note { margin-bottom: 12px; }
.newpop__title { text-align: center; font-size: 34px !important; color: var(--red-d); }
.newpop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.newpop__item { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; }
.newpop__item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.newpop__item span { padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.newpop__item b { font-size: 14px; line-height: 1.35; }
.newpop__item .price { font-size: 15px; white-space: nowrap; }
.newpop__item .price small { display: none; }
.newpop__item:hover { border-color: var(--red); color: var(--ink); }

/* Thanh dưới điện thoại: 3 nút */
.mbar--3 .zl { font-size: 17px; font-weight: 800; line-height: 20px; letter-spacing: -.02em; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .grid, .ngrid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .content-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta .btn { display: none; }
  .topbar .tb-note { display: none; }
}
@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav { position: fixed; inset: 0 0 auto 0; top: var(--hdr, 112px); background: #fff; border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; max-height: calc(100vh - 112px); overflow: auto; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav a { padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav-search { display: flex; margin-top: 14px; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
  .nav-search input { flex: 1; border: 0; padding: 11px 16px; font: inherit; outline: none; min-width: 0; }
  .nav-search button { border: 0; background: var(--red); color: #fff; padding: 0 16px; cursor: pointer; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: 0; }
}
@media (max-width: 960px) {
  .hero .wrap, .about, .finder, .contact, .product { grid-template-columns: 1fr; }
  .hero .wrap { gap: 40px; padding-top: 36px; }
  .hero-media .badge { left: 12px; bottom: 16px; }
  .hero-media .flag { right: 12px; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product-media, .side { position: static; }
  .content-layout { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery a:first-child { grid-column: span 2; grid-row: span 2; }
  .topbar .addr { display: none; }
  .ngrid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body.has-mbar { padding-bottom: 64px; }
  .float { display: none; }
  .mbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 62px; color: var(--ink); font-size: 11px; font-weight: 600; border: 0; background: none; padding: 0; font-family: inherit; cursor: pointer; }
  .mbar > :first-child { color: var(--red); }
  .mbar > :nth-child(2) { color: var(--zalo); }
  .hot-pop { left: 10px; right: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); width: auto; max-width: none; }
  .mbar .mbar__main { background: var(--red); color: #fff; margin: 6px 4px; height: 50px; border-radius: 14px; }
  .topbar .tb-note { display: none; }
  .topbar .wrap { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }
  .site-header > .wrap { height: 66px; }
  .brand img { height: 32px; }
  .grid, .ngrid, .ngrid--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rail { grid-auto-columns: 70%; gap: 12px; }
  .rail-nav { display: none; }
  .card-body { padding: 12px; }
  .card-title { font-size: 14px; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .card-foot .btn { width: 100%; }
  .price { font-size: 16px; }
  .tier, .status { font-size: 10px; padding: 4px 8px; top: 8px; }
  .tier { left: 8px; }
  .status { right: 8px; }
  .ncard-body { padding: 12px; }
  .ncard h3 { font-size: 14px; }
  .ncard p { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tile { padding: 16px 14px 14px 18px; }
  .cat-tile h3 { font-size: 24px; }
  .cat-tile p { display: none; }
  .steps { grid-template-columns: 1fr; }
  .finder-intro, .finder-form, .contact-info, .contact-form { padding: 28px 20px; }
  .finder-intro h2 { font-size: 28px; }
  .tg-list--lg .tg-thumb { width: 88px; height: 66px; }
  .tg-list--lg .tg-text b { font-size: 14.5px; }
  .tg-list--lg .tg-text small { display: none; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-media .badge { position: relative; left: auto; bottom: auto; width: auto; margin: -28px 12px 0; }
  .badge__tel b { font-size: 22px; }
  .hero-media .flag { top: 12px; font-size: 12px; padding: 6px 12px; }
  .stat b { font-size: 38px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 32px; }
  .gallery a:first-child { grid-column: auto; grid-row: auto; }
  .gallery a:nth-child(n+7) { display: none; }
  .product { gap: 24px; padding-top: 16px; }
  .product-media .main { border-radius: 14px; }
  .thumbs { grid-auto-columns: 22%; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec li { padding: 10px 12px; }
  .product-actions { grid-template-columns: 1fr 1fr; }
  .sp-contacts { padding: 10px; }
  .sp-contact { flex-wrap: wrap; padding: 10px; }
  .sp-contact__who { flex: 1 1 100%; }
  .sp-contact .btn { flex: 1; }
  .hot-card { flex-wrap: wrap; }
  .hot-who b { font-size: 24px; }
  .hot-card .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .post-cta { padding: 20px; }
  .post-nav { flex-direction: column; }
  .post-nav div:last-child { text-align: left; }
  .entry-h, .entry h2 { font-size: 21px; }
  .shop { padding: 24px 16px 60px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .chips--center { justify-content: flex-start; }
  .chip { flex: none; }
}

/* ---------- Cub House – responsive bổ sung ---------- */
@media (max-width: 1180px) {
  .rail--parts { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .top__in { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 960px) {
  .top { background: linear-gradient(180deg, #111 0 30%, var(--paper) 30%); }
  .top__in { grid-template-columns: 1fr; }
  .top__slider { min-height: 0; aspect-ratio: 16 / 9; }
  .rail--3 { grid-auto-columns: 46%; }
}
@media (max-width: 760px) {
  .mbar--3 { grid-template-columns: repeat(3, 1fr); background: #111; border-top: 0; }
  .mbar--3 > * { color: #fff !important; font-size: 12px; }
  .mbar--3 > :first-child { background: var(--red); color: #111 !important; }
  .mbar--3 > :nth-child(2) { background: var(--zalo); }
}
@media (max-width: 640px) {
  .top { padding-top: 12px; }
  .top__slider { border-radius: 12px; }
  .finder-box { padding: 14px; }
  .brand-strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .brand-chip { padding: 12px 6px; }
  .brand-chip b { font-size: 18px; }
  .line-strip { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .line-strip > * { flex: none; }
  .rail--parts { grid-auto-columns: 44%; gap: 10px; }
  .rail--3 { grid-auto-columns: 78%; gap: 12px; }
  .tools { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tool-card { padding: 14px; }
  .tool-card i { width: 42px; height: 42px; }
  .tool-card b { font-size: 15px; }
  .card-specs li:nth-child(n+3) { display: none; }
  .card-body .price { font-size: 17px; }
  .modal__box { padding: 20px 16px; border-radius: 16px; }
  .newpop__title { font-size: 26px !important; }
  .newpop__grid { grid-template-columns: 1fr; gap: 10px; }
  .newpop__item { flex-direction: row; align-items: center; }
  .newpop__item img { width: 42%; flex: none; aspect-ratio: 4 / 3; }
  .newpop__item span { flex-direction: column; }
}
/* =========================================================
   CUBSHOP PREMIUM – đen / vàng đồng, khối Góc tư vấn, tra mệnh, video
   ========================================================= */
:root { --font-display: "Playfair Display", Georgia, "Times New Roman", serif; --paper: #f6f4ef; }
.section-head h2, .deal-head h2, .about h2, .finder-intro h2, .contact-info h2, .archive-head h1, .post-head h1, .product-title, .modal__box h3, .newpop__title { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
.eyebrow { letter-spacing: .24em; }
.topbar { background: #0b0b0b; border-bottom: 1px solid rgba(201, 164, 92, .25); }
.topbar .tb-note { color: var(--red); font-weight: 600; letter-spacing: .02em; }
.topbar .tb-hot b, .topbar a:hover { color: var(--red) !important; }
.site-header { background: rgba(255, 255, 255, .98); }
.brand img { height: 50px; }
.stripe { background: linear-gradient(90deg, #0b0b0b 0 30%, var(--red) 30% 70%, #0b0b0b 70%); }
.btn--red { background: linear-gradient(135deg, #d9b872, #b8913a); color: #111; }
.btn--red:hover { background: #111; color: var(--red); }
.top { background: linear-gradient(180deg, #0b0b0b 0 64%, var(--paper) 64%); }
.finder-box__tabs { border-bottom-color: var(--red); }
.stats { background: #0b0b0b; border-top: 1px solid rgba(201, 164, 92, .3); border-bottom: 1px solid rgba(201, 164, 92, .3); }
.stats::before { background: var(--red); }
.stat b, .stat:nth-child(odd) b { color: var(--red); font-family: var(--font-display); }
.footer-logo img { height: 52px; }
.site-footer { background: #070707; }
.site-footer h4::after { background: var(--red); }

/* Góc tư vấn */
.advice { background: radial-gradient(900px 400px at 10% 0, rgba(201, 164, 92, .12), transparent 60%), var(--paper); }
.advice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.advice-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8e1d2; border-radius: 18px; padding: 22px; transition: .25s; }
.advice-card:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, .08); border-color: var(--red); transform: translateY(-3px); }
.advice-card--lead { grid-row: span 2; background: #0b0b0b; color: #fff; border-color: #0b0b0b; }
.advice-card__head { display: flex; gap: 14px; align-items: flex-start; color: inherit; }
.advice-card__head:hover { color: inherit; }
.advice-card__head i { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-l); color: var(--red-d); font-style: normal; }
.advice-card--lead .advice-card__head i { background: rgba(201, 164, 92, .15); color: var(--red); }
.advice-card__head b { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.25; margin-bottom: 4px; }
.advice-card__head small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.advice-card--lead .advice-card__head small { color: #bdb6a8; }
.advice-card__list { list-style: none; margin: 16px 0 12px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.advice-card__list li { padding-left: 14px; position: relative; font-size: 14px; line-height: 1.4; }
.advice-card__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.advice-card__list a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.advice-card--lead .advice-card__list a { color: #eee; }
.advice-card__list a:hover { color: var(--red-d); }
.advice-card--lead .advice-card__list a:hover { color: var(--red); }
.advice-card__more { margin-top: auto; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; color: var(--red-d); }
.advice-card--lead .advice-card__more { color: var(--red); }
.so-dep-strip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: #0b0b0b; }
.so-dep-strip > span { display: inline-flex; gap: 8px; align-items: center; color: var(--red); font-weight: 700; margin-right: 6px; }
.so-dep-strip .chip { background: transparent; border-color: rgba(201, 164, 92, .45); color: #eee; }
.so-dep-strip .chip:hover { background: var(--red); border-color: var(--red); color: #111; }

/* Tra mệnh */
.menh .finder-intro { background: linear-gradient(160deg, #0b0b0b 0%, #1d1a14 100%); }
.menh .finder-intro h2 em { color: var(--red); }
.menh .finder-intro::before { content: "五行"; font-family: var(--font-display); font-size: 160px; bottom: -40px; color: rgba(201, 164, 92, .08); }
.menh__links a { color: var(--red); font-weight: 600; }
.menh .finder-form { display: grid; gap: 12px; align-content: start; }
.menh-out { border: 1px solid #e8e1d2; border-radius: 14px; padding: 14px; display: grid; gap: 10px; background: #fffdf8; }
.menh-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed #e0d6c2; }
.menh-head b { font-family: var(--font-display); font-size: 20px; }
.menh-head strong { color: var(--red-d); font-size: 18px; }
.menh-row small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.menh-row--bad small { color: #b3261e; }
.sw { display: inline-flex; align-items: center; gap: 6px; margin: 0 10px 4px 0; font-size: 14px; font-weight: 600; }
.sw i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); display: inline-block; }
.menh-row--bad .sw { opacity: .75; text-decoration: line-through; }
.menh-digits { display: flex; gap: 6px; }
.menh-digits b { width: 36px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #0b0b0b; color: var(--red); font-family: var(--font-num); font-size: 24px; }
.menh-err { color: #b3261e; margin: 0; }
.menh-box { margin: 26px 0 0; }
.advice-tool .finder { box-shadow: 0 16px 40px rgba(0, 0, 0, .08); }

/* Trang chuyên mục tư vấn */
.archive-head--advice { background: radial-gradient(700px 300px at 90% 0, rgba(201, 164, 92, .18), transparent 60%), #0b0b0b; }
.archive-head--advice::after { background: linear-gradient(90deg, var(--red) 0 60%, #fff 60%); }
.advice-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.advice-nav .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #ddd; }
.advice-nav .chip:hover { border-color: var(--red); color: var(--red); }
.advice-nav .chip.is-active { background: var(--red); border-color: var(--red); color: #111; }
.advice-nav--sub { margin-top: 10px; }
.advice-nav--sub .chip { font-size: 13px; padding: 7px 14px; }

/* Video YouTube (plugin YourChannel) – gọn gàng trong khung tối */
.video-sec { background: radial-gradient(800px 360px at 85% 0, rgba(201, 164, 92, .14), transparent 60%), #0b0b0b; }
.yt-wrap { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); color: var(--ink); }
.yt-wrap .yrc-banner, .yt-wrap .yrc-brand { display: none !important; }
.yt-wrap .yrc-shell-cover { margin: 0 !important; }
.yt-wrap img { border-radius: 10px; }

@media (max-width: 960px) {
  .advice-grid { grid-template-columns: 1fr 1fr; }
  .advice-card--lead { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .advice-grid { grid-template-columns: 1fr; gap: 12px; }
  .advice-card { padding: 16px; }
  .advice-card__head b { font-size: 18px; }
  .so-dep-strip { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .so-dep-strip > * { flex: none; }
  .advice-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .advice-nav > * { flex: none; }
  .yt-wrap { padding: 8px; border-radius: 12px; }
  .brand img { height: 36px; }
}
/* ---------- Gương mặt sales ---------- */
.ava { flex: none; border-radius: 50%; object-fit: cover; object-position: center top; background: #eee; display: inline-block; }
.ava--txt { display: inline-grid; place-items: center; background: #0b0b0b; color: var(--red); font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.hot-pop__ava { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--red); }
.hot-pop__row.is-main .hot-pop__ava { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red); }
.sp-contact__ava { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.sp-contact.is-main .sp-contact__ava { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red); }
.hot-card .ava { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--red); }
.mini-row > a:first-child { padding: 6px 10px 6px 6px; }
.mini-row .ava { width: 34px; height: 34px; border: 2px solid var(--red); }
.mini-row__who { display: grid; line-height: 1.1; }
.mini-row__who small { font-size: 11px; color: #bbb; }
.tg-hot__row .ava { width: 28px; height: 28px; border: 1.5px solid var(--red); }
/* Nút gọi nổi có ảnh sales */
.float .f-call--face { position: relative; padding: 0; background: #fff; box-shadow: 0 0 0 3px var(--red), var(--shadow-lg); animation: pulse 2s infinite; }
.float .f-call--face .ava { width: 56px; height: 56px; }
.float .f-call--face i { position: absolute; right: -4px; bottom: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #111; display: grid; place-items: center; font-style: normal; border: 2px solid #fff; }
/* Đội ngũ tư vấn */
.team { background: linear-gradient(180deg, #fff, var(--paper)); }
.team-grid { display: grid; gap: 22px; justify-content: center; grid-template-columns: repeat(auto-fit, minmax(240px, 280px)); }
.team-card { background: #fff; border: 1px solid #e8e1d2; border-radius: 22px; padding: 28px 22px 22px; text-align: center; transition: .25s; position: relative; overflow: hidden; }
.team-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 92px; background: linear-gradient(135deg, #0b0b0b, #2a2418); }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, .1); border-color: var(--red); }
.team-card__photo { position: relative; width: 150px; height: 150px; margin: 0 auto 14px; }
.team-card__photo .ava { width: 150px; height: 150px; border: 5px solid #fff; box-shadow: 0 0 0 2px var(--red), 0 14px 30px rgba(0, 0, 0, .18); font-size: 54px; }
.team-card__dot { position: absolute; right: 12px; bottom: 12px; width: 18px; height: 18px; border-radius: 50%; background: #22c55e; border: 3px solid #fff; }
.team-card h3 { font-family: var(--font-display); font-size: 24px; margin: 0; }
.team-card__role { color: var(--red-d); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 4px 0 8px; }
.team-card__tel { display: block; font-family: var(--font-num); font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: .03em; margin-bottom: 14px; }
.team-card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card__photo, .team-card__photo .ava { width: 120px; height: 120px; }
}